!1},n=new w,o=td(t),i=!0,a,l,c=1,s;t.clone&&(e=Dt(e)),e.type==="StyleSheet"?(a=e.children,e.children=n):a=nd(e);do{if(l=Jm(a,Boolean(o)),ed(l.stylesheet,i,c++,r),s=l.stylesheet.children,l.comment&&(n.isEmpty||n.insert(w.createItem({type:"Raw",value:`
`})),n.insert(w.createItem(l.comment)),s.isEmpty||n.insert(w.createItem({type:"Raw",value:`
`}))),i&&!s.isEmpty){let u=s.last;(u.type!=="Atrule"||u.name!=="import"&&u.name!=="charset")&&(i=!1)}o!=="exclamation"&&(o=!1),n.appendList(s)}while(!a.isEmpty);return{ast:e}}function Rl(e){let t=nt.encode(e,!0),r=nt.encode(e);return t.length<r.length?t:r}var{lexer:od,tokenize:id,parse:ad,generate:sd,walk:ld,find:cd,findLast:ud,findAll:pd,fromPlainObject:hd,toPlainObject:fd}=nl({node:{String:{generate(e){this.token(Ee.String,Rl(e.value))}},Url:{generate(e){let t=Pt.encode(e.value),r=Rl(e.value);this.token(Ee.Url,t.length<=r.length+5?t:"url("+r+")")}}}});var Bi={};b(Bi,{addSelectors:()=>Oe,compareDeclarations:()=>Ei,hasSimilarSelectors:()=>vr,isEqualDeclarations:()=>zt,isEqualSelectors:()=>Rt,processSelector:()=>Mt,unsafeToSkipNode:()=>De});var{parse:md,generate:_i,compress:dd}=Cr;function at(e,t,r,n){return t.debug&&console.error(`## ${e} done in %d ms
`,Date.now()-r),n}function gd(e){let t;return function(n,o){let i=n;if(o&&(i=`[${((Date.now()-t)/1e3).toFixed(3)}s] ${i}`),e>1&&o){let a=_i(o);e===2&&a.length>256&&(a=a.substr(0,256)+"..."),i+=`
  ${a}
`}console.error(i),t=Date.now()}}function bd(e){return e={...e},typeof e.logger!="function"&&e.debug&&(e.logger=gd(e.debug)),e}function zl(e,t,r){Array.isArray(r)||(r=[r]),r.forEach(n=>n(e,t))}function Fl(e,t,r){r=r||{};let n=r.filename||"<unknown>",o,i=at("parsing",r,Date.now(),md(t,{context:e,filename:n,positions:Boolean(r.sourceMap)}));r.beforeCompress&&at("beforeCompress",r,Date.now(),zl(i,r,r.beforeCompress));let a=at("compress",r,Date.now(),dd(i,bd(r)));return r.afterCompress&&at("afterCompress",r,Date.now(),zl(a,r,r.afterCompress)),r.sourceMap?o=at("generate(sourceMap: true)",r,Date.now(),(()=>{let l=_i(a.ast,{sourceMap:!0});return l.map._file=n,l.map.setSourceContent(n,t),l})()):o=at("generate",r,Date.now(),{css:_i(a.ast),map:null}),o}function yd(e,t){return Fl("stylesheet",e,t)}function xd(e,t){return Fl("declarationList",e,t)}return Wl(kd);})();
