var li=Object.defineProperty,ma=t=>{throw TypeError(t)},ui=(t,e,n)=>e in t?li(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,j=(t,e,n)=>ui(t,typeof e!="symbol"?e+"":e,n),as=(t,e,n)=>e.has(t)||ma("Cannot "+n),h=(t,e,n)=>(as(t,e,"read from private field"),n?n.call(t):e.get(t)),L=(t,e,n)=>e.has(t)?ma("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),k=(t,e,n,r)=>(as(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),B=(t,e,n)=>(as(t,e,"access private method"),n),os=(t,e,n,r)=>({set _(s){k(t,e,s,n)},get _(){return h(t,e,r)}});const hn=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,va=new Set,is=typeof process=="object"&&process?process:{},ba=(t,e,n,r)=>{typeof is.emitWarning=="function"?is.emitWarning(t,e,n,r):console.error(`[${n}] ${e}: ${t}`)};let wr=globalThis.AbortController,wa=globalThis.AbortSignal;var ya;if(typeof wr>"u"){wa=class{constructor(){j(this,"onabort"),j(this,"_onabort",[]),j(this,"reason"),j(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},wr=class{constructor(){j(this,"signal",new wa),e()}abort(n){var r,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const a of this.signal._onabort)a(n);(s=(r=this.signal).onabort)==null||s.call(r,n)}}};let t=((ya=is.env)==null?void 0:ya.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,ba("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const ci=t=>!va.has(t),Le=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),$a=t=>Le(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?yr:null:null;class yr extends Array{constructor(e){super(e),this.fill(0)}}var Un;const Na=class br{constructor(e,n){if(j(this,"heap"),j(this,"length"),!h(br,Un))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0}static create(e){const n=$a(e);if(!n)return[];k(br,Un,!0);const r=new br(e,n);return k(br,Un,!1),r}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Un=new WeakMap,L(Na,Un,!1);let hi=Na;var Ea,Ca,fe,zt,pe,de,Gn,jn,vt,Ut,dt,st,q,Pt,Gt,xt,bt,ge,wt,me,ve,jt,be,Ke,Dt,M,ls,fn,Ie,$r,qt,ka,pn,qn,Nr,_e,He,us,Er,Cr,nt,cs,Vn,ze,hs;const fi=class ii{constructor(e){L(this,M),L(this,fe),L(this,zt),L(this,pe),L(this,de),L(this,Gn),L(this,jn),j(this,"ttl"),j(this,"ttlResolution"),j(this,"ttlAutopurge"),j(this,"updateAgeOnGet"),j(this,"updateAgeOnHas"),j(this,"allowStale"),j(this,"noDisposeOnSet"),j(this,"noUpdateTTL"),j(this,"maxEntrySize"),j(this,"sizeCalculation"),j(this,"noDeleteOnFetchRejection"),j(this,"noDeleteOnStaleGet"),j(this,"allowStaleOnFetchAbort"),j(this,"allowStaleOnFetchRejection"),j(this,"ignoreFetchAbort"),L(this,vt),L(this,Ut),L(this,dt),L(this,st),L(this,q),L(this,Pt),L(this,Gt),L(this,xt),L(this,bt),L(this,ge),L(this,wt),L(this,me),L(this,ve),L(this,jt),L(this,be),L(this,Ke),L(this,Dt),L(this,fn,()=>{}),L(this,Ie,()=>{}),L(this,$r,()=>{}),L(this,qt,()=>!1),L(this,pn,I=>{}),L(this,qn,(I,G,Y)=>{}),L(this,Nr,(I,G,Y,kt)=>{if(Y||kt)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0}),j(this,Ea,"LRUCache");const{max:n=0,ttl:r,ttlResolution:s=1,ttlAutopurge:a,updateAgeOnGet:o,updateAgeOnHas:i,allowStale:l,dispose:u,disposeAfter:c,noDisposeOnSet:f,noUpdateTTL:m,maxSize:d=0,maxEntrySize:$=0,sizeCalculation:N,fetchMethod:b,memoMethod:p,noDeleteOnFetchRejection:y,noDeleteOnStaleGet:E,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:S,ignoreFetchAbort:O}=e;if(n!==0&&!Le(n))throw new TypeError("max option must be a nonnegative integer");const D=n?$a(n):Array;if(!D)throw new Error("invalid max value: "+n);if(k(this,fe,n),k(this,zt,d),this.maxEntrySize=$||h(this,zt),this.sizeCalculation=N,this.sizeCalculation){if(!h(this,zt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(p!==void 0&&typeof p!="function")throw new TypeError("memoMethod must be a function if defined");if(k(this,jn,p),b!==void 0&&typeof b!="function")throw new TypeError("fetchMethod must be a function if specified");if(k(this,Gn,b),k(this,Ke,!!b),k(this,dt,new Map),k(this,st,new Array(n).fill(void 0)),k(this,q,new Array(n).fill(void 0)),k(this,Pt,new D(n)),k(this,Gt,new D(n)),k(this,xt,0),k(this,bt,0),k(this,ge,hi.create(n)),k(this,vt,0),k(this,Ut,0),typeof u=="function"&&k(this,pe,u),typeof c=="function"?(k(this,de,c),k(this,wt,[])):(k(this,de,void 0),k(this,wt,void 0)),k(this,be,!!h(this,pe)),k(this,Dt,!!h(this,de)),this.noDisposeOnSet=!!f,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!y,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!O,this.maxEntrySize!==0){if(h(this,zt)!==0&&!Le(h(this,zt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Le(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");B(this,M,ka).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!E,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!i,this.ttlResolution=Le(s)||s===0?s:1,this.ttlAutopurge=!!a,this.ttl=r||0,this.ttl){if(!Le(this.ttl))throw new TypeError("ttl must be a positive integer if specified");B(this,M,ls).call(this)}if(h(this,fe)===0&&this.ttl===0&&h(this,zt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!h(this,fe)&&!h(this,zt)){const I="LRU_CACHE_UNBOUNDED";ci(I)&&(va.add(I),ba("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",I,ii))}}static unsafeExposeInternals(e){return{starts:h(e,ve),ttls:h(e,jt),sizes:h(e,me),keyMap:h(e,dt),keyList:h(e,st),valList:h(e,q),next:h(e,Pt),prev:h(e,Gt),get head(){return h(e,xt)},get tail(){return h(e,bt)},free:h(e,ge),isBackgroundFetch:n=>{var r;return B(r=e,M,nt).call(r,n)},backgroundFetch:(n,r,s,a)=>{var o;return B(o=e,M,Cr).call(o,n,r,s,a)},moveToTail:n=>{var r;return B(r=e,M,Vn).call(r,n)},indexes:n=>{var r;return B(r=e,M,_e).call(r,n)},rindexes:n=>{var r;return B(r=e,M,He).call(r,n)},isStale:n=>{var r;return h(r=e,qt).call(r,n)}}}get max(){return h(this,fe)}get maxSize(){return h(this,zt)}get calculatedSize(){return h(this,Ut)}get size(){return h(this,vt)}get fetchMethod(){return h(this,Gn)}get memoMethod(){return h(this,jn)}get dispose(){return h(this,pe)}get disposeAfter(){return h(this,de)}getRemainingTTL(e){return h(this,dt).has(e)?1/0:0}*entries(){for(const e of B(this,M,_e).call(this))h(this,q)[e]!==void 0&&h(this,st)[e]!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield[h(this,st)[e],h(this,q)[e]])}*rentries(){for(const e of B(this,M,He).call(this))h(this,q)[e]!==void 0&&h(this,st)[e]!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield[h(this,st)[e],h(this,q)[e]])}*keys(){for(const e of B(this,M,_e).call(this)){const n=h(this,st)[e];n!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield n)}}*rkeys(){for(const e of B(this,M,He).call(this)){const n=h(this,st)[e];n!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield n)}}*values(){for(const e of B(this,M,_e).call(this))h(this,q)[e]!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield h(this,q)[e])}*rvalues(){for(const e of B(this,M,He).call(this))h(this,q)[e]!==void 0&&!B(this,M,nt).call(this,h(this,q)[e])&&(yield h(this,q)[e])}[(Ca=Symbol.iterator,Ea=Symbol.toStringTag,Ca)](){return this.entries()}find(e,n={}){for(const r of B(this,M,_e).call(this)){const s=h(this,q)[r],a=B(this,M,nt).call(this,s)?s.__staleWhileFetching:s;if(a!==void 0&&e(a,h(this,st)[r],this))return this.get(h(this,st)[r],n)}}forEach(e,n=this){for(const r of B(this,M,_e).call(this)){const s=h(this,q)[r],a=B(this,M,nt).call(this,s)?s.__staleWhileFetching:s;a!==void 0&&e.call(n,a,h(this,st)[r],this)}}rforEach(e,n=this){for(const r of B(this,M,He).call(this)){const s=h(this,q)[r],a=B(this,M,nt).call(this,s)?s.__staleWhileFetching:s;a!==void 0&&e.call(n,a,h(this,st)[r],this)}}purgeStale(){let e=!1;for(const n of B(this,M,He).call(this,{allowStale:!0}))h(this,qt).call(this,n)&&(B(this,M,ze).call(this,h(this,st)[n],"expire"),e=!0);return e}info(e){const n=h(this,dt).get(e);if(n===void 0)return;const r=h(this,q)[n],s=B(this,M,nt).call(this,r)?r.__staleWhileFetching:r;if(s===void 0)return;const a={value:s};if(h(this,jt)&&h(this,ve)){const o=h(this,jt)[n],i=h(this,ve)[n];if(o&&i){const l=o-(hn.now()-i);a.ttl=l,a.start=Date.now()}}return h(this,me)&&(a.size=h(this,me)[n]),a}dump(){const e=[];for(const n of B(this,M,_e).call(this,{allowStale:!0})){const r=h(this,st)[n],s=h(this,q)[n],a=B(this,M,nt).call(this,s)?s.__staleWhileFetching:s;if(a===void 0||r===void 0)continue;const o={value:a};if(h(this,jt)&&h(this,ve)){o.ttl=h(this,jt)[n];const i=hn.now()-h(this,ve)[n];o.start=Math.floor(Date.now()-i)}h(this,me)&&(o.size=h(this,me)[n]),e.unshift([r,o])}return e}load(e){this.clear();for(const[n,r]of e){if(r.start){const s=Date.now()-r.start;r.start=hn.now()-s}this.set(n,r.value,r)}}set(e,n,r={}){var s,a,o,i,l;if(n===void 0)return this.delete(e),this;const{ttl:u=this.ttl,start:c,noDisposeOnSet:f=this.noDisposeOnSet,sizeCalculation:m=this.sizeCalculation,status:d}=r;let{noUpdateTTL:$=this.noUpdateTTL}=r;const N=h(this,Nr).call(this,e,n,r.size||0,m);if(this.maxEntrySize&&N>this.maxEntrySize)return d&&(d.set="miss",d.maxEntrySizeExceeded=!0),B(this,M,ze).call(this,e,"set"),this;let b=h(this,vt)===0?void 0:h(this,dt).get(e);if(b===void 0)b=h(this,vt)===0?h(this,bt):h(this,ge).length!==0?h(this,ge).pop():h(this,vt)===h(this,fe)?B(this,M,Er).call(this,!1):h(this,vt),h(this,st)[b]=e,h(this,q)[b]=n,h(this,dt).set(e,b),h(this,Pt)[h(this,bt)]=b,h(this,Gt)[b]=h(this,bt),k(this,bt,b),os(this,vt)._++,h(this,qn).call(this,b,N,d),d&&(d.set="add"),$=!1;else{B(this,M,Vn).call(this,b);const p=h(this,q)[b];if(n!==p){if(h(this,Ke)&&B(this,M,nt).call(this,p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=p;y!==void 0&&!f&&(h(this,be)&&((s=h(this,pe))==null||s.call(this,y,e,"set")),h(this,Dt)&&((a=h(this,wt))==null||a.push([y,e,"set"])))}else f||(h(this,be)&&((o=h(this,pe))==null||o.call(this,p,e,"set")),h(this,Dt)&&((i=h(this,wt))==null||i.push([p,e,"set"])));if(h(this,pn).call(this,b),h(this,qn).call(this,b,N,d),h(this,q)[b]=n,d){d.set="replace";const y=p&&B(this,M,nt).call(this,p)?p.__staleWhileFetching:p;y!==void 0&&(d.oldValue=y)}}else d&&(d.set="update")}if(u!==0&&!h(this,jt)&&B(this,M,ls).call(this),h(this,jt)&&($||h(this,$r).call(this,b,u,c),d&&h(this,Ie).call(this,d,b)),!f&&h(this,Dt)&&h(this,wt)){const p=h(this,wt);let y;for(;y=p?.shift();)(l=h(this,de))==null||l.call(this,...y)}return this}pop(){var e;try{for(;h(this,vt);){const n=h(this,q)[h(this,xt)];if(B(this,M,Er).call(this,!0),B(this,M,nt).call(this,n)){if(n.__staleWhileFetching)return n.__staleWhileFetching}else if(n!==void 0)return n}}finally{if(h(this,Dt)&&h(this,wt)){const n=h(this,wt);let r;for(;r=n?.shift();)(e=h(this,de))==null||e.call(this,...r)}}}has(e,n={}){const{updateAgeOnHas:r=this.updateAgeOnHas,status:s}=n,a=h(this,dt).get(e);if(a!==void 0){const o=h(this,q)[a];if(B(this,M,nt).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(h(this,qt).call(this,a))s&&(s.has="stale",h(this,Ie).call(this,s,a));else return r&&h(this,fn).call(this,a),s&&(s.has="hit",h(this,Ie).call(this,s,a)),!0}else s&&(s.has="miss");return!1}peek(e,n={}){const{allowStale:r=this.allowStale}=n,s=h(this,dt).get(e);if(s===void 0||!r&&h(this,qt).call(this,s))return;const a=h(this,q)[s];return B(this,M,nt).call(this,a)?a.__staleWhileFetching:a}async fetch(e,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:i=this.noDisposeOnSet,size:l=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:f=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:m=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:$=this.allowStaleOnFetchAbort,context:N,forceRefresh:b=!1,status:p,signal:y}=n;if(!h(this,Ke))return p&&(p.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:s,noDeleteOnStaleGet:a,status:p});const E={allowStale:r,updateAgeOnGet:s,noDeleteOnStaleGet:a,ttl:o,noDisposeOnSet:i,size:l,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:f,allowStaleOnFetchRejection:m,allowStaleOnFetchAbort:$,ignoreFetchAbort:d,status:p,signal:y};let C=h(this,dt).get(e);if(C===void 0){p&&(p.fetch="miss");const S=B(this,M,Cr).call(this,e,C,E,N);return S.__returned=S}else{const S=h(this,q)[C];if(B(this,M,nt).call(this,S)){const G=r&&S.__staleWhileFetching!==void 0;return p&&(p.fetch="inflight",G&&(p.returnedStale=!0)),G?S.__staleWhileFetching:S.__returned=S}const O=h(this,qt).call(this,C);if(!b&&!O)return p&&(p.fetch="hit"),B(this,M,Vn).call(this,C),s&&h(this,fn).call(this,C),p&&h(this,Ie).call(this,p,C),S;const D=B(this,M,Cr).call(this,e,C,E,N),I=D.__staleWhileFetching!==void 0&&r;return p&&(p.fetch=O?"stale":"refresh",I&&O&&(p.returnedStale=!0)),I?D.__staleWhileFetching:D.__returned=D}}async forceFetch(e,n={}){const r=await this.fetch(e,n);if(r===void 0)throw new Error("fetch() returned undefined");return r}memo(e,n={}){const r=h(this,jn);if(!r)throw new Error("no memoMethod provided to constructor");const{context:s,forceRefresh:a,...o}=n,i=this.get(e,o);if(!a&&i!==void 0)return i;const l=r(e,i,{options:o,context:s});return this.set(e,l,o),l}get(e,n={}){const{allowStale:r=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:o}=n,i=h(this,dt).get(e);if(i!==void 0){const l=h(this,q)[i],u=B(this,M,nt).call(this,l);return o&&h(this,Ie).call(this,o,i),h(this,qt).call(this,i)?(o&&(o.get="stale"),u?(o&&r&&l.__staleWhileFetching!==void 0&&(o.returnedStale=!0),r?l.__staleWhileFetching:void 0):(a||B(this,M,ze).call(this,e,"expire"),o&&r&&(o.returnedStale=!0),r?l:void 0)):(o&&(o.get="hit"),u?l.__staleWhileFetching:(B(this,M,Vn).call(this,i),s&&h(this,fn).call(this,i),l))}else o&&(o.get="miss")}delete(e){return B(this,M,ze).call(this,e,"delete")}clear(){return B(this,M,hs).call(this,"delete")}};fe=new WeakMap,zt=new WeakMap,pe=new WeakMap,de=new WeakMap,Gn=new WeakMap,jn=new WeakMap,vt=new WeakMap,Ut=new WeakMap,dt=new WeakMap,st=new WeakMap,q=new WeakMap,Pt=new WeakMap,Gt=new WeakMap,xt=new WeakMap,bt=new WeakMap,ge=new WeakMap,wt=new WeakMap,me=new WeakMap,ve=new WeakMap,jt=new WeakMap,be=new WeakMap,Ke=new WeakMap,Dt=new WeakMap,M=new WeakSet,ls=function(){const t=new yr(h(this,fe)),e=new yr(h(this,fe));k(this,jt,t),k(this,ve,e),k(this,$r,(s,a,o=hn.now())=>{if(e[s]=a!==0?o:0,t[s]=a,a!==0&&this.ttlAutopurge){const i=setTimeout(()=>{h(this,qt).call(this,s)&&B(this,M,ze).call(this,h(this,st)[s],"expire")},a+1);i.unref&&i.unref()}}),k(this,fn,s=>{e[s]=t[s]!==0?hn.now():0}),k(this,Ie,(s,a)=>{if(t[a]){const o=t[a],i=e[a];if(!o||!i)return;s.ttl=o,s.start=i,s.now=n||r();const l=s.now-i;s.remainingTTL=o-l}});let n=0;const r=()=>{const s=hn.now();if(this.ttlResolution>0){n=s;const a=setTimeout(()=>n=0,this.ttlResolution);a.unref&&a.unref()}return s};this.getRemainingTTL=s=>{const a=h(this,dt).get(s);if(a===void 0)return 0;const o=t[a],i=e[a];if(!o||!i)return 1/0;const l=(n||r())-i;return o-l},k(this,qt,s=>{const a=e[s],o=t[s];return!!o&&!!a&&(n||r())-a>o})},fn=new WeakMap,Ie=new WeakMap,$r=new WeakMap,qt=new WeakMap,ka=function(){const t=new yr(h(this,fe));k(this,Ut,0),k(this,me,t),k(this,pn,e=>{k(this,Ut,h(this,Ut)-t[e]),t[e]=0}),k(this,Nr,(e,n,r,s)=>{if(B(this,M,nt).call(this,n))return 0;if(!Le(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,e),!Le(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),k(this,qn,(e,n,r)=>{if(t[e]=n,h(this,zt)){const s=h(this,zt)-t[e];for(;h(this,Ut)>s;)B(this,M,Er).call(this,!0)}k(this,Ut,h(this,Ut)+t[e]),r&&(r.entrySize=n,r.totalCalculatedSize=h(this,Ut))})},pn=new WeakMap,qn=new WeakMap,Nr=new WeakMap,_e=function*({allowStale:t=this.allowStale}={}){if(h(this,vt))for(let e=h(this,bt);!(!B(this,M,us).call(this,e)||((t||!h(this,qt).call(this,e))&&(yield e),e===h(this,xt)));)e=h(this,Gt)[e]},He=function*({allowStale:t=this.allowStale}={}){if(h(this,vt))for(let e=h(this,xt);!(!B(this,M,us).call(this,e)||((t||!h(this,qt).call(this,e))&&(yield e),e===h(this,bt)));)e=h(this,Pt)[e]},us=function(t){return t!==void 0&&h(this,dt).get(h(this,st)[t])===t},Er=function(t){var e,n;const r=h(this,xt),s=h(this,st)[r],a=h(this,q)[r];return h(this,Ke)&&B(this,M,nt).call(this,a)?a.__abortController.abort(new Error("evicted")):(h(this,be)||h(this,Dt))&&(h(this,be)&&((e=h(this,pe))==null||e.call(this,a,s,"evict")),h(this,Dt)&&((n=h(this,wt))==null||n.push([a,s,"evict"]))),h(this,pn).call(this,r),t&&(h(this,st)[r]=void 0,h(this,q)[r]=void 0,h(this,ge).push(r)),h(this,vt)===1?(k(this,xt,k(this,bt,0)),h(this,ge).length=0):k(this,xt,h(this,Pt)[r]),h(this,dt).delete(s),os(this,vt)._--,r},Cr=function(t,e,n,r){const s=e===void 0?void 0:h(this,q)[e];if(B(this,M,nt).call(this,s))return s;const a=new wr,{signal:o}=n;o?.addEventListener("abort",()=>a.abort(o.reason),{signal:a.signal});const i={signal:a.signal,options:n,context:r},l=($,N=!1)=>{const{aborted:b}=a.signal,p=n.ignoreFetchAbort&&$!==void 0;if(n.status&&(b&&!N?(n.status.fetchAborted=!0,n.status.fetchError=a.signal.reason,p&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),b&&!p&&!N)return c(a.signal.reason);const y=m;return h(this,q)[e]===m&&($===void 0?y.__staleWhileFetching?h(this,q)[e]=y.__staleWhileFetching:B(this,M,ze).call(this,t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(t,$,i.options))),$},u=$=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=$),c($)),c=$=>{const{aborted:N}=a.signal,b=N&&n.allowStaleOnFetchAbort,p=b||n.allowStaleOnFetchRejection,y=p||n.noDeleteOnFetchRejection,E=m;if(h(this,q)[e]===m&&(!y||E.__staleWhileFetching===void 0?B(this,M,ze).call(this,t,"fetch"):b||(h(this,q)[e]=E.__staleWhileFetching)),p)return n.status&&E.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),E.__staleWhileFetching;if(E.__returned===E)throw $},f=($,N)=>{var b;const p=(b=h(this,Gn))==null?void 0:b.call(this,t,s,i);p&&p instanceof Promise&&p.then(y=>$(y===void 0?void 0:y),N),a.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&($(void 0),n.allowStaleOnFetchAbort&&($=y=>l(y,!0)))})};n.status&&(n.status.fetchDispatched=!0);const m=new Promise(f).then(l,u),d=Object.assign(m,{__abortController:a,__staleWhileFetching:s,__returned:void 0});return e===void 0?(this.set(t,d,{...i.options,status:void 0}),e=h(this,dt).get(t)):h(this,q)[e]=d,d},nt=function(t){if(!h(this,Ke))return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof wr},cs=function(t,e){h(this,Gt)[e]=t,h(this,Pt)[t]=e},Vn=function(t){t!==h(this,bt)&&(t===h(this,xt)?k(this,xt,h(this,Pt)[t]):B(this,M,cs).call(this,h(this,Gt)[t],h(this,Pt)[t]),B(this,M,cs).call(this,h(this,bt),t),k(this,bt,t))},ze=function(t,e){var n,r,s,a;let o=!1;if(h(this,vt)!==0){const i=h(this,dt).get(t);if(i!==void 0)if(o=!0,h(this,vt)===1)B(this,M,hs).call(this,e);else{h(this,pn).call(this,i);const l=h(this,q)[i];if(B(this,M,nt).call(this,l)?l.__abortController.abort(new Error("deleted")):(h(this,be)||h(this,Dt))&&(h(this,be)&&((n=h(this,pe))==null||n.call(this,l,t,e)),h(this,Dt)&&((r=h(this,wt))==null||r.push([l,t,e]))),h(this,dt).delete(t),h(this,st)[i]=void 0,h(this,q)[i]=void 0,i===h(this,bt))k(this,bt,h(this,Gt)[i]);else if(i===h(this,xt))k(this,xt,h(this,Pt)[i]);else{const u=h(this,Gt)[i];h(this,Pt)[u]=h(this,Pt)[i];const c=h(this,Pt)[i];h(this,Gt)[c]=h(this,Gt)[i]}os(this,vt)._--,h(this,ge).push(i)}}if(h(this,Dt)&&(s=h(this,wt))!=null&&s.length){const i=h(this,wt);let l;for(;l=i?.shift();)(a=h(this,de))==null||a.call(this,...l)}return o},hs=function(t){var e,n,r;for(const s of B(this,M,He).call(this,{allowStale:!0})){const a=h(this,q)[s];if(B(this,M,nt).call(this,a))a.__abortController.abort(new Error("deleted"));else{const o=h(this,st)[s];h(this,be)&&((e=h(this,pe))==null||e.call(this,a,o,t)),h(this,Dt)&&((n=h(this,wt))==null||n.push([a,o,t]))}}if(h(this,dt).clear(),h(this,q).fill(void 0),h(this,st).fill(void 0),h(this,jt)&&h(this,ve)&&(h(this,jt).fill(0),h(this,ve).fill(0)),h(this,me)&&h(this,me).fill(0),k(this,xt,0),k(this,bt,0),h(this,ge).length=0,k(this,Ut,0),k(this,vt,0),h(this,Dt)&&h(this,wt)){const s=h(this,wt);let a;for(;a=s?.shift();)(r=h(this,de))==null||r.call(this,...a)}};let Xn=fi;const V=t=>typeof t=="string"||t instanceof String;class Kn extends Error{constructor(e,n,r,s){super(e),j(this,"sourceStart"),j(this,"sourceEnd"),j(this,"parserState"),this.name="ParseError",this.sourceStart=n,this.sourceEnd=r,this.parserState=s}}class Ue extends Kn{constructor(e,n,r,s,a){super(e,n,r,s),j(this,"token"),this.token=a}}const xe={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'};function oe(...t){let e="";for(let n=0;n=48&&t<=57}function di(t){return t>=65&&t<=90}function gi(t){return t>=97&&t<=122}function Ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function mi(t){return gi(t)||di(t)}function bn(t){return mi(t)||vi(t)||t===95}function fs(t){return bn(t)||Vt(t)||t===yt}function vi(t){return t===183||t===8204||t===8205||t===8255||t===8256||t===8204||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||t===0||!!wn(t)||t>=65536}function kr(t){return t===gn||t===dn||t===12}function Ye(t){return t===32||t===gn||t===9||t===dn||t===12}function wn(t){return t>=55296&&t<=57343}function yn(t){return t.source.codePointAt(t.cursor)===92&&!kr(t.source.codePointAt(t.cursor+1)??-1)}function Fr(t,e){return e.source.codePointAt(e.cursor)===yt?e.source.codePointAt(e.cursor+1)===yt||!!bn(e.source.codePointAt(e.cursor+1)??-1)||e.source.codePointAt(e.cursor+1)===92&&!kr(e.source.codePointAt(e.cursor+2)??-1):!!bn(e.source.codePointAt(e.cursor)??-1)||yn(e)}function Fa(t){return t.source.codePointAt(t.cursor)===mn||t.source.codePointAt(t.cursor)===yt?!!Vt(t.source.codePointAt(t.cursor+1)??-1)||t.source.codePointAt(t.cursor+1)===46&&Vt(t.source.codePointAt(t.cursor+2)??-1):t.source.codePointAt(t.cursor)===46?Vt(t.source.codePointAt(t.cursor+1)??-1):Vt(t.source.codePointAt(t.cursor)??-1)}function bi(t){return t.source.codePointAt(t.cursor)===47&&t.source.codePointAt(t.cursor+1)===42}function wi(t){return t.source.codePointAt(t.cursor)===yt&&t.source.codePointAt(t.cursor+1)===yt&&t.source.codePointAt(t.cursor+2)===62}var v,F,Sr;function yi(t){switch(t){case v.OpenParen:return v.CloseParen;case v.CloseParen:return v.OpenParen;case v.OpenCurly:return v.CloseCurly;case v.CloseCurly:return v.OpenCurly;case v.OpenSquare:return v.CloseSquare;case v.CloseSquare:return v.OpenSquare;default:return null}}function $i(t){switch(t[0]){case v.OpenParen:return[v.CloseParen,")",-1,-1,void 0];case v.CloseParen:return[v.OpenParen,"(",-1,-1,void 0];case v.OpenCurly:return[v.CloseCurly,"}",-1,-1,void 0];case v.CloseCurly:return[v.OpenCurly,"{",-1,-1,void 0];case v.OpenSquare:return[v.CloseSquare,"]",-1,-1,void 0];case v.CloseSquare:return[v.OpenSquare,"[",-1,-1,void 0];default:return null}}function Ni(t,e){for(e.advanceCodePoint(2);;){const n=e.readCodePoint();if(n===void 0){const r=[v.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new Ue(xe.UnexpectedEOFInComment,e.representationStart,e.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],r)),r}if(n===42&&e.source.codePointAt(e.cursor)!==void 0&&e.source.codePointAt(e.cursor)===47){e.advanceCodePoint();break}}return[v.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function xr(t,e){const n=e.readCodePoint();if(n===void 0)return t.onParseError(new Kn(xe.UnexpectedEOFInEscapedCodePoint,e.representationStart,e.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),vn;if(Ze(n)){const r=[n];let s;for(;(s=e.source.codePointAt(e.cursor))!==void 0&&Ze(s)&&r.length<6;)r.push(s),e.advanceCodePoint();Ye(e.source.codePointAt(e.cursor)??-1)&&(e.source.codePointAt(e.cursor)===dn&&e.source.codePointAt(e.cursor+1)===gn&&e.advanceCodePoint(),e.advanceCodePoint());const a=parseInt(String.fromCodePoint(...r),16);return a===0||wn(a)||a>1114111?vn:a}return n===0||wn(n)?vn:n}function Ar(t,e){const n=[];for(;;){const r=e.source.codePointAt(e.cursor)??-1;if(r===0||wn(r))n.push(vn),e.advanceCodePoint(+(r>65535)+1);else if(fs(r))n.push(r),e.advanceCodePoint(+(r>65535)+1);else{if(!yn(e))return n;e.advanceCodePoint(),n.push(xr(t,e))}}}function Ei(t,e){e.advanceCodePoint();const n=e.source.codePointAt(e.cursor);if(n!==void 0&&(fs(n)||yn(e))){let r=Sr.Unrestricted;Fr(0,e)&&(r=Sr.ID);const s=Ar(t,e);return[v.Hash,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...s),type:r}]}return[v.Delim,"#",e.representationStart,e.representationEnd,{value:"#"}]}function Ci(t,e){let n=F.Integer;for(e.source.codePointAt(e.cursor)!==mn&&e.source.codePointAt(e.cursor)!==yt||e.advanceCodePoint();Vt(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint();if(e.source.codePointAt(e.cursor)===46&&Vt(e.source.codePointAt(e.cursor+1)??-1))for(e.advanceCodePoint(2),n=F.Number;Vt(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint();if(e.source.codePointAt(e.cursor)===101||e.source.codePointAt(e.cursor)===69){if(Vt(e.source.codePointAt(e.cursor+1)??-1))e.advanceCodePoint(2);else{if(e.source.codePointAt(e.cursor+1)!==yt&&e.source.codePointAt(e.cursor+1)!==mn||!Vt(e.source.codePointAt(e.cursor+2)??-1))return n;e.advanceCodePoint(3)}for(n=F.Number;Vt(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint()}return n}function ps(t,e){let n;{const a=e.source.codePointAt(e.cursor);a===yt?n="-":a===mn&&(n="+")}const r=Ci(0,e),s=parseFloat(e.source.slice(e.representationStart,e.representationEnd+1));if(Fr(0,e)){const a=Ar(t,e);return[v.Dimension,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:n,type:r,unit:String.fromCodePoint(...a)}]}return e.source.codePointAt(e.cursor)===37?(e.advanceCodePoint(),[v.Percentage,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:n}]):[v.Number,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:n,type:r}]}function ki(t){for(;Ye(t.source.codePointAt(t.cursor)??-1);)t.advanceCodePoint();return[v.Whitespace,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}(function(t){t.Comment="comment",t.AtKeyword="at-keyword-token",t.BadString="bad-string-token",t.BadURL="bad-url-token",t.CDC="CDC-token",t.CDO="CDO-token",t.Colon="colon-token",t.Comma="comma-token",t.Delim="delim-token",t.Dimension="dimension-token",t.EOF="EOF-token",t.Function="function-token",t.Hash="hash-token",t.Ident="ident-token",t.Number="number-token",t.Percentage="percentage-token",t.Semicolon="semicolon-token",t.String="string-token",t.URL="url-token",t.Whitespace="whitespace-token",t.OpenParen="(-token",t.CloseParen=")-token",t.OpenSquare="[-token",t.CloseSquare="]-token",t.OpenCurly="{-token",t.CloseCurly="}-token",t.UnicodeRange="unicode-range-token"})(v||(v={})),function(t){t.Integer="integer",t.Number="number"}(F||(F={})),function(t){t.Unrestricted="unrestricted",t.ID="id"}(Sr||(Sr={}));class Fi{constructor(e){j(this,"cursor",0),j(this,"source",""),j(this,"representationStart",0),j(this,"representationEnd",-1),this.source=e}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.cursor-1}readCodePoint(){const e=this.source.codePointAt(this.cursor);if(e!==void 0)return this.cursor=this.cursor+1,this.representationEnd=this.cursor-1,e}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.cursor-1}resetRepresentation(){this.representationStart=this.cursor,this.representationEnd=-1}}function Si(t,e){let n="";const r=e.readCodePoint();for(;;){const s=e.readCodePoint();if(s===void 0){const a=[v.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}];return t.onParseError(new Ue(xe.UnexpectedEOFInString,e.representationStart,e.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],a)),a}if(kr(s)){e.unreadCodePoint();const a=[v.BadString,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new Ue(xe.UnexpectedNewLineInString,e.representationStart,e.source.codePointAt(e.cursor)===dn&&e.source.codePointAt(e.cursor+1)===gn?e.representationEnd+2:e.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],a)),a}if(s===r)return[v.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}];if(s!==92)s===0||wn(s)?n+=String.fromCodePoint(vn):n+=String.fromCodePoint(s);else{if(e.source.codePointAt(e.cursor)===void 0)continue;if(kr(e.source.codePointAt(e.cursor)??-1)){e.source.codePointAt(e.cursor)===dn&&e.source.codePointAt(e.cursor+1)===gn&&e.advanceCodePoint(),e.advanceCodePoint();continue}n+=String.fromCodePoint(xr(t,e))}}}function xi(t){return!(t.length!==3||t[0]!==117&&t[0]!==85||t[1]!==114&&t[1]!==82||t[2]!==108&&t[2]!==76)}function ds(t,e){for(;;){const n=e.source.codePointAt(e.cursor);if(n===void 0)return;if(n===41)return void e.advanceCodePoint();yn(e)?(e.advanceCodePoint(),xr(t,e)):e.advanceCodePoint()}}function Ai(t,e){for(;Ye(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint();let n="";for(;;){if(e.source.codePointAt(e.cursor)===void 0){const a=[v.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}];return t.onParseError(new Ue(xe.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],a)),a}if(e.source.codePointAt(e.cursor)===41)return e.advanceCodePoint(),[v.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}];if(Ye(e.source.codePointAt(e.cursor)??-1)){for(e.advanceCodePoint();Ye(e.source.codePointAt(e.cursor)??-1);)e.advanceCodePoint();if(e.source.codePointAt(e.cursor)===void 0){const a=[v.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}];return t.onParseError(new Ue(xe.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],a)),a}return e.source.codePointAt(e.cursor)===41?(e.advanceCodePoint(),[v.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:n}]):(ds(t,e),[v.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0])}const s=e.source.codePointAt(e.cursor);if(s===34||s===39||s===40||(r=s??-1)===11||r===127||0<=r&&r<=8||14<=r&&r<=31){ds(t,e);const a=[v.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new Ue(xe.UnexpectedCharacterInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],a)),a}if(s===92){if(yn(e)){e.advanceCodePoint(),n+=String.fromCodePoint(xr(t,e));continue}ds(t,e);const a=[v.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new Ue(xe.InvalidEscapeSequenceInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],a)),a}e.source.codePointAt(e.cursor)===0||wn(e.source.codePointAt(e.cursor)??-1)?(n+=String.fromCodePoint(vn),e.advanceCodePoint()):(n+=e.source[e.cursor],e.advanceCodePoint())}var r}function gs(t,e){const n=Ar(t,e);if(e.source.codePointAt(e.cursor)!==40)return[v.Ident,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n)}];if(xi(n)){e.advanceCodePoint();let r=0;for(;;){const s=Ye(e.source.codePointAt(e.cursor)??-1),a=Ye(e.source.codePointAt(e.cursor+1)??-1);if(s&&a){r+=1,e.advanceCodePoint(1);continue}const o=s?e.source.codePointAt(e.cursor+1):e.source.codePointAt(e.cursor);if(o===34||o===39)return r>0&&e.unreadCodePoint(r),[v.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n)}];break}return Ai(t,e)}return e.advanceCodePoint(),[v.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n)}]}function Mi(t){return!(t.source.codePointAt(t.cursor)!==117&&t.source.codePointAt(t.cursor)!==85||t.source.codePointAt(t.cursor+1)!==mn||t.source.codePointAt(t.cursor+2)!==63&&!Ze(t.source.codePointAt(t.cursor+2)??-1))}function Pi(t,e){e.advanceCodePoint(2);const n=[],r=[];let s;for(;(s=e.source.codePointAt(e.cursor))!==void 0&&n.length<6&&Ze(s);)n.push(s),e.advanceCodePoint();for(;(s=e.source.codePointAt(e.cursor))!==void 0&&n.length<6&&s===63;)r.length===0&&r.push(...n),n.push(48),r.push(70),e.advanceCodePoint();if(!r.length&&e.source.codePointAt(e.cursor)===yt&&Ze(e.source.codePointAt(e.cursor+1)??-1))for(e.advanceCodePoint();(s=e.source.codePointAt(e.cursor))!==void 0&&r.length<6&&Ze(s);)r.push(s),e.advanceCodePoint();if(!r.length){const i=parseInt(String.fromCodePoint(...n),16);return[v.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:i,endOfRange:i}]}const a=parseInt(String.fromCodePoint(...n),16),o=parseInt(String.fromCodePoint(...r),16);return[v.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:a,endOfRange:o}]}function Je(t,e){const n=Sa(t),r=[];for(;!n.endOfFile();)r.push(n.nextToken());return r.push(n.nextToken()),r}function Sa(t,e){const n=t.css.valueOf(),r=t.unicodeRangesAllowed??!1,s=new Fi(n),a={onParseError:Di};return{nextToken:function(){s.resetRepresentation();const o=s.source.codePointAt(s.cursor);if(o===void 0)return[v.EOF,"",-1,-1,void 0];if(o===47&&bi(s))return Ni(a,s);if(r&&(o===117||o===85)&&Mi(s))return Pi(0,s);if(bn(o))return gs(a,s);if(Vt(o))return ps(a,s);switch(o){case 44:return s.advanceCodePoint(),[v.Comma,",",s.representationStart,s.representationEnd,void 0];case 58:return s.advanceCodePoint(),[v.Colon,":",s.representationStart,s.representationEnd,void 0];case 59:return s.advanceCodePoint(),[v.Semicolon,";",s.representationStart,s.representationEnd,void 0];case 40:return s.advanceCodePoint(),[v.OpenParen,"(",s.representationStart,s.representationEnd,void 0];case 41:return s.advanceCodePoint(),[v.CloseParen,")",s.representationStart,s.representationEnd,void 0];case 91:return s.advanceCodePoint(),[v.OpenSquare,"[",s.representationStart,s.representationEnd,void 0];case 93:return s.advanceCodePoint(),[v.CloseSquare,"]",s.representationStart,s.representationEnd,void 0];case 123:return s.advanceCodePoint(),[v.OpenCurly,"{",s.representationStart,s.representationEnd,void 0];case 125:return s.advanceCodePoint(),[v.CloseCurly,"}",s.representationStart,s.representationEnd,void 0];case 39:case 34:return Si(a,s);case 35:return Ei(a,s);case mn:case 46:return Fa(s)?ps(a,s):(s.advanceCodePoint(),[v.Delim,s.source[s.representationStart],s.representationStart,s.representationEnd,{value:s.source[s.representationStart]}]);case gn:case dn:case 12:case 9:case 32:return ki(s);case yt:return Fa(s)?ps(a,s):wi(s)?(s.advanceCodePoint(3),[v.CDC,"-->",s.representationStart,s.representationEnd,void 0]):Fr(0,s)?gs(a,s):(s.advanceCodePoint(),[v.Delim,"-",s.representationStart,s.representationEnd,{value:"-"}]);case 60:return pi(s)?(s.advanceCodePoint(4),[v.CDO,"