function e(e){for(var r,n=0,a=0,c=e.length;c>=4;++a,c-=4)r=1540483477*(65535&(r=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+(59797*(r>>>16)<<16),n=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(c){case 3:n^=(255&e.charCodeAt(a+2))<<16;case 2:n^=(255&e.charCodeAt(a+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(a)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}var r="-moz-",n="-webkit-",a="rule",c="decl",t="@media",s="@supports",u="@layer",i=Math.abs,o=String.fromCharCode,f=Object.assign;function l(e,r){return 45^g(e,0)?(((r<<2^g(e,0))<<2^g(e,1))<<2^g(e,2))<<2^g(e,3):0}function h(e){return e.trim()}function d(e,r){return(e=r.exec(e))?e[0]:e}function b(e,r,n){return e.replace(r,n)}function k(e,r,n){return e.indexOf(r,n)}function g(e,r){return 0|e.charCodeAt(r)}function p(e,r,n){return e.slice(r,n)}function m(e){return e.length}function v(e){return e.length}function w(e,r){return r.push(e),e}function C(e,r){return e.map(r).join("")}var A=1,y=1,j=0,x=0,S=0,M="";function O(e,r,n,a,c,t,s,u){return{value:e,root:r,parent:n,type:a,props:c,children:t,line:A,column:y,length:s,return:"",siblings:u}}function z(e,r){return f(O("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function D(){return S=x<j?g(M,x++):0,y++,10===S&&(y=1,A++),S}function L(){return g(M,x)}function R(){return x}function W(e,r){return p(M,e,r)}function q(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 B(e){return A=y=1,j=m(M=e),x=0,[]}function E(e){return M="",e}function F(e){return h(W(x-1,J(91===e?e+2:40===e?e+1:e)))}function G(e){return E(function(e){for(;D();)switch(q(S)){case 0:w(N(x-1),e);break;case 2:w(F(S),e);break;default:w(o(S),e)}return e}(B(e)))}function H(e){for(;(S=L())&&S<33;)D();return q(e)>2||q(S)>3?"":" "}function I(e,r){for(;--r&&D()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return W(e,R()+(r<6&&32==L()&&32==D()))}function J(e){for(;D();)switch(S){case e:return x;case 34:case 39:34!==e&&39!==e&&J(S);break;case 40:41===e&&J(e);break;case 92:D()}return x}function K(e,r){for(;D()&&e+S!==57&&(e+S!==84||47!==L()););return"/*"+W(r,x-1)+"*"+o(47===e?e:D())}function N(e){for(;!q(L());)D();return W(e,x)}function P(e){return E(Q("",null,null,null,[""],e=B(e),0,[0],e))}function Q(e,r,n,a,c,t,s,u,f){for(var l=0,h=0,d=s,v=0,C=0,j=0,O=1,z=1,W=1,B=0,E="",G=c,J=t,P=a,X=E;z;)switch(j=B,B=D()){case 40:if(108!=j&&58==g(X,d-1)){-1!=k(X+=b(F(B),"&","&\f"),"&\f",i(l?u[l-1]:0))&&(W=-1);break}case 34:case 39:case 91:X+=F(B);break;case 9:case 10:case 13:case 32:X+=H(j);break;case 92:X+=I(R()-1,7);continue;case 47:switch(L()){case 42:case 47:w(U(K(D(),R()),r,n,f),f),5!=q(j||1)&&5!=q(L()||1)||!m(X)||" "===p(X,-1,void 0)||(X+=" ");break;default:X+="/"}break;case 123*O:u[l++]=m(X)*W;case 125*O:case 59:case 0:switch(B){case 0:case 125:z=0;case 59+h:-1==W&&(X=b(X,/\f/g,"")),C>0&&(m(X)-d||0===O&&47===j)&&w(C>32?V(X+";",a,n,d-1,f):V(b(X," ","")+";",a,n,d-2,f),f);break;case 59:X+=";";default:if(w(P=T(X,r,n,l,h,c,u,E,G=[],J=[],d,t),t),123===B)if(0===h)Q(X,r,P,P,G,t,d,u,J);else{switch(v){case 99:if(110===g(X,3))break;case 108:if(97===g(X,2))break;default:h=0;case 100:case 109:case 115:}h?Q(e,P,P,a&&w(T(e,P,P,0,0,c,u,E,c,G=[],d,J),J),c,J,d,u,a?G:J):Q(X,P,P,P,[""],J,0,u,J)}}l=h=C=0,O=W=1,E=X="",d=s;break;case 58:d=1+m(X),C=j;default:if(O<1)if(123==B)--O;else if(125==B&&0==O++&&125==(S=x>0?g(M,--x):0,y--,10===S&&(y=1,A--),S))continue;switch(X+=o(B),B*O){case 38:W=h>0?1:(X+="\f",-1);break;case 44:u[l++]=(m(X)-1)*W,W=1;break;case 64:45===L()&&(X+=F(D())),v=L(),h=d=m(E=X+=N(R())),B++;break;case 45:45===j&&2==m(X)&&(O=0)}}return t}function T(e,r,n,a,c,t,s,u,o,f,l,d){for(var k=c-1,g=0===c?t:[""],m=v(g),w=0,C=0,A=0;w<a;++w)for(var y=0,j=p(e,k+1,k=i(C=s[w])),x=e;y<m;++y)(x=h(C>0?g[y]+" "+j:b(j,/&\f/g,g[y])))&&(o[A++]=x);return O(e,r,n,0===c?"rule":u,o,f,l,d)}function U(e,r,n,a){return O(e,r,n,"comm",o(S),p(e,2,-2),0,a)}function V(e,r,n,a,c){return O(e,r,n,"decl",p(e,0,a),p(e,a+1,-1),a,c)}function X(e,r){for(var n="",a=0;a<e.length;a++)n+=r(e[a],a,e,r)||"";return n}function Y(e,r,n,a){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+X(e.children,a)+"}";case"rule":if(!m(e.value=e.props.join(",")))return""}return m(n=X(e.children,a))?e.return=e.value+"{"+n+"}":""}export{c as D,u as L,r as M,a as R,s as S,n as W,Y as a,v as b,P as c,C as d,m as e,g as f,d as g,l as h,k as i,z as j,t as k,e as m,b as r,X as s,G as t};
