function_(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}functionO(e,a,s,r){Object.defineProperty(e,a,{get:s,set:r,enumerable:!0,configurable:!0})}varR={};_(R);O(R,"default",()=>z);classzextendsError{constructor(a,s,r,m,o){super(a+":"+r+":"+m+": "+s),this.reason=s,this.filename=a,this.line=r,this.column=m,this.source=o}}varH={};_(H);O(H,"default",()=>Q);classQ{constructor(a,s,r){this.start=a,this.end=s,this.source=r}}varoe={};O(oe,"CssTypes",()=>p);varp=function(e){returne.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e}({});constV=1e4,F=(e,a,s)=>{letr=s,m=V;do{consto=a.map($=>e.indexOf($,r));o.push(e.indexOf("\\",r));constg=o.filter($=>$!==-1);if(g.length===0)return-1;constc=Math.min(...g);if(e[c]==="\\")r=c+2,m--;elsereturnc}while(m>0);thrownewError("Too many escaping")},E=(e,a,s)=>{letr=s,m=V;do{consto=a.map(u=>e.indexOf(u,r));o.push(e.indexOf("(",r)),o.push(e.indexOf('"',r)),o.push(e.indexOf("'",r)),o.push(e.indexOf("\\",r));constg=o.filter(u=>u!==-1);if(g.length===0)return-1;constc=Math.min(...g);switch(e[c]){case"\\":r=c+2;break;case"(":{constu=E(e,[")"],c+1);if(u===-1)return-1;r=u+1}break;case'"':{constu=F(e,['"'],c+1);if(u===-1)return-1;r=u+1}break;case"'":{constu=F(e,["'"],c+1);if(u===-1)return-1;r=u+1}break;default:returnc}m--}while(m>0);thrownewError("Too many escaping")},ce=(e,a)=>{consts=[];letr=0;for(;r<e.length;){constm=E(e,a,r);if(m===-1)returns.push(e.substring(r)),s;s.push(e.substring(r,m)),r=m+1}returns},P=/\/\*[^]*?(?:\*\/|$)/g,se=(e,a)=>{a=a||{};lets=1,r=1;functionm(n){constt=n.match(/\n/g);t&&(s+=t.length);consti=n.lastIndexOf(`