@vuebro/runtime 2.0.2 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +1 -1
- package/dist/assets/ajv-6LTVMkJm.js +8 -0
- package/dist/assets/index-hBoKIo1_.js +15 -0
- package/dist/assets/markdown-DmXmAkEm.js +204 -0
- package/dist/assets/unocss-CEUy1_Um.js +427 -0
- package/dist/index.html +6 -5
- package/package.json +11 -9
- package/dist/assets/index-D8BYfI6g.js +0 -421
- package/dist/assets/markdown-DLoCDFOz.js +0 -204
- package/dist/assets/shared-B__Q9CbY.js +0 -17
- /package/dist/assets/{loader-sfc.esm-browser.prod-2.4.5.js → loader-sfc.esm-browser.prod-2.4.7.js} +0 -0
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-hBoKIo1_.js","./ajv-6LTVMkJm.js","./markdown-DmXmAkEm.js","./katex-UTpUfKgT.js","./index-vGiKZPT9.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{b as Pn}from"./ajv-6LTVMkJm.js";const En="default",Vr="preflights",mc="shortcuts",Ha="imports",gc={[Ha]:-200,[Vr]:-100,[mc]:-10,[En]:0},Ga=/[\\:]?[\s'"`;{}]+/g;function bc(e){return e.split(Ga)}const yc={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return bc(e)}};function H(e=[]){return Array.isArray(e)?e:[e]}function Ve(e){return Array.from(new Set(e))}function Bi(e,t){return e.reduce((n,r)=>(n.findIndex(i=>t(r,i))===-1&&n.push(r),n),[])}function re(e){return typeof e=="string"}var Ka=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(const t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function or(e){return e instanceof Ka}function Jt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Se(e){const t=e.length;let n=-1,r,i="";const o=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+="�";continue}if(r===37){i+="\\%";continue}if(r===44){i+="\\,";continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&o===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}const ar=Se;function kc(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(n=>n(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(n=>n!==t)}}}const vc=/^\[(.+?)~?="(.*)"\]$/,xc=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,wc=/[\w\u00A0-\uFFFF%-?]/;function $c(e){return e.match(vc)}function qr(e=""){return wc.test(e)}function Sc(e){return typeof e=="function"?{match:e}:e}function Ui(e){return e.length===3}function xt(e){return e!=null}function Cc(){}var zc=class{constructor(){this._map=new Map}get(e,t){const n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([r,i])=>e(i,t,r)))}},Ec=class extends Map{getFallback(e,t){const n=this.get(e);return n===void 0?(this.set(e,t),t):n}map(e){const t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){const t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function Mn(e){return re(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ac(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Mn(t)):[e]:[Mn(e)]}function Oc(e){return e.filter(([t,n],r)=>{if(t.startsWith("$$"))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}const Ya="__virtual_key__";function sr(e){return e==null?"":Oc(e).map(([t,n])=>n!=null&&typeof n!="function"?t!==Ya?`${t}:${n};`:n:void 0).filter(Boolean).join("")}function dn(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Et(e,t,n=!1){const r=e,i=t;if(Array.isArray(i))return n&&Array.isArray(i)?[...r,...i]:[...i];const o={...r};return dn(r)&&dn(i)&&Object.keys(i).forEach(a=>{dn(r[a])&&dn(i[a])||Array.isArray(r[a])&&Array.isArray(i[a])?o[a]=Et(r[a],i[a],n):Object.assign(o,{[a]:i[a]})}),o}function Kt(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r=="object"?Kt(r):r;return n}if(Object.prototype.toString.call(e)==="[object Object]"){n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Kt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r=="object"?Kt(r):r;return n}return e}function jc(e){return re(e[0])}function Tc(e){return re(e[0])}const fn={};function _c(e=["-",":"]){const t=e.join("|");return fn[t]||(fn[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),fn[t].lastIndex=0,fn[t]}function Lc(e,t=["-",":"],n=5){const r=_c(t);let i,o=e.toString();const a=new Set,l=new Map;do i=!1,o=o.replace(r,(s,u,d,f,h)=>{if(!t.includes(d))return s;i=!0,a.add(u+d);const m=h+u.length+d.length+1,k={length:s.length,items:[]};l.set(h,k);for(const w of[...f.matchAll(/\S+/g)]){const $=m+w.index;let y=l.get($)?.items;y?l.delete($):y=[{offset:$,length:w[0].length,className:w[0]}];for(const C of y)C.className=C.className==="~"?u:C.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),k.items.push(C)}return"$".repeat(s.length)}),n-=1;while(i&&n);let c;if(typeof e=="string"){c="";let s=0;for(const[u,d]of l)c+=e.slice(s,u),c+=d.items.map(f=>f.className).join(" "),s=u+d.length;c+=e.slice(s)}else{c=e;for(const[s,u]of l)c.overwrite(s,s+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:i,groupsByOffset:l,get expanded(){return c.toString()}}}function Xa(e,t=["-",":"],n=5){const r=Lc(e,t,n);return typeof e=="string"?r.expanded:e}const Vi=new Set;function Pc(e){Vi.has(e)||(console.warn("[unocss]",e),Vi.add(e))}function Qa(e){return H(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const qi="_uno_resolved";async function Mc(e){let t=typeof e=="function"?await e():await e;if(qi in t)return t;t={...t},Object.defineProperty(t,qi,{value:!0,enumerable:!1});const n=t.shortcuts?Qa(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const r=i=>{i[2]||(i[2]={});const o=i[2];o.prefix==null&&t.prefix&&(o.prefix=H(t.prefix)),o.layer==null&&t.layer&&(o.layer=t.layer)};n?.forEach(r),t.rules?.forEach(r)}return t}async function Za(e){const t=await Mc(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(H).flatMap(Za))).flat()]:[t]}function Rc(e){if(e.length===0)return{};const t=[],n=[];let r=!1;const i=[],o=[];for(const l of e){if(l.pipeline===!1){r=!0;break}else l.pipeline?.include&&t.push(l.pipeline.include),l.pipeline?.exclude&&n.push(l.pipeline.exclude);l.filesystem&&i.push(l.filesystem),l.inline&&o.push(l.inline)}const a={pipeline:r?!1:{include:Ve(Gi(...t)),exclude:Ve(Gi(...n))}};return i.length&&(a.filesystem=Ve(i.flat())),o.length&&(a.inline=Ve(o.flat())),a}async function Hi(e={},t={}){const n=Object.assign({},t,e),r=Bi((await Promise.all((n.presets||[]).flatMap(H).flatMap(Za))).flat(),(x,E)=>x.name===E.name),i=[...r.filter(x=>x.enforce==="pre"),...r.filter(x=>!x.enforce),...r.filter(x=>x.enforce==="post")],o=[...i,n],a=[...o].reverse(),l=Object.assign({},gc,...o.map(x=>x.layers));function c(x){return Ve(o.flatMap(E=>H(E[x]||[])))}const s=c("extractors");let u=a.find(x=>x.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=yc),u&&!s.includes(u)&&s.unshift(u),s.sort((x,E)=>(x.order||0)-(E.order||0));const d=c("rules"),f=d.length,h={},m=[];for(const[x,E]of d.entries()){const T=E[2]??(E[2]={});T.__index=x,jc(E)?H(T.prefix??"").forEach(z=>{h[z+E[0]]=E}):m.unshift(E)}const k={templates:Ve(o.flatMap(x=>H(x.autocomplete?.templates))),extractors:o.flatMap(x=>H(x.autocomplete?.extractors)).sort((x,E)=>(x.order||0)-(E.order||0)),shorthands:Ic(o.map(x=>x.autocomplete?.shorthands||{}))};let w=c("separators");w.length||(w=[":","-"]);const $=Rc(c("content")),y={mergeSelectors:!0,warn:!0,sortLayers:x=>x,...n,blocklist:c("blocklist"),presets:i,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:l,theme:Fc(o.map(x=>x.theme)),rules:d,rulesSize:f,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:k,variants:c("variants").map(Sc).sort((x,E)=>(x.order||0)-(E.order||0)),shortcuts:Qa(c("shortcuts")).reverse(),extractors:s,safelist:c("safelist"),separators:w,details:n.details??n.envMode==="dev",content:$,transformers:Bi(c("transformers"),(x,E)=>x.name===E.name)},C=c("extendTheme");for(const x of C)y.theme=x(y.theme,y)||y.theme;for(const x of o)x?.configResolved?.(y);return y}function Fc(e){return e.map(t=>t?Kt(t):{}).reduce((t,n)=>Et(t,n),{})}function Ic(e){return e.reduce((t,n)=>{const r={};for(const i in n){const o=n[i];Array.isArray(o)?r[i]=`(${o.join("|")})`:r[i]=o}return{...t,...r}},{})}function Gi(...e){return e.flatMap(Nc)}function Nc(e){return Array.isArray(e)?e:e?[e]:[]}function _1(e){return e}var Dc="66.5.12";const se={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"};var Wc=class Ja{constructor(t={},n={}){this.userConfig=t,this.defaults=n,this.version=Dc,this.events=kc(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(r,i,o,a)=>{const l=Ac(i).filter(c=>c.length);if(l.length){this.config.details&&a.rules.push(o),a.generator.activatedRules.add(o);const c=o[2];return l.map(s=>{if(re(s))return[c.__index,s,c];let u=a.variantHandlers,d=c;for(const f of s)f[0]===se.variants?typeof f[1]=="function"?u=f[1](u)||u:u=[...H(f[1]),...u]:f[0]===se.parent?u=[{parent:f[1]},...u]:f[0]===se.selector?u=[{selector:f[1]},...u]:f[0]===se.layer?u=[{layer:f[1]},...u]:f[0]===se.sort?d={...d,sort:f[1]}:f[0]===se.noMerge?d={...d,noMerge:f[1]}:f[0]===se.body&&(f[0]=Ya);return[c.__index,r,s,d,u]})}}}static async create(t={},n={}){const r=new Ja(t,n);return r.config=await Hi(r.userConfig,r.defaults),r.events.emit("config",r.config),r}async setConfig(t,n){t&&(n&&(this.defaults=n),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Hi(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,n,r=new Set){const i={original:t,code:t,id:n,extracted:r,envMode:this.config.envMode};for(const o of this.config.extractors){const a=await o.extract?.(i);if(a)if(or(a)&&or(r))for(const l of a)r.setCount(l,r.getCount(l)+a.getCount(l));else for(const l of a)r.add(l)}return r}makeContext(t,n){const r={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:se,variantHandlers:n[2],constructCSS:(...i)=>this.constructCustomCSS(r,...i),variantMatch:n};return r}async parseToken(t,n){if(this.blocked.has(t))return;const r=`${t}${n?` ${n}`:""}`;if(this.cache.has(r))return this.cache.get(r);const i=this.config.preprocess.reduce((c,s)=>s(c)??c,t);if(this.isBlocked(i)){this.blocked.add(t),this.cache.set(r,null);return}const o=await this.matchVariants(t,i);if(o.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(r,null);return}const a=async c=>{const s=this.makeContext(t,[n||c[0],c[1],c[2],c[3]]);this.config.details&&(s.variants=[...c[3]]);const u=await this.expandShortcut(s.currentSelector,s);return u?await this.stringifyShortcuts(s.variantMatch,s,u[0],u[1]):(await this.parseUtil(s.variantMatch,s))?.flatMap(d=>this.stringifyUtil(d,s)).filter(xt)},l=(await Promise.all(o.map(c=>a(c)))).flat().filter(c=>!!c);if(l?.length)return this.cache.set(r,l),l;this.cache.set(r,null)}async generate(t,n={}){const{id:r,scope:i,preflights:o=!0,safelist:a=!0,minify:l=!1,extendedInfo:c=!1}=n,s=re(t)?await this.applyExtractors(t,r,c?new Ka:new Set):Array.isArray(t)?new Set(t):t;if(a){const z={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(z):b).forEach(b=>{const v=b.trim();v&&!s.has(v)&&s.add(v)})}const u=l?"":`
|
|
3
|
+
`,d=new Set([En]),f=c?new Map:new Set,h=new Map;let m={};const k=Array.from(s).map(async z=>{if(f.has(z))return;const b=await this.parseToken(z);if(b!=null){f instanceof Map?f.set(z,{data:b,count:or(s)?s.getCount(z):-1}):f.add(z);for(const v of b){const O=v[3]||"",S=v[4]?.layer;h.has(O)||h.set(O,[]),h.get(O).push(v),S&&d.add(S)}}});await Promise.all(k),await(async()=>{if(!o)return;const z={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:v=Vr})=>{d.add(v),b.add(v)}),m=Object.fromEntries(await Promise.all(Array.from(b).map(async v=>[v,(await Promise.all(this.config.preflights.filter(O=>(O.layer||Vr)===v).map(async O=>await O.getCSS(z)))).filter(Boolean).join(u)])))})();const w=this.config.sortLayers(Array.from(d).sort((z,b)=>(this.config.layers[z]??0)-(this.config.layers[b]??0)||z.localeCompare(b))),$={},y=this.config.outputToCssLayers,C=z=>{let b=z;return typeof y=="object"&&(b=y.cssLayerName?.(z)),b===null?null:b??z},x=(z=En)=>{if($[z])return $[z];let b=Array.from(h).sort((S,le)=>(this.parentOrders.get(S[0])??0)-(this.parentOrders.get(le[0])??0)||S[0]?.localeCompare(le[0]||"")||0).map(([S,le])=>{const _=le.length,N=le.filter(Q=>(Q[4]?.layer||En)===z).sort((Q,Oe)=>Q[0]-Oe[0]||(Q[4]?.sort||0)-(Oe[4]?.sort||0)||Q[5]?.currentSelector?.localeCompare(Oe[5]?.currentSelector??"")||Q[1]?.localeCompare(Oe[1]||"")||Q[2]?.localeCompare(Oe[2]||"")||0).map(([,Q,Oe,,pn,,ir])=>[[[(Q&&Vc(Q,i))??"",pn?.sort??0]],Oe,!!(ir??pn?.noMerge)]);if(!N.length)return;const I=N.reverse().map(([Q,Oe,pn],ir)=>{if(!pn&&this.config.mergeSelectors)for(let Ke=ir+1;Ke<_;Ke++){const Ie=N[Ke];if(Ie&&!Ie[2]&&(Q&&Ie[0]||Q==null&&Ie[0]==null)&&Ie[1]===Oe)return Q&&Ie[0]&&Ie[0].push(...Q),null}const Wi=Q?Ve(Q.sort((Ke,Ie)=>Ke[1]-Ie[1]||Ke[0]?.localeCompare(Ie[0]||"")||0).map(Ke=>Ke[0]).filter(Boolean)):[];return Wi.length?`${Wi.join(`,${u}`)}{${Oe}}`:Oe}).filter(Boolean),G=Array.from(new Set(I)).reverse().join(u);if(!S)return G;const ne=S.split(" $$ ");return`${ne.join("{")}{${u}${G}${u}${"}".repeat(ne.length)}`}).filter(Boolean).join(u);o&&(b=[m[z],b].filter(Boolean).join(u));let v;y&&b&&(v=C(z),v!==null&&(b=`@layer ${v}{${u}${b}${u}}`));const O=l?"":`/* layer: ${z}${v&&v!==z?`, alias: ${v}`:""} */${u}`;return $[z]=b?O+b:""},E=(z=w,b)=>{const v=z.filter(O=>!b?.includes(O));return[y&&v.length>0?`@layer ${v.map(C).filter(xt).join(", ")};`:void 0,...v.map(O=>x(O)||"")].filter(Boolean).join(u)};return{get css(){return E()},layers:w,matched:f,getLayers:E,getLayer:x,setLayer:async(z,b)=>{const v=await b(x(z));return $[z]=v,v}}}async matchVariants(t,n){const r={rawSelector:t,theme:this.config.theme,generator:this},i=async o=>{let a=!0;const[,,l,c]=o;for(;a;){a=!1;const s=o[1];for(const u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(s,r);if(d){if(re(d)){if(d===s)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");const f=d.map(h=>{const m=h.matcher??s,k=[h,...l],w=new Set(c);return w.add(u),[o[0],m,k,w]});return(await Promise.all(f.map(h=>i(h)))).flat()}}o[1]=d.matcher??s,l.unshift(d),c.add(u),a=!0;break}}if(!a)break;if(l.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[o]};return await i([t,n||t,[],new Set])}applyVariants(t,n=t[4],r=t[1]){const i=n.slice().sort((c,s)=>(c.order||0)-(s.order||0)).reduceRight((c,s)=>u=>{const d=s.body?.(u.entries)||u.entries,f=Array.isArray(s.parent)?s.parent:[s.parent,void 0],h=s.selector?.(u.selector,d);return(s.handle??Hc)({...u,entries:d,selector:h||u.selector,parent:f[0]||u.parent,parentOrder:f[1]||u.parentOrder,layer:s.layer||u.layer,sort:s.sort||u.sort},c)},c=>c)({prefix:"",selector:qc(r),pseudo:"",entries:t[2]}),{parent:o,parentOrder:a}=i;o!=null&&a!=null&&this.parentOrders.set(o,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:o,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((c,s)=>{const u=[];for(const d of c){const f=s(d);Array.isArray(f)?u.push(...f.filter(xt)):u.push(f||d)}return u},[l])}constructCustomCSS(t,n,r){const i=Mn(n);return re(i)?i:this.applyVariants([0,r||t.rawSelector,i,void 0,t.variantHandlers]).map(({selector:o,entries:a,parent:l})=>{const c=`${o}{${sr(a)}}`;return l?`${l}{${c}}`:c}).join("")}async parseUtil(t,n,r=!1,i){const o=re(t)?await this.matchVariants(t):[t],a=async([c,s,u])=>{this.config.details&&(n.rules=n.rules??[]);const d={...n,variantHandlers:u},f=this.config.rulesStaticMap[s];if(f&&f[1]&&(r||!f[2]?.internal))return this.resolveCSSResult(c,f[1],f,d);for(const h of this.config.rulesDynamic){const[m,k,w]=h;if(w?.internal&&!r)continue;let $=s;if(w?.prefix){const E=H(w.prefix);if(i){const T=H(i);if(!E.some(z=>T.includes(z)))continue}else{const T=E.find(z=>s.startsWith(z));if(T==null)continue;$=s.slice(T.length)}}const y=$.match(m);if(!y)continue;let C=await k(y,d);if(!C)continue;if(typeof C!="string")if(Symbol.asyncIterator in C){const E=[];for await(const T of C)T&&E.push(T);C=E}else Symbol.iterator in C&&!Array.isArray(C)&&(C=Array.from(C).filter(xt));const x=this.resolveCSSResult(c,C,h,d);if(x)return x}},l=(await Promise.all(o.map(c=>a(c)))).flat().filter(c=>!!c);if(l.length)return l}stringifyUtil(t,n){if(!t)return;if(Ui(t))return[[t[0],void 0,t[1],void 0,t[2],this.config.details?n:void 0,void 0]];const r=this.applyVariants(t),i=[];for(const o of r){const{selector:a,entries:l,parent:c,layer:s,sort:u,noMerge:d}=o,f=sr(l);if(!f)continue;const{layer:h,sort:m,...k}=t[3]??{},w={...k,layer:s??h,sort:u??m};i.push([t[0],a,f,c,w,this.config.details?n:void 0,d])}return i}async expandShortcut(t,n,r=5){if(r===0)return;const i=this.config.details?s=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(s)}:Cc;let o,a,l,c;for(const s of this.config.shortcuts){let u=t;if(s[2]?.prefix){const d=H(s[2].prefix).find(f=>t.startsWith(f));if(d==null)continue;u=t.slice(d.length)}if(Tc(s)){if(s[0]===u){o=o||s[2],a=s[1],i(s);break}}else{const d=u.match(s[0]);if(d&&(a=s[1](d,n)),a){o=o||s[2],i(s);break}}}if(a&&(l=Ve(H(a).filter(re).map(s=>Xa(s.trim()).split(/\s+/g)).flat()),c=H(a).filter(s=>!re(s)).map(s=>({handles:[],value:s}))),!a){const s=re(t)?await this.matchVariants(t):[t];for(const u of s){const[d,f,h]=u;if(d!==f){const m=await this.expandShortcut(f,n,r-1);m&&(l=m[0].filter(re).map(k=>d.replace(f,k)),c=m[0].filter(k=>!re(k)).map(k=>({handles:[...k.handles,...h],value:k.value})))}}}if(!(!l?.length&&!c?.length))return[[await Promise.all(H(l).map(async s=>(await this.expandShortcut(s,n,r-1))?.[0]||[s])),c].flat(2).filter(s=>!!s),o]}async stringifyShortcuts(t,n,r,i={layer:this.config.shortcutsLayer}){const o=new Ec,a=(await Promise.all(Ve(r).map(async u=>{const d=re(u)?await this.parseUtil(u,n,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Mn(u.value),void 0,u.handles]];return!d&&this.config.warn&&Pc(`unmatched utility "${u}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[l,,c]=t,s=[];for(const u of a){if(Ui(u)){s.push([u[0],void 0,u[1],void 0,u[2],n,void 0]);continue}const d=Object.fromEntries(u[2])[se.shortcutsNoMerge],f=[...u[4],...d?[]:c];for(const{selector:h,entries:m,parent:k,sort:w,noMerge:$,layer:y}of this.applyVariants(u,f,l))o.getFallback(y??i.layer,new zc).getFallback(h,k,[[],u[0]])[0].push([m,!!($??u[3]?.noMerge),w??0])}return s.concat(o.flatMap((u,d)=>u.map(([f,h],m,k)=>{const w=($,y,C)=>{const x=Math.max(...C.map(T=>T[1])),E=C.map(T=>T[0]);return($?[E.flat(1)]:E).map(T=>{const z=sr(T);if(z)return[h,m,z,k,{...i,noMerge:y,sort:x,layer:d},n,void 0]})};return[[f.filter(([,$])=>$).map(([$,,y])=>[$,y]),!0],[f.filter(([,$])=>!$).map(([$,,y])=>[$,y]),!1]].map(([$,y])=>[...w(!1,y,$.filter(([C])=>C.some(x=>x[0]===se.shortcutsNoMerge))),...w(!0,y,$.filter(([C])=>C.every(x=>x[0]!==se.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(n=>Array.isArray(n)?n[0]:n).some(n=>typeof n=="function"?n(t):re(n)?n===t:n.test(t))}getBlocked(t){const n=this.config.blocklist.find(r=>{const i=Array.isArray(r)?r[0]:r;return typeof i=="function"?i(t):re(i)?i===t:i.test(t)});return n?Array.isArray(n)?n:[n,void 0]:void 0}};async function Bc(e,t){return await Wc.create(e,t)}const gi=/\s\$\$\s+/g;function Uc(e){return gi.test(e)}function Vc(e,t){return Uc(e)?e.replace(gi,t?` ${t} `:" "):t?`${t} ${e}`:e}const Ki=/^\[(.+?)(~?=)"(.*)"\]$/;function qc(e){return Ki.test(e)?e.replace(Ki,(t,n,r,i)=>`[${ar(n)}${r}"${ar(i)}"]`):`.${ar(e)}`}function Hc(e,t){return t(e)}function Gc(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function Yi(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Xi(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Qi=["Webkit","Moz","ms"];function Kc(e){const t={};function n(r){const i=t[r];if(i)return i;let o=Gc(r);if(o!=="filter"&&o in e)return t[r]=Xi(o);o=Yi(o);for(let a=0;a<Qi.length;a++){const l=`${Qi[a]}${o}`;if(l in e)return t[r]=Xi(Yi(l))}return r}return({entries:r})=>r.forEach(i=>{i[0].startsWith("--")||(i[0]=n(i[0]))})}function Yc(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function L1(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,n=window.document,r=()=>n.documentElement,i=t.__unocss||{},o=Object.assign({},e,i.runtime),a=o.defaults||{},l=o.cloakAttribute??"un-cloak";o.autoPrefix&&(a.postprocess=H(a.postprocess)).unshift(Kc(n.createElement("div").style)),o.configResolved?.(i,a);const c=await Bc(i,a),s=_=>{const N=e.rootElement?.();if(N){N.appendChild(_);return}o.inject?o.inject(_):r().prepend(_)},u=()=>o.rootElement?o.rootElement():n.body,d=new Map;let f=!0;const h=new Set;let m,k,w=[];const $=()=>new Promise(_=>{w.push(_),k!=null&&clearTimeout(k),k=setTimeout(()=>x().then(()=>{const N=w;w=[],N.forEach(I=>I())}),0)});function y(_,N=!1){if(_.nodeType!==1)return;const I=_;I.hasAttribute(l)&&I.removeAttribute(l),N&&I.querySelectorAll(`[${l}]`).forEach(G=>{G.removeAttribute(l)})}function C(_,N){let I=d.get(_);if(!I)if(I=n.createElement("style"),I.setAttribute("data-unocss-runtime-layer",_),d.set(_,I),N==null)s(I);else{const G=C(N),ne=G.parentNode;ne?ne.insertBefore(I,G.nextSibling):s(I)}return I}async function x(){const _=[...h],N=await c.generate(_);return N.layers.reduce((G,ne)=>(C(ne,G).innerHTML=N.getLayer(ne)??"",ne),void 0),_.filter(G=>!N.matched.has(G)).forEach(G=>h.delete(G)),{...N,getStyleElement:G=>d.get(G),getStyleElements:()=>d}}async function E(_){const N=h.size;await c.applyExtractors(_,void 0,h),N!==h.size&&await $()}async function T(_=u()){const N=_&&_.outerHTML;N&&(await E(`${N} ${Yc(N)}`),y(r()),y(_,!0))}const z=new MutationObserver(_=>{f||_.forEach(async N=>{if(N.target.nodeType!==1)return;const I=N.target;for(const G of d)if(I===G[1])return;if(N.type==="childList")N.addedNodes.forEach(async G=>{if(G.nodeType!==1)return;const ne=G;m&&!m(ne)||(await E(ne.outerHTML),y(ne))});else{if(m&&!m(I))return;if(N.attributeName!==l){const G=Array.from(I.attributes).map(Q=>Q.value?`${Q.name}="${Q.value}"`:Q.name).join(" "),ne=`<${I.tagName.toLowerCase()} ${G}>`;await E(ne)}y(I)}})});let b=!1;function v(){if(b)return;const _=o.observer?.target?o.observer.target():u();_&&(z.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:o.observer?.attributeFilter}),b=!0)}function O(){o.bypassDefined&&Xc(c.blocked),T(),v()}function S(){n.readyState==="loading"?t.addEventListener("DOMContentLoaded",O):O()}const le=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(_){re(_)||(_.forEach(N=>h.add(N)),_=""),await E(_)},extractAll:T,inspect(_){m=_},toggleObserver(_){_===void 0?f=!f:f=!!_,!b&&!f&&S()},update:x,presets:t.__unocss_runtime?.presets??{}};o.ready?.(le)!==!1&&(f=!1,S())}function Xc(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];let r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(i=>i.selectorText?.split(/,/g)||[]).forEach(i=>{i&&(i=i.trim(),i.startsWith(".")&&(i=i.slice(1)),e.add(i))})}catch{continue}}return e}const es=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Qc(e={}){const t=e.prefix??"un-",n=e.prefixedOnly??!1,r=e.trueToNonValued??!1;let i;return{name:"attributify",match(o,{generator:a}){const l=$c(o);if(!l)return;let c=l[1];if(c.startsWith(t))c=c.slice(t.length);else if(n)return;const s=l[2],[,u="",d=s]=s.match(es)||[];if(d==="~"||r&&d==="true"||!d)return`${u}${c}`;if(i==null){const f=a?.config?.separators?.join("|");f?i=new RegExp(`^(.*\\](?:${f}))(\\[[^\\]]+?\\])$`):i=!1}if(i){const[,f,h]=s.match(i)||[];if(h)return`${f}${u}${c}-${h}`}if(u&&d.match(/^[\d.]+$/)){const f=u.split(/([^:]*:)/g).filter(Boolean),h=f.pop()+d,m=f.join("");return[{matcher:`${u}${c}-${d}`},{matcher:`${m}${c}-${h}`}]}return`${u}${c}-${d}`}}}const Zc=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Jc=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Zi=/[\s'"`;>]+/;function eu(e){return{name:"attributify",extract:({content:t,cursor:n})=>{const r=t.matchAll(Zc);let i,o=0;for(const y of r){const[,C,x]=y,E=y.index+C.length;if(n>E&&n<=E+x.length){o=E,i=x;break}}if(!i)return null;const a=i.matchAll(Jc);let l=0,c,s;for(const y of a){const[C,x,E]=y,T=o+y.index;if(n>T&&n<=T+C.length){l=T,c=x,s=E?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;const u=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!u)return null;const d=u?c.slice(e.prefix.length):c;if(s===void 0)return{extracted:d,resolveReplacement(y){const C=u?e.prefix.length:0;return{start:l+C,end:l+c.length,replacement:y}}};const f=l+c.length+2;let h=Zi.exec(s),m=0,k;for(;h;){const[y]=h;if(n>f+m&&n<=f+m+h.index){k=s.slice(m,m+h.index);break}m+=h.index+y.length,h=Zi.exec(s.slice(m))}k===void 0&&(k=s.slice(m));const[,w="",$]=k.match(es)||[];return{extracted:`${w}${d}-${$}`,transformSuggestions(y){return y.filter(C=>C.startsWith(`${w}${d}-`)).map(C=>w+C.slice(w.length+d.length+1))},resolveReplacement(y){return{start:m+f,end:m+f+k.length,replacement:w+y.slice(w.length+d.length+1)}}}}}}const tu=["v-bind:",":"],Ji=/[\s'"`;]+/g,lr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,nu=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,ts=["placeholder","fill","opacity","stroke-opacity"];function ru(e){const t=e?.ignoreAttributes??ts,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:i}){return Array.from(i.matchAll(lr)).flatMap(o=>Array.from((o[1]||"").matchAll(nu))).flatMap(([,o,...a])=>{const l=a.filter(Boolean).join("");if(t.includes(o))return[];for(const c of tu)if(o.startsWith(c)){o=o.slice(c.length);break}if(!l){if(qr(o)&&n!==!1){const c=[`[${o}=""]`];return r&&c.push(`[${o}="true"]`),c}return[]}return["class","className"].includes(o)?l.split(Ji).filter(qr):lr.test(l)?(lr.lastIndex=0,this.extract({code:l})):e?.prefixedOnly&&e.prefix&&!o.startsWith(e.prefix)?[]:l.split(Ji).filter(c=>!!c&&c!==":").map(c=>`[${o}~="${c}"]`)})}}}const P1=(e={})=>(e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??ts,{name:"@unocss/preset-attributify",enforce:"post",variants:[Qc(e)],extractors:[ru(e)],options:e,autocomplete:{extractors:[eu(e)]},extractorDefault:e.strict?!1:void 0}),iu="modulepreload",ou=function(e,t){return new URL(e,t).href},eo={},au=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let s=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");i=s(n.map(u=>{if(u=ou(u,r),u in eo)return;eo[u]=!0;const d=u.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(r)for(let m=a.length-1;m>=0;m--){const k=a[m];if(k.href===u&&(!d||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":iu,d||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)return new Promise((m,k)=>{h.addEventListener("load",m),h.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return i.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Hr="__TAGIFY__",su=/<([\w:-]+)/g;function lu(e){const{prefix:t="",excludedTags:n=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:r}){return Array.from(r.matchAll(su)).filter(({1:i})=>{for(const o of n)if(typeof o=="string"){if(i===o)return!1}else if(o.lastIndex=0,o.test(i))return!1;return i.startsWith(t)}).map(([,i])=>`${Hr}${i}`)}}}function cu(e){const{extraProperties:t}=e,n=`${Hr}${e.prefix??""}`;return{name:"tagify",match(r){if(!r.startsWith(n))return;const i=r.slice(n.length),o={matcher:i,selector:a=>a.slice(Hr.length+1)};return t&&(typeof t=="function"?o.body=a=>[...a,...Object.entries(t(i)??{})]:o.body=a=>[...a,...Object.entries(t)]),o}}}const M1=(e={})=>{const{defaultExtractor:t=!0}=e;return{name:"@unocss/preset-tagify",variants:[cu(e)],extractors:[lu(e)],extractorDefault:t?void 0:!1}};var uu=44,pu=59,to="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ns=new Uint8Array(64),du=new Uint8Array(128);for(let e=0;e<to.length;e++){const t=to.charCodeAt(e);ns[e]=t,du[t]=e}function Lt(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let i=r&31;r>>>=5,r>0&&(i|=32),e.write(ns[i])}while(r>0);return t}var no=1024*16,ro=typeof TextDecoder<"u"?new TextDecoder:typeof Pn.Buffer<"u"?{decode(e){return Pn.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},fu=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(no)}write(e){const{buffer:t}=this;t[this.pos++]=e,this.pos===no&&(this.out+=ro.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+ro.decode(e.subarray(0,n)):t}};function hu(e){const t=new fu;let n=0,r=0,i=0,o=0;for(let a=0;a<e.length;a++){const l=e[a];if(a>0&&t.write(pu),l.length===0)continue;let c=0;for(let s=0;s<l.length;s++){const u=l[s];s>0&&t.write(uu),c=Lt(t,u[0],c),u.length!==1&&(n=Lt(t,u[1],n),r=Lt(t,u[2],r),i=Lt(t,u[3],i),u.length!==4&&(o=Lt(t,u[4],o)))}}return t.flush()}class Rn{constructor(t){this.bits=t instanceof Rn?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class en{constructor(t,n,r){this.start=t,this.end=n,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new en(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let n=this;for(;n;)t(n),n=n.next}eachPrevious(t){let n=this;for(;n;)t(n),n=n.previous}edit(t,n,r){return this.content=t,r||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;const o=new en(t,this.end,i);return o.outro=this.outro,this.outro="",this.end=t,this.edited?(o.edit("",!1),this.content=""):this.content=r,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const n=this.content.replace(t,"");if(n.length)return n!==this.content&&(this.split(this.start+n.length).edit("",void 0,!0),this.edited&&this.edit(n,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const n=this.content.replace(t,"");if(n.length){if(n!==this.content){const r=this.split(this.end-n.length);this.edited&&r.edit(n,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function mu(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Pn.Buffer=="function"?e=>Pn.Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const gu=mu();class bu{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=hu(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+gu(this.toString())}}function yu(e){const t=e.split(`
|
|
4
|
+
`),n=t.filter(o=>/^\t+/.test(o)),r=t.filter(o=>/^ {2,}/.test(o));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return" ";const i=r.reduce((o,a)=>{const l=/^ +/.exec(a)[0].length;return Math.min(l,o)},1/0);return new Array(i+1).join(" ")}function ku(e,t){const n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let i=n.length;for(;i--;)n[i]=".."}return n.concat(r).join("/")}const vu=Object.prototype.toString;function xu(e){return vu.call(e)==="[object Object]"}function io(e){const t=e.split(`
|
|
5
|
+
`),n=[];for(let r=0,i=0;r<t.length;r++)n.push(i),i+=t[r].length+1;return function(i){let o=0,a=n.length;for(;o<a;){const s=o+a>>1;i<n[s]?a=s:o=s+1}const l=o-1,c=i-n[l];return{line:l,column:c}}}const wu=/\w/;class $u{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,n,r,i){if(n.length){const o=n.length-1;let a=n.indexOf(`
|
|
6
|
+
`,0),l=-1;for(;a>=0&&o>a;){const s=[this.generatedCodeColumn,t,r.line,r.column];i>=0&&s.push(i),this.rawSegments.push(s),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=a,a=n.indexOf(`
|
|
7
|
+
`,a+1)}const c=[this.generatedCodeColumn,t,r.line,r.column];i>=0&&c.push(i),this.rawSegments.push(c),this.advance(n.slice(l+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(t,n,r,i,o){let a=n.start,l=!0,c=!1;for(;a<n.end;){if(r[a]===`
|
|
8
|
+
`)i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=!0,c=!1;else{if(this.hires||l||o.has(a)){const s=[this.generatedCodeColumn,t,i.line,i.column];this.hires==="boundary"?wu.test(r[a])?c||(this.rawSegments.push(s),c=!0):(this.rawSegments.push(s),c=!1):this.rawSegments.push(s)}i.column+=1,this.generatedCodeColumn+=1,l=!1}a+=1}this.pending=null}advance(t){if(!t)return;const n=t.split(`
|
|
9
|
+
`);if(n.length>1){for(let r=0;r<n.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const Pt=`
|
|
10
|
+
`,ft={insertLeft:!1,insertRight:!1,storeName:!1};class bi{constructor(t,n={}){const r=new en(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Rn},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=r,this.byEnd[t.length]=r}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.appendLeft(n):this.intro+=n,this}appendRight(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.appendRight(n):this.outro+=n,this}clone(){const t=new bi(this.original,{filename:this.filename,offset:this.offset});let n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;const i=n.next,o=i&&i.clone();o&&(r.next=o,o.previous=r,r=o),n=i}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Rn(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const n=0,r=Object.keys(this.storedNames),i=new $u(t.hires),o=io(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(a=>{const l=o(a.start);a.intro.length&&i.advance(a.intro),a.edited?i.addEdit(n,a.content,l,a.storeName?r.indexOf(a.original):-1):i.addUneditedChunk(n,a,this.original,l,this.sourcemapLocations),a.outro.length&&i.advance(a.outro)}),this.outro&&i.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?ku(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:r,mappings:i.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(t){return new bu(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=yu(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,n){const r=/^[^\r\n]/gm;if(xu(t)&&(n=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;n=n||{};const i={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)i[d]=!0});let o=n.indentStart!==!1;const a=s=>o?`${t}${s}`:(o=!0,s);this.intro=this.intro.replace(r,a);let l=0,c=this.firstChunk;for(;c;){const s=c.end;if(c.edited)i[l]||(c.content=c.content.replace(r,a),c.content.length&&(o=c.content[c.content.length-1]===`
|
|
11
|
+
`));else for(l=c.start;l<s;){if(!i[l]){const u=this.original[l];u===`
|
|
12
|
+
`?o=!0:u!=="\r"&&o&&(o=!1,l===c.start||(this._splitChunk(c,l),c=c.next),c.prependRight(t))}l+=1}l=c.end,c=c.next}return this.outro=this.outro.replace(r,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,n){return ft.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ft.insertLeft=!0),this.appendLeft(t,n)}insertRight(t,n){return ft.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ft.insertRight=!0),this.prependRight(t,n)}move(t,n,r){if(t=t+this.offset,n=n+this.offset,r=r+this.offset,r>=t&&r<=n)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(n),this._split(r);const i=this.byStart[t],o=this.byEnd[n],a=i.previous,l=o.next,c=this.byStart[r];if(!c&&o===this.lastChunk)return this;const s=c?c.previous:this.lastChunk;return a&&(a.next=l),l&&(l.previous=a),s&&(s.next=i),c&&(c.previous=o),i.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=s,o.next=c||null,s||(this.firstChunk=i),c||(this.lastChunk=o),this}overwrite(t,n,r,i){return i=i||{},this.update(t,n,r,{...i,overwrite:!i.contentOnly})}update(t,n,r,i){if(t=t+this.offset,n=n+this.offset,typeof r!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(n>this.original.length)throw new Error("end is out of bounds");if(t===n)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(n),i===!0&&(ft.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ft.storeName=!0),i={storeName:!0});const o=i!==void 0?i.storeName:!1,a=i!==void 0?i.overwrite:!1;if(o){const s=this.original.slice(t,n);Object.defineProperty(this.storedNames,s,{writable:!0,value:!0,enumerable:!0})}const l=this.byStart[t],c=this.byEnd[n];if(l){let s=l;for(;s!==c;){if(s.next!==this.byStart[s.end])throw new Error("Cannot overwrite across a split point");s=s.next,s.edit("",!1)}l.edit(r,o,!a)}else{const s=new en(t,n,"").edit(r,o);c.next=s,s.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.prependLeft(n):this.intro=n+this.intro,this}prependRight(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.prependRight(n):this.outro=n+this.outro,this}remove(t,n){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");this._split(t),this._split(n);let r=this.byStart[t];for(;r;)r.intro="",r.outro="",r.edit(""),r=n>r.end?this.byStart[r.end]:null;return this}reset(t,n){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");this._split(t),this._split(n);let r=this.byStart[t];for(;r;)r.reset(),r=n>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Pt);if(t!==-1)return this.outro.substr(t+1);let n=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(t=r.outro.lastIndexOf(Pt),t!==-1)return r.outro.substr(t+1)+n;n=r.outro+n}if(r.content.length>0){if(t=r.content.lastIndexOf(Pt),t!==-1)return r.content.substr(t+1)+n;n=r.content+n}if(r.intro.length>0){if(t=r.intro.lastIndexOf(Pt),t!==-1)return r.intro.substr(t+1)+n;n=r.intro+n}}while(r=r.previous);return t=this.intro.lastIndexOf(Pt),t!==-1?this.intro.substr(t+1)+n:this.intro+n}slice(t=0,n=this.original.length-this.offset){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}let r="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<n&&i.end>=n)return r;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const o=i;for(;i;){i.intro&&(o!==i||i.start===t)&&(r+=i.intro);const a=i.start<n&&i.end>=n;if(a&&i.edited&&i.end!==n)throw new Error(`Cannot use replaced character ${n} as slice end anchor.`);const l=o===i?t-i.start:0,c=a?i.content.length+n-i.end:i.content.length;if(r+=i.content.slice(l,c),i.outro&&(!a||i.end===n)&&(r+=i.outro),a)break;i=i.next}return r}snip(t,n){const r=this.clone();return r.remove(0,t),r.remove(n,r.original.length),r}_split(t){if(this.byStart[t]||this.byEnd[t])return;let n=this.lastSearchedChunk,r=n;const i=t>n.end;for(;n;){if(n.contains(t))return this._splitChunk(n,t);if(n=i?this.byStart[n.end]:this.byEnd[n.start],n===r)return;r=n}}_splitChunk(t,n){if(t.edited&&t.content.length){const i=io(this.original)(n);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} – "${t.original}")`)}const r=t.split(n);return this.byEnd[n]=t,this.byStart[n]=r,this.byEnd[r.end]=r,t===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,n=this.firstChunk;for(;n;)t+=n.toString(),n=n.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,n=0;do n+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return n}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const n=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(n,""),this.outro.length)return!0;let r=this.lastChunk;do{const i=r.end,o=r.trimEnd(n);if(r.end!==i&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),o)return!0;r=r.previous}while(r);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const n=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(n,""),this.intro.length)return!0;let r=this.firstChunk;do{const i=r.end,o=r.trimStart(n);if(r.end!==i&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),o)return!0;r=r.next}while(r);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,n){function r(o,a){return typeof n=="string"?n.replace(/\$(\$|&|\d+)/g,(l,c)=>c==="$"?"$":c==="&"?o[0]:+c<o.length?o[+c]:`$${c}`):n(...o,o.index,a,o.groups)}function i(o,a){let l;const c=[];for(;l=o.exec(a);)c.push(l);return c}if(t.global)i(t,this.original).forEach(a=>{if(a.index!=null){const l=r(a,this.original);l!==a[0]&&this.overwrite(a.index,a.index+a[0].length,l)}});else{const o=this.original.match(t);if(o&&o.index!=null){const a=r(o,this.original);a!==o[0]&&this.overwrite(o.index,o.index+o[0].length,a)}}return this}_replaceString(t,n){const{original:r}=this,i=r.indexOf(t);return i!==-1&&(typeof n=="function"&&(n=n(t,i,r)),t!==n&&this.overwrite(i,i+t.length,n)),this}replace(t,n){return typeof t=="string"?this._replaceString(t,n):this._replaceRegexp(t,n)}_replaceAllString(t,n){const{original:r}=this,i=t.length;for(let o=r.indexOf(t);o!==-1;o=r.indexOf(t,o+i)){const a=r.slice(o,o+i);let l=n;typeof n=="function"&&(l=n(a,o,r)),a!==l&&this.overwrite(o,o+i,l)}return this}replaceAll(t,n){if(typeof t=="string")return this._replaceAllString(t,n);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,n)}}function yi(e,t,n){if(e==="")return;const r=e.length;let i=0,o=!1,a=0;for(let l=0;l<r;l++)switch(e[l]){case t:o||(o=!0,a=l),i++;break;case n:if(--i,i<0)return;if(i===0)return[e.slice(a,l+1),e.slice(l+1),e.slice(0,a)];break}}function Gn(e,t,n,r){if(e===""||(re(r)&&(r=[r]),r.length===0))return;const i=e.length;let o=0;for(let a=0;a<i;a++)switch(e[a]){case t:o++;break;case n:if(--o<0)return;break;default:for(const l of r){const c=l.length;if(c&&l===e.slice(a,a+c)&&o===0)return a===0||a===i-c?void 0:[e.slice(0,a),e.slice(a+c)]}}return[e,""]}function tt(e,t,n,r="(",i=")"){n=n??10;const o=[];let a=0;for(;e!=="";){if(++a>n)return;const l=Gn(e,r,i,t);if(!l)return;const[c,s]=l;o.push(c),e=s}if(o.length>0)return o}const ki=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Su=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Cu=["hsl","hwb","lch","oklch"],zu=["shorter","longer","increasing","decreasing"],rs=["%alpha","<alpha-value>"],is=new RegExp(rs.map(e=>Jt(e)).join("|"),"g");function oo(e){return e?Su.some(t=>e.includes(t))||Cu.some(t=>e.includes(t))||zu.some(t=>e.includes(t)):!1}function wt(e=""){const t=Eu(e);if(t==null||t===!1)return;const{type:n,components:r,alpha:i}=t,o=n.toLowerCase();if(r.length!==0&&!(ki.includes(o)&&![1,3].includes(r.length)))return{type:o,components:r.map(a=>typeof a=="string"?a.trim():a),alpha:typeof i=="string"?i.trim():i}}function tn(e,t){if(typeof e=="string")return e.replace(is,`${t??1}`);const{components:n}=e;let{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${n.join(", ")}${r==null?"":`, ${r}`})`:(r=r==null?"":` / ${r}`,ki.includes(i)?`${i}(${n.join(" ")}${r})`:`color(${i} ${n.join(" ")}${r})`)}function Eu(e){if(!e)return;let t=Au(e);if(t!=null||(t=Ou(e),t!=null)||(t=ju(e),t!=null)||(t=_u(e),t!=null)||(t=Lu(e),t!=null))return t}function Au(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const n=Array.from(t,r=>Number.parseInt(r,16)).map(r=>r<<4|r);return{type:"rgb",components:n.slice(0,3),alpha:t.length===3?void 0:Math.round(n[3]/255*100)/100}}case 6:case 8:{const n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}}function Ou(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function ju(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,n,r]=t,i=tt(r,",",5);if(i){if([3,4].includes(i.length))return{type:n,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}const Tu=new RegExp(`^(${ki.join("|")})\\((.+)\\)$`,"i");function _u(e){const t=e.match(Tu);if(!t)return;const[,n,r]=t,i=os(`${n} ${r}`);if(i){const{alpha:o,components:[a,...l]}=i;return{type:a,components:l,alpha:o}}}function Lu(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const n=os(t[1]);if(n){const{alpha:r,components:[i,...o]}=n;return{type:i,components:o,alpha:r}}}function os(e){const t=tt(e," ");if(!t)return;let n=t.length;if(t[n-2]==="/")return{components:t.slice(0,n-2),alpha:t[n-1]};if(t[n-2]!=null&&(t[n-2].endsWith("/")||t[n-1].startsWith("/"))){const o=t.splice(n-2);t.push(o.join(" ")),--n}const r=tt(t[n-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:t};const i=r.pop();return t[n-1]=r.join("/"),{components:t,alpha:i}}const Pu=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function as(e){return e.includes("theme(")&&e.includes(")")}function ss(e,t,n=!0){const r=Array.from(e.toString().matchAll(Pu));if(!r.length)return e;const i=new bi(e);for(const o of r){const a=o[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");const l=ls(a,t,n);l&&i.overwrite(o.index,o.index+o[0].length,l)}return i.toString()}function ls(e,t,n=!0){const[r,i]=e.split("/");let o=r.trim().split(".").reduce((a,l)=>a?.[l],t);if(typeof o=="object"&&(o=o.DEFAULT),typeof o=="string"){if(i){const a=wt(o);a&&(o=tn(a,i))}return o}else if(n)throw new Error(`theme of "${e}" did not found`)}function Fn(e){var t;const n=((t=e.match(/^-?\d+\.?\d*/))===null||t===void 0?void 0:t[0])||"",r=e.slice(n.length);if(r==="px"){const i=Number.parseFloat(n)-.1;return Number.isNaN(i)?e:`${i}${r}`}return`calc(${e} - 0.1px)`}function Mu(e){const t=function(r,i){var o;const a=((o=this.__options)===null||o===void 0?void 0:o.sequence)||[];this.__options.sequence=[];for(const l of a){const c=e[l](r,i);if(c!=null)return c}};function n(r,i){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(i),r}for(const r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}function Ru(e){return e.includes("icon(")&&e.includes(")")}const Bt="__pseudo_placeholder__",Tt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Bt})`],["nth-last",`:nth-last-child(${Bt})`],["nth-last-of-type",`:nth-last-of-type(${Bt})`],["nth-of-type",`:nth-of-type(${Bt})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),cs=Object.keys(Tt),_t=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),us=Object.keys(_t),Fu=["not","is","where","has"],ps=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Gr=Object.entries(Tt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Kr=Object.entries(_t).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),st=Fu.join("|"),ao=Object.keys(ps).sort((e,t)=>t.length-e.length).join("|"),Iu=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],so=Object.entries(Tt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),lo=Object.entries(_t).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Nu(e,t,n,r){const{h:i,variantGetBracket:o}=r,a=new RegExp(`^(${Jt(t)}:)(\\S+)${Jt(n)}\\1`);let l,c,s,u;const d=m=>{var k;const w=o(`${e}-`,m,[]);if(!w)return;const[$,y]=w,C=i.bracket($);if(C==null)return;const x=((k=y.split(l,1))===null||k===void 0?void 0:k[0])??"",E=`${t}${Se(x)}`;return[x,m.slice(m.length-(y.length-x.length-1)),C.includes("&")?C.replace(/&/g,E):`${E}${C}`]},f=m=>{const k=m.match(c)||m.match(s);if(!k)return;const[w,$,y]=k,C=k[3]??"";let x=Tt[y]||_t[y]||`:${y}`;return $&&(x=`:${$}(${x})`),[C,m.slice(w.length),`${t}${Se(C)}${x}`,y]},h=m=>{const k=m.match(u);if(!k)return;const[w,$,y]=k,C=k[3]??"",x=`:${$}(${y})`;return[C,m.slice(w.length),`${t}${Se(C)}${x}`]};return{name:`pseudo:${e}`,match(m,k){if(l&&c&&s||(l=new RegExp(`(?:${k.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${st})-)?(${Gr}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.join("|")})`),s=new RegExp(`^${e}-(?:(?:(${st})-)?(${Kr}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(E=>E!=="-").join("|")})`),u=new RegExp(`^${e}-(?:(${st})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(E=>E!=="-").join("|")})`)),!m.startsWith(e))return;const w=d(m)||f(m)||h(m);if(!w)return;const[$,y,C,x=""]=w;return{matcher:y,handle:(E,T)=>T({...E,prefix:`${C}${n}${E.prefix}`.replace(a,"$1$2:"),sort:cs.indexOf(x)??us.indexOf(x)})}},multiPass:!0}}function Du(e){const{h:t}=e;let n,r,i;return[{name:"pseudo",match(o,a){n&&r||(n=new RegExp(`^(${so})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),r=new RegExp(`^(${lo})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));const l=o.match(n)||o.match(r);if(l){let c=Tt[l[1]]||_t[l[1]]||`:${l[1]}`;if(l[2]){let u;l[2].startsWith("[")&&l[2].endsWith("]")?u=t.bracket(l[2]):u=l[2],u&&(c=c.replace(Bt,u))}let s=cs.indexOf(l[1]);return s===-1&&(s=us.indexOf(l[1])),s===-1&&(s=void 0),{matcher:o.slice(l[0].length),handle:(u,d)=>{const f=c.includes("::")&&!Iu.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...f,sort:s,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${so}|${lo}):`},{name:"pseudo:multi",match(o,a){i||(i=new RegExp(`^(${ao})(?:${a.generator.config.separators.join("|")})`));const l=o.match(i);if(l)return ps[l[1]].map(c=>({matcher:o.slice(l[0].length),handle:(s,u)=>u({...s,pseudo:`${s.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${ao}):`}]}function Wu(e){const{getBracket:t,h:n}=e;let r,i,o;return{match(a,l){r&&i||(r=new RegExp(`^(${st})-(${Gr})(?:${l.generator.config.separators.join("|")})`),i=new RegExp(`^(${st})-(${Kr})(?:${l.generator.config.separators.filter(s=>s!=="-").join("|")})`),o=new RegExp(`^(${st})-(\\[.+\\])(?:${l.generator.config.separators.filter(s=>s!=="-").join("|")})`));const c=a.match(r)||a.match(i)||a.match(o);if(c){const s=c[1],u=t(c[2],"[","]")?n.bracket(c[2]):Tt[c[2]]||_t[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:d=>`${d}:${s}(${u})`}}},multiPass:!0,autocomplete:`(${st})-(${Gr}|${Kr}):`}}function Bu(e,t){const n=!!e?.attributifyPseudo;let r=e?.prefix??"";r=Se((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const i=(o,a)=>Nu(o,n?`[${r}${o}=""]`:`.${r}${o}`,a,t);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}const Uu=/(part-\[(.+)\]:)(.+)/;function Vu(){return{match(e){const t=e.match(Uu);if(t){const n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:r=>`${r}::${n}`}}},multiPass:!0}}function Le(e,t,n={}){let r;return{name:e,match(i,o){r||(r=new RegExp(`^${Jt(e)}(?:${o.generator.config.separators.join("|")})`));const a=i.match(r);if(a){const l=i.slice(a[0].length),c=H(t).map(s=>({matcher:l,handle:(u,d)=>d({...u,...s(u)}),...n}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function ve(e,t){let n;return{name:e,match(r,i){n||(n=new RegExp(`^${Jt(e)}(?:${i.generator.config.separators.join("|")})`));const o=r.match(n);if(o)return{matcher:r.slice(o[0].length),handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function ln(e,t,n){if(t.startsWith(`${e}[`)){const[r,i]=yi(t.slice(e.length),"[","]")??[];if(r&&i){for(const o of n)if(i.startsWith(o))return[r,i.slice(o.length),o];return[r,i,""]}}}function Ee(e,t,n){for(const r of H(e))if(t.startsWith(r)){const i=ln(r,t,n);if(i){const[o="",a=i[1]]=Ee("/",i[1],n)??[];return[i[0],a,o]}for(const o of n.filter(a=>a!=="/")){const a=t.indexOf(o,r.length);if(a!==-1){const l=t.indexOf("/",r.length),c=l===-1||a<=l;return[t.slice(r.length,c?a:l),t.slice(a+o.length),c?"":t.slice(l+1,a)]}}}}const ds=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],qu={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},P=e=>e.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),ge=e=>`${P(e/16)}rem`,p=(e,t)=>`${P(e/t)}em`,Hu={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":p(32,16),"margin-bottom":p(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},Yr={sm:{"font-size":ge(14),"line-height":P(24/14),p:{"margin-top":p(16,14),"margin-bottom":p(16,14)},'[class~="lead"]':{"font-size":p(18,14),"line-height":P(28/18),"margin-top":p(16,18),"margin-bottom":p(16,18)},blockquote:{"margin-top":p(24,18),"margin-bottom":p(24,18),"padding-inline-start":p(20,18)},h1:{"font-size":p(30,14),"margin-top":"0","margin-bottom":p(24,30),"line-height":P(36/30)},h2:{"font-size":p(20,14),"margin-top":p(32,20),"margin-bottom":p(16,20),"line-height":P(28/20)},h3:{"font-size":p(18,14),"margin-top":p(28,18),"margin-bottom":p(8,18),"line-height":P(28/18)},h4:{"margin-top":p(20,14),"margin-bottom":p(8,14),"line-height":P(20/14)},img:{"margin-top":p(24,14),"margin-bottom":p(24,14)},picture:{"margin-top":p(24,14),"margin-bottom":p(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":p(24,14),"margin-bottom":p(24,14)},kbd:{"font-size":p(12,14),"border-radius":ge(5),"padding-top":p(2,14),"padding-inline-end":p(5,14),"padding-bottom":p(2,14),"padding-inline-start":p(5,14)},code:{"font-size":p(12,14)},"h2 code":{"font-size":p(18,20)},"h3 code":{"font-size":p(16,18)},pre:{"font-size":p(12,14),"line-height":P(20/12),"margin-top":p(20,12),"margin-bottom":p(20,12),"border-radius":ge(4),"padding-top":p(8,12),"padding-inline-end":p(12,12),"padding-bottom":p(8,12),"padding-inline-start":p(12,12)},ol:{"margin-top":p(16,14),"margin-bottom":p(16,14),"padding-inline-start":p(22,14)},ul:{"margin-top":p(16,14),"margin-bottom":p(16,14),"padding-inline-start":p(22,14)},li:{"margin-top":p(4,14),"margin-bottom":p(4,14)},"ol > li":{"padding-inline-start":p(6,14)},"ul > li":{"padding-inline-start":p(6,14)},"> ul > li p":{"margin-top":p(8,14),"margin-bottom":p(8,14)},"> ul > li > p:first-child":{"margin-top":p(16,14)},"> ul > li > p:last-child":{"margin-bottom":p(16,14)},"> ol > li > p:first-child":{"margin-top":p(16,14)},"> ol > li > p:last-child":{"margin-bottom":p(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":p(8,14),"margin-bottom":p(8,14)},dl:{"margin-top":p(16,14),"margin-bottom":p(16,14)},dt:{"margin-top":p(16,14)},dd:{"margin-top":p(4,14),"padding-inline-start":p(22,14)},hr:{"margin-top":p(40,14),"margin-bottom":p(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":p(12,14),"line-height":P(18/12)},"thead th":{"padding-inline-end":p(12,12),"padding-bottom":p(8,12),"padding-inline-start":p(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":p(8,12),"padding-inline-end":p(12,12),"padding-bottom":p(8,12),"padding-inline-start":p(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":p(24,14),"margin-bottom":p(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":p(12,14),"line-height":P(16/12),"margin-top":p(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":ge(16),"line-height":P(28/16),p:{"margin-top":p(20,16),"margin-bottom":p(20,16)},'[class~="lead"]':{"font-size":p(20,16),"line-height":P(32/20),"margin-top":p(24,20),"margin-bottom":p(24,20)},blockquote:{"margin-top":p(32,20),"margin-bottom":p(32,20),"padding-inline-start":p(20,20)},h1:{"font-size":p(36,16),"margin-top":"0","margin-bottom":p(32,36),"line-height":P(40/36)},h2:{"font-size":p(24,16),"margin-top":p(48,24),"margin-bottom":p(24,24),"line-height":P(32/24)},h3:{"font-size":p(20,16),"margin-top":p(32,20),"margin-bottom":p(12,20),"line-height":P(32/20)},h4:{"margin-top":p(24,16),"margin-bottom":p(8,16),"line-height":P(24/16)},img:{"margin-top":p(32,16),"margin-bottom":p(32,16)},picture:{"margin-top":p(32,16),"margin-bottom":p(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":p(32,16),"margin-bottom":p(32,16)},kbd:{"font-size":p(14,16),"border-radius":ge(5),"padding-top":p(3,16),"padding-inline-end":p(6,16),"padding-bottom":p(3,16),"padding-inline-start":p(6,16)},code:{"font-size":p(14,16)},"h2 code":{"font-size":p(21,24)},"h3 code":{"font-size":p(18,20)},pre:{"font-size":p(14,16),"line-height":P(24/14),"margin-top":p(24,14),"margin-bottom":p(24,14),"border-radius":ge(6),"padding-top":p(12,14),"padding-inline-end":p(16,14),"padding-bottom":p(12,14),"padding-inline-start":p(16,14)},ol:{"margin-top":p(20,16),"margin-bottom":p(20,16),"padding-inline-start":p(26,16)},ul:{"margin-top":p(20,16),"margin-bottom":p(20,16),"padding-inline-start":p(26,16)},li:{"margin-top":p(8,16),"margin-bottom":p(8,16)},"ol > li":{"padding-inline-start":p(6,16)},"ul > li":{"padding-inline-start":p(6,16)},"> ul > li p":{"margin-top":p(12,16),"margin-bottom":p(12,16)},"> ul > li > p:first-child":{"margin-top":p(20,16)},"> ul > li > p:last-child":{"margin-bottom":p(20,16)},"> ol > li > p:first-child":{"margin-top":p(20,16)},"> ol > li > p:last-child":{"margin-bottom":p(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":p(12,16),"margin-bottom":p(12,16)},dl:{"margin-top":p(20,16),"margin-bottom":p(20,16)},dt:{"margin-top":p(20,16)},dd:{"margin-top":p(8,16),"padding-inline-start":p(26,16)},hr:{"margin-top":p(48,16),"margin-bottom":p(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":p(14,16),"line-height":P(24/14)},"thead th":{"padding-inline-end":p(8,14),"padding-bottom":p(8,14),"padding-inline-start":p(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":p(8,14),"padding-inline-end":p(8,14),"padding-bottom":p(8,14),"padding-inline-start":p(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":p(32,16),"margin-bottom":p(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":p(14,16),"line-height":P(20/14),"margin-top":p(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":ge(18),"line-height":P(32/18),p:{"margin-top":p(24,18),"margin-bottom":p(24,18)},'[class~="lead"]':{"font-size":p(22,18),"line-height":P(32/22),"margin-top":p(24,22),"margin-bottom":p(24,22)},blockquote:{"margin-top":p(40,24),"margin-bottom":p(40,24),"padding-inline-start":p(24,24)},h1:{"font-size":p(48,18),"margin-top":"0","margin-bottom":p(40,48),"line-height":P(48/48)},h2:{"font-size":p(30,18),"margin-top":p(56,30),"margin-bottom":p(32,30),"line-height":P(40/30)},h3:{"font-size":p(24,18),"margin-top":p(40,24),"margin-bottom":p(16,24),"line-height":P(36/24)},h4:{"margin-top":p(32,18),"margin-bottom":p(8,18),"line-height":P(28/18)},img:{"margin-top":p(32,18),"margin-bottom":p(32,18)},picture:{"margin-top":p(32,18),"margin-bottom":p(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":p(32,18),"margin-bottom":p(32,18)},kbd:{"font-size":p(16,18),"border-radius":ge(5),"padding-top":p(4,18),"padding-inline-end":p(8,18),"padding-bottom":p(4,18),"padding-inline-start":p(8,18)},code:{"font-size":p(16,18)},"h2 code":{"font-size":p(26,30)},"h3 code":{"font-size":p(21,24)},pre:{"font-size":p(16,18),"line-height":P(28/16),"margin-top":p(32,16),"margin-bottom":p(32,16),"border-radius":ge(6),"padding-top":p(16,16),"padding-inline-end":p(24,16),"padding-bottom":p(16,16),"padding-inline-start":p(24,16)},ol:{"margin-top":p(24,18),"margin-bottom":p(24,18),"padding-inline-start":p(28,18)},ul:{"margin-top":p(24,18),"margin-bottom":p(24,18),"padding-inline-start":p(28,18)},li:{"margin-top":p(12,18),"margin-bottom":p(12,18)},"ol > li":{"padding-inline-start":p(8,18)},"ul > li":{"padding-inline-start":p(8,18)},"> ul > li p":{"margin-top":p(16,18),"margin-bottom":p(16,18)},"> ul > li > p:first-child":{"margin-top":p(24,18)},"> ul > li > p:last-child":{"margin-bottom":p(24,18)},"> ol > li > p:first-child":{"margin-top":p(24,18)},"> ol > li > p:last-child":{"margin-bottom":p(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":p(16,18),"margin-bottom":p(16,18)},dl:{"margin-top":p(24,18),"margin-bottom":p(24,18)},dt:{"margin-top":p(24,18)},dd:{"margin-top":p(12,18),"padding-inline-start":p(28,18)},hr:{"margin-top":p(56,18),"margin-bottom":p(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":p(16,18),"line-height":P(24/16)},"thead th":{"padding-inline-end":p(12,16),"padding-bottom":p(12,16),"padding-inline-start":p(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":p(12,16),"padding-inline-end":p(12,16),"padding-bottom":p(12,16),"padding-inline-start":p(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":p(32,18),"margin-bottom":p(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":p(16,18),"line-height":P(24/16),"margin-top":p(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":ge(20),"line-height":P(36/20),p:{"margin-top":p(24,20),"margin-bottom":p(24,20)},'[class~="lead"]':{"font-size":p(24,20),"line-height":P(36/24),"margin-top":p(24,24),"margin-bottom":p(24,24)},blockquote:{"margin-top":p(48,30),"margin-bottom":p(48,30),"padding-inline-start":p(32,30)},h1:{"font-size":p(56,20),"margin-top":"0","margin-bottom":p(48,56),"line-height":P(56/56)},h2:{"font-size":p(36,20),"margin-top":p(56,36),"margin-bottom":p(32,36),"line-height":P(40/36)},h3:{"font-size":p(30,20),"margin-top":p(48,30),"margin-bottom":p(20,30),"line-height":P(40/30)},h4:{"margin-top":p(36,20),"margin-bottom":p(12,20),"line-height":P(32/20)},img:{"margin-top":p(40,20),"margin-bottom":p(40,20)},picture:{"margin-top":p(40,20),"margin-bottom":p(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":p(40,20),"margin-bottom":p(40,20)},kbd:{"font-size":p(18,20),"border-radius":ge(5),"padding-top":p(5,20),"padding-inline-end":p(8,20),"padding-bottom":p(5,20),"padding-inline-start":p(8,20)},code:{"font-size":p(18,20)},"h2 code":{"font-size":p(31,36)},"h3 code":{"font-size":p(27,30)},pre:{"font-size":p(18,20),"line-height":P(32/18),"margin-top":p(36,18),"margin-bottom":p(36,18),"border-radius":ge(8),"padding-top":p(20,18),"padding-inline-end":p(24,18),"padding-bottom":p(20,18),"padding-inline-start":p(24,18)},ol:{"margin-top":p(24,20),"margin-bottom":p(24,20),"padding-inline-start":p(32,20)},ul:{"margin-top":p(24,20),"margin-bottom":p(24,20),"padding-inline-start":p(32,20)},li:{"margin-top":p(12,20),"margin-bottom":p(12,20)},"ol > li":{"padding-inline-start":p(8,20)},"ul > li":{"padding-inline-start":p(8,20)},"> ul > li p":{"margin-top":p(16,20),"margin-bottom":p(16,20)},"> ul > li > p:first-child":{"margin-top":p(24,20)},"> ul > li > p:last-child":{"margin-bottom":p(24,20)},"> ol > li > p:first-child":{"margin-top":p(24,20)},"> ol > li > p:last-child":{"margin-bottom":p(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":p(16,20),"margin-bottom":p(16,20)},dl:{"margin-top":p(24,20),"margin-bottom":p(24,20)},dt:{"margin-top":p(24,20)},dd:{"margin-top":p(12,20),"padding-inline-start":p(32,20)},hr:{"margin-top":p(56,20),"margin-bottom":p(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":p(18,20),"line-height":P(28/18)},"thead th":{"padding-inline-end":p(12,18),"padding-bottom":p(16,18),"padding-inline-start":p(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":p(16,18),"padding-inline-end":p(12,18),"padding-bottom":p(16,18),"padding-inline-start":p(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":p(40,20),"margin-bottom":p(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":p(18,20),"line-height":P(28/18),"margin-top":p(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":ge(24),"line-height":P(40/24),p:{"margin-top":p(32,24),"margin-bottom":p(32,24)},'[class~="lead"]':{"font-size":p(30,24),"line-height":P(44/30),"margin-top":p(32,30),"margin-bottom":p(32,30)},blockquote:{"margin-top":p(64,36),"margin-bottom":p(64,36),"padding-inline-start":p(40,36)},h1:{"font-size":p(64,24),"margin-top":"0","margin-bottom":p(56,64),"line-height":P(64/64)},h2:{"font-size":p(48,24),"margin-top":p(72,48),"margin-bottom":p(40,48),"line-height":P(52/48)},h3:{"font-size":p(36,24),"margin-top":p(56,36),"margin-bottom":p(24,36),"line-height":P(44/36)},h4:{"margin-top":p(40,24),"margin-bottom":p(16,24),"line-height":P(36/24)},img:{"margin-top":p(48,24),"margin-bottom":p(48,24)},picture:{"margin-top":p(48,24),"margin-bottom":p(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":p(48,24),"margin-bottom":p(48,24)},kbd:{"font-size":p(20,24),"border-radius":ge(6),"padding-top":p(6,24),"padding-inline-end":p(8,24),"padding-bottom":p(6,24),"padding-inline-start":p(8,24)},code:{"font-size":p(20,24)},"h2 code":{"font-size":p(42,48)},"h3 code":{"font-size":p(32,36)},pre:{"font-size":p(20,24),"line-height":P(36/20),"margin-top":p(40,20),"margin-bottom":p(40,20),"border-radius":ge(8),"padding-top":p(24,20),"padding-inline-end":p(32,20),"padding-bottom":p(24,20),"padding-inline-start":p(32,20)},ol:{"margin-top":p(32,24),"margin-bottom":p(32,24),"padding-inline-start":p(38,24)},ul:{"margin-top":p(32,24),"margin-bottom":p(32,24),"padding-inline-start":p(38,24)},li:{"margin-top":p(12,24),"margin-bottom":p(12,24)},"ol > li":{"padding-inline-start":p(10,24)},"ul > li":{"padding-inline-start":p(10,24)},"> ul > li p":{"margin-top":p(20,24),"margin-bottom":p(20,24)},"> ul > li > p:first-child":{"margin-top":p(32,24)},"> ul > li > p:last-child":{"margin-bottom":p(32,24)},"> ol > li > p:first-child":{"margin-top":p(32,24)},"> ol > li > p:last-child":{"margin-bottom":p(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":p(16,24),"margin-bottom":p(16,24)},dl:{"margin-top":p(32,24),"margin-bottom":p(32,24)},dt:{"margin-top":p(32,24)},dd:{"margin-top":p(12,24),"padding-inline-start":p(38,24)},hr:{"margin-top":p(72,24),"margin-bottom":p(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":p(20,24),"line-height":P(28/20)},"thead th":{"padding-inline-end":p(12,20),"padding-bottom":p(16,20),"padding-inline-start":p(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":p(16,20),"padding-inline-end":p(12,20),"padding-bottom":p(16,20),"padding-inline-start":p(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":p(48,24),"margin-bottom":p(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":p(20,24),"line-height":P(32/20),"margin-top":p(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Gu(e){const t=Kt(qu);if(e)for(const n in e){const[r,i]=H(e[n]),[o,a]=t[n];t[n]=[r??o,i??a]}return t}function Ku(e){return e?Et(Yr,e):Yr}function co(e,t){const n=t.selectorName||"prose",r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,i=t.important===!0;let o="";for(const[a,l]of Object.entries(e))if(typeof l!="object")o+=`${a}:${l}${i?" !important":""};`;else{const[c,s]=a.split("::"),u=`:where(${c})${r}${s?`::${s}`:""}`;o+=`${u} {`;for(const[d,f]of Object.entries(l))o+=`${d}:${f}${i?" !important":""};`;o+="}"}return o}function Yu(e){for(const[t,...n]of ds)if(t===e)return n.length>0?n:[t]}const R1=e=>{const t=e?.selectorName??"prose",n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,r=e?.cssVarPrefix??"--un-prose",i=Gu(e?.colorScheme),o=Ku(e?.sizeScheme),a=(d,f)=>Et(d,(typeof e?.cssExtend=="function"?e?.cssExtend(f):e?.cssExtend)??{}),l=d=>(typeof e?.important=="string"&&(d=`${e.important} ${d}`),e?.compatibility?.noColonIs||(d=`:is(${d})`),d),c=new RegExp(`^${t}-default$`),s=new RegExp(`^${t}-([-\\w]+)$`),u=new RegExp(`^${t}-(${Object.keys(o).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:"typography"}]],rules:[[c,(d,{symbols:f,theme:h})=>{const m=co(a(Et(Hu,Yr.base),h),e??{});return{[f.body]:m,[f.selector]:l}},{layer:"typography",autocomplete:"prose",internal:!0}],[s,([,d],{theme:f,symbols:h})=>{const m=f.colors?.[d];if(!(!m||typeof m!="object"))return["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(d)?{[`${r}-links`]:m[600],[`${r}-invert-links`]:m[500],[h.selector]:l}:Object.entries(i).reduce((k,[w,$])=>{const[y,C]=$,x=v=>m[v]??f[v]??v,E=x(y),T=x(C),z=`${r}-${w}`,b=`${r}-invert-${w}`;k[z]=tn(E,`var(${z}-opacity)`),k[b]=tn(T,`var(${b}-opacity)`);for(const[v,O]of[[E,`${z}-opacity`],[T,`${b}-opacity`]])rs.some(S=>v.includes(S))&&(k[O]="1");return k},{[h.selector]:l})},{layer:"typography",autocomplete:`${t}-$colors`}],[u,([,d],{symbols:f,theme:h})=>{const m=co(a(o[d],h),e??{});return{[f.body]:m,[f.selector]:l}},{layer:"typography",autocomplete:`${t}-(${Object.keys(o).join("|")})`}],[`${t}-invert`,[{[`${r}-body`]:`var(${r}-invert-body)`,[`${r}-headings`]:`var(${r}-invert-headings)`,[`${r}-lead`]:`var(${r}-invert-lead)`,[`${r}-links`]:`var(${r}-invert-links)`,[`${r}-bold`]:`var(${r}-invert-bold)`,[`${r}-counters`]:`var(${r}-invert-counters)`,[`${r}-bullets`]:`var(${r}-invert-bullets)`,[`${r}-hr`]:`var(${r}-invert-hr)`,[`${r}-quotes`]:`var(${r}-invert-quotes)`,[`${r}-quote-borders`]:`var(${r}-invert-quote-borders)`,[`${r}-captions`]:`var(${r}-invert-captions)`,[`${r}-kbd`]:`var(${r}-invert-kbd)`,[`${r}-kbd-shadows`]:`var(${r}-invert-kbd-shadows)`,[`${r}-code`]:`var(${r}-invert-code)`,[`${r}-pre-code`]:`var(${r}-invert-pre-code)`,[`${r}-pre-bg`]:`var(${r}-invert-pre-bg)`,[`${r}-th-borders`]:`var(${r}-invert-th-borders)`,[`${r}-td-borders`]:`var(${r}-invert-td-borders)`,[se.selector]:l}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:d=>{if(d.startsWith(`${t}-`)){const f=new RegExp(`^${t}-(\\w+)[:-].+$`),h=d.match(f)?.[1];if(h){const m=Yu(h);if(m?.length)return{matcher:d.slice(t.length+h.length+2),selector:k=>{const w=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?m.map($=>`${k} ${$}`).join(","):`${k} :is(:where(${m})${w})`}}}}},autocomplete:`${t}-(${ds.map(d=>`${d[0]}:`).join("|")})`}]}};var Xu={};function Qu(e,t){return{name:e,getImportUrl(n){return`${t}/css?family=${n.map(r=>{const{name:i,weights:o,italic:a}=r,l=i.toLowerCase().replace(/\s/g,"-");if(!o?.length)return`${l}${a?":i":""}`;let c=o.map(s=>s.toString());return!c.some(s=>s.endsWith("i"))&&a&&(c=c.map(s=>s+="i")),`${l}:${c.join(",")}`}).join("|")}&display=swap`}}}const Zu=Qu("bunny","https://fonts.bunny.net");function Ju(e){if(!e||e.length===0)return"";let t=[[]];for(const{values:n}of e){const r=[];for(const i of t)for(const o of n)r.push([...i,o]);t=r}return t.map(n=>n.join(",")).join(";")}function fs(e,t){return{name:e,getImportUrl(n){return`${t}/css2?${n.map(r=>{let i=r.name.replace(/\s+/g,"+");const o=[];return r.italic&&o.push({axis:"ital",values:["0","1"]}),r.widths?.length&&o.push({axis:"wdth",values:r.widths.map(a=>a.toString())}),r.weights?.length&&o.push({axis:"wght",values:r.weights.map(a=>a.toString())}),o.length&&(i+=":",i+=o.map(a=>a.axis).join(","),i+="@",i+=Ju(o)),`family=${i}`}).join("&")}&display=swap`}}}const ep=fs("google","https://fonts.googleapis.com"),tp=fs("coollabs","https://api.fonts.coollabs.io"),np=rp("fontshare","https://api.fontshare.com");function rp(e,t){return{name:e,getImportUrl(n){return`${t}/v2/css?${n.map(r=>{let i=r.name.replace(/\s+/g,"-").toLocaleLowerCase();return r.weights?.length?i+=`@${r.weights.flatMap(o=>r.italic?Number(o)+1:o).sort().join()}`:i+=`@${r.italic?2:1}`,`f[]=${i}`}).join("&")}&display=swap`}}}function ip(e,t){const n=new Map,r=new Map;return{name:e,async getPreflight(i,o){return(await Promise.all(i.map(async a=>{const l=[],c=a.name.toLowerCase().replace(/\s+/g,"-");let s=n.get(c);if(!s){const w=`https://api.fontsource.org/v1/fonts/${c}`;try{s=await o(w),n.set(c,s)}catch{throw new Error(`Failed to fetch font: ${a.name}`)}}const{weights:u,unicodeRange:d,variants:f,family:h}=s,m=s.subsets.filter(w=>a.subsets?a.subsets.includes(w):!0),k=a.italic?"italic":"normal";if(s.variable&&!a.preferStatic){let w=r.get(c);const $=`https://api.fontsource.org/v1/variable/${c}`;try{w=await o($),r.set(c,w)}catch{throw new Error(`Failed to fetch font variable: ${a.name}`)}const y=Et(w.axes,a.variable??{});for(const C of m)if(d[C]){const x={family:h,display:"swap",style:k,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${C}-wght-${k}.woff2`,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:d[C],comment:`${s.id}-${C}-wght-normal`};l.push(cr(x))}else Object.entries(d).filter(([x])=>!s.subsets.includes(x)).forEach(([x,E])=>{const T={family:h,display:"swap",style:k,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${x.slice(1,-1)}-wght-${k}.woff2`,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:E,comment:`${s.id}-${x}-wght-normal`};l.push(cr(T))})}else{const w=a.weights&&a.weights.length>0?a.weights:u;for(const $ of m)for(const y of w){const C=f[y][k][$].url,x={family:h,display:"swap",style:k,weight:Number(y),src:[{url:C.woff2,format:"woff2"}],unicodeRange:d[$],comment:`${s.id}-${$}-${y}-${k}`};l.push(cr(x))}}return l}))).flat().join(`
|
|
13
|
+
|
|
14
|
+
`)}}}const op=ip("fontsource","https://cdn.jsdelivr.net");function cr(e){const{family:t,style:n,display:r,weight:i,variable:o,src:a,unicodeRange:l,comment:c,spacer:s=`
|
|
15
|
+
`}=e,{wght:u,wdth:d,slnt:f}=o??{};let h="@font-face {";return h+=`${s}font-family: '${t}';`,h+=`${s}font-style: ${f?`oblique ${Number(f.max)*-1}deg ${Number(f.min)*-1}deg`:n};`,h+=`${s}font-display: ${r};`,h+=`${s}font-weight: ${u?ap(u):i};`,d&&(h+=`${s}font-stretch: ${d.min}% ${d.max}%;`),h+=`${s}src: ${a.map(({url:m,format:k})=>`url(${m}) format('${k}')`).join(", ")};`,l&&(h+=`${s}unicode-range: ${l};`),c&&(h=`/* ${c} */
|
|
16
|
+
${h}`),`${h}
|
|
17
|
+
}`}function ap(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}const sp={name:"none",getPreflight(){return""},getFontName(e){return e.name}},lp={google:ep,bunny:Zu,fontshare:np,fontsource:op,coollabs:tp,none:sp};function uo(e){return typeof e=="string"?lp[e]:e}function cp(e,t){if(typeof e!="string")return e.provider=uo(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((i,o)=>i.toString().localeCompare(o.toString(),"en",{numeric:!0})))]),e.widths&&(e.widths=[...new Set(e.widths.sort((i,o)=>i.toString().localeCompare(o.toString(),"en",{numeric:!0})))]),e;const[n,r=""]=e.split(":");return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((i,o)=>i.localeCompare(o,"en",{numeric:!0})))],provider:uo(t)}}function up(e){return(t={})=>{const{provider:n="google",extendTheme:r=!0,inlineImports:i=!0,customFetch:o=e,timeouts:a={}}=t,l="fonts",c=i?l:Ha,s=H(t.processors||[]),u=Object.fromEntries(Object.entries(t.fonts||{}).map(([y,C])=>[y,H(C).map(x=>cp(x,n))])),d=Object.values(u).flatMap(y=>y),f={};async function h(y){if(a===!1)return o(y);const{warning:C=1e3,failure:x=2e3}=a;let E=!1;const T=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${y}`),E=!0},C);return await Promise.race([o(y),new Promise((z,b)=>{setTimeout(()=>b(new Error("[unocss] Fetch web fonts timeout.")),x)})]).then(z=>(E&&console.info("[unocss] Web fonts fetched."),z)).finally(()=>clearTimeout(T))}async function m(y){return i?(f[y]||(f[y]=h(y).catch(C=>{if(console.error(`[unocss] Failed to fetch web fonts: ${y}`),console.error(C),typeof process<"u"&&Xu.CI)throw C})),await f[y]):`@import url('${y}');`}const k=Array.from(new Set(d.map(y=>y.provider)));async function w(y,C){const x=[];for(const E of C){const T=y.filter(z=>z.provider.name===E.name);if(E.getImportUrl){const z=E.getImportUrl(T);z&&x.push(await m(z))}try{x.push(await E.getPreflight?.(T,h))}catch(z){console.warn("[unocss] Web fonts preflight fetch failed.",z)}}return x.filter(Boolean).join(`
|
|
18
|
+
`)}const $={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let y;for(const C of s){const x=await C.getCSS?.(d,k,w);if(x){y=x;break}}y||(y=await w(d,k));for(const C of s)y=await C.transformCSS?.(y)||y;return y},layer:c}],layers:{[l]:-200}};return r&&($.extendTheme=(y,C)=>{const x=C.presets.some(z=>z.name==="@unocss/preset-wind4"),E=t.themeKey??(x?"font":"fontFamily");y[E]||(y[E]={});const T=Object.fromEntries(Object.entries(u).map(([z,b])=>[z,b.map(v=>v.provider.getFontName?.(v)??`"${v.name}"`)]));for(const z of Object.keys(T))typeof y[E][z]=="string"?y[E][z]=T[z].map(b=>`${b},`).join("")+y[E][z]:y[E][z]=T[z].join(",")}),$}}const pp="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",dp=async e=>(await au(async()=>{const{$fetch:t}=await import("./index-hBoKIo1_.js").then(n=>n.i);return{$fetch:t}},__vite__mapDeps([0,1,2,3,4]),import.meta.url)).$fetch(e,{headers:{"User-Agent":pp},retry:3}),F1=up(dp);function fp({important:e}){if(e==null||e===!1)return[];const t=n=>n.startsWith(":is(")&&n.endsWith(")")?n:n.includes("::")?n.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${n})`;return[n=>{n.layer!=="properties"&&(e===!0?n.entries.forEach(r=>{r[1]!=null&&!String(r[1]).endsWith("!important")&&(r[1]+=" !important")}):n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`))}]}function hp({variablePrefix:e}){return e!=="un-"?[n=>{n.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function mp(e){return[fp,hp].flatMap(t=>t(e))}var gp=Object.defineProperty,bp=(e,t)=>{let n={};for(var r in e)gp(n,r,{get:e[r],enumerable:!0});return n};const yp="@unocss/preset-wind4",Xr="$$mini-no-negative",Kn={transparent:"transparent",current:"currentColor",inherit:"inherit"},Pe={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},po={...Pe,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},An={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},hs={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},kp=["x","y","z"],fo=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ke=Object.assign({},...fo.map(e=>({[e.replace(/ /,"-")]:e})),...fo.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ie=["inherit","initial","revert","revert-layer","unset"],vi=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,vp=/^(var)\s*\((.+)\)(.*)/,Yn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,xp=/^(-?\d*(?:\.\d+)?)$/,ms=/^(px|[sld]?v[wh])$/i,gs={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},xi=/^\[(color|image|length|size|position|quoted|string|number|family):/i,wp=/,(?![^()]*\))/g;var $p=bp({auto:()=>zp,bracket:()=>Tp,bracketOfColor:()=>_p,bracketOfFamily:()=>Mp,bracketOfLength:()=>Lp,bracketOfNumber:()=>Rp,bracketOfPosition:()=>Pp,cssvar:()=>Fp,degree:()=>Np,fraction:()=>jp,global:()=>Dp,none:()=>Up,number:()=>bs,numberWithUnit:()=>Cp,percent:()=>Op,position:()=>Bp,properties:()=>Wp,px:()=>Ap,rem:()=>Ep,time:()=>Ip});const Sp=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Me(e){return+e.toFixed(10)}function Cp(e){const t=e.match(Yn);if(!t)return;const[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${Me(i)}${r}`}function zp(e){if(e==="auto"||e==="a")return"auto"}function Ep(e){if(!e)return;if(ms.test(e))return`${gs[e]}${e}`;const t=e.match(Yn);if(!t)return;const[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?"0":r?`${Me(i)}${r}`:`${Me(i/4)}rem`}function Ap(e){if(ms.test(e))return`${gs[e]}${e}`;const t=e.match(Yn);if(!t)return;const[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${Me(i)}${r}`:`${Me(i)}px`}function bs(e){if(!xp.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Me(t)}function Op(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=bs(e);if(t!=null)return`${t}%`}function jp(e){if(!e)return;if(e==="full")return"100%";const[t,n]=e.split("/"),r=Number.parseFloat(t)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?"0":`${Me(r*100)}%`}function ho(e,t,n,r){const i=nn(r,t,n),o=typeof i=="object"&&"DEFAULT"in i;o&&n.push("DEFAULT");const a=o?i.DEFAULT:i,l=o&&t!=="spacing"?`${e}.DEFAULT`:e;return a!=null&&F(t,n.length?n:void 0),{val:a,varKey:l}}function ut(e,t,n){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,i;const o=e.match(xi);if(!o)r=e.slice(1,-1);else{if(!t)i=o[1];else if(o[1]!==t)return;r=e.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const l=r.match(/^--([\w.-]+)\(([^)]+)\)$/);if(l!=null&&n){const[,c,s]=l,[u,...d]=c.split("."),{val:f,varKey:h}=ho(c,u,d,n);f!=null&&(r=`calc(var(--${Se(h.replaceAll(".","-"))}) * ${s})`)}else{const[c,s]=r.slice(2).split(","),u=s?`, ${s}`:"",d=Se(c);if(n){const[f,...h]=c.split("."),{val:m,varKey:k}=ho(c,f,h,n);r=m!=null?`var(--${Se(k.replaceAll(".","-"))}${u})`:`var(--${d}${u})`}else r=`var(--${d}${u})`}}let a=0;for(const l of r)if(l==="[")a+=1;else if(l==="]"&&(a-=1,a<0))return;if(a)return;switch(i){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,l=>l.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,l=>{const c=[];return l.replace(/var\((--.+?)[,)]/g,(s,u)=>(c.push(u),s.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>c.shift())})}}function Tp(e,t){return ut(e,void 0,t)}function _p(e,t){return ut(e,"color",t)}function Lp(e,t){return ut(e,"length",t)||ut(e,"size",t)}function Pp(e,t){return ut(e,"position",t)}function Mp(e,t){return ut(e,"family",t)}function Rp(e,t){return ut(e,"number",t)}function Fp(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[n,r]=t[1].split(",");return`var(--${Se(n)}${r?`, ${r}`:""})`}}function Ip(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0&&!r?"0s":r?`${Me(i)}${r}`:`${Me(i)}ms`}function Np(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?"0deg":r?`${Me(i)}${r}`:`${Me(i)}deg`}function Dp(e){if(ie.includes(e))return e}function Wp(e){if(e.split(",").every(t=>Sp.includes(t)))return e}function Bp(e){if(["top","left","right","bottom","center"].includes(e))return e}function Up(e){if(e==="none")return"none"}const Vp=Mu($p),g=Vp;function Ce(e,t){const n=g.number(e)??t;if(n!=null){let r=Number(n);return String(n).endsWith("%")&&(r=Number(String(n).slice(0,-1))/100),r}}function X(e,t=Pe,n=(r,i)=>`${r}${i}`){return(([r,i,o="4"],{theme:a})=>{if(o!=null&&i!=null){let l;const c=o.startsWith("-");if(c&&(o=o.slice(1)),l=Ce(o),l!=null&&!Number.isNaN(l))return F("spacing"),t[i].map(s=>[n(e,s),`calc(var(--spacing) * ${c?"-":""}${l})`]);if(a.spacing&&o in a.spacing)return F("spacing",o),t[i].map(s=>[n(e,s),c?`calc(var(--${Se(`spacing-${o}`)}) * -1)`:`var(--${Se(`spacing-${o}`)})`]);if(l=g.bracket.cssvar.global.auto.fraction.rem(c?`-${o}`:o,a),l!=null)return t[i].map(s=>[n(e,s),l])}})}function Xn(e,t){let n;const[r,...i]=tt(e,["/",":"],3)??[];if(r!=null){const k=(r.match(xi)??[])[1];(k==null||k==="color")&&(n=[r,...i])}if(!n)return;let o,[a,l,c]=n;oo(l)||oo(g.bracket(l??""))?c=l:o=l;const s=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[u]=s;if(!u)return;let d=mo(t,s);if(!d&&s.length>=2){const k=s.at(-1),w=s.at(-2);/^\d+$/.test(k)&&(d=mo(t,s.slice(0,-2).concat([`${w}${k}`])))}let{no:f,keys:h,color:m}=d??{};if(!m){const k=g.bracketOfColor(a,t),w=k||a;if(g.numberWithUnit(w))return;/^#[\da-f]+$/i.test(w)?m=w:/^hex-[\da-fA-F]+$/.test(w)?m=`#${w.slice(4)}`:a.startsWith("$")&&(m=g.cssvar(a)),m=m||k}return{opacity:o,modifier:c&&g.bracket.cssvar(c)||c,name:u,no:f,color:m??Kn[u],alpha:g.bracket.cssvar.percent(o??""),keys:h,get cssColor(){return wt(this.color)}}}function mo(e,t){let n,r,i;const o=nn(e,"colors",t);if(typeof o=="object"?"DEFAULT"in o&&(n=o.DEFAULT,r="DEFAULT",i=[...t,r]):typeof o=="string"&&(n=o,i=t,r=t.at(-1)),!!n)return{color:n,no:r,keys:i}}function nn(e,t,n){const r=e[t];function i(o,a){if(a.length===0)return o;if(!(!o||typeof o!="object"))for(let l=a.length;l>0;l--){const c=a.slice(0,l).join("-");if(c in o){const s=o[c];return l===a.length?s:i(s,a.slice(l))}}}return i(r,n)}function ys(e,t,n,r){if(!e)return;const{color:i,keys:o,alpha:a,modifier:l}=e,c=r?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",s={};if(i){const u=[s],d=i.includes("var("),f=Object.values(Kn).includes(i);if(f&&!a)return s[t]=i,u;const h=`--un-${n}-opacity`,m=o&&!d&&!f?ee("colors",o):i;let k=l??(o?"in srgb":"in oklab");if(!k.startsWith("in ")&&!k.startsWith("var(")&&(k=`in ${k}`),s[t]=`color-mix(${k}, ${m} ${a??`var(${h})`}, transparent)${c}`,u.push(j(h,{syntax:"<percentage>",initialValue:"100%"})),!f){if(o&&!d&&(F("colors",o),!l)){const w=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(n)?`${a?`color-mix(in oklab, ${m} ${a}, transparent)`:`${m}`} var(${h})`:`${m} ${a??`var(${h})`}`;u.push({[se.parent]:"@supports (color: color-mix(in lab, red, red))",[se.noMerge]:!0,[t]:`color-mix(in oklab, ${w}, transparent)${c}`})}r?.theme&&Zn(i,r.theme)}return u}}function te(e,t){return([,n],r)=>{const i=Xn(n??"",r.theme);if(i)return ys(i,e,t,r)}}function wi(e,t,n){const r=[];e=H(e);for(let i=0;i<e.length;i++){const o=tt(e[i]," ",6);if(!o||o.length<3)return e;let a=!1;const l=o.indexOf("inset");l!==-1&&(o.splice(l,1),a=!0);let c="";const s=o.at(-1);if(wt(o.at(0))){const u=wt(o.shift());u&&(c=tn(u))}else if(wt(s)){const u=wt(o.pop());u&&(c=tn(u))}else if(s&&s.startsWith("var(")){const u=o.pop();u&&(c=u)}r.push(`${a?"inset ":""}${o.join(" ")} var(${t}, ${n?`oklab(from ${c} l a b / ${n})`:c})`)}return r}function nt(e,t){return e!=null&&!!Xn(e,t)?.color}const go=/[a-z]+/gi,ur=new WeakMap;function Qn({theme:e,generator:t},n="breakpoint"){const r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(ur.has(e))return ur.get(e);const i=Object.entries(r).sort((o,a)=>Number.parseInt(o[1].replace(go,""))-Number.parseInt(a[1].replace(go,""))).map(([o,a])=>({point:o,size:a}));return ur.set(e,i),i}function D(e,t){return ie.map(n=>[`${e}-${n}`,{[t??e]:n}])}function j(e,t={}){const{syntax:n="*",inherits:r=!1,initialValue:i}=t,o={[se.shortcutsNoMerge]:!0,[se.noMerge]:!0,[se.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return i!=null&&(o["initial-value"]=i),Hp(e,i?String(i):"initial"),o}function cn(e){return e!=null&&vi.test(e)}function qp(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),vi.test(e)||Yn.test(e)}function Qr(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function ks(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const At=new Set([]);function F(e,t="DEFAULT"){const n=`${e}:${H(t).join("-")}`;At.has(n)||At.add(n)}function ee(e,t){return`var(--${e}-${H(t).join("-")})`}function Zn(e,t){if(e.startsWith("var(")){const n=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[r,...i]=n.split("-"),o=nn(t,r,i);typeof o=="string"&&(F(r,i),Zn(o,t))}}}const Ot=new Map;function Hp(e,t){Ot.has(e)||Ot.set(e,t)}const Gp=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],Kp=/@media \(min-width: (.+)\)/,Yp=[[/^__container$/,(e,t)=>{const{theme:n,variantHandlers:r}=t,i=n.containers?.padding;let o;re(i)?o=i:o=i?.DEFAULT;const a=n.containers?.maxWidth;let l;for(const s of r){const u=s.handle?.({},d=>d)?.parent;if(re(u)){const d=u.match(Kp)?.[1];if(d){const f=(Qn(t)??[]).find(h=>h.size===d)?.point;a?f&&(l=a?.[f]):l=d,f&&!re(i)&&(o=i?.[f]??o)}}}const c={"max-width":l};return r.length||(c.width="100%"),n.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),i&&(c["padding-left"]=o,c["padding-right"]=o),c},{internal:!0}]],Xp=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(Qn(t)??[]).map(i=>i.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}const r=n.map(i=>`${i}:__container`);return e||r.unshift("__container"),r}]],bo={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(ie.map(e=>[e,e]))},Qp=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":bo[e]??g.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(bo).join("|")})`,"(vertical|align|v)-<percentage>"]}]],yo=["center","left","right","justify","start","end"],Zp=[...yo.map(e=>[`text-${e}`,{"text-align":e}]),...[...ie,...yo].map(e=>[`text-align-${e}`,{"text-align":e}])],Jp=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n)return[`@keyframes ${e}${n}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n){const r=t.animation?.durations?.[e]??"1s",i=t.animation?.timingFns?.[e]??"linear",o=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${i} ${o}`,...a}]}return{animation:g.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":g.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??g.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??g.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??g.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?ie:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?ie:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":g.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?ie:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...D("animate","animation")],vs={"gradient-position":j("--un-gradient-position"),"gradient-from":j("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":j("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":j("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":j("--un-gradient-stops"),"gradient-via-stops":j("--un-gradient-via-stops"),"gradient-from-position":j("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":j("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":j("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function ko(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function ed(){return function*([,e,t],{theme:n}){const r={},i=Xn(t,n);if(i){const{color:o,keys:a,alpha:l}=i;if(o){if(Object.values(Kn).includes(o))r[`--un-gradient-${e}`]=o;else{r[`--un-${e}-opacity`]=l;const c=a?ee("colors",a):o;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${c} var(--un-${e}-opacity), transparent)`,yield j(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&F("colors",a),n&&Zn(o,n)}}else r[`--un-gradient-${e}`]=g.bracket.cssvar(t);if(r[`--un-gradient-${e}`]){switch(e){case"from":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...r,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...r};break}for(const o of Object.values(vs))yield o}}}function td(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${g.bracket.cssvar.percent(t)}`};for(const n of Object.values(vs))yield n}}const nd=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(g.number(t)!=null?r=`from ${g.number(t)}deg ${ko(n)};`:r=g.bracket(t),r)return{"--un-gradient-position":r,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,ed()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:g.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,td()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,n])=>({"--un-gradient-position":`${t in ke?`to ${ke[t]} `:" "}${ko(n)}`,"background-image":`${e==="gradient"?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(ke).filter(t=>t.length<=2&&Array.from(t).every(n=>"rltb".includes(n))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...D("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":g.bracket.cssvar(e)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...ie.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":ke[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...D("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...D("bg-origin","background-origin")],vo=[[/^outline-(?:width-|size-)?(.+)$/,xs,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,rd,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":g.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},j("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[se.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...ie].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*xs([,e]){const t=g.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield j("--un-outline-style",{initialValue:"solid"}))}function*rd(e,t){if(cn(g.bracket(e[1])))yield*xs(e);else{const n=te("outline-color","outline")(e,t);if(n)for(const r of n)yield r}}const id=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function od(e){const t=g.bracket(e);return t&&g.properties(t)?t:g.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const xo=[[/^will-change-(.+)/,([,e])=>({"will-change":od(e)})]],pr={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},ad=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const n=pr[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(pr).join("|")})`,`list-(${Object.keys(pr).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":g.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...D("list","list-style-type")],sd=[[/^accent-(.+)$/,te("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":g.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ld=[[/^caret-(.+)$/,te("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":g.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],cd=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],ud=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...D("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...D("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...D("overscroll-y","overscroll-behavior-y")],pd=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...D("scroll","scroll-behavior")],lt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ie],dd=[[/^(?:border|b)()(?:-(.+))?$/,je,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,je],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,je],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,je],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,je],[/^(?:border|b)-()(?:width|size)-(.+)$/,je,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,je],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,je],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,je],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,je],[/^(?:border|b)-()(?:color-)?(.+)$/,Mt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Mt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Rt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ft,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ft],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ft],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ft],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ft],[/^(?:border|b)-(?:style-)?()(.+)$/,It,{autocomplete:["(border|b)-style",`(border|b)-(${lt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${lt.join("|")})`,`(border|b)-<directions>-style-(${lt.join("|")})`,`(border|b)-style-(${lt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,It],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,It],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,It],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,It]];function fd(e){return([,t],n)=>{const r=Xn(t,n.theme),i=ys(r,`border${e}-color`,`border${e}`,n);if(i){const o=i[0];return r?.color&&!Object.values(Kn).includes(r.color)&&!r.alpha&&e&&e!==""&&(o[`--un-border${e}-opacity`]="var(--un-border-opacity)"),i}}}function je([,e="",t="1"]){const n=g.bracket.cssvar.global.px(t);if(e in Pe&&n!=null)return Pe[e].map(r=>[`border${r}-width`,n])}function Mt([,e="",t],n){if(e in Pe){if(cn(g.bracket(t)))return je(["",e,t]);if(nt(t,n.theme)){const r=Pe[e].map(i=>fd(i)(["",t],n)).filter(xt);return[r.map(i=>i[0]).reduce((i,o)=>(Object.assign(i,o),i),{}),...r.flatMap(i=>i.slice(1))]}}}function Rt([,e="",t]){const n=g.bracket.percent.cssvar(t);if(e in Pe&&n!=null)return Pe[e].map(r=>[`--un-border${r}-opacity`,n])}function Ft([,e="",t="DEFAULT"],{theme:n}){if(e in An){if(t==="full")return An[e].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[t]??g.bracket.cssvar.global.fraction.rem(t);if(r!=null){const i=n.radius&&t in n.radius;return i&&F("radius",t),An[e].map(o=>[`border${o}-radius`,i?ee("radius",t):r])}}}function It([,e="",t]){if(lt.includes(t)&&e in Pe)return[["--un-border-style",t],...Pe[e].map(n=>[`border${n}-style`,t])]}const hd=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:g.bracket.percent.cssvar(e)})]],md=/^\[url\(.+\)\]$/,gd=/^\[(?:length|size):.+\]$/,bd=/^\[position:.+\]$/,yd=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,kd=/^\[image:.+\]$/,vd=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(md.test(t))return{"--un-url":g.bracket(t),"background-image":"var(--un-url)"};if(gd.test(t)&&g.bracketOfLength(t)!=null)return{"background-size":g.bracketOfLength(t).split(" ").map(n=>g.fraction.auto.px.cssvar(n)??n).join(" ")};if((qp(t)||bd.test(t))&&g.bracketOfPosition(t)!=null)return{"background-position":g.bracketOfPosition(t).split(" ").map(n=>g.position.fraction.auto.px.cssvar(n)??n).join(" ")};if(yd.test(t)||kd.test(t)){const n=g.bracket(t);if(n)return{"background-image":(n.startsWith("http")?`url(${n})`:g.cssvar(n))??n}}return te("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],xd=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],wd=[[/^columns-(.+)$/,([,e],{theme:t})=>t.container&&e in t.container?(F("container",e),{columns:ee("container",e)}):{columns:g.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:["columns-<num>","columns-$container"]}],["columns-auto",{columns:"auto"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...D("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...D("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...D("break-after")],wo=["solid","double","dotted","dashed","wavy",...ie],$d=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ws,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Sd,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":g.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...wo.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...wo.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ws([,e]){return{"text-decoration-thickness":g.bracket.cssvar.global.px(e)}}function Sd(e,t){if(cn(g.bracket(e[1])))return ws(e);const n=te("text-decoration-color","line")(e,t);if(n){const r=n[0];return r["-webkit-text-decoration-color"]=r["text-decoration-color"],n}}const Cd=[[/^pa?()-?(.+)$/,X("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,X("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,X("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,X("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,X("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,X("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],zd=[[/^ma?()-?(.+)$/,X("margin")],[/^m-?xy()()$/,X("margin")],[/^m-?([xy])(?:-?(.+))?$/,X("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,X("margin")],[/^m-(block|inline)(?:-(.+))?$/,X("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,X("margin")]],Ed=[[/^space-([xy])-(.+)$/,Ad,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ct(e)],[`--un-space-${t}-reverse`]:"1"},yield j(`--un-space-${t}-reverse`,{initialValue:0})}]];function ct(e){return{matcher:e,handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:":where(&>:not(:last-child))"})}}function*Ad([e,t,n],{theme:r,symbols:i}){let o;const a=Ce(n);if(a!=null?(F("spacing"),o=`calc(var(--spacing) * ${a})`):o=r.spacing?.[n]??g.bracket.cssvar.auto.fraction.rem(n||"1"),o!=null){const l=Pe[t==="x"?"inline":"block"].map((c,s)=>[`margin${c}`,` calc(${o} * ${s===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`]);l&&(yield{[i.variants]:[ct(e)],[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(l)},yield j(`--un-space-${t}-reverse`,{initialValue:0}))}}const Od=[[/^divide-(.+)$/,function*(e,t){const n=te("border-color","divide")(e,t);n&&(yield{[t.symbols.variants]:[ct(e[0])],...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ct(e)],"--un-divide-opacity":g.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,$o,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,$o],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ct(e)],[`--un-divide-${t}-reverse`]:"1"},yield j(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${lt.join("|")})$`),function*([e,t],{symbols:n}){yield{[n.variants]:[ct(e)],"border-style":t}},{autocomplete:lt.map(e=>`divide-${e}`)}]];function*$o([e,t,n],{symbols:r}){let i=g.bracket.cssvar.px(n||"1");if(i!=null){i==="0"&&(i="0px");const o={x:["-left","-right"],y:["-top","-bottom"]}[t].map(a=>{const l=a.endsWith("left")||a.endsWith("top")?`calc(${i} * var(--un-divide-${t}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${a}-width`,l],[`border${a}-style`,"var(--un-border-style)"]]});o&&(yield{[r.variants]:[ct(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(o.flat())},yield j(`--un-divide-${t}-reverse`,{initialValue:0}),yield j("--un-border-style",{initialValue:"solid"}))}}const $s=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Zr=$s.map(e=>j(`--un-${e}`)),In=$s.map(e=>`var(--un-${e},)`).join(" "),Ss=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],jd=Ss.map(e=>j(`--un-${e}`)),Nn=Ss.map(e=>`var(--un-${e},)`).join(" ");function dr(e){let t=g.bracket.cssvar(e||"");if(t!=null||(t=e?g.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function He(e,t){return([,n,r],{theme:i})=>{const o=t(r,i)??(r==="none"?"0":"");if(o!=="")return n?[{[`--un-${n}${e}`]:`${e}(${o})`,"-webkit-backdrop-filter":Nn,"backdrop-filter":Nn},...jd]:[{[`--un-${e}`]:`${e}(${o})`,filter:In},...Zr]}}function Td(e,t){const[,n]=e,{theme:r}=t;let i=[];n&&(i=tt(n,"/",2)??[],n.startsWith("/")&&(i=["",n.slice(1)]));let o=r.dropShadow?.[i[0]||"DEFAULT"];const a=n?g.bracket.cssvar(n):void 0;if((o!=null||a!=null)&&!nt(a,r)){const l=i[1]?g.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":l,"--un-drop-shadow":`drop-shadow(${wi(o||a,"--un-drop-shadow-color",l).join(") drop-shadow(")})`,filter:In},...Zr]}if(nt(n,r))return te("--un-drop-shadow-color","drop-shadow")(e,t);if(o=g.bracket.cssvar(n)??(n==="none"?"":void 0),o!=null)return[{"--un-drop-shadow":o&&`drop-shadow(${o})`,filter:In},...Zr]}const _d=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,He("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||g.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,He("brightness",e=>g.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,He("contrast",e=>g.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,Td,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,te("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":g.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,He("grayscale",dr),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,He("hue-rotate",e=>g.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,He("invert",dr),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,He("opacity",e=>g.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,He("saturate",e=>g.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,He("sepia",dr),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:In}],["backdrop-filter",{"-webkit-backdrop-filter":Nn,"backdrop-filter":Nn}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ie.map(e=>[`filter-${e}`,{filter:e}]),...ie.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Ld=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:g.bracket(e)!=null?g.bracket(e).split(" ").map(t=>g.cssvar.fraction(t)??t).join(" "):g.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":g.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":g.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Ce(e);return t!=null?(F("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":g.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],fr={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Pd=[[/^(?:flex-|grid-)?gap-?()(.+)$/,X("gap",fr,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,X("gap",fr,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,X("gap",fr,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Ne(e){return e.replace("col","column")}function Md(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return g.bracket.cssvar.auto.rem(e)}const Rd=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Ne(e)}`]:g.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Ne(e)}`]:"1/-1"};const n=g.bracket.number.cssvar(t);if(n!=null)return{[`grid-${Ne(e)}`]:`span ${n}/span ${n}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Ne(e)}-start`]:g.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Ne(e)}-end`]:g.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${Ne(e)}`]:Md(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":g.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Ne(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Ne(e)}`]:g.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Ne(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Ne(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":g.cssvar(t)??t.split("-").map(n=>`"${g.bracket(n)}"`).join(" ")}:{"grid-area":g.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],hn=["auto","hidden","clip","visible","scroll","overlay",...ie],Fd=[[/^(?:overflow|of)-(.+)$/,([,e])=>hn.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${hn.join("|")})`,`(overflow|of)-(x|y)-(${hn.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>hn.includes(t)?{[`overflow-${e}`]:t}:void 0]],Id=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Jr={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},So="linear-gradient(#fff, #fff)",Nd={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Co([,e=""]){if(e in An)return{"mask-position":e.split("").flatMap(r=>Jr[r]).join(" ")};const t=g.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function hr([e,t="",n,r],i){const o={...Nd},a=[];if(a.push(...["linear","radial","conic"].map(l=>j(`--un-mask-${l}`,{initialValue:So}))),t in Jr){o["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const l of Jr[t]){if(o[`--un-mask-${l}`]=`linear-gradient(to ${l}, var(--un-mask-${l}-from-color) var(--un-mask-${l}-from-position), var(--un-mask-${l}-to-color) var(--un-mask-${l}-to-position))`,Ce(r)!=null?(F("spacing"),o[`--un-mask-${l}-${n}-position`]=`calc(var(--spacing) * ${g.bracket.cssvar.fraction.number(r)})`):o[`--un-mask-${l}-${n}-position`]=g.bracket.cssvar.fraction.rem(r),nt(r,i.theme)){const c=te(`--un-mask-${l}-${n}-color`,Qr("colors"))([e,r],i);if(c){const[s,...u]=c;Object.assign(o,s),a.push(...u)}}a.push(...["from","to"].flatMap(c=>[j(`--un-mask-${l}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),j(`--un-mask-${l}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(l=>j(`--un-mask-${l}`,{initialValue:So})))}else{if(n==null)t==="radial"?(o["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",o["--un-mask-radial-size"]=g.bracket.cssvar.rem(r)):(o[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,o[`--un-mask-${t}-position`]=Ce(r)?`calc(1deg * ${g.bracket.cssvar.number(r)})`:g.bracket.cssvar.fraction(r));else{const l={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(o[`--un-mask-${t}-stops`]=`${l[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,o[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,nt(r,i.theme)){const c=te(`--un-mask-${t}-${n}-color`,Qr("colors"))([e,r],i);if(c){const[s,...u]=c;Object.assign(o,s),a.push(...u)}}else Ce(r)!=null?(F("spacing"),o[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${g.bracket.cssvar.fraction.number(r)})`):o[`--un-mask-${t}-${n}-position`]=g.bracket.cssvar.fraction.rem(r)}t==="radial"&&a.push(j("--un-mask-radial-shape",{initialValue:"ellipse"}),j("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(l=>[j(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),j(`--un-mask-${t}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),j(`--un-mask-${t}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}return[o,...a]}function Dd([,e=""]){const t=g.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const Wd=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":g.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,hr,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,hr],[/^mask-([trblxy])-(from|to)-(.*)$/,hr],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":ke[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(ke).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,Co],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":ke[e]})],[/^mask-(?:position-|pos-)(.+)$/,Co],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Dd],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Bd=[[/^\$ placeholder-(.+)$/,te("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":g.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Ud=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>ie.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Cs=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...D("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...D("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...D("justify-self")],Vd=[[/^order-(.+)$/,([,e])=>({order:g.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],zs=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...D("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...D("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...D("self","align-self")],Es=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...D("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...D("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...D("place-self")],qd=[...Cs,...zs,...Es].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function ei(e){const t=Ce(e);return t!=null?(F("spacing"),`calc(var(--spacing) * ${t})`):g.bracket.cssvar.global.auto.fraction.rem(e)}function Nt([,e,t]){const n=ei(t);if(n!=null&&e in po)return po[e].map(r=>[r.slice(1),n])}const Hd=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:ei(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Nt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:ei(t)})]],Gd=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...D("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...D("clear")],Kd=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":g.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":g.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],Yd=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...D("box","box-sizing")],Xd=[[/^(where|\?)$/,(e,{constructCSS:t,generator:n})=>{if(n.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],ti={shadow:j("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:j("--un-shadow-color"),insetShadow:j("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:j("--un-inset-shadow-color"),ringColor:j("--un-ring-color"),ringShadow:j("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:j("--un-inset-ring-color"),insetRingShadow:j("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:j("--un-ring-inset"),ringOffsetWidth:j("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:j("--un-ring-offset-color"),ringOffsetShadow:j("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Qd=[[/^shadow(?:-?(.+))?$/,zo("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,zo("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function zo(e){return(t,n)=>{const[,r]=t,{theme:i}=n;let o=[];r&&(o=tt(r,"/",2)??[],r.startsWith("/")&&(o=["",r.slice(1)]));const a=i[e]?.[o[0]||"DEFAULT"],l=r?g.bracket.cssvar(r):void 0,c=Qr(e);if((a!=null||l!=null)&&!nt(l,i)){const s=o[1]?g.bracket.percent.cssvar(o[1]):void 0;return[{[`--un-${c}-opacity`]:s,[`--un-${c}`]:wi(a||l,`--un-${c}-color`,s).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ti)]}return te(`--un-${c}-color`,c)(t,n)}}const Zd=[[/^ring(?:-(.+))?$/,([,e])=>{const t=g.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ti)]}],[/^ring-(.+)$/,te("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=g.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(ti)]}],[/^inset-ring-(.+)$/,te("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=g.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,te("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Jd=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},j("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},j("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,X("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,X("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,X("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,X("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,X("scroll-margin")],[/^scroll-pa?()-?(.+)$/,X("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,X("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,X("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,X("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,X("scroll-padding")]],ef={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ht(e,t){return`${e||""}${ef[t]}`}function mn(e,t,n){let r;for(const i of["container","spacing"])if(e[i]?.[n]){F(i,n),r=ee(i,n);break}if(!r)switch(n){case"fit":case"max":case"min":r=`${n}-content`;break;case"screen":r=t==="w"?"100vw":"100vh";break}return!r&&g.number(n)!=null&&(F("spacing"),r=`calc(var(--spacing) * ${g.number(n)})`),r??g.bracket.cssvar.global.auto.none.fraction.rem(n)}const tf=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[ht(e,"w")]:mn(n,"w",t),[ht(e,"h")]:mn(n,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[ht(e,t)]:mn(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[ht(e,t)]:mn(r,t,n)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[ht(e,t)]:Eo(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[ht(e,t)]:Eo(r,n)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Eo(e,t,n="breakpoint"){const r=Qn(e,n);if(r)return r.find(i=>i.point===t)?.size}function nf(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return g.bracket.cssvar.global.auto.number(e)}const rf=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":nf(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],of=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],mr=["size","layout","paint","style"],af=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:g.bracket.cssvar.global(e)})]],sf=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...D("backface","backface-visibility")],lf=[[/^cursor-(.+)$/,([,e])=>({cursor:g.bracket.cssvar.global(e)})],...of.map(e=>[`cursor-${e}`,{cursor:e}])],cf=[[/^contain-(.*)$/,([,e])=>g.bracket(e)!=null?{contain:g.bracket(e).split(" ").map(t=>g.cssvar.fraction(t)??t).join(" ")}:mr.includes(e)?[{"--un-contain-size":e,contain:mr.map(t=>`var(--un-contain-${t})`).join(" ")},...mr.map(t=>j(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],uf=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...D("pointer-events")],pf=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...D("resize")],df=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...D("select","user-select")],ff=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ie].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],hf=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":g.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...D("content-visibility")],mf=[[/^content-(.+)$/,([,e])=>{if(g.bracket.cssvar(e)!=null)return[{"--un-content":g.bracket.cssvar(e),content:"var(--un-content)"},j("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],gf=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],bf=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],yf=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],kf=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...D("case","text-transform")],vf=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],xf=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],wf=[...["manual","auto","none",...ie].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],$f=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...D("write","writing-mode")],Sf=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...D("write-orient","text-orientation")],Cf=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],zf=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ef=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(ke[e])return{"object-position":ke[e]};if(g.bracketOfPosition(e)!=null)return{"object-position":g.bracketOfPosition(e).split(" ").map(t=>g.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(ke).join("|")})`}]],Af=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...D("bg-blend","background-blend")],Of=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...D("mix-blend")],jf=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Tf=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],_f=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Lf=[[/^fill-(.+)$/,te("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,As],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":g.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":g.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,Pf,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function As([,e]){return{"stroke-width":g.bracket.cssvar.fraction.px.number(e)}}function Pf(e,t){return cn(g.bracket(e[1]))?As(e):te("stroke","stroke")(e,t)}const Mf=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const n=Ao(e,t);if(n!=null){yield{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const r of["x","y"])yield j(`--un-border-spacing-${r}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){const r=Ao(t,n);if(r!=null){yield{[`--un-border-spacing-${e}`]:r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const i of["x","y"])yield j(`--un-border-spacing-${i}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Ao(e,t){let n=t.spacing?.[e];if(!n){const r=Ce(e);r!=null?(F("spacing"),n=`calc(var(--spacing) * ${r})`):n=g.bracket.cssvar.global.auto.fraction.rem(e)}return n}const gr="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",br=["pan-x","pan-y","pinch-zoom"].map(e=>j(`--un-${e}`)),Rf=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":gr};for(const t of br)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":gr};for(const t of br)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":gr};for(const e of br)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...D("touch","touch-action")],gn=["translate","rotate","scale"],$i=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Si=$i,Ff=["translateZ(0)",$i].join(" "),If=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ke[e]??g.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ke).join("|")})`,`origin-(${Object.keys(ke).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let n;if(t.perspective?.[e]?(F("perspective",e),n=ee("perspective",e)):n=g.bracket.cssvar.px.numberWithUnit(e),n!=null)return{perspective:n}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=g.bracket.cssvar(e)??(e.length>=3?ke[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Oo],[/^(?:transform-)?translate-([xyz])-(.+)$/,Oo],[/^(?:transform-)?rotate-()(.+)$/,To],[/^(?:transform-)?rotate-([xyz])-(.+)$/,To],[/^(?:transform-)?skew-()(.+)$/,_o],[/^(?:transform-)?skew-([xy])-(.+)$/,_o,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,jo],[/^(?:transform-)?scale-([xyz])-(.+)$/,jo,{autocomplete:[`transform-(${gn.join("|")})-<percent>`,`transform-(${gn.join("|")})-(x|y|z)-<percent>`,`(${gn.join("|")})-<percent>`,`(${gn.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:Si}],["transform-cpu",{transform:$i}],["transform-gpu",{transform:Ff}],["transform-none",{transform:"none"}],...D("transform")];function Oo([,e,t]){const n=Ce(t)??g.bracket.cssvar.none.fraction.rem(t);if(n!=null)return n==="none"?{translate:"none"}:(F("spacing"),[[...Ci(e,typeof n=="number"?`calc(var(--spacing) * ${n})`:n,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,Xr]],...["x","y","z"].map(r=>j(`--un-translate-${r}`,{initialValue:0}))])}function jo([,e,t]){const n=g.bracket.cssvar.none.fraction.percent(t);if(n!=null)return n==="none"?{scale:"none"}:[[...Ci(e,n,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(r=>j(`--un-scale-${r}`,{initialValue:1}))]}function To([,e="",t]){const n=g.bracket.cssvar.none.degree(t);if(n!=null)return n==="none"?{rotate:"none"}:e?[[...Ci(e,n.endsWith("deg")?`rotate${e.toUpperCase()}(${n})`:n,"rotate"),["transform",Si]],...["x","y","z"].map(r=>j(`--un-rotate-${r}`,{initialValue:`rotate${r.toUpperCase()}(0)`})),...["x","y"].map(r=>j(`--un-skew-${r}`,{initialValue:`skew${r.toUpperCase()}(0)`}))]:{rotate:g.bracket.cssvar.degree(t)}}function _o([,e,t]){const n=g.bracket.cssvar.degree(t),r=hs[e];if(n!=null&&r)return[[...r.map(i=>[`--un-skew${i}`,n.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${n})`:n]),["transform",Si]],...["x","y","z"].map(i=>j(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>j(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function Ci(e,t,n){const r=t.split(wp);return e||!e&&r.length===1?hs[e].map(i=>[`--un-${n}${i}`,t]):r.map((i,o)=>[`--un-${n}-${kp[o]}`,i])}function Lo(e,t){let n;if(g.cssvar(e)!=null)n=g.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const r=e.split(",").map(i=>t.property?.[i]??g.properties(i));r.every(Boolean)&&(n=r.join(","))}return n}const Nf=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{F("default",["transition","timingFunction"]),F("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${ee("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${ee("default",["transition","duration"])})`};if(!e&&!t)return{...r};if(e!=null){const i=Lo(e,n);if(i)return{"--un-duration":t&&g.time(t),...r,"transition-property":i}}else if(t!=null)return{"--un-duration":g.time(t),...r}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":g.bracket.cssvar.time(e),"transition-duration":g.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":g.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let n;return t.ease?.[e]?(F("ease",e),n=ee("ease",e)):n=g.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},j("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const n=g.global(e)||Lo(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...ie].join("|")})`]}],["transition-none",{transition:"none"}],...D("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Df=[[/^text-(.+)$/,Gf,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Os,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Kf,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,te("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>ie.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${ie.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let n;return t.fontWeight?.[e]?(F("fontWeight",e),n=ee("fontWeight",e)):n=g.bracket.cssvar.global.number(e),{"--un-font-weight":n,"font-weight":n}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let n;if(t.leading?.[e]?(F("leading",e),n=ee("leading",e)):Ce(e)?(F("spacing"),n=`calc(var(--spacing) * ${Ce(e)})`):n=g.bracket.cssvar.global.rem(e),n!=null)return[{"--un-leading":n,"line-height":n},j("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":g.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let n;return t.tracking?.[e]?(F("tracking",e),n=ee("tracking",e)):n=g.bracket.cssvar.global.rem(e),{"--un-tracking":n,"letter-spacing":n}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const n=t.tracking?.[e]?ee("tracking",e):g.bracket.cssvar.global.rem(e);return{"--un-word-spacing":n,"word-spacing":n}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":g.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let n;if(t.font?.[e])return F("font",e),n=ee("font",e),{"font-family":n};if(t.fontWeight?.[e])return F("fontWeight",e),n=ee("fontWeight",e),{"--un-font-weight":n,"font-weight":n};if(n=g.number(e),n!=null)return{"--un-font-weight":n,"font-weight":n};if(n=g.bracketOfFamily(e),n!=null&&g.number(n)==null)return n=g.cssvar(n)??n,{"font-family":n};if(n=g.bracketOfNumber(e),n!=null)return n=g.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=g.bracket(e),n!=null&&g.number(n)!=null){const r=g.number(n);return{"--un-font-weight":r,"font-weight":r}}if(n=g.bracket.cssvar.global(e),n!=null)return{"font-family":n}},{autocomplete:["font-$font","font-$fontWeight"]}]],Wf=[[/^tab(?:-(.+))?$/,([,e])=>{const t=g.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Bf=[[/^indent-(.+)$/,([,e])=>{let t=Ce(e);if(t!=null)return F("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=g.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Uf=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&F("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?ee("textStrokeWidth",e):g.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,te("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function Vf(e,t){const[,n]=e,{theme:r}=t;let i=[];n&&(i=tt(n,"/",2)??[]);const o=r.textShadow?.[i[0]],a=n?g.bracket.cssvar(n):void 0;if((o!=null||a!=null)&&!nt(a,r)){const l=i[1]?g.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":l,"--un-text-shadow":wi(o||a,"--un-text-shadow-color",l).join(","),"text-shadow":"var(--un-text-shadow)"}}return te("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":g.bracket.cssvar.global(n)}}const qf=[[/^text-shadow-(.+)$/,Vf,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,te("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":g.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],Ye=[j("--un-ordinal"),j("--un-slashed-zero"),j("--un-numeric-figure"),j("--un-numeric-spacing"),j("--un-numeric-fraction")],Xe={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Hf=[["ordinal",[{"--un-ordinal":"ordinal",...Xe},...Ye]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Xe},...Ye]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Xe},...Ye]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Xe},...Ye]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Xe},...Ye]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Xe},...Ye]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Xe},...Ye]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Xe},...Ye]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Gf([,e="base"],{theme:t}){const n=Yf(e,"length");if(!n)return;const[r,i]=n,o=t.text?.[r];let a;if(i&&(t.leading?.[i]?(F("leading",i),a=ee("leading",i)):a=g.bracket.cssvar.global.rem(i)),o)return F("text",[r,"fontSize"]),F("text",[r,"lineHeight"]),o.letterSpacing&&F("text",[r,"letterSpacing"]),{"font-size":ee("text",[r,"fontSize"]),"line-height":a??`var(--un-leading, ${ee("text",[r,"lineHeight"])})`,"letter-spacing":o.letterSpacing?ee("text",[r,"letterSpacing"]):void 0};const l=g.bracketOfLength.rem(r);return a&&l?{"font-size":l,"line-height":a}:{"font-size":g.bracketOfLength.rem(e)}}function Os([,e],{theme:t}){if(t.text?.[e]!=null)return F("text",[e,"fontSize"]),F("text",[e,"lineHeight"]),{"font-size":ee("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${ee("text",[e,"lineHeight"])})`};{const n=g.bracket.cssvar.global.rem(e);if(n)return{"font-size":n}}}function Kf(e,t){return cn(g.bracket(e[1]))?Os(e,t):te("color","text")(e,t)}function Yf(e,t){const[n,r]=Gn(e,"[","]",["/",":"])??[];if(n!=null){const i=(n.match(xi)??[])[1];if(i==null||i===t)return[n,r]}}const Xf={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Qf=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const n=Xf[e];if(n)return{[n]:g.cssvar(t)}}]],Zf=[[/^\[(.*)\]$/,([e,t],{theme:n})=>{if(!t.includes(":"))return;const[r,...i]=t.split(":"),o=i.join(":");if(!eh(t)&&/^[\w-]+$/.test(r)&&Jf(o)){const a=g.bracket(`[${o}]`,n);if(a)return{[r]:a}}}]];function Jf(e){let t=0;function n(r){for(;t<e.length;)if(t+=1,e[t]===r)return!0;return!1}for(t=0;t<e.length;t++){const r=e[t];if("\"`'".includes(r)){if(!n(r))return!1}else if(r==="("){if(!n(")"))return!1}else if("[]{}:".includes(r))return!1}return!0}function eh(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const th=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],nh=[Df,Wf,Bf,Uf,qf,zd,Cd,Zp,Qp,id,vo,xo,ad,sd,ld,cd,ud,vo,pd,xo,dd,vd,hd,xd,Yp,Gp,$d,Ld,Pd,Rd,tf,rf,af,sf,lf,cf,uf,pf,df,ff,hf,mf,gf,bf,yf,kf,vf,xf,Zd,Qd,If,Nf,Qf,Zf,zs,Yd,qd,Gd,Hd,Cs,Vd,Es,Ud,Kd,Fd,Lf,Jp,nd,wf,$f,Sf,Tf,Cf,zf,Ef,Af,Of,jf,Wd,wd,_d,Id,Bd,Jd,Mf,Rf,Hf,th,Ed,Od,_f,Xd].flat(),rh=[...Xp],js={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(js).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const ih={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},oh={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},ah={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},sh={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},lh={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},ch={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},uh={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ph={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},dh={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},fh={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},hh={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},mh={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},gh={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},bh={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},yh={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},kh={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},vh={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},xh={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},wh={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},Ts={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},$h={...Ts},Sh={grid:"(display: grid)"},Ch={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},zh={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Eh={font:sh,colors:js,spacing:hh,breakpoint:Ts,verticalBreakpoint:$h,text:lh,fontWeight:ch,tracking:uh,leading:ph,textStrokeWidth:dh,radius:mh,shadow:gh,insetShadow:bh,dropShadow:yh,textShadow:kh,ease:Ch,animation:ih,blur:ah,perspective:vh,property:zh,default:xh,container:wh,aria:oh,media:fh,supports:Sh},Ah={name:"aria",match(e,t){const n=Ee("aria-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r)??t.theme.aria?.[r]??"";if(o)return{matcher:i,selector:a=>`${a}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function mt(e){return{name:`${e}-aria`,match(t,n){const r=Ee(`${e}-aria-`,t,n.generator.config.separators);if(r){const[i,o,a]=r,l=g.bracket(i)??n.theme.aria?.[i]??"";if(l){const c={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${l}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${l}] ~ *)`,previous:`:where(*[aria-${l}] + &)`,parent:`:where(*[aria-${l}] > &)`,has:`&:has(*[aria-${l}])`,in:`:where(*[aria-${l}]) &`};return{matcher:o,handle:(s,u)=>u({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:c[e]})}}}},multiPass:!0}}const Oh=[mt("group"),mt("peer"),mt("parent"),mt("previous"),mt("has"),mt("in")],Po=/(max|min)-\[([^\]]*)\]:/;function jh(){const e={};return{name:"breakpoints",match(t,n){if(Po.test(t)){const i=t.match(Po);return{matcher:t.replace(i[0],""),handle:(o,a)=>a({...o,parent:`${o.parent?`${o.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}const r=(Qn(n)??[]).map(({point:i,size:o},a)=>[i,o,a]);for(const[i,o,a]of r){e[i]||(e[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${n.generator.config.separators.join("|")}))`));const l=t.match(e[i]);if(!l)continue;const[,c]=l,s=t.slice(c.length);if(s==="container")continue;const u=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~");let f=3e3;return u?(f-=a+1,{matcher:s,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Fn(o)})`,parentOrder:f})}):(f+=a+1,d&&a<r.length-1?{matcher:s,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${Fn(r[a+1][1])})`,parentOrder:f})}:{matcher:s,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:f})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const Th=[Le("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Le("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Dt(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;const i=r.generator.config.separators;let o=ln(`${e}-`,n,i);if(!o){for(const l of i)if(n.startsWith(`${e}${l}`)){o=["",n.slice(e.length+l.length)];break}if(!o)return}let a=g.bracket(o[0])??"";return a===""&&(a="*"),{matcher:o[1],selector:l=>`${l}${t}${a}`}},multiPass:!0}}const _h=[Dt("all"," "),Dt("children",">"),Dt("next","+"),Dt("sibling","+"),Dt("siblings","~")],Lh=[Le("svg",e=>({selector:`${e.selector} svg`}))],Ph={name:"@",match(e,t){if(e.startsWith("@container"))return;const n=Ee("@",e,t.generator.config.separators);if(n){const[r,i,o]=n,a=g.bracket(r);let l;if(a?l=g.numberWithUnit(a):l=t.theme.container?.[r]??"",l){let c=1e3+Object.keys(t.theme.container??{}).indexOf(r);return o&&(c+=1e3),{matcher:i,handle:(s,u)=>u({...s,parent:`${s.parent?`${s.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${l})`,parentOrder:c})}}}},multiPass:!0};function Mh(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:n=".light"}=typeof e.dark=="string"?{}:e.dark;return[Le("dark",r=>({prefix:`${t} $$ ${r.prefix}`})),Le("light",r=>({prefix:`${n} $$ ${r.prefix}`}))]}return[ve("dark","@media (prefers-color-scheme: dark)"),ve("light","@media (prefers-color-scheme: light)")]}const Rh=[Le(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Le(".light",e=>({prefix:`.light $$ ${e.prefix}`})),ve("@dark","@media (prefers-color-scheme: dark)"),ve("@light","@media (prefers-color-scheme: light)"),ve("not-dark","@media not (prefers-color-scheme: dark)")],Fh={name:"data",match(e,t){const n=Ee("data-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r)??t.theme.data?.[r]??"";if(o)return{matcher:i,selector:a=>`${a}[data-${o}]`}}},multiPass:!0};function gt(e){return{name:`${e}-data`,match(t,n){const r=Ee(`${e}-data-`,t,n.generator.config.separators);if(r){const[i,o,a]=r,l=g.bracket(i)??n.theme.data?.[i]??"";if(l){const c={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${l}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${l}] ~ *)`,previous:`:where(*[data-${l}] + &)`,parent:`:where(*[data-${l}] > &)`,has:`&:has(*[data-${l}])`,in:`:where(*[data-${l}]) &`};return{matcher:o,handle:(s,u)=>u({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:c[e]})}}}},multiPass:!0}}const Ih=[gt("group"),gt("peer"),gt("parent"),gt("previous"),gt("has"),gt("in")],Nh=[Le("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Le("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Dh(){let e;return{name:"important",match(t,n){e||(e=new RegExp(`^(important(?:${n.generator.config.separators.join("|")})|!)`));let r;const i=t.match(e);if(i?r=t.slice(i[0].length):t.endsWith("!")&&(r=t.slice(0,-1)),r)return{matcher:r,body:o=>(o.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),o)}}}}const Wh=Le("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),Bh=ve("noscript","@media (scripting: none)"),Uh={name:"scripting",match(e,t){const n=Ee(["script-","scripting-"],e,t.generator.config.separators);if(n){const[r,i]=n;if(["none","initial-only","enabled"].includes(r))return{matcher:i,handle:(o,a)=>a({...o,parent:`${o.parent?`${o.parent} $$ `:""}@media (scripting: ${r})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Vh=ve("print","@media print"),qh={name:"media",match(e,t){const n=Ee("media-",e,t.generator.config.separators);if(n){const[r,i]=n;let o=g.bracket(r)??"";if(o===""&&(o=t.theme.media?.[r]??""),o)return{matcher:i,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${o}`})}}},multiPass:!0,autocomplete:"media-$media"},Hh=[ve("contrast-more","@media (prefers-contrast: more)"),ve("contrast-less","@media (prefers-contrast: less)")],Gh=[ve("motion-reduce","@media (prefers-reduced-motion: reduce)"),ve("motion-safe","@media (prefers-reduced-motion: no-preference)")],Kh=[ve("landscape","@media (orientation: landscape)"),ve("portrait","@media (orientation: portrait)")],Yh=[ve("forced-colors","@media (forced-colors: active)")],Xh={name:"selector",match(e,t){const n=ln("selector-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r);if(o)return{matcher:i,selector:()=>o}}}},Qh={name:"layer",match(e,t){const n=Ee("layer-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r)??r;if(o)return{matcher:i,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${o}`})}}}},Zh={name:"uno-layer",match(e,t){const n=Ee("uno-layer-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r)??r;if(o)return{matcher:i,layer:o}}}},Jh={name:"scope",match(e,t){const n=ln("scope-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r);if(o)return{matcher:i,selector:a=>`${o} $$ ${a}`}}}},em={name:"variables",match(e,t){if(!e.startsWith("["))return;const[n,r]=yi(e,"[","]")??[];if(!(n&&r))return;let i;for(const l of t.generator.config.separators)if(r.startsWith(l)){i=r.slice(l.length);break}if(i==null)return;const o=g.bracket(n)??"",a=o.startsWith("@");if(a||o.includes("&"))return{matcher:i,handle(l,c){const s=a?{parent:`${l.parent?`${l.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,l.selector)};return c({...l,...s})}}},multiPass:!0},tm={name:"theme-variables",match(e,t){if(as(e))return{matcher:e,handle(n,r){return r({...n,entries:JSON.parse(ss(JSON.stringify(n.entries),t.theme))})}}}},nm=[Le("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],rm={name:"implicit-group",match(e,t){const n=Ee("in-",e,t.generator.config.separators);if(n){const[r,i]=n,o=g.bracket(r)??r;if(o)return{matcher:i,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${o})) &`})}}}},_s=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ls=/-?[0-9.]+(?:[a-z]+|%)?/,im=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function om(e){const t=e.match(vi)||e.match(vp);if(t){const[n,r]=Gn(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(n)return`calc(${t[1]}${n} * -1)${r?` ${r}`:""}`}}const am=/\b(hue-rotate)\s*(\(.*)/;function sm(e){const t=e.match(am);if(t){const[n,r]=Gn(t[2],"(",")"," ")??[];if(n){const i=_s.test(n.slice(1,-1))?n.replace(Ls,o=>o.startsWith("-")?o.slice(1):`-${o}`):`(calc(${n} * -1))`;return`${t[1]}${i}${r?` ${r}`:""}`}}}const lm={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(r=>r[0]===Xr))return;let n=!1;return t.forEach(r=>{if(H(r[2]).includes(Xr))return;const i=r[1]?.toString();if(!i||i==="0"||im.some(l=>l.test(r[0])))return;const o=om(i);if(o){r[1]=o,n=!0;return}const a=sm(i);if(a){r[1]=a,n=!0;return}_s.test(i)&&(r[1]=i.replace(Ls,l=>l.startsWith("-")?l.slice(1):`-${l}`),n=!0)}),n?t:[]}}}},cm=(e,{theme:t})=>{const n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,r="",i,o]=n;if(nt(o,t)||um(o))return{matcher:`${r}placeholder-$ ${i}${o}`}}};function um(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?g.bracket.percent(t[1])!=null:!1}function pm(){return Du({h:g})}function dm(){return Wu({getBracket:yi,h:g})}function fm(e={}){return Bu(e,{h:g,variantGetBracket:ln})}const hm=Vu(),mm={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,n)=>n({...t,parent:"@starting-style"})}}},gm={name:"supports",match(e,t){const n=Ee("supports-",e,t.generator.config.separators);if(n){const[r,i]=n;let o=g.bracket(r)??"";if(o===""&&(o=t.theme.supports?.[r]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:i,handle:(a,l)=>l({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0};function bm(e){return[Ah,Fh,Qh,Xh,Zh,lm,mm,Dh(),gm,Bh,Uh,Vh,qh,...Hh,...Gh,...Kh,...Yh,jh(),..._h,...Lh,cm,...pm(),dm(),...fm(e),hm,...Mh(e),...Rh,...Nh,Jh,...Th,Wh,Ph,em,...Ih,...Oh,tm,...nm,rm].flat()}function ym(e){let t,n,r=2166136261;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}function km(e,t,n,r){for(const i of Array.from(e.matchAll(n)))if(i!=null){const o=i[0],a=`${r}${ym(o)}`;t.set(a,o),e=e.replace(o,a)}return e}function vm(e,t){for(const[n,r]of t.entries())e=e.replaceAll(n,r);return e}const xm=/\/\/#\s*sourceMappingURL=.*\n?/g;function wm(e){return e.includes("sourceMappingURL=")?e.replace(xm,""):e}const $m=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Sm=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Cm=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function zm(e){const t=[];for(const i of e.matchAll(Sm))i.index!==0&&!/^[\s'"`]/.test(e[i.index-1]??"")||t.push(i[0]);for(const i of e.matchAll($m))t.push(i[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return e=km(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(Ga).forEach(i=>{i.includes(r)&&(i=vm(i,n)),qr(i)&&!Cm.test(i)&&t.push(i)}),t}function Em(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return zm(wm(e))}}}function Am(e){if(e.preflights?.property===!1)return;const t=typeof e.preflights?.property=="object"?e.preflights.property:void 0,n=t?.parent!==void 0?t.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",r=t?.selector??"*, ::before, ::after, ::backdrop";return{getCSS:()=>{if(Ot.size===0)return;const i=Array.from(Ot.entries()).map(([o,a])=>`${o}:${a};`).join("");return n===!1?`${r}{${i}}`:`${n}{${r}{${i}}}`},layer:"properties"}}const Om=`
|
|
19
|
+
/*
|
|
20
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
21
|
+
2. Remove default margins and padding
|
|
22
|
+
3. Reset all borders.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
*,
|
|
26
|
+
::after,
|
|
27
|
+
::before,
|
|
28
|
+
::backdrop,
|
|
29
|
+
::file-selector-button {
|
|
30
|
+
box-sizing: border-box; /* 1 */
|
|
31
|
+
margin: 0; /* 2 */
|
|
32
|
+
padding: 0; /* 2 */
|
|
33
|
+
border: 0 solid; /* 3 */
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
38
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
39
|
+
3. Use a more readable tab size.
|
|
40
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
41
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
42
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
43
|
+
7. Disable tap highlights on iOS.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
html,
|
|
47
|
+
:host {
|
|
48
|
+
line-height: 1.5; /* 1 */
|
|
49
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
50
|
+
tab-size: 4; /* 3 */
|
|
51
|
+
font-family: var(
|
|
52
|
+
--default-font-family,
|
|
53
|
+
ui-sans-serif,
|
|
54
|
+
system-ui,
|
|
55
|
+
sans-serif,
|
|
56
|
+
'Apple Color Emoji',
|
|
57
|
+
'Segoe UI Emoji',
|
|
58
|
+
'Segoe UI Symbol',
|
|
59
|
+
'Noto Color Emoji'
|
|
60
|
+
); /* 4 */
|
|
61
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
62
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
63
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
1. Add the correct height in Firefox.
|
|
68
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
69
|
+
3. Reset the default border style to a 1px solid border.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
hr {
|
|
73
|
+
height: 0; /* 1 */
|
|
74
|
+
color: inherit; /* 2 */
|
|
75
|
+
border-top-width: 1px; /* 3 */
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/*
|
|
79
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
abbr:where([title]) {
|
|
83
|
+
-webkit-text-decoration: underline dotted;
|
|
84
|
+
text-decoration: underline dotted;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/*
|
|
88
|
+
Remove the default font size and weight for headings.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
h1,
|
|
92
|
+
h2,
|
|
93
|
+
h3,
|
|
94
|
+
h4,
|
|
95
|
+
h5,
|
|
96
|
+
h6 {
|
|
97
|
+
font-size: inherit;
|
|
98
|
+
font-weight: inherit;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
a {
|
|
106
|
+
color: inherit;
|
|
107
|
+
-webkit-text-decoration: inherit;
|
|
108
|
+
text-decoration: inherit;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/*
|
|
112
|
+
Add the correct font weight in Edge and Safari.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
b,
|
|
116
|
+
strong {
|
|
117
|
+
font-weight: bolder;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/*
|
|
121
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
122
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
123
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
124
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
code,
|
|
128
|
+
kbd,
|
|
129
|
+
samp,
|
|
130
|
+
pre {
|
|
131
|
+
font-family: var(
|
|
132
|
+
--default-monoFont-family,
|
|
133
|
+
ui-monospace,
|
|
134
|
+
SFMono-Regular,
|
|
135
|
+
Menlo,
|
|
136
|
+
Monaco,
|
|
137
|
+
Consolas,
|
|
138
|
+
'Liberation Mono',
|
|
139
|
+
'Courier New',
|
|
140
|
+
monospace
|
|
141
|
+
); /* 1 */
|
|
142
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
143
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
144
|
+
font-size: 1em; /* 4 */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
Add the correct font size in all browsers.
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
small {
|
|
152
|
+
font-size: 80%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
157
|
+
*/
|
|
158
|
+
|
|
159
|
+
sub,
|
|
160
|
+
sup {
|
|
161
|
+
font-size: 75%;
|
|
162
|
+
line-height: 0;
|
|
163
|
+
position: relative;
|
|
164
|
+
vertical-align: baseline;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
sub {
|
|
168
|
+
bottom: -0.25em;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
sup {
|
|
172
|
+
top: -0.5em;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/*
|
|
176
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
177
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
178
|
+
3. Remove gaps between table borders by default.
|
|
179
|
+
*/
|
|
180
|
+
|
|
181
|
+
table {
|
|
182
|
+
text-indent: 0; /* 1 */
|
|
183
|
+
border-color: inherit; /* 2 */
|
|
184
|
+
border-collapse: collapse; /* 3 */
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/*
|
|
188
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
:-moz-focusring {
|
|
192
|
+
outline: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/*
|
|
196
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
progress {
|
|
200
|
+
vertical-align: baseline;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/*
|
|
204
|
+
Add the correct display in Chrome and Safari.
|
|
205
|
+
*/
|
|
206
|
+
|
|
207
|
+
summary {
|
|
208
|
+
display: list-item;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/*
|
|
212
|
+
Make lists unstyled by default.
|
|
213
|
+
*/
|
|
214
|
+
|
|
215
|
+
ol,
|
|
216
|
+
ul,
|
|
217
|
+
menu {
|
|
218
|
+
list-style: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/*
|
|
222
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
223
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
224
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
225
|
+
*/
|
|
226
|
+
|
|
227
|
+
img,
|
|
228
|
+
svg,
|
|
229
|
+
video,
|
|
230
|
+
canvas,
|
|
231
|
+
audio,
|
|
232
|
+
iframe,
|
|
233
|
+
embed,
|
|
234
|
+
object {
|
|
235
|
+
display: block; /* 1 */
|
|
236
|
+
vertical-align: middle; /* 2 */
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
img,
|
|
244
|
+
video {
|
|
245
|
+
max-width: 100%;
|
|
246
|
+
height: auto;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/*
|
|
250
|
+
1. Inherit font styles in all browsers.
|
|
251
|
+
2. Remove border radius in all browsers.
|
|
252
|
+
3. Remove background color in all browsers.
|
|
253
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
button,
|
|
257
|
+
input,
|
|
258
|
+
select,
|
|
259
|
+
optgroup,
|
|
260
|
+
textarea,
|
|
261
|
+
::file-selector-button {
|
|
262
|
+
font: inherit; /* 1 */
|
|
263
|
+
font-feature-settings: inherit; /* 1 */
|
|
264
|
+
font-variation-settings: inherit; /* 1 */
|
|
265
|
+
letter-spacing: inherit; /* 1 */
|
|
266
|
+
color: inherit; /* 1 */
|
|
267
|
+
border-radius: 0; /* 2 */
|
|
268
|
+
background-color: transparent; /* 3 */
|
|
269
|
+
opacity: 1; /* 4 */
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/*
|
|
273
|
+
Restore default font weight.
|
|
274
|
+
*/
|
|
275
|
+
|
|
276
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
277
|
+
font-weight: bolder;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/*
|
|
281
|
+
Restore indentation.
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
285
|
+
padding-inline-start: 20px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/*
|
|
289
|
+
Restore space after button.
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
::file-selector-button {
|
|
293
|
+
margin-inline-end: 4px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/*
|
|
297
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
298
|
+
*/
|
|
299
|
+
|
|
300
|
+
::placeholder {
|
|
301
|
+
opacity: 1;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/*
|
|
305
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
306
|
+
crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
307
|
+
*/
|
|
308
|
+
|
|
309
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
310
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
311
|
+
::placeholder {
|
|
312
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/*
|
|
317
|
+
Prevent resizing textareas horizontally by default.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
textarea {
|
|
321
|
+
resize: vertical;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/*
|
|
325
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
::-webkit-search-decoration {
|
|
329
|
+
-webkit-appearance: none;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/*
|
|
333
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
334
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
::-webkit-date-and-time-value {
|
|
338
|
+
min-height: 1lh; /* 1 */
|
|
339
|
+
text-align: inherit; /* 2 */
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/*
|
|
343
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
::-webkit-datetime-edit {
|
|
347
|
+
display: inline-flex;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
352
|
+
*/
|
|
353
|
+
|
|
354
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
355
|
+
padding: 0;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
::-webkit-datetime-edit,
|
|
359
|
+
::-webkit-datetime-edit-year-field,
|
|
360
|
+
::-webkit-datetime-edit-month-field,
|
|
361
|
+
::-webkit-datetime-edit-day-field,
|
|
362
|
+
::-webkit-datetime-edit-hour-field,
|
|
363
|
+
::-webkit-datetime-edit-minute-field,
|
|
364
|
+
::-webkit-datetime-edit-second-field,
|
|
365
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
366
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
367
|
+
padding-block: 0;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/*
|
|
371
|
+
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
::-webkit-calendar-picker-indicator {
|
|
375
|
+
line-height: 1;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
:-moz-ui-invalid {
|
|
383
|
+
box-shadow: none;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/*
|
|
387
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
388
|
+
*/
|
|
389
|
+
|
|
390
|
+
button,
|
|
391
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
392
|
+
::file-selector-button {
|
|
393
|
+
appearance: button;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/*
|
|
397
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
398
|
+
*/
|
|
399
|
+
|
|
400
|
+
::-webkit-inner-spin-button,
|
|
401
|
+
::-webkit-outer-spin-button {
|
|
402
|
+
height: auto;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/*
|
|
406
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
407
|
+
*/
|
|
408
|
+
|
|
409
|
+
[hidden]:where(:not([hidden~='until-found'])) {
|
|
410
|
+
display: none !important;
|
|
411
|
+
}
|
|
412
|
+
`;function jm(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(F("font","sans"),F("font","mono"),F("default",["font","family"]),F("default",["monoFont","family"]),ks(Om,t.config.envMode==="dev")),layer:"base"}}const Tm=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function _m(e,t){const n=new Map([["--spacing",e.spacing.DEFAULT]]),r=o=>o.replace(is,"1");function i(o,a){for(const l in o)Array.isArray(o[l])?n.set(`--${a}-${l}`,r(o[l].join(","))):typeof o[l]=="object"?i(o[l],`${a}-${l}`):n.set(`--${a}-${l}`,r(o[l]))}for(const o in e)t.includes(o)&&i(e[o],o);return n}function Lm(e){const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return{layer:"theme",getCSS(n){const{theme:r,generator:i}=n,o=Ve(i.config.safelist.flatMap(u=>typeof u=="function"?u(n):u)),{mode:a,process:l}=t;if(a===!1)return;if(o.length>0)for(const u of o){const[d,...f]=u.trim().split(":");if(d in r&&f.length<=1){const h=f.length===0?["DEFAULT"]:f[0].split("-"),m=nn(r,d,h);typeof m=="string"&&(F(d,h),Zn(m,r))}}let c;const s=u=>{if(l)for(const f of u)for(const h of H(l))h(f,n);const d=u.map(([f,h])=>f&&h?`${Se(f)}: ${h};`:void 0).filter(Boolean);if(d.length!==0)return ks(`
|
|
413
|
+
:root, :host {
|
|
414
|
+
${d.join(`
|
|
415
|
+
`)}
|
|
416
|
+
}`,i.config.envMode==="dev")};if(a==="on-demand"){if(At.size===0)return;c=Array.from(At).map(u=>{const[d,f]=u.split(":"),h=nn(r,d,f.split("-"));if(typeof h=="string")return[`--${d}${`${d==="spacing"&&f==="DEFAULT"?"":`-${f}`}`}`,h]}).filter(Boolean)}else{const u=Object.keys(r).filter(d=>!Tm.includes(d));c=Array.from(_m(r,u))}return s(c)}}}const Pm=e=>[jm(e),Lm(e),Am(e)].filter(Boolean),Mm={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ie},I1=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1,{name:yp,rules:nh,shortcuts:rh,theme:Eh,layers:{properties:-200,theme:-150,base:-100},preflights:Pm(e),variants:bm(e),prefix:e.prefix,postprocess:mp(e),extractorDefault:e.arbitraryVariants===!1?void 0:Em(),autocomplete:{shorthands:Mm},options:e,configResolved(){At.clear(),Ot.clear()},meta:{themeDeps:At,propertyDeps:Ot}}),et=0,A=1,R=2,ae=3,Y=4,Fe=5,Jn=6,fe=7,be=8,B=9,M=10,Z=11,W=12,J=13,un=14,ye=15,he=16,me=17,xe=18,Ae=19,Re=20,V=21,L=22,pe=23,ze=24,ue=25,Rm=0;function ce(e){return e>=48&&e<=57}function rt(e){return ce(e)||e>=65&&e<=70||e>=97&&e<=102}function zi(e){return e>=65&&e<=90}function Fm(e){return e>=97&&e<=122}function Im(e){return zi(e)||Fm(e)}function Nm(e){return e>=128}function Dn(e){return Im(e)||Nm(e)||e===95}function Ps(e){return Dn(e)||ce(e)||e===45}function Dm(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Wn(e){return e===10||e===13||e===12}function pt(e){return Wn(e)||e===32||e===9}function qe(e,t){return!(e!==92||Wn(t)||t===Rm)}function On(e,t,n){return e===45?Dn(t)||t===45||qe(t,n):Dn(e)?!0:e===92?qe(e,t):!1}function yr(e,t,n){return e===43||e===45?ce(t)?2:t===46&&ce(n)?3:0:e===46?ce(t)?2:0:ce(e)?1:0}function Ms(e){return e===65279||e===65534?1:0}const ni=new Array(128),Wm=128,jn=130,Rs=131,Ei=132,Fs=133;for(let e=0;e<ni.length;e++)ni[e]=pt(e)&&jn||ce(e)&&Rs||Dn(e)&&Ei||Dm(e)&&Fs||e||Wm;function kr(e){return e<128?ni[e]:Ei}function Ct(e,t){return t<e.length?e.charCodeAt(t):0}function ri(e,t,n){return n===13&&Ct(e,t+1)===10?2:1}function zt(e,t,n){let r=e.charCodeAt(t);return zi(r)&&(r=r|32),r===n}function rn(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){const o=r.charCodeAt(i-t);let a=e.charCodeAt(i);if(zi(a)&&(a=a|32),a!==o)return!1}return!0}function Bm(e,t){for(;t>=0&&pt(e.charCodeAt(t));t--);return t+1}function bn(e,t){for(;t<e.length&&pt(e.charCodeAt(t));t++);return t}function vr(e,t){for(;t<e.length&&ce(e.charCodeAt(t));t++);return t}function jt(e,t){if(t+=2,rt(Ct(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&rt(Ct(e,t));t++);const n=Ct(e,t);pt(n)&&(t+=ri(e,t,n))}return t}function yn(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!Ps(n)){if(qe(n,Ct(e,t+1))){t=jt(e,t)-1;continue}break}}return t}function er(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),ce(n)&&(t=vr(e,t+1),n=e.charCodeAt(t)),n===46&&ce(e.charCodeAt(t+1))&&(t+=2,t=vr(e,t)),zt(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),ce(n)&&(t=vr(e,t+1+r+1))}return t}function xr(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}qe(n,Ct(e,t+1))&&(t=jt(e,t))}return t}function Is(e){if(e.length===1&&!rt(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const Ns=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],Um=16*1024;function Bn(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Um)):e}const Mo=10,Vm=12,Ro=13;function Fo(e){const t=e.source,n=t.length,r=t.length>0?Ms(t.charCodeAt(0)):0,i=Bn(e.lines,n),o=Bn(e.columns,n);let a=e.startLine,l=e.startColumn;for(let c=r;c<n;c++){const s=t.charCodeAt(c);i[c]=a,o[c]=l++,(s===Mo||s===Ro||s===Vm)&&(s===Ro&&c+1<n&&t.charCodeAt(c+1)===Mo&&(c++,i[c]=a,o[c]=l),a++,l=1)}i[n]=a,o[n]=l,e.lines=i,e.columns=o,e.computed=!0}class qm{constructor(t,n,r,i){this.setSource(t,n,r,i),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,i=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=i,this.computed=!1}getLocation(t,n){return this.computed||Fo(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Fo(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const De=16777215,We=24,dt=new Uint8Array(32);dt[R]=L;dt[V]=L;dt[Ae]=Re;dt[pe]=ze;function Io(e){return dt[e]!==0}class Hm{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,i=Bn(this.offsetAndType,t.length+1),o=Bn(this.balance,t.length+1);let a=0,l=-1,c=0,s=t.length;this.offsetAndType=null,this.balance=null,o.fill(0),n(t,(u,d,f)=>{const h=a++;if(i[h]=u<<We|f,l===-1&&(l=d),o[h]=s,u===c){const m=o[s];o[s]=h,s=m,c=dt[i[m]>>We]}else Io(u)&&(s=h,c=dt[u])}),i[a]=et<<We|r,o[a]=a;for(let u=0;u<a;u++){const d=o[u];if(d<=u){const f=o[d];f!==u&&(o[u]=f)}else d>a&&(o[u]=a)}this.source=t,this.firstCharOffset=l===-1?0:l,this.tokenCount=a,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>We:et}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>We;if(r!==J&&r!==ue&&t--===0)return r}return et}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&De:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>We;if(r!==J&&r!==ue&&t--===0)return n-this.tokenIndex}return et}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?rn(this.source,this.offsetAndType[t-1]&De,this.offsetAndType[t]&De,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&De:this.offsetAndType[this.tokenCount]&De:this.firstCharOffset}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===B&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===B&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&De,n=this.offsetAndType[n],this.tokenType=n>>We,this.tokenEnd=n&De):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>We,this.tokenEnd=t&De):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=et,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===J||this.tokenType===ue;)this.next()}skipUntilBalanced(t,n){let r=t,i=0,o=0;e:for(;r<this.tokenCount;r++){if(i=this.balance[r],i<t)break e;switch(o=r>0?this.offsetAndType[r-1]&De:this.firstCharOffset,n(this.source.charCodeAt(o))){case 1:break e;case 2:r++;break e;default:Io(this.offsetAndType[r]>>We)&&(r=i)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const i=r,o=this.offsetAndType[n],a=o&De,l=o>>We;r=a,t(l,i,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,i,o)=>{t[o]={idx:o,type:Ns[n],chunk:this.source.substring(r,i),balance:this.balance[o]}}),t}}function tr(e,t){function n(d){return d<l?e.charCodeAt(d):0}function r(){if(s=er(e,s),On(n(s),n(s+1),n(s+2))){u=W,s=yn(e,s);return}if(n(s)===37){u=Z,s++;return}u=M}function i(){const d=s;if(s=yn(e,s),rn(e,d,s,"url")&&n(s)===40){if(s=bn(e,s+1),n(s)===34||n(s)===39){u=R,s=d+4;return}a();return}if(n(s)===40){u=R,s++;return}u=A}function o(d){for(d||(d=n(s++)),u=Fe;s<e.length;s++){const f=e.charCodeAt(s);switch(kr(f)){case d:s++;return;case jn:if(Wn(f)){s+=ri(e,s,f),u=Jn;return}break;case 92:if(s===e.length-1)break;const h=n(s+1);Wn(h)?s+=ri(e,s+1,h):qe(f,h)&&(s=jt(e,s)-1);break}}}function a(){for(u=fe,s=bn(e,s);s<e.length;s++){const d=e.charCodeAt(s);switch(kr(d)){case 41:s++;return;case jn:if(s=bn(e,s),n(s)===41||s>=e.length){s<e.length&&s++;return}s=xr(e,s),u=be;return;case 34:case 39:case 40:case Fs:s=xr(e,s),u=be;return;case 92:if(qe(d,n(s+1))){s=jt(e,s)-1;break}s=xr(e,s),u=be;return}}}e=String(e||"");const l=e.length;let c=Ms(n(0)),s=c,u;for(;s<l;){const d=e.charCodeAt(s);switch(kr(d)){case jn:u=J,s=bn(e,s+1);break;case 34:o();break;case 35:Ps(n(s+1))||qe(n(s+1),n(s+2))?(u=Y,s=yn(e,s+1)):(u=B,s++);break;case 39:o();break;case 40:u=V,s++;break;case 41:u=L,s++;break;case 43:yr(d,n(s+1),n(s+2))?r():(u=B,s++);break;case 44:u=xe,s++;break;case 45:yr(d,n(s+1),n(s+2))?r():n(s+1)===45&&n(s+2)===62?(u=ye,s=s+3):On(d,n(s+1),n(s+2))?i():(u=B,s++);break;case 46:yr(d,n(s+1),n(s+2))?r():(u=B,s++);break;case 47:n(s+1)===42?(u=ue,s=e.indexOf("*/",s+2),s=s===-1?e.length:s+2):(u=B,s++);break;case 58:u=he,s++;break;case 59:u=me,s++;break;case 60:n(s+1)===33&&n(s+2)===45&&n(s+3)===45?(u=un,s=s+4):(u=B,s++);break;case 64:On(n(s+1),n(s+2),n(s+3))?(u=ae,s=yn(e,s+1)):(u=B,s++);break;case 91:u=Ae,s++;break;case 92:qe(d,n(s+1))?i():(u=B,s++);break;case 93:u=Re,s++;break;case 123:u=pe,s++;break;case 125:u=ze,s++;break;case Rs:r();break;case Ei:i();break;default:u=B,s++}t(u,c,c=s)}}let bt=null;class oe{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return oe.createItem(t)}allocateCursor(t,n){let r;return bt!==null?(r=bt,bt=bt.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=bt,bt=t}updateCursors(t,n,r,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=n),o.next===r&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const i=oe.createItem(r);n!==null?n.next=i:this.head=i,i.prev=n,n=i}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const i=r.next;r.next=i.next,t.call(n,i.data,i,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const i=r.prev;r.prev=i.prev,t.call(n,i.data,i,this)}this.releaseCursor()}reduce(t,n,r=this){let i=this.allocateCursor(null,this.head),o=n,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(r,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,n,r=this){let i=this.allocateCursor(this.tail,null),o=n,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(r,o,a.data,a,this);return this.releaseCursor(),o}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new oe;for(let i=this.head;i!==null;i=i.next)r.appendData(t.call(n,i.data,i,this));return r}filter(t,n=this){const r=new oe;for(let i=this.head;i!==null;i=i.next)t.call(n,i.data,i,this)&&r.appendData(i.data);return r}nextUntil(t,n,r=this){if(t===null)return;const i=this.allocateCursor(null,t);for(;i.next!==null;){const o=i.next;if(i.next=o.next,n.call(r,o.data,o,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const i=this.allocateCursor(t,null);for(;i.prev!==null;){const o=i.prev;if(i.prev=o.prev,n.call(r,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new oe;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(oe.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(oe.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(oe.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(oe.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(oe.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function nr(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
417
|
+
`)}})}const wr=100,No=60,Do=" ";function Wo({source:e,line:t,column:n,baseLine:r,baseColumn:i},o){function a(m,k){return s.slice(m,k).map((w,$)=>String(m+$+1).padStart(f)+" |"+w).join(`
|
|
418
|
+
`)}const l=`
|
|
419
|
+
`.repeat(Math.max(r-1,0)),c=" ".repeat(Math.max(i-1,0)),s=(l+c+e).split(/\r\n?|\n|\f/),u=Math.max(1,t-o)-1,d=Math.min(t+o,s.length+1),f=Math.max(4,String(d).length)+1;let h=0;n+=(Do.length-1)*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>wr&&(h=n-No+3,n=No-2);for(let m=u;m<=d;m++)m>=0&&m<s.length&&(s[m]=s[m].replace(/\t/g,Do),s[m]=(h>0&&s[m].length>h?"…":"")+s[m].substr(h,wr-2)+(s[m].length>h+wr-1?"…":""));return[a(u,t),new Array(n+f+2).join("-")+"^",a(t,d)].filter(Boolean).join(`
|
|
420
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function Bo(e,t,n,r,i,o=1,a=1){return Object.assign(nr("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment(c){return Wo({source:t,line:r,column:i,baseLine:o,baseColumn:a},isNaN(c)?0:c)},get formattedMessage(){return`Parse error: ${e}
|
|
421
|
+
`+Wo({source:t,line:r,column:i,baseLine:o,baseColumn:a},2)}})}function Gm(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case ue:this.next();continue;case J:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Uo=()=>{},Km=33,Ym=35,$r=59,Vo=123,qo=0;function Xm(e){return function(){return this[e]()}}function Sr(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function Qm(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Sr(e.atrule),pseudo:Sr(e.pseudo),node:Sr(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=Xm(r);break}return{config:t,...t,...t.node}}function Zm(e){let t="",n="<unknown>",r=!1,i=Uo,o=!1;const a=new qm,l=Object.assign(new Hm,Qm(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Gm,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===Vo?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===Vo||s===$r?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===Km||s===$r?1:0},consumeUntilSemicolonIncluded(s){return s===$r?2:0},createList(){return new oe},createSingleNodeList(s){return new oe().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,u){const d=this.tokenIndex;try{return s.call(this)}catch(f){if(o)throw f;this.skip(d-this.tokenIndex);const h=u.call(this);return o=!0,i(f,h),o=!1,h}},lookupNonWSType(s){let u;do if(u=this.lookupType(s++),u!==J&&u!==ue)return u;while(u!==qo);return qo},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,u){return t.substring(s,u)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,u){return zt(t,s,u)},cmpStr(s,u,d){return rn(t,s,u,d)},consume(s){const u=this.tokenStart;return this.eat(s),this.substrToCursor(u)},consumeFunctionName(){const s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(R),s},consumeNumber(s){const u=t.substring(this.tokenStart,er(t,this.tokenStart));return this.eat(s),u},eat(s){if(this.tokenType!==s){const u=Ns[s].slice(0,-6).replace(/-/g," ").replace(/^./,h=>h.toUpperCase());let d=`${/[[\](){}]/.test(u)?`"${u}"`:u} is expected`,f=this.tokenStart;switch(s){case A:this.tokenType===R||this.tokenType===fe?(f=this.tokenEnd-1,d="Identifier is expected but function found"):d="Identifier is expected";break;case Y:this.isDelim(Ym)&&(this.next(),f++,d="Name is expected");break;case Z:this.tokenType===M&&(f=this.tokenEnd,d="Percent sign is expected");break}this.error(d,f)}this.next()},eatIdent(s){(this.tokenType!==A||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,u){return r?a.getLocationRange(s,u,n):null},getLocationFromList(s){if(r){const u=this.getFirstListNode(s),d=this.getLastListNode(s);return a.getLocationRange(u!==null?u.loc.start.offset-a.startOffset:this.tokenStart,d!==null?d.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(s,u){const d=typeof u<"u"&&u<t.length?a.getLocation(u):this.eof?a.getLocation(Bm(t,t.length-1)):a.getLocation(this.tokenStart);throw new Bo(s||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}});return Object.assign(function(s,u){t=s,u=u||{},l.setSource(t,tr),a.setSource(t,u.offset,u.line,u.column),n=u.filename||"<unknown>",r=!!u.positions,i=typeof u.onParseError=="function"?u.onParseError:Uo,o=!1,l.parseAtrulePrelude="parseAtrulePrelude"in u?!!u.parseAtrulePrelude:!0,l.parseRulePrelude="parseRulePrelude"in u?!!u.parseRulePrelude:!0,l.parseValue="parseValue"in u?!!u.parseValue:!0,l.parseCustomProperty="parseCustomProperty"in u?!!u.parseCustomProperty:!1;const{context:d="default",onComment:f}=u;if(!(d in l.context))throw new Error("Unknown context `"+d+"`");typeof f=="function"&&l.forEachToken((m,k,w)=>{if(m===ue){const $=l.getLocation(k,w),y=rn(t,w-2,w,"*/")?t.slice(k+2,w-2):t.slice(k+2,w);f(y,$)}});const h=l.context[d].call(l,u);return l.eof||l.error(),h},{SyntaxError:Bo,config:l.config})}var Cr={},kn={},vn={},Ho;function Jm(){if(Ho)return vn;Ho=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vn.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},vn.decode=function(t){var n=65,r=90,i=97,o=122,a=48,l=57,c=43,s=47,u=26,d=52;return n<=t&&t<=r?t-n:i<=t&&t<=o?t-i+u:a<=t&&t<=l?t-a+d:t==c?62:t==s?63:-1},vn}var Go;function eg(){if(Go)return kn;Go=1;var e=Jm(),t=5,n=1<<t,r=n-1,i=n;function o(l){return l<0?(-l<<1)+1:(l<<1)+0}function a(l){var c=(l&1)===1,s=l>>1;return c?-s:s}return kn.encode=function(c){var s="",u,d=o(c);do u=d&r,d>>>=t,d>0&&(u|=i),s+=e.encode(u);while(d>0);return s},kn.decode=function(c,s,u){var d=c.length,f=0,h=0,m,k;do{if(s>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(k=e.decode(c.charCodeAt(s++)),k===-1)throw new Error("Invalid base64 digit: "+c.charAt(s-1));m=!!(k&i),k&=r,f=f+(k<<h),h+=t}while(m);u.value=a(f),u.rest=s},kn}var zr={},Ko;function Ai(){return Ko||(Ko=1,(function(e){function t(b,v,O){if(v in b)return b[v];if(arguments.length===3)return O;throw new Error('"'+v+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(b){var v=b.match(n);return v?{scheme:v[1],auth:v[2],host:v[3],port:v[4],path:v[5]}:null}e.urlParse=i;function o(b){var v="";return b.scheme&&(v+=b.scheme+":"),v+="//",b.auth&&(v+=b.auth+"@"),b.host&&(v+=b.host),b.port&&(v+=":"+b.port),b.path&&(v+=b.path),v}e.urlGenerate=o;var a=32;function l(b){var v=[];return function(O){for(var S=0;S<v.length;S++)if(v[S].input===O){var le=v[0];return v[0]=v[S],v[S]=le,v[0].result}var _=b(O);return v.unshift({input:O,result:_}),v.length>a&&v.pop(),_}}var c=l(function(v){var O=v,S=i(v);if(S){if(!S.path)return v;O=S.path}for(var le=e.isAbsolute(O),_=[],N=0,I=0;;)if(N=I,I=O.indexOf("/",N),I===-1){_.push(O.slice(N));break}else for(_.push(O.slice(N,I));I<O.length&&O[I]==="/";)I++;for(var G,ne=0,I=_.length-1;I>=0;I--)G=_[I],G==="."?_.splice(I,1):G===".."?ne++:ne>0&&(G===""?(_.splice(I+1,ne),ne=0):(_.splice(I,2),ne--));return O=_.join("/"),O===""&&(O=le?"/":"."),S?(S.path=O,o(S)):O});e.normalize=c;function s(b,v){b===""&&(b="."),v===""&&(v=".");var O=i(v),S=i(b);if(S&&(b=S.path||"/"),O&&!O.scheme)return S&&(O.scheme=S.scheme),o(O);if(O||v.match(r))return v;if(S&&!S.host&&!S.path)return S.host=v,o(S);var le=v.charAt(0)==="/"?v:c(b.replace(/\/+$/,"")+"/"+v);return S?(S.path=le,o(S)):le}e.join=s,e.isAbsolute=function(b){return b.charAt(0)==="/"||n.test(b)};function u(b,v){b===""&&(b="."),b=b.replace(/\/$/,"");for(var O=0;v.indexOf(b+"/")!==0;){var S=b.lastIndexOf("/");if(S<0||(b=b.slice(0,S),b.match(/^([^\/]+:\/)?\/*$/)))return v;++O}return Array(O+1).join("../")+v.substr(b.length+1)}e.relative=u;var d=(function(){var b=Object.create(null);return!("__proto__"in b)})();function f(b){return b}function h(b){return k(b)?"$"+b:b}e.toSetString=d?f:h;function m(b){return k(b)?b.slice(1):b}e.fromSetString=d?f:m;function k(b){if(!b)return!1;var v=b.length;if(v<9||b.charCodeAt(v-1)!==95||b.charCodeAt(v-2)!==95||b.charCodeAt(v-3)!==111||b.charCodeAt(v-4)!==116||b.charCodeAt(v-5)!==111||b.charCodeAt(v-6)!==114||b.charCodeAt(v-7)!==112||b.charCodeAt(v-8)!==95||b.charCodeAt(v-9)!==95)return!1;for(var O=v-10;O>=0;O--)if(b.charCodeAt(O)!==36)return!1;return!0}function w(b,v,O){var S=x(b.source,v.source);return S!==0||(S=b.originalLine-v.originalLine,S!==0)||(S=b.originalColumn-v.originalColumn,S!==0||O)||(S=b.generatedColumn-v.generatedColumn,S!==0)||(S=b.generatedLine-v.generatedLine,S!==0)?S:x(b.name,v.name)}e.compareByOriginalPositions=w;function $(b,v,O){var S;return S=b.originalLine-v.originalLine,S!==0||(S=b.originalColumn-v.originalColumn,S!==0||O)||(S=b.generatedColumn-v.generatedColumn,S!==0)||(S=b.generatedLine-v.generatedLine,S!==0)?S:x(b.name,v.name)}e.compareByOriginalPositionsNoSource=$;function y(b,v,O){var S=b.generatedLine-v.generatedLine;return S!==0||(S=b.generatedColumn-v.generatedColumn,S!==0||O)||(S=x(b.source,v.source),S!==0)||(S=b.originalLine-v.originalLine,S!==0)||(S=b.originalColumn-v.originalColumn,S!==0)?S:x(b.name,v.name)}e.compareByGeneratedPositionsDeflated=y;function C(b,v,O){var S=b.generatedColumn-v.generatedColumn;return S!==0||O||(S=x(b.source,v.source),S!==0)||(S=b.originalLine-v.originalLine,S!==0)||(S=b.originalColumn-v.originalColumn,S!==0)?S:x(b.name,v.name)}e.compareByGeneratedPositionsDeflatedNoLine=C;function x(b,v){return b===v?0:b===null?1:v===null?-1:b>v?1:-1}function E(b,v){var O=b.generatedLine-v.generatedLine;return O!==0||(O=b.generatedColumn-v.generatedColumn,O!==0)||(O=x(b.source,v.source),O!==0)||(O=b.originalLine-v.originalLine,O!==0)||(O=b.originalColumn-v.originalColumn,O!==0)?O:x(b.name,v.name)}e.compareByGeneratedPositionsInflated=E;function T(b){return JSON.parse(b.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=T;function z(b,v,O){if(v=v||"",b&&(b[b.length-1]!=="/"&&v[0]!=="/"&&(b+="/"),v=b+v),O){var S=i(O);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var le=S.path.lastIndexOf("/");le>=0&&(S.path=S.path.substring(0,le+1))}v=s(o(S),v)}return c(v)}e.computeSourceURL=z})(zr)),zr}var Er={},Yo;function tg(){if(Yo)return Er;Yo=1;var e=Ai(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(o,a){for(var l=new r,c=0,s=o.length;c<s;c++)l.add(o[c],a);return l},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(o,a){var l=n?o:e.toSetString(o),c=n?this.has(o):t.call(this._set,l),s=this._array.length;(!c||a)&&this._array.push(o),c||(n?this._set.set(o,s):this._set[l]=s)},r.prototype.has=function(o){if(n)return this._set.has(o);var a=e.toSetString(o);return t.call(this._set,a)},r.prototype.indexOf=function(o){if(n){var a=this._set.get(o);if(a>=0)return a}else{var l=e.toSetString(o);if(t.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},r.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},r.prototype.toArray=function(){return this._array.slice()},Er.ArraySet=r,Er}var Ar={},Xo;function ng(){if(Xo)return Ar;Xo=1;var e=Ai();function t(r,i){var o=r.generatedLine,a=i.generatedLine,l=r.generatedColumn,c=i.generatedColumn;return a>o||a==o&&c>=l||e.compareByGeneratedPositionsInflated(r,i)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},n.prototype.add=function(i){t(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ar.MappingList=n,Ar}var Qo;function rg(){if(Qo)return Cr;Qo=1;var e=eg(),t=Ai(),n=tg().ArraySet,r=ng().MappingList;function i(o){o||(o={}),this._file=t.getArg(o,"file",null),this._sourceRoot=t.getArg(o,"sourceRoot",null),this._skipValidation=t.getArg(o,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(o,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return i.prototype._version=3,i.fromSourceMap=function(a,l){var c=a.sourceRoot,s=new i(Object.assign(l||{},{file:a.file,sourceRoot:c}));return a.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,c!=null&&(d.source=t.relative(c,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),s.addMapping(d)}),a.sources.forEach(function(u){var d=u;c!==null&&(d=t.relative(c,u)),s._sources.has(d)||s._sources.add(d);var f=a.sourceContentFor(u);f!=null&&s.setSourceContent(u,f)}),s},i.prototype.addMapping=function(a){var l=t.getArg(a,"generated"),c=t.getArg(a,"original",null),s=t.getArg(a,"source",null),u=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(l,c,s,u)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:s,name:u}))},i.prototype.setSourceContent=function(a,l){var c=a;this._sourceRoot!=null&&(c=t.relative(this._sourceRoot,c)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(c)]=l):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(a,l,c){var s=l;if(l==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=a.file}var u=this._sourceRoot;u!=null&&(s=t.relative(u,s));var d=new n,f=new n;this._mappings.unsortedForEach(function(h){if(h.source===s&&h.originalLine!=null){var m=a.originalPositionFor({line:h.originalLine,column:h.originalColumn});m.source!=null&&(h.source=m.source,c!=null&&(h.source=t.join(c,h.source)),u!=null&&(h.source=t.relative(u,h.source)),h.originalLine=m.line,h.originalColumn=m.column,m.name!=null&&(h.name=m.name))}var k=h.source;k!=null&&!d.has(k)&&d.add(k);var w=h.name;w!=null&&!f.has(w)&&f.add(w)},this),this._sources=d,this._names=f,a.sources.forEach(function(h){var m=a.sourceContentFor(h);m!=null&&(c!=null&&(h=t.join(c,h)),u!=null&&(h=t.relative(u,h)),this.setSourceContent(h,m))},this)},i.prototype._validateMapping=function(a,l,c,s){if(l&&typeof l.line!="number"&&typeof l.column!="number"){var u="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!l&&!c&&!s)){if(a&&"line"in a&&"column"in a&&l&&"line"in l&&"column"in l&&a.line>0&&a.column>=0&&l.line>0&&l.column>=0&&c)return;var u="Invalid mapping: "+JSON.stringify({generated:a,source:c,original:l,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}},i.prototype._serializeMappings=function(){for(var a=0,l=1,c=0,s=0,u=0,d=0,f="",h,m,k,w,$=this._mappings.toArray(),y=0,C=$.length;y<C;y++){if(m=$[y],h="",m.generatedLine!==l)for(a=0;m.generatedLine!==l;)h+=";",l++;else if(y>0){if(!t.compareByGeneratedPositionsInflated(m,$[y-1]))continue;h+=","}h+=e.encode(m.generatedColumn-a),a=m.generatedColumn,m.source!=null&&(w=this._sources.indexOf(m.source),h+=e.encode(w-d),d=w,h+=e.encode(m.originalLine-1-s),s=m.originalLine-1,h+=e.encode(m.originalColumn-c),c=m.originalColumn,m.name!=null&&(k=this._names.indexOf(m.name),h+=e.encode(k-u),u=k)),f+=h}return f},i.prototype._generateSourcesContent=function(a,l){return a.map(function(c){if(!this._sourcesContents)return null;l!=null&&(c=t.relative(l,c));var s=t.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},i.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},Cr.SourceMapGenerator=i,Cr}var ig=rg();const Zo=new Set(["Atrule","Selector","Declaration"]);function og(e){const t=new ig.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i};let a=1,l=0,c=!1;const s=e.node;e.node=function(f){if(f.loc&&f.loc.start&&Zo.has(f.type)){const h=f.loc.start.line,m=f.loc.start.column-1;(r.line!==h||r.column!==m)&&(r.line=h,r.column=m,n.line=a,n.column=l,c&&(c=!1,(n.line!==i.line||n.column!==i.column)&&t.addMapping(o)),c=!0,t.addMapping({source:f.loc.source,original:r,generated:n}))}s.call(this,f),c&&Zo.has(f.type)&&(i.line=a,i.column=l)};const u=e.emit;e.emit=function(f,h,m){for(let k=0;k<f.length;k++)f.charCodeAt(k)===10?(a++,l=0):l++;u(f,h,m)};const d=e.result;return e.result=function(){return c&&t.addMapping(o),{css:d(),map:t}},e}const ag=43,sg=45,Or=(e,t)=>{if(e===B&&(e=t),typeof e=="string"){const n=e.charCodeAt(0);return n>127?32768:n<<8}return e},Ds=[[A,A],[A,R],[A,fe],[A,be],[A,"-"],[A,M],[A,Z],[A,W],[A,ye],[A,V],[ae,A],[ae,R],[ae,fe],[ae,be],[ae,"-"],[ae,M],[ae,Z],[ae,W],[ae,ye],[Y,A],[Y,R],[Y,fe],[Y,be],[Y,"-"],[Y,M],[Y,Z],[Y,W],[Y,ye],[W,A],[W,R],[W,fe],[W,be],[W,"-"],[W,M],[W,Z],[W,W],[W,ye],["#",A],["#",R],["#",fe],["#",be],["#","-"],["#",M],["#",Z],["#",W],["#",ye],["-",A],["-",R],["-",fe],["-",be],["-","-"],["-",M],["-",Z],["-",W],["-",ye],[M,A],[M,R],[M,fe],[M,be],[M,M],[M,Z],[M,W],[M,"%"],[M,ye],["@",A],["@",R],["@",fe],["@",be],["@","-"],["@",ye],[".",M],[".",Z],[".",W],["+",M],["+",Z],["+",W],["/","*"]],lg=Ds.concat([[A,Y],[W,Y],[Y,Y],[ae,V],[ae,Fe],[ae,he],[Z,Z],[Z,W],[Z,R],[Z,"-"],[L,A],[L,R],[L,Z],[L,W],[L,Y],[L,"-"]]);function Ws(e){const t=new Set(e.map(([n,r])=>Or(n)<<16|Or(r)));return function(n,r,i){const o=Or(r,i),a=i.charCodeAt(0);return(a===sg&&r!==A&&r!==R&&r!==ye||a===ag?t.has(n<<16|a<<8):t.has(n<<16|o))&&this.emit(" ",J,!0),o}}const cg=Ws(Ds),Bs=Ws(lg),Jo=Object.freeze(Object.defineProperty({__proto__:null,safe:Bs,spec:cg},Symbol.toStringTag,{value:"Module"})),ug=92;function pg(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function dg(e){tr(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function fg(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let i="",o=0,a={node(c){if(t.has(c.type))t.get(c.type).call(l,c);else throw new Error("Unknown node type: "+c.type)},tokenBefore:Bs,token(c,s){o=this.tokenBefore(o,c,s),this.emit(s,c,!1),c===B&&s.charCodeAt(0)===ug&&this.emit(`
|
|
422
|
+
`,J,!0)},emit(c){i+=c},result(){return i}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=og(a)),r.mode in Jo&&(a.tokenBefore=Jo[r.mode]));const l={node:c=>a.node(c),children:pg,token:(c,s)=>a.token(c,s),tokenize:dg};return a.node(n),a.result()}}function hg(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof oe)&&(n.children=new oe().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof oe&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:Oi}=Object.prototype,Ut=function(){};function ea(e){return typeof e=="function"?e:Ut}function ta(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function mg(e,t){const n=t.structure,r=[];for(const i in n){if(Oi.call(n,i)===!1)continue;let o=n[i];const a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(const l of o)l===null?a.nullable=!0:typeof l=="string"?a.type="node":Array.isArray(l)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function gg(e){const t={};for(const n in e.node)if(Oi.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=mg(n,r)}return t}function na(e,t){const n=e.fields.slice(),r=e.context,i=typeof r=="string";return t&&n.reverse(),function(o,a,l,c){let s;i&&(s=a[r],a[r]=o);for(const u of n){const d=o[u.name];if(!u.nullable||d){if(u.type==="list"){if(t?d.reduceRight(c,!1):d.reduce(c,!1))return!0}else if(l(d))return!0}}i&&(a[r]=s)}}function ra({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}}}function bg(e){const t=gg(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(const s in t)Oi.call(t,s)&&t[s]!==null&&(n[s]=na(t[s],!1),r[s]=na(t[s],!0));const a=ra(n),l=ra(r),c=function(s,u){function d($,y,C){const x=f.call(w,$,y,C);return x===i?!0:x===o?!1:!!(m.hasOwnProperty($.type)&&m[$.type]($,w,d,k)||h.call(w,$,y,C)===i)}let f=Ut,h=Ut,m=n,k=($,y,C,x)=>$||d(y,C,x);const w={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")f=u;else if(u&&(f=ea(u.enter),h=ea(u.leave),u.reverse&&(m=r),u.visit)){if(a.hasOwnProperty(u.visit))m=u.reverse?l[u.visit]:a[u.visit];else if(!t.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");f=ta(f,u.visit),h=ta(h,u.visit)}if(f===Ut&&h===Ut)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");d(s)};return c.break=i,c.skip=o,c.find=function(s,u){let d=null;return c(s,function(f,h,m){if(u.call(this,f,h,m))return d=f,i}),d},c.findLast=function(s,u){let d=null;return c(s,{reverse:!0,enter(f,h,m){if(u.call(this,f,h,m))return d=f,i}}),d},c.findAll=function(s,u){const d=[];return c(s,function(f,h,m){u.call(this,f,h,m)&&d.push(f)}),d},c}function yg(e){return e}function kg(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function vg(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function xg(e,t,n,r){const i=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Un(a,t,n,r)).join(i);return e.explicit||n?(r||o[0]===","?"[":"[ ")+o+(r?"]":" ]"):o}function Un(e,t,n,r){let i;switch(e.type){case"Group":i=xg(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Un(e.term,t,n,r)+t(kg(e),e);case"Boolean":i="<boolean-expr["+Un(e.term,t,n,r)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(vg(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function ji(e,t){let n=yg,r=!1,i=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),Un(e,n,r,i)}const ia={offset:0,line:1,column:1};function wg(e,t){const n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,o=i!==t?i:null;let a=0,l=0,c=0,s="",u,d;for(let f=0;f<n.length;f++){const h=n[f].value;f===r&&(l=h.length,a=s.length),o!==null&&n[f].node===o&&(f<=r?c++:c=0),s+=h}return r===n.length||c>1?(u=xn(o||t,"end")||Vt(ia,s),d=Vt(u)):(u=xn(o,"start")||Vt(xn(t,"start")||ia,s.slice(0,a)),d=xn(o,"end")||Vt(u,s.substr(a,l))),{css:s,mismatchOffset:a,mismatchLength:l,start:u,end:d}}function xn(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?Vt(n):n:null}function Vt({offset:e,line:t,column:n},r){const i={offset:e,line:t,column:n};if(r){const o=r.split(/\n|\r\n?|\f/);i.offset+=r.length,i.line+=o.length-1,i.column=o.length===1?i.column+r.length:o.pop().length+1}return i}const Wt=function(e,t){const n=nr("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},$g=function(e,t,n,r){const i=nr("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:l,start:c,end:s}=wg(r,n);return i.rawMessage=e,i.syntax=t?ji(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=l,i.message=e+`
|
|
423
|
+
syntax: `+i.syntax+`
|
|
424
|
+
value: `+(o||"<empty string>")+`
|
|
425
|
+
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:c,end:s},i},wn=new Map,yt=new Map,Vn=45,jr=Sg,oa=Cg;function Ti(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Vn&&e.charCodeAt(t+1)===Vn}function Us(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Vn&&e.charCodeAt(t+1)!==Vn){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function Sg(e){if(wn.has(e))return wn.get(e);const t=e.toLowerCase();let n=wn.get(t);if(n===void 0){const r=Ti(t,0),i=r?"":Us(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return wn.set(e,n),n}function Cg(e){if(yt.has(e))return yt.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=Ti(t,n.length);if(!r&&(t=t.toLowerCase(),yt.has(t))){const l=yt.get(t);return yt.set(e,l),l}const i=r?"":Us(t,n.length),o=t.substr(0,n.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:i,prefix:o,custom:r});return yt.set(e,a),a}const _i=["initial","inherit","unset","revert","revert-layer"],on=43,Be=45,Tr=110,kt=!0,zg=!1;function ii(e,t){return e!==null&&e.type===B&&e.value.charCodeAt(0)===t}function Yt(e,t,n){for(;e!==null&&(e.type===J||e.type===ue);)e=n(++t);return t}function Je(e,t,n,r){if(!e)return 0;const i=e.value.charCodeAt(t);if(i===on||i===Be){if(n)return 0;t++}for(;t<e.value.length;t++)if(!ce(e.value.charCodeAt(t)))return 0;return r+1}function _r(e,t,n){let r=!1,i=Yt(e,t,n);if(e=n(i),e===null)return t;if(e.type!==M)if(ii(e,on)||ii(e,Be)){if(r=!0,i=Yt(n(++i),i,n),e=n(i),e===null||e.type!==M)return 0}else return t;if(!r){const o=e.value.charCodeAt(0);if(o!==on&&o!==Be)return 0}return Je(e,r?0:1,r,i)}function Eg(e,t){let n=0;if(!e)return 0;if(e.type===M)return Je(e,0,zg,n);if(e.type===A&&e.value.charCodeAt(0)===Be){if(!zt(e.value,1,Tr))return 0;switch(e.value.length){case 2:return _r(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Be?0:(n=Yt(t(++n),n,t),e=t(n),Je(e,0,kt,n));default:return e.value.charCodeAt(2)!==Be?0:Je(e,3,kt,n)}}else if(e.type===A||ii(e,on)&&t(n+1).type===A){if(e.type!==A&&(e=t(++n)),e===null||!zt(e.value,0,Tr))return 0;switch(e.value.length){case 1:return _r(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Be?0:(n=Yt(t(++n),n,t),e=t(n),Je(e,0,kt,n));default:return e.value.charCodeAt(1)!==Be?0:Je(e,2,kt,n)}}else if(e.type===W){let r=e.value.charCodeAt(0),i=r===on||r===Be?1:0,o=i;for(;o<e.value.length&&ce(e.value.charCodeAt(o));o++);return o===i||!zt(e.value,o,Tr)?0:o+1===e.value.length?_r(t(++n),n,t):e.value.charCodeAt(o+1)!==Be?0:o+2===e.value.length?(n=Yt(t(++n),n,t),e=t(n),Je(e,0,kt,n)):Je(e,o+2,kt,n)}return 0}const Ag=43,Vs=45,qs=63,Og=117;function oi(e,t){return e!==null&&e.type===B&&e.value.charCodeAt(0)===t}function jg(e,t){return e.value.charCodeAt(0)===t}function qt(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){const o=e.value.charCodeAt(i);if(o===Vs&&n&&r!==0)return qt(e,t+r+1,!1),6;if(!rt(o)||++r>6)return 0}return r}function $n(e,t,n){if(!e)return 0;for(;oi(n(t),qs);){if(++e>6)return 0;t++}return t}function Tg(e,t){let n=0;if(e===null||e.type!==A||!zt(e.value,0,Og)||(e=t(++n),e===null))return 0;if(oi(e,Ag))return e=t(++n),e===null?0:e.type===A?$n(qt(e,0,!0),++n,t):oi(e,qs)?$n(1,++n,t):0;if(e.type===M){const r=qt(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===W||e.type===M?!jg(e,Vs)||!qt(e,1,!1)?0:n+1:$n(r,n,t))}return e.type===W?$n(qt(e,1,!0),++n,t):0}const _g=["calc(","-moz-calc(","-webkit-calc("],Li=new Map([[R,L],[V,L],[Ae,Re],[pe,ze]]);function _e(e,t){return t<e.length?e.charCodeAt(t):0}function Hs(e,t){return rn(e,0,e.length,t)}function Gs(e,t){for(let n=0;n<t.length;n++)if(Hs(e,t[n]))return!0;return!1}function Ks(e,t){return t!==e.length-2?!1:_e(e,t)===92&&ce(_e(e,t+1))}function rr(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function Lg(e,t){let n=0,r=[],i=0;e:do{switch(e.type){case ze:case L:case Re:if(e.type!==n)break e;if(n=r.pop(),r.length===0){i++;break e}break;case R:case V:case Ae:case pe:r.push(n),n=Li.get(e.type);break}i++}while(e=t(i));return i}function $e(e){return function(t,n,r){return t===null?0:t.type===R&&Gs(t.value,_g)?Lg(t,n):e(t,n,r)}}function K(e){return function(t){return t===null||t.type!==e?0:1}}function Pg(e){if(e===null||e.type!==A)return 0;const t=e.value.toLowerCase();return Gs(t,_i)||Hs(t,"default")?0:1}function Ys(e){return e===null||e.type!==A||_e(e.value,0)!==45||_e(e.value,1)!==45?0:1}function Mg(e){return!Ys(e)||e.value==="--"?0:1}function Rg(e){if(e===null||e.type!==Y)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!rt(_e(e.value,n)))return 0;return 1}function Fg(e){return e===null||e.type!==Y||!On(_e(e.value,1),_e(e.value,2),_e(e.value,3))?0:1}function Ig(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case Jn:case be:break e;case ze:case L:case Re:if(e.type!==n)break e;n=r.pop();break;case me:if(n===0)break e;break;case B:if(n===0&&e.value==="!")break e;break;case R:case V:case Ae:case pe:r.push(n),n=Li.get(e.type);break}i++}while(e=t(i));return i}function Ng(e,t){if(!e)return 0;let n=0,r=[],i=0;e:do{switch(e.type){case Jn:case be:break e;case ze:case L:case Re:if(e.type!==n)break e;n=r.pop();break;case R:case V:case Ae:case pe:r.push(n),n=Li.get(e.type);break}i++}while(e=t(i));return i}function Ge(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==W)return 0;const i=er(t.value,0);if(e!==null){const o=t.value.indexOf("\\",i),a=o===-1||!Ks(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return rr(r,t.value,i)?0:1}}function Dg(e,t,n){return e===null||e.type!==Z||rr(n,e.value,e.value.length-1)?0:1}function Xs(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===M&&Number(t.value)===0?1:e(t,n,r)}}function Wg(e,t,n){if(e===null)return 0;const r=er(e.value,0);return!(r===e.value.length)&&!Ks(e.value,r)||rr(n,e.value,r)?0:1}function Bg(e,t,n){if(e===null||e.type!==M)return 0;let r=_e(e.value,0)===43||_e(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!ce(_e(e.value,r)))return 0;return rr(n,e.value,r)?0:1}const Ug={"ident-token":K(A),"function-token":K(R),"at-keyword-token":K(ae),"hash-token":K(Y),"string-token":K(Fe),"bad-string-token":K(Jn),"url-token":K(fe),"bad-url-token":K(be),"delim-token":K(B),"number-token":K(M),"percentage-token":K(Z),"dimension-token":K(W),"whitespace-token":K(J),"CDO-token":K(un),"CDC-token":K(ye),"colon-token":K(he),"semicolon-token":K(me),"comma-token":K(xe),"[-token":K(Ae),"]-token":K(Re),"(-token":K(V),")-token":K(L),"{-token":K(pe),"}-token":K(ze)},Vg={string:K(Fe),ident:K(A),percentage:$e(Dg),zero:Xs(),number:$e(Wg),integer:$e(Bg),"custom-ident":Pg,"dashed-ident":Ys,"custom-property-name":Mg,"hex-color":Rg,"id-selector":Fg,"an-plus-b":Eg,urange:Tg,"declaration-value":Ig,"any-value":Ng};function qg(e){const{angle:t,decibel:n,frequency:r,flex:i,length:o,resolution:a,semitones:l,time:c}=e||{};return{dimension:$e(Ge(null)),angle:$e(Ge(t)),decibel:$e(Ge(n)),frequency:$e(Ge(r)),flex:$e(Ge(i)),length:$e(Xs(Ge(o))),resolution:$e(Ge(a)),semitones:$e(Ge(l)),time:$e(Ge(c))}}function Hg(e){return{...Ug,...Vg,...qg(e)}}const Gg=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],Kg=["deg","grad","rad","turn"],Yg=["s","ms"],Xg=["hz","khz"],Qg=["dpi","dpcm","dppx","x"],Zg=["fr"],Jg=["db"],e0=["st"],aa=Object.freeze(Object.defineProperty({__proto__:null,angle:Kg,decibel:Jg,flex:Zg,frequency:Xg,length:Gg,resolution:Qg,semitones:e0,time:Yg},Symbol.toStringTag,{value:"Module"}));function t0(e,t,n){return Object.assign(nr("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
426
|
+
`+t+`
|
|
427
|
+
--`+new Array((n||t.length)+1).join("-")+"^"})}const n0=9,r0=10,i0=12,o0=13,a0=32,sa=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class s0{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&sa[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==o0&&n!==r0&&n!==i0&&n!==a0&&n!==n0)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new t0(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||sa[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const l0=9,c0=10,u0=12,p0=13,d0=32,Qs=33,Pi=35,la=38,qn=39,Zs=40,f0=41,Js=42,Mi=43,Ri=44,ca=45,Fi=60,ai=62,si=63,h0=64,an=91,sn=93,Hn=123,ua=124,pa=125,da=8734,fa={" ":1,"&&":2,"||":3,"|":4};function ha(e){let t=null,n=null;return e.eat(Hn),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Ri?(e.pos++,e.skipWs(),e.charCode()!==pa&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(pa),{min:Number(t),max:n?Number(n):0}}function m0(e){let t=null,n=!1;switch(e.charCode()){case Js:e.pos++,t={min:0,max:0};break;case Mi:e.pos++,t={min:1,max:0};break;case si:e.pos++,t={min:0,max:1};break;case Pi:e.pos++,n=!0,e.charCode()===Hn?t=ha(e):e.charCode()===si?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Hn:t=ha(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function it(e,t){const n=m0(e);return n!==null?(n.term=t,e.charCode()===Pi&&e.charCodeAt(e.pos-1)===Mi?it(e,n):n):t}function Lr(e){const t=e.peek();return t===""?null:it(e,{type:"Token",value:t})}function g0(e){let t;return e.eat(Fi),e.eat(qn),t=e.scanWord(),e.eat(qn),e.eat(ai),it(e,{type:"Property",name:t})}function b0(e){let t=null,n=null,r=1;return e.eat(an),e.charCode()===ca&&(e.peek(),r=-1),r==-1&&e.charCode()===da?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Ri),e.skipWs(),e.charCode()===da?e.peek():(r=1,e.charCode()===ca&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(sn),{type:"Range",min:t,max:n}}function y0(e){let t,n=null;if(e.eat(Fi),t=e.scanWord(),t==="boolean-expr"){e.eat(an);const r=Ii(e,sn);return e.eat(sn),e.eat(ai),it(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Zs&&e.nextCharCode()===f0&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===an&&(e.skipWs(),n=b0(e)),e.eat(ai),it(e,{type:"Type",name:t,opts:n})}function k0(e){const t=e.scanWord();return e.charCode()===Zs?(e.pos++,{type:"Function",name:t}):it(e,{type:"Keyword",name:t})}function v0(e,t){function n(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((i,o)=>fa[i]-fa[o]);t.length>0;){r=t.shift();let i=0,o=0;for(;i<e.length;i++){const a=e[i];a.type==="Combinator"&&(a.value===r?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function Ii(e,t){const n=Object.create(null),r=[];let i,o=null,a=e.pos;for(;e.charCode()!==t&&(i=w0(e,t));)i.type!=="Spaces"&&(i.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),n[i.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(i),o=i,a=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:v0(r,n)||" ",disallowEmpty:!1,explicit:!1}}function x0(e,t){let n;return e.eat(an),n=Ii(e,t),e.eat(sn),n.explicit=!0,e.charCode()===Qs&&(e.pos++,n.disallowEmpty=!0),n}function w0(e,t){let n=e.charCode();switch(n){case sn:break;case an:return it(e,x0(e,t));case Fi:return e.nextCharCode()===qn?g0(e):y0(e);case ua:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===ua?2:1))};case la:return e.pos++,e.eat(la),{type:"Combinator",value:"&&"};case Ri:return e.pos++,{type:"Comma"};case qn:return it(e,{type:"String",value:e.scanString()});case d0:case l0:case c0:case p0:case u0:return{type:"Spaces",value:e.scanSpaces()};case h0:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Lr(e);case Js:case Mi:case si:case Pi:case Qs:break;case Hn:if(n=e.nextCharCode(),n<48||n>57)return Lr(e);break;default:return e.isNameCharCode(n)?k0(e):Lr(e)}}function el(e){const t=new s0(e),n=Ii(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const Ht=function(){};function ma(e){return typeof e=="function"?e:Ht}function $0(e,t,n){function r(a){switch(i.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(n,a)}let i=Ht,o=Ht;if(typeof t=="function"?i=t:t&&(i=ma(t.enter),o=ma(t.leave)),i===Ht&&o===Ht)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const S0={decorator(e){const t=[];let n=null;return{...e,node(r){const i=n;n=r,e.node.call(this,r),n=i},emit(r,i,o){t.push({type:i,value:r,node:o?null:n})},result(){return t}}}};function C0(e){const t=[];return tr(e,(n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null})),t}function z0(e,t){return typeof e=="string"?C0(e):t.generate(e,S0)}const U={type:"Match"},q={type:"Mismatch"},Ni={type:"DisallowEmpty"},E0=40,A0=41;function de(e,t,n){return t===U&&n===q||e===U&&t===U&&n===U?e:(e.type==="If"&&e.else===q&&t===U&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function tl(e){return e.length>2&&e.charCodeAt(e.length-2)===E0&&e.charCodeAt(e.length-1)===A0}function ga(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&tl(e.name)}function Qe(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Xt(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Xt(e.match,t,n),e.then=Xt(e.then,t,n),e.else=Xt(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function li(e,t,n){switch(e){case" ":{let r=U;for(let i=t.length-1;i>=0;i--){const o=t[i];r=de(o,r,q)}return r}case"|":{let r=q,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(ga(a)&&(i===null&&o>0&&ga(t[o-1])&&(i=Object.create(null),r=de({type:"Enum",map:i},U,r)),i!==null)){const l=(tl(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(l in i)){i[l]=a;continue}}i=null,r=de(a,U,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=q;for(let i=t.length-1;i>=0;i--){const o=t[i];let a;t.length>1?a=li(e,t.filter(function(l){return l!==o}),!1):a=U,r=de(o,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?U:q;for(let i=t.length-1;i>=0;i--){const o=t[i];let a;t.length>1?a=li(e,t.filter(function(l){return l!==o}),!0):a=U,r=de(o,a,r)}return r}}}function O0(e){let t=U,n=$t(e.term);if(e.max===0)n=de(n,Ni,q),t=de(n,null,q),t.then=de(U,U,t),e.comma&&(t.then.else=de({type:"Comma",syntax:e},t,q));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==U&&(t=de({type:"Comma",syntax:e},t,q)),t=de(n,de(U,U,t),q);if(e.min===0)t=de(U,U,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==U&&(t=de({type:"Comma",syntax:e},t,q)),t=de(n,t,q);return t}function $t(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=li(e.combinator,e.terms.map($t),!1);return e.disallowEmpty&&(t=de(t,Ni,q)),t}case"Multiplier":return O0(e);case"Boolean":{const t=$t(e.term),n=$t(Qe([Qe([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Qe([{type:"Type",name:"!boolean-group"},Qe([{type:"Multiplier",comma:!1,min:0,max:0,term:Qe([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Qe([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=$t(Qe([{type:"Type",name:"!term"},Qe([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Xt(r,{"!term":t,"!self":n}),Xt(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Sn(e,t){return typeof e=="string"&&(e=el(e)),{type:"MatchGraph",match:$t(e),syntax:t||null,source:e}}const{hasOwnProperty:ba}=Object.prototype,j0=0,T0=1,ci=2,nl=3,ya="Match",_0="Mismatch",L0="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",ka=15e3;function P0(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function Pr(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let i=e.charCodeAt(n);if(i>=65&&i<=90&&(i=i|32),i!==r)return!1}return!0}function M0(e){return e.type!==B?!1:e.value!=="?"}function va(e){return e===null?!0:e.type===xe||e.type===R||e.type===V||e.type===Ae||e.type===pe||M0(e)}function xa(e){return e===null?!0:e.type===L||e.type===Re||e.type===ze||e.type===B&&e.value==="/"}function R0(e,t,n){function r(){do y++,$=y<e.length?e[y]:null;while($!==null&&($.type===J||$.type===ue))}function i(E){const T=y+E;return T<e.length?e[T]:null}function o(E,T){return{nextState:E,matchStack:x,syntaxStack:d,thenStack:f,tokenIndex:y,prev:T}}function a(E){f={nextState:E,matchStack:x,syntaxStack:d,prev:f}}function l(E){h=o(E,h)}function c(){x={type:T0,syntax:t.syntax,token:$,prev:x},r(),m=null,y>C&&(C=y)}function s(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},x={type:ci,syntax:t.syntax,token:x.token,prev:x}}function u(){x.type===ci?x=x.prev:x={type:nl,syntax:d.syntax,token:x.token,prev:x},d=d.prev}let d=null,f=null,h=null,m=null,k=0,w=null,$=null,y=-1,C=0,x={type:j0,syntax:null,token:null,prev:null};for(r();w===null&&++k<ka;)switch(t.type){case"Match":if(f===null){if($!==null&&(y!==e.length-1||$.value!=="\\0"&&$.value!=="\\9")){t=q;break}w=ya;break}if(t=f.nextState,t===Ni)if(f.matchStack===x){t=q;break}else t=U;for(;f.syntaxStack!==d;)u();f=f.prev;break;case"Mismatch":if(m!==null&&m!==!1)(h===null||y>h.tokenIndex)&&(h=m,m=!1);else if(h===null){w=_0;break}t=h.nextState,f=h.thenStack,d=h.syntaxStack,x=h.matchStack,y=h.tokenIndex,$=y<e.length?e[y]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==q&&l(t.else),t.then!==U&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const z=t.syntax.terms;if(t.index===z.length){if(t.mask===0||t.syntax.all){t=q;break}t=U;break}if(t.mask===(1<<z.length)-1){t=U;break}for(;t.index<z.length;t.index++){const b=1<<t.index;if((t.mask&b)===0){l(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|b}),t=z[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if($!==null){let z=$.value.toLowerCase();if(z.indexOf("\\")!==-1&&(z=z.replace(/\\[09].*$/,"")),ba.call(t.map,z)){t=t.map[z];break}}t=q;break;case"Generic":{const z=d!==null?d.opts:null,b=y+Math.floor(t.fn($,i,z));if(!isNaN(b)&&b>y){for(;y<b;)c();t=U}else t=q;break}case"Type":case"Property":{const z=t.type==="Type"?"types":"properties",b=ba.call(n,z)?n[z][t.name]:null;if(!b||!b.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(m!==!1&&$!==null&&t.type==="Type"&&(t.name==="custom-ident"&&$.type===A||t.name==="length"&&$.value==="0")){m===null&&(m=o(t,h)),t=q;break}s(),t=b.matchRef||b.match;break}case"Keyword":{const z=t.name;if($!==null){let b=$.value;if(b.indexOf("\\")!==-1&&(b=b.replace(/\\[09].*$/,"")),Pr(b,z)){c(),t=U;break}}t=q;break}case"AtKeyword":case"Function":if($!==null&&Pr($.value,t.name)){c(),t=U;break}t=q;break;case"Token":if($!==null&&$.value===t.value){c(),t=U;break}t=q;break;case"Comma":$!==null&&$.type===xe?va(x.token)?t=q:(c(),t=xa($)?q:U):t=va(x.token)||xa($)?U:q;break;case"String":let E="",T=y;for(;T<e.length&&E.length<t.value.length;T++)E+=e[T].value;if(Pr(E,t.value)){for(;y<T;)c();t=U}else t=q;break;default:throw new Error("Unknown node type: "+t.type)}switch(w){case null:console.warn("[csstree-match] BREAK after "+ka+" iterations"),w=L0,x=null;break;case ya:for(;d!==null;)u();break;default:x=null}return{tokens:e,reason:w,iterations:k,match:x,longestMatch:C}}function wa(e,t,n){const r=R0(e,t,n||{});if(r.match===null)return r;let i=r.match,o=r.match={syntax:t.syntax||null,match:[]};const a=[o];for(i=P0(i).prev;i!==null;){switch(i.type){case ci:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case nl:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function rl(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function n(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(n(i.match[o]))return t(i.syntax)&&r.unshift(i.syntax),!0}else if(i.node===e)return r=t(i.syntax)?[i.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function F0(e,t){return Di(this,e,n=>n.type==="Type"&&n.name===t)}function I0(e,t){return Di(this,e,n=>n.type==="Property"&&n.name===t)}function N0(e){return Di(this,e,t=>t.type==="Keyword")}function Di(e,t,n){const r=rl.call(e,t);return r===null?!1:r.some(n)}const D0=Object.freeze(Object.defineProperty({__proto__:null,getTrace:rl,isKeyword:N0,isProperty:I0,isType:F0},Symbol.toStringTag,{value:"Module"}));function il(e){return"node"in e?e.node:il(e.match[0])}function ol(e){return"node"in e?e.node:ol(e.match[e.match.length-1])}function $a(e,t,n,r,i){function o(l){if(l.syntax!==null&&l.syntax.type===r&&l.syntax.name===i){const c=il(l),s=ol(l);e.syntax.walk(t,function(u,d,f){if(u===c){const h=new oe;do{if(h.appendData(d.data),d.data===s)break;d=d.next}while(d!==null);a.push({parent:f,nodes:h})}})}Array.isArray(l.match)&&l.match.forEach(o)}const a=[];return n.matched!==null&&o(n.matched),a}const{hasOwnProperty:Qt}=Object.prototype;function Mr(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Sa(e){return!!e&&Mr(e.offset)&&Mr(e.line)&&Mr(e.column)}function W0(e,t){return function(r,i){if(!r||r.constructor!==Object)return i(r,"Type of node should be an Object");for(let o in r){let a=!0;if(Qt.call(r,o)!==!1){if(o==="type")r.type!==e&&i(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(o==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")o+=".source";else if(!Sa(r.loc.start))o+=".start";else if(!Sa(r.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let l=0;!a&&l<t[o].length;l++){const c=t[o][l];switch(c){case String:a=typeof r[o]=="string";break;case Boolean:a=typeof r[o]=="boolean";break;case null:a=r[o]===null;break;default:typeof c=="string"?a=r[o]&&r[o].type===c:Array.isArray(c)&&(a=r[o]instanceof oe)}}}else i(r,"Unknown field `"+o+"` for "+e+" node type");a||i(r,"Bad value for `"+e+"."+o+"`")}}for(const o in t)Qt.call(t,o)&&Qt.call(r,o)===!1&&i(r,"Field `"+e+"."+o+"` is missed")}}function al(e,t){const n=[];for(let r=0;r<e.length;r++){const i=e[r];if(i===String||i===Boolean)n.push(i.name.toLowerCase());else if(i===null)n.push("null");else if(typeof i=="string")n.push(i);else if(Array.isArray(i))n.push("List<"+(al(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return n.join(" | ")}function B0(e,t){const n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(const o in n){if(Qt.call(n,o)===!1)continue;const a=r[o]=Array.isArray(n[o])?n[o].slice():[n[o]];i[o]=al(a,e+"."+o)}return{docs:i,check:W0(e,r)}}function U0(e){const t={};if(e.node){for(const n in e.node)if(Qt.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=B0(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function ui(e,t,n){const r={};for(const i in e)e[i].syntax&&(r[i]=n?e[i].syntax:ji(e[i].syntax,{compact:t}));return r}function V0(e,t,n){const r={};for(const[i,o]of Object.entries(e))r[i]={prelude:o.prelude&&(n?o.prelude.syntax:ji(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&ui(o.descriptors,t,n)};return r}function q0(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function H0(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Te(e,t,n){return{matched:e,iterations:n,error:t,...D0}}function vt(e,t,n,r){const i=z0(n,e.syntax);let o;return q0(i)?Te(null,new Error("Matching for a tree with var() is not supported")):(r&&(o=wa(i,e.cssWideKeywordsSyntax,e)),(!r||!o.match)&&(o=wa(i,t.match,e),!o.match)?Te(null,new $g(o.reason,t.syntax,n,o),o.iterations):Te(o.match,null,o.iterations))}class Ca{constructor(t,n,r){if(this.cssWideKeywords=_i,this.syntax=n,this.generic=!1,this.units={...aa},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||U0(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const i of Object.keys(aa))Array.isArray(t.units[i])&&(this.units[i]=t.units[i]);if(t.types)for(const[i,o]of Object.entries(t.types))this.addType_(i,o);if(t.generic){this.generic=!0;for(const[i,o]of Object.entries(Hg(this.units)))this.addType_(i,o)}if(t.atrules)for(const[i,o]of Object.entries(t.atrules))this.addAtrule_(i,o);if(t.properties)for(const[i,o]of Object.entries(t.properties))this.addProperty_(i,o)}this.cssWideKeywordsSyntax=Sn(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(o,a){i.push({node:o,message:a})}const r=this.structure,i=[];return this.syntax.walk(t,function(o){r.hasOwnProperty(o.type)?r[o.type].check(o,n):n(o,"Unknown node type `"+o.type+"`")}),i.length?i:!1}createDescriptor(t,n,r,i=null){const o={type:n,name:r},a={type:n,name:r,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=Sn(t,o):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:el(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:Sn(a.syntax,o)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const l=a.syntax,c=H0(l)?Sn({...l,terms:[l.terms[0].term]},o):null;return Object.defineProperty(a,"matchRef",{value:c}),c}})),a}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,i)=>(r[i]=this.createDescriptor(n.descriptors[i],"AtruleDescriptor",i,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new Wt("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const i=this.getAtrule(t);if(!i.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!n&&!vt(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const i=this.getAtrule(t),o=jr(n);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new Wt("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new Wt("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return Te(null,r);const i=this.getAtrule(t);return i.prelude?vt(this,i.prelude,n||"",!1):Te(null,null)}matchAtruleDescriptor(t,n,r){const i=this.checkAtruleDescriptorName(t,n);if(i)return Te(null,i);const o=this.getAtrule(t),a=jr(n);return vt(this,o.descriptors[a.name]||o.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?Te(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(oa(t).custom)return Te(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?Te(null,r):vt(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?vt(this,r,n,!1):Te(null,new Wt("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?Te(null,new Wt("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),vt(this,t,n,!1))}findValueFragments(t,n,r,i){return $a(this,n,this.matchProperty(t,n),r,i)}findDeclarationValueFragments(t,n,r){return $a(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,n,r))}}),i}getAtrule(t,n=!0){const r=jr(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=oa(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(c,s){return s?`<${c}>`:`<'${c}'>`}function n(c,s,u,d){if(u.has(s))return u.get(s);u.set(s,!1),d.syntax!==null&&$0(d.syntax,function(f){if(f.type!=="Type"&&f.type!=="Property")return;const h=f.type==="Type"?c.types:c.properties,m=f.type==="Type"?i:o;hasOwnProperty.call(h,f.name)?n(c,f.name,m,h[f.name])&&(r.push(`${t(s,u===i)} used broken syntax definition ${t(f.name,f.type==="Type")}`),u.set(s,!0)):(r.push(`${t(s,u===i)} used missed syntax definition ${t(f.name,f.type==="Type")}`),u.set(s,!0))},this)}const r=[];let i=new Map,o=new Map;for(const c in this.types)n(this,c,i,this.types[c]);for(const c in this.properties)n(this,c,o,this.properties[c]);const a=[...i.keys()].filter(c=>i.get(c)),l=[...o.keys()].filter(c=>o.get(c));return a.length||l.length?{errors:r,types:a,properties:l}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:ui(this.types,!n,t),properties:ui(this.properties,!n,t),atrules:V0(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function Rr(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function za(e,t){const n=Object.create(null);for(const[r,i]of Object.entries(e))if(i){n[r]={};for(const o of Object.keys(i))t.includes(o)&&(n[r][o]=i[o])}return n}function pi(e,t){const n={...e};for(const[r,i]of Object.entries(t))switch(r){case"generic":n[r]=!!i;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...i]:i||[];break;case"units":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[o,a]of Object.entries(i)){const l=n[r][o]||{},c=n[r][o]={prelude:l.prelude||null,descriptors:{...l.descriptors}};if(a){c.prelude=a.prelude?Rr(c.prelude,a.prelude):c.prelude||null;for(const[s,u]of Object.entries(a.descriptors||{}))c.descriptors[s]=u?Rr(c.descriptors[s],u):null;Object.keys(c.descriptors).length||(c.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]=Rr(n[r][o],a);break;case"scope":case"features":n[r]={...e[r]};for(const[o,a]of Object.entries(i))n[r][o]={...n[r][o],...a};break;case"parseContext":n[r]={...e[r],...i};break;case"atrule":case"pseudo":n[r]={...e[r],...za(i,["parse"])};break;case"node":n[r]={...e[r],...za(i,["name","structure","parse","generate","walkContext"])};break}return n}function sl(e){const t=Zm(e),n=bg(e),r=fg(e),{fromPlainObject:i,toPlainObject:o}=hg(n),a={lexer:null,createLexer:l=>new Ca(l,a,a.lexer.structure),tokenize:tr,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:o,fork(l){const c=pi({},e);return sl(typeof l=="function"?l(c):pi(c,l))}};return a.lexer=new Ca({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const G0=e=>sl(pi({},e)),K0={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>|<timeline-range-name> <percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [[<angle>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,∞]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )","polar-color-space":"hsl|hwb|lch|oklch",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rectangular-color-space":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scroll()":"scroll( [<axis>||<scroller>]? )",scroller:"root|nearest|self","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","absolute-color-base":"<hex-color>|<absolute-color-function>|<named-color>|transparent","absolute-color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>",age:"child|young|old","anchor-name":"<dashed-ident>","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","container-name":"<custom-ident>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont",left:"<length>|auto","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>","custom-color-space":"<dashed-ident>",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","palette-identifier":"<dashed-ident>",right:"<length>|auto","scope-start":"<forgiving-selector-list>","scope-end":"<forgiving-selector-list>","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","selector-list":"<complex-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","predefined-rgb":"srgb|srgb-linear|display-p3|a98-rgb|prophoto-rgb|rec2020","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","xyz-space":"xyz|xyz-d50|xyz-d65","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","offset-path":"<ray()>|<url>|<basic-shape>","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","style-feature":"<declaration>","style-query":"<style-condition>|<style-feature>","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","anchor()":"anchor( <anchor-element>?&&<anchor-side> , <length-percentage>? )","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size()":"anchor-size( [<anchor-element>||<anchor-size>]? , <length-percentage>? )","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-element":"<dashed-ident>","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","font-variant-css2":"normal|small-caps","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto||<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",d:"none|path( <string> )",cx:"<length>|<percentage>",cy:"<length>|<percentage>",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-width'>||<'outline-style'>||<'outline-color'>]","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"[<'scroll-timeline-name'>||<'scroll-timeline-axis'>]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start|trim-both|trim-all|auto","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"auto|wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> <'view-timeline-axis'>?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"none|<dashed-ident>#","view-transition-name":"none|<custom-ident>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces|[<'white-space-collapse'>||<'text-wrap'>||<'white-space-trim'>]","white-space-collapse":"collapse|discard|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|never|always","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <absolute-color-base>]#"}},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<declaration-value>?"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},nest:{prelude:"<complex-selector-list>",descriptors:null}}},Ue=43,we=45,Tn=110,at=!0,Y0=!1;function _n(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Ue||r===we)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)ce(this.charCodeAt(n))||this.error("Integer is expected",n)}function St(e){return _n.call(this,0,e)}function Ze(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Tn:n="N is expected";break;case we:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function Fr(){let e=0,t=0,n=this.tokenType;for(;n===J||n===ue;)n=this.lookupType(++e);if(n!==M)if(this.isDelim(Ue,e)||this.isDelim(we,e)){t=this.isDelim(Ue,e)?Ue:we;do n=this.lookupType(++e);while(n===J||n===ue);n!==M&&(this.skip(e),St.call(this,at))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Ue&&n!==we&&this.error("Number sign is expected")),St.call(this,t!==0),t===we?"-"+this.consume(M):this.consume(M)}const X0="AnPlusB",Q0={a:[String,null],b:[String,null]};function ll(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===M)St.call(this,Y0),n=this.consume(M);else if(this.tokenType===A&&this.cmpChar(this.tokenStart,we))switch(t="-1",Ze.call(this,1,Tn),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Fr.call(this);break;case 3:Ze.call(this,2,we),this.next(),this.skipSC(),St.call(this,at),n="-"+this.consume(M);break;default:Ze.call(this,2,we),_n.call(this,3,at),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===A||this.isDelim(Ue)&&this.lookupType(1)===A){let r=0;switch(t="1",this.isDelim(Ue)&&(r=1,this.next()),Ze.call(this,0,Tn),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Fr.call(this);break;case 2:Ze.call(this,1,we),this.next(),this.skipSC(),St.call(this,at),n="-"+this.consume(M);break;default:Ze.call(this,1,we),_n.call(this,2,at),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===W){const r=this.charCodeAt(this.tokenStart),i=r===Ue||r===we;let o=this.tokenStart+i;for(;o<this.tokenEnd&&ce(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),Ze.call(this,o-this.tokenStart,Tn),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),n=Fr.call(this)):(Ze.call(this,o-this.tokenStart+1,we),o+2===this.tokenEnd?(this.next(),this.skipSC(),St.call(this,at),n="-"+this.consume(M)):(_n.call(this,o-this.tokenStart+2,at),this.next(),n=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Ue&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Ue&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Z0(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const J0=Object.freeze(Object.defineProperty({__proto__:null,generate:Z0,name:X0,parse:ll,structure:Q0},Symbol.toStringTag,{value:"Module"}));function Ea(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function eb(){for(let e=1,t;t=this.lookupType(e);e++){if(t===ze)return!0;if(t===pe||t===ae)return!1}return!1}const tb="Atrule",nb="atrule",rb={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function cl(e=!1){const t=this.tokenStart;let n,r,i=null,o=null;switch(this.eat(ae),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==pe&&this.tokenType!==me&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Ea):i=Ea.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case me:this.next();break;case pe:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?o=this.atrule[r].block.call(this,e):o=this.Block(eb.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:o}}function ib(e){this.token(ae,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(me,";")}const ob=Object.freeze(Object.defineProperty({__proto__:null,generate:ib,name:tb,parse:cl,structure:rb,walkContext:nb},Symbol.toStringTag,{value:"Module"})),ab="AtrulePrelude",sb="atrulePrelude",lb={children:[[]]};function ul(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==pe&&this.tokenType!==me&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function cb(e){this.children(e)}const ub=Object.freeze(Object.defineProperty({__proto__:null,generate:cb,name:ab,parse:ul,structure:lb,walkContext:sb},Symbol.toStringTag,{value:"Module"})),pb=36,pl=42,Ln=61,db=94,di=124,fb=126;function hb(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(pl)?(t=!0,this.next()):this.isDelim(di)||this.eat(A),this.isDelim(di)?this.charCodeAt(this.tokenStart+1)!==Ln?(this.next(),this.eat(A)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function mb(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Ln&&t!==fb&&t!==db&&t!==pb&&t!==pl&&t!==di&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Ln&&(this.isDelim(Ln)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const gb="AttributeSelector",bb={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function dl(){const e=this.tokenStart;let t,n=null,r=null,i=null;return this.eat(Ae),this.skipSC(),t=hb.call(this),this.skipSC(),this.tokenType!==Re&&(this.tokenType!==A&&(n=mb.call(this),this.skipSC(),r=this.tokenType===Fe?this.String():this.Identifier(),this.skipSC()),this.tokenType===A&&(i=this.consume(A),this.skipSC())),this.eat(Re),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function yb(e){this.token(B,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(A,e.flags),this.token(B,"]")}const kb=Object.freeze(Object.defineProperty({__proto__:null,generate:yb,name:gb,parse:dl,structure:bb},Symbol.toStringTag,{value:"Module"})),vb=38;function fl(){return this.Raw(null,!0)}function Aa(){return this.parseWithFallback(this.Rule,fl)}function Oa(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function xb(){if(this.tokenType===me)return Oa.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,Oa);return this.tokenType===me&&this.next(),e}const wb="Block",$b="block",Sb={children:[["Atrule","Rule","Declaration"]]};function hl(e){const t=e?xb:Aa,n=this.tokenStart;let r=this.createList();this.eat(pe);e:for(;!this.eof;)switch(this.tokenType){case ze:break e;case J:case ue:this.next();break;case ae:r.push(this.parseWithFallback(this.Atrule.bind(this,e),fl));break;default:e&&this.isDelim(vb)?r.push(Aa.call(this)):r.push(t.call(this))}return this.eof||this.eat(ze),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function Cb(e){this.token(pe,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(me,";")}),this.token(ze,"}")}const zb=Object.freeze(Object.defineProperty({__proto__:null,generate:Cb,name:wb,parse:hl,structure:Sb,walkContext:$b},Symbol.toStringTag,{value:"Module"})),Eb="Brackets",Ab={children:[[]]};function ml(e,t){const n=this.tokenStart;let r=null;return this.eat(Ae),r=e.call(this,t),this.eof||this.eat(Re),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function Ob(e){this.token(B,"["),this.children(e),this.token(B,"]")}const jb=Object.freeze(Object.defineProperty({__proto__:null,generate:Ob,name:Eb,parse:ml,structure:Ab},Symbol.toStringTag,{value:"Module"})),Tb="CDC",_b=[];function gl(){const e=this.tokenStart;return this.eat(ye),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Lb(){this.token(ye,"-->")}const Pb=Object.freeze(Object.defineProperty({__proto__:null,generate:Lb,name:Tb,parse:gl,structure:_b},Symbol.toStringTag,{value:"Module"})),Mb="CDO",Rb=[];function bl(){const e=this.tokenStart;return this.eat(un),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Fb(){this.token(un,"<!--")}const Ib=Object.freeze(Object.defineProperty({__proto__:null,generate:Fb,name:Mb,parse:bl,structure:Rb},Symbol.toStringTag,{value:"Module"})),Nb=46,Db="ClassSelector",Wb={name:String};function yl(){return this.eatDelim(Nb),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(A)}}function Bb(e){this.token(B,"."),this.token(A,e.name)}const Ub=Object.freeze(Object.defineProperty({__proto__:null,generate:Bb,name:Db,parse:yl,structure:Wb},Symbol.toStringTag,{value:"Module"})),Vb=43,ja=47,qb=62,Hb=126,Gb="Combinator",Kb={name:String};function kl(){const e=this.tokenStart;let t;switch(this.tokenType){case J:t=" ";break;case B:switch(this.charCodeAt(this.tokenStart)){case qb:case Vb:case Hb:this.next();break;case ja:this.next(),this.eatIdent("deep"),this.eatDelim(ja);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function Yb(e){this.tokenize(e.name)}const Xb=Object.freeze(Object.defineProperty({__proto__:null,generate:Yb,name:Gb,parse:kl,structure:Kb},Symbol.toStringTag,{value:"Module"})),Qb=42,Zb=47,Jb="Comment",ey={value:String};function vl(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(ue),t-e+2>=2&&this.charCodeAt(t-2)===Qb&&this.charCodeAt(t-1)===Zb&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function ty(e){this.token(ue,"/*"+e.value+"*/")}const ny=Object.freeze(Object.defineProperty({__proto__:null,generate:ty,name:Jb,parse:vl,structure:ey},Symbol.toStringTag,{value:"Module"})),ry=new Set([he,L,et]),iy="Condition",oy={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Ta(e){return this.lookupTypeNonSC(1)===A&&ry.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const ay={media:Ta,container:Ta,supports(){return this.SupportsDeclaration()}};function xl(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case ue:case J:this.next();continue;case A:t.push(this.Identifier());break;case V:{let n=this.parseWithFallback(()=>ay[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(V);const r=this.Condition(e);return this.eat(L),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case R:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function sy(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(V,"("),this.node(t),this.token(L,")")):this.node(t)})}const ly=Object.freeze(Object.defineProperty({__proto__:null,generate:sy,name:iy,parse:xl,structure:oy},Symbol.toStringTag,{value:"Module"})),wl=33,cy=35,uy=36,py=38,dy=42,fy=43,_a=47;function hy(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function my(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function gy(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==me&&this.isDelim(wl)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const by="Declaration",yy="declaration",ky={important:[Boolean,String],property:String,value:["Value","Raw"]};function $l(){const e=this.tokenStart,t=this.tokenIndex,n=xy.call(this),r=Ti(n),i=r?this.parseCustomProperty:this.parseValue,o=r?my:hy;let a=!1,l;this.skipSC(),this.eat(he);const c=this.tokenIndex;if(r||this.skipSC(),i?l=this.parseWithFallback(gy,o):l=o.call(this,this.tokenIndex),r&&l.type==="Value"&&l.children.isEmpty){for(let s=c-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===J){l.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(wl)&&(a=wy.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==me&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:l}}function vy(e){this.token(A,e.property),this.token(he,":"),this.node(e.value),e.important&&(this.token(B,"!"),this.token(A,e.important===!0?"important":e.important))}function xy(){const e=this.tokenStart;if(this.tokenType===B)switch(this.charCodeAt(this.tokenStart)){case dy:case uy:case fy:case cy:case py:this.next();break;case _a:this.next(),this.isDelim(_a)&&this.next();break}return this.tokenType===Y?this.eat(Y):this.eat(A),this.substrToCursor(e)}function wy(){this.eat(B),this.skipSC();const e=this.consume(A);return e==="important"?!0:e}const $y=Object.freeze(Object.defineProperty({__proto__:null,generate:vy,name:by,parse:$l,structure:ky,walkContext:yy},Symbol.toStringTag,{value:"Module"})),Sy=38;function Ir(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const Cy="DeclarationList",zy={children:[["Declaration","Atrule","Rule"]]};function Sl(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case J:case ue:case me:this.next();break;case ae:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Ir));break;default:this.isDelim(Sy)?e.push(this.parseWithFallback(this.Rule,Ir)):e.push(this.parseWithFallback(this.Declaration,Ir))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Ey(e){this.children(e,t=>{t.type==="Declaration"&&this.token(me,";")})}const Ay=Object.freeze(Object.defineProperty({__proto__:null,generate:Ey,name:Cy,parse:Sl,structure:zy},Symbol.toStringTag,{value:"Module"})),Oy="Dimension",jy={value:String,unit:String};function Cl(){const e=this.tokenStart,t=this.consumeNumber(W);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Ty(e){this.token(W,e.value+e.unit)}const _y=Object.freeze(Object.defineProperty({__proto__:null,generate:Ty,name:Oy,parse:Cl,structure:jy},Symbol.toStringTag,{value:"Module"})),Ly=47,Py="Feature",My={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function zl(e){const t=this.tokenStart;let n,r=null;if(this.eat(V),this.skipSC(),n=this.consume(A),this.skipSC(),this.tokenType!==L){switch(this.eat(he),this.skipSC(),this.tokenType){case M:this.lookupNonWSType(1)===B?r=this.Ratio():r=this.Number();break;case W:r=this.Dimension();break;case A:r=this.Identifier();break;case R:r=this.parseWithFallback(()=>{const i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Ly)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(L),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function Ry(e){this.token(V,"("),this.token(A,e.name),e.value!==null&&(this.token(he,":"),this.node(e.value)),this.token(L,")")}const Fy=Object.freeze(Object.defineProperty({__proto__:null,generate:Ry,name:Py,parse:zl,structure:My},Symbol.toStringTag,{value:"Module"})),Iy="FeatureFunction",Ny={kind:String,feature:String,value:["Declaration","Selector"]};function Dy(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function El(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=Dy.call(this,e,n.toLowerCase());this.skipSC();const i=this.parseWithFallback(()=>{const o=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(L),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:i}}function Wy(e){this.token(R,e.feature+"("),this.node(e.value),this.token(L,")")}const By=Object.freeze(Object.defineProperty({__proto__:null,generate:Wy,name:Iy,parse:El,structure:Ny},Symbol.toStringTag,{value:"Module"})),La=47,Uy=60,Pa=61,Vy=62,qy="FeatureRange",Hy={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function Nr(){switch(this.skipSC(),this.tokenType){case M:return this.isDelim(La,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case W:return this.Dimension();case A:return this.Identifier();case R:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(La)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Ma(e){if(this.skipSC(),this.isDelim(Uy)||this.isDelim(Vy)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Pa)?(this.next(),t+"="):t}if(this.isDelim(Pa))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Al(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(V);const n=Nr.call(this),r=Ma.call(this,n.type==="Identifier"),i=Nr.call(this);let o=null,a=null;return this.lookupNonWSType(0)!==L&&(o=Ma.call(this),a=Nr.call(this)),this.skipSC(),this.eat(L),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:i,rightComparison:o,right:a}}function Gy(e){this.token(V,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(L,")")}const Ky=Object.freeze(Object.defineProperty({__proto__:null,generate:Gy,name:qy,parse:Al,structure:Hy},Symbol.toStringTag,{value:"Module"})),Yy="Function",Xy="function",Qy={name:String,children:[[]]};function Ol(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase();let o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(L),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:o}}function Zy(e){this.token(R,e.name+"("),this.children(e),this.token(L,")")}const Jy=Object.freeze(Object.defineProperty({__proto__:null,generate:Zy,name:Yy,parse:Ol,structure:Qy,walkContext:Xy},Symbol.toStringTag,{value:"Module"})),ek="GeneralEnclosed",tk={kind:String,function:[String,null],children:[[]]};function jl(e){const t=this.tokenStart;let n=null;this.tokenType===R?n=this.consumeFunctionName():this.eat(V);const r=this.parseWithFallback(()=>{const i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(L),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function nk(e){e.function?this.token(R,e.function+"("):this.token(V,"("),this.children(e),this.token(L,")")}const rk=Object.freeze(Object.defineProperty({__proto__:null,generate:nk,name:ek,parse:jl,structure:tk},Symbol.toStringTag,{value:"Module"})),ik="XXX",ok="Hash",ak={value:String};function Tl(){const e=this.tokenStart;return this.eat(Y),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function sk(e){this.token(Y,"#"+e.value)}const lk=Object.freeze(Object.defineProperty({__proto__:null,generate:sk,name:ok,parse:Tl,structure:ak,xxx:ik},Symbol.toStringTag,{value:"Module"})),ck="Identifier",uk={name:String};function _l(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(A)}}function pk(e){this.token(A,e.name)}const dk=Object.freeze(Object.defineProperty({__proto__:null,generate:pk,name:ck,parse:_l,structure:uk},Symbol.toStringTag,{value:"Module"})),fk="IdSelector",hk={name:String};function Ll(){const e=this.tokenStart;return this.eat(Y),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function mk(e){this.token(B,"#"+e.name)}const gk=Object.freeze(Object.defineProperty({__proto__:null,generate:mk,name:fk,parse:Ll,structure:hk},Symbol.toStringTag,{value:"Module"})),bk=46,yk="Layer",kk={name:String};function Pl(){let e=this.tokenStart,t=this.consume(A);for(;this.isDelim(bk);)this.eat(B),t+="."+this.consume(A);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function vk(e){this.tokenize(e.name)}const xk=Object.freeze(Object.defineProperty({__proto__:null,generate:vk,name:yk,parse:Pl,structure:kk},Symbol.toStringTag,{value:"Module"})),wk="LayerList",$k={children:[["Layer"]]};function Ml(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===xe);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function Sk(e){this.children(e,()=>this.token(xe,","))}const Ck=Object.freeze(Object.defineProperty({__proto__:null,generate:Sk,name:wk,parse:Ml,structure:$k},Symbol.toStringTag,{value:"Module"})),zk="MediaQuery",Ek={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Rl(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===A&&this.lookupTypeNonSC(1)!==V){const i=this.consume(A),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,n=this.consume(A)):n=i,this.lookupTypeNonSC(0)){case A:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case pe:case me:case xe:case et:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case A:case V:case R:{r=this.Condition("media");break}case pe:case me:case et:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function Ak(e){e.mediaType?(e.modifier&&this.token(A,e.modifier),this.token(A,e.mediaType),e.condition&&(this.token(A,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const Ok=Object.freeze(Object.defineProperty({__proto__:null,generate:Ak,name:zk,parse:Rl,structure:Ek},Symbol.toStringTag,{value:"Module"})),jk="MediaQueryList",Tk={children:[["MediaQuery"]]};function Fl(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===xe);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function _k(e){this.children(e,()=>this.token(xe,","))}const Lk=Object.freeze(Object.defineProperty({__proto__:null,generate:_k,name:jk,parse:Fl,structure:Tk},Symbol.toStringTag,{value:"Module"})),Pk=38,Mk="NestingSelector",Rk={};function Il(){const e=this.tokenStart;return this.eatDelim(Pk),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Fk(){this.token(B,"&")}const Ik=Object.freeze(Object.defineProperty({__proto__:null,generate:Fk,name:Mk,parse:Il,structure:Rk},Symbol.toStringTag,{value:"Module"})),Nk="Nth",Dk={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Nl(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function Wk(e){this.node(e.nth),e.selector!==null&&(this.token(A,"of"),this.node(e.selector))}const Bk=Object.freeze(Object.defineProperty({__proto__:null,generate:Wk,name:Nk,parse:Nl,structure:Dk},Symbol.toStringTag,{value:"Module"})),Uk="Number",Vk={value:String};function Dl(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(M)}}function qk(e){this.token(M,e.value)}const Hk=Object.freeze(Object.defineProperty({__proto__:null,generate:qk,name:Uk,parse:Dl,structure:Vk},Symbol.toStringTag,{value:"Module"})),Gk="Operator",Kk={value:String};function Wl(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Yk(e){this.tokenize(e.value)}const Xk=Object.freeze(Object.defineProperty({__proto__:null,generate:Yk,name:Gk,parse:Wl,structure:Kk},Symbol.toStringTag,{value:"Module"})),Qk="Parentheses",Zk={children:[[]]};function Bl(e,t){const n=this.tokenStart;let r=null;return this.eat(V),r=e.call(this,t),this.eof||this.eat(L),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function Jk(e){this.token(V,"("),this.children(e),this.token(L,")")}const ev=Object.freeze(Object.defineProperty({__proto__:null,generate:Jk,name:Qk,parse:Bl,structure:Zk},Symbol.toStringTag,{value:"Module"})),tv="Percentage",nv={value:String};function Ul(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Z)}}function rv(e){this.token(Z,e.value+"%")}const iv=Object.freeze(Object.defineProperty({__proto__:null,generate:rv,name:tv,parse:Ul,structure:nv},Symbol.toStringTag,{value:"Module"})),ov="PseudoClassSelector",av="function",sv={name:String,children:[["Raw"],null]};function Vl(){const e=this.tokenStart;let t=null,n,r;return this.eat(he),this.tokenType===R?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==L?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(L)):n=this.consume(A),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function lv(e){this.token(he,":"),e.children===null?this.token(A,e.name):(this.token(R,e.name+"("),this.children(e),this.token(L,")"))}const cv=Object.freeze(Object.defineProperty({__proto__:null,generate:lv,name:ov,parse:Vl,structure:sv,walkContext:av},Symbol.toStringTag,{value:"Module"})),uv="PseudoElementSelector",pv="function",dv={name:String,children:[["Raw"],null]};function ql(){const e=this.tokenStart;let t=null,n,r;return this.eat(he),this.eat(he),this.tokenType===R?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==L?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(L)):n=this.consume(A),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function fv(e){this.token(he,":"),this.token(he,":"),e.children===null?this.token(A,e.name):(this.token(R,e.name+"("),this.children(e),this.token(L,")"))}const hv=Object.freeze(Object.defineProperty({__proto__:null,generate:fv,name:uv,parse:ql,structure:dv,walkContext:pv},Symbol.toStringTag,{value:"Module"})),Ra=47;function Fa(){switch(this.skipSC(),this.tokenType){case M:return this.Number();case R:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const mv="Ratio",gv={left:["Number","Function"],right:["Number","Function",null]};function Hl(){const e=this.tokenStart,t=Fa.call(this);let n=null;return this.skipSC(),this.isDelim(Ra)&&(this.eatDelim(Ra),n=Fa.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function bv(e){this.node(e.left),this.token(B,"/"),e.right?this.node(e.right):this.node(M,1)}const yv=Object.freeze(Object.defineProperty({__proto__:null,generate:bv,name:mv,parse:Hl,structure:gv},Symbol.toStringTag,{value:"Module"}));function kv(){return this.tokenIndex>0&&this.lookupType(-1)===J?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const vv="Raw",xv={value:String};function Gl(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=kv.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function wv(e){this.tokenize(e.value)}const $v=Object.freeze(Object.defineProperty({__proto__:null,generate:wv,name:vv,parse:Gl,structure:xv},Symbol.toStringTag,{value:"Module"}));function Ia(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Sv(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==pe&&this.error(),e}const Cv="Rule",zv="rule",Ev={prelude:["SelectorList","Raw"],block:["Block"]};function Kl(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(Sv,Ia):n=Ia.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Av(e){this.node(e.prelude),this.node(e.block)}const Ov=Object.freeze(Object.defineProperty({__proto__:null,generate:Av,name:Cv,parse:Kl,structure:Ev,walkContext:zv},Symbol.toStringTag,{value:"Module"})),jv="Scope",Tv={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Yl(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===V&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(L)),this.lookupNonWSType(0)===A&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(V),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(L)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function _v(e){e.root&&(this.token(V,"("),this.node(e.root),this.token(L,")")),e.limit&&(this.token(A,"to"),this.token(V,"("),this.node(e.limit),this.token(L,")"))}const Lv=Object.freeze(Object.defineProperty({__proto__:null,generate:_v,name:jv,parse:Yl,structure:Tv},Symbol.toStringTag,{value:"Module"})),Pv="Selector",Mv={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Xl(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Rv(e){this.children(e)}const Fv=Object.freeze(Object.defineProperty({__proto__:null,generate:Rv,name:Pv,parse:Xl,structure:Mv},Symbol.toStringTag,{value:"Module"})),Iv="SelectorList",Nv="selector",Dv={children:[["Selector","Raw"]]};function Ql(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===xe){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Wv(e){this.children(e,()=>this.token(xe,","))}const Bv=Object.freeze(Object.defineProperty({__proto__:null,generate:Wv,name:Iv,parse:Ql,structure:Dv,walkContext:Nv},Symbol.toStringTag,{value:"Module"})),fi=92,Zl=34,Uv=39;function Jl(e){const t=e.length,n=e.charCodeAt(0),r=n===Zl||n===Uv?1:0,i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let o="";for(let a=r;a<=i;a++){let l=e.charCodeAt(a);if(l===fi){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(l=e.charCodeAt(++a),qe(fi,l)){const c=a-1,s=jt(e,c);a=s-1,o+=Is(e.substring(c+1,s))}else l===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function Vv(e,t){const r=Zl;let i="",o=!1;for(let a=0;a<e.length;a++){const l=e.charCodeAt(a);if(l===0){i+="�";continue}if(l<=31||l===127){i+="\\"+l.toString(16),o=!0;continue}l===r||l===fi?(i+="\\"+e.charAt(a),o=!1):(o&&(rt(l)||pt(l))&&(i+=" "),i+=e.charAt(a),o=!1)}return'"'+i+'"'}const qv="String",Hv={value:String};function ec(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Jl(this.consume(Fe))}}function Gv(e){this.token(Fe,Vv(e.value))}const Kv=Object.freeze(Object.defineProperty({__proto__:null,generate:Gv,name:qv,parse:ec,structure:Hv},Symbol.toStringTag,{value:"Module"})),Yv=33;function Na(){return this.Raw(null,!1)}const Xv="StyleSheet",Qv="stylesheet",Zv={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function tc(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case J:this.next();continue;case ue:if(this.charCodeAt(this.tokenStart+2)!==Yv){this.next();continue}n=this.Comment();break;case un:n=this.CDO();break;case ye:n=this.CDC();break;case ae:n=this.parseWithFallback(this.Atrule,Na);break;default:n=this.parseWithFallback(this.Rule,Na)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function Jv(e){this.children(e)}const ex=Object.freeze(Object.defineProperty({__proto__:null,generate:Jv,name:Xv,parse:tc,structure:Zv,walkContext:Qv},Symbol.toStringTag,{value:"Module"})),tx="SupportsDeclaration",nx={declaration:"Declaration"};function nc(){const e=this.tokenStart;this.eat(V),this.skipSC();const t=this.Declaration();return this.eof||this.eat(L),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function rx(e){this.token(V,"("),this.node(e.declaration),this.token(L,")")}const ix=Object.freeze(Object.defineProperty({__proto__:null,generate:rx,name:tx,parse:nc,structure:nx},Symbol.toStringTag,{value:"Module"})),ox=42,Da=124;function Dr(){this.tokenType!==A&&this.isDelim(ox)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const ax="TypeSelector",sx={name:String};function rc(){const e=this.tokenStart;return this.isDelim(Da)?(this.next(),Dr.call(this)):(Dr.call(this),this.isDelim(Da)&&(this.next(),Dr.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function lx(e){this.tokenize(e.name)}const cx=Object.freeze(Object.defineProperty({__proto__:null,generate:lx,name:ax,parse:rc,structure:sx},Symbol.toStringTag,{value:"Module"})),ic=43,oc=45,hi=63;function Gt(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const i=this.charCodeAt(r);if(i===oc&&t&&n!==0)return Gt.call(this,e+n+1,!1),-1;rt(i)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Cn(e){let t=0;for(;this.isDelim(hi);)++t>e&&this.error("Too many question marks"),this.next()}function ux(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===ic?"Plus sign":"Hyphen minus")+" is expected")}function px(){let e=0;switch(this.tokenType){case M:if(e=Gt.call(this,1,!0),this.isDelim(hi)){Cn.call(this,6-e);break}if(this.tokenType===W||this.tokenType===M){ux.call(this,oc),Gt.call(this,1,!1);break}break;case W:e=Gt.call(this,1,!0),e>0&&Cn.call(this,6-e);break;default:if(this.eatDelim(ic),this.tokenType===A){e=Gt.call(this,0,!0),e>0&&Cn.call(this,6-e);break}if(this.isDelim(hi)){this.next(),Cn.call(this,5);break}this.error("Hex digit or question mark is expected")}}const dx="UnicodeRange",fx={value:String};function ac(){const e=this.tokenStart;return this.eatIdent("u"),px.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function hx(e){this.tokenize(e.value)}const mx=Object.freeze(Object.defineProperty({__proto__:null,generate:hx,name:dx,parse:ac,structure:fx},Symbol.toStringTag,{value:"Module"})),gx=32,mi=92,bx=34,yx=39,kx=40,sc=41;function vx(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===sc?t-2:t-1,i="";for(;n<r&&pt(e.charCodeAt(n));)n++;for(;n<r&&pt(e.charCodeAt(r));)r--;for(let o=n;o<=r;o++){let a=e.charCodeAt(o);if(a===mi){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),qe(mi,a)){const l=o-1,c=jt(e,l);o=c-1,i+=Is(e.substring(l+1,c))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function xx(e){let t="",n=!1;for(let r=0;r<e.length;r++){const i=e.charCodeAt(r);if(i===0){t+="�";continue}if(i<=31||i===127){t+="\\"+i.toString(16),n=!0;continue}i===gx||i===mi||i===bx||i===yx||i===kx||i===sc?(t+="\\"+e.charAt(r),n=!1):(n&&rt(i)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const wx="Url",$x={value:String};function lc(){const e=this.tokenStart;let t;switch(this.tokenType){case fe:t=vx(this.consume(fe));break;case R:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(R),this.skipSC(),t=Jl(this.consume(Fe)),this.skipSC(),this.eof||this.eat(L);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function Sx(e){this.token(fe,xx(e.value))}const Cx=Object.freeze(Object.defineProperty({__proto__:null,generate:Sx,name:wx,parse:lc,structure:$x},Symbol.toStringTag,{value:"Module"})),zx="Value",Ex={children:[[]]};function cc(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Ax(e){this.children(e)}const Ox=Object.freeze(Object.defineProperty({__proto__:null,generate:Ax,name:zx,parse:cc,structure:Ex},Symbol.toStringTag,{value:"Module"})),jx=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Tx="WhiteSpace",_x={value:String};function uc(){return this.eat(J),jx}function Lx(e){this.token(J,e.value)}const Px=Object.freeze(Object.defineProperty({__proto__:null,generate:Lx,name:Tx,parse:uc,structure:_x},Symbol.toStringTag,{value:"Module"})),pc=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:J0,Atrule:ob,AtrulePrelude:ub,AttributeSelector:kb,Block:zb,Brackets:jb,CDC:Pb,CDO:Ib,ClassSelector:Ub,Combinator:Xb,Comment:ny,Condition:ly,Declaration:$y,DeclarationList:Ay,Dimension:_y,Feature:Fy,FeatureFunction:By,FeatureRange:Ky,Function:Jy,GeneralEnclosed:rk,Hash:lk,IdSelector:gk,Identifier:dk,Layer:xk,LayerList:Ck,MediaQuery:Ok,MediaQueryList:Lk,NestingSelector:Ik,Nth:Bk,Number:Hk,Operator:Xk,Parentheses:ev,Percentage:iv,PseudoClassSelector:cv,PseudoElementSelector:hv,Ratio:yv,Raw:$v,Rule:Ov,Scope:Lv,Selector:Fv,SelectorList:Bv,String:Kv,StyleSheet:ex,SupportsDeclaration:ix,TypeSelector:cx,UnicodeRange:mx,Url:Cx,Value:Ox,WhiteSpace:Px},Symbol.toStringTag,{value:"Module"})),Mx={generic:!0,cssWideKeywords:_i,...K0,node:pc},Rx=35,Fx=42,Wa=43,Ix=45,Nx=47,Dx=117;function dc(e){switch(this.tokenType){case Y:return this.Hash();case xe:return this.Operator();case V:return this.Parentheses(this.readSequence,e.recognizer);case Ae:return this.Brackets(this.readSequence,e.recognizer);case Fe:return this.String();case W:return this.Dimension();case Z:return this.Percentage();case M:return this.Number();case R:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case fe:return this.Url();case A:return this.cmpChar(this.tokenStart,Dx)&&this.cmpChar(this.tokenStart+1,Wa)?this.UnicodeRange():this.Identifier();case B:{const t=this.charCodeAt(this.tokenStart);if(t===Nx||t===Fx||t===Wa||t===Ix)return this.Operator();t===Rx&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const Wx={getNode:dc},Bx=35,Ux=38,Vx=42,qx=43,Hx=47,Ba=46,Gx=62,Kx=124,Yx=126;function Xx(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Qx(){switch(this.tokenType){case Ae:return this.AttributeSelector();case Y:return this.IdSelector();case he:return this.lookupType(1)===he?this.PseudoElementSelector():this.PseudoClassSelector();case A:return this.TypeSelector();case M:case Z:return this.Percentage();case W:this.charCodeAt(this.tokenStart)===Ba&&this.error("Identifier is expected",this.tokenStart+1);break;case B:{switch(this.charCodeAt(this.tokenStart)){case qx:case Gx:case Yx:case Hx:return this.Combinator();case Ba:return this.ClassSelector();case Vx:case Kx:return this.TypeSelector();case Bx:return this.IdSelector();case Ux:return this.NestingSelector()}break}}}const Zx={onWhiteSpace:Xx,getNode:Qx};function Jx(){return this.createSingleNodeList(this.Raw(null,!1))}function e1(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===xe){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===J){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Ua(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const t1={getNode:dc,onWhiteSpace(e,t){Ua(e)&&(e.value=" "+e.value),Ua(t.last)&&(t.last.value+=" ")},expression:Jx,var:e1},n1=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Wx,Selector:Zx,Value:t1},Symbol.toStringTag,{value:"Module"})),r1=new Set(["none","and","not","or"]),i1={parse:{prelude(){const e=this.createList();if(this.tokenType===A){const t=this.substring(this.tokenStart,this.tokenEnd);r1.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},o1={parse:{prelude:null,block(){return this.Block(!0)}}};function Wr(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==L&&this.error()}},t||(()=>this.Raw(null,!0)))}const Va={layer(){this.skipSC();const e=this.createList(),t=Wr.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=Wr.call(this,this.Declaration,()=>Wr.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},a1={parse:{prelude(){const e=this.createList();switch(this.tokenType){case Fe:e.push(this.String());break;case fe:case R:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===A&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===R&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Va)),this.skipSC(),this.tokenType===R&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Va)),(this.lookupNonWSType(0)===A||this.lookupNonWSType(0)===V)&&e.push(this.MediaQueryList()),e},block:null}},s1={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},l1={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},c1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},u1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},p1={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},d1={parse:{prelude:null,block(e=!1){return this.Block(e)}}},f1={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},h1={container:i1,"font-face":o1,import:a1,layer:s1,media:l1,nest:c1,page:u1,scope:p1,"starting-style":d1,supports:f1};function m1(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case A:e.push(this.Identifier());break;case Fe:e.push(this.String());break;case xe:e.push(this.Operator());break;case L:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const ot={parse(){return this.createSingleNodeList(this.SelectorList())}},Br={parse(){return this.createSingleNodeList(this.Selector())}},g1={parse(){return this.createSingleNodeList(this.Identifier())}},b1={parse:m1},zn={parse(){return this.createSingleNodeList(this.Nth())}},y1={dir:g1,has:ot,lang:b1,matches:ot,is:ot,"-moz-any":ot,"-webkit-any":ot,where:ot,not:ot,"nth-child":zn,"nth-last-child":zn,"nth-last-of-type":zn,"nth-of-type":zn,slotted:Br,host:Br,"host-context":Br},k1=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:ll,Atrule:cl,AtrulePrelude:ul,AttributeSelector:dl,Block:hl,Brackets:ml,CDC:gl,CDO:bl,ClassSelector:yl,Combinator:kl,Comment:vl,Condition:xl,Declaration:$l,DeclarationList:Sl,Dimension:Cl,Feature:zl,FeatureFunction:El,FeatureRange:Al,Function:Ol,GeneralEnclosed:jl,Hash:Tl,IdSelector:Ll,Identifier:_l,Layer:Pl,LayerList:Ml,MediaQuery:Rl,MediaQueryList:Fl,NestingSelector:Il,Nth:Nl,Number:Dl,Operator:Wl,Parentheses:Bl,Percentage:Ul,PseudoClassSelector:Vl,PseudoElementSelector:ql,Ratio:Hl,Raw:Gl,Rule:Kl,Scope:Yl,Selector:Xl,SelectorList:Ql,String:ec,StyleSheet:tc,SupportsDeclaration:nc,TypeSelector:rc,UnicodeRange:ac,Url:lc,Value:cc,WhiteSpace:uc},Symbol.toStringTag,{value:"Module"})),v1={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:n1,atrule:h1,pseudo:y1,node:k1},x1={node:pc},w1=G0({...Mx,...v1,...x1});function Zt(e){const t={};for(const n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof oe?r=r.map(Zt):r.constructor===Object&&(r=Zt(r))),t[n]=r}return t}const{tokenize:N1,parse:fc,generate:qa,lexer:D1,createLexer:W1,walk:$1,find:B1,findLast:U1,findAll:V1,toPlainObject:q1,fromPlainObject:H1,fork:G1}=w1;async function S1(e,t){const{code:n,uno:r,options:i,filename:o}=e;await Promise.all(t.block.children.map(async a=>{if(a.type==="Raw")return hc(n,r,i,o,a.value,a.loc.start.offset);await C1(e,t,a)}).toArray())}async function C1({code:e,uno:t,applyVariable:n},r,i){const o=e.original;let a;if(i.type==="Atrule"&&i.name==="apply"&&i.prelude&&i.prelude.type==="Raw")a=Ur(i.prelude.value.trim());else if(i.type==="Declaration"&&n.includes(i.property)&&(i.value.type==="Value"||i.value.type==="Raw")){let u=o.slice(i.value.loc.start.offset,i.value.loc.end.offset).trim();u=Ur(u),a=u.split(/\s+/g).filter(Boolean).map(d=>Ur(d)).join(" ")}if(!a)return;a=z1(a);const l=Xa(a).split(/\s+/g).map(u=>u.trim().replace(/\\/,"")),c=(await Promise.all(l.map(u=>t.parseToken(u,"-")))).filter(xt).flat().sort((u,d)=>u[0]-d[0]).sort((u,d)=>(u[3]?t.parentOrders.get(u[3])??0:0)-(d[3]?t.parentOrders.get(d[3])??0:0)).reduce((u,d)=>{const f=u.find(h=>h[1]===d[1]&&h[3]===d[3]);return f?f[2]+=d[2]:u.push([...d]),u},[]);if(!c.length)return;let s=o[i.loc.end.offset]===";"?1:o[i.loc.end.offset]==="@"?-1:0;for(const u of c){const[,d,f,h,m]=u,k=d?.replace(gi," ")||d;if(h||k&&k!==".\\-"||m?.noMerge){let w=qa(r.prelude);const $=e.slice(r.prelude.loc.start.offset,r.prelude.loc.end.offset);if(m?.noMerge)w=k;else if(k&&k!==".\\-"){const C=fc(`${k}{}`,{context:"rule"}),x=Zt(r.prelude);x.children?.forEach(E=>{const T=Zt(C.prelude),z=new oe;T?.children?.forEach(b=>{z.appendList(b?.children?.filter(v=>v.type==="ClassSelector"&&v.name==="\\-"))}),z.forEach(b=>Object.assign(b,Zt(E))),Object.assign(E,T)}),w=qa(x)}let y=`${w.includes(".\\-")?$.split(",").map(C=>w.replace(/.\\-/g,C.trim())).join(","):w}{${f}}`;if(h)if(h.includes(" $$ ")){const[C,...x]=h.split(" $$ ").reverse();y=`${x.reduce((E,T,z)=>z===x.length-1?`${E}{${T}{${y}}}${"}".repeat(z)}`:`${E}{${T}`,C)}`}else h===".\\-"?y=`${$}{${y}}`:y=`${h}{${y}}`;s=0,e.appendLeft(r.loc.end.offset,y)}else f.includes("@")?e.appendRight(o.length,f):e.appendRight(i.loc.end.offset+s,f)}e.remove(i.loc.start.offset,i.loc.end.offset+s)}function Ur(e){return e.replace(/^(['"])(.*)\1$/,"$2")}function z1(e){return e.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,"")}async function E1(e,t,n){const r=e.config.presets?.flat()?.find(k=>k.name==="@unocss/preset-icons");if(!r){console.warn("@unocss/preset-icons not found, icon() directive will be keep as-is");return}const{scale:i=1,prefix:o="i-",collections:a,customizations:l={},autoInstall:c=!1,iconifyCollectionsNames:s,collectionsNodeResolvePath:u,unit:d}=r.options,f=r.api,h={addXmlNs:!0,scale:i,customCollections:a,autoInstall:c,cwd:u,warn:void 0,customizations:{...l,trimCustomSvg:!0,async iconCustomizer(k,w,$){await l.iconCustomizer?.(k,w,$),d&&($.width||($.width=`${i}${d}`),$.height||($.height=`${i}${d}`))}}},m=await f.createNodeLoader?.()||(async()=>{});for(const k of H(o))if(t.startsWith(k)){t=t.slice(k.length);const w=await f.parseIconWithLoader(t,m,h,s);if(w)return`url("data:image/svg+xml;utf8,${n?f.encodeSvgForCss(w.svg).replace(/currentcolor/gi,n):f.encodeSvgForCss(w.svg)}")`}}async function A1({code:e,uno:t,options:n},r){const{throwOnMissing:i=!0}=n;switch(r.name){case"theme":{if(!r.children.size)throw new Error("theme() expect exact one argument");if(r.children.first.type!=="String")throw new Error("theme() expect a string argument");let o;if(r.children.size>1){const c=r.children.toArray().slice(1);if(!(c[0].type==="Operator"&&c[0].value===","))throw new Error("theme() expect a comma between expression string and default value");c.length>1&&(o=[c[1].loc.start.offset,r.children.last.loc.end.offset])}const a=r.children.first.value;let l=ls(a,t.config.theme,!o&&i);!l&&o&&(l=e.slice(o[0],o[1])),l&&e.overwrite(r.loc.start.offset,r.loc.end.offset,l);break}case"icon":{const o=r.children.toArray().filter(s=>s.type==="String").map(s=>s.value);if(o.length===0)throw new Error("icon() expects at least one argument");let[a,l]=o;l&&(l=encodeURIComponent(ss(l,t.config.theme,i)));const c=await E1(t,a,l);c&&e.overwrite(r.loc.start.offset,r.loc.end.offset,c);break}}}const O1=/(@screen [^{]+)(.+)/g;function j1({code:e,uno:t},n){let r="",i="";if(n.prelude?.type==="Raw"&&(r=n.prelude.value.trim()),!r)return;const o=r.match(/^(?:(lt|at)-)?(\w+)$/);o&&(i=o[1],r=o[2]);const l=((()=>{const f=t.config.presets.some(m=>m.name==="@unocss/preset-wind4")?"breakpoint":"breakpoints",h=t.config.theme[f];return h?Object.entries(h).sort((m,k)=>Number.parseInt(m[1].replace(/[a-z]+/gi,""))-Number.parseInt(k[1].replace(/[a-z]+/gi,""))).map(([m,k])=>({point:m,size:k})):void 0})()??[]).map(({point:f,size:h},m)=>[f,h,m]),c=(f,h)=>{const[,m,k]=l.find(w=>w[0]===f);if(h){if(h==="lt")return`@media (max-width: ${Fn(m)})`;if(h==="at")return`@media (min-width: ${m})${l[k+1]?` and (max-width: ${Fn(l[k+1][1])})`:""}`;throw new Error(`breakpoint variant not supported: ${h}`)}return`@media (min-width: ${m})`};if(!l.find(f=>f[0]===r))throw new Error(`breakpoint ${r} not found`);const s=n.loc.start.offset,u=e.original.slice(s,n.loc.end.offset),d=Array.from(u.matchAll(O1));if(d.length)for(const f of d)e.overwrite(s+f.index,s+f.index+f[1].length,`${c(r,i)}`)}async function hc(e,t,n,r,i,o){let{applyVariable:a}=n;const l=n.varStyle;a===void 0&&(l!==void 0&&(a=l?[`${l}apply`]:[]),a=["--at-apply","--uno-apply","--uno"]),a=H(a||[]);const c=y=>y.includes("@apply")||a.some(C=>y.includes(C)),s=i||e.original,u=c(s),d=s.includes("@screen"),f=as(s)||Ru(s);if(!u&&!f&&!d)return;const h=fc(s,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:r,offset:o});if(h.type!=="StyleSheet")return;const m=[],k={options:n,applyVariable:a,uno:t,code:e,filename:r},w=async(y,C,x)=>{d&&y.type==="Atrule"&&y.name==="screen"?j1(k,y):y.type==="Function"?await A1(k,y):u&&y.type==="Rule"&&await S1(k,y)};$1(h,(...y)=>m.push(w(...y))),await Promise.all(m);const $=e.toString();if(!c($)){const y=$.replace(/([^{}]+)\{\s*\}\s*/g,(C,x)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(x.trim())?"":C);y!==$&&e.update(0,e.original.length,y)}}function K1(e={}){return{name:"@unocss/transformer-directives",enforce:e?.enforce,idFilter:t=>xc.test(t),transform:(t,n,r)=>hc(t,r.uno,e,n)}}export{bi as M,au as _,M1 as a,R1 as b,F1 as c,_1 as d,I1 as e,L1 as i,P1 as p,K1 as t,Pc as w};
|