Files
kasm-registry/1.1/_next/static/chunks/484-ee4d5cc1939be6a8.js

1 line
206 KiB
JavaScript
Raw Normal View History

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[484],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,o=String.fromCharCode,a=Object.assign;function s(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function l(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function h(e,t){return t.push(e),e}var d=1,p=1,m=0,g=0,v=0,b="";function y(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:d,column:p,length:a,return:""}}function _(e,t){return a(y("",null,null,"",null,null,0),e,{length:-e.length},t)}function w(){return v=g<m?l(b,g++):0,p++,10===v&&(p=1,d++),v}function k(){return l(b,g)}function x(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function S(e){return d=p=1,m=f(b=e),g=0,[]}function E(e){var t,r;return(t=g-1,r=function e(t){for(;w();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:w()}return g}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var O="-ms-",C="-moz-",A="-webkit-",I="comm",R="rule",T="decl",z="@keyframes";function P(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function L(e,t,r,n){switch(e.type){case"@import":case T:return e.return=e.return||e.value;case I:return"";case z:return e.return=e.value+"{"+P(e.children,n)+"}";case R:e.value=e.props.join(",")}return f(r=P(e.children,n))?e.return=e.value+"{"+r+"}":""}function D(e,t,r,n,o,a,u,l,f,h,d){for(var p=o-1,m=0===o?a:[""],g=m.length,v=0,b=0,_=0;v<n;++v)for(var w=0,k=c(e,p+1,p=i(b=u[v])),x=e;w<g;++w)(x=(b>0?m[w]+" "+k:s(k,/&\f/g,m[w])).trim())&&(f[_++]=x);return y(e,t,r,0===o?R:l,f,h,d)}function B(e,t,r,n){return y(e,t,r,T,c(e,0,n),c(e,n+1,-1),n)}var M=function(e,t,r){for(var n=0,i=0;n=i,i=k(),38===n&&12===i&&(t[r]=1),!x(i);)w();return c(b,e,g)},Z=function(e,t){var r=-1,n=44;do switch(x(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=M(g-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=o(n)}while(n=w());return e},F=function(e,t){var r;return r=Z(S(e),t),b="",r},N=new WeakMap,U=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||N.get(r))&&!n){N.set(e,!0);for(var i=[],o=F(t,i),a=r.props,s=0,u=0;s<o.length;s++)for(var l=0;l<a.length;l++,u++)e.props[u]=i[s]?o[s].replace(/&\f/g,a[l]):a[l]+" "+o[s]}}},V=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charC