@vuebro/runtime 2.1.0 → 2.1.2
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/index-D85K1Rsf.js +15 -0
- package/dist/assets/{markdown-DmXmAkEm.js → markdown-B67DBJhd.js} +3 -3
- package/dist/assets/unocss-BU3iCL2-.js +427 -0
- package/dist/index.html +5 -5
- package/package.json +10 -11
- package/dist/assets/index-Cnxttila.js +0 -15
- package/dist/assets/unocss-D_MpvJOK.js +0 -427
- /package/dist/assets/{loader-sfc.esm-browser.prod-2.4.6.js → loader-sfc.esm-browser.prod-2.4.8.js} +0 -0
|
@@ -1,427 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Cnxttila.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",qr="preflights",mc="shortcuts",Ga="imports",gc={[Ga]:-200,[qr]:-100,[mc]:-10,[En]:0},Ka=/[\\:]?[\s'"`;{}]+/g;function bc(e){return e.split(Ka)}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 Vo(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"}class Ya extends Set{_map=new Map;constructor(t){if(super(),t)for(const n of t)this.add(n)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,n){return this._map.set(t,n),super.add(t)}}function ar(e){return e instanceof Ya}function Jt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Se(e){const t=e.length;let n=-1,r,o="";const i=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){o+="�";continue}if(r===37){o+="\\%";continue}if(r===44){o+="\\,";continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&i===45){o+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){o+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){o+=e.charAt(n);continue}o+=`\\${e.charAt(n)}`}return o}const sr=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 Hr(e=""){return wc.test(e)}function Sc(e){return typeof e=="function"?{match:e}:e}function qo(e){return e.length===3}function xt(e){return e!=null}function Cc(){}class zc{_map=new Map;get(t,n){const r=this._map.get(t);if(r)return r.get(n)}getFallback(t,n,r){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(n)||o.set(n,r),o.get(n)}set(t,n,r){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(n,r),this}has(t,n){return this._map.get(t)?.has(n)}delete(t,n){return this._map.get(t)?.delete(n)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([n,r])=>Array.from(r.entries()).map(([o,i])=>t(i,n,o)))}}class Ec extends Map{getFallback(t,n){const r=this.get(t);return r===void 0?(this.set(t,n),n):r}map(t){const n=[];return this.forEach((r,o)=>{n.push(t(r,o))}),n}flatMap(t){const n=[];return this.forEach((r,o)=>{n.push(...t(r,o))}),n}}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 o=r-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===n)return!1;return!0})}const Xa="__virtual_key__";function lr(e){return e==null?"":Oc(e).map(([t,n])=>n!=null&&typeof n!="function"?t!==Xa?`${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,o=t;if(Array.isArray(o))return n&&Array.isArray(o)?[...r,...o]:[...o];const i={...r};return dn(r)&&dn(o)&&Object.keys(o).forEach(a=>{dn(r[a])&&dn(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?i[a]=Et(r[a],o[a],n):Object.assign(i,{[a]:o[a]})}),i}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 o,i=e.toString();const a=new Set,s=new Map;do o=!1,i=i.replace(r,(l,u,d,f,h)=>{if(!t.includes(d))return l;o=!0,a.add(u+d);const m=h+u.length+d.length+1,v={length:l.length,items:[]};s.set(h,v);for(const x of[...f.matchAll(/\S+/g)]){const C=m+x.index;let y=s.get(C)?.items;y?s.delete(C):y=[{offset:C,length:x[0].length,className:x[0]}];for(const $ of y)$.className=$.className==="~"?u:$.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),v.items.push($)}return"$".repeat(l.length)}),n-=1;while(o&&n);let c;if(typeof e=="string"){c="";let l=0;for(const[u,d]of s)c+=e.slice(l,u),c+=d.items.map(f=>f.className).join(" "),l=u+d.length;c+=e.slice(l)}else{c=e;for(const[l,u]of s)c.overwrite(l,l+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function Qa(e,t=["-",":"],n=5){const r=Lc(e,t,n);return typeof e=="string"?r.expanded:e}const Ho=new Set;function Pc(e){Ho.has(e)||(console.warn("[unocss]",e),Ho.add(e))}function Za(e){return H(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const Go="_uno_resolved";async function Mc(e){let t=typeof e=="function"?await e():await e;if(Go in t)return t;t={...t},Object.defineProperty(t,Go,{value:!0,enumerable:!1});const n=t.shortcuts?Za(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const r=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=H(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};n?.forEach(r),t.rules?.forEach(r)}return t}async function Ja(e){const t=await Mc(e);if(!t.presets)return[t];const n=(await Promise.all((t.presets||[]).flatMap(H).flatMap(Ja))).flat();return[t,...n]}function Rc(e){if(e.length===0)return{};const t=[],n=[];let r=!1;const o=[],i=[];for(const s of e){if(s.pipeline===!1){r=!0;break}else s.pipeline?.include&&t.push(s.pipeline.include),s.pipeline?.exclude&&n.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}const a={pipeline:r?!1:{include:Ve(Yo(...t)),exclude:Ve(Yo(...n))}};return o.length&&(a.filesystem=Ve(o.flat())),i.length&&(a.inline=Ve(i.flat())),a}async function Ko(e={},t={}){const n=Object.assign({},t,e),r=Vo((await Promise.all((n.presets||[]).flatMap(H).flatMap(Ja))).flat(),(w,j)=>w.name===j.name),o=[...r.filter(w=>w.enforce==="pre"),...r.filter(w=>!w.enforce),...r.filter(w=>w.enforce==="post")],i=[...o,n],a=[...i].reverse(),s=Object.assign({},gc,...i.map(w=>w.layers));function c(w){return Ve(i.flatMap(j=>H(j[w]||[])))}const l=c("extractors");let u=a.find(w=>w.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=yc),u&&!l.includes(u)&&l.unshift(u),l.sort((w,j)=>(w.order||0)-(j.order||0));const d=c("rules"),f=d.length,h={},m=[];for(const[w,j]of d.entries()){const E=j[2]??(j[2]={});E.__index=w,jc(j)?H(E.prefix??"").forEach(k=>{h[k+j[0]]=j}):m.unshift(j)}const v={templates:Ve(i.flatMap(w=>H(w.autocomplete?.templates))),extractors:i.flatMap(w=>H(w.autocomplete?.extractors)).sort((w,j)=>(w.order||0)-(j.order||0)),shorthands:Ic(i.map(w=>w.autocomplete?.shorthands||{}))};let x=c("separators");x.length||(x=[":","-"]);const C=c("content"),y=Rc(C),$={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...n,blocklist:c("blocklist"),presets:o,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:s,theme:Fc(i.map(w=>w.theme)),rules:d,rulesSize:f,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:v,variants:c("variants").map(Sc).sort((w,j)=>(w.order||0)-(j.order||0)),shortcuts:Za(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:x,details:n.details??n.envMode==="dev",content:y,transformers:Vo(c("transformers"),(w,j)=>w.name===j.name)},z=c("extendTheme");for(const w of z)$.theme=w($.theme,$)||$.theme;for(const w of i)w?.configResolved?.($);return $}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 o in n){const i=n[o];Array.isArray(i)?r[o]=`(${i.join("|")})`:r[o]=i}return{...t,...r}},{})}function Yo(...e){return e.flatMap(Nc)}function Nc(e){return Array.isArray(e)?e:e?[e]:[]}function O1(e){return e}const Dc="66.5.10",le={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"};class yo{constructor(t={},n={}){this.userConfig=t,this.defaults=n}version=Dc;events=kc();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},n={}){const r=new yo(t,n);return r.config=await Ko(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 Ko(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,n,r=new Set){const o={original:t,code:t,id:n,extracted:r,envMode:this.config.envMode};for(const i of this.config.extractors){const a=await i.extract?.(o);if(a)if(ar(a)&&ar(r))for(const s of a)r.setCount(s,r.getCount(s)+a.getCount(s));else for(const s of a)r.add(s)}return r}makeContext(t,n){const r={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:le,variantHandlers:n[2],constructCSS:(...o)=>this.constructCustomCSS(r,...o),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 o=this.config.preprocess.reduce((c,l)=>l(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(r,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(r,null);return}const a=async c=>{const l=this.makeContext(t,[n||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);const u=await this.expandShortcut(l.currentSelector,l);return u?await this.stringifyShortcuts(l.variantMatch,l,u[0],u[1]):(await this.parseUtil(l.variantMatch,l))?.flatMap(f=>this.stringifyUtil(f,l)).filter(xt)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(r,s),s;this.cache.set(r,null)}async generate(t,n={}){const{id:r,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=n,l=re(t)?await this.applyExtractors(t,r,c?new Ya:new Set):Array.isArray(t)?new Set(t):t;if(a){const E={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(E):b).forEach(b=>{const k=b.trim();k&&!l.has(k)&&l.add(k)})}const u=s?"":`
|
|
3
|
-
`,d=new Set([En]),f=c?new Map:new Set,h=new Map;let m={};const v=Array.from(l).map(async E=>{if(f.has(E))return;const b=await this.parseToken(E);if(b!=null){f instanceof Map?f.set(E,{data:b,count:ar(l)?l.getCount(E):-1}):f.add(E);for(const k of b){const O=k[3]||"",S=k[4]?.layer;h.has(O)||h.set(O,[]),h.get(O).push(k),S&&d.add(S)}}});await Promise.all(v),await(async()=>{if(!i)return;const E={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:k=qr})=>{d.add(k),b.add(k)}),m=Object.fromEntries(await Promise.all(Array.from(b).map(async k=>{const S=(await Promise.all(this.config.preflights.filter(Q=>(Q.layer||qr)===k).map(async Q=>await Q.getCSS(E)))).filter(Boolean).join(u);return[k,S]})))})();const x=this.config.sortLayers(Array.from(d).sort((E,b)=>(this.config.layers[E]??0)-(this.config.layers[b]??0)||E.localeCompare(b))),C={},y=this.config.outputToCssLayers,$=E=>{let b=E;return typeof y=="object"&&(b=y.cssLayerName?.(E)),b===null?null:b??E},z=(E=En)=>{if(C[E])return C[E];let b=Array.from(h).sort((S,Q)=>(this.parentOrders.get(S[0])??0)-(this.parentOrders.get(Q[0])??0)||S[0]?.localeCompare(Q[0]||"")||0).map(([S,Q])=>{const _=Q.length,B=Q.filter(Z=>(Z[4]?.layer||En)===E).sort((Z,Oe)=>Z[0]-Oe[0]||(Z[4]?.sort||0)-(Oe[4]?.sort||0)||Z[5]?.currentSelector?.localeCompare(Oe[5]?.currentSelector??"")||Z[1]?.localeCompare(Oe[1]||"")||Z[2]?.localeCompare(Oe[2]||"")||0).map(([,Z,Oe,,pn,,or])=>[[[(Z&&Uc(Z,o))??"",pn?.sort??0]],Oe,!!(or??pn?.noMerge)]);if(!B.length)return;const I=B.reverse().map(([Z,Oe,pn],or)=>{if(!pn&&this.config.mergeSelectors)for(let Ke=or+1;Ke<_;Ke++){const Ie=B[Ke];if(Ie&&!Ie[2]&&(Z&&Ie[0]||Z==null&&Ie[0]==null)&&Ie[1]===Oe)return Z&&Ie[0]&&Ie[0].push(...Z),null}const ir=Z?Ve(Z.sort((Ke,Ie)=>Ke[1]-Ie[1]||Ke[0]?.localeCompare(Ie[0]||"")||0).map(Ke=>Ke[0]).filter(Boolean)):[];return ir.length?`${ir.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);i&&(b=[m[E],b].filter(Boolean).join(u));let k;y&&b&&(k=$(E),k!==null&&(b=`@layer ${k}{${u}${b}${u}}`));const O=s?"":`/* layer: ${E}${k&&k!==E?`, alias: ${k}`:""} */${u}`;return C[E]=b?O+b:""},w=(E=x,b)=>{const k=E.filter(O=>!b?.includes(O));return[y&&k.length>0?`@layer ${k.map($).filter(xt).join(", ")};`:void 0,...k.map(O=>z(O)||"")].filter(Boolean).join(u)};return{get css(){return w()},layers:x,matched:f,getLayers:w,getLayer:z,setLayer:async(E,b)=>{const k=await b(z(E));return C[E]=k,k}}}async matchVariants(t,n){const r={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let a=!0;const[,,s,c]=i;for(;a;){a=!1;const l=i[1];for(const u of this.config.variants){if(!u.multiPass&&c.has(u))continue;let d=await u.match(l,r);if(d){if(re(d)){if(d===l)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??l,v=[h,...s],x=new Set(c);return x.add(u),[i[0],m,v,x]});return(await Promise.all(f.map(h=>o(h)))).flat()}}i[1]=d.matcher??l,s.unshift(d),c.add(u),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,n||t,[],new Set])}applyVariants(t,n=t[4],r=t[1]){const i=n.slice().sort((l,u)=>(l.order||0)-(u.order||0)).reduceRight((l,u)=>d=>{const f=u.body?.(d.entries)||d.entries,h=Array.isArray(u.parent)?u.parent:[u.parent,void 0],m=u.selector?.(d.selector,f);return(u.handle??qc)({...d,entries:f,selector:m||d.selector,parent:h[0]||d.parent,parentOrder:h[1]||d.parentOrder,layer:u.layer||d.layer,sort:u.sort||d.sort},l)},l=>l)({prefix:"",selector:Vc(r),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};return this.config.postprocess.reduce((l,u)=>{const d=[];for(const f of l){const h=u(f);Array.isArray(h)?d.push(...h.filter(xt)):d.push(h||f)}return d},[c])}constructCustomCSS(t,n,r){const o=Mn(n);return re(o)?o:this.applyVariants([0,r||t.rawSelector,o,void 0,t.variantHandlers]).map(({selector:i,entries:a,parent:s})=>{const c=`${i}{${lr(a)}}`;return s?`${s}{${c}}`:c}).join("")}async parseUtil(t,n,r=!1,o){const i=re(t)?await this.matchVariants(t):[t],a=async([c,l,u])=>{this.config.details&&(n.rules=n.rules??[]);const d={...n,variantHandlers:u},f=this.config.rulesStaticMap[l];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,v,x]=h;if(x?.internal&&!r)continue;let C=l;if(x?.prefix){const w=H(x.prefix);if(o){const j=H(o);if(!w.some(E=>j.includes(E)))continue}else{const j=w.find(E=>l.startsWith(E));if(j==null)continue;C=l.slice(j.length)}}const y=C.match(m);if(!y)continue;let $=await v(y,d);if(!$)continue;if(typeof $!="string")if(Symbol.asyncIterator in $){const w=[];for await(const j of $)j&&w.push(j);$=w}else Symbol.iterator in $&&!Array.isArray($)&&($=Array.from($).filter(xt));const z=this.resolveCSSResult(c,$,h,d);if(z)return z}},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s.length)return s}resolveCSSResult=(t,n,r,o)=>{const i=Ac(n).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(r),o.generator.activatedRules.add(r);const a=r[2];return i.map(s=>{if(re(s))return[a.__index,s,a];let c=o.variantHandlers,l=a;for(const u of s)u[0]===le.variants?typeof u[1]=="function"?c=u[1](c)||c:c=[...H(u[1]),...c]:u[0]===le.parent?c=[{parent:u[1]},...c]:u[0]===le.selector?c=[{selector:u[1]},...c]:u[0]===le.layer?c=[{layer:u[1]},...c]:u[0]===le.sort?l={...l,sort:u[1]}:u[0]===le.noMerge?l={...l,noMerge:u[1]}:u[0]===le.body&&(u[0]=Xa);return[a.__index,t,s,l,c]})}};stringifyUtil(t,n){if(!t)return;if(qo(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),o=[];for(const i of r){const{selector:a,entries:s,parent:c,layer:l,sort:u,noMerge:d}=i,f=lr(s);if(!f)continue;const{layer:h,sort:m,...v}=t[3]??{},x={...v,layer:l??h,sort:u??m};o.push([t[0],a,f,c,x,this.config.details?n:void 0,d])}return o}async expandShortcut(t,n,r=5){if(r===0)return;const o=this.config.details?l=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(l)}:Cc;let i,a,s,c;for(const l of this.config.shortcuts){let u=t;if(l[2]?.prefix){const f=H(l[2].prefix).find(h=>t.startsWith(h));if(f==null)continue;u=t.slice(f.length)}if(Tc(l)){if(l[0]===u){i=i||l[2],a=l[1],o(l);break}}else{const d=u.match(l[0]);if(d&&(a=l[1](d,n)),a){i=i||l[2],o(l);break}}}if(a&&(s=Ve(H(a).filter(re).map(l=>Qa(l.trim()).split(/\s+/g)).flat()),c=H(a).filter(l=>!re(l)).map(l=>({handles:[],value:l}))),!a){const l=re(t)?await this.matchVariants(t):[t];for(const u of l){const[d,f,h]=u;if(d!==f){const m=await this.expandShortcut(f,n,r-1);m&&(s=m[0].filter(re).map(v=>d.replace(f,v)),c=m[0].filter(v=>!re(v)).map(v=>({handles:[...v.handles,...h],value:v.value})))}}}if(!(!s?.length&&!c?.length))return[[await Promise.all(H(s).map(async l=>(await this.expandShortcut(l,n,r-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(t,n,r,o={layer:this.config.shortcutsLayer}){const i=new Ec,a=(await Promise.all(Ve(r).map(async u=>{const d=re(u)?await this.parseUtil(u,n,!0,o.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]),[s,,c]=t,l=[];for(const u of a){if(qo(u)){l.push([u[0],void 0,u[1],void 0,u[2],n,void 0]);continue}const d=Object.fromEntries(u[2])[le.shortcutsNoMerge],f=[...u[4],...d?[]:c];for(const{selector:h,entries:m,parent:v,sort:x,noMerge:C,layer:y}of this.applyVariants(u,f,s))i.getFallback(y??o.layer,new zc).getFallback(h,v,[[],u[0]])[0].push([m,!!(C??u[3]?.noMerge),x??0])}return l.concat(i.flatMap((u,d)=>u.map(([f,h],m,v)=>{const x=(y,$,z)=>{const w=Math.max(...z.map(E=>E[1])),j=z.map(E=>E[0]);return(y?[j.flat(1)]:j).map(E=>{const b=lr(E);if(b)return[h,m,b,v,{...o,noMerge:$,sort:w,layer:d},n,void 0]})};return[[f.filter(([,y])=>y).map(([y,,$])=>[y,$]),!0],[f.filter(([,y])=>!y).map(([y,,$])=>[y,$]),!1]].map(([y,$])=>[...x(!1,$,y.filter(([z])=>z.some(w=>w[0]===le.shortcutsNoMerge))),...x(!0,$,y.filter(([z])=>z.every(w=>w[0]!==le.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 o=Array.isArray(r)?r[0]:r;return typeof o=="function"?o(t):re(o)?o===t:o.test(t)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function Wc(e,t){return await yo.create(e,t)}const ko=/\s\$\$\s+/g;function Bc(e){return ko.test(e)}function Uc(e,t){return Bc(e)?e.replace(ko,t?` ${t} `:" "):t?`${t} ${e}`:e}const Xo=/^\[(.+?)(~?=)"(.*)"\]$/;function Vc(e){return Xo.test(e)?e.replace(Xo,(t,n,r,o)=>`[${sr(n)}${r}"${sr(o)}"]`):`.${sr(e)}`}function qc(e,t){return t(e)}function Hc(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function Qo(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Zo(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Jo=["Webkit","Moz","ms"];function Gc(e){const t={};function n(r){const o=t[r];if(o)return o;let i=Hc(r);if(i!=="filter"&&i in e)return t[r]=Zo(i);i=Qo(i);for(let a=0;a<Jo.length;a++){const s=`${Jo[a]}${i}`;if(s in e)return t[r]=Zo(Qo(s))}return r}return({entries:r})=>r.forEach(o=>{o[0].startsWith("--")||(o[0]=n(o[0]))})}function Kc(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}async function j1(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,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=H(a.postprocess)).unshift(Gc(n.createElement("div").style)),i.configResolved?.(o,a);const c=await Wc(o,a),l=_=>i.inject?i.inject(_):r().prepend(_),u=()=>i.rootElement?i.rootElement():n.body,d=new Map;let f=!0;const h=new Set;let m,v,x=[];const C=()=>new Promise(_=>{x.push(_),v!=null&&clearTimeout(v),v=setTimeout(()=>z().then(()=>{const B=x;x=[],B.forEach(I=>I())}),0)});function y(_,B=!1){if(_.nodeType!==1)return;const I=_;I.hasAttribute(s)&&I.removeAttribute(s),B&&I.querySelectorAll(`[${s}]`).forEach(G=>{G.removeAttribute(s)})}function $(_,B){let I=d.get(_);if(!I)if(I=n.createElement("style"),I.setAttribute("data-unocss-runtime-layer",_),d.set(_,I),B==null)l(I);else{const G=$(B),ne=G.parentNode;ne?ne.insertBefore(I,G.nextSibling):l(I)}return I}async function z(){const _=[...h],B=await c.generate(_);return B.layers.reduce((G,ne)=>($(ne,G).innerHTML=B.getLayer(ne)??"",ne),void 0),_.filter(G=>!B.matched.has(G)).forEach(G=>h.delete(G)),{...B,getStyleElement:G=>d.get(G),getStyleElements:()=>d}}async function w(_){const B=h.size;await c.applyExtractors(_,void 0,h),B!==h.size&&await C()}async function j(_=u()){const B=_&&_.outerHTML;B&&(await w(`${B} ${Kc(B)}`),y(r()),y(_,!0))}const E=new MutationObserver(_=>{f||_.forEach(async B=>{if(B.target.nodeType!==1)return;const I=B.target;for(const G of d)if(I===G[1])return;if(B.type==="childList")B.addedNodes.forEach(async G=>{if(G.nodeType!==1)return;const ne=G;m&&!m(ne)||(await w(ne.outerHTML),y(ne))});else{if(m&&!m(I))return;if(B.attributeName!==s){const G=Array.from(I.attributes).map(Z=>Z.value?`${Z.name}="${Z.value}"`:Z.name).join(" "),ne=`<${I.tagName.toLowerCase()} ${G}>`;await w(ne)}y(I)}})});let b=!1;function k(){if(b)return;const _=i.observer?.target?i.observer.target():u();_&&(E.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function O(){i.bypassDefined&&Yc(c.blocked),j(),k()}function S(){n.readyState==="loading"?t.addEventListener("DOMContentLoaded",O):O()}const Q=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(_){re(_)||(_.forEach(B=>h.add(B)),_=""),await w(_)},extractAll:j,inspect(_){m=_},toggleObserver(_){_===void 0?f=!f:f=!!_,!b&&!f&&S()},update:z,presets:t.__unocss_runtime?.presets??{}};i.ready?.(Q)!==!1&&(f=!1,S())}function Yc(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(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}const es=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Xc(e={}){const t=e.prefix??"un-",n=e.prefixedOnly??!1,r=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:a}){const s=$c(i);if(!s)return;let c=s[1];if(c.startsWith(t))c=c.slice(t.length);else if(n)return;const l=s[2],[,u="",d=l]=l.match(es)||[];if(d==="~"||r&&d==="true"||!d)return`${u}${c}`;if(o==null){const f=a?.config?.separators?.join("|");f?o=new RegExp(`^(.*\\](?:${f}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,f,h]=l.match(o)||[];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 Qc=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Zc=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,ei=/[\s'"`;>]+/;function Jc(e){return{name:"attributify",extract:({content:t,cursor:n})=>{const r=t.matchAll(Qc);let o,i=0;for(const y of r){const[,$,z]=y,w=y.index+$.length;if(n>w&&n<=w+z.length){i=w,o=z;break}}if(!o)return null;const a=o.matchAll(Zc);let s=0,c,l;for(const y of a){const[$,z,w]=y,j=i+y.index;if(n>j&&n<=j+$.length){s=j,c=z,l=w?.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(l===void 0)return{extracted:d,resolveReplacement(y){const $=u?e.prefix.length:0;return{start:s+$,end:s+c.length,replacement:y}}};const f=s+c.length+2;let h=ei.exec(l),m=0,v;for(;h;){const[y]=h;if(n>f+m&&n<=f+m+h.index){v=l.slice(m,m+h.index);break}m+=h.index+y.length,h=ei.exec(l.slice(m))}v===void 0&&(v=l.slice(m));const[,x="",C]=v.match(es)||[];return{extracted:`${x}${d}-${C}`,transformSuggestions(y){return y.filter($=>$.startsWith(`${x}${d}-`)).map($=>x+$.slice(x.length+d.length+1))},resolveReplacement(y){return{start:m+f,end:m+f+v.length,replacement:x+y.slice(x.length+d.length+1)}}}}}}const eu=["v-bind:",":"],ti=/[\s'"`;]+/g,cr=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,tu=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,ts=["placeholder","fill","opacity","stroke-opacity"];function nu(e){const t=e?.ignoreAttributes??ts,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(cr)).flatMap(i=>Array.from((i[1]||"").matchAll(tu))).flatMap(([,i,...a])=>{const s=a.filter(Boolean).join("");if(t.includes(i))return[];for(const c of eu)if(i.startsWith(c)){i=i.slice(c.length);break}if(!s){if(Hr(i)&&n!==!1){const c=[`[${i}=""]`];return r&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?s.split(ti).filter(Hr):cr.test(s)?(cr.lastIndex=0,this.extract({code:s})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:s.split(ti).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}const T1=(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;const t=[Xc(e)],n=[nu(e)],r=[Jc(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:n,options:e,autocomplete:{extractors:r},extractorDefault:e.strict?!1:void 0}},ru="modulepreload",ou=function(e,t){return new URL(e,t).href},ni={},iu=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=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"),s=document.querySelector("meta[property=csp-nonce]"),c=s?.nonce||s?.getAttribute("nonce");o=l(n.map(u=>{if(u=ou(u,r),u in ni)return;ni[u]=!0;const d=u.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(r)for(let m=a.length-1;m>=0;m--){const v=a[m];if(v.href===u&&(!d||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":ru,d||(h.as="script"),h.crossOrigin="",h.href=u,c&&h.setAttribute("nonce",c),document.head.appendChild(h),d)return new Promise((m,v)=>{h.addEventListener("load",m),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Gr="__TAGIFY__",au=/<([\w:-]+)/g;function su(e){const{prefix:t="",excludedTags:n=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:r}){return Array.from(r.matchAll(au)).filter(({1:o})=>{for(const i of n)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${Gr}${o}`)}}}function lu(e){const{extraProperties:t}=e,n=`${Gr}${e.prefix??""}`;return{name:"tagify",match(r){if(!r.startsWith(n))return;const o=r.slice(n.length),i={matcher:o,selector:a=>a.slice(Gr.length+1)};return t&&(typeof t=="function"?i.body=a=>[...a,...Object.entries(t(o)??{})]:i.body=a=>[...a,...Object.entries(t)]),i}}}const _1=(e={})=>{const{defaultExtractor:t=!0}=e,n=[lu(e)],r=[su(e)];return{name:"@unocss/preset-tagify",variants:n,extractors:r,extractorDefault:t?void 0:!1}};var cu=44,uu=59,ri="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ns=new Uint8Array(64),pu=new Uint8Array(128);for(let e=0;e<ri.length;e++){const t=ri.charCodeAt(e);ns[e]=t,pu[t]=e}function Lt(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let o=r&31;r>>>=5,r>0&&(o|=32),e.write(ns[o])}while(r>0);return t}var oi=1024*16,ii=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}},du=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(oi)}write(e){const{buffer:t}=this;t[this.pos++]=e,this.pos===oi&&(this.out+=ii.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+ii.decode(e.subarray(0,n)):t}};function fu(e){const t=new du;let n=0,r=0,o=0,i=0;for(let a=0;a<e.length;a++){const s=e[a];if(a>0&&t.write(uu),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){const u=s[l];l>0&&t.write(cu),c=Lt(t,u[0],c),u.length!==1&&(n=Lt(t,u[1],n),r=Lt(t,u[2],r),o=Lt(t,u[3],o),u.length!==4&&(i=Lt(t,u[4],i)))}}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),o=this.original.slice(n);this.original=r;const i=new en(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}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 hu(){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 mu=hu();class gu{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=fu(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,"+mu(this.toString())}}function bu(e){const t=e.split(`
|
|
4
|
-
`),n=t.filter(i=>/^\t+/.test(i)),r=t.filter(i=>/^ {2,}/.test(i));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return" ";const o=r.reduce((i,a)=>{const s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function yu(e,t){const n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let o=n.length;for(;o--;)n[o]=".."}return n.concat(r).join("/")}const ku=Object.prototype.toString;function vu(e){return ku.call(e)==="[object Object]"}function ai(e){const t=e.split(`
|
|
5
|
-
`),n=[];for(let r=0,o=0;r<t.length;r++)n.push(o),o+=t[r].length+1;return function(o){let i=0,a=n.length;for(;i<a;){const l=i+a>>1;o<n[l]?a=l:i=l+1}const s=i-1,c=o-n[s];return{line:s,column:c}}}const xu=/\w/;class wu{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,o){if(n.length){const i=n.length-1;let a=n.indexOf(`
|
|
6
|
-
`,0),s=-1;for(;a>=0&&i>a;){const l=[this.generatedCodeColumn,t,r.line,r.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=n.indexOf(`
|
|
7
|
-
`,a+1)}const c=[this.generatedCodeColumn,t,r.line,r.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(n.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(t,n,r,o,i){let a=n.start,s=!0,c=!1;for(;a<n.end;){if(r[a]===`
|
|
8
|
-
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,c=!1;else{if(this.hires||s||i.has(a)){const l=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?xu.test(r[a])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,s=!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 vo{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 vo(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 o=n.next,i=o&&o.clone();i&&(r.next=i,i.previous=r,r=i),n=o}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),o=new wu(t.hires),i=ai(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{const s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(n,a.content,s,a.storeName?r.indexOf(a.original):-1):o.addUneditedChunk(n,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),this.outro&&o.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?yu(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:r,mappings:o.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(t){return new gu(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=bu(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(vu(t)&&(n=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;n=n||{};const o={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=n.indentStart!==!1;const a=l=>i?`${t}${l}`:(i=!0,l);this.intro=this.intro.replace(r,a);let s=0,c=this.firstChunk;for(;c;){const l=c.end;if(c.edited)o[s]||(c.content=c.content.replace(r,a),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
11
|
-
`));else for(s=c.start;s<l;){if(!o[s]){const u=this.original[s];u===`
|
|
12
|
-
`?i=!0:u!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(t))}s+=1}s=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 o=this.byStart[t],i=this.byEnd[n],a=o.previous,s=i.next,c=this.byStart[r];if(!c&&i===this.lastChunk)return this;const l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,n,r,o){return o=o||{},this.update(t,n,r,{...o,overwrite:!o.contentOnly})}update(t,n,r,o){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),o===!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),o={storeName:!0});const i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){const l=this.original.slice(t,n);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}const s=this.byStart[t],c=this.byEnd[n];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(r,i,!a)}else{const l=new en(t,n,"").edit(r,i);c.next=l,l.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="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<n&&o.end>=n)return r;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(r+=o.intro);const a=o.start<n&&o.end>=n;if(a&&o.edited&&o.end!==n)throw new Error(`Cannot use replaced character ${n} as slice end anchor.`);const s=i===o?t-o.start:0,c=a?o.content.length+n-o.end:o.content.length;if(r+=o.content.slice(s,c),o.outro&&(!a||o.end===n)&&(r+=o.outro),a)break;o=o.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 o=t>n.end;for(;n;){if(n.contains(t))return this._splitChunk(n,t);if(n=o?this.byStart[n.end]:this.byEnd[n.start],n===r)return;r=n}}_splitChunk(t,n){if(t.edited&&t.content.length){const o=ai(this.original)(n);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.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 o=r.end,i=r.trimEnd(n);if(r.end!==o&&(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),i)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 o=r.end,i=r.trimStart(n);if(r.end!==o&&(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),i)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(i,a){return typeof n=="string"?n.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):n(...i,i.index,a,i.groups)}function o(i,a){let s;const c=[];for(;s=i.exec(a);)c.push(s);return c}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){const s=r(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{const i=this.original.match(t);if(i&&i.index!=null){const a=r(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(t,n){const{original:r}=this,o=r.indexOf(t);return o!==-1&&(typeof n=="function"&&(n=n(t,o,r)),t!==n&&this.overwrite(o,o+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,o=t.length;for(let i=r.indexOf(t);i!==-1;i=r.indexOf(t,i+o)){const a=r.slice(i,i+o);let s=n;typeof n=="function"&&(s=n(a,i,r)),a!==s&&this.overwrite(i,i+o,s)}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 xo(e,t,n){if(e==="")return;const r=e.length;let o=0,i=!1,a=0;for(let s=0;s<r;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case n:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function Gn(e,t,n,r){if(e===""||(re(r)&&(r=[r]),r.length===0))return;const o=e.length;let i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case n:if(--i<0)return;break;default:for(const s of r){const c=s.length;if(c&&s===e.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[e.slice(0,a),e.slice(a+c)]}}return[e,""]}function tt(e,t,n,r="(",o=")"){n=n??10;const i=[];let a=0;for(;e!=="";){if(++a>n)return;const s=Gn(e,r,o,t);if(!s)return;const[c,l]=s;i.push(c),e=l}if(i.length>0)return i}const wo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],$u=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Su=["hsl","hwb","lch","oklch"],Cu=["shorter","longer","increasing","decreasing"],rs=["%alpha","<alpha-value>"],os=new RegExp(rs.map(e=>Jt(e)).join("|"),"g");function si(e){return e?$u.some(t=>e.includes(t))||Su.some(t=>e.includes(t))||Cu.some(t=>e.includes(t)):!1}function wt(e=""){const t=zu(e);if(t==null||t===!1)return;const{type:n,components:r,alpha:o}=t,i=n.toLowerCase();if(r.length!==0&&!(wo.includes(i)&&![1,3].includes(r.length)))return{type:i,components:r.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function tn(e,t){if(typeof e=="string")return e.replace(os,`${t??1}`);const{components:n}=e;let{alpha:r,type:o}=e;return r=t??r,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${n.join(", ")}${r==null?"":`, ${r}`})`:(r=r==null?"":` / ${r}`,wo.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}function zu(e){if(!e)return;let t=Eu(e);if(t!=null||(t=Au(e),t!=null)||(t=Ou(e),t!=null)||(t=Tu(e),t!=null)||(t=_u(e),t!=null))return t}function Eu(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 Au(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Ou(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,n,r]=t,o=tt(r,",",5);if(o){if([3,4].includes(o.length))return{type:n,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const ju=new RegExp(`^(${wo.join("|")})\\((.+)\\)$`,"i");function Tu(e){const t=e.match(ju);if(!t)return;const[,n,r]=t,o=is(`${n} ${r}`);if(o){const{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function _u(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const n=is(t[1]);if(n){const{alpha:r,components:[o,...i]}=n;return{type:o,components:i,alpha:r}}}function is(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 i=t.splice(n-2);t.push(i.join(" ")),--n}const r=tt(t[n-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:t};const o=r.pop();return t[n-1]=r.join("/"),{components:t,alpha:o}}const Lu=/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(Lu));if(!r.length)return e;const o=new vo(e);for(const i of r){const a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");const s=ls(a,t,n);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ls(e,t,n=!0){const[r,o]=e.split("/");let a=r.trim().split(".").reduce((s,c)=>s?.[c],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){const s=wt(a);s&&(a=tn(s,o))}return a}else if(n)throw new Error(`theme of "${e}" did not found`)}function Fn(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",n=e.slice(t.length);if(n==="px"){const r=Number.parseFloat(t)-.1;return Number.isNaN(r)?e:`${r}${n}`}return`calc(${e} - 0.1px)`}function Pu(e){const t=function(r,o){const i=this.__options?.sequence||[];this.__options.sequence=[];for(const a of i){const s=e[a](r,o);if(s!=null)return s}};function n(r,o){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(o),r}for(const r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}function Mu(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),Ru=["not","is","where","has"],ps=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),Kr=Object.entries(Tt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Yr=Object.entries(_t).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),st=Ru.join("|"),li=Object.keys(ps).sort((e,t)=>t.length-e.length).join("|"),Fu=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ci=Object.entries(Tt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ui=Object.entries(_t).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Iu(e,t,n,r){const{h:o,variantGetBracket:i}=r,a=new RegExp(`^(${Jt(t)}:)(\\S+)${Jt(n)}\\1`);let s,c,l,u;const d=m=>{const v=i(`${e}-`,m,[]);if(!v)return;const[x,C]=v,y=o.bracket(x);if(y==null)return;const $=C.split(s,1)?.[0]??"",z=`${t}${Se($)}`;return[$,m.slice(m.length-(C.length-$.length-1)),y.includes("&")?y.replace(/&/g,z):`${z}${y}`]},f=m=>{const v=m.match(c)||m.match(l);if(!v)return;const[x,C,y]=v,$=v[3]??"";let z=Tt[y]||_t[y]||`:${y}`;return C&&(z=`:${C}(${z})`),[$,m.slice(x.length),`${t}${Se($)}${z}`,y]},h=m=>{const v=m.match(u);if(!v)return;const[x,C,y]=v,$=v[3]??"",z=`:${C}(${y})`;return[$,m.slice(x.length),`${t}${Se($)}${z}`]};return{name:`pseudo:${e}`,match(m,v){if(s&&c&&l||(s=new RegExp(`(?:${v.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${st})-)?(${Kr}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${st})-)?(${Yr}))(?:(/[\\w-]+))?(?:${v.generator.config.separators.filter(w=>w!=="-").join("|")})`),u=new RegExp(`^${e}-(?:(${st})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${v.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!m.startsWith(e))return;const x=d(m)||f(m)||h(m);if(!x)return;const[C,y,$,z=""]=x;return{matcher:y,handle:(w,j)=>j({...w,prefix:`${$}${n}${w.prefix}`.replace(a,"$1$2:"),sort:cs.indexOf(z)??us.indexOf(z)})}},multiPass:!0}}function Nu(e){const{h:t}=e;let n,r,o;return[{name:"pseudo",match(i,a){n&&r||(n=new RegExp(`^(${ci})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),r=new RegExp(`^(${ui})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));const s=i.match(n)||i.match(r);if(s){let c=Tt[s[1]]||_t[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=t.bracket(s[2]):u=s[2],u&&(c=c.replace(Bt,u))}let l=cs.indexOf(s[1]);return l===-1&&(l=us.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{const f=c.includes("::")&&!Fu.includes(c)?{pseudo:`${u.pseudo}${c}`}:{selector:`${u.selector}${c}`};return d({...u,...f,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ci}|${ui}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${li})(?:${a.generator.config.separators.join("|")})`));const s=i.match(o);if(s)return ps[s[1]].map(l=>({matcher:i.slice(s[0].length),handle:(u,d)=>d({...u,pseudo:`${u.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${li}):`}]}function Du(e){const{getBracket:t,h:n}=e;let r,o,i;return{match(a,s){r&&o||(r=new RegExp(`^(${st})-(${Kr})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${st})-(${Yr})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${st})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));const c=a.match(r)||a.match(o)||a.match(i);if(c){const l=c[1],d=t(c[2],"[","]")?n.bracket(c[2]):Tt[c[2]]||_t[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:f=>`${f}:${l}(${d})`}}},multiPass:!0,autocomplete:`(${st})-(${Kr}|${Yr}):`}}function Wu(e,t){const n=!!e?.attributifyPseudo;let r=e?.prefix??"";r=Se((Array.isArray(r)?r:[r]).filter(Boolean)[0]??"");const o=(i,a)=>Iu(i,n?`[${r}${i}=""]`:`.${r}${i}`,a,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const Bu=/(part-\[(.+)\]:)(.+)/;function Uu(){return{match(e){const t=e.match(Bu);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(o,i){r||(r=new RegExp(`^${Jt(e)}(?:${i.generator.config.separators.join("|")})`));const a=o.match(r);if(a){const s=o.slice(a[0].length),c=H(t).map(l=>({matcher:s,handle:(u,d)=>d({...u,...l(u)}),...n}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function ve(e,t){let n;return{name:e,match(r,o){n||(n=new RegExp(`^${Jt(e)}(?:${o.generator.config.separators.join("|")})`));const i=r.match(n);if(i)return{matcher:r.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function ln(e,t,n){if(t.startsWith(`${e}[`)){const[r,o]=xo(t.slice(e.length),"[","]")??[];if(r&&o){for(const i of n)if(o.startsWith(i))return[r,o.slice(i.length),i];return[r,o,""]}}}function Ee(e,t,n){for(const r of H(e))if(t.startsWith(r)){const o=ln(r,t,n);if(o){const[i="",a=o[1]]=Ee("/",o[1],n)??[];return[o[0],a,i]}for(const i of n.filter(a=>a!=="/")){const a=t.indexOf(i,r.length);if(a!==-1){const s=t.indexOf("/",r.length),c=s===-1||a<=s;return[t.slice(r.length,c?a:s),t.slice(a+i.length),c?"":t.slice(s+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"]],Vu={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`,qu={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)"}},Xr={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 Hu(e){const t=Kt(Vu);if(e)for(const n in e){const[r,o]=H(e[n]),[i,a]=t[n];t[n]=[r??i,o??a]}return t}function Gu(e){return e?Et(Xr,e):Xr}function pi(e,t){const n=t.selectorName||"prose",r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,o=t.important===!0;let i="";for(const[a,s]of Object.entries(e))if(typeof s!="object")i+=`${a}:${s}${o?" !important":""};`;else{const[c,l]=a.split("::"),u=`:where(${c})${r}${l?`::${l}`:""}`;i+=`${u} {`;for(const[d,f]of Object.entries(s))i+=`${d}:${f}${o?" !important":""};`;i+="}"}return i}function Ku(e){for(const[t,...n]of ds)if(t===e)return n.length>0?n:[t]}const L1=e=>{const t=e?.selectorName??"prose",n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,r=e?.cssVarPrefix??"--un-prose",o=Hu(e?.colorScheme),i=Gu(e?.sizeScheme),a=(d,f)=>{const h=typeof e?.cssExtend=="function"?e?.cssExtend(f):e?.cssExtend;return Et(d,h??{})},s=d=>(typeof e?.important=="string"&&(d=`${e.important} ${d}`),e?.compatibility?.noColonIs||(d=`:is(${d})`),d),c=new RegExp(`^${t}-default$`),l=new RegExp(`^${t}-([-\\w]+)$`),u=new RegExp(`^${t}-(${Object.keys(i).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=a(Et(qu,Xr.base),h),v=pi(m,e??{});return{[f.body]:v,[f.selector]:s}},{layer:"typography",autocomplete:"prose",internal:!0}],[l,([,d],{theme:f,symbols:h})=>{const m=f.colors?.[d];return!m||typeof m!="object"?void 0:["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]:s}:Object.entries(o).reduce((x,[C,y])=>{const[$,z]=y,w=O=>m[O]??f[O]??O,j=w($),E=w(z),b=`${r}-${C}`,k=`${r}-invert-${C}`;x[b]=tn(j,`var(${b}-opacity)`),x[k]=tn(E,`var(${k}-opacity)`);for(const[O,S]of[[j,`${b}-opacity`],[E,`${k}-opacity`]])rs.some(Q=>O.includes(Q))&&(x[S]="1");return x},{[h.selector]:s})},{layer:"typography",autocomplete:`${t}-$colors`}],[u,([,d],{symbols:f,theme:h})=>{const m=pi(a(i[d],h),e??{});return{[f.body]:m,[f.selector]:s}},{layer:"typography",autocomplete:`${t}-(${Object.keys(i).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)`,[le.selector]:s}],{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=Ku(h);if(m?.length)return{matcher:d.slice(t.length+h.length+2),selector:v=>{const x=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?m.map(y=>`${v} ${y}`).join(","):`${v} :is(:where(${m})${x})`}}}}},autocomplete:`${t}-(${ds.map(d=>`${d[0]}:`).join("|")})`}]}};var Yu={};function Xu(e,t){return{name:e,getImportUrl(n){const r=n.map(o=>{const{name:i,weights:a,italic:s}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!a?.length)return`${c}${s?":i":""}`;let l=a.map(d=>d.toString());return!l.some(d=>d.endsWith("i"))&&s&&(l=l.map(d=>d+="i")),`${c}:${l.join(",")}`});return`${t}/css?family=${r.join("|")}&display=swap`}}}const Qu=Xu("bunny","https://fonts.bunny.net");function Zu(e){if(!e||e.length===0)return"";let t=[[]];for(const{values:n}of e){const r=[];for(const o of t)for(const i of n)r.push([...o,i]);t=r}return t.map(n=>n.join(",")).join(";")}function fs(e,t){return{name:e,getImportUrl(n){const r=n.map(o=>{let i=o.name.replace(/\s+/g,"+");const a=[];return o.italic&&a.push({axis:"ital",values:["0","1"]}),o.widths?.length&&a.push({axis:"wdth",values:o.widths.map(s=>s.toString())}),o.weights?.length&&a.push({axis:"wght",values:o.weights.map(s=>s.toString())}),a.length&&(i+=":",i+=a.map(s=>s.axis).join(","),i+="@",i+=Zu(a)),`family=${i}`}).join("&");return`${t}/css2?${r}&display=swap`}}}const Ju=fs("google","https://fonts.googleapis.com"),ep=fs("coollabs","https://api.fonts.coollabs.io"),tp=np("fontshare","https://api.fontshare.com");function np(e,t){return{name:e,getImportUrl(n){const r=n.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(a=>o.italic?Number(a)+1:a).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${r}&display=swap`}}}function rp(e,t){const n=new Map,r=new Map;return{name:e,async getPreflight(o,i){return(await Promise.all(o.map(async s=>{const c=[],l=s.name.toLowerCase().replace(/\s+/g,"-");let u=n.get(l);if(!u){const C=`https://api.fontsource.org/v1/fonts/${l}`;try{u=await i(C),n.set(l,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:d,unicodeRange:f,variants:h,family:m}=u,v=u.subsets.filter(C=>s.subsets?s.subsets.includes(C):!0),x=s.italic?"italic":"normal";if(u.variable&&!s.preferStatic){let C=r.get(l);const y=`https://api.fontsource.org/v1/variable/${l}`;try{C=await i(y),r.set(l,C)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const $=Et(C.axes,s.variable??{});for(const z of v)if(f[z]){const w=`${t}/fontsource/fonts/${u.id}:vf@latest/${z}-wght-${x}.woff2`,j={family:m,display:"swap",style:x,weight:400,src:[{url:w,format:"woff2-variations"}],variable:{wght:$.wght??void 0,wdth:$.wdth??void 0,slnt:$.slnt??void 0},unicodeRange:f[z],comment:`${u.id}-${z}-wght-normal`};c.push(ur(j))}else Object.entries(f).filter(([w])=>!u.subsets.includes(w)).forEach(([w,j])=>{const E=`${t}/fontsource/fonts/${u.id}:vf@latest/${w.slice(1,-1)}-wght-${x}.woff2`,b={family:m,display:"swap",style:x,weight:400,src:[{url:E,format:"woff2-variations"}],variable:{wght:$.wght??void 0,wdth:$.wdth??void 0,slnt:$.slnt??void 0},unicodeRange:j,comment:`${u.id}-${w}-wght-normal`};c.push(ur(b))})}else{const C=s.weights&&s.weights.length>0?s.weights:d;for(const y of v)for(const $ of C){const z=h[$][x][y].url,w={family:m,display:"swap",style:x,weight:Number($),src:[{url:z.woff2,format:"woff2"}],unicodeRange:f[y],comment:`${u.id}-${y}-${$}-${x}`};c.push(ur(w))}}return c}))).flat().join(`
|
|
13
|
-
|
|
14
|
-
`)}}}const op=rp("fontsource","https://cdn.jsdelivr.net");function ur(e){const{family:t,style:n,display:r,weight:o,variable:i,src:a,unicodeRange:s,comment:c,spacer:l=`
|
|
15
|
-
`}=e,{wght:u,wdth:d,slnt:f}=i??{};let h="@font-face {";return h+=`${l}font-family: '${t}';`,h+=`${l}font-style: ${f?`oblique ${Number(f.max)*-1}deg ${Number(f.min)*-1}deg`:n};`,h+=`${l}font-display: ${r};`,h+=`${l}font-weight: ${u?ip(u):o};`,d&&(h+=`${l}font-stretch: ${d.min}% ${d.max}%;`),h+=`${l}src: ${a.map(({url:m,format:v})=>`url(${m}) format('${v}')`).join(", ")};`,s&&(h+=`${l}unicode-range: ${s};`),c&&(h=`/* ${c} */
|
|
16
|
-
${h}`),`${h}
|
|
17
|
-
}`}function ip(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}const ap={name:"none",getPreflight(){return""},getFontName(e){return e.name}},sp={google:Ju,bunny:Qu,fontshare:tp,fontsource:op,coollabs:ep,none:ap};function di(e){return typeof e=="string"?sp[e]:e}function lp(e,t){if(typeof e!="string")return e.provider=di(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e.widths&&(e.widths=[...new Set(e.widths.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[n,r=""]=e.split(":");return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:di(t)}}function cp(e){return(t={})=>{const{provider:n="google",extendTheme:r=!0,inlineImports:o=!0,customFetch:i=e,timeouts:a={}}=t,s="fonts",c=o?s:Ga,l=H(t.processors||[]),u=Object.fromEntries(Object.entries(t.fonts||{}).map(([y,$])=>[y,H($).map(z=>lp(z,n))])),d=Object.values(u).flatMap(y=>y),f={};async function h(y){if(a===!1)return i(y);const{warning:$=1e3,failure:z=2e3}=a;let w=!1;const j=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${y}`),w=!0},$);return await Promise.race([i(y),new Promise((E,b)=>{setTimeout(()=>b(new Error("[unocss] Fetch web fonts timeout.")),z)})]).then(E=>(w&&console.info("[unocss] Web fonts fetched."),E)).finally(()=>clearTimeout(j))}async function m(y){return o?(f[y]||(f[y]=h(y).catch($=>{if(console.error(`[unocss] Failed to fetch web fonts: ${y}`),console.error($),typeof process<"u"&&Yu.CI)throw $})),await f[y]):`@import url('${y}');`}const v=Array.from(new Set(d.map(y=>y.provider)));async function x(y,$){const z=[];for(const j of $){const E=y.filter(b=>b.provider.name===j.name);if(j.getImportUrl){const b=j.getImportUrl(E);b&&z.push(await m(b))}try{z.push(await j.getPreflight?.(E,h))}catch(b){console.warn("[unocss] Web fonts preflight fetch failed.",b)}}return z.filter(Boolean).join(`
|
|
18
|
-
`)}const C={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let y;for(const $ of l){const z=await $.getCSS?.(d,v,x);if(z){y=z;break}}y||(y=await x(d,v));for(const $ of l)y=await $.transformCSS?.(y)||y;return y},layer:c}],layers:{[s]:-200}};return r&&(C.extendTheme=(y,$)=>{const z=$.presets.some(E=>E.name==="@unocss/preset-wind4"),w=t.themeKey??(z?"font":"fontFamily");y[w]||(y[w]={});const j=Object.fromEntries(Object.entries(u).map(([E,b])=>[E,b.map(k=>k.provider.getFontName?.(k)??`"${k.name}"`)]));for(const E of Object.keys(j))typeof y[w][E]=="string"?y[w][E]=j[E].map(b=>`${b},`).join("")+y[w][E]:y[w][E]=j[E].join(",")}),C}}const up="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",pp=async e=>(await iu(async()=>{const{$fetch:t}=await import("./index-Cnxttila.js").then(n=>n.i);return{$fetch:t}},__vite__mapDeps([0,1,2,3,4]),import.meta.url)).$fetch(e,{headers:{"User-Agent":up},retry:3}),P1=cp(pp);function dp(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 fp(e,t,n,r){for(const o of Array.from(e.matchAll(n)))if(o!=null){const i=o[0],a=`${r}${dp(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function hp(e,t){for(const[n,r]of t.entries())e=e.replaceAll(n,r);return e}const mp=/\/\/#\s*sourceMappingURL=.*\n?/g;function gp(e){return e.includes("sourceMappingURL=")?e.replace(mp,""):e}const bp=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,yp=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,kp=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function vp(e){const t=[];for(const o of e.matchAll(yp))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(bp))t.push(o[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return e=fp(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(Ka).forEach(o=>{o.includes(r)&&(o=hp(o,n)),Hr(o)&&!kp.test(o)&&t.push(o)}),t}function xp(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return vp(gp(e))}}}const wp="@unocss/preset-wind4",Qr="$$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"]},fi={...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"]},$p=["x","y","z"],hi=["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({},...hi.map(e=>({[e.replace(/ /,"-")]:e})),...hi.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ie=["inherit","initial","revert","revert-layer","unset"],$o=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Sp=/^(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,Cp=/^(-?\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},So=/^\[(color|image|length|size|position|quoted|string|number|family):/i,zp=/,(?![^()]*\))/g,Ep=["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 Ap(e){const t=e.match(Yn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(r&&!Number.isNaN(o))return`${Me(o)}${r}`}function Op(e){if(e==="auto"||e==="a")return"auto"}function jp(e){if(!e)return;if(ms.test(e))return`${gs[e]}${e}`;const t=e.match(Yn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0":r?`${Me(o)}${r}`:`${Me(o/4)}rem`}function Tp(e){if(ms.test(e))return`${gs[e]}${e}`;const t=e.match(Yn);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return r?`${Me(o)}${r}`:`${Me(o)}px`}function bs(e){if(!Cp.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Me(t)}function _p(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=bs(e);if(t!=null)return`${t}%`}function Lp(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 mi(e,t,n,r){const o=nn(r,t,n),i=typeof o=="object"&&"DEFAULT"in o;i&&n.push("DEFAULT");const a=i?o.DEFAULT:o,s=i&&t!=="spacing"?`${e}.DEFAULT`:e;return a!=null&&F(t,n.length?n:void 0),{val:a,varKey:s}}function ut(e,t,n){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,o;const i=e.match(So);if(!i)r=e.slice(1,-1);else{if(!t)o=i[1];else if(i[1]!==t)return;r=e.slice(i[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const s=r.match(/^--([\w.-]+)\(([^)]+)\)$/);if(s!=null&&n){const[,c,l]=s,[u,...d]=c.split("."),{val:f,varKey:h}=mi(c,u,d,n);f!=null&&(r=`calc(var(--${Se(h.replaceAll(".","-"))}) * ${l})`)}else{const[c,l]=r.slice(2).split(","),u=l?`, ${l}`:"",d=Se(c);if(n){const[f,...h]=c.split("."),{val:m,varKey:v}=mi(c,f,h,n);r=m!=null?`var(--${Se(v.replaceAll(".","-"))}${u})`:`var(--${d}${u})`}else r=`var(--${d}${u})`}}let a=0;for(const s of r)if(s==="[")a+=1;else if(s==="]"&&(a-=1,a<0))return;if(a)return;switch(o){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,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{const c=[];return s.replace(/var\((--.+?)[,)]/g,(l,u)=>(c.push(u),l.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>c.shift())})}}function Pp(e,t){return ut(e,void 0,t)}function Mp(e,t){return ut(e,"color",t)}function Rp(e,t){return ut(e,"length",t)||ut(e,"size",t)}function Fp(e,t){return ut(e,"position",t)}function Ip(e,t){return ut(e,"family",t)}function Np(e,t){return ut(e,"number",t)}function Dp(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 Wp(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0&&!r?"0s":r?`${Me(o)}${r}`:`${Me(o)}ms`}function Bp(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0deg":r?`${Me(o)}${r}`:`${Me(o)}deg`}function Up(e){if(ie.includes(e))return e}function Vp(e){if(e.split(",").every(t=>Ep.includes(t)))return e}function qp(e){if(["top","left","right","bottom","center"].includes(e))return e}function Hp(e){if(e==="none")return"none"}const Gp={__proto__:null,auto:Op,bracket:Pp,bracketOfColor:Mp,bracketOfFamily:Ip,bracketOfLength:Rp,bracketOfNumber:Np,bracketOfPosition:Fp,cssvar:Dp,degree:Bp,fraction:Lp,global:Up,none:Hp,number:bs,numberWithUnit:Ap,percent:_p,position:qp,properties:Vp,px:Tp,rem:jp,time:Wp},Kp=Pu(Gp),g=Kp;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,o)=>`${r}${o}`){return(([r,o,i="4"],{theme:a})=>{if(i!=null&&o!=null){let s;const c=i.startsWith("-");if(c&&(i=i.slice(1)),s=Ce(i),s!=null&&!Number.isNaN(s))return F("spacing"),t[o].map(l=>[n(e,l),`calc(var(--spacing) * ${c?"-":""}${s})`]);if(a.spacing&&i in a.spacing)return F("spacing",i),t[o].map(l=>[n(e,l),c?`calc(var(--${Se(`spacing-${i}`)}) * -1)`:`var(--${Se(`spacing-${i}`)})`]);if(s=g.bracket.cssvar.global.auto.fraction.rem(c?`-${i}`:i,a),s!=null)return t[o].map(l=>[n(e,l),s])}})}function Xn(e,t){let n;const[r,...o]=tt(e,["/",":"],3)??[];if(r!=null){const v=(r.match(So)??[])[1];(v==null||v==="color")&&(n=[r,...o])}if(!n)return;let i,[a,s,c]=n;si(s)||si(g.bracket(s??""))?c=s:i=s;const l=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[u]=l;if(!u)return;let d=gi(t,l);if(!d&&l.length>=2){const v=l.at(-1),x=l.at(-2);if(/^\d+$/.test(v)){const C=l.slice(0,-2).concat([`${x}${v}`]);d=gi(t,C)}}let{no:f,keys:h,color:m}=d??{};if(!m){const v=g.bracketOfColor(a,t),x=v||a;if(g.numberWithUnit(x))return;/^#[\da-f]+$/i.test(x)?m=x:/^hex-[\da-fA-F]+$/.test(x)?m=`#${x.slice(4)}`:a.startsWith("$")&&(m=g.cssvar(a)),m=m||v}return{opacity:i,modifier:c&&g.bracket.cssvar(c)||c,name:u,no:f,color:m??Kn[u],alpha:g.bracket.cssvar.percent(i??""),keys:h,get cssColor(){return wt(this.color)}}}function gi(e,t){let n,r,o;const i=nn(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(n=i.DEFAULT,r="DEFAULT",o=[...t,r]):typeof i=="string"&&(n=i,o=t,r=t.at(-1)),!!n)return{color:n,no:r,keys:o}}function nn(e,t,n){const r=e[t];function o(i,a){if(a.length===0)return i;if(!(!i||typeof i!="object"))for(let s=a.length;s>0;s--){const c=a.slice(0,s).join("-");if(c in i){const l=i[c];return s===a.length?l:o(l,a.slice(s))}}}return o(r,n)}function ys(e,t,n,r){if(!e)return;const{color:o,keys:i,alpha:a,modifier:s}=e,c=r?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",l={};if(o){const u=[l],d=o.includes("var("),f=Object.values(Kn).includes(o);if(f&&!a)return l[t]=o,u;const h=`--un-${n}-opacity`,m=i&&!d&&!f?oe("colors",i):o;let v=s??(i?"in srgb":"in oklab");if(!v.startsWith("in ")&&!v.startsWith("var(")&&(v=`in ${v}`),l[t]=`color-mix(${v}, ${m} ${a??`var(${h})`}, transparent)${c}`,u.push(T(h,{syntax:"<percentage>",initialValue:"100%"})),!f){if(i&&!d&&(F("colors",i),!s)){const x=["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({[le.parent]:"@supports (color: color-mix(in lab, red, red))",[le.noMerge]:!0,[t]:`color-mix(in oklab, ${x}, transparent)${c}`})}r?.theme&&Zn(o,r.theme)}return u}}function te(e,t){return([,n],r)=>{const o=Xn(n??"",r.theme);if(o)return ys(o,e,t,r)}}function Co(e,t,n){const r=[];e=H(e);for(let o=0;o<e.length;o++){const i=tt(e[o]," ",6);if(!i||i.length<3)return e;let a=!1;const s=i.indexOf("inset");s!==-1&&(i.splice(s,1),a=!0);let c="";const l=i.at(-1);if(wt(i.at(0))){const u=wt(i.shift());u&&(c=tn(u))}else if(wt(l)){const u=wt(i.pop());u&&(c=tn(u))}else if(l&&l.startsWith("var(")){const u=i.pop();u&&(c=u)}r.push(`${a?"inset ":""}${i.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 bi=/[a-z]+/gi,pr=new WeakMap;function Qn({theme:e,generator:t},n="breakpoint"){const r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(pr.has(e))return pr.get(e);const o=Object.entries(r).sort((i,a)=>Number.parseInt(i[1].replace(bi,""))-Number.parseInt(a[1].replace(bi,""))).map(([i,a])=>({point:i,size:a}));return pr.set(e,o),o}function N(e,t){return ie.map(n=>[`${e}-${n}`,{[t??e]:n}])}function T(e,t={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=t,i={[le.shortcutsNoMerge]:!0,[le.noMerge]:!0,[le.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return o!=null&&(i["initial-value"]=o),Xp(e,o?String(o):"initial"),i}function cn(e){return e!=null&&$o.test(e)}function Yp(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),$o.test(e)||Yn.test(e)}function Zr(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 oe(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,...o]=n.split("-"),i=nn(t,r,o);typeof i=="string"&&(F(r,o),Zn(i,t))}}}const Ot=new Map;function Xp(e,t){Ot.has(e)||Ot.set(e,t)}function Qp({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 Zp({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 Jp(e){return[Qp,Zp].flatMap(t=>t(e))}const ed={name:"aria",match(e,t){const n=Ee("aria-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r)??t.theme.aria?.[r]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function ht(e){return{name:`${e}-aria`,match(t,n){const r=Ee(`${e}-aria-`,t,n.generator.config.separators);if(r){const[o,i,a]=r,s=g.bracket(o)??n.theme.aria?.[o]??"";if(s){const c={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${s}] ~ *)`,previous:`:where(*[aria-${s}] + &)`,parent:`:where(*[aria-${s}] > &)`,has:`&:has(*[aria-${s}])`,in:`:where(*[aria-${s}]) &`};return{matcher:i,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[e]})}}}},multiPass:!0}}const td=[ht("group"),ht("peer"),ht("parent"),ht("previous"),ht("has"),ht("in")],yi=/(max|min)-\[([^\]]*)\]:/;function nd(){const e={};return{name:"breakpoints",match(t,n){if(yi.test(t)){const o=t.match(yi);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const r=(Qn(n)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(const[o,i,a]of r){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${n.generator.config.separators.join("|")}))`));const s=t.match(e[o]);if(!s)continue;const[,c]=s,l=t.slice(c.length);if(l==="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:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${Fn(i)})`,parentOrder:f})}):(f+=a+1,d&&a<r.length-1?{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Fn(r[a+1][1])})`,parentOrder:f})}:{matcher:l,handle:(h,m)=>m({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:f})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const rd=[Le("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Le("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Mt(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;const o=r.generator.config.separators;let i=ln(`${e}-`,n,o);if(!i){for(const s of o)if(n.startsWith(`${e}${s}`)){i=["",n.slice(e.length+s.length)];break}if(!i)return}let a=g.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}const od=[Mt("all"," "),Mt("children",">"),Mt("next","+"),Mt("sibling","+"),Mt("siblings","~")],id=[Le("svg",e=>({selector:`${e.selector} svg`}))],ad={name:"@",match(e,t){if(e.startsWith("@container"))return;const n=Ee("@",e,t.generator.config.separators);if(n){const[r,o,i]=n,a=g.bracket(r);let s;if(a?s=g.numberWithUnit(a):s=t.theme.container?.[r]??"",s){let c=1e3+Object.keys(t.theme.container??{}).indexOf(r);return i&&(c+=1e3),{matcher:o,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function sd(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 ld=[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)")],cd={name:"data",match(e,t){const n=Ee("data-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r)??t.theme.data?.[r]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function mt(e){return{name:`${e}-data`,match(t,n){const r=Ee(`${e}-data-`,t,n.generator.config.separators);if(r){const[o,i,a]=r,s=g.bracket(o)??n.theme.data?.[o]??"";if(s){const c={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${s}] ~ *)`,previous:`:where(*[data-${s}] + &)`,parent:`:where(*[data-${s}] > &)`,has:`&:has(*[data-${s}])`,in:`:where(*[data-${s}]) &`};return{matcher:i,handle:(l,u)=>u({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[e]})}}}},multiPass:!0}}const ud=[mt("group"),mt("peer"),mt("parent"),mt("previous"),mt("has"),mt("in")],pd=[Le("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Le("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function dd(){let e;return{name:"important",match(t,n){e||(e=new RegExp(`^(important(?:${n.generator.config.separators.join("|")})|!)`));let r;const o=t.match(e);if(o?r=t.slice(o[0].length):t.endsWith("!")&&(r=t.slice(0,-1)),r)return{matcher:r,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}const fd=Le("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),hd=ve("noscript","@media (scripting: none)"),md={name:"scripting",match(e,t){const n=Ee(["script-","scripting-"],e,t.generator.config.separators);if(n){const[r,o]=n;if(["none","initial-only","enabled"].includes(r))return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${r})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},gd=ve("print","@media print"),bd={name:"media",match(e,t){const n=Ee("media-",e,t.generator.config.separators);if(n){const[r,o]=n;let i=g.bracket(r)??"";if(i===""&&(i=t.theme.media?.[r]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},yd=[ve("contrast-more","@media (prefers-contrast: more)"),ve("contrast-less","@media (prefers-contrast: less)")],kd=[ve("motion-reduce","@media (prefers-reduced-motion: reduce)"),ve("motion-safe","@media (prefers-reduced-motion: no-preference)")],vd=[ve("landscape","@media (orientation: landscape)"),ve("portrait","@media (orientation: portrait)")],xd=[ve("forced-colors","@media (forced-colors: active)")],wd={name:"selector",match(e,t){const n=ln("selector-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r);if(i)return{matcher:o,selector:()=>i}}}},$d={name:"layer",match(e,t){const n=Ee("layer-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r)??r;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Sd={name:"uno-layer",match(e,t){const n=Ee("uno-layer-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r)??r;if(i)return{matcher:o,layer:i}}}},Cd={name:"scope",match(e,t){const n=ln("scope-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},zd={name:"variables",match(e,t){if(!e.startsWith("["))return;const[n,r]=xo(e,"[","]")??[];if(!(n&&r))return;let o;for(const s of t.generator.config.separators)if(r.startsWith(s)){o=r.slice(s.length);break}if(o==null)return;const i=g.bracket(n)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){const l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},Ed={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))})}}}},Ad=[Le("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],Od={name:"implicit-group",match(e,t){const n=Ee("in-",e,t.generator.config.separators);if(n){const[r,o]=n,i=g.bracket(r)??r;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${i})) &`})}}}},vs=/^-?[0-9.]+(?:[a-z]+|%)?$/,xs=/-?[0-9.]+(?:[a-z]+|%)?/,jd=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function Td(e){const t=e.match($o)||e.match(Sp);if(t){const[n,r]=Gn(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(n)return`calc(${t[1]}${n} * -1)${r?` ${r}`:""}`}}const _d=/\b(hue-rotate)\s*(\(.*)/;function Ld(e){const t=e.match(_d);if(t){const[n,r]=Gn(t[2],"(",")"," ")??[];if(n){const o=vs.test(n.slice(1,-1))?n.replace(xs,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${n} * -1))`;return`${t[1]}${o}${r?` ${r}`:""}`}}}const Pd={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(r=>r[0]===Qr))return;let n=!1;return t.forEach(r=>{if(H(r[2]).includes(Qr))return;const o=r[1]?.toString();if(!o||o==="0"||jd.some(s=>s.test(r[0])))return;const i=Td(o);if(i){r[1]=i,n=!0;return}const a=Ld(o);if(a){r[1]=a,n=!0;return}vs.test(o)&&(r[1]=o.replace(xs,s=>s.startsWith("-")?s.slice(1):`-${s}`),n=!0)}),n?t:[]}}}},Md=(e,{theme:t})=>{const n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,r="",o,i]=n;if(nt(i,t)||Rd(i))return{matcher:`${r}placeholder-$ ${o}${i}`}}};function Rd(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?g.bracket.percent(t[1])!=null:!1}function Fd(){return Nu({h:g})}function Id(){return Du({getBracket:xo,h:g})}function Nd(e={}){return Wu(e,{h:g,variantGetBracket:ln})}const Dd=Uu(),Wd={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,n)=>n({...t,parent:"@starting-style"})}}},Bd={name:"supports",match(e,t){const n=Ee("supports-",e,t.generator.config.separators);if(n){const[r,o]=n;let i=g.bracket(r)??"";if(i===""&&(i=t.theme.supports?.[r]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Ud(e){return[ed,cd,$d,wd,Sd,Pd,Wd,dd(),Bd,hd,md,gd,bd,...yd,...kd,...vd,...xd,nd(),...od,...id,Md,...Fd(),Id(),...Nd(e),Dd,...sd(e),...ld,...pd,Cd,...rd,fd,ad,zd,...ud,...td,Ed,...Ad,Od].flat()}const ws={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(ws).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const Vd={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"}},qd={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"'},Hd={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Gd={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(",")},Kd={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"}},Yd={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Xd={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Qd={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Zd={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Jd={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)"},ef={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"},tf={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"},nf={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)"},rf={"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)"},of={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)"},af={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)"]},sf={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},lf={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)"}},cf={"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"},$s={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},uf={...$s},pf={grid:"(display: grid)"},df={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)"},ff={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(",")}},hf={font:Gd,colors:ws,spacing:ef,breakpoint:$s,verticalBreakpoint:uf,text:Kd,fontWeight:Yd,tracking:Xd,leading:Qd,textStrokeWidth:Zd,radius:tf,shadow:nf,insetShadow:rf,dropShadow:of,textShadow:af,ease:df,animation:Vd,blur:Hd,perspective:sf,property:ff,default:lf,container:cf,aria:qd,media:Jd,supports:pf},mf=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],gf=/@media \(min-width: (.+)\)/,bf=[[/^__container$/,(e,t)=>{const{theme:n,variantHandlers:r}=t,o=n.containers?.padding;let i;re(o)?i=o:i=o?.DEFAULT;const a=n.containers?.maxWidth;let s;for(const l of r){const u=l.handle?.({},d=>d)?.parent;if(re(u)){const d=u.match(gf)?.[1];if(d){const h=(Qn(t)??[]).find(m=>m.size===d)?.point;a?h&&(s=a?.[h]):s=d,h&&!re(o)&&(i=o?.[h]??i)}}}const c={"max-width":s};return r.length||(c.width="100%"),n.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],yf=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(Qn(t)??[]).map(o=>o.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}const r=n.map(o=>`${o}:__container`);return e||r.unshift("__container"),r}]],kf=[...yf],ki={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]))},vf=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ki[e]??g.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ki).join("|")})`,"(vertical|align|v)-<percentage>"]}]],vi=["center","left","right","justify","start","end"],xf=[...vi.map(e=>[`text-${e}`,{"text-align":e}]),...[...ie,...vi].map(e=>[`text-align-${e}`,{"text-align":e}])],wf=[[/^(?: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",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${o} ${i}`,...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"}],...N("animate","animation")],Ss={"gradient-position":T("--un-gradient-position"),"gradient-from":T("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":T("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":T("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":T("--un-gradient-stops"),"gradient-via-stops":T("--un-gradient-via-stops"),"gradient-from-position":T("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":T("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":T("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function xi(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 $f(){return function*([,e,t],{theme:n}){const r={},o=Xn(t,n);if(o){const{color:i,keys:a,alpha:s}=o;if(i){if(Object.values(Kn).includes(i))r[`--un-gradient-${e}`]=i;else{r[`--un-${e}-opacity`]=s;const c=a?oe("colors",a):i;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${c} var(--un-${e}-opacity), transparent)`,yield T(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&F("colors",a),n&&Zn(i,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 i of Object.values(Ss))yield i}}}function Sf(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${g.bracket.cssvar.percent(t)}`};for(const n of Object.values(Ss))yield n}}const Cf=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(g.number(t)!=null?r=`from ${g.number(t)}deg ${xi(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)-(.+)$/,$f()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:g.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,Sf()],[/^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]} `:" "}${xi(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"}],...N("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"}],...N("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"}],...N("bg-origin","background-origin")],wi=[[/^outline-(?:width-|size-)?(.+)$/,Cs,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,zf,{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"},T("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[le.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*Cs([,e]){const t=g.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield T("--un-outline-style",{initialValue:"solid"}))}function*zf(e,t){if(cn(g.bracket(e[1])))yield*Cs(e);else{const n=te("outline-color","outline")(e,t);if(n)for(const r of n)yield r}}const Ef=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Af(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 $i=[[/^will-change-(.+)/,([,e])=>({"will-change":Af(e)})]],dr={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"},Of=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const n=dr[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(dr).join("|")})`,`list-(${Object.keys(dr).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"}],...N("list","list-style-type")],jf=[[/^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>"]}]],Tf=[[/^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>"]}]],_f=[["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"]]]],Lf=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...N("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...N("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"}],...N("overscroll-y","overscroll-behavior-y")],Pf=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...N("scroll","scroll-behavior")],lt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ie],Mf=[[/^(?: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-)?(.+)$/,Rt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Rt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ft,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ft],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ft],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,It,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,It],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,It],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,It],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,It],[/^(?:border|b)-(?:style-)?()(.+)$/,Nt,{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-)?(.+)$/,Nt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Nt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Nt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Nt]];function Rf(e){return([,t],n)=>{const r=Xn(t,n.theme),o=ys(r,`border${e}-color`,`border${e}`,n);if(o){const i=o[0];return r?.color&&!Object.values(Kn).includes(r.color)&&!r.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}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 Rt([,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(o=>Rf(o)(["",t],n)).filter(xt);return[r.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...r.flatMap(o=>o.slice(1))]}}}function Ft([,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 It([,e="",t="DEFAULT"],{theme:n}){if(e in An){if(t==="full")return An[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[t]??g.bracket.cssvar.global.fraction.rem(t);if(r!=null){const o=n.radius&&t in n.radius;return o&&F("radius",t),An[e].map(i=>[`border${i}-radius`,o?oe("radius",t):r])}}}function Nt([,e="",t]){if(lt.includes(t)&&e in Pe)return[["--un-border-style",t],...Pe[e].map(n=>[`border${n}-style`,t])]}const Ff=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:g.bracket.percent.cssvar(e)})]],If=/^\[url\(.+\)\]$/,Nf=/^\[(?:length|size):.+\]$/,Df=/^\[position:.+\]$/,Wf=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Bf=/^\[image:.+\]$/,Uf=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(If.test(t))return{"--un-url":g.bracket(t),"background-image":"var(--un-url)"};if(Nf.test(t)&&g.bracketOfLength(t)!=null)return{"background-size":g.bracketOfLength(t).split(" ").map(n=>g.fraction.auto.px.cssvar(n)??n).join(" ")};if((Yp(t)||Df.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(Wf.test(t)||Bf.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>"}]],Vf=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],qf=[[/^columns-(.+)$/,([,e])=>({columns:g.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["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"}],...N("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"}],...N("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"}],...N("break-after")],Si=["solid","double","dotted","dashed","wavy",...ie],Hf=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,zs,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Gf,{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>"}],...Si.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Si.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function zs([,e]){return{"text-decoration-thickness":g.bracket.cssvar.global.px(e)}}function Gf(e,t){if(cn(g.bracket(e[1])))return zs(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 Kf=[[/^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>"}]],Yf=[[/^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")]],Xf=[[/^space-([xy])-(.+)$/,Qf,{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 T(`--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*Qf([e,t,n],{theme:r,symbols:o}){let i;const a=Ce(n);if(a!=null?(F("spacing"),i=`calc(var(--spacing) * ${a})`):i=r.spacing?.[n]??g.bracket.cssvar.auto.fraction.rem(n||"1"),i!=null){const s=Pe[t==="x"?"inline":"block"].map((c,l)=>{const u=`margin${c}`,d=` calc(${i} * ${l===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`;return[u,d]});s&&(yield{[o.variants]:[ct(e)],[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(s)},yield T(`--un-space-${t}-reverse`,{initialValue:0}))}}const Zf=[[/^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])$/,Ci,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Ci],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[ct(e)],[`--un-divide-${t}-reverse`]:"1"},yield T(`--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*Ci([e,t,n],{symbols:r}){let o=g.bracket.cssvar.px(n||"1");if(o!=null){o==="0"&&(o="0px");const a={x:["-left","-right"],y:["-top","-bottom"]}[t].map(s=>{const c=s.endsWith("left")||s.endsWith("top")?`calc(${o} * var(--un-divide-${t}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${s}-width`,c],[`border${s}-style`,"var(--un-border-style)"]]});a&&(yield{[r.variants]:[ct(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(a.flat())},yield T(`--un-divide-${t}-reverse`,{initialValue:0}),yield T("--un-border-style",{initialValue:"solid"}))}}const Es=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Jr=Es.map(e=>T(`--un-${e}`)),In=Es.map(e=>`var(--un-${e},)`).join(" "),As=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Jf=As.map(e=>T(`--un-${e}`)),Nn=As.map(e=>`var(--un-${e},)`).join(" ");function fr(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:o})=>{const i=t(r,o)??(r==="none"?"0":"");if(i!=="")return n?[{[`--un-${n}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Nn,"backdrop-filter":Nn},...Jf]:[{[`--un-${e}`]:`${e}(${i})`,filter:In},...Jr]}}function eh(e,t){const[,n]=e,{theme:r}=t;let o=[];n&&(o=tt(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let i=r.dropShadow?.[o[0]||"DEFAULT"];const a=n?g.bracket.cssvar(n):void 0;if((i!=null||a!=null)&&!nt(a,r)){const s=o[1]?g.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":s,"--un-drop-shadow":`drop-shadow(${Co(i||a,"--un-drop-shadow-color",s).join(") drop-shadow(")})`,filter:In},...Jr]}if(nt(n,r))return te("--un-drop-shadow-color","drop-shadow")(e,t);if(i=g.bracket.cssvar(n)??(n==="none"?"":void 0),i!=null)return[{"--un-drop-shadow":i&&`drop-shadow(${i})`,filter:In},...Jr]}const th=[[/^(?:(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(?:-?(.+))?$/,eh,{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",fr),{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",fr),{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",fr),{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}])],nh=[["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"}]],hr={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},rh=[[/^(?:flex-|grid-)?gap-?()(.+)$/,X("gap",hr,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,X("gap",hr,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,X("gap",hr,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Ne(e){return e.replace("col","column")}function oh(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 ih=[["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)}`]:oh(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],ah=[[/^(?: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]],sh=[[/^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"}]],eo={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},zi="linear-gradient(#fff, #fff)",lh={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Ei([,e=""]){if(e in An)return{"mask-position":e.split("").flatMap(r=>eo[r]).join(" ")};const t=g.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function mr([e,t="",n,r],o){const i={...lh},a=[];if(a.push(...["linear","radial","conic"].map(s=>T(`--un-mask-${s}`,{initialValue:zi}))),t in eo){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const s of eo[t]){if(i[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,Ce(r)!=null?(F("spacing"),i[`--un-mask-${s}-${n}-position`]=`calc(var(--spacing) * ${g.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${s}-${n}-position`]=g.bracket.cssvar.fraction.rem(r),nt(r,o.theme)){const c=te(`--un-mask-${s}-${n}-color`,Zr("colors"))([e,r],o);if(c){const[l,...u]=c;Object.assign(i,l),a.push(...u)}}a.push(...["from","to"].flatMap(c=>[T(`--un-mask-${s}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),T(`--un-mask-${s}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(s=>T(`--un-mask-${s}`,{initialValue:zi})))}else{if(n==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=g.bracket.cssvar.rem(r)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Ce(r)?`calc(1deg * ${g.bracket.cssvar.number(r)})`:g.bracket.cssvar.fraction(r));else{const s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${s[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)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,nt(r,o.theme)){const c=te(`--un-mask-${t}-${n}-color`,Zr("colors"))([e,r],o);if(c){const[l,...u]=c;Object.assign(i,l),a.push(...u)}}else Ce(r)!=null?(F("spacing"),i[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${g.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${t}-${n}-position`]=g.bracket.cssvar.fraction.rem(r)}t==="radial"&&a.push(T("--un-mask-radial-shape",{initialValue:"ellipse"}),T("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(s=>[T(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),T(`--un-mask-${t}-${s}-position`,{syntax:"<length-percentage>",initialValue:s==="from"?"0%":"100%"}),T(`--un-mask-${t}-${s}-color`,{syntax:"<color>",initialValue:s==="from"?"black":"transparent"})]))}return[i,...a]}function ch([,e=""]){const t=g.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const uh=[["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)()(?:-(.+))?$/,mr,{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)?-?(.*)$/,mr],[/^mask-([trblxy])-(from|to)-(.*)$/,mr],["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})$/,Ei],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":ke[e]})],[/^mask-(?:position-|pos-)(.+)$/,Ei],["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-(.+)$/,ch],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],ph=[[/^\$ 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>"]}]],dh=[[/^(?: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})]],Os=[["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"}],...N("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"}],...N("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"}],...N("justify-self")],fh=[[/^order-(.+)$/,([,e])=>({order:g.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],js=[["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"}],...N("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"}],...N("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"}],...N("self","align-self")],Ts=[["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"}],...N("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"}],...N("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"}],...N("place-self")],hh=[...Os,...js,...Ts].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function to(e){const t=Ce(e);return t!=null?(F("spacing"),`calc(var(--spacing) * ${t})`):g.bracket.cssvar.global.auto.fraction.rem(e)}function Dt([,e,t]){const n=to(t);if(n!=null&&e in fi)return fi[e].map(r=>[r.slice(1),n])}const mh=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:to(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)-(.+)$/,Dt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Dt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Dt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Dt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Dt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:to(t)})]],gh=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...N("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"}],...N("clear")],bh=[[/^(?: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>"}]],yh=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...N("box","box-sizing")],kh=[[/^(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"})}`}]],no={shadow:T("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:T("--un-shadow-color"),insetShadow:T("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:T("--un-inset-shadow-color"),ringColor:T("--un-ring-color"),ringShadow:T("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:T("--un-inset-ring-color"),insetRingShadow:T("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:T("--un-ring-inset"),ringOffsetWidth:T("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:T("--un-ring-offset-color"),ringOffsetShadow:T("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},vh=[[/^shadow(?:-?(.+))?$/,Ai("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(?:-(.+))?$/,Ai("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 Ai(e){return(t,n)=>{const[,r]=t,{theme:o}=n;let i=[];r&&(i=tt(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));const a=o[e]?.[i[0]||"DEFAULT"],s=r?g.bracket.cssvar(r):void 0,c=Zr(e);if((a!=null||s!=null)&&!nt(s,o)){const l=i[1]?g.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${c}-opacity`]:l,[`--un-${c}`]:Co(a||s,`--un-${c}-color`,l).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(no)]}return te(`--un-${c}-color`,c)(t,n)}}const xh=[[/^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(no)]}],[/^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(no)]}],[/^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"}]],wh=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},T("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},T("--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")]],$h={h:"height",w:"width",inline:"inline-size",block:"block-size"};function gt(e,t){return`${e||""}${$h[t]}`}function mn(e,t,n){let r;const o=["container","spacing"];for(const i of o)if(e[i]?.[n]){F(i,n),r=oe(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 Sh=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[gt(e,"w")]:mn(n,"w",t),[gt(e,"h")]:mn(n,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[gt(e,t)]:mn(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[gt(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)=>({[gt(e,t)]:Oi(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[gt(e,t)]:Oi(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 Oi(e,t,n="breakpoint"){const r=Qn(e,n);if(r)return r.find(o=>o.point===t)?.size}function Ch(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 zh=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ch(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Eh=["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"],gr=["size","layout","paint","style"],Ah=[["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)})]],Oh=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...N("backface","backface-visibility")],jh=[[/^cursor-(.+)$/,([,e])=>({cursor:g.bracket.cssvar.global(e)})],...Eh.map(e=>[`cursor-${e}`,{cursor:e}])],Th=[[/^contain-(.*)$/,([,e])=>g.bracket(e)!=null?{contain:g.bracket(e).split(" ").map(t=>g.cssvar.fraction(t)??t).join(" ")}:gr.includes(e)?[{"--un-contain-size":e,contain:gr.map(t=>`var(--un-contain-${t})`).join(" ")},...gr.map(t=>T(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],_h=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...N("pointer-events")],Lh=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...N("resize")],Ph=[["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"}],...N("select","user-select")],Mh=[[/^(?: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)"}]],Rh=[[/^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"}],...N("content-visibility")],Fh=[[/^content-(.+)$/,([,e])=>{if(g.bracket.cssvar(e)!=null)return[{"--un-content":g.bracket.cssvar(e),content:"var(--un-content)"},T("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Ih=[["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"}]],Nh=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Dh=[["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"}]],Wh=[["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"}],...N("case","text-transform")],Bh=[["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"}]],Uh=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Vh=[...["manual","auto","none",...ie].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],qh=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...N("write","writing-mode")],Hh=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...N("write-orient","text-orientation")],Gh=[["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"}]],Kh=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Yh=[["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("|")})`}]],Xh=[["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"}],...N("bg-blend","background-blend")],Qh=[["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"}],...N("mix-blend")],Zh=[["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"}]],Jh=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],em=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],tm=[[/^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-)?(.+)$/,_s],[/^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-(.+)$/,nm,{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 _s([,e]){return{"stroke-width":g.bracket.cssvar.fraction.px.number(e)}}function nm(e,t){return cn(g.bracket(e[1]))?_s(e):te("stroke","stroke")(e,t)}const rm=[["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=ji(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 T(`--un-border-spacing-${r}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){const r=ji(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 o of["x","y"])yield T(`--un-border-spacing-${o}`,{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 ji(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 br="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",yr=["pan-x","pan-y","pinch-zoom"].map(e=>T(`--un-${e}`)),om=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":br};for(const t of yr)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":br};for(const t of yr)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":br};for(const e of yr)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...N("touch","touch-action")],gn=["translate","rotate","scale"],zo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Eo=zo,im=["translateZ(0)",zo].join(" "),am=[[/^(?: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=oe("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-()(.+)$/,Ti],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ti],[/^(?:transform-)?rotate-()(.+)$/,Li],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Li],[/^(?:transform-)?skew-()(.+)$/,Pi],[/^(?:transform-)?skew-([xy])-(.+)$/,Pi,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,_i],[/^(?:transform-)?scale-([xyz])-(.+)$/,_i,{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:Eo}],["transform-cpu",{transform:zo}],["transform-gpu",{transform:im}],["transform-none",{transform:"none"}],...N("transform")];function Ti([,e,t]){const n=Ce(t)??g.bracket.cssvar.none.fraction.rem(t);if(n!=null)return n==="none"?{translate:"none"}:(F("spacing"),[[...Ao(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)":""}`,Qr]],...["x","y","z"].map(r=>T(`--un-translate-${r}`,{initialValue:0}))])}function _i([,e,t]){const n=g.bracket.cssvar.none.fraction.percent(t);if(n!=null)return n==="none"?{scale:"none"}:[[...Ao(e,n,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(r=>T(`--un-scale-${r}`,{initialValue:1}))]}function Li([,e="",t]){const n=g.bracket.cssvar.none.degree(t);if(n!=null)return n==="none"?{rotate:"none"}:e?[[...Ao(e,n.endsWith("deg")?`rotate${e.toUpperCase()}(${n})`:n,"rotate"),["transform",Eo]],...["x","y","z"].map(r=>T(`--un-rotate-${r}`,{initialValue:`rotate${r.toUpperCase()}(0)`})),...["x","y"].map(r=>T(`--un-skew-${r}`,{initialValue:`skew${r.toUpperCase()}(0)`}))]:{rotate:g.bracket.cssvar.degree(t)}}function Pi([,e,t]){const n=g.bracket.cssvar.degree(t),r=hs[e];if(n!=null&&r)return[[...r.map(o=>[`--un-skew${o}`,n.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${n})`:n]),["transform",Eo]],...["x","y","z"].map(o=>T(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>T(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Ao(e,t,n){const r=t.split(zp);return e||!e&&r.length===1?hs[e].map(o=>[`--un-${n}${o}`,t]):r.map((o,i)=>[`--un-${n}-${$p[i]}`,o])}function Mi(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(o=>t.property?.[o]??g.properties(o));r.every(Boolean)&&(n=r.join(","))}return n}const sm=[[/^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, ${oe("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${oe("default",["transition","duration"])})`};if(!e&&!t)return{...r};if(e!=null){const o=Mi(e,n);if(o)return{"--un-duration":t&&g.time(t),...r,"transition-property":o}}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=oe("ease",e)):n=g.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},T("--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)||Mi(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...ie].join("|")})`]}],["transition-none",{transition:"none"}],...N("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],lm=[[/^text-(.+)$/,mm,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Ls,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,gm,{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=oe("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=oe("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},T("--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=oe("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]?oe("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=oe("font",e),{"font-family":n};if(t.fontWeight?.[e])return F("fontWeight",e),n=oe("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"]}]],cm=[[/^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}}]],um=[[/^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}}]],pm=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&F("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?oe("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 dm(e,t){const[,n]=e,{theme:r}=t;let o=[];n&&(o=tt(n,"/",2)??[]);const i=r.textShadow?.[o[0]],a=n?g.bracket.cssvar(n):void 0;if((i!=null||a!=null)&&!nt(a,r)){const s=o[1]?g.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":s,"--un-text-shadow":Co(i||a,"--un-text-shadow-color",s).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 fm=[[/^text-shadow-(.+)$/,dm,{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=[T("--un-ordinal"),T("--un-slashed-zero"),T("--un-numeric-figure"),T("--un-numeric-spacing"),T("--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,)"},hm=[["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 mm([,e="base"],{theme:t}){const n=bm(e,"length");if(!n)return;const[r,o]=n,i=t.text?.[r];let a;if(o&&(t.leading?.[o]?(F("leading",o),a=oe("leading",o)):a=g.bracket.cssvar.global.rem(o)),i)return F("text",[r,"fontSize"]),F("text",[r,"lineHeight"]),i.letterSpacing&&F("text",[r,"letterSpacing"]),{"font-size":oe("text",[r,"fontSize"]),"line-height":a??`var(--un-leading, ${oe("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?oe("text",[r,"letterSpacing"]):void 0};const s=g.bracketOfLength.rem(r);return a&&s?{"font-size":s,"line-height":a}:{"font-size":g.bracketOfLength.rem(e)}}function Ls([,e],{theme:t}){if(t.text?.[e]!=null)return F("text",[e,"fontSize"]),F("text",[e,"lineHeight"]),{"font-size":oe("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${oe("text",[e,"lineHeight"])})`};{const n=g.bracket.cssvar.global.rem(e);if(n)return{"font-size":n}}}function gm(e,t){return cn(g.bracket(e[1]))?Ls(e,t):te("color","text")(e,t)}function bm(e,t){const[n,r]=Gn(e,"[","]",["/",":"])??[];if(n!=null){const o=(n.match(So)??[])[1];if(o==null||o===t)return[n,r]}}const ym={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"},km=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const n=ym[e];if(n)return{[n]:g.cssvar(t)}}]],vm=[[/^\[(.*)\]$/,([e,t],{theme:n})=>{if(!t.includes(":"))return;const[r,...o]=t.split(":"),i=o.join(":");if(!wm(t)&&/^[\w-]+$/.test(r)&&xm(i)){const a=g.bracket(`[${i}]`,n);if(a)return{[r]:a}}}]];function xm(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 wm(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const $m=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],Sm=[lm,cm,um,pm,fm,Yf,Kf,xf,vf,Ef,wi,$i,Of,jf,Tf,_f,Lf,wi,Pf,$i,Mf,Uf,Ff,Vf,bf,mf,Hf,nh,rh,ih,Sh,zh,Ah,Oh,jh,Th,_h,Lh,Ph,Mh,Rh,Fh,Ih,Nh,Dh,Wh,Bh,Uh,xh,vh,am,sm,km,vm,js,yh,hh,gh,mh,Os,fh,Ts,dh,bh,ah,tm,wf,Cf,Vh,qh,Hh,Jh,Gh,Kh,Yh,Xh,Qh,Zh,uh,qf,th,sh,ph,wh,rm,om,hm,$m,Xf,Zf,em,kh].flat();function Cm(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 o=Array.from(Ot.entries()).map(([i,a])=>`${i}:${a};`).join("");return n===!1?`${r}{${o}}`:`${n}{${r}{${o}}}`},layer:"properties"}}const zm=`
|
|
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 Em(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(zm,t.config.envMode==="dev")),layer:"base"}}const Am=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function Om(e,t){const n=new Map([["--spacing",e.spacing.DEFAULT]]),r=i=>i.replace(os,"1");function o(i,a){for(const s in i)Array.isArray(i[s])?n.set(`--${a}-${s}`,r(i[s].join(","))):typeof i[s]=="object"?o(i[s],`${a}-${s}`):n.set(`--${a}-${s}`,r(i[s]))}for(const i in e)t.includes(i)&&o(e[i],i);return n}function jm(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:o}=n,i=Ve(o.config.safelist.flatMap(u=>typeof u=="function"?u(n):u)),{mode:a,process:s}=t;if(a===!1)return;if(i.length>0)for(const u of i){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 l=u=>{if(s)for(const h of u)for(const m of H(s))m(h,n);const d=u.map(([h,m])=>h&&m?`${Se(h)}: ${m};`:void 0).filter(Boolean);if(d.length===0)return;const f=d.join(`
|
|
413
|
-
`);return ks(`
|
|
414
|
-
:root, :host {
|
|
415
|
-
${f}
|
|
416
|
-
}`,o.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=>!Am.includes(d));c=Array.from(Om(r,u))}return l(c)}}}const Tm=e=>[Em(e),jm(e),Cm(e)].filter(Boolean),_m={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ie},M1=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1,{name:wp,rules:Sm,shortcuts:kf,theme:hf,layers:{properties:-200,theme:-150,base:-100},preflights:Tm(e),variants:Ud(e),prefix:e.prefix,postprocess:Jp(e),extractorDefault:e.arbitraryVariants===!1?void 0:xp(),autocomplete:{shorthands:_m},options:e,configResolved(){At.clear(),Ot.clear()},meta:{themeDeps:At,propertyDeps:Ot}}),et=0,A=1,R=2,se=3,Y=4,Fe=5,Jn=6,fe=7,be=8,W=9,M=10,J=11,D=12,ee=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,Lm=0;function ce(e){return e>=48&&e<=57}function rt(e){return ce(e)||e>=65&&e<=70||e>=97&&e<=102}function Oo(e){return e>=65&&e<=90}function Pm(e){return e>=97&&e<=122}function Mm(e){return Oo(e)||Pm(e)}function Rm(e){return e>=128}function Dn(e){return Mm(e)||Rm(e)||e===95}function Ps(e){return Dn(e)||ce(e)||e===45}function Fm(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===Lm)}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 kr(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 ro=new Array(128),Im=128,jn=130,Rs=131,jo=132,Fs=133;for(let e=0;e<ro.length;e++)ro[e]=pt(e)&&jn||ce(e)&&Rs||Dn(e)&&jo||Fm(e)&&Fs||e||Im;function vr(e){return e<128?ro[e]:jo}function Ct(e,t){return t<e.length?e.charCodeAt(t):0}function oo(e,t,n){return n===13&&Ct(e,t+1)===10?2:1}function zt(e,t,n){let r=e.charCodeAt(t);return Oo(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 o=t;o<n;o++){const i=r.charCodeAt(o-t);let a=e.charCodeAt(o);if(Oo(a)&&(a=a|32),a!==i)return!1}return!0}function Nm(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 xr(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+=oo(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=xr(e,t+1),n=e.charCodeAt(t)),n===46&&ce(e.charCodeAt(t+1))&&(t+=2,t=xr(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=xr(e,t+1+r+1))}return t}function wr(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"],Dm=16*1024;function Bn(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Dm)):e}const Ri=10,Wm=12,Fi=13;function Ii(e){const t=e.source,n=t.length,r=t.length>0?Ms(t.charCodeAt(0)):0,o=Bn(e.lines,n),i=Bn(e.columns,n);let a=e.startLine,s=e.startColumn;for(let c=r;c<n;c++){const l=t.charCodeAt(c);o[c]=a,i[c]=s++,(l===Ri||l===Fi||l===Wm)&&(l===Fi&&c+1<n&&t.charCodeAt(c+1)===Ri&&(c++,o[c]=a,i[c]=s),a++,s=1)}o[n]=a,i[n]=s,e.lines=o,e.columns=i,e.computed=!0}class Bm{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||Ii(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||Ii(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 Ni(e){return dt[e]!==0}class Um{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,o=Bn(this.offsetAndType,t.length+1),i=Bn(this.balance,t.length+1);let a=0,s=-1,c=0,l=t.length;this.offsetAndType=null,this.balance=null,i.fill(0),n(t,(u,d,f)=>{const h=a++;if(o[h]=u<<We|f,s===-1&&(s=d),i[h]=l,u===c){const m=i[l];i[l]=h,l=m,c=dt[o[m]>>We]}else Ni(u)&&(l=h,c=dt[u])}),o[a]=et<<We|r,i[a]=a;for(let u=0;u<a;u++){const d=i[u];if(d<=u){const f=i[d];f!==u&&(i[u]=f)}else d>a&&(i[u]=a)}this.source=t,this.firstCharOffset=s===-1?0:s,this.tokenCount=a,this.offsetAndType=o,this.balance=i,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!==ee&&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!==ee&&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)===W&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===W&&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===ee||this.tokenType===ue;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,i=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(i=r>0?this.offsetAndType[r-1]&De:this.firstCharOffset,n(this.source.charCodeAt(i))){case 1:break e;case 2:r++;break e;default:Ni(this.offsetAndType[r]>>We)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,i=this.offsetAndType[n],a=i&De,s=i>>We;r=a,t(s,o,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,i)=>{t[i]={idx:i,type:Ns[n],chunk:this.source.substring(r,o),balance:this.balance[i]}}),t}}function tr(e,t){function n(d){return d<s?e.charCodeAt(d):0}function r(){if(l=er(e,l),On(n(l),n(l+1),n(l+2))){u=D,l=yn(e,l);return}if(n(l)===37){u=J,l++;return}u=M}function o(){const d=l;if(l=yn(e,l),rn(e,d,l,"url")&&n(l)===40){if(l=bn(e,l+1),n(l)===34||n(l)===39){u=R,l=d+4;return}a();return}if(n(l)===40){u=R,l++;return}u=A}function i(d){for(d||(d=n(l++)),u=Fe;l<e.length;l++){const f=e.charCodeAt(l);switch(vr(f)){case d:l++;return;case jn:if(Wn(f)){l+=oo(e,l,f),u=Jn;return}break;case 92:if(l===e.length-1)break;const h=n(l+1);Wn(h)?l+=oo(e,l+1,h):qe(f,h)&&(l=jt(e,l)-1);break}}}function a(){for(u=fe,l=bn(e,l);l<e.length;l++){const d=e.charCodeAt(l);switch(vr(d)){case 41:l++;return;case jn:if(l=bn(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=wr(e,l),u=be;return;case 34:case 39:case 40:case Fs:l=wr(e,l),u=be;return;case 92:if(qe(d,n(l+1))){l=jt(e,l)-1;break}l=wr(e,l),u=be;return}}}e=String(e||"");const s=e.length;let c=Ms(n(0)),l=c,u;for(;l<s;){const d=e.charCodeAt(l);switch(vr(d)){case jn:u=ee,l=bn(e,l+1);break;case 34:i();break;case 35:Ps(n(l+1))||qe(n(l+1),n(l+2))?(u=Y,l=yn(e,l+1)):(u=W,l++);break;case 39:i();break;case 40:u=V,l++;break;case 41:u=L,l++;break;case 43:kr(d,n(l+1),n(l+2))?r():(u=W,l++);break;case 44:u=xe,l++;break;case 45:kr(d,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=ye,l=l+3):On(d,n(l+1),n(l+2))?o():(u=W,l++);break;case 46:kr(d,n(l+1),n(l+2))?r():(u=W,l++);break;case 47:n(l+1)===42?(u=ue,l=e.indexOf("*/",l+2),l=l===-1?e.length:l+2):(u=W,l++);break;case 58:u=he,l++;break;case 59:u=me,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=un,l=l+4):(u=W,l++);break;case 64:On(n(l+1),n(l+2),n(l+3))?(u=se,l=yn(e,l+1)):(u=W,l++);break;case 91:u=Ae,l++;break;case 92:qe(d,n(l+1))?o():(u=W,l++);break;case 93:u=Re,l++;break;case 123:u=pe,l++;break;case 125:u=ze,l++;break;case Rs:r();break;case jo:o();break;default:u=W,l++}t(u,c,c=l)}}let bt=null;class ae{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return ae.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,o){let{cursor:i}=this;for(;i!==null;)i.prev===t&&(i.prev=n),i.next===r&&(i.next=o),i=i.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 o=ae.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}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 o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),i=n,a;for(;o.next!==null;)a=o.next,o.next=a.next,i=t.call(r,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),i=n,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,i=t.call(r,i,a.data,a,this);return this.releaseCursor(),i}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 ae;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new ae;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const i=o.next;if(o.next=i.next,n.call(r,i.data,i,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const i=o.prev;if(o.prev=i.prev,n.call(r,i.data,i,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new ae;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(ae.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(ae.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(ae.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(ae.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(ae.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 $r=100,Di=60,Wi=" ";function Bi({source:e,line:t,column:n,baseLine:r,baseColumn:o},i){function a(m,v){return l.slice(m,v).map((x,C)=>String(m+C+1).padStart(f)+" |"+x).join(`
|
|
418
|
-
`)}const s=`
|
|
419
|
-
`.repeat(Math.max(r-1,0)),c=" ".repeat(Math.max(o-1,0)),l=(s+c+e).split(/\r\n?|\n|\f/),u=Math.max(1,t-i)-1,d=Math.min(t+i,l.length+1),f=Math.max(4,String(d).length)+1;let h=0;n+=(Wi.length-1)*(l[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>$r&&(h=n-Di+3,n=Di-2);for(let m=u;m<=d;m++)m>=0&&m<l.length&&(l[m]=l[m].replace(/\t/g,Wi),l[m]=(h>0&&l[m].length>h?"…":"")+l[m].substr(h,$r-2)+(l[m].length>h+$r-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 Ui(e,t,n,r,o,i=1,a=1){return Object.assign(nr("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(c){return Bi({source:t,line:r,column:o,baseLine:i,baseColumn:a},isNaN(c)?0:c)},get formattedMessage(){return`Parse error: ${e}
|
|
421
|
-
`+Bi({source:t,line:r,column:o,baseLine:i,baseColumn:a},2)}})}function Vm(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case ue:this.next();continue;case ee:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const Vi=()=>{},qm=33,Hm=35,Sr=59,qi=123,Hi=0;function Gm(e){return function(){return this[e]()}}function Cr(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function Km(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Cr(e.atrule),pseudo:Cr(e.pseudo),node:Cr(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]=Gm(r);break}return{config:t,...t,...t.node}}function Ym(e){let t="",n="<unknown>",r=!1,o=Vi,i=!1;const a=new Bm,s=Object.assign(new Um,Km(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Vm,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(l){return l===qi?1:0},consumeUntilLeftCurlyBracketOrSemicolon(l){return l===qi||l===Sr?1:0},consumeUntilExclamationMarkOrSemicolon(l){return l===qm||l===Sr?1:0},consumeUntilSemicolonIncluded(l){return l===Sr?2:0},createList(){return new ae},createSingleNodeList(l){return new ae().appendData(l)},getFirstListNode(l){return l&&l.first},getLastListNode(l){return l&&l.last},parseWithFallback(l,u){const d=this.tokenIndex;try{return l.call(this)}catch(f){if(i)throw f;this.skip(d-this.tokenIndex);const h=u.call(this);return i=!0,o(f,h),i=!1,h}},lookupNonWSType(l){let u;do if(u=this.lookupType(l++),u!==ee&&u!==ue)return u;while(u!==Hi);return Hi},charCodeAt(l){return l>=0&&l<t.length?t.charCodeAt(l):0},substring(l,u){return t.substring(l,u)},substrToCursor(l){return this.source.substring(l,this.tokenStart)},cmpChar(l,u){return zt(t,l,u)},cmpStr(l,u,d){return rn(t,l,u,d)},consume(l){const u=this.tokenStart;return this.eat(l),this.substrToCursor(u)},consumeFunctionName(){const l=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(R),l},consumeNumber(l){const u=t.substring(this.tokenStart,er(t,this.tokenStart));return this.eat(l),u},eat(l){if(this.tokenType!==l){const u=Ns[l].slice(0,-6).replace(/-/g," ").replace(/^./,h=>h.toUpperCase());let d=`${/[[\](){}]/.test(u)?`"${u}"`:u} is expected`,f=this.tokenStart;switch(l){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(Hm)&&(this.next(),f++,d="Name is expected");break;case J:this.tokenType===M&&(f=this.tokenEnd,d="Percent sign is expected");break}this.error(d,f)}this.next()},eatIdent(l){(this.tokenType!==A||this.lookupValue(0,l)===!1)&&this.error(`Identifier "${l}" is expected`),this.next()},eatDelim(l){this.isDelim(l)||this.error(`Delim "${String.fromCharCode(l)}" is expected`),this.next()},getLocation(l,u){return r?a.getLocationRange(l,u,n):null},getLocationFromList(l){if(r){const u=this.getFirstListNode(l),d=this.getLastListNode(l);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(l,u){const d=typeof u<"u"&&u<t.length?a.getLocation(u):this.eof?a.getLocation(Nm(t,t.length-1)):a.getLocation(this.tokenStart);throw new Ui(l||"Unexpected input",t,d.offset,d.line,d.column,a.startLine,a.startColumn)}});return Object.assign(function(l,u){t=l,u=u||{},s.setSource(t,tr),a.setSource(t,u.offset,u.line,u.column),n=u.filename||"<unknown>",r=!!u.positions,o=typeof u.onParseError=="function"?u.onParseError:Vi,i=!1,s.parseAtrulePrelude="parseAtrulePrelude"in u?!!u.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in u?!!u.parseRulePrelude:!0,s.parseValue="parseValue"in u?!!u.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in u?!!u.parseCustomProperty:!1;const{context:d="default",onComment:f}=u;if(!(d in s.context))throw new Error("Unknown context `"+d+"`");typeof f=="function"&&s.forEachToken((m,v,x)=>{if(m===ue){const C=s.getLocation(v,x),y=rn(t,x-2,x,"*/")?t.slice(v+2,x-2):t.slice(v+2,x);f(y,C)}});const h=s.context[d].call(s,u);return s.eof||s.error(),h},{SyntaxError:Ui,config:s.config})}var zr={},kn={},vn={},Gi;function Xm(){if(Gi)return vn;Gi=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,o=97,i=122,a=48,s=57,c=43,l=47,u=26,d=52;return n<=t&&t<=r?t-n:o<=t&&t<=i?t-o+u:a<=t&&t<=s?t-a+d:t==c?62:t==l?63:-1},vn}var Ki;function Qm(){if(Ki)return kn;Ki=1;var e=Xm(),t=5,n=1<<t,r=n-1,o=n;function i(s){return s<0?(-s<<1)+1:(s<<1)+0}function a(s){var c=(s&1)===1,l=s>>1;return c?-l:l}return kn.encode=function(c){var l="",u,d=i(c);do u=d&r,d>>>=t,d>0&&(u|=o),l+=e.encode(u);while(d>0);return l},kn.decode=function(c,l,u){var d=c.length,f=0,h=0,m,v;do{if(l>=d)throw new Error("Expected more digits in base 64 VLQ value.");if(v=e.decode(c.charCodeAt(l++)),v===-1)throw new Error("Invalid base64 digit: "+c.charAt(l-1));m=!!(v&o),v&=r,f=f+(v<<h),h+=t}while(m);u.value=a(f),u.rest=l},kn}var Er={},Yi;function To(){return Yi||(Yi=1,(function(e){function t(b,k,O){if(k in b)return b[k];if(arguments.length===3)return O;throw new Error('"'+k+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(b){var k=b.match(n);return k?{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}:null}e.urlParse=o;function i(b){var k="";return b.scheme&&(k+=b.scheme+":"),k+="//",b.auth&&(k+=b.auth+"@"),b.host&&(k+=b.host),b.port&&(k+=":"+b.port),b.path&&(k+=b.path),k}e.urlGenerate=i;var a=32;function s(b){var k=[];return function(O){for(var S=0;S<k.length;S++)if(k[S].input===O){var Q=k[0];return k[0]=k[S],k[S]=Q,k[0].result}var _=b(O);return k.unshift({input:O,result:_}),k.length>a&&k.pop(),_}}var c=s(function(k){var O=k,S=o(k);if(S){if(!S.path)return k;O=S.path}for(var Q=e.isAbsolute(O),_=[],B=0,I=0;;)if(B=I,I=O.indexOf("/",B),I===-1){_.push(O.slice(B));break}else for(_.push(O.slice(B,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=Q?"/":"."),S?(S.path=O,i(S)):O});e.normalize=c;function l(b,k){b===""&&(b="."),k===""&&(k=".");var O=o(k),S=o(b);if(S&&(b=S.path||"/"),O&&!O.scheme)return S&&(O.scheme=S.scheme),i(O);if(O||k.match(r))return k;if(S&&!S.host&&!S.path)return S.host=k,i(S);var Q=k.charAt(0)==="/"?k:c(b.replace(/\/+$/,"")+"/"+k);return S?(S.path=Q,i(S)):Q}e.join=l,e.isAbsolute=function(b){return b.charAt(0)==="/"||n.test(b)};function u(b,k){b===""&&(b="."),b=b.replace(/\/$/,"");for(var O=0;k.indexOf(b+"/")!==0;){var S=b.lastIndexOf("/");if(S<0||(b=b.slice(0,S),b.match(/^([^\/]+:\/)?\/*$/)))return k;++O}return Array(O+1).join("../")+k.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 v(b)?"$"+b:b}e.toSetString=d?f:h;function m(b){return v(b)?b.slice(1):b}e.fromSetString=d?f:m;function v(b){if(!b)return!1;var k=b.length;if(k<9||b.charCodeAt(k-1)!==95||b.charCodeAt(k-2)!==95||b.charCodeAt(k-3)!==111||b.charCodeAt(k-4)!==116||b.charCodeAt(k-5)!==111||b.charCodeAt(k-6)!==114||b.charCodeAt(k-7)!==112||b.charCodeAt(k-8)!==95||b.charCodeAt(k-9)!==95)return!1;for(var O=k-10;O>=0;O--)if(b.charCodeAt(O)!==36)return!1;return!0}function x(b,k,O){var S=z(b.source,k.source);return S!==0||(S=b.originalLine-k.originalLine,S!==0)||(S=b.originalColumn-k.originalColumn,S!==0||O)||(S=b.generatedColumn-k.generatedColumn,S!==0)||(S=b.generatedLine-k.generatedLine,S!==0)?S:z(b.name,k.name)}e.compareByOriginalPositions=x;function C(b,k,O){var S;return S=b.originalLine-k.originalLine,S!==0||(S=b.originalColumn-k.originalColumn,S!==0||O)||(S=b.generatedColumn-k.generatedColumn,S!==0)||(S=b.generatedLine-k.generatedLine,S!==0)?S:z(b.name,k.name)}e.compareByOriginalPositionsNoSource=C;function y(b,k,O){var S=b.generatedLine-k.generatedLine;return S!==0||(S=b.generatedColumn-k.generatedColumn,S!==0||O)||(S=z(b.source,k.source),S!==0)||(S=b.originalLine-k.originalLine,S!==0)||(S=b.originalColumn-k.originalColumn,S!==0)?S:z(b.name,k.name)}e.compareByGeneratedPositionsDeflated=y;function $(b,k,O){var S=b.generatedColumn-k.generatedColumn;return S!==0||O||(S=z(b.source,k.source),S!==0)||(S=b.originalLine-k.originalLine,S!==0)||(S=b.originalColumn-k.originalColumn,S!==0)?S:z(b.name,k.name)}e.compareByGeneratedPositionsDeflatedNoLine=$;function z(b,k){return b===k?0:b===null?1:k===null?-1:b>k?1:-1}function w(b,k){var O=b.generatedLine-k.generatedLine;return O!==0||(O=b.generatedColumn-k.generatedColumn,O!==0)||(O=z(b.source,k.source),O!==0)||(O=b.originalLine-k.originalLine,O!==0)||(O=b.originalColumn-k.originalColumn,O!==0)?O:z(b.name,k.name)}e.compareByGeneratedPositionsInflated=w;function j(b){return JSON.parse(b.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=j;function E(b,k,O){if(k=k||"",b&&(b[b.length-1]!=="/"&&k[0]!=="/"&&(b+="/"),k=b+k),O){var S=o(O);if(!S)throw new Error("sourceMapURL could not be parsed");if(S.path){var Q=S.path.lastIndexOf("/");Q>=0&&(S.path=S.path.substring(0,Q+1))}k=l(i(S),k)}return c(k)}e.computeSourceURL=E})(Er)),Er}var Ar={},Xi;function Zm(){if(Xi)return Ar;Xi=1;var e=To(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(i,a){for(var s=new r,c=0,l=i.length;c<l;c++)s.add(i[c],a);return s},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(i,a){var s=n?i:e.toSetString(i),c=n?this.has(i):t.call(this._set,s),l=this._array.length;(!c||a)&&this._array.push(i),c||(n?this._set.set(i,l):this._set[s]=l)},r.prototype.has=function(i){if(n)return this._set.has(i);var a=e.toSetString(i);return t.call(this._set,a)},r.prototype.indexOf=function(i){if(n){var a=this._set.get(i);if(a>=0)return a}else{var s=e.toSetString(i);if(t.call(this._set,s))return this._set[s]}throw new Error('"'+i+'" is not in the set.')},r.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},r.prototype.toArray=function(){return this._array.slice()},Ar.ArraySet=r,Ar}var Or={},Qi;function Jm(){if(Qi)return Or;Qi=1;var e=To();function t(r,o){var i=r.generatedLine,a=o.generatedLine,s=r.generatedColumn,c=o.generatedColumn;return a>i||a==i&&c>=s||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,i){this._array.forEach(o,i)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Or.MappingList=n,Or}var Zi;function eg(){if(Zi)return zr;Zi=1;var e=Qm(),t=To(),n=Zm().ArraySet,r=Jm().MappingList;function o(i){i||(i={}),this._file=t.getArg(i,"file",null),this._sourceRoot=t.getArg(i,"sourceRoot",null),this._skipValidation=t.getArg(i,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(i,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(a,s){var c=a.sourceRoot,l=new o(Object.assign(s||{},{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)),l.addMapping(d)}),a.sources.forEach(function(u){var d=u;c!==null&&(d=t.relative(c,u)),l._sources.has(d)||l._sources.add(d);var f=a.sourceContentFor(u);f!=null&&l.setSourceContent(u,f)}),l},o.prototype.addMapping=function(a){var s=t.getArg(a,"generated"),c=t.getArg(a,"original",null),l=t.getArg(a,"source",null),u=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(s,c,l,u)===!1||(l!=null&&(l=String(l),this._sources.has(l)||this._sources.add(l)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:c!=null&&c.line,originalColumn:c!=null&&c.column,source:l,name:u}))},o.prototype.setSourceContent=function(a,s){var c=a;this._sourceRoot!=null&&(c=t.relative(this._sourceRoot,c)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(c)]=s):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(c)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,s,c){var l=s;if(s==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.`);l=a.file}var u=this._sourceRoot;u!=null&&(l=t.relative(u,l));var d=new n,f=new n;this._mappings.unsortedForEach(function(h){if(h.source===l&&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 v=h.source;v!=null&&!d.has(v)&&d.add(v);var x=h.name;x!=null&&!f.has(x)&&f.add(x)},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)},o.prototype._validateMapping=function(a,s,c,l){if(s&&typeof s.line!="number"&&typeof s.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&&!s&&!c&&!l)){if(a&&"line"in a&&"column"in a&&s&&"line"in s&&"column"in s&&a.line>0&&a.column>=0&&s.line>0&&s.column>=0&&c)return;var u="Invalid mapping: "+JSON.stringify({generated:a,source:c,original:s,name:l});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(u),!1;throw new Error(u)}},o.prototype._serializeMappings=function(){for(var a=0,s=1,c=0,l=0,u=0,d=0,f="",h,m,v,x,C=this._mappings.toArray(),y=0,$=C.length;y<$;y++){if(m=C[y],h="",m.generatedLine!==s)for(a=0;m.generatedLine!==s;)h+=";",s++;else if(y>0){if(!t.compareByGeneratedPositionsInflated(m,C[y-1]))continue;h+=","}h+=e.encode(m.generatedColumn-a),a=m.generatedColumn,m.source!=null&&(x=this._sources.indexOf(m.source),h+=e.encode(x-d),d=x,h+=e.encode(m.originalLine-1-l),l=m.originalLine-1,h+=e.encode(m.originalColumn-c),c=m.originalColumn,m.name!=null&&(v=this._names.indexOf(m.name),h+=e.encode(v-u),u=v)),f+=h}return f},o.prototype._generateSourcesContent=function(a,s){return a.map(function(c){if(!this._sourcesContents)return null;s!=null&&(c=t.relative(s,c));var l=t.toSetString(c);return Object.prototype.hasOwnProperty.call(this._sourcesContents,l)?this._sourcesContents[l]:null},this)},o.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},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},zr.SourceMapGenerator=o,zr}var tg=eg();const Ji=new Set(["Atrule","Selector","Declaration"]);function ng(e){const t=new tg.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},i={generated:o};let a=1,s=0,c=!1;const l=e.node;e.node=function(f){if(f.loc&&f.loc.start&&Ji.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=s,c&&(c=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(i)),c=!0,t.addMapping({source:f.loc.source,original:r,generated:n}))}l.call(this,f),c&&Ji.has(f.type)&&(o.line=a,o.column=s)};const u=e.emit;e.emit=function(f,h,m){for(let v=0;v<f.length;v++)f.charCodeAt(v)===10?(a++,s=0):s++;u(f,h,m)};const d=e.result;return e.result=function(){return c&&t.addMapping(i),{css:d(),map:t}},e}const rg=43,og=45,jr=(e,t)=>{if(e===W&&(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,J],[A,D],[A,ye],[A,V],[se,A],[se,R],[se,fe],[se,be],[se,"-"],[se,M],[se,J],[se,D],[se,ye],[Y,A],[Y,R],[Y,fe],[Y,be],[Y,"-"],[Y,M],[Y,J],[Y,D],[Y,ye],[D,A],[D,R],[D,fe],[D,be],[D,"-"],[D,M],[D,J],[D,D],[D,ye],["#",A],["#",R],["#",fe],["#",be],["#","-"],["#",M],["#",J],["#",D],["#",ye],["-",A],["-",R],["-",fe],["-",be],["-","-"],["-",M],["-",J],["-",D],["-",ye],[M,A],[M,R],[M,fe],[M,be],[M,M],[M,J],[M,D],[M,"%"],[M,ye],["@",A],["@",R],["@",fe],["@",be],["@","-"],["@",ye],[".",M],[".",J],[".",D],["+",M],["+",J],["+",D],["/","*"]],ig=Ds.concat([[A,Y],[D,Y],[Y,Y],[se,V],[se,Fe],[se,he],[J,J],[J,D],[J,R],[J,"-"],[L,A],[L,R],[L,J],[L,D],[L,Y],[L,"-"]]);function Ws(e){const t=new Set(e.map(([n,r])=>jr(n)<<16|jr(r)));return function(n,r,o){const i=jr(r,o),a=o.charCodeAt(0);return(a===og&&r!==A&&r!==R&&r!==ye||a===rg?t.has(n<<16|a<<8):t.has(n<<16|i))&&this.emit(" ",ee,!0),i}}const ag=Ws(Ds),Bs=Ws(ig),ea=Object.freeze(Object.defineProperty({__proto__:null,safe:Bs,spec:ag},Symbol.toStringTag,{value:"Module"})),sg=92;function lg(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 cg(e){tr(e,(t,n,r)=>{this.token(t,e.slice(n,r))})}function ug(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 o="",i=0,a={node(c){if(t.has(c.type))t.get(c.type).call(s,c);else throw new Error("Unknown node type: "+c.type)},tokenBefore:Bs,token(c,l){i=this.tokenBefore(i,c,l),this.emit(l,c,!1),c===W&&l.charCodeAt(0)===sg&&this.emit(`
|
|
422
|
-
`,ee,!0)},emit(c){o+=c},result(){return o}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=ng(a)),r.mode in ea&&(a.tokenBefore=ea[r.mode]));const s={node:c=>a.node(c),children:lg,token:(c,l)=>a.token(c,l),tokenize:cg};return a.node(n),a.result()}}function pg(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof ae)&&(n.children=new ae().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof ae&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:_o}=Object.prototype,Ut=function(){};function ta(e){return typeof e=="function"?e:Ut}function na(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function dg(e,t){const n=t.structure,r=[];for(const o in n){if(_o.call(n,o)===!1)continue;let i=n[o];const a={name:o,type:!1,nullable:!1};Array.isArray(i)||(i=[i]);for(const s of i)s===null?a.nullable=!0:typeof s=="string"?a.type="node":Array.isArray(s)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function fg(e){const t={};for(const n in e.node)if(_o.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]=dg(n,r)}return t}function ra(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(i,a,s,c){let l;o&&(l=a[r],a[r]=i);for(const u of n){const d=i[u.name];if(!u.nullable||d){if(u.type==="list"){if(t?d.reduceRight(c,!1):d.reduce(c,!1))return!0}else if(s(d))return!0}}o&&(a[r]=l)}}function oa({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){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:o}}}function hg(e){const t=fg(e),n={},r={},o=Symbol("break-walk"),i=Symbol("skip-node");for(const l in t)_o.call(t,l)&&t[l]!==null&&(n[l]=ra(t[l],!1),r[l]=ra(t[l],!0));const a=oa(n),s=oa(r),c=function(l,u){function d(C,y,$){const z=f.call(x,C,y,$);return z===o?!0:z===i?!1:!!(m.hasOwnProperty(C.type)&&m[C.type](C,x,d,v)||h.call(x,C,y,$)===o)}let f=Ut,h=Ut,m=n,v=(C,y,$,z)=>C||d(y,$,z);const x={break:o,skip:i,root:l,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=ta(u.enter),h=ta(u.leave),u.reverse&&(m=r),u.visit)){if(a.hasOwnProperty(u.visit))m=u.reverse?s[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=na(f,u.visit),h=na(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(l)};return c.break=o,c.skip=i,c.find=function(l,u){let d=null;return c(l,function(f,h,m){if(u.call(this,f,h,m))return d=f,o}),d},c.findLast=function(l,u){let d=null;return c(l,{reverse:!0,enter(f,h,m){if(u.call(this,f,h,m))return d=f,o}}),d},c.findAll=function(l,u){const d=[];return c(l,function(f,h,m){u.call(this,f,h,m)&&d.push(f)}),d},c}function mg(e){return e}function gg(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 bg(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 yg(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",i=e.terms.map(a=>Un(a,t,n,r)).join(o);return e.explicit||n?(r||i[0]===","?"[":"[ ")+i+(r?"]":" ]"):i}function Un(e,t,n,r){let o;switch(e.type){case"Group":o=yg(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Un(e.term,t,n,r)+t(gg(e),e);case"Boolean":o="<boolean-expr["+Un(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(bg(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function Lo(e,t){let n=mg,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),Un(e,n,r,o)}const ia={offset:0,line:1,column:1};function kg(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,i=o!==t?o:null;let a=0,s=0,c=0,l="",u,d;for(let f=0;f<n.length;f++){const h=n[f].value;f===r&&(s=h.length,a=l.length),i!==null&&n[f].node===i&&(f<=r?c++:c=0),l+=h}return r===n.length||c>1?(u=xn(i||t,"end")||Vt(ia,l),d=Vt(u)):(u=xn(i,"start")||Vt(xn(t,"start")||ia,l.slice(0,a)),d=xn(i,"end")||Vt(u,l.substr(a,s))),{css:l,mismatchOffset:a,mismatchLength:s,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 o={offset:e,line:t,column:n};if(r){const i=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=i.length-1,o.column=i.length===1?o.column+r.length:i.pop().length+1}return o}const Wt=function(e,t){const n=nr("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},vg=function(e,t,n,r){const o=nr("SyntaxMatchError",e),{css:i,mismatchOffset:a,mismatchLength:s,start:c,end:l}=kg(r,n);return o.rawMessage=e,o.syntax=t?Lo(t):"<generic>",o.css=i,o.mismatchOffset=a,o.mismatchLength=s,o.message=e+`
|
|
423
|
-
syntax: `+o.syntax+`
|
|
424
|
-
value: `+(i||"<empty string>")+`
|
|
425
|
-
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,c),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:c,end:l},o},wn=new Map,yt=new Map,Vn=45,Tr=xg,aa=wg;function Po(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 xg(e){if(wn.has(e))return wn.get(e);const t=e.toLowerCase();let n=wn.get(t);if(n===void 0){const r=Po(t,0),o=r?"":Us(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return wn.set(e,n),n}function wg(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=Po(t,n.length);if(!r&&(t=t.toLowerCase(),yt.has(t))){const s=yt.get(t);return yt.set(e,s),s}const o=r?"":Us(t,n.length),i=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(i.length),name:t.substr(n.length),hack:n,vendor:o,prefix:i,custom:r});return yt.set(e,a),a}const Mo=["initial","inherit","unset","revert","revert-layer"],on=43,Be=45,_r=110,kt=!0,$g=!1;function io(e,t){return e!==null&&e.type===W&&e.value.charCodeAt(0)===t}function Yt(e,t,n){for(;e!==null&&(e.type===ee||e.type===ue);)e=n(++t);return t}function Je(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===on||o===Be){if(n)return 0;t++}for(;t<e.value.length;t++)if(!ce(e.value.charCodeAt(t)))return 0;return r+1}function Lr(e,t,n){let r=!1,o=Yt(e,t,n);if(e=n(o),e===null)return t;if(e.type!==M)if(io(e,on)||io(e,Be)){if(r=!0,o=Yt(n(++o),o,n),e=n(o),e===null||e.type!==M)return 0}else return t;if(!r){const i=e.value.charCodeAt(0);if(i!==on&&i!==Be)return 0}return Je(e,r?0:1,r,o)}function Sg(e,t){let n=0;if(!e)return 0;if(e.type===M)return Je(e,0,$g,n);if(e.type===A&&e.value.charCodeAt(0)===Be){if(!zt(e.value,1,_r))return 0;switch(e.value.length){case 2:return Lr(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||io(e,on)&&t(n+1).type===A){if(e.type!==A&&(e=t(++n)),e===null||!zt(e.value,0,_r))return 0;switch(e.value.length){case 1:return Lr(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===D){let r=e.value.charCodeAt(0),o=r===on||r===Be?1:0,i=o;for(;i<e.value.length&&ce(e.value.charCodeAt(i));i++);return i===o||!zt(e.value,i,_r)?0:i+1===e.value.length?Lr(t(++n),n,t):e.value.charCodeAt(i+1)!==Be?0:i+2===e.value.length?(n=Yt(t(++n),n,t),e=t(n),Je(e,0,kt,n)):Je(e,i+2,kt,n)}return 0}const Cg=43,Vs=45,qs=63,zg=117;function ao(e,t){return e!==null&&e.type===W&&e.value.charCodeAt(0)===t}function Eg(e,t){return e.value.charCodeAt(0)===t}function qt(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const i=e.value.charCodeAt(o);if(i===Vs&&n&&r!==0)return qt(e,t+r+1,!1),6;if(!rt(i)||++r>6)return 0}return r}function $n(e,t,n){if(!e)return 0;for(;ao(n(t),qs);){if(++e>6)return 0;t++}return t}function Ag(e,t){let n=0;if(e===null||e.type!==A||!zt(e.value,0,zg)||(e=t(++n),e===null))return 0;if(ao(e,Cg))return e=t(++n),e===null?0:e.type===A?$n(qt(e,0,!0),++n,t):ao(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===D||e.type===M?!Eg(e,Vs)||!qt(e,1,!1)?0:n+1:$n(r,n,t))}return e.type===D?$n(qt(e,1,!0),++n,t):0}const Og=["calc(","-moz-calc(","-webkit-calc("],Ro=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 jg(e,t){let n=0,r=[],o=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){o++;break e}break;case R:case V:case Ae:case pe:r.push(n),n=Ro.get(e.type);break}o++}while(e=t(o));return o}function $e(e){return function(t,n,r){return t===null?0:t.type===R&&Gs(t.value,Og)?jg(t,n):e(t,n,r)}}function K(e){return function(t){return t===null||t.type!==e?0:1}}function Tg(e){if(e===null||e.type!==A)return 0;const t=e.value.toLowerCase();return Gs(t,Mo)||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 _g(e){return!Ys(e)||e.value==="--"?0:1}function Lg(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 Pg(e){return e===null||e.type!==Y||!On(_e(e.value,1),_e(e.value,2),_e(e.value,3))?0:1}function Mg(e,t){if(!e)return 0;let n=0,r=[],o=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 W:if(n===0&&e.value==="!")break e;break;case R:case V:case Ae:case pe:r.push(n),n=Ro.get(e.type);break}o++}while(e=t(o));return o}function Rg(e,t){if(!e)return 0;let n=0,r=[],o=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=Ro.get(e.type);break}o++}while(e=t(o));return o}function Ge(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==D)return 0;const o=er(t.value,0);if(e!==null){const i=t.value.indexOf("\\",o),a=i===-1||!Ks(t.value,i)?t.value.substr(o):t.value.substring(o,i);if(e.has(a.toLowerCase())===!1)return 0}return rr(r,t.value,o)?0:1}}function Fg(e,t,n){return e===null||e.type!==J||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 Ig(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 Ng(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 Dg={"ident-token":K(A),"function-token":K(R),"at-keyword-token":K(se),"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(W),"number-token":K(M),"percentage-token":K(J),"dimension-token":K(D),"whitespace-token":K(ee),"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)},Wg={string:K(Fe),ident:K(A),percentage:$e(Fg),zero:Xs(),number:$e(Ig),integer:$e(Ng),"custom-ident":Tg,"dashed-ident":Ys,"custom-property-name":_g,"hex-color":Lg,"id-selector":Pg,"an-plus-b":Sg,urange:Ag,"declaration-value":Mg,"any-value":Rg};function Bg(e){const{angle:t,decibel:n,frequency:r,flex:o,length:i,resolution:a,semitones:s,time:c}=e||{};return{dimension:$e(Ge(null)),angle:$e(Ge(t)),decibel:$e(Ge(n)),frequency:$e(Ge(r)),flex:$e(Ge(o)),length:$e(Xs(Ge(i))),resolution:$e(Ge(a)),semitones:$e(Ge(s)),time:$e(Ge(c))}}function Ug(e){return{...Dg,...Wg,...Bg(e)}}const Vg=["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"],qg=["deg","grad","rad","turn"],Hg=["s","ms"],Gg=["hz","khz"],Kg=["dpi","dpcm","dppx","x"],Yg=["fr"],Xg=["db"],Qg=["st"],sa=Object.freeze(Object.defineProperty({__proto__:null,angle:qg,decibel:Xg,flex:Yg,frequency:Gg,length:Vg,resolution:Kg,semitones:Qg,time:Hg},Symbol.toStringTag,{value:"Module"}));function Zg(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 Jg=9,e0=10,t0=12,n0=13,r0=32,la=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class o0{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&&la[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!==n0&&n!==e0&&n!==t0&&n!==r0&&n!==Jg)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 Zg(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||la[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 i0=9,a0=10,s0=12,l0=13,c0=32,Qs=33,Fo=35,ca=38,qn=39,Zs=40,u0=41,Js=42,Io=43,No=44,ua=45,Do=60,so=62,lo=63,p0=64,an=91,sn=93,Hn=123,pa=124,da=125,fa=8734,ha={" ":1,"&&":2,"||":3,"|":4};function ma(e){let t=null,n=null;return e.eat(Hn),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===No?(e.pos++,e.skipWs(),e.charCode()!==da&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(da),{min:Number(t),max:n?Number(n):0}}function d0(e){let t=null,n=!1;switch(e.charCode()){case Js:e.pos++,t={min:0,max:0};break;case Io:e.pos++,t={min:1,max:0};break;case lo:e.pos++,t={min:0,max:1};break;case Fo:e.pos++,n=!0,e.charCode()===Hn?t=ma(e):e.charCode()===lo?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Hn:t=ma(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function ot(e,t){const n=d0(e);return n!==null?(n.term=t,e.charCode()===Fo&&e.charCodeAt(e.pos-1)===Io?ot(e,n):n):t}function Pr(e){const t=e.peek();return t===""?null:ot(e,{type:"Token",value:t})}function f0(e){let t;return e.eat(Do),e.eat(qn),t=e.scanWord(),e.eat(qn),e.eat(so),ot(e,{type:"Property",name:t})}function h0(e){let t=null,n=null,r=1;return e.eat(an),e.charCode()===ua&&(e.peek(),r=-1),r==-1&&e.charCode()===fa?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(No),e.skipWs(),e.charCode()===fa?e.peek():(r=1,e.charCode()===ua&&(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 m0(e){let t,n=null;if(e.eat(Do),t=e.scanWord(),t==="boolean-expr"){e.eat(an);const r=Wo(e,sn);return e.eat(sn),e.eat(so),ot(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===Zs&&e.nextCharCode()===u0&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===an&&(e.skipWs(),n=h0(e)),e.eat(so),ot(e,{type:"Type",name:t,opts:n})}function g0(e){const t=e.scanWord();return e.charCode()===Zs?(e.pos++,{type:"Function",name:t}):ot(e,{type:"Keyword",name:t})}function b0(e,t){function n(o,i){return{type:"Group",terms:o,combinator:i,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,i)=>ha[o]-ha[i]);t.length>0;){r=t.shift();let o=0,i=0;for(;o<e.length;o++){const a=e[o];a.type==="Combinator"&&(a.value===r?(i===-1&&(i=o-1),e.splice(o,1),o--):(i!==-1&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}i!==-1&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function Wo(e,t){const n=Object.create(null),r=[];let o,i=null,a=e.pos;for(;e.charCode()!==t&&(o=k0(e,t));)o.type!=="Spaces"&&(o.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),n[o.value]=!0):i!==null&&i.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(o),i=o,a=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:b0(r,n)||" ",disallowEmpty:!1,explicit:!1}}function y0(e,t){let n;return e.eat(an),n=Wo(e,t),e.eat(sn),n.explicit=!0,e.charCode()===Qs&&(e.pos++,n.disallowEmpty=!0),n}function k0(e,t){let n=e.charCode();switch(n){case sn:break;case an:return ot(e,y0(e,t));case Do:return e.nextCharCode()===qn?f0(e):m0(e);case pa:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===pa?2:1))};case ca:return e.pos++,e.eat(ca),{type:"Combinator",value:"&&"};case No:return e.pos++,{type:"Comma"};case qn:return ot(e,{type:"String",value:e.scanString()});case c0:case i0:case a0:case l0:case s0:return{type:"Spaces",value:e.scanSpaces()};case p0:return n=e.nextCharCode(),e.isNameCharCode(n)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):Pr(e);case Js:case Io:case lo:case Fo:case Qs:break;case Hn:if(n=e.nextCharCode(),n<48||n>57)return Pr(e);break;default:return e.isNameCharCode(n)?g0(e):Pr(e)}}function el(e){const t=new o0(e),n=Wo(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 ga(e){return typeof e=="function"?e:Ht}function v0(e,t,n){function r(a){switch(o.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)}i.call(n,a)}let o=Ht,i=Ht;if(typeof t=="function"?o=t:t&&(o=ga(t.enter),i=ga(t.leave)),o===Ht&&i===Ht)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const x0={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,i){t.push({type:o,value:r,node:i?null:n})},result(){return t}}}};function w0(e){const t=[];return tr(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function $0(e,t){return typeof e=="string"?w0(e):t.generate(e,x0)}const U={type:"Match"},q={type:"Mismatch"},Bo={type:"DisallowEmpty"},S0=40,C0=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)===S0&&e.charCodeAt(e.length-1)===C0}function ba(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 co(e,t,n){switch(e){case" ":{let r=U;for(let o=t.length-1;o>=0;o--){const i=t[o];r=de(i,r,q)}return r}case"|":{let r=q,o=null;for(let i=t.length-1;i>=0;i--){let a=t[i];if(ba(a)&&(o===null&&i>0&&ba(t[i-1])&&(o=Object.create(null),r=de({type:"Enum",map:o},U,r)),o!==null)){const s=(tl(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(s in o)){o[s]=a;continue}}o=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 o=t.length-1;o>=0;o--){const i=t[o];let a;t.length>1?a=co(e,t.filter(function(s){return s!==i}),!1):a=U,r=de(i,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?U:q;for(let o=t.length-1;o>=0;o--){const i=t[o];let a;t.length>1?a=co(e,t.filter(function(s){return s!==i}),!0):a=U,r=de(i,a,r)}return r}}}function z0(e){let t=U,n=$t(e.term);if(e.max===0)n=de(n,Bo,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=co(e.combinator,e.terms.map($t),!1);return e.disallowEmpty&&(t=de(t,Bo,q)),t}case"Multiplier":return z0(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:ya}=Object.prototype,E0=0,A0=1,uo=2,nl=3,ka="Match",O0="Mismatch",j0="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",va=15e3;function T0(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function Mr(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function _0(e){return e.type!==W?!1:e.value!=="?"}function xa(e){return e===null?!0:e.type===xe||e.type===R||e.type===V||e.type===Ae||e.type===pe||_0(e)}function wa(e){return e===null?!0:e.type===L||e.type===Re||e.type===ze||e.type===W&&e.value==="/"}function L0(e,t,n){function r(){do y++,C=y<e.length?e[y]:null;while(C!==null&&(C.type===ee||C.type===ue))}function o(w){const j=y+w;return j<e.length?e[j]:null}function i(w,j){return{nextState:w,matchStack:z,syntaxStack:d,thenStack:f,tokenIndex:y,prev:j}}function a(w){f={nextState:w,matchStack:z,syntaxStack:d,prev:f}}function s(w){h=i(w,h)}function c(){z={type:A0,syntax:t.syntax,token:C,prev:z},r(),m=null,y>$&&($=y)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},z={type:uo,syntax:t.syntax,token:z.token,prev:z}}function u(){z.type===uo?z=z.prev:z={type:nl,syntax:d.syntax,token:z.token,prev:z},d=d.prev}let d=null,f=null,h=null,m=null,v=0,x=null,C=null,y=-1,$=0,z={type:E0,syntax:null,token:null,prev:null};for(r();x===null&&++v<va;)switch(t.type){case"Match":if(f===null){if(C!==null&&(y!==e.length-1||C.value!=="\\0"&&C.value!=="\\9")){t=q;break}x=ka;break}if(t=f.nextState,t===Bo)if(f.matchStack===z){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){x=O0;break}t=h.nextState,f=h.thenStack,d=h.syntaxStack,z=h.matchStack,y=h.tokenIndex,C=y<e.length?e[y]:null,h=h.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==q&&s(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 E=t.syntax.terms;if(t.index===E.length){if(t.mask===0||t.syntax.all){t=q;break}t=U;break}if(t.mask===(1<<E.length)-1){t=U;break}for(;t.index<E.length;t.index++){const b=1<<t.index;if((t.mask&b)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|b}),t=E[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(C!==null){let E=C.value.toLowerCase();if(E.indexOf("\\")!==-1&&(E=E.replace(/\\[09].*$/,"")),ya.call(t.map,E)){t=t.map[E];break}}t=q;break;case"Generic":{const E=d!==null?d.opts:null,b=y+Math.floor(t.fn(C,o,E));if(!isNaN(b)&&b>y){for(;y<b;)c();t=U}else t=q;break}case"Type":case"Property":{const E=t.type==="Type"?"types":"properties",b=ya.call(n,E)?n[E][t.name]:null;if(!b||!b.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(m!==!1&&C!==null&&t.type==="Type"&&(t.name==="custom-ident"&&C.type===A||t.name==="length"&&C.value==="0")){m===null&&(m=i(t,h)),t=q;break}l(),t=b.matchRef||b.match;break}case"Keyword":{const E=t.name;if(C!==null){let b=C.value;if(b.indexOf("\\")!==-1&&(b=b.replace(/\\[09].*$/,"")),Mr(b,E)){c(),t=U;break}}t=q;break}case"AtKeyword":case"Function":if(C!==null&&Mr(C.value,t.name)){c(),t=U;break}t=q;break;case"Token":if(C!==null&&C.value===t.value){c(),t=U;break}t=q;break;case"Comma":C!==null&&C.type===xe?xa(z.token)?t=q:(c(),t=wa(C)?q:U):t=xa(z.token)||wa(C)?U:q;break;case"String":let w="",j=y;for(;j<e.length&&w.length<t.value.length;j++)w+=e[j].value;if(Mr(w,t.value)){for(;y<j;)c();t=U}else t=q;break;default:throw new Error("Unknown node type: "+t.type)}switch(x){case null:console.warn("[csstree-match] BREAK after "+va+" iterations"),x=j0,z=null;break;case ka:for(;d!==null;)u();break;default:z=null}return{tokens:e,reason:x,iterations:v,match:z,longestMatch:$}}function $a(e,t,n){const r=L0(e,t,n||{});if(r.match===null)return r;let o=r.match,i=r.match={syntax:t.syntax||null,match:[]};const a=[i];for(o=T0(o).prev;o!==null;){switch(o.type){case uo:i.match.push(i={syntax:o.syntax,match:[]}),a.push(i);break;case nl:a.pop(),i=a[a.length-1];break;default:i.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function rl(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let i=0;i<o.match.length;i++)if(n(o.match[i]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function P0(e,t){return Uo(this,e,n=>n.type==="Type"&&n.name===t)}function M0(e,t){return Uo(this,e,n=>n.type==="Property"&&n.name===t)}function R0(e){return Uo(this,e,t=>t.type==="Keyword")}function Uo(e,t,n){const r=rl.call(e,t);return r===null?!1:r.some(n)}const F0=Object.freeze(Object.defineProperty({__proto__:null,getTrace:rl,isKeyword:R0,isProperty:M0,isType:P0},Symbol.toStringTag,{value:"Module"}));function ol(e){return"node"in e?e.node:ol(e.match[0])}function il(e){return"node"in e?e.node:il(e.match[e.match.length-1])}function Sa(e,t,n,r,o){function i(s){if(s.syntax!==null&&s.syntax.type===r&&s.syntax.name===o){const c=ol(s),l=il(s);e.syntax.walk(t,function(u,d,f){if(u===c){const h=new ae;do{if(h.appendData(d.data),d.data===l)break;d=d.next}while(d!==null);a.push({parent:f,nodes:h})}})}Array.isArray(s.match)&&s.match.forEach(i)}const a=[];return n.matched!==null&&i(n.matched),a}const{hasOwnProperty:Qt}=Object.prototype;function Rr(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Ca(e){return!!e&&Rr(e.offset)&&Rr(e.line)&&Rr(e.column)}function I0(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let i in r){let a=!0;if(Qt.call(r,i)!==!1){if(i==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(i==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")i+=".source";else if(!Ca(r.loc.start))i+=".start";else if(!Ca(r.loc.end))i+=".end";else continue;a=!1}else if(t.hasOwnProperty(i)){a=!1;for(let s=0;!a&&s<t[i].length;s++){const c=t[i][s];switch(c){case String:a=typeof r[i]=="string";break;case Boolean:a=typeof r[i]=="boolean";break;case null:a=r[i]===null;break;default:typeof c=="string"?a=r[i]&&r[i].type===c:Array.isArray(c)&&(a=r[i]instanceof ae)}}}else o(r,"Unknown field `"+i+"` for "+e+" node type");a||o(r,"Bad value for `"+e+"."+i+"`")}}for(const i in t)Qt.call(t,i)&&Qt.call(r,i)===!1&&o(r,"Field `"+e+"."+i+"` is missed")}}function al(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(al(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function N0(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const i in n){if(Qt.call(n,i)===!1)continue;const a=r[i]=Array.isArray(n[i])?n[i].slice():[n[i]];o[i]=al(a,e+"."+i)}return{docs:o,check:I0(e,r)}}function D0(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]=N0(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function po(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:Lo(e[o].syntax,{compact:t}));return r}function W0(e,t,n){const r={};for(const[o,i]of Object.entries(e))r[o]={prelude:i.prelude&&(n?i.prelude.syntax:Lo(i.prelude.syntax,{compact:t})),descriptors:i.descriptors&&po(i.descriptors,t,n)};return r}function B0(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function U0(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,...F0}}function vt(e,t,n,r){const o=$0(n,e.syntax);let i;return B0(o)?Te(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=$a(o,e.cssWideKeywordsSyntax,e)),(!r||!i.match)&&(i=$a(o,t.match,e),!i.match)?Te(null,new vg(i.reason,t.syntax,n,i),i.iterations):Te(i.match,null,i.iterations))}class za{constructor(t,n,r){if(this.cssWideKeywords=Mo,this.syntax=n,this.generic=!1,this.units={...sa},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||D0(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(sa))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,i]of Object.entries(t.types))this.addType_(o,i);if(t.generic){this.generic=!0;for(const[o,i]of Object.entries(Ug(this.units)))this.addType_(o,i)}if(t.atrules)for(const[o,i]of Object.entries(t.atrules))this.addAtrule_(o,i);if(t.properties)for(const[o,i]of Object.entries(t.properties))this.addProperty_(o,i)}this.cssWideKeywordsSyntax=Sn(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(i,a){o.push({node:i,message:a})}const r=this.structure,o=[];return this.syntax.walk(t,function(i){r.hasOwnProperty(i.type)?r[i.type].check(i,n):n(i,"Unknown node type `"+i.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const i={type:n,name:r},a={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=Sn(t,i):(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,i)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const s=a.syntax,c=U0(s)?Sn({...s,terms:[s.terms[0].term]},i):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,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,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 o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!vt(this,o.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 o=this.getAtrule(t),i=Tr(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[i.name]&&!o.descriptors[i.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 o=this.getAtrule(t);return o.prelude?vt(this,o.prelude,n||"",!1):Te(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return Te(null,o);const i=this.getAtrule(t),a=Tr(n);return vt(this,i.descriptors[a.name]||i.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(aa(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,o){return Sa(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return Sa(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:i=>{o.push.apply(o,this.findDeclarationValueFragments(i,n,r))}}),o}getAtrule(t,n=!0){const r=Tr(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=aa(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,l){return l?`<${c}>`:`<'${c}'>`}function n(c,l,u,d){if(u.has(l))return u.get(l);u.set(l,!1),d.syntax!==null&&v0(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"?o:i;hasOwnProperty.call(h,f.name)?n(c,f.name,m,h[f.name])&&(r.push(`${t(l,u===o)} used broken syntax definition ${t(f.name,f.type==="Type")}`),u.set(l,!0)):(r.push(`${t(l,u===o)} used missed syntax definition ${t(f.name,f.type==="Type")}`),u.set(l,!0))},this)}const r=[];let o=new Map,i=new Map;for(const c in this.types)n(this,c,o,this.types[c]);for(const c in this.properties)n(this,c,i,this.properties[c]);const a=[...o.keys()].filter(c=>o.get(c)),s=[...i.keys()].filter(c=>i.get(c));return a.length||s.length?{errors:r,types:a,properties:s}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:po(this.types,!n,t),properties:po(this.properties,!n,t),atrules:W0(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function Fr(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Ea(e,t){const n=Object.create(null);for(const[r,o]of Object.entries(e))if(o){n[r]={};for(const i of Object.keys(o))t.includes(i)&&(n[r][i]=o[i])}return n}function fo(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[i,a]of Object.entries(o))n[r][i]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[i,a]of Object.entries(o)){const s=n[r][i]||{},c=n[r][i]={prelude:s.prelude||null,descriptors:{...s.descriptors}};if(a){c.prelude=a.prelude?Fr(c.prelude,a.prelude):c.prelude||null;for(const[l,u]of Object.entries(a.descriptors||{}))c.descriptors[l]=u?Fr(c.descriptors[l],u):null;Object.keys(c.descriptors).length||(c.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[i,a]of Object.entries(o))n[r][i]=Fr(n[r][i],a);break;case"scope":case"features":n[r]={...e[r]};for(const[i,a]of Object.entries(o))n[r][i]={...n[r][i],...a};break;case"parseContext":n[r]={...e[r],...o};break;case"atrule":case"pseudo":n[r]={...e[r],...Ea(o,["parse"])};break;case"node":n[r]={...e[r],...Ea(o,["name","structure","parse","generate","walkContext"])};break}return n}function sl(e){const t=Ym(e),n=hg(e),r=ug(e),{fromPlainObject:o,toPlainObject:i}=pg(n),a={lexer:null,createLexer:s=>new za(s,a,a.lexer.structure),tokenize:tr,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:i,fork(s){const c=fo({},e);return sl(typeof s=="function"?s(c):fo(c,s))}};return a.lexer=new za({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const V0=e=>sl(fo({},e)),q0={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,H0=!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 Ir(){let e=0,t=0,n=this.tokenType;for(;n===ee||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===ee||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 G0="AnPlusB",K0={a:[String,null],b:[String,null]};function ll(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===M)St.call(this,H0),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=Ir.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=Ir.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===D){const r=this.charCodeAt(this.tokenStart),o=r===Ue||r===we;let i=this.tokenStart+o;for(;i<this.tokenEnd&&ce(this.charCodeAt(i));i++);i===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Ze.call(this,i-this.tokenStart,Tn),t=this.substring(e,i),i+1===this.tokenEnd?(this.next(),n=Ir.call(this)):(Ze.call(this,i-this.tokenStart+1,we),i+2===this.tokenEnd?(this.next(),this.skipSC(),St.call(this,at),n="-"+this.consume(M)):(_n.call(this,i-this.tokenStart+2,at),this.next(),n=this.substrToCursor(i+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 Y0(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 X0=Object.freeze(Object.defineProperty({__proto__:null,generate:Y0,name:G0,parse:ll,structure:K0},Symbol.toStringTag,{value:"Module"}));function Aa(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Q0(){for(let e=1,t;t=this.lookupType(e);e++){if(t===ze)return!0;if(t===pe||t===se)return!1}return!1}const Z0="Atrule",J0="atrule",eb={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function cl(e=!1){const t=this.tokenStart;let n,r,o=null,i=null;switch(this.eat(se),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==pe&&this.tokenType!==me&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Aa):o=Aa.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"?i=this.atrule[r].block.call(this,e):i=this.Block(Q0.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:i}}function tb(e){this.token(se,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(me,";")}const nb=Object.freeze(Object.defineProperty({__proto__:null,generate:tb,name:Z0,parse:cl,structure:eb,walkContext:J0},Symbol.toStringTag,{value:"Module"})),rb="AtrulePrelude",ob="atrulePrelude",ib={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 ab(e){this.children(e)}const sb=Object.freeze(Object.defineProperty({__proto__:null,generate:ab,name:rb,parse:ul,structure:ib,walkContext:ob},Symbol.toStringTag,{value:"Module"})),lb=36,pl=42,Ln=61,cb=94,ho=124,ub=126;function pb(){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(ho)||this.eat(A),this.isDelim(ho)?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 db(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Ln&&t!==ub&&t!==cb&&t!==lb&&t!==pl&&t!==ho&&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 fb="AttributeSelector",hb={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function dl(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(Ae),this.skipSC(),t=pb.call(this),this.skipSC(),this.tokenType!==Re&&(this.tokenType!==A&&(n=db.call(this),this.skipSC(),r=this.tokenType===Fe?this.String():this.Identifier(),this.skipSC()),this.tokenType===A&&(o=this.consume(A),this.skipSC())),this.eat(Re),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function mb(e){this.token(W,"["),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(W,"]")}const gb=Object.freeze(Object.defineProperty({__proto__:null,generate:mb,name:fb,parse:dl,structure:hb},Symbol.toStringTag,{value:"Module"})),bb=38;function fl(){return this.Raw(null,!0)}function Oa(){return this.parseWithFallback(this.Rule,fl)}function ja(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function yb(){if(this.tokenType===me)return ja.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,ja);return this.tokenType===me&&this.next(),e}const kb="Block",vb="block",xb={children:[["Atrule","Rule","Declaration"]]};function hl(e){const t=e?yb:Oa,n=this.tokenStart;let r=this.createList();this.eat(pe);e:for(;!this.eof;)switch(this.tokenType){case ze:break e;case ee:case ue:this.next();break;case se:r.push(this.parseWithFallback(this.Atrule.bind(this,e),fl));break;default:e&&this.isDelim(bb)?r.push(Oa.call(this)):r.push(t.call(this))}return this.eof||this.eat(ze),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function wb(e){this.token(pe,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(me,";")}),this.token(ze,"}")}const $b=Object.freeze(Object.defineProperty({__proto__:null,generate:wb,name:kb,parse:hl,structure:xb,walkContext:vb},Symbol.toStringTag,{value:"Module"})),Sb="Brackets",Cb={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 zb(e){this.token(W,"["),this.children(e),this.token(W,"]")}const Eb=Object.freeze(Object.defineProperty({__proto__:null,generate:zb,name:Sb,parse:ml,structure:Cb},Symbol.toStringTag,{value:"Module"})),Ab="CDC",Ob=[];function gl(){const e=this.tokenStart;return this.eat(ye),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function jb(){this.token(ye,"-->")}const Tb=Object.freeze(Object.defineProperty({__proto__:null,generate:jb,name:Ab,parse:gl,structure:Ob},Symbol.toStringTag,{value:"Module"})),_b="CDO",Lb=[];function bl(){const e=this.tokenStart;return this.eat(un),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Pb(){this.token(un,"<!--")}const Mb=Object.freeze(Object.defineProperty({__proto__:null,generate:Pb,name:_b,parse:bl,structure:Lb},Symbol.toStringTag,{value:"Module"})),Rb=46,Fb="ClassSelector",Ib={name:String};function yl(){return this.eatDelim(Rb),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(A)}}function Nb(e){this.token(W,"."),this.token(A,e.name)}const Db=Object.freeze(Object.defineProperty({__proto__:null,generate:Nb,name:Fb,parse:yl,structure:Ib},Symbol.toStringTag,{value:"Module"})),Wb=43,Ta=47,Bb=62,Ub=126,Vb="Combinator",qb={name:String};function kl(){const e=this.tokenStart;let t;switch(this.tokenType){case ee:t=" ";break;case W:switch(this.charCodeAt(this.tokenStart)){case Bb:case Wb:case Ub:this.next();break;case Ta:this.next(),this.eatIdent("deep"),this.eatDelim(Ta);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function Hb(e){this.tokenize(e.name)}const Gb=Object.freeze(Object.defineProperty({__proto__:null,generate:Hb,name:Vb,parse:kl,structure:qb},Symbol.toStringTag,{value:"Module"})),Kb=42,Yb=47,Xb="Comment",Qb={value:String};function vl(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(ue),t-e+2>=2&&this.charCodeAt(t-2)===Kb&&this.charCodeAt(t-1)===Yb&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Zb(e){this.token(ue,"/*"+e.value+"*/")}const Jb=Object.freeze(Object.defineProperty({__proto__:null,generate:Zb,name:Xb,parse:vl,structure:Qb},Symbol.toStringTag,{value:"Module"})),ey=new Set([he,L,et]),ty="Condition",ny={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function _a(e){return this.lookupTypeNonSC(1)===A&&ey.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const ry={media:_a,container:_a,supports(){return this.SupportsDeclaration()}};function xl(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case ue:case ee:this.next();continue;case A:t.push(this.Identifier());break;case V:{let n=this.parseWithFallback(()=>ry[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 oy(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(V,"("),this.node(t),this.token(L,")")):this.node(t)})}const iy=Object.freeze(Object.defineProperty({__proto__:null,generate:oy,name:ty,parse:xl,structure:ny},Symbol.toStringTag,{value:"Module"})),wl=33,ay=35,sy=36,ly=38,cy=42,uy=43,La=47;function py(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function dy(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function fy(){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 hy="Declaration",my="declaration",gy={important:[Boolean,String],property:String,value:["Value","Raw"]};function $l(){const e=this.tokenStart,t=this.tokenIndex,n=yy.call(this),r=Po(n),o=r?this.parseCustomProperty:this.parseValue,i=r?dy:py;let a=!1,s;this.skipSC(),this.eat(he);const c=this.tokenIndex;if(r||this.skipSC(),o?s=this.parseWithFallback(fy,i):s=i.call(this,this.tokenIndex),r&&s.type==="Value"&&s.children.isEmpty){for(let l=c-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===ee){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(wl)&&(a=ky.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:s}}function by(e){this.token(A,e.property),this.token(he,":"),this.node(e.value),e.important&&(this.token(W,"!"),this.token(A,e.important===!0?"important":e.important))}function yy(){const e=this.tokenStart;if(this.tokenType===W)switch(this.charCodeAt(this.tokenStart)){case cy:case sy:case uy:case ay:case ly:this.next();break;case La:this.next(),this.isDelim(La)&&this.next();break}return this.tokenType===Y?this.eat(Y):this.eat(A),this.substrToCursor(e)}function ky(){this.eat(W),this.skipSC();const e=this.consume(A);return e==="important"?!0:e}const vy=Object.freeze(Object.defineProperty({__proto__:null,generate:by,name:hy,parse:$l,structure:gy,walkContext:my},Symbol.toStringTag,{value:"Module"})),xy=38;function Nr(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const wy="DeclarationList",$y={children:[["Declaration","Atrule","Rule"]]};function Sl(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case ee:case ue:case me:this.next();break;case se:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Nr));break;default:this.isDelim(xy)?e.push(this.parseWithFallback(this.Rule,Nr)):e.push(this.parseWithFallback(this.Declaration,Nr))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Sy(e){this.children(e,t=>{t.type==="Declaration"&&this.token(me,";")})}const Cy=Object.freeze(Object.defineProperty({__proto__:null,generate:Sy,name:wy,parse:Sl,structure:$y},Symbol.toStringTag,{value:"Module"})),zy="Dimension",Ey={value:String,unit:String};function Cl(){const e=this.tokenStart,t=this.consumeNumber(D);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Ay(e){this.token(D,e.value+e.unit)}const Oy=Object.freeze(Object.defineProperty({__proto__:null,generate:Ay,name:zy,parse:Cl,structure:Ey},Symbol.toStringTag,{value:"Module"})),jy=47,Ty="Feature",_y={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)===W?r=this.Ratio():r=this.Number();break;case D:r=this.Dimension();break;case A:r=this.Identifier();break;case R:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(jy)&&this.error(),o},()=>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 Ly(e){this.token(V,"("),this.token(A,e.name),e.value!==null&&(this.token(he,":"),this.node(e.value)),this.token(L,")")}const Py=Object.freeze(Object.defineProperty({__proto__:null,generate:Ly,name:Ty,parse:zl,structure:_y},Symbol.toStringTag,{value:"Module"})),My="FeatureFunction",Ry={kind:String,feature:String,value:["Declaration","Selector"]};function Fy(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=Fy.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const i=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(i)===!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:o}}function Iy(e){this.token(R,e.feature+"("),this.node(e.value),this.token(L,")")}const Ny=Object.freeze(Object.defineProperty({__proto__:null,generate:Iy,name:My,parse:El,structure:Ry},Symbol.toStringTag,{value:"Module"})),Pa=47,Dy=60,Ma=61,Wy=62,By="FeatureRange",Uy={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 Dr(){switch(this.skipSC(),this.tokenType){case M:return this.isDelim(Pa,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case D: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(Pa)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Ra(e){if(this.skipSC(),this.isDelim(Dy)||this.isDelim(Wy)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(Ma)?(this.next(),t+"="):t}if(this.isDelim(Ma))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Al(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(V);const n=Dr.call(this),r=Ra.call(this,n.type==="Identifier"),o=Dr.call(this);let i=null,a=null;return this.lookupNonWSType(0)!==L&&(i=Ra.call(this),a=Dr.call(this)),this.skipSC(),this.eat(L),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:i,right:a}}function Vy(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 qy=Object.freeze(Object.defineProperty({__proto__:null,generate:Vy,name:By,parse:Al,structure:Uy},Symbol.toStringTag,{value:"Module"})),Hy="Function",Gy="function",Ky={name:String,children:[[]]};function Ol(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let i;return i=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(L),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:i}}function Yy(e){this.token(R,e.name+"("),this.children(e),this.token(L,")")}const Xy=Object.freeze(Object.defineProperty({__proto__:null,generate:Yy,name:Hy,parse:Ol,structure:Ky,walkContext:Gy},Symbol.toStringTag,{value:"Module"})),Qy="GeneralEnclosed",Zy={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 o=this.tokenIndex,i=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),i},()=>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 Jy(e){e.function?this.token(R,e.function+"("):this.token(V,"("),this.children(e),this.token(L,")")}const ek=Object.freeze(Object.defineProperty({__proto__:null,generate:Jy,name:Qy,parse:jl,structure:Zy},Symbol.toStringTag,{value:"Module"})),tk="XXX",nk="Hash",rk={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 ok(e){this.token(Y,"#"+e.value)}const ik=Object.freeze(Object.defineProperty({__proto__:null,generate:ok,name:nk,parse:Tl,structure:rk,xxx:tk},Symbol.toStringTag,{value:"Module"})),ak="Identifier",sk={name:String};function _l(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(A)}}function lk(e){this.token(A,e.name)}const ck=Object.freeze(Object.defineProperty({__proto__:null,generate:lk,name:ak,parse:_l,structure:sk},Symbol.toStringTag,{value:"Module"})),uk="IdSelector",pk={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 dk(e){this.token(W,"#"+e.name)}const fk=Object.freeze(Object.defineProperty({__proto__:null,generate:dk,name:uk,parse:Ll,structure:pk},Symbol.toStringTag,{value:"Module"})),hk=46,mk="Layer",gk={name:String};function Pl(){let e=this.tokenStart,t=this.consume(A);for(;this.isDelim(hk);)this.eat(W),t+="."+this.consume(A);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function bk(e){this.tokenize(e.name)}const yk=Object.freeze(Object.defineProperty({__proto__:null,generate:bk,name:mk,parse:Pl,structure:gk},Symbol.toStringTag,{value:"Module"})),kk="LayerList",vk={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 xk(e){this.children(e,()=>this.token(xe,","))}const wk=Object.freeze(Object.defineProperty({__proto__:null,generate:xk,name:kk,parse:Ml,structure:vk},Symbol.toStringTag,{value:"Module"})),$k="MediaQuery",Sk={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 o=this.consume(A),i=o.toLowerCase();switch(i==="not"||i==="only"?(this.skipSC(),t=i,n=this.consume(A)):n=o,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 Ck(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 zk=Object.freeze(Object.defineProperty({__proto__:null,generate:Ck,name:$k,parse:Rl,structure:Sk},Symbol.toStringTag,{value:"Module"})),Ek="MediaQueryList",Ak={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 Ok(e){this.children(e,()=>this.token(xe,","))}const jk=Object.freeze(Object.defineProperty({__proto__:null,generate:Ok,name:Ek,parse:Fl,structure:Ak},Symbol.toStringTag,{value:"Module"})),Tk=38,_k="NestingSelector",Lk={};function Il(){const e=this.tokenStart;return this.eatDelim(Tk),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Pk(){this.token(W,"&")}const Mk=Object.freeze(Object.defineProperty({__proto__:null,generate:Pk,name:_k,parse:Il,structure:Lk},Symbol.toStringTag,{value:"Module"})),Rk="Nth",Fk={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 Ik(e){this.node(e.nth),e.selector!==null&&(this.token(A,"of"),this.node(e.selector))}const Nk=Object.freeze(Object.defineProperty({__proto__:null,generate:Ik,name:Rk,parse:Nl,structure:Fk},Symbol.toStringTag,{value:"Module"})),Dk="Number",Wk={value:String};function Dl(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(M)}}function Bk(e){this.token(M,e.value)}const Uk=Object.freeze(Object.defineProperty({__proto__:null,generate:Bk,name:Dk,parse:Dl,structure:Wk},Symbol.toStringTag,{value:"Module"})),Vk="Operator",qk={value:String};function Wl(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Hk(e){this.tokenize(e.value)}const Gk=Object.freeze(Object.defineProperty({__proto__:null,generate:Hk,name:Vk,parse:Wl,structure:qk},Symbol.toStringTag,{value:"Module"})),Kk="Parentheses",Yk={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 Xk(e){this.token(V,"("),this.children(e),this.token(L,")")}const Qk=Object.freeze(Object.defineProperty({__proto__:null,generate:Xk,name:Kk,parse:Bl,structure:Yk},Symbol.toStringTag,{value:"Module"})),Zk="Percentage",Jk={value:String};function Ul(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(J)}}function ev(e){this.token(J,e.value+"%")}const tv=Object.freeze(Object.defineProperty({__proto__:null,generate:ev,name:Zk,parse:Ul,structure:Jk},Symbol.toStringTag,{value:"Module"})),nv="PseudoClassSelector",rv="function",ov={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 iv(e){this.token(he,":"),e.children===null?this.token(A,e.name):(this.token(R,e.name+"("),this.children(e),this.token(L,")"))}const av=Object.freeze(Object.defineProperty({__proto__:null,generate:iv,name:nv,parse:Vl,structure:ov,walkContext:rv},Symbol.toStringTag,{value:"Module"})),sv="PseudoElementSelector",lv="function",cv={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 uv(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 pv=Object.freeze(Object.defineProperty({__proto__:null,generate:uv,name:sv,parse:ql,structure:cv,walkContext:lv},Symbol.toStringTag,{value:"Module"})),Fa=47;function Ia(){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 dv="Ratio",fv={left:["Number","Function"],right:["Number","Function",null]};function Hl(){const e=this.tokenStart,t=Ia.call(this);let n=null;return this.skipSC(),this.isDelim(Fa)&&(this.eatDelim(Fa),n=Ia.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function hv(e){this.node(e.left),this.token(W,"/"),e.right?this.node(e.right):this.node(M,1)}const mv=Object.freeze(Object.defineProperty({__proto__:null,generate:hv,name:dv,parse:Hl,structure:fv},Symbol.toStringTag,{value:"Module"}));function gv(){return this.tokenIndex>0&&this.lookupType(-1)===ee?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const bv="Raw",yv={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=gv.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function kv(e){this.tokenize(e.value)}const vv=Object.freeze(Object.defineProperty({__proto__:null,generate:kv,name:bv,parse:Gl,structure:yv},Symbol.toStringTag,{value:"Module"}));function Na(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function xv(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==pe&&this.error(),e}const wv="Rule",$v="rule",Sv={prelude:["SelectorList","Raw"],block:["Block"]};function Kl(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(xv,Na):n=Na.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function Cv(e){this.node(e.prelude),this.node(e.block)}const zv=Object.freeze(Object.defineProperty({__proto__:null,generate:Cv,name:wv,parse:Kl,structure:Sv,walkContext:$v},Symbol.toStringTag,{value:"Module"})),Ev="Scope",Av={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 Ov(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 jv=Object.freeze(Object.defineProperty({__proto__:null,generate:Ov,name:Ev,parse:Yl,structure:Av},Symbol.toStringTag,{value:"Module"})),Tv="Selector",_v={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 Lv(e){this.children(e)}const Pv=Object.freeze(Object.defineProperty({__proto__:null,generate:Lv,name:Tv,parse:Xl,structure:_v},Symbol.toStringTag,{value:"Module"})),Mv="SelectorList",Rv="selector",Fv={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 Iv(e){this.children(e,()=>this.token(xe,","))}const Nv=Object.freeze(Object.defineProperty({__proto__:null,generate:Iv,name:Mv,parse:Ql,structure:Fv,walkContext:Rv},Symbol.toStringTag,{value:"Module"})),mo=92,Zl=34,Dv=39;function Jl(e){const t=e.length,n=e.charCodeAt(0),r=n===Zl||n===Dv?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let i="";for(let a=r;a<=o;a++){let s=e.charCodeAt(a);if(s===mo){if(a===o){a!==t-1&&(i=e.substr(a+1));break}if(s=e.charCodeAt(++a),qe(mo,s)){const c=a-1,l=jt(e,c);a=l-1,i+=Is(e.substring(c+1,l))}else s===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function Wv(e,t){const r=Zl;let o="",i=!1;for(let a=0;a<e.length;a++){const s=e.charCodeAt(a);if(s===0){o+="�";continue}if(s<=31||s===127){o+="\\"+s.toString(16),i=!0;continue}s===r||s===mo?(o+="\\"+e.charAt(a),i=!1):(i&&(rt(s)||pt(s))&&(o+=" "),o+=e.charAt(a),i=!1)}return'"'+o+'"'}const Bv="String",Uv={value:String};function ec(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Jl(this.consume(Fe))}}function Vv(e){this.token(Fe,Wv(e.value))}const qv=Object.freeze(Object.defineProperty({__proto__:null,generate:Vv,name:Bv,parse:ec,structure:Uv},Symbol.toStringTag,{value:"Module"})),Hv=33;function Da(){return this.Raw(null,!1)}const Gv="StyleSheet",Kv="stylesheet",Yv={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 ee:this.next();continue;case ue:if(this.charCodeAt(this.tokenStart+2)!==Hv){this.next();continue}n=this.Comment();break;case un:n=this.CDO();break;case ye:n=this.CDC();break;case se:n=this.parseWithFallback(this.Atrule,Da);break;default:n=this.parseWithFallback(this.Rule,Da)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function Xv(e){this.children(e)}const Qv=Object.freeze(Object.defineProperty({__proto__:null,generate:Xv,name:Gv,parse:tc,structure:Yv,walkContext:Kv},Symbol.toStringTag,{value:"Module"})),Zv="SupportsDeclaration",Jv={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 ex(e){this.token(V,"("),this.node(e.declaration),this.token(L,")")}const tx=Object.freeze(Object.defineProperty({__proto__:null,generate:ex,name:Zv,parse:nc,structure:Jv},Symbol.toStringTag,{value:"Module"})),nx=42,Wa=124;function Wr(){this.tokenType!==A&&this.isDelim(nx)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const rx="TypeSelector",ox={name:String};function rc(){const e=this.tokenStart;return this.isDelim(Wa)?(this.next(),Wr.call(this)):(Wr.call(this),this.isDelim(Wa)&&(this.next(),Wr.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ix(e){this.tokenize(e.name)}const ax=Object.freeze(Object.defineProperty({__proto__:null,generate:ix,name:rx,parse:rc,structure:ox},Symbol.toStringTag,{value:"Module"})),oc=43,ic=45,go=63;function Gt(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===ic&&t&&n!==0)return Gt.call(this,e+n+1,!1),-1;rt(o)||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(go);)++t>e&&this.error("Too many question marks"),this.next()}function sx(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===oc?"Plus sign":"Hyphen minus")+" is expected")}function lx(){let e=0;switch(this.tokenType){case M:if(e=Gt.call(this,1,!0),this.isDelim(go)){Cn.call(this,6-e);break}if(this.tokenType===D||this.tokenType===M){sx.call(this,ic),Gt.call(this,1,!1);break}break;case D:e=Gt.call(this,1,!0),e>0&&Cn.call(this,6-e);break;default:if(this.eatDelim(oc),this.tokenType===A){e=Gt.call(this,0,!0),e>0&&Cn.call(this,6-e);break}if(this.isDelim(go)){this.next(),Cn.call(this,5);break}this.error("Hex digit or question mark is expected")}}const cx="UnicodeRange",ux={value:String};function ac(){const e=this.tokenStart;return this.eatIdent("u"),lx.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function px(e){this.tokenize(e.value)}const dx=Object.freeze(Object.defineProperty({__proto__:null,generate:px,name:cx,parse:ac,structure:ux},Symbol.toStringTag,{value:"Module"})),fx=32,bo=92,hx=34,mx=39,gx=40,sc=41;function bx(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===sc?t-2:t-1,o="";for(;n<r&&pt(e.charCodeAt(n));)n++;for(;n<r&&pt(e.charCodeAt(r));)r--;for(let i=n;i<=r;i++){let a=e.charCodeAt(i);if(a===bo){if(i===r){i!==t-1&&(o=e.substr(i+1));break}if(a=e.charCodeAt(++i),qe(bo,a)){const s=i-1,c=jt(e,s);i=c-1,o+=Is(e.substring(s+1,c))}else a===13&&e.charCodeAt(i+1)===10&&i++}else o+=e[i]}return o}function yx(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===fx||o===bo||o===hx||o===mx||o===gx||o===sc?(t+="\\"+e.charAt(r),n=!1):(n&&rt(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const kx="Url",vx={value:String};function lc(){const e=this.tokenStart;let t;switch(this.tokenType){case fe:t=bx(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 xx(e){this.token(fe,yx(e.value))}const wx=Object.freeze(Object.defineProperty({__proto__:null,generate:xx,name:kx,parse:lc,structure:vx},Symbol.toStringTag,{value:"Module"})),$x="Value",Sx={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 Cx(e){this.children(e)}const zx=Object.freeze(Object.defineProperty({__proto__:null,generate:Cx,name:$x,parse:cc,structure:Sx},Symbol.toStringTag,{value:"Module"})),Ex=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Ax="WhiteSpace",Ox={value:String};function uc(){return this.eat(ee),Ex}function jx(e){this.token(ee,e.value)}const Tx=Object.freeze(Object.defineProperty({__proto__:null,generate:jx,name:Ax,parse:uc,structure:Ox},Symbol.toStringTag,{value:"Module"})),pc=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:X0,Atrule:nb,AtrulePrelude:sb,AttributeSelector:gb,Block:$b,Brackets:Eb,CDC:Tb,CDO:Mb,ClassSelector:Db,Combinator:Gb,Comment:Jb,Condition:iy,Declaration:vy,DeclarationList:Cy,Dimension:Oy,Feature:Py,FeatureFunction:Ny,FeatureRange:qy,Function:Xy,GeneralEnclosed:ek,Hash:ik,IdSelector:fk,Identifier:ck,Layer:yk,LayerList:wk,MediaQuery:zk,MediaQueryList:jk,NestingSelector:Mk,Nth:Nk,Number:Uk,Operator:Gk,Parentheses:Qk,Percentage:tv,PseudoClassSelector:av,PseudoElementSelector:pv,Ratio:mv,Raw:vv,Rule:zv,Scope:jv,Selector:Pv,SelectorList:Nv,String:qv,StyleSheet:Qv,SupportsDeclaration:tx,TypeSelector:ax,UnicodeRange:dx,Url:wx,Value:zx,WhiteSpace:Tx},Symbol.toStringTag,{value:"Module"})),_x={generic:!0,cssWideKeywords:Mo,...q0,node:pc},Lx=35,Px=42,Ba=43,Mx=45,Rx=47,Fx=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 D:return this.Dimension();case J: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,Fx)&&this.cmpChar(this.tokenStart+1,Ba)?this.UnicodeRange():this.Identifier();case W:{const t=this.charCodeAt(this.tokenStart);if(t===Rx||t===Px||t===Ba||t===Mx)return this.Operator();t===Lx&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const Ix={getNode:dc},Nx=35,Dx=38,Wx=42,Bx=43,Ux=47,Ua=46,Vx=62,qx=124,Hx=126;function Gx(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Kx(){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 J:return this.Percentage();case D:this.charCodeAt(this.tokenStart)===Ua&&this.error("Identifier is expected",this.tokenStart+1);break;case W:{switch(this.charCodeAt(this.tokenStart)){case Bx:case Vx:case Hx:case Ux:return this.Combinator();case Ua:return this.ClassSelector();case Wx:case qx:return this.TypeSelector();case Nx:return this.IdSelector();case Dx:return this.NestingSelector()}break}}}const Yx={onWhiteSpace:Gx,getNode:Kx};function Xx(){return this.createSingleNodeList(this.Raw(null,!1))}function Qx(){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)===ee){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Va(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const Zx={getNode:dc,onWhiteSpace(e,t){Va(e)&&(e.value=" "+e.value),Va(t.last)&&(t.last.value+=" ")},expression:Xx,var:Qx},Jx=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Ix,Selector:Yx,Value:Zx},Symbol.toStringTag,{value:"Module"})),e1=new Set(["none","and","not","or"]),t1={parse:{prelude(){const e=this.createList();if(this.tokenType===A){const t=this.substring(this.tokenStart,this.tokenEnd);e1.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},n1={parse:{prelude:null,block(){return this.Block(!0)}}};function Br(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 qa={layer(){this.skipSC();const e=this.createList(),t=Br.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=Br.call(this,this.Declaration,()=>Br.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},r1={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,qa)),this.skipSC(),this.tokenType===R&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,qa)),(this.lookupNonWSType(0)===A||this.lookupNonWSType(0)===V)&&e.push(this.MediaQueryList()),e},block:null}},o1={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},i1={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},a1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},s1={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},l1={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},c1={parse:{prelude:null,block(e=!1){return this.Block(e)}}},u1={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},p1={container:t1,"font-face":n1,import:r1,layer:o1,media:i1,nest:a1,page:s1,scope:l1,"starting-style":c1,supports:u1};function d1(){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 it={parse(){return this.createSingleNodeList(this.SelectorList())}},Ur={parse(){return this.createSingleNodeList(this.Selector())}},f1={parse(){return this.createSingleNodeList(this.Identifier())}},h1={parse:d1},zn={parse(){return this.createSingleNodeList(this.Nth())}},m1={dir:f1,has:it,lang:h1,matches:it,is:it,"-moz-any":it,"-webkit-any":it,where:it,not:it,"nth-child":zn,"nth-last-child":zn,"nth-last-of-type":zn,"nth-of-type":zn,slotted:Ur,host:Ur,"host-context":Ur},g1=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"})),b1={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:Jx,atrule:p1,pseudo:m1,node:g1},y1={node:pc},k1=V0({..._x,...b1,...y1});function Zt(e){const t={};for(const n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof ae?r=r.map(Zt):r.constructor===Object&&(r=Zt(r))),t[n]=r}return t}const{tokenize:R1,parse:fc,generate:Ha,lexer:F1,createLexer:I1,walk:v1,find:N1,findLast:D1,findAll:W1,toPlainObject:B1,fromPlainObject:U1,fork:V1}=k1;async function x1(e,t){const{code:n,uno:r,options:o,filename:i}=e;await Promise.all(t.block.children.map(async a=>{if(a.type==="Raw")return hc(n,r,o,i,a.value,a.loc.start.offset);await w1(e,t,a)}).toArray())}async function w1({code:e,uno:t,applyVariable:n},r,o){const i=e.original;let a;if(o.type==="Atrule"&&o.name==="apply"&&o.prelude&&o.prelude.type==="Raw")a=Vr(o.prelude.value.trim());else if(o.type==="Declaration"&&n.includes(o.property)&&(o.value.type==="Value"||o.value.type==="Raw")){let u=i.slice(o.value.loc.start.offset,o.value.loc.end.offset).trim();u=Vr(u),a=u.split(/\s+/g).filter(Boolean).map(f=>Vr(f)).join(" ")}if(!a)return;a=$1(a);const s=Qa(a).split(/\s+/g).map(u=>u.trim().replace(/\\/,"")),c=(await Promise.all(s.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 l=i[o.loc.end.offset]===";"?1:i[o.loc.end.offset]==="@"?-1:0;for(const u of c){const[,d,f,h,m]=u,v=d?.replace(ko," ")||d;if(h||v&&v!==".\\-"||m?.noMerge){let x=Ha(r.prelude);const C=e.slice(r.prelude.loc.start.offset,r.prelude.loc.end.offset);if(m?.noMerge)x=v;else if(v&&v!==".\\-"){const $=fc(`${v}{}`,{context:"rule"}),z=Zt(r.prelude);z.children?.forEach(w=>{const j=Zt($.prelude),E=new ae;j?.children?.forEach(b=>{E.appendList(b?.children?.filter(k=>k.type==="ClassSelector"&&k.name==="\\-"))}),E.forEach(b=>Object.assign(b,Zt(w))),Object.assign(w,j)}),x=Ha(z)}let y=`${x.includes(".\\-")?C.split(",").map($=>x.replace(/.\\-/g,$.trim())).join(","):x}{${f}}`;if(h)if(h.includes(" $$ ")){const[$,...z]=h.split(" $$ ").reverse();y=`${z.reduce((w,j,E)=>E===z.length-1?`${w}{${j}{${y}}}${"}".repeat(E)}`:`${w}{${j}`,$)}`}else h===".\\-"?y=`${C}{${y}}`:y=`${h}{${y}}`;l=0,e.appendLeft(r.loc.end.offset,y)}else f.includes("@")?e.appendRight(i.length,f):e.appendRight(o.loc.end.offset+l,f)}e.remove(o.loc.start.offset,o.loc.end.offset+l)}function Vr(e){return e.replace(/^(['"])(.*)\1$/,"$2")}function $1(e){return e.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,"")}async function S1(e,t,n){const r=e.config.presets?.flat()?.find(v=>v.name==="@unocss/preset-icons");if(!r){console.warn("@unocss/preset-icons not found, icon() directive will be keep as-is");return}const{scale:o=1,prefix:i="i-",collections:a,customizations:s={},autoInstall:c=!1,iconifyCollectionsNames:l,collectionsNodeResolvePath:u,unit:d}=r.options,f=r.api,h={addXmlNs:!0,scale:o,customCollections:a,autoInstall:c,cwd:u,warn:void 0,customizations:{...s,trimCustomSvg:!0,async iconCustomizer(v,x,C){await s.iconCustomizer?.(v,x,C),d&&(C.width||(C.width=`${o}${d}`),C.height||(C.height=`${o}${d}`))}}},m=await f.createNodeLoader?.()||(async()=>{});for(const v of H(i))if(t.startsWith(v)){t=t.slice(v.length);const x=await f.parseIconWithLoader(t,m,h,l);if(x)return`url("data:image/svg+xml;utf8,${n?f.encodeSvgForCss(x.svg).replace(/currentcolor/gi,n):f.encodeSvgForCss(x.svg)}")`}}async function C1({code:e,uno:t,options:n},r){const{throwOnMissing:o=!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 i;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&&(i=[c[1].loc.start.offset,r.children.last.loc.end.offset])}const a=r.children.first.value;let s=ls(a,t.config.theme,!i&&o);!s&&i&&(s=e.slice(i[0],i[1])),s&&e.overwrite(r.loc.start.offset,r.loc.end.offset,s);break}case"icon":{const i=r.children.toArray().filter(l=>l.type==="String").map(l=>l.value);if(i.length===0)throw new Error("icon() expects at least one argument");let[a,s]=i;s&&(s=encodeURIComponent(ss(s,t.config.theme,o)));const c=await S1(t,a,s);c&&e.overwrite(r.loc.start.offset,r.loc.end.offset,c);break}}}const z1=/(@screen [^{]+)(.+)/g;function E1({code:e,uno:t},n){let r="",o="";if(n.prelude?.type==="Raw"&&(r=n.prelude.value.trim()),!r)return;const i=r.match(/^(?:(lt|at)-)?(\w+)$/);i&&(o=i[1],r=i[2]);const s=((()=>{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,v)=>Number.parseInt(m[1].replace(/[a-z]+/gi,""))-Number.parseInt(v[1].replace(/[a-z]+/gi,""))).map(([m,v])=>({point:m,size:v})):void 0})()??[]).map(({point:f,size:h},m)=>[f,h,m]),c=(f,h)=>{const[,m,v]=s.find(x=>x[0]===f);if(h){if(h==="lt")return`@media (max-width: ${Fn(m)})`;if(h==="at")return`@media (min-width: ${m})${s[v+1]?` and (max-width: ${Fn(s[v+1][1])})`:""}`;throw new Error(`breakpoint variant not supported: ${h}`)}return`@media (min-width: ${m})`};if(!s.find(f=>f[0]===r))throw new Error(`breakpoint ${r} not found`);const l=n.loc.start.offset,u=e.original.slice(l,n.loc.end.offset),d=Array.from(u.matchAll(z1));if(d.length)for(const f of d)e.overwrite(l+f.index,l+f.index+f[1].length,`${c(r,o)}`)}async function hc(e,t,n,r,o,i){let{applyVariable:a}=n;const s=n.varStyle;a===void 0&&(s!==void 0&&(a=s?[`${s}apply`]:[]),a=["--at-apply","--uno-apply","--uno"]),a=H(a||[]);const c=y=>y.includes("@apply")||a.some($=>y.includes($)),l=o||e.original,u=c(l),d=l.includes("@screen"),f=as(l)||Mu(l);if(!u&&!f&&!d)return;const h=fc(l,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:r,offset:i});if(h.type!=="StyleSheet")return;const m=[],v={options:n,applyVariable:a,uno:t,code:e,filename:r},x=async(y,$,z)=>{d&&y.type==="Atrule"&&y.name==="screen"?E1(v,y):y.type==="Function"?await C1(v,y):u&&y.type==="Rule"&&await x1(v,y)};v1(h,(...y)=>m.push(x(...y))),await Promise.all(m);const C=e.toString();if(!c(C)){const y=C.replace(/([^{}]+)\{\s*\}\s*/g,($,z)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(z.trim())?"":$);y!==C&&e.update(0,e.original.length,y)}}function q1(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{vo as M,iu as _,_1 as a,L1 as b,P1 as c,O1 as d,M1 as e,j1 as i,T1 as p,q1 as t,Pc as w};
|