@skaldapp/runtime 3.1.13 → 3.1.15
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/esprima-BR6CEG77.js +8 -0
- package/dist/assets/index-CTx_YmlW.js +117 -0
- package/dist/assets/index-bYpYaqOv.css +1 -0
- package/dist/assets/markdown-DYNJ6Ntg.js +16 -0
- package/dist/assets/ofetch-XPJe_o5P.js +1 -0
- package/dist/assets/rolldown-runtime-Bhmf7a9N.js +1 -0
- package/dist/assets/sucrase-D9elb1_L.js +135 -0
- package/dist/assets/temml-Cn806M5Y.css +1 -0
- package/dist/assets/temml-gzcK8DTU.js +94 -0
- package/dist/assets/unocss-TrzabPxA.js +423 -0
- package/dist/assets/vue-BFE4yC8G.js +173 -0
- package/dist/index.html +11 -8
- package/package.json +7 -9
- package/dist/assets/index-W5ZzOxGj.js +0 -7
- package/dist/assets/index-X9Kt6xMm.css +0 -1
- package/dist/assets/markdown-yGb7k3A8.js +0 -1
- package/dist/assets/ofetch-xbea4qKc.js +0 -1
- package/dist/assets/sucrase-D8pz8hBV.js +0 -1
- package/dist/assets/traeblain-B2MaFYm5.js +0 -1
- package/dist/assets/unocss-ermFjJsI.js +0 -1
- package/dist/assets/vue-B2aV9V09.js +0 -1
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ofetch-XPJe_o5P.js","./rolldown-runtime-Bhmf7a9N.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e,t}from"./rolldown-runtime-Bhmf7a9N.js";import{n,r}from"./sucrase-D9elb1_L.js";var i=`default`,a=`preflights`,o=`shortcuts`,s=`imports`,c={[s]:-200,[a]:-100,[o]:-10,[i]:0},l=/[\\:]?[\s'"`;{}]+/g;function u(e){return e.split(l)}var d={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return u(e)}};function f(e=[]){return Array.isArray(e)?e:[e]}function p(e){return Array.from(new Set(e))}function m(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function h(e){return typeof e==`string`}var g=class extends Set{constructor(e){if(super(),this._map=new Map,e)for(let t of e)this.add(t)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,t){return this._map.set(e,t),super.add(e)}};function _(e){return e instanceof g}function v(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function y(e){let t=e.length,n=-1,r,i=``,a=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){i+=`�`;continue}if(r===37){i+=`\\%`;continue}if(r===44){i+=`\\,`;continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&a===45){i+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){i+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){i+=e.charAt(n);continue}i+=`\\${e.charAt(n)}`}return i}var b=y;function ee(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(e=>e(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(e=>e!==t)}}}var te=/^\[(.+?)~?="(.*)"\]$/,x=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,ne=/[\w\u00A0-\uFFFF%-?]/;function re(e){return e.match(te)}function ie(e=``){return ne.test(e)}function ae(e){return typeof e==`function`?{match:e}:e}function oe(e){return e.length===3}function se(e){return e!=null}function ce(){}var le=class{constructor(){this._map=new Map}get(e,t){let n=this._map.get(e);if(n)return n.get(t)}getFallback(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(t)||r.set(t,n),r.get(t)}set(e,t,n){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(t,n),this}has(e,t){return this._map.get(e)?.has(t)}delete(e,t){return this._map.get(e)?.delete(t)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([t,n])=>Array.from(n.entries()).map(([n,r])=>e(r,t,n)))}},ue=class extends Map{getFallback(e,t){let n=this.get(e);return n===void 0?(this.set(e,t),t):n}map(e){let t=[];return this.forEach((n,r)=>{t.push(e(n,r))}),t}flatMap(e){let t=[];return this.forEach((n,r)=>{t.push(...e(n,r))}),t}};function de(e){return h(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function fe(e){return Array.isArray(e)?e.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>de(e)):[e]:[de(e)]}function pe(e){return e.filter(([t,n],r)=>{if(t.startsWith(`$$`))return!1;for(let i=r-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===n)return!1;return!0})}var me=`__virtual_key__`;function he(e){return e==null?``:pe(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function ge(e){return e&&typeof e==`object`&&!Array.isArray(e)}function _e(e,t,n=!1){let r=e,i=t;if(Array.isArray(i))return n&&Array.isArray(i)?[...r,...i]:[...i];let a={...r};return ge(r)&&ge(i)&&Object.keys(i).forEach(e=>{ge(r[e])&&ge(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=_e(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function ve(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`?ve(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:ve(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?ve(r):r;return n}return e}function ye(e){return h(e[0])}function be(e){return h(e[0])}var xe={};function Se(e=[`-`,`:`]){let t=e.join(`|`);return xe[t]||(xe[t]=RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),xe[t].lastIndex=0,xe[t]}function Ce(e,t=[`-`,`:`],n=5){let r=Se(t),i,a=e.toString(),o=new Set,s=new Map;do i=!1,a=a.replace(r,(e,n,r,a,c)=>{if(!t.includes(r))return e;i=!0,o.add(n+r);let l=c+n.length+r.length+1,u={length:e.length,items:[]};s.set(c,u);for(let e of[...a.matchAll(/\S+/g)]){let t=l+e.index,i=s.get(t)?.items;i?s.delete(t):i=[{offset:t,length:e[0].length,className:e[0]}];for(let e of i)e.className=e.className===`~`?r===`:`?`${n}${r}~`:n:e.className.replace(/^(!?)(.*)/,`$1${n}${r}$2`),u.items.push(e)}return`$`.repeat(e.length)}),--n;while(i&&n);let c;if(typeof e==`string`){c=``;let t=0;for(let[n,r]of s)c+=e.slice(t,n),c+=r.items.map(e=>e.className).join(` `),t=n+r.length;c+=e.slice(t)}else{c=e;for(let[e,t]of s)c.overwrite(e,e+t.length,t.items.map(e=>e.className).join(` `))}return{prefixes:Array.from(o),hasChanged:i,groupsByOffset:s,get expanded(){return c.toString()}}}function we(e,t=[`-`,`:`],n=5){let r=Ce(e,t,n);return typeof e==`string`?r.expanded:e}var Te=new Set;function Ee(e){Te.has(e)||(console.warn(`[unocss]`,e),Te.add(e))}function De(e){return f(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Oe=`_uno_resolved`;async function ke(e){let t=typeof e==`function`?await e():await e;if(Oe in t)return t;t={...t},Object.defineProperty(t,Oe,{value:!0,enumerable:!1});let n=t.shortcuts?De(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){let e=e=>{e[2]||={};let n=e[2];n.prefix==null&&t.prefix&&(n.prefix=f(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function Ae(e){let t=await ke(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(f).flatMap(Ae))).flat()]:[t]}function je(e){if(e.length===0)return{};let t=[],n=[],r=!1,i=[],a=[];for(let o of e){if(o.pipeline===!1){r=!0;break}else o.pipeline?.include&&t.push(o.pipeline.include),o.pipeline?.exclude&&n.push(o.pipeline.exclude);o.filesystem&&i.push(o.filesystem),o.inline&&a.push(o.inline)}let o={pipeline:r?!1:{include:p(Fe(...t)),exclude:p(Fe(...n))}};return i.length&&(o.filesystem=p(i.flat())),a.length&&(o.inline=p(a.flat())),o}async function Me(e={},t={}){let n=Object.assign({},t,e),r=m((await Promise.all((n.presets||[]).flatMap(f).flatMap(Ae))).flat(),(e,t)=>e.name===t.name),i=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],a=[...i,n],o=[...a].reverse(),s=Object.assign({},c,...a.map(e=>e.layers));function l(e){return p(a.flatMap(t=>f(t[e]||[])))}let u=l(`extractors`),h=o.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=d),h&&!u.includes(h)&&u.unshift(h),u.sort((e,t)=>(e.order||0)-(t.order||0));let g=l(`rules`),_=g.length,v={},y=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ye(t)?f(n.prefix??``).forEach(e=>{v[e+t[0]]=t}):y.unshift(t)}let b={templates:p(a.flatMap(e=>f(e.autocomplete?.templates))),extractors:a.flatMap(e=>f(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:Pe(a.map(e=>e.autocomplete?.shorthands||{}))},ee=l(`separators`);ee.length||(ee=[`:`,`-`]);let te=je(l(`content`)),x={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:l(`blocklist`),presets:i,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:s,theme:Ne(a.map(e=>e.theme)),rules:g,rulesSize:_,rulesDynamic:y,rulesStaticMap:v,preprocess:l(`preprocess`),postprocess:l(`postprocess`),preflights:l(`preflights`),autocomplete:b,variants:l(`variants`).map(ae).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:De(l(`shortcuts`)).reverse(),extractors:u,safelist:l(`safelist`),separators:ee,details:n.details??n.envMode===`dev`,content:te,transformers:m(l(`transformers`),(e,t)=>e.name===t.name)},ne=l(`extendTheme`);for(let e of ne)x.theme=e(x.theme,x)||x.theme;for(let e of a)e?.configResolved?.(x);return x}function Ne(e){return e.map(e=>e?ve(e):{}).reduce((e,t)=>_e(e,t),{})}function Pe(e){return e.reduce((e,t)=>{let n={};for(let e in t){let r=t[e];Array.isArray(r)?n[e]=`(${r.join(`|`)})`:n[e]=r}return{...e,...n}},{})}function Fe(...e){return e.flatMap(Ie)}function Ie(e){return Array.isArray(e)?e:e?[e]:[]}function Le(e){return e}var Re=`66.6.6`,S={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,noScope:`$$symbol-no-scope`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`},ze=class e{constructor(e={},t={}){this.userConfig=e,this.defaults=t,this.version=Re,this.events=ee(),this.config=void 0,this.cache=new Map,this.blocked=new Set,this.parentOrders=new Map,this.activatedRules=new Set,this.resolveCSSResult=(e,t,n,r)=>{let i=fe(t).filter(e=>e.length);if(i.length){this.config.details&&r.rules.push(n),r.generator.activatedRules.add(n);let t=n[2];return i.map(n=>{if(h(n))return[t.__index,n,t];let i=r.variantHandlers,a=t,o=e=>{i=[e,...i]},s=e=>{a={...a,...e}};for(let e of n)switch(e[0]){case S.variants:i=typeof e[1]==`function`?e[1](i)||i:[...f(e[1]),...i];break;case S.parent:o({parent:e[1]});break;case S.selector:o({selector:e[1]});break;case S.layer:o({layer:e[1]});break;case S.sort:s({sort:e[1]});break;case S.noMerge:s({noMerge:e[1]});break;case S.noScope:s({noScope:e[1]});break;case S.body:e[0]=me;break}return[t.__index,e,n,a,i]})}}}static async create(t={},n={}){let r=new e(t,n);return r.config=await Me(r.userConfig,r.defaults),r.events.emit(`config`,r.config),r}async setConfig(e,t){e&&(t&&(this.defaults=t),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Me(e,this.defaults),this.events.emit(`config`,this.config))}async applyExtractors(e,t,n=new Set){let r={original:e,code:e,id:t,extracted:n,envMode:this.config.envMode};for(let e of this.config.extractors){let t=await e.extract?.(r);if(t)if(_(t)&&_(n))for(let e of t)n.setCount(e,n.getCount(e)+t.getCount(e));else for(let e of t)n.add(e)}return n}makeContext(e,t){let n={rawSelector:e,currentSelector:t[1],theme:this.config.theme,generator:this,symbols:S,variantHandlers:t[2],constructCSS:(...e)=>this.constructCustomCSS(n,...e),variantMatch:t};return n}async parseToken(e,t){if(this.blocked.has(e))return;let n=`${e}${t?` ${t}`:``}`;if(this.cache.has(n))return this.cache.get(n);let r=this.config.preprocess.reduce((e,t)=>t(e)??e,e);if(this.isBlocked(r)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,r);if(i.every(e=>!e||this.isBlocked(e[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async n=>{let r=this.makeContext(e,[t||n[0],n[1],n[2],n[3]]);this.config.details&&(r.variants=[...n[3]]);let i=await this.expandShortcut(r.currentSelector,r);return i?await this.stringifyShortcuts(r.variantMatch,r,i[0],i[1]):(await this.parseUtil(r.variantMatch,r))?.flatMap(e=>this.stringifyUtil(e,r)).filter(se)},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o?.length)return this.cache.set(n,o),o;this.cache.set(n,null)}async generate(e,t={}){let{id:n,scope:r,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:l=!1}=t,u=h(e)?await this.applyExtractors(e,n,l?new g:new Set):Array.isArray(e)?new Set(e):e;if(s){let e={generator:this,theme:this.config.theme};this.config.safelist.flatMap(t=>typeof t==`function`?t(e):t).forEach(e=>{let t=e.trim();t&&!u.has(t)&&u.add(t)})}let d=c?``:`
|
|
3
|
+
`,f=new Set([i]),m=l?new Map:new Set,v=new Map,y={},b=Array.from(u).map(async e=>{if(m.has(e))return;let t=await this.parseToken(e);if(t!=null){m instanceof Map?m.set(e,{data:t,count:_(u)?u.getCount(e):-1}):m.add(e);for(let e of t){let t=e[3]||``,n=e[4]?.layer;v.has(t)||v.set(t,[]),v.get(t).push(e),n&&f.add(n)}}});await Promise.all(b),await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=a})=>{f.add(e),t.add(e)}),y=Object.fromEntries(await Promise.all(Array.from(t).map(async t=>[t,(await Promise.all(this.config.preflights.filter(e=>(e.layer||`preflights`)===t).map(async t=>await t.getCSS(e)))).filter(Boolean).join(d)])))})();let ee=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),te=ee(Array.from(f)),x={},ne=this.config.outputToCssLayers,re=e=>{let t=e;return typeof ne==`object`&&(t=ne.cssLayerName?.(e)),t===null?null:t??e},ie=(e=i)=>{if(x[e])return x[e];let t=Array.from(v).sort((e,t)=>(this.parentOrders.get(e[0])??0)-(this.parentOrders.get(t[0])??0)||e[0]?.localeCompare(t[0]||``)||0).map(([t,n])=>{let i=n.length,a=n.filter(t=>(t[4]?.layer||`default`)===e).sort((e,t)=>e[0]-t[0]||(e[4]?.sort||0)-(t[4]?.sort||0)||e[5]?.currentSelector?.localeCompare(t[5]?.currentSelector??``)||e[1]?.localeCompare(t[1]||``)||e[2]?.localeCompare(t[2]||``)||0).map(([,e,t,,n,,i])=>[[[(e&&!n?.noScope?Ue(e,r):e)??``,n?.sort??0]],t,!!(i??n?.noMerge)]);if(!a.length)return;let o=a.reverse().map(([e,t,n],r)=>{if(!n&&this.config.mergeSelectors)for(let n=r+1;n<i;n++){let r=a[n];if(r&&!r[2]&&(e&&r[0]||e==null&&r[0]==null)&&r[1]===t)return e&&r[0]&&r[0].push(...e),null}let o=e?p(e.sort((e,t)=>e[1]-t[1]||e[0]?.localeCompare(t[0]||``)||0).map(e=>e[0]).filter(Boolean)):[];return o.length?`${o.join(`,${d}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(d);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${d}${s}${d}${`}`.repeat(c.length)}`}).filter(Boolean).join(d);o&&(t=[y[e],t].filter(Boolean).join(d));let n;ne&&t&&(n=re(e),n!==null&&(t=`@layer ${n}{${d}${t}${d}}`));let a=c?``:`/* layer: ${e}${n&&n!==e?`, alias: ${n}`:``} */${d}`;return x[e]=t?a+t:``},ae=(e=te,t)=>{let n=e.filter(e=>!t?.includes(e)),r=n.map(ie).filter(Boolean);if(ne){let e=n;typeof ne==`object`&&ne.allLayers&&(e=ee(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(re).filter(se).join(`, `)};`)}return r.join(d)};return{get css(){return ae()},layers:te,matched:m,getLayers:ae,getLayer:ie,setLayer:async(e,t)=>{let n=await t(ie(e));return x[e]=n,n}}}async matchVariants(e,t){let n={rawSelector:e,theme:this.config.theme,generator:this},r=async t=>{let i=!0,[,,a,o]=t;for(;i;){i=!1;let s=t[1];for(let e of this.config.variants){if(!e.multiPass&&o.has(e))continue;let c=await e.match(s,n);if(c){if(h(c)){if(c===s)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(e.multiPass)throw Error(`multiPass can not be used together with array return variants`);let n=c.map(n=>{let r=n.matcher??s,i=[n,...a],c=new Set(o);return c.add(e),[t[0],r,i,c]});return(await Promise.all(n.map(e=>r(e)))).flat()}}t[1]=c.matcher??s,a.unshift(c),o.add(e),i=!0;break}}if(!i)break;if(a.length>500)throw Error(`Too many variants applied to "${e}"`)}return[t]};return await r([e,t||e,[],new Set])}applyVariants(e,t=e[4],n=e[1]){let r=t.slice().sort((e,t)=>(e.order||0)-(t.order||0)).reduceRight((e,t)=>n=>{let r=t.body?.(n.entries)||n.entries,i=Array.isArray(t.parent)?t.parent:[t.parent,void 0],a=t.selector?.(n.selector,r);return(t.handle??Ke)({...n,entries:r,selector:a||n.selector,parent:i[0]||n.parent,parentOrder:i[1]||n.parentOrder,layer:t.layer||n.layer,sort:t.sort||n.sort},e)},e=>e)({prefix:``,selector:Ge(n),pseudo:``,entries:e[2]}),{parent:i,parentOrder:a}=r;i!=null&&a!=null&&this.parentOrders.set(i,a);let o={selector:[r.prefix,r.selector,r.pseudo].join(``),entries:r.entries,parent:i,layer:r.layer,sort:r.sort,noMerge:r.noMerge};return this.config.postprocess.reduce((e,t)=>{let n=[];for(let r of e){let e=t(r);Array.isArray(e)?n.push(...e.filter(se)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=de(t);return h(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${he(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=h(e)?await this.matchVariants(e):[e],a=async([e,i,a])=>{this.config.details&&(t.rules=t.rules??[]);let o={...t,variantHandlers:a},s=this.config.rulesStaticMap[i];if(s&&s[1]&&(n||!s[2]?.internal))return this.resolveCSSResult(e,s[1],s,o);for(let t of this.config.rulesDynamic){let[a,s,c]=t;if(c?.internal&&!n)continue;let l=i;if(c?.prefix){let e=f(c.prefix);if(r){let t=f(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;l=i.slice(t.length)}}let u=l.match(a);if(!u)continue;let d=await s(u,o);if(!d)continue;if(typeof d!=`string`)if(Symbol.asyncIterator in d){let e=[];for await(let t of d)t&&e.push(t);d=e}else Symbol.iterator in d&&!Array.isArray(d)&&(d=Array.from(d).filter(se));let p=this.resolveCSSResult(e,d,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}stringifyUtil(e,t){if(!e)return;if(oe(e))return[[e[0],void 0,e[1],void 0,e[2],this.config.details?t:void 0,void 0]];let n=this.applyVariants(e),r=[];for(let i of n){let{selector:n,entries:a,parent:o,layer:s,sort:c,noMerge:l}=i,u=he(a);if(!u)continue;let{layer:d,sort:f,...p}=e[3]??{},m={...p,layer:s??d,sort:c??f};r.push([e[0],n,u,o,m,this.config.details?t:void 0,l])}return r}async expandShortcut(e,t,n=5){if(n===0)return;let r=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:ce,i,a,o,s;for(let n of this.config.shortcuts){let o=e;if(n[2]?.prefix){let t=f(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;o=e.slice(t.length)}if(be(n)){if(n[0]===o){i||=n[2],a=n[1],r(n);break}}else{let e=o.match(n[0]);if(e&&(a=n[1](e,t)),a){i||=n[2],r(n);break}}}if(a&&(o=p(f(a).filter(h).map(e=>we(e.trim()).split(/\s+/g)).flat()),s=f(a).filter(e=>!h(e)).map(e=>({handles:[],value:e}))),!a){let r=h(e)?await this.matchVariants(e):[e];for(let e of r){let[r,i,a]=e;if(r!==i){let e=await this.expandShortcut(i,t,n-1);e&&(o=e[0].filter(h).map(e=>r.replace(i,e)),s=e[0].filter(e=>!h(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!o?.length&&!s?.length))return[[await Promise.all(f(o).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),s].flat(2).filter(e=>!!e),i]}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){let i=new ue,a=(await Promise.all(p(n).map(async n=>{let i=h(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,de(n.value),void 0,n.handles]];return!i&&this.config.warn&&Ee(`unmatched utility "${n}" in shortcut "${e[1]}"`),i||[]}))).flat(1).filter(Boolean).sort((e,t)=>e[0]-t[0]),[o,,s]=e,c=[];for(let e of a){if(oe(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[S.shortcutsNoMerge],a=[...e[4],...n?[]:s];for(let{selector:t,entries:n,parent:s,sort:c,noMerge:l,layer:u}of this.applyVariants(e,a,o))i.getFallback(u??r.layer,new le).getFallback(t,s,[[],e[0]])[0].push([n,!!(l??e[3]?.noMerge),c??0])}return c.concat(i.flatMap((e,n)=>e.map(([e,i],a,o)=>{let s=(e,s,c)=>{let l=Math.max(...c.map(e=>e[1])),u=c.map(e=>e[0]);return(e?[u.flat(1)]:u).map(e=>{let c=he(e);if(c)return[i,a,c,o,{...r,noMerge:s,sort:l,layer:n},t,void 0]})};return[[e.filter(([,e])=>e).map(([e,,t])=>[e,t]),!0],[e.filter(([,e])=>!e).map(([e,,t])=>[e,t]),!1]].map(([e,t])=>[...s(!1,t,e.filter(([e])=>e.some(e=>e[0]===S.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==S.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(e=>Array.isArray(e)?e[0]:e).some(t=>typeof t==`function`?t(e):h(t)?t===e:t.test(e))}getBlocked(e){let t=this.config.blocklist.find(t=>{let n=Array.isArray(t)?t[0]:t;return typeof n==`function`?n(e):h(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function Be(e,t){return await ze.create(e,t)}var Ve=/\s\$\$\s+/g;function He(e){return Ve.test(e)}function Ue(e,t){return He(e)?e.replace(Ve,t?` ${t} `:` `):t?`${t} ${e}`:e}var We=/^\[(.+?)(~?=)"(.*)"\]$/;function Ge(e){return We.test(e)?e.replace(We,(e,t,n,r)=>`[${b(t)}${n}"${b(r)}"]`):`.${b(e)}`}function Ke(e,t){return t(e)}var qe=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Je(e={}){let t=e.prefix??`un-`,n=e.prefixedOnly??!1,r=e.trueToNonValued??!1,i;return{name:`attributify`,match(e,{generator:a}){let o=re(e);if(!o)return;let s=o[1];if(s.startsWith(t))s=s.slice(t.length);else if(n)return;let c=o[2],[,l=``,u=c]=c.match(qe)||[];if(u===`~`||r&&u===`true`||!u)return`${l}${s}`;if(i==null){let e=a?.config?.separators?.join(`|`);i=e?RegExp(`^(.*\\](?:${e}))(\\[[^\\]]+?\\])$`):!1}if(i){let[,e,t]=c.match(i)||[];if(t)return`${e}${l}${s}-${t}`}if(l&&u.match(/^[\d.]+$/)){let e=l.split(/([^:]*:)/g).filter(Boolean),t=e.pop()+u,n=e.join(``);return[{matcher:`${l}${s}-${u}`},{matcher:`${n}${s}-${t}`}]}return`${l}${s}-${u}`}}}var Ye=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Xe=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Ze=/[\s'"`;>]+/;function Qe(e){return{name:`attributify`,extract:({content:t,cursor:n})=>{let r=t.matchAll(Ye),i,a=0;for(let e of r){let[,t,r]=e,o=e.index+t.length;if(n>o&&n<=o+r.length){a=o,i=r;break}}if(!i)return null;let o=i.matchAll(Xe),s=0,c,l;for(let e of o){let[t,r,i]=e,o=a+e.index;if(n>o&&n<=o+t.length){s=o,c=r,l=i?.slice(1);break}}if(!c||c===`class`||c===`className`||c===`:class`)return null;let u=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!u)return null;let d=u?c.slice(e.prefix.length):c;if(l===void 0)return{extracted:d,resolveReplacement(t){let n=u?e.prefix.length:0;return{start:s+n,end:s+c.length,replacement:t}}};let f=s+c.length+2,p=Ze.exec(l),m=0,h;for(;p;){let[e]=p;if(n>f+m&&n<=f+m+p.index){h=l.slice(m,m+p.index);break}m+=p.index+e.length,p=Ze.exec(l.slice(m))}h===void 0&&(h=l.slice(m));let[,g=``,_]=h.match(qe)||[];return{extracted:`${g}${d}-${_}`,transformSuggestions(e){return e.filter(e=>e.startsWith(`${g}${d}-`)).map(e=>g+e.slice(g.length+d.length+1))},resolveReplacement(e){return{start:m+f,end:m+f+h.length,replacement:g+e.slice(g.length+d.length+1)}}}}}}var $e=[`v-bind:`,`:`],et=/[\s'"`;]+/g,tt=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,nt=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,rt=[`placeholder`,`fill`,`opacity`,`stroke-opacity`];function it(e){let t=e?.ignoreAttributes??rt,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:`@unocss/preset-attributify/extractor`,extract({code:i}){return Array.from(i.matchAll(tt)).flatMap(e=>Array.from((e[1]||``).matchAll(nt))).flatMap(([,i,...a])=>{let o=a.filter(Boolean).join(``);if(t.includes(i))return[];for(let e of $e)if(i.startsWith(e)){i=i.slice(e.length);break}if(!o){if(ie(i)&&n!==!1){let e=[`[${i}=""]`];return r&&e.push(`[${i}="true"]`),e}return[]}return[`class`,`className`].includes(i)?o.split(et).filter(ie):tt.test(o)?(tt.lastIndex=0,this.extract({code:o})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:o.split(et).filter(e=>!!e&&e!==`:`).map(e=>`[${i}~="${e}"]`)})}}}var at=Le((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??rt,{name:`@unocss/preset-attributify`,enforce:`post`,variants:[Je(e)],extractors:[it(e)],options:e,autocomplete:{extractors:[Qe(e)]},extractorDefault:e.strict?!1:void 0}));function ot(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,`$1 $2`).replace(/(["';{}><])\s*\n\s*/g,`$1`).replace(/\s*\n\s*/g,` `).replace(/\s+"/g,`"`).replace(/="\s+/g,`="`).replace(/(\s)+\/>/g,`/>`).trim()}var st=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ct=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function lt(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(st);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=ct.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}var ut=Object.freeze({left:0,top:0,width:16,height:16}),dt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ft=Object.freeze({...ut,...dt}),pt=Object.freeze({...ft,body:``,hidden:!1}),mt=Object.freeze({width:null,height:null}),ht=Object.freeze({...mt,...dt});function gt(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function _t(e,t){return e?`<defs>`+e+`</defs>`+t:t}function vt(e,t,n){let r=gt(e);return _t(r.defs,t+r.content+n)}var yt=e=>e===`unset`||e===`undefined`||e===`none`;function bt(e,t){let n={...ft,...e},r={...ht,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=vt(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=lt(d,c/l)):(u=o===`auto`?c:o,d=s===null?lt(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{yt(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var xt=/\swidth\s*=\s*["']([\w.]+)["']/,St=/\sheight\s*=\s*["']([\w.]+)["']/,Ct=/<svg\s+/;function wt(e,t,n){let r=e.slice(0,e.indexOf(`>`)),i=(e,i)=>{let a=i.exec(r),o=a!=null,s=t[e];return!s&&!yt(s)&&(typeof n==`number`?n>0&&(t[e]=lt(a?.[1]??`1em`,n)):a&&(t[e]=a[1])),o};return[i(`width`,xt),i(`height`,St)]}async function Tt(e,t,n,r,i,a){let{scale:o,addXmlNs:s=!1}=r??{},{additionalProps:c={},iconCustomizer:l}=r?.customizations??{},u=await i?.()??{};await l?.(t,n,u),Object.keys(c).forEach(e=>{let t=c[e];t!=null&&(u[e]=t)}),a?.(u);let[d,f]=wt(e,u,o);s&&(!e.includes(`xmlns=`)&&!u.xmlns&&(u.xmlns=`http://www.w3.org/2000/svg`),!e.includes(`xmlns:xlink=`)&&e.includes(`xlink:`)&&!u[`xmlns:xlink`]&&(u[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`));let p=Object.keys(u).map(e=>e===`width`&&d||e===`height`&&f?null:`${e}="${u[e]}"`).filter(e=>e!=null);if(p.length&&(e=e.replace(Ct,`<svg ${p.join(` `)} `)),r){let{defaultStyle:t,defaultClass:n}=r;n&&!e.includes(`class=`)&&(e=e.replace(Ct,`<svg class="${n}" `)),t&&!e.includes(`style=`)&&(e=e.replace(Ct,`<svg style="${t}" `))}let m=r?.usedProps;return m&&(Object.keys(c).forEach(e=>{let t=u[e];t!=null&&(m[e]=t)}),u.width!==void 0&&u.width!==null&&(m.width=u.width),u.height!==void 0&&u.height!==null&&(m.height=u.height)),e}async function Et(e,t,n,r){let i;try{if(typeof e==`function`)i=await e(n);else{let t=e[n];i=typeof t==`function`?await t():t}}catch(e){console.warn(`Failed to load custom icon "${n}" in "${t}":`,e);return}if(i){let e=i.indexOf(`<svg`);e>0&&(i=i.slice(e));let{transform:a}=r?.customizations??{};return i=typeof a==`function`?await a(i,t,n):i,i.startsWith(`<svg`)?await Tt(r?.customizations?.trimCustomSvg===!0?ot(i):i,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}}function Dt(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ot(e,t){let n=Dt(e,t);for(let r in pt)r in dt?r in e&&!(r in n)&&(n[r]=dt[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function kt(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function At(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=Ot(r[e]||i[e],a)}return o(t),n.forEach(o),Ot(e,a)}function jt(e,t){if(e.icons[t])return At(e,t,[]);let n=kt(e,[t])[t];return n?At(e,t,n):null}async function Mt(e,t,n,r){let i,{customize:a}=r?.customizations??{};for(let o of n)if(i=jt(e,o),i){let e={...ht};typeof a==`function`&&(i=Object.assign({},i),e=a(e,i,`${t}:${o}`)??e);let{attributes:{width:n,height:s,...c},body:l}=bt(i,e),u=r?.scale;return await Tt(`<svg >${l}</svg>`,t,o,r,()=>({...c}),e=>{let t=(t,n)=>{let r=e[t],i;if(!yt(r)){if(r)return;typeof u==`number`?u&&(i=lt(n??`1em`,u)):i=n}i?e[t]=i:delete e[t]};t(`width`,n),t(`height`,s)})}}var Nt=async(e,t,n)=>{let r=n?.customCollections?.[e];if(r)if(typeof r==`function`){let i;try{i=await r(t)}catch(n){console.warn(`Failed to load custom icon "${t}" in "${e}":`,n);return}if(i){if(typeof i==`string`)return await Et(()=>i,e,t,n);if(`icons`in i){let r=[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)];return await Mt(i,e,r,n)}}}else return await Et(r,e,t,n)};function Pt(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function Ft(e){let t=e.startsWith(`<svg>`)?e.replace(`<svg>`,`<svg >`):e;return!t.includes(` xmlns:xlink=`)&&t.includes(` xlink:`)&&(t=t.replace(`<svg `,`<svg xmlns:xlink="http://www.w3.org/1999/xlink" `)),t.includes(` xmlns=`)||(t=t.replace(`<svg `,`<svg xmlns="http://www.w3.org/2000/svg" `)),Pt(t)}function It(){let e=typeof process<`u`&&process.stdout;return{isNode:e,isVSCode:e&&!!{}.VSCODE_CWD,isESLint:e&&!!{}.ESLINT}}var Lt=`academicons.akar-icons.ant-design.arcticons.basil.bi.bitcoin-icons.boxicons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.geo.gg.gis.glyphs-poly.glyphs.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wordpress.wpf.zmdi.zondicons`.split(`.`),Rt=3;function zt(e){return Le((t={})=>{let{scale:n=1,mode:r=`auto`,prefix:i=`i-`,warn:a=!1,iconifyCollectionsNames:o,collections:s,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:f=`icons`,unit:p,processor:m}=t,h=It(),g={addXmlNs:!0,scale:n,customCollections:s,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,r){await l.iconCustomizer?.(e,t,r),p&&(r.width||=`${n}${p}`,r.height||=`${n}${p}`)}}},_;return{name:`@unocss/preset-icons`,enforce:`pre`,options:t,layers:{icons:-30},api:{encodeSvgForCss:Ft,parseIconWithLoader:Vt},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,s,c=r]=n;_||=await e(t);let l={},u=await Vt(s,_,{...g,usedProps:l},o);if(!u){a&&!h.isESLint&&Ee(`failed to load icon "${i}"`);return}let d,f=`url("data:image/svg+xml;utf8,${Ft(u.svg)}")`;return c===`auto`&&(c=u.svg.includes(`currentColor`)?`mask`:`bg`),d=c===`mask`?{"--un-icon":f,"-webkit-mask":`var(--un-icon) no-repeat`,mask:`var(--un-icon) no-repeat`,"-webkit-mask-size":`100% 100%`,"mask-size":`100% 100%`,"background-color":`currentColor`,color:`inherit`,...l}:{background:`${f} no-repeat`,"background-size":`100% 100%`,"background-color":`transparent`,...l},m?.(d,{...u,icon:u.name,mode:c}),d},{layer:f,prefix:i}]]}})}function Bt(e,t,n=new Map){function r(r){if(Lt.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(e,t,n)=>{let i=await Nt(e,t,n);if(i)return i;let a=await r(e);return a&&(i=await Mt(a,e,[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)],n)),i}}async function Vt(e,t,n={},r=[]){let i=``,a=``,o,s=new Set([...Lt,...r,...Object.keys(n.customCollections||{})]);if(e.includes(`:`)){if([i,a]=e.split(`:`),!s.has(i))return;o=await t(i,a,n)}else{let r=e.split(/-/g);for(let e=Rt;e>=1&&(i=r.slice(0,e).join(`-`),!(s.has(i)&&(a=r.slice(e).join(`-`),o=await t(i,a,n),o)));e--);}if(o)return{collection:i,name:a,svg:o}}var Ht=`modulepreload`,Ut=function(e,t){return new URL(e,t).href},Wt={},Gt=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Ut(t,n),t in Wt)return;Wt[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Ht,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};async function Kt(e){let{$fetch:t}=await Gt(async()=>{let{$fetch:e}=await import(`./ofetch-XPJe_o5P.js`).then(e=>e.t);return{$fetch:e}},__vite__mapDeps([0,1]),import.meta.url);return Bt(t,e)}var qt=zt(async e=>{let t=e?.customFetch,n=e?.cdn;return t&&n?Bt(t,n):n?await Kt(n):Nt}),Jt=`__TAGIFY__`,Yt=/<([\w:-]+)/g;function Xt(e){let{prefix:t=``,excludedTags:n=[`b`,/^h\d+$/,`table`]}=e;return{name:`tagify`,extract({code:e}){return Array.from(e.matchAll(Yt)).filter(({1:e})=>{for(let t of n)if(typeof t==`string`){if(e===t)return!1}else if(t.lastIndex=0,t.test(e))return!1;return e.startsWith(t)}).map(([,e])=>`${Jt}${e}`)}}}function Zt(e){let{extraProperties:t}=e,n=`${Jt}${e.prefix??``}`;return{name:`tagify`,match(e){if(!e.startsWith(n))return;let r=e.slice(n.length),i={matcher:r,selector:e=>e.slice(11)};return t&&(typeof t==`function`?i.body=e=>[...e,...Object.entries(t(r)??{})]:i.body=e=>[...e,...Object.entries(t)]),i}}}var Qt=Le((e={})=>{let{defaultExtractor:t=!0}=e;return{name:`@unocss/preset-tagify`,variants:[Zt(e)],extractors:[Xt(e)],extractorDefault:t?void 0:!1}}),$t=r(),en=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},tn=class e{constructor(e,t,n){this.start=e,this.end=t,this.original=n,this.intro=``,this.outro=``,this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro+=e}clone(){let t=new e(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(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,n){return this.content=e,n||(this.intro=``,this.outro=``),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro=``,this.outro=``,this.edited&&=(this.content=this.original,this.storeName=!1,!1)}split(t){let n=t-this.start,r=this.original.slice(0,n),i=this.original.slice(n);this.original=r;let a=new e(t,this.end,i);return a.outro=this.outro,this.outro=``,this.end=t,this.edited?(a.edit(``,!1),this.content=``):this.content=r,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,``),this.outro.length)return!0;let t=this.content.replace(e,``);if(t.length)return t!==this.content&&(this.split(this.start+t.length).edit(``,void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0;if(this.edit(``,void 0,!0),this.intro=this.intro.replace(e,``),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,``),this.intro.length)return!0;let t=this.content.replace(e,``);if(t.length){if(t!==this.content){let e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit(``,void 0,!0)}return!0}else if(this.edit(``,void 0,!0),this.outro=this.outro.replace(e,``),this.outro.length)return!0}};function nn(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof $t.Buffer==`function`?e=>$t.Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var rn=nn(),an=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=n(e.mappings),e.x_google_ignoreList!==void 0&&(this.x_google_ignoreList=e.x_google_ignoreList),e.debugId!==void 0&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return`data:application/json;charset=utf-8;base64,`+rn(this.toString())}};function on(e){let t=e.split(`
|
|
4
|
+
`),n=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return` `;let i=r.reduce((e,t)=>{let n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return Array(i+1).join(` `)}function sn(e,t){let n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let e=n.length;for(;e--;)n[e]=`..`}return n.concat(r).join(`/`)}var cn=Object.prototype.toString;function ln(e){return cn.call(e)===`[object Object]`}function un(e){let t=e.split(`
|
|
5
|
+
`),n=[];for(let e=0,r=0;e<t.length;e++)n.push(r),r+=t[e].length+1;return function(e){let t=0,r=n.length;for(;t<r;){let i=t+r>>1;e<n[i]?r=i:t=i+1}let i=t-1;return{line:i,column:e-n[i]}}}var dn=/\w/,fn=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,n,r){if(t.length){let i=t.length-1,a=t.indexOf(`
|
|
6
|
+
`,0),o=-1;for(;a>=0&&i>a;){let i=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=a,a=t.indexOf(`
|
|
7
|
+
`,a+1)}let s=[this.generatedCodeColumn,e,n.line,n.column];r>=0&&s.push(r),this.rawSegments.push(s),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,n,r,i){let a=t.start,o=!0,s=!1;for(;a<t.end;){if(n[a]===`
|
|
8
|
+
`)r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,s=!1;else{if(this.hires||o||i.has(a)){let t=[this.generatedCodeColumn,e,r.line,r.column];this.hires===`boundary`?dn.test(n[a])?s||=(this.rawSegments.push(t),!0):(this.rawSegments.push(t),s=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}a+=1}this.pending=null}advance(e){if(!e)return;let t=e.split(`
|
|
9
|
+
`);if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}},pn=`
|
|
10
|
+
`,mn={insertLeft:!1,insertRight:!1,storeName:!1},hn=class e{constructor(e,t={}){let n=new tn(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:``},intro:{writable:!0,value:``},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new en},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;let e=n.next,i=e&&e.clone();i&&(r.next=i,i.previous=r,r=i),n=e}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new en(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new fn(e.hires),r=un(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(e=>{let i=r(e.start);e.intro.length&&n.advance(e.intro),e.edited?n.addEdit(0,e.content,i,e.storeName?t.indexOf(e.original):-1):n.addUneditedChunk(0,e,this.original,i,this.sourcemapLocations),e.outro.length&&n.advance(e.outro)}),this.outro&&n.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?sn(e.file||``,e.source):e.file||``],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:n.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new an(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=on(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?` `:this.indentStr}indent(e,t){let n=/^[^\r\n]/gm;if(ln(e)&&(t=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||` `),e===``)return this;t||={};let r={};t.exclude&&(typeof t.exclude[0]==`number`?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)r[t]=!0});let i=t.indentStart!==!1,a=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(n,a);let o=0,s=this.firstChunk;for(;s;){let t=s.end;if(s.edited)r[o]||(s.content=s.content.replace(n,a),s.content.length&&(i=s.content[s.content.length-1]===`
|
|
11
|
+
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
12
|
+
`?i=!0:t!==`\r`&&i&&(i=!1,o===s.start?s.prependRight(e):(this._splitChunk(s,o),s=s.next,s.prependRight(e)))}o+=1}o=s.end,s=s.next}return this.outro=this.outro.replace(n,a),this}insert(){throw Error(`magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)`)}insertLeft(e,t){return mn.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return mn.insertRight||=(console.warn(`magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead`),!0),this.prependRight(e,t)}move(e,t,n){if(e+=this.offset,t+=this.offset,n+=this.offset,n>=e&&n<=t)throw Error(`Cannot move a selection inside itself`);this._split(e),this._split(t),this._split(n);let r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;let c=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),c&&(c.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,i.next=s||null,c||(this.firstChunk=r),s||(this.lastChunk=i),this}overwrite(e,t,n,r){return r||={},this.update(e,t,n,{...r,overwrite:!r.contentOnly})}update(e,t,n,r){if(e+=this.offset,t+=this.offset,typeof n!=`string`)throw TypeError(`replacement content must be a string`);if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw Error(`end is out of bounds`);if(e===t)throw Error(`Cannot overwrite a zero-length range – use appendLeft or prependRight instead`);this._split(e),this._split(t),r===!0&&(mn.storeName||=(console.warn(`The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string`),!0),r={storeName:!0});let i=r===void 0?!1:r.storeName,a=r===void 0?!1:r.overwrite;if(i){let n=this.original.slice(e,t);Object.defineProperty(this.storedNames,n,{writable:!0,value:!0,enumerable:!0})}let o=this.byStart[e],s=this.byEnd[t];if(o){let e=o;for(;e!==s;){if(e.next!==this.byStart[e.end])throw Error(`Cannot overwrite across a split point`);e=e.next,e.edit(``,!1)}o.edit(n,i,!a)}else{let r=new tn(e,t,``).edit(n,i);s.next=r,r.previous=s}return this}prepend(e){if(typeof e!=`string`)throw TypeError(`outro content must be a string`);return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,typeof t!=`string`)throw TypeError(`inserted content must be a string`);this._split(e);let n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.intro=``,n.outro=``,n.edit(``),n=t>n.end?this.byStart[n.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw Error(`Character is out of bounds`);if(e>t)throw Error(`end must be greater than start`);this._split(e),this._split(t);let n=this.byStart[e];for(;n;)n.reset(),n=t>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:``}lastLine(){let e=this.outro.lastIndexOf(pn);if(e!==-1)return this.outro.substr(e+1);let t=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(pn),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(pn),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(pn),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(pn),e===-1?this.intro+t:this.intro.substr(e+1)+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let n=``,r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=r;for(;r;){r.intro&&(i!==r||r.start===e)&&(n+=r.intro);let a=r.start<t&&r.end>=t;if(a&&r.edited&&r.end!==t)throw Error(`Cannot use replaced character ${t} as slice end anchor.`);let o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),r.outro&&(!a||r.end===t)&&(n+=r.outro),a)break;r=r.next}return n}snip(e,t){let n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,n=t,r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===n)return;n=t}}_splitChunk(e,t){if(e.edited&&e.content.length){let n=un(this.original)(t);throw Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}let n=e.split(t);return this.byEnd[t]=e,this.byStart[t]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t}trimLines(){return this.trim(`[\\r\\n]`)}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let t=RegExp((e||`\\s`)+`+$`);if(this.outro=this.outro.replace(t,``),this.outro.length)return!0;let n=this.lastChunk;do{let e=n.end,r=n.trimEnd(t);if(n.end!==e&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let t=RegExp(`^`+(e||`\\s`)+`+`);if(this.intro=this.intro.replace(t,``),this.intro.length)return!0;let n=this.firstChunk;do{let e=n.end,r=n.trimStart(t);if(n.end!==e&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),r)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function n(e,n){return typeof t==`string`?t.replace(/\$(\$|&|\d+)/g,(t,n)=>n===`$`?`$`:n===`&`?e[0]:+n<e.length?e[+n]:`$${n}`):t(...e,e.index,n,e.groups)}function r(e,t){let n,r=[];for(;n=e.exec(t);)r.push(n);return r}if(e.global)r(e,this.original).forEach(e=>{if(e.index!=null){let t=n(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}});else{let t=this.original.match(e);if(t&&t.index!=null){let e=n(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){let{original:n}=this,r=n.indexOf(e);return r!==-1&&(typeof t==`function`&&(t=t(e,r,n)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return typeof e==`string`?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){let{original:n}=this,r=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+r)){let e=n.slice(i,i+r),a=t;typeof t==`function`&&(a=t(e,i,n)),e!==a&&this.overwrite(i,i+r,a)}return this}replaceAll(e,t){if(typeof e==`string`)return this._replaceAllString(e,t);if(!e.global)throw TypeError(`MagicString.prototype.replaceAll called with a non-global RegExp argument`);return this._replaceRegexp(e,t)}};function gn(e,t,n){if(e===``)return;let r=e.length,i=0,a=!1,o=0;for(let s=0;s<r;s++)switch(e[s]){case t:a||(a=!0,o=s),i++;break;case n:if(--i,i<0)return;if(i===0)return[e.slice(o,s+1),e.slice(s+1),e.slice(0,o)];break}}function _n(e,t,n,r){if(e===``||(h(r)&&(r=[r]),r.length===0))return;let i=e.length,a=0;for(let o=0;o<i;o++)switch(e[o]){case t:a++;break;case n:if(--a<0)return;break;default:for(let t of r){let n=t.length;if(n&&t===e.slice(o,o+n)&&a===0)return o===0||o===i-n?void 0:[e.slice(0,o),e.slice(o+n)]}}return[e,``]}function vn(e,t,n,r=`(`,i=`)`){n??=10;let a=[],o=0;for(;e!==``;){if(++o>n)return;let s=_n(e,r,i,t);if(!s)return;let[c,l]=s;a.push(c),e=l}if(a.length>0)return a}var yn=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],bn=[`srgb`,`srgb-linear`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec2020`,`lab`,`oklab`,`xyz`,`xyz-d50`,`xyz-d65`],xn=[`hsl`,`hwb`,`lch`,`oklch`],Sn=[`shorter`,`longer`,`increasing`,`decreasing`],Cn=[`%alpha`,`<alpha-value>`],wn=new RegExp(Cn.map(e=>v(e)).join(`|`),`g`);function Tn(e){return e?bn.some(t=>e.includes(t))||xn.some(t=>e.includes(t))||Sn.some(t=>e.includes(t)):!1}function En(e=``){let t=On(e);if(t==null||t===!1)return;let{type:n,components:r,alpha:i}=t,a=n.toLowerCase();if(r.length!==0&&!(yn.includes(a)&&![1,3].includes(r.length)))return{type:a,components:r.map(e=>typeof e==`string`?e.trim():e),alpha:typeof i==`string`?i.trim():i}}function Dn(e,t){if(typeof e==`string`)return e.replace(wn,`${t??1}`);let{components:n}=e,{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),[`hsla`,`rgba`].includes(i)?`${i}(${n.join(`, `)}${r==null?``:`, ${r}`})`:(r=r==null?``:` / ${r}`,yn.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}function On(e){if(!e)return;let t=kn(e);if(t!=null||(t=An(e),t!=null)||(t=jn(e),t!=null)||(t=Nn(e),t!=null)||(t=Pn(e),t!=null))return t}function kn(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let e=Array.from(t,e=>Number.parseInt(e,16)).map(e=>e<<4|e);return{type:`rgb`,components:e.slice(0,3),alpha:t.length===3?void 0:Math.round(e[3]/255*100)/100}}case 6:case 8:{let e=Number.parseInt(t,16);return{type:`rgb`,components:t.length===6?[e>>16&255,e>>8&255,e&255]:[e>>24&255,e>>16&255,e>>8&255],alpha:t.length===6?void 0:Math.round((e&255)/255*100)/100}}}}function An(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:`rgb`,components:t.slice(0,3),alpha:t[3]}}function jn(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,n,r]=t,i=vn(r,`,`,5);if(i){if([3,4].includes(i.length))return{type:n,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}var Mn=RegExp(`^(${yn.join(`|`)})\\((.+)\\)$`,`i`);function Nn(e){let t=e.match(Mn);if(!t)return;let[,n,r]=t,i=Fn(`${n} ${r}`);if(i){let{alpha:e,components:[t,...n]}=i;return{type:t,components:n,alpha:e}}}function Pn(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let n=Fn(t[1]);if(n){let{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}function Fn(e){let t=vn(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(`/`))){let e=t.splice(n-2);t.push(e.join(` `)),--n}let r=vn(t[n-1],`/`,2);if(!r)return;if(r.length===1||r[r.length-1]===``)return{components:t};let i=r.pop();return t[n-1]=r.join(`/`),{components:t,alpha:i}}var In=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Ln(e){return e.includes(`theme(`)&&e.includes(`)`)}function Rn(e,t,n=!0){let r=Array.from(e.toString().matchAll(In));if(!r.length)return e;let i=new hn(e);for(let e of r){let r=e[2];if(!r)throw Error(`theme() expect exact one argument, but got 0`);let a=zn(r,t,n);a&&i.overwrite(e.index,e.index+e[0].length,a)}return i.toString()}function zn(e,t,n=!0){let[r,i]=e.split(`/`),a=r.trim().split(`.`).reduce((e,t)=>e?.[t],t);if(typeof a==`object`&&(a=a.DEFAULT),typeof a==`string`){if(i){let e=En(a);e&&(a=Dn(e,i))}return a}else if(n)throw Error(`theme of "${e}" did not found`)}function Bn(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||``,n=e.slice(t.length);if(n===`px`){let r=Number.parseFloat(t)-.1;return Number.isNaN(r)?e:`${r}${n}`}return`calc(${e} - 0.1px)`}function Vn(e){let t=function(t,n){let r=this.__options?.sequence||[];this.__options.sequence=[];for(let i of r){let r=e[i](t,n);if(r!=null)return r}};function n(e,t){return e.__options||={sequence:[]},e.__options.sequence.push(t),e}for(let r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}function Hn(e){return e.includes(`icon(`)&&e.includes(`)`)}var Un=`__pseudo_placeholder__`,Wn=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(${Un})`],[`nth-last`,`:nth-last-child(${Un})`],[`nth-last-of-type`,`:nth-last-of-type(${Un})`],[`nth-of-type`,`:nth-of-type(${Un})`],`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}`])),Gn=Object.keys(Wn),Kn=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),qn=Object.keys(Kn),Jn=[`not`,`is`,`where`,`has`],Yn=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]),Xn=Object.entries(Wn).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Zn=Object.entries(Kn).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Qn=Jn.join(`|`),$n=Object.keys(Yn).sort((e,t)=>t.length-e.length).join(`|`),er=[`::-webkit-resizer`,`::-webkit-scrollbar`,`::-webkit-scrollbar-button`,`::-webkit-scrollbar-corner`,`::-webkit-scrollbar-thumb`,`::-webkit-scrollbar-track`,`::-webkit-scrollbar-track-piece`,`::file-selector-button`],tr=Object.entries(Wn).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),nr=Object.entries(Kn).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);function rr(e,t,n,r){let{h:i,variantGetBracket:a}=r,o=RegExp(`^(${v(t)}:)(\\S+)${v(n)}\\1`),s,c,l,u,d=n=>{let r=a(`${e}-`,n,[]);if(!r)return;let[o,c]=r,l=i.bracket(o);if(l==null)return;let u=c.split(s,1)?.[0]??``,d=`${t}${y(u)}`;return[u,n.slice(n.length-(c.length-u.length-1)),l.includes(`&`)?l.replace(/&/g,d):`${d}${l}`]},f=e=>{let n=e.match(c)||e.match(l);if(!n)return;let[r,i,a]=n,o=n[3]??``,s=Wn[a]||Kn[a]||`:${a}`;return i&&(s=`:${i}(${s})`),[o,e.slice(r.length),`${t}${y(o)}${s}`,a]},p=e=>{let n=e.match(u);if(!n)return;let[r,i,a]=n,o=n[3]??``,s=`:${i}(${a})`;return[o,e.slice(r.length),`${t}${y(o)}${s}`]};return{name:`pseudo:${e}`,match(t,r){if(s&&c&&l||(s=RegExp(`(?:${r.generator.config.separators.join(`|`)})`),c=RegExp(`^${e}-(?:(?:(${Qn})-)?(${Xn}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join(`|`)})`),l=RegExp(`^${e}-(?:(?:(${Qn})-)?(${Zn}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),u=RegExp(`^${e}-(?:(${Qn})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`)),!t.startsWith(e))return;let i=d(t)||f(t)||p(t);if(!i)return;let[a,m,h,g=``]=i;return{matcher:m,handle:(e,t)=>t({...e,prefix:`${h}${n}${e.prefix}`.replace(o,`$1$2:`),sort:Gn.indexOf(g)??qn.indexOf(g)})}},multiPass:!0}}function ir(e){let{h:t}=e,n,r,i;return[{name:`pseudo`,match(e,i){n&&r||(n=RegExp(`^(${tr})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join(`|`)})`),r=RegExp(`^(${nr})(?:${i.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let a=e.match(n)||e.match(r);if(a){let n=Wn[a[1]]||Kn[a[1]]||`:${a[1]}`;if(a[2]){let e;e=a[2].startsWith(`[`)&&a[2].endsWith(`]`)?t.bracket(a[2]):a[2],e&&(n=n.replace(Un,e))}let r=Gn.indexOf(a[1]);return r===-1&&(r=qn.indexOf(a[1])),r===-1&&(r=void 0),{matcher:e.slice(a[0].length),handle:(e,t)=>{let i=n.includes(`::`)&&!er.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...i,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${tr}|${nr}):`},{name:`pseudo:multi`,match(e,t){i||=RegExp(`^(${$n})(?:${t.generator.config.separators.join(`|`)})`);let n=e.match(i);if(n)return Yn[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${$n}):`}]}function ar(e){let{getBracket:t,h:n}=e,r,i,a;return{match(e,o){r&&i||(r=RegExp(`^(${Qn})-(${Xn})(?:${o.generator.config.separators.join(`|`)})`),i=RegExp(`^(${Qn})-(${Zn})(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),a=RegExp(`^(${Qn})-(\\[.+\\])(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let s=e.match(r)||e.match(i)||e.match(a);if(s){let r=s[1],i=t(s[2],`[`,`]`)?n.bracket(s[2]):Wn[s[2]]||Kn[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${i})`}}},multiPass:!0,autocomplete:`(${Qn})-(${Xn}|${Zn}):`}}function or(e,t){let n=!!e?.attributifyPseudo,r=e?.prefix??``;r=y((Array.isArray(r)?r:[r]).filter(Boolean)[0]??``);let i=(e,i)=>rr(e,n?`[${r}${e}=""]`:`.${r}${e}`,i,t);return[i(`group`,` `),i(`peer`,`~`),i(`parent`,`>`),i(`previous`,`+`)]}var sr=/(part-\[(.+)\]:)(.+)/;function cr(){return{match(e){let t=e.match(sr);if(t){let n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0}}function C(e,t,n={}){let r;return{name:e,match(i,a){r||=RegExp(`^${v(e)}(?:${a.generator.config.separators.join(`|`)})`);let o=i.match(r);if(o){let e=i.slice(o[0].length),r=f(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return r.length===1?r[0]:r}},autocomplete:`${e}:`}}function w(e,t){let n;return{name:e,match(r,i){n||=RegExp(`^${v(e)}(?:${i.generator.config.separators.join(`|`)})`);let a=r.match(n);if(a)return{matcher:r.slice(a[0].length),handle:(e,n)=>n({...e,parent:`${e.parent?`${e.parent} $$ `:``}${t}`})}},autocomplete:`${e}:`}}function lr(e,t,n){if(t.startsWith(`${e}[`)){let[r,i]=gn(t.slice(e.length),`[`,`]`)??[];if(r&&i){for(let e of n)if(i.startsWith(e))return[r,i.slice(e.length),e];return[r,i,``]}}}function T(e,t,n){for(let r of f(e))if(t.startsWith(r)){let e=lr(r,t,n);if(e){let[t=``,r=e[1]]=T(`/`,e[1],n)??[];return[e[0],r,t]}for(let e of n.filter(e=>e!==`/`)){let n=t.indexOf(e,r.length);if(n!==-1){let i=t.indexOf(`/`,r.length),a=i===-1||n<=i;return[t.slice(r.length,a?n:i),t.slice(n+e.length),a?``:t.slice(i+1,n)]}}}}var ur=[[`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`]],dr={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]},E=e=>e.toFixed(7).replace(/0+$/,``).replace(/\.$/,``),D=e=>`${E(e/16)}rem`,O=(e,t)=>`${E(e/t)}em`,fr={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":O(32,16),"margin-bottom":O(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)`}},pr={sm:{"font-size":D(14),"line-height":E(24/14),p:{"margin-top":O(16,14),"margin-bottom":O(16,14)},'[class~="lead"]':{"font-size":O(18,14),"line-height":E(28/18),"margin-top":O(16,18),"margin-bottom":O(16,18)},blockquote:{"margin-top":O(24,18),"margin-bottom":O(24,18),"padding-inline-start":O(20,18)},h1:{"font-size":O(30,14),"margin-top":`0`,"margin-bottom":O(24,30),"line-height":E(36/30)},h2:{"font-size":O(20,14),"margin-top":O(32,20),"margin-bottom":O(16,20),"line-height":E(28/20)},h3:{"font-size":O(18,14),"margin-top":O(28,18),"margin-bottom":O(8,18),"line-height":E(28/18)},h4:{"margin-top":O(20,14),"margin-bottom":O(8,14),"line-height":E(20/14)},img:{"margin-top":O(24,14),"margin-bottom":O(24,14)},picture:{"margin-top":O(24,14),"margin-bottom":O(24,14)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":O(24,14),"margin-bottom":O(24,14)},kbd:{"font-size":O(12,14),"border-radius":D(5),"padding-top":O(2,14),"padding-inline-end":O(5,14),"padding-bottom":O(2,14),"padding-inline-start":O(5,14)},code:{"font-size":O(12,14)},"h2 code":{"font-size":O(18,20)},"h3 code":{"font-size":O(16,18)},pre:{"font-size":O(12,14),"line-height":E(20/12),"margin-top":O(20,12),"margin-bottom":O(20,12),"border-radius":D(4),"padding-top":O(8,12),"padding-inline-end":O(12,12),"padding-bottom":O(8,12),"padding-inline-start":O(12,12)},ol:{"margin-top":O(16,14),"margin-bottom":O(16,14),"padding-inline-start":O(22,14)},ul:{"margin-top":O(16,14),"margin-bottom":O(16,14),"padding-inline-start":O(22,14)},li:{"margin-top":O(4,14),"margin-bottom":O(4,14)},"ol > li":{"padding-inline-start":O(6,14)},"ul > li":{"padding-inline-start":O(6,14)},"> ul > li p":{"margin-top":O(8,14),"margin-bottom":O(8,14)},"> ul > li > p:first-child":{"margin-top":O(16,14)},"> ul > li > p:last-child":{"margin-bottom":O(16,14)},"> ol > li > p:first-child":{"margin-top":O(16,14)},"> ol > li > p:last-child":{"margin-bottom":O(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":O(8,14),"margin-bottom":O(8,14)},dl:{"margin-top":O(16,14),"margin-bottom":O(16,14)},dt:{"margin-top":O(16,14)},dd:{"margin-top":O(4,14),"padding-inline-start":O(22,14)},hr:{"margin-top":O(40,14),"margin-bottom":O(40,14)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":O(12,14),"line-height":E(18/12)},"thead th":{"padding-inline-end":O(12,12),"padding-bottom":O(8,12),"padding-inline-start":O(12,12)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":O(8,12),"padding-inline-end":O(12,12),"padding-bottom":O(8,12),"padding-inline-start":O(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":O(24,14),"margin-bottom":O(24,14)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":O(12,14),"line-height":E(16/12),"margin-top":O(8,12)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},base:{"font-size":D(16),"line-height":E(28/16),p:{"margin-top":O(20,16),"margin-bottom":O(20,16)},'[class~="lead"]':{"font-size":O(20,16),"line-height":E(32/20),"margin-top":O(24,20),"margin-bottom":O(24,20)},blockquote:{"margin-top":O(32,20),"margin-bottom":O(32,20),"padding-inline-start":O(20,20)},h1:{"font-size":O(36,16),"margin-top":`0`,"margin-bottom":O(32,36),"line-height":E(40/36)},h2:{"font-size":O(24,16),"margin-top":O(48,24),"margin-bottom":O(24,24),"line-height":E(32/24)},h3:{"font-size":O(20,16),"margin-top":O(32,20),"margin-bottom":O(12,20),"line-height":E(32/20)},h4:{"margin-top":O(24,16),"margin-bottom":O(8,16),"line-height":E(24/16)},img:{"margin-top":O(32,16),"margin-bottom":O(32,16)},picture:{"margin-top":O(32,16),"margin-bottom":O(32,16)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":O(32,16),"margin-bottom":O(32,16)},kbd:{"font-size":O(14,16),"border-radius":D(5),"padding-top":O(3,16),"padding-inline-end":O(6,16),"padding-bottom":O(3,16),"padding-inline-start":O(6,16)},code:{"font-size":O(14,16)},"h2 code":{"font-size":O(21,24)},"h3 code":{"font-size":O(18,20)},pre:{"font-size":O(14,16),"line-height":E(24/14),"margin-top":O(24,14),"margin-bottom":O(24,14),"border-radius":D(6),"padding-top":O(12,14),"padding-inline-end":O(16,14),"padding-bottom":O(12,14),"padding-inline-start":O(16,14)},ol:{"margin-top":O(20,16),"margin-bottom":O(20,16),"padding-inline-start":O(26,16)},ul:{"margin-top":O(20,16),"margin-bottom":O(20,16),"padding-inline-start":O(26,16)},li:{"margin-top":O(8,16),"margin-bottom":O(8,16)},"ol > li":{"padding-inline-start":O(6,16)},"ul > li":{"padding-inline-start":O(6,16)},"> ul > li p":{"margin-top":O(12,16),"margin-bottom":O(12,16)},"> ul > li > p:first-child":{"margin-top":O(20,16)},"> ul > li > p:last-child":{"margin-bottom":O(20,16)},"> ol > li > p:first-child":{"margin-top":O(20,16)},"> ol > li > p:last-child":{"margin-bottom":O(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":O(12,16),"margin-bottom":O(12,16)},dl:{"margin-top":O(20,16),"margin-bottom":O(20,16)},dt:{"margin-top":O(20,16)},dd:{"margin-top":O(8,16),"padding-inline-start":O(26,16)},hr:{"margin-top":O(48,16),"margin-bottom":O(48,16)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":O(14,16),"line-height":E(24/14)},"thead th":{"padding-inline-end":O(8,14),"padding-bottom":O(8,14),"padding-inline-start":O(8,14)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":O(8,14),"padding-inline-end":O(8,14),"padding-bottom":O(8,14),"padding-inline-start":O(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":O(32,16),"margin-bottom":O(32,16)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":O(14,16),"line-height":E(20/14),"margin-top":O(12,14)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},lg:{"font-size":D(18),"line-height":E(32/18),p:{"margin-top":O(24,18),"margin-bottom":O(24,18)},'[class~="lead"]':{"font-size":O(22,18),"line-height":E(32/22),"margin-top":O(24,22),"margin-bottom":O(24,22)},blockquote:{"margin-top":O(40,24),"margin-bottom":O(40,24),"padding-inline-start":O(24,24)},h1:{"font-size":O(48,18),"margin-top":`0`,"margin-bottom":O(40,48),"line-height":E(48/48)},h2:{"font-size":O(30,18),"margin-top":O(56,30),"margin-bottom":O(32,30),"line-height":E(40/30)},h3:{"font-size":O(24,18),"margin-top":O(40,24),"margin-bottom":O(16,24),"line-height":E(36/24)},h4:{"margin-top":O(32,18),"margin-bottom":O(8,18),"line-height":E(28/18)},img:{"margin-top":O(32,18),"margin-bottom":O(32,18)},picture:{"margin-top":O(32,18),"margin-bottom":O(32,18)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":O(32,18),"margin-bottom":O(32,18)},kbd:{"font-size":O(16,18),"border-radius":D(5),"padding-top":O(4,18),"padding-inline-end":O(8,18),"padding-bottom":O(4,18),"padding-inline-start":O(8,18)},code:{"font-size":O(16,18)},"h2 code":{"font-size":O(26,30)},"h3 code":{"font-size":O(21,24)},pre:{"font-size":O(16,18),"line-height":E(28/16),"margin-top":O(32,16),"margin-bottom":O(32,16),"border-radius":D(6),"padding-top":O(16,16),"padding-inline-end":O(24,16),"padding-bottom":O(16,16),"padding-inline-start":O(24,16)},ol:{"margin-top":O(24,18),"margin-bottom":O(24,18),"padding-inline-start":O(28,18)},ul:{"margin-top":O(24,18),"margin-bottom":O(24,18),"padding-inline-start":O(28,18)},li:{"margin-top":O(12,18),"margin-bottom":O(12,18)},"ol > li":{"padding-inline-start":O(8,18)},"ul > li":{"padding-inline-start":O(8,18)},"> ul > li p":{"margin-top":O(16,18),"margin-bottom":O(16,18)},"> ul > li > p:first-child":{"margin-top":O(24,18)},"> ul > li > p:last-child":{"margin-bottom":O(24,18)},"> ol > li > p:first-child":{"margin-top":O(24,18)},"> ol > li > p:last-child":{"margin-bottom":O(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":O(16,18),"margin-bottom":O(16,18)},dl:{"margin-top":O(24,18),"margin-bottom":O(24,18)},dt:{"margin-top":O(24,18)},dd:{"margin-top":O(12,18),"padding-inline-start":O(28,18)},hr:{"margin-top":O(56,18),"margin-bottom":O(56,18)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":O(16,18),"line-height":E(24/16)},"thead th":{"padding-inline-end":O(12,16),"padding-bottom":O(12,16),"padding-inline-start":O(12,16)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":O(12,16),"padding-inline-end":O(12,16),"padding-bottom":O(12,16),"padding-inline-start":O(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":O(32,18),"margin-bottom":O(32,18)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":O(16,18),"line-height":E(24/16),"margin-top":O(16,16)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},xl:{"font-size":D(20),"line-height":E(36/20),p:{"margin-top":O(24,20),"margin-bottom":O(24,20)},'[class~="lead"]':{"font-size":O(24,20),"line-height":E(36/24),"margin-top":O(24,24),"margin-bottom":O(24,24)},blockquote:{"margin-top":O(48,30),"margin-bottom":O(48,30),"padding-inline-start":O(32,30)},h1:{"font-size":O(56,20),"margin-top":`0`,"margin-bottom":O(48,56),"line-height":E(56/56)},h2:{"font-size":O(36,20),"margin-top":O(56,36),"margin-bottom":O(32,36),"line-height":E(40/36)},h3:{"font-size":O(30,20),"margin-top":O(48,30),"margin-bottom":O(20,30),"line-height":E(40/30)},h4:{"margin-top":O(36,20),"margin-bottom":O(12,20),"line-height":E(32/20)},img:{"margin-top":O(40,20),"margin-bottom":O(40,20)},picture:{"margin-top":O(40,20),"margin-bottom":O(40,20)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":O(40,20),"margin-bottom":O(40,20)},kbd:{"font-size":O(18,20),"border-radius":D(5),"padding-top":O(5,20),"padding-inline-end":O(8,20),"padding-bottom":O(5,20),"padding-inline-start":O(8,20)},code:{"font-size":O(18,20)},"h2 code":{"font-size":O(31,36)},"h3 code":{"font-size":O(27,30)},pre:{"font-size":O(18,20),"line-height":E(32/18),"margin-top":O(36,18),"margin-bottom":O(36,18),"border-radius":D(8),"padding-top":O(20,18),"padding-inline-end":O(24,18),"padding-bottom":O(20,18),"padding-inline-start":O(24,18)},ol:{"margin-top":O(24,20),"margin-bottom":O(24,20),"padding-inline-start":O(32,20)},ul:{"margin-top":O(24,20),"margin-bottom":O(24,20),"padding-inline-start":O(32,20)},li:{"margin-top":O(12,20),"margin-bottom":O(12,20)},"ol > li":{"padding-inline-start":O(8,20)},"ul > li":{"padding-inline-start":O(8,20)},"> ul > li p":{"margin-top":O(16,20),"margin-bottom":O(16,20)},"> ul > li > p:first-child":{"margin-top":O(24,20)},"> ul > li > p:last-child":{"margin-bottom":O(24,20)},"> ol > li > p:first-child":{"margin-top":O(24,20)},"> ol > li > p:last-child":{"margin-bottom":O(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":O(16,20),"margin-bottom":O(16,20)},dl:{"margin-top":O(24,20),"margin-bottom":O(24,20)},dt:{"margin-top":O(24,20)},dd:{"margin-top":O(12,20),"padding-inline-start":O(32,20)},hr:{"margin-top":O(56,20),"margin-bottom":O(56,20)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":O(18,20),"line-height":E(28/18)},"thead th":{"padding-inline-end":O(12,18),"padding-bottom":O(16,18),"padding-inline-start":O(12,18)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":O(16,18),"padding-inline-end":O(12,18),"padding-bottom":O(16,18),"padding-inline-start":O(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":O(40,20),"margin-bottom":O(40,20)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":O(18,20),"line-height":E(28/18),"margin-top":O(18,18)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},"2xl":{"font-size":D(24),"line-height":E(40/24),p:{"margin-top":O(32,24),"margin-bottom":O(32,24)},'[class~="lead"]':{"font-size":O(30,24),"line-height":E(44/30),"margin-top":O(32,30),"margin-bottom":O(32,30)},blockquote:{"margin-top":O(64,36),"margin-bottom":O(64,36),"padding-inline-start":O(40,36)},h1:{"font-size":O(64,24),"margin-top":`0`,"margin-bottom":O(56,64),"line-height":E(64/64)},h2:{"font-size":O(48,24),"margin-top":O(72,48),"margin-bottom":O(40,48),"line-height":E(52/48)},h3:{"font-size":O(36,24),"margin-top":O(56,36),"margin-bottom":O(24,36),"line-height":E(44/36)},h4:{"margin-top":O(40,24),"margin-bottom":O(16,24),"line-height":E(36/24)},img:{"margin-top":O(48,24),"margin-bottom":O(48,24)},picture:{"margin-top":O(48,24),"margin-bottom":O(48,24)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":O(48,24),"margin-bottom":O(48,24)},kbd:{"font-size":O(20,24),"border-radius":D(6),"padding-top":O(6,24),"padding-inline-end":O(8,24),"padding-bottom":O(6,24),"padding-inline-start":O(8,24)},code:{"font-size":O(20,24)},"h2 code":{"font-size":O(42,48)},"h3 code":{"font-size":O(32,36)},pre:{"font-size":O(20,24),"line-height":E(36/20),"margin-top":O(40,20),"margin-bottom":O(40,20),"border-radius":D(8),"padding-top":O(24,20),"padding-inline-end":O(32,20),"padding-bottom":O(24,20),"padding-inline-start":O(32,20)},ol:{"margin-top":O(32,24),"margin-bottom":O(32,24),"padding-inline-start":O(38,24)},ul:{"margin-top":O(32,24),"margin-bottom":O(32,24),"padding-inline-start":O(38,24)},li:{"margin-top":O(12,24),"margin-bottom":O(12,24)},"ol > li":{"padding-inline-start":O(10,24)},"ul > li":{"padding-inline-start":O(10,24)},"> ul > li p":{"margin-top":O(20,24),"margin-bottom":O(20,24)},"> ul > li > p:first-child":{"margin-top":O(32,24)},"> ul > li > p:last-child":{"margin-bottom":O(32,24)},"> ol > li > p:first-child":{"margin-top":O(32,24)},"> ol > li > p:last-child":{"margin-bottom":O(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":O(16,24),"margin-bottom":O(16,24)},dl:{"margin-top":O(32,24),"margin-bottom":O(32,24)},dt:{"margin-top":O(32,24)},dd:{"margin-top":O(12,24),"padding-inline-start":O(38,24)},hr:{"margin-top":O(72,24),"margin-bottom":O(72,24)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":O(20,24),"line-height":E(28/20)},"thead th":{"padding-inline-end":O(12,20),"padding-bottom":O(16,20),"padding-inline-start":O(12,20)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":O(16,20),"padding-inline-end":O(12,20),"padding-bottom":O(16,20),"padding-inline-start":O(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":O(48,24),"margin-bottom":O(48,24)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":O(20,24),"line-height":E(32/20),"margin-top":O(20,20)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}}};function mr(e){let t=ve(dr);if(e)for(let n in e){let[r,i]=f(e[n]),[a,o]=t[n];t[n]=[r??a,i??o]}return t}function hr(e){return e?_e(pr,e):pr}function gr(e,t){let n=t.selectorName||`prose`,r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,i=t.important===!0,a=``;for(let[t,n]of Object.entries(e))if(typeof n!=`object`)a+=`${t}:${n}${i?` !important`:``};`;else{let[e,o]=t.split(`::`),s=`:where(${e})${r}${o?`::${o}`:``}`;a+=`${s} {`;for(let[e,t]of Object.entries(n))a+=`${e}:${t}${i?` !important`:``};`;a+=`}`}return a}function _r(e){for(let[t,...n]of ur)if(t===e)return n.length>0?n:[t]}var vr=Le(e=>{let t=e?.selectorName??`prose`,n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,r=e?.cssVarPrefix??`--un-prose`,i=mr(e?.colorScheme),a=hr(e?.sizeScheme),o=(t,n)=>{let r=_e(t,(typeof e?.cssExtend==`function`?e?.cssExtend(n):e?.cssExtend)??{});for(let e in r){let t=r[e];(t==null||typeof t==`object`&&Object.keys(t).length===0)&&delete r[e]}return r},s=t=>(typeof e?.important==`string`&&(t=`${e.important} ${t}`),e?.compatibility?.noColonIs||(t=`:is(${t})`),t),c=RegExp(`^${t}-default$`),l=RegExp(`^${t}-([-\\w]+)$`),u=RegExp(`^${t}-(${Object.keys(a).join(`|`)})$`);return{name:`@unocss/preset-typography`,enforce:`post`,layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:`typography`}]],rules:[[c,(t,{symbols:n,theme:r})=>{let i=gr(o(_e(fr,pr.base),r),e??{});return{[n.body]:i,[n.selector]:s}},{layer:`typography`,autocomplete:`prose`,internal:!0}],[l,([,e],{theme:t,symbols:n})=>{let a=t.colors?.[e];if(!(!a||typeof a!=`object`))return[`red`,`orange`,`amber`,`yellow`,`lime`,`green`,`emerald`,`teal`,`cyan`,`sky`,`blue`,`indigo`,`violet`,`purple`,`fuchsia`,`pink`,`rose`].includes(e)?{[`${r}-links`]:a[600],[`${r}-invert-links`]:a[500],[n.selector]:s}:Object.entries(i).reduce((e,[n,i])=>{let[o,s]=i,c=e=>a[e]??t[e]??e,l=c(o),u=c(s),d=`${r}-${n}`,f=`${r}-invert-${n}`;e[d]=Dn(l,`var(${d}-opacity)`),e[f]=Dn(u,`var(${f}-opacity)`);for(let[t,n]of[[l,`${d}-opacity`],[u,`${f}-opacity`]])Cn.some(e=>t.includes(e))&&(e[n]=`1`);return e},{[n.selector]:s})},{layer:`typography`,autocomplete:`${t}-$colors`}],[u,([,t],{symbols:n,theme:r})=>{let i=gr(o(a[t],r),e??{});return{[n.body]:i,[n.selector]:s}},{layer:`typography`,autocomplete:`${t}-(${Object.keys(a).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)`,[S.selector]:s}],{layer:`typography`}]],variants:[{name:`typography element modifiers`,match:e=>{if(e.startsWith(`${t}-`)){let r=RegExp(`^${t}-(\\w+)[:-].+$`),i=e.match(r)?.[1];if(i){let r=_r(i);if(r?.length)return{matcher:e.slice(t.length+i.length+2),selector:e=>{let i=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?r.map(t=>`${e} ${t}`).join(`,`):`${e} :is(:where(${r})${i})`}}}}},autocomplete:`${t}-(${ur.map(e=>`${e[0]}:`).join(`|`)})`}]}});function yr(e,t){return{name:e,getImportUrl(e){return`${t}/css?family=${e.map(e=>{let{name:t,weights:n,italic:r}=e,i=t.toLowerCase().replace(/\s/g,`-`);if(!n?.length)return`${i}${r?`:i`:``}`;let a=n.map(e=>e.toString());return!a.some(e=>e.endsWith(`i`))&&r&&(a=a.map(e=>e+=`i`)),`${i}:${a.join(`,`)}`}).join(`|`)}&display=swap`}}}var br=yr(`bunny`,`https://fonts.bunny.net`);function xr(e){if(!e||e.length===0)return``;let t=[[]];for(let{values:n}of e){let e=[];for(let r of t)for(let t of n)e.push([...r,t]);t=e}return t.map(e=>e.join(`,`)).join(`;`)}function Sr(e,t){return{name:e,getImportUrl(e){return`${t}/css2?${e.map(e=>{let t=e.name.replace(/\s+/g,`+`),n=[];return e.italic&&n.push({axis:`ital`,values:[`0`,`1`]}),e.widths?.length&&n.push({axis:`wdth`,values:e.widths.map(e=>e.toString())}),e.weights?.length&&n.push({axis:`wght`,values:e.weights.map(e=>e.toString())}),n.length&&(t+=`:`,t+=n.map(e=>e.axis).join(`,`),t+=`@`,t+=xr(n)),`family=${t}`}).join(`&`)}&display=swap`}}}var Cr=Sr(`google`,`https://fonts.googleapis.com`),wr=Sr(`coollabs`,`https://api.fonts.coollabs.io`),Tr=Er(`fontshare`,`https://api.fontshare.com`);function Er(e,t){return{name:e,getImportUrl(e){return`${t}/v2/css?${e.map(e=>{let t=e.name.replace(/\s+/g,`-`).toLocaleLowerCase();return e.weights?.length?t+=`@${e.weights.flatMap(t=>e.italic?Number(t)+1:t).sort().join()}`:t+=`@${e.italic?2:1}`,`f[]=${t}`}).join(`&`)}&display=swap`}}}function Dr(e,t){let n=new Map,r=new Map;return{name:e,async getPreflight(e,i){return(await Promise.all(e.map(async e=>{let a=[],o=e.name.toLowerCase().replace(/\s+/g,`-`),s=n.get(o);if(!s){let t=`https://api.fontsource.org/v1/fonts/${o}`;try{s=await i(t),n.set(o,s)}catch{throw Error(`Failed to fetch font: ${e.name}`)}}let{weights:c,unicodeRange:l,variants:u,family:d}=s,f=s.subsets.filter(t=>e.subsets?e.subsets.includes(t):!0),p=e.italic?`italic`:`normal`;if(s.variable&&!e.preferStatic){let n=r.get(o),c=`https://api.fontsource.org/v1/variable/${o}`;try{n=await i(c),r.set(o,n)}catch{throw Error(`Failed to fetch font variable: ${e.name}`)}let u=_e(n.axes,e.variable??{});for(let e of f)if(l[e]){let n={family:d,display:`swap`,style:p,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${e}-wght-${p}.woff2`,format:`woff2-variations`}],variable:{wght:u.wght??void 0,wdth:u.wdth??void 0,slnt:u.slnt??void 0},unicodeRange:l[e],comment:`${s.id}-${e}-wght-normal`};a.push(kr(n))}else Object.entries(l).filter(([e])=>!s.subsets.includes(e)).forEach(([e,n])=>{let r={family:d,display:`swap`,style:p,weight:400,src:[{url:`${t}/fontsource/fonts/${s.id}:vf@latest/${e.slice(1,-1)}-wght-${p}.woff2`,format:`woff2-variations`}],variable:{wght:u.wght??void 0,wdth:u.wdth??void 0,slnt:u.slnt??void 0},unicodeRange:n,comment:`${s.id}-${e}-wght-normal`};a.push(kr(r))})}else{let t=e.weights&&e.weights.length>0?e.weights:c;for(let e of f)for(let n of t){let t=u[n][p][e].url,r={family:d,display:`swap`,style:p,weight:Number(n),src:[{url:t.woff2,format:`woff2`}],unicodeRange:l[e],comment:`${s.id}-${e}-${n}-${p}`};a.push(kr(r))}}return a}))).flat().join(`
|
|
13
|
+
|
|
14
|
+
`)}}}var Or=Dr(`fontsource`,`https://cdn.jsdelivr.net`);function kr(e){let{family:t,style:n,display:r,weight:i,variable:a,src:o,unicodeRange:s,comment:c,spacer:l=`
|
|
15
|
+
`}=e,{wght:u,wdth:d,slnt:f}=a??{},p=`@font-face {`;return p+=`${l}font-family: '${t}';`,p+=`${l}font-style: ${f?`oblique ${Number(f.max)*-1}deg ${Number(f.min)*-1}deg`:n};`,p+=`${l}font-display: ${r};`,p+=`${l}font-weight: ${u?Ar(u):i};`,d&&(p+=`${l}font-stretch: ${d.min}% ${d.max}%;`),p+=`${l}src: ${o.map(({url:e,format:t})=>`url(${e}) format('${t}')`).join(`, `)};`,s&&(p+=`${l}unicode-range: ${s};`),c&&(p=`/* ${c} */\n${p}`),`${p}\n}`}function Ar(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:`400`}var jr={google:Cr,bunny:br,fontshare:Tr,fontsource:Or,coollabs:wr,none:{name:`none`,getPreflight(){return``},getFontName(e){return e.name}}};function Mr(e){return typeof e==`string`?jr[e]:e}function Nr(e,t){if(typeof e!=`string`)return e.provider=Mr(e.provider||t),e.weights&&=[...new Set(e.weights.sort((e,t)=>e.toString().localeCompare(t.toString(),`en`,{numeric:!0})))],e.widths&&=[...new Set(e.widths.sort((e,t)=>e.toString().localeCompare(t.toString(),`en`,{numeric:!0})))],e;let[n,r=``]=e.split(`:`);return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((e,t)=>e.localeCompare(t,`en`,{numeric:!0})))],provider:Mr(t)}}function Pr(e){return(t={})=>{let{provider:n=`google`,extendTheme:r=!0,inlineImports:i=!0,customFetch:a=e,timeouts:o={}}=t,c=`fonts`,l=i?c:s,u=f(t.processors||[]),d=Object.fromEntries(Object.entries(t.fonts||{}).map(([e,t])=>[e,f(t).map(e=>Nr(e,n))])),p=Object.values(d).flatMap(e=>e),m={};async function h(e){if(o===!1)return a(e);let{warning:t=1e3,failure:n=2e3}=o,r=!1,i=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${e}`),r=!0},t);return await Promise.race([a(e),new Promise((e,t)=>{setTimeout(()=>t(Error(`[unocss] Fetch web fonts timeout.`)),n)})]).then(e=>(r&&console.info(`[unocss] Web fonts fetched.`),e)).finally(()=>clearTimeout(i))}async function g(e){return i?(m[e]||(m[e]=h(e).catch(t=>{if(console.error(`[unocss] Failed to fetch web fonts: ${e}`),console.error(t),typeof process<`u`&&{}.CI)throw t})),await m[e]):`@import url('${e}');`}let _=Array.from(new Set(p.map(e=>e.provider)));async function v(e,t){let n=[];for(let r of t){let t=e.filter(e=>e.provider.name===r.name);if(r.getImportUrl){let e=r.getImportUrl(t);e&&n.push(await g(e))}try{n.push(await r.getPreflight?.(t,h))}catch(e){console.warn(`[unocss] Web fonts preflight fetch failed.`,e)}}return n.filter(Boolean).join(`
|
|
16
|
+
`)}let y={name:`@unocss/preset-web-fonts`,preflights:[{async getCSS(){let e;for(let t of u){let n=await t.getCSS?.(p,_,v);if(n){e=n;break}}e||=await v(p,_);for(let t of u)e=await t.transformCSS?.(e)||e;return e},layer:l}],layers:{[c]:-200}};return r&&(y.extendTheme=(e,n)=>{let r=n.presets.some(e=>e.name===`@unocss/preset-wind4`),i=t.themeKey??(r?`font`:`fontFamily`);e[i]||(e[i]={});let a=Object.fromEntries(Object.entries(d).map(([e,t])=>[e,t.map(e=>e.provider.getFontName?.(e)??`"${e.name}"`)]));for(let t of Object.keys(a))typeof e[i][t]==`string`?e[i][t]=a[t].map(e=>`${e},`).join(``)+e[i][t]:e[i][t]=a[t].join(`,`)}),y}}var Fr=`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`,Ir=Le(Pr(async e=>(await Gt(async()=>{let{$fetch:e}=await import(`./ofetch-XPJe_o5P.js`).then(e=>e.t);return{$fetch:e}},__vite__mapDeps([0,1]),import.meta.url)).$fetch(e,{headers:{"User-Agent":Fr},retry:3})));function Lr({important:e}){if(e==null||e===!1)return[];let t=e=>e.startsWith(`:is(`)&&e.endsWith(`)`)?e:e.includes(`::`)?e.replace(/(.*?)((?:\s\*)?::.*)/,`:is($1)$2`):`:is(${e})`;return[n=>{n.layer!==`properties`&&(e===!0?n.entries.forEach(e=>{e[1]!=null&&!String(e[1]).endsWith(`!important`)&&(e[1]+=` !important`)}):n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`))}]}function Rr({variablePrefix:e}){return e===`un-`?[]:[t=>{t.entries.forEach(t=>{t[0]=t[0].replace(/^--un-/,`--${e}`),typeof t[1]==`string`&&(t[1]=t[1].replace(/var\(--un-/g,`var(--${e}`))})}]}function zr(e){return[Lr,Rr].flatMap(t=>t(e))}var Br=Object.defineProperty,Vr=(e,t)=>{let n={};for(var r in e)Br(n,r,{get:e[r],enumerable:!0});return t&&Br(n,Symbol.toStringTag,{value:`Module`}),n},Hr=`@unocss/preset-wind4`,Ur=`$$mini-no-negative`,Wr={transparent:`transparent`,current:`currentColor`,inherit:`inherit`},k={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`]},Gr={...k,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`]},Kr={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`]},qr={x:[`-x`],y:[`-y`],z:[`-z`],"":[`-x`,`-y`]},Jr=[`x`,`y`,`z`],Yr=[`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`],A=Object.assign({},...Yr.map(e=>({[e.replace(/ /,`-`)]:e})),...Yr.map(e=>({[e.replace(/\b(\w)\w+/g,`$1`).replace(/ /,``)]:e}))),j=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],Xr=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Zr=/^(var)\s*\((.+)\)(.*)/,Qr=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,$r=/^(-?\d*(?:\.\d+)?)$/,ei=/^(px|[sld]?v[wh])$/i,ti={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ni=/^\[(color|image|length|size|position|quoted|string|number|family):/i,ri=/,(?![^()]*\))/g,ii=Vr({auto:()=>si,bracket:()=>hi,bracketOfColor:()=>gi,bracketOfFamily:()=>yi,bracketOfLength:()=>_i,bracketOfNumber:()=>bi,bracketOfPosition:()=>vi,cssvar:()=>xi,degree:()=>Ci,fraction:()=>fi,global:()=>wi,none:()=>Di,number:()=>ui,numberWithUnit:()=>oi,percent:()=>di,position:()=>Ei,properties:()=>Ti,px:()=>li,rem:()=>ci,time:()=>Si}),ai=`color.border-color.background-color.outline-color.text-decoration-color.flex-grow.flex.flex-shrink.grid.grid-template-columns.grid-template-rows.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`.split(`.`);function M(e){return+e.toFixed(10)}function oi(e){let t=e.match(Qr);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${M(i)}${r}`}function si(e){if(e===`auto`||e===`a`)return`auto`}function ci(e){if(!e)return;if(ei.test(e))return`${ti[e]}${e}`;let t=e.match(Qr);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0`:r?`${M(i)}${r}`:`${M(i/4)}rem`}function li(e){if(ei.test(e))return`${ti[e]}${e}`;let t=e.match(Qr);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${M(i)}${r}`:`${M(i)}px`}function ui(e){if(!$r.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return M(t)}function di(e){e.endsWith(`%`)&&(e=e.slice(0,-1));let t=ui(e);if(t!=null)return`${t}%`}function fi(e){if(!e)return;if(e===`full`)return`100%`;let[t,n]=e.split(`/`),r=Number.parseFloat(t)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?`0`:`${M(r*100)}%`}function pi(e,t,n,r){let i=Ai(r,t,n),a=typeof i==`object`&&`DEFAULT`in i;a&&n.push(`DEFAULT`);let o=a?i.DEFAULT:i,s=a&&t!==`spacing`?`${e}.DEFAULT`:e;return o!=null&&z(t,n.length?n:void 0),{val:o,varKey:s}}function mi(e,t,n){if(e&&e.startsWith(`[`)&&e.endsWith(`]`)){let r,i,a=e.match(ni);if(!a)r=e.slice(1,-1);else{if(!t)i=a[1];else if(a[1]!==t)return;r=e.slice(a[0].length,-1)}if(!r||r===`=""`)return;if(r.startsWith(`--`)){let e=r.match(/^--([\w.-]+)\(([^)]+)\)$/);if(e!=null&&n){let[,t,i]=e,[a,...o]=t.split(`.`),{val:s,varKey:c}=pi(t,a,o,n);s!=null&&(r=`calc(var(--${y(c.replaceAll(`.`,`-`))}) * ${i})`)}else{let[e,t]=r.slice(2).split(`,`),i=t?`, ${t}`:``,a=y(e);if(n){let[t,...o]=e.split(`.`),{val:s,varKey:c}=pi(e,t,o,n);r=s==null?`var(--${a}${i})`:`var(--${y(c.replaceAll(`.`,`-`))}${i})`}else r=`var(--${a}${i})`}}let o=0;for(let e of r)if(e===`[`)o+=1;else if(e===`]`&&(--o,o<0))return;if(o)return;switch(i){case`string`:return r.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`);case`quoted`:return r.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(["\\])/g,`\\$1`).replace(/^(.+)$/,`"$1"`)}return r.replace(/(url\(.*?\))/g,e=>e.replace(/_/g,`\\_`)).replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(?:calc|clamp|max|min)\((.*)/g,e=>{let t=[];return e.replace(/var\((--.+?)[,)]/g,(e,n)=>(t.push(n),e.replace(n,`--un-calc`))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,`$1 $2 `).replace(/--un-calc/g,()=>t.shift())})}}function hi(e,t){return mi(e,void 0,t)}function gi(e,t){return mi(e,`color`,t)}function _i(e,t){return mi(e,`length`,t)||mi(e,`size`,t)}function vi(e,t){return mi(e,`position`,t)}function yi(e,t){return mi(e,`family`,t)}function bi(e,t){return mi(e,`number`,t)}function xi(e){if(e.startsWith(`var(`))return e;let t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){let[e,n]=t[1].split(`,`);return`var(--${y(e)}${n?`, ${n}`:``})`}}function Si(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0&&!r?`0s`:r?`${M(i)}${r}`:`${M(i)}ms`}function Ci(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0deg`:r?`${M(i)}${r}`:`${M(i)}deg`}function wi(e){if(j.includes(e))return e}function Ti(e){if(e.split(`,`).every(e=>ai.includes(e)))return e}function Ei(e){if([`top`,`left`,`right`,`bottom`,`center`].includes(e))return e}function Di(e){if(e===`none`)return`none`}var N=Vn(ii);function P(e,t){let n=N.number(e)??t;if(n!=null){let e=Number(n);return String(n).endsWith(`%`)&&(e=Number(String(n).slice(0,-1))/100),e}}function F(e,t=k,n=(e,t)=>`${e}${t}`){return(([r,i,a=`4`],{theme:o})=>{if(a!=null&&i!=null){let r,s=a.startsWith(`-`);if(s&&(a=a.slice(1)),r=P(a),r!=null&&!Number.isNaN(r))return z(`spacing`),t[i].map(t=>[n(e,t),`calc(var(--spacing) * ${s?`-`:``}${r})`]);if(o.spacing&&a in o.spacing)return z(`spacing`,a),t[i].map(t=>[n(e,t),s?`calc(var(--${y(`spacing-${a}`)}) * -1)`:`var(--${y(`spacing-${a}`)})`]);if(r=N.bracket.cssvar.global.auto.fraction.rem(s?`-${a}`:a,o),r!=null)return t[i].map(t=>[n(e,t),r])}})}function Oi(e,t){let n,[r,...i]=vn(e,[`/`,`:`],3)??[];if(r!=null){let e=(r.match(ni)??[])[1];(e==null||e===`color`)&&(n=[r,...i])}if(!n)return;let a,[o,s,c]=n;Tn(s)||Tn(N.bracket(s??``))?c=s:a=s;let l=o.replace(/([a-z])(\d)(?![-_a-z])/g,`$1-$2`).split(/-/g),[u]=l;if(!u)return;let d=ki(t,l);if(!d&&l.length>=2){let e=l.at(-1),n=l.at(-2);/^\d+$/.test(e)&&(d=ki(t,l.slice(0,-2).concat([`${n}${e}`])))}let{no:f,keys:p,color:m}=d??{};if(!m){let e=N.bracketOfColor(o,t),n=e||o;if(N.numberWithUnit(n))return;/^#[\da-f]+$/i.test(n)?m=n:/^hex-[\da-fA-F]+$/.test(n)?m=`#${n.slice(4)}`:o.startsWith(`$`)&&(m=N.cssvar(o)),m||=e}return{opacity:a,modifier:c&&N.bracket.cssvar(c)||c,name:u,no:f,color:m??Wr[u],alpha:N.bracket.cssvar.percent(a??``),keys:p,get cssColor(){return En(this.color)}}}function ki(e,t){let n,r,i,a=Ai(e,`colors`,t);if(typeof a==`object`?`DEFAULT`in a&&(n=a.DEFAULT,r=`DEFAULT`,i=[...t,r]):typeof a==`string`&&(n=a,i=t,r=t.at(-1)),n)return{color:n,no:r,keys:i}}function Ai(e,t,n){let r=e[t];function i(e,t){if(t.length===0)return e;if(!(!e||typeof e!=`object`))for(let n=t.length;n>0;n--){let r=t.slice(0,n).join(`-`);if(r in e){let a=e[r];return n===t.length?a:i(a,t.slice(n))}}}return i(r,n)}function ji(e,t,n,r){if(!e)return;let{color:i,keys:a,alpha:o,modifier:s}=e,c=r?.generator.config.envMode===`dev`&&i?` /* ${i} */`:``,l={};if(i){let e=[l],u=i.includes(`var(`),d=Object.values(Wr).includes(i);if(d&&!o)return l[t]=i,e;let f=`--un-${n}-opacity`,p=a&&!u&&!d?B(`colors`,a):i,m=s??(a?`in srgb`:`in oklab`);if(!m.startsWith(`in `)&&!m.startsWith(`var(`)&&(m=`in ${m}`),l[t]=`color-mix(${m}, ${p} ${o??`var(${f})`}, transparent)${c}`,e.push(R(f,{syntax:`<percentage>`,initialValue:`100%`})),!d){if(a&&!u&&(z(`colors`,a),!s)){let r=[`shadow`,`inset-shadow`,`text-shadow`,`drop-shadow`].includes(n)?`${o?`color-mix(in oklab, ${p} ${o}, transparent)`:`${p}`} var(${f})`:`${p} ${o??`var(${f})`}`;e.push({[S.parent]:`@supports (color: color-mix(in lab, red, red))`,[S.noMerge]:!0,[t]:`color-mix(in oklab, ${r}, transparent)${c}`})}r?.theme&&Hi(i,r.theme)}return e}}function I(e,t){return([,n],r)=>{let i=Oi(n??``,r.theme);if(i)return ji(i,e,t,r)}}function Mi(e,t,n){let r=[];e=f(e);for(let i=0;i<e.length;i++){let a=vn(e[i],` `,6);if(!a||a.length<3)return e;let o=!1,s=a.indexOf(`inset`);s!==-1&&(a.splice(s,1),o=!0);let c=``,l=a.at(-1);if(En(a.at(0))){let e=En(a.shift());e&&(c=Dn(e))}else if(En(l)){let e=En(a.pop());e&&(c=Dn(e))}else if(l&&l.startsWith(`var(`)){let e=a.pop();e&&(c=e)}r.push(`${o?`inset `:``}${a.join(` `)} var(${t}, ${n?`oklab(from ${c} l a b / ${n})`:c})`)}return r}function Ni(e,t){return e!=null&&!!Oi(e,t)?.color}var Pi=/[a-z]+/gi,Fi=new WeakMap;function Ii({theme:e,generator:t},n=`breakpoint`){let r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(Fi.has(e))return Fi.get(e);let i=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(Pi,``))-Number.parseInt(t[1].replace(Pi,``))).map(([e,t])=>({point:e,size:t}));return Fi.set(e,i),i}function L(e,t){return j.map(n=>[`${e}-${n}`,{[t??e]:n}])}function R(e,t={}){let{syntax:n=`*`,inherits:r=!1,initialValue:i}=t,a={[S.shortcutsNoMerge]:!0,[S.noMerge]:!0,[S.noScope]:!0,[S.variants]:()=>[{parent:``,layer:`properties`,selector:()=>`@property ${e}`}],syntax:JSON.stringify(n),inherits:r?`true`:`false`};return i!=null&&(a[`initial-value`]=i),Wi(e,i?String(i):`initial`),a}function Li(e){return e!=null&&Xr.test(e)}function Ri(e){return e[0]===`[`&&e.slice(-1)===`]`&&(e=e.slice(1,-1)),Xr.test(e)||Qr.test(e)}function zi(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}function Bi(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g,` `).replace(/\/\*[\s\S]*?\*\//g,``)}var Vi=new Set([]);function z(e,t=`DEFAULT`){let n=`${e}:${f(t).join(`-`)}`;Vi.has(n)||Vi.add(n)}function B(e,t){return`var(--${e}-${f(t).join(`-`)})`}function Hi(e,t){if(e.startsWith(`var(`)){let n=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){let[e,...r]=n.split(`-`),i=Ai(t,e,r);typeof i==`string`&&(z(e,r),Hi(i,t))}}}var Ui=new Map;function Wi(e,t){Ui.has(e)||Ui.set(e,t)}var Gi=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??`inline-size`,"container-name":e})]],Ki=/@media \(min-width: (.+)\)/,qi=[[/^__container$/,(e,t)=>{let{theme:n,variantHandlers:r}=t,i=n.containers?.padding,a;a=h(i)?i:i?.DEFAULT;let o=n.containers?.maxWidth,s;for(let e of r){let n=e.handle?.({},e=>e)?.parent;if(h(n)){let e=n.match(Ki)?.[1];if(e){let n=(Ii(t)??[]).find(t=>t.size===e)?.point;o?n&&(s=o?.[n]):s=e,n&&!h(i)&&(a=i?.[n]??a)}}}let c={"max-width":s};return r.length||(c.width=`100%`),n.containers?.center&&(c[`margin-left`]=`auto`,c[`margin-right`]=`auto`),i&&(c[`padding-left`]=a,c[`padding-right`]=a),c},{internal:!0}]],Ji=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(Ii(t)??[]).map(e=>e.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}let r=n.map(e=>`${e}:__container`);return e||r.unshift(`__container`),r}]],Yi={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(j.map(e=>[e,e]))},Xi=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":Yi[e]??N.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Yi).join(`|`)})`,`(vertical|align|v)-<percentage>`]}]],Zi=[`center`,`left`,`right`,`justify`,`start`,`end`],Qi=[...Zi.map(e=>[`text-${e}`,{"text-align":e}]),...[...j,...Zi].map(e=>[`text-align-${e}`,{"text-align":e}])],$i=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let 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})=>{let n=t.animation?.keyframes?.[e];if(n){let r=t.animation?.durations?.[e]??`1s`,i=t.animation?.timingFns?.[e]??`linear`,a=t.animation?.counts?.[e]??1,o=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${i} ${a}`,...o}]}return{animation:N.bracket.cssvar(e)}},{autocomplete:`animate-$animation.keyframes`}],[/^animate-name-(.+)/,([,e])=>({"animation-name":N.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||`DEFAULT`]??N.bracket.cssvar.time(e)}),{autocomplete:[`animate-duration`]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||`DEFAULT`]??N.bracket.cssvar.time(e)}),{autocomplete:[`animate-delay`]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||`DEFAULT`]??N.bracket.cssvar(e)}),{autocomplete:[`animate-ease`,`animate-ease-$ease`]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>[`none`,`forwards`,`backwards`,`both`,...[e?j:[]]].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?j:[]]].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":N.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?j:[]]].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`}],...L(`animate`,`animation`)],ea={"gradient-position":R(`--un-gradient-position`),"gradient-from":R(`--un-gradient-from`,{syntax:`<color>`,initialValue:`#0000`}),"gradient-via":R(`--un-gradient-via`,{syntax:`<color>`,initialValue:`#0000`}),"gradient-to":R(`--un-gradient-to`,{syntax:`<color>`,initialValue:`#0000`}),"gradient-stops":R(`--un-gradient-stops`),"gradient-via-stops":R(`--un-gradient-via-stops`),"gradient-from-position":R(`--un-gradient-from-position`,{syntax:`<length-percentage>`,initialValue:`0%`}),"gradient-via-position":R(`--un-gradient-via-position`,{syntax:`<length-percentage>`,initialValue:`50%`}),"gradient-to-position":R(`--un-gradient-to-position`,{syntax:`<length-percentage>`,initialValue:`100%`})};function ta(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 na(){return function*([,e,t],{theme:n}){let r={},i=Oi(t,n);if(i){let{color:t,keys:a,alpha:o}=i;if(t){if(Object.values(Wr).includes(t))r[`--un-gradient-${e}`]=t;else{r[`--un-${e}-opacity`]=o;let n=a?B(`colors`,a):t;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${n} var(--un-${e}-opacity), transparent)`,yield R(`--un-${e}-opacity`,{syntax:`<percentage>`,initialValue:`100%`})}a&&z(`colors`,a),n&&Hi(t,n)}}else r[`--un-gradient-${e}`]=N.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(let e of Object.values(ea))yield e}}}function ra(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${N.bracket.cssvar.percent(t)}`};for(let e of Object.values(ea))yield e}}var ia=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(r=N.number(t)==null?N.bracket(t):`from ${N.number(t)}deg ${ta(n)};`,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)-(.+)$/,na()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:N.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,ra()],[/^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 A?`to ${A[t]} `:` `}${ta(n)}`,"background-image":`${e===`gradient`?`linear`:e}-gradient(var(--un-gradient-stops))`}),{autocomplete:[`gradient`,`linear`,`radial`,`conic`].map(e=>`bg-${e}-to-(${Object.keys(A).filter(e=>e.length<=2&&Array.from(e).every(e=>`rltb`.includes(e))).join(`|`)})`)}],[`bg-none`,{"background-image":`none`}],[`box-decoration-slice`,{"box-decoration-break":`slice`}],[`box-decoration-clone`,{"box-decoration-break":`clone`}],...L(`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":N.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`}],...j.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":A[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`}],...L(`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`}],...L(`bg-origin`,`background-origin`)],aa=[[/^outline-(?:width-|size-)?(.+)$/,oa,{autocomplete:`outline-(width|size)-<num>`}],[/^outline-(?:color-)?(.+)$/,sa,{autocomplete:`outline-$colors`}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`outline-(op|opacity)-<percent>`}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":N.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`},R(`--un-outline-style`,{initialValue:`solid`})]],[`outline-hidden`,[{"outline-style":`none`},{[S.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`,...j].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*oa([,e]){let t=N.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":`var(--un-outline-style)`,"outline-width":t},yield R(`--un-outline-style`,{initialValue:`solid`}))}function*sa(e,t){if(Li(N.bracket(e[1])))yield*oa(e);else{let n=I(`outline-color`,`outline`)(e,t);if(n)for(let e of n)yield e}}var ca=[[`appearance-auto`,{"-webkit-appearance":`auto`,appearance:`auto`}],[`appearance-none`,{"-webkit-appearance":`none`,appearance:`none`}]];function la(e){let t=N.bracket(e);return t&&N.properties(t)?t:N.properties.auto.cssvar.global(e)??{contents:`contents`,scroll:`scroll-position`}[e]}var ua=[[/^will-change-(.+)/,([,e])=>({"will-change":la(e)})]],da={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`},fa=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let n=da[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(da).join(`|`)})`,`list-(${Object.keys(da).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":N.bracket(e)}}],[`list-image-none`,{"list-style-image":`none`}],...L(`list`,`list-style-type`)],pa=[[/^accent-(.+)$/,I(`accent-color`,`accent`),{autocomplete:`accent-$colors`}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":N.bracket.percent(e)}),{autocomplete:[`accent-(op|opacity)`,`accent-(op|opacity)-<percent>`]}]],ma=[[/^caret-(.+)$/,I(`caret-color`,`caret`),{autocomplete:`caret-$colors`}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":N.bracket.percent(e)}),{autocomplete:[`caret-(op|opacity)`,`caret-(op|opacity)-<percent>`]}]],ha=[[`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`]]]],ga=[[`overscroll-auto`,{"overscroll-behavior":`auto`}],[`overscroll-contain`,{"overscroll-behavior":`contain`}],[`overscroll-none`,{"overscroll-behavior":`none`}],...L(`overscroll`,`overscroll-behavior`),[`overscroll-x-auto`,{"overscroll-behavior-x":`auto`}],[`overscroll-x-contain`,{"overscroll-behavior-x":`contain`}],[`overscroll-x-none`,{"overscroll-behavior-x":`none`}],...L(`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`}],...L(`overscroll-y`,`overscroll-behavior-y`)],_a=[[`scroll-auto`,{"scroll-behavior":`auto`}],[`scroll-smooth`,{"scroll-behavior":`smooth`}],...L(`scroll`,`scroll-behavior`)],va=[`solid`,`dashed`,`dotted`,`double`,`hidden`,`none`,`groove`,`ridge`,`inset`,`outset`,...j],ya=[[/^(?:border|b)()(?:-(.+))?$/,V,{autocomplete:`(border|b)-<directions>`}],[/^(?:border|b)-([xy])(?:-(.+))?$/,V],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,V],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,V],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,V],[/^(?:border|b)-()(?:width|size)-(.+)$/,V,{autocomplete:[`(border|b)-<num>`,`(border|b)-<directions>-<num>`]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,V],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,V],[/^(?:border|b)-()(?:color-)?(.+)$/,xa,{autocomplete:[`(border|b)-$colors`,`(border|b)-<directions>-$colors`]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,xa],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,xa],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,xa],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,xa],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Sa,{autocomplete:`(border|b)-(op|opacity)-<percent>`}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Sa],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Sa],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Sa],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Sa],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Ca,{autocomplete:[`(border|b)-(rounded|rd)`,`(border|b)-(rounded|rd)-$radius`,`(rounded|rd)`,`(rounded|rd)-$radius`]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Ca],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Ca],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Ca],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Ca],[/^(?:border|b)-(?:style-)?()(.+)$/,wa,{autocomplete:[`(border|b)-style`,`(border|b)-(${va.join(`|`)})`,`(border|b)-<directions>-style`,`(border|b)-<directions>-(${va.join(`|`)})`,`(border|b)-<directions>-style-(${va.join(`|`)})`,`(border|b)-style-(${va.join(`|`)})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,wa],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,wa],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,wa],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,wa]];function ba(e){return([,t],n)=>{let r=Oi(t,n.theme),i=ji(r,`border${e}-color`,`border${e}`,n);if(i){let t=i[0];return r?.color&&!Object.values(Wr).includes(r.color)&&!r.alpha&&e&&e!==``&&(t[`--un-border${e}-opacity`]=`var(--un-border-opacity)`),i}}}function V([,e=``,t=`1`]){let n=N.bracket.cssvar.global.px(t);if(e in k&&n!=null)return k[e].map(e=>[`border${e}-width`,n])}function xa([,e=``,t],n){if(e in k){if(Li(N.bracket(t)))return V([``,e,t]);if(Ni(t,n.theme)){let r=k[e].map(e=>ba(e)([``,t],n)).filter(se);return[r.map(e=>e[0]).reduce((e,t)=>(Object.assign(e,t),e),{}),...r.flatMap(e=>e.slice(1))]}}}function Sa([,e=``,t]){let n=N.bracket.percent.cssvar(t);if(e in k&&n!=null)return k[e].map(e=>[`--un-border${e}-opacity`,n])}function Ca([,e=``,t=`DEFAULT`],{theme:n}){if(e in Kr){if(t===`full`)return Kr[e].map(e=>[`border${e}-radius`,`calc(infinity * 1px)`]);let r=n.radius?.[t]??N.bracket.cssvar.global.fraction.rem(t);if(r!=null){let i=n.radius&&t in n.radius;return i&&z(`radius`,t),Kr[e].map(e=>[`border${e}-radius`,i?B(`radius`,t):r])}}}function wa([,e=``,t]){if(va.includes(t)&&e in k)return[[`--un-border-style`,t],...k[e].map(e=>[`border${e}-style`,t])]}var Ta=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:N.bracket.percent.cssvar(e)})]],Ea=/^\[url\(.+\)\]$/,Da=/^\[(?:length|size):.+\]$/,Oa=/^\[position:.+\]$/,ka=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Aa=/^\[image:.+\]$/,ja=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Ea.test(t))return{"--un-url":N.bracket(t),"background-image":`var(--un-url)`};if(Da.test(t)&&N.bracketOfLength(t)!=null)return{"background-size":N.bracketOfLength(t).split(` `).map(e=>N.fraction.auto.px.cssvar(e)??e).join(` `)};if((Ri(t)||Oa.test(t))&&N.bracketOfPosition(t)!=null)return{"background-position":N.bracketOfPosition(t).split(` `).map(e=>N.position.fraction.auto.px.cssvar(e)??e).join(` `)};if(ka.test(t)||Aa.test(t)){let e=N.bracket(t);if(e){let t=e.startsWith(`http`)?`url(${e})`:N.cssvar(e);return{"background-image":t??e}}}return I(`background-color`,`bg`)(...e)},{autocomplete:`bg-$colors`}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`bg-(op|opacity)-<percent>`}]],Ma=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split(`-`).join(` `)})]],Na=[[/^columns-(.+)$/,([,e],{theme:t})=>t.container&&e in t.container?(z(`container`,e),{columns:B(`container`,e)}):{columns:N.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:[`columns-<num>`,`columns-$container`]}],[`columns-auto`,{columns:`auto`}],[`break-before-auto`,{"break-before":`auto`}],[`break-before-avoid`,{"break-before":`avoid`}],[`break-before-all`,{"break-before":`all`}],[`break-before-avoid-page`,{"break-before":`avoid-page`}],[`break-before-page`,{"break-before":`page`}],[`break-before-left`,{"break-before":`left`}],[`break-before-right`,{"break-before":`right`}],[`break-before-column`,{"break-before":`column`}],...L(`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`}],...L(`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`}],...L(`break-after`)],Pa=[`solid`,`double`,`dotted`,`dashed`,`wavy`,...j],Fa=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:`decoration-(underline|overline|line-through)`}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Ia,{autocomplete:`(underline|decoration)-<num>`}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:`(underline|decoration)-(auto|from-font)`}],[/^(?:underline|decoration)-(.+)$/,La,{autocomplete:`(underline|decoration)-$colors`}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`(underline|decoration)-(op|opacity)-<percent>`}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":N.auto.bracket.cssvar.global.px(e)}),{autocomplete:`(underline|decoration)-(offset)-<num>`}],...Pa.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Pa.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),[`no-underline`,{"text-decoration":`none`}],[`decoration-none`,{"text-decoration":`none`}]];function Ia([,e]){return{"text-decoration-thickness":N.bracket.cssvar.global.px(e)}}function La(e,t){if(Li(N.bracket(e[1])))return Ia(e);let n=I(`text-decoration-color`,`line`)(e,t);if(n){let e=n[0];return e[`-webkit-text-decoration-color`]=e[`text-decoration-color`],n}}var Ra=[[/^pa?()-?(.+)$/,F(`padding`),{autocomplete:[`(m|p)<num>`,`(m|p)-<num>`]}],[/^p-?xy()()$/,F(`padding`),{autocomplete:`(m|p)-(xy)`}],[/^p-?([xy])(?:-?(.+))?$/,F(`padding`)],[/^p-?([rltbse])(?:-?(.+))?$/,F(`padding`),{autocomplete:`(m|p)<directions>-<num>`}],[/^p-(block|inline)(?:-(.+))?$/,F(`padding`),{autocomplete:`(m|p)-(block|inline)-<num>`}],[/^p-?([bi][se])(?:-?(.+))?$/,F(`padding`),{autocomplete:`(m|p)-(bs|be|is|ie)-<num>`}]],za=[[/^ma?()-?(.+)$/,F(`margin`)],[/^m-?xy()()$/,F(`margin`)],[/^m-?([xy])(?:-?(.+))?$/,F(`margin`)],[/^m-?([rltbse])(?:-?(.+))?$/,F(`margin`)],[/^m-(block|inline)(?:-(.+))?$/,F(`margin`)],[/^m-?([bi][se])(?:-?(.+))?$/,F(`margin`)]],Ba=[[/^space-([xy])-(.+)$/,Ha,{autocomplete:[`space-(x|y)`,`space-(x|y)-reverse`,`space-(x|y)-$spacing`]}],[/^space-([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Va(e)],[`--un-space-${t}-reverse`]:`1`},yield R(`--un-space-${t}-reverse`,{initialValue:0})}]];function Va(e){return{matcher:e,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}${e.selector}`,selector:`:where(&>:not(:last-child))`})}}function*Ha([e,t,n],{theme:r,symbols:i}){let a,o=P(n);if(o==null?a=r.spacing?.[n]??N.bracket.cssvar.auto.fraction.rem(n||`1`):(z(`spacing`),a=`calc(var(--spacing) * ${o})`),a!=null){let n=k[t===`x`?`inline`:`block`].map((e,n)=>[`margin${e}`,`calc(${a} * ${n===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`]);n&&(yield{[i.variants]:[Va(e)],[`--un-space-${t}-reverse`]:`0`,...Object.fromEntries(n)},yield R(`--un-space-${t}-reverse`,{initialValue:0}))}}var Ua=[[/^divide-(.+)$/,function*(e,t){let n=I(`border-color`,`divide`)(e,t);n&&(yield{[t.symbols.variants]:[Va(e[0])],...n[0]},yield n[1])},{autocomplete:`divide-$colors`}],[/^divide-op(?:acity)?-?(.+)$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Va(e)],"--un-divide-opacity":N.bracket.percent(t)}},{autocomplete:[`divide-(op|opacity)`,`divide-(op|opacity)-<percent>`]}],[/^divide-?([xy])$/,Wa,{autocomplete:[`divide-(x|y)`,`divide-(x|y)-reverse`]}],[/^divide-?([xy])-?(.+)$/,Wa],[/^divide-?([xy])-reverse$/,function*([e,t],{symbols:n}){yield{[n.variants]:[Va(e)],[`--un-divide-${t}-reverse`]:`1`},yield R(`--un-divide-${t}-reverse`,{initialValue:0})}],[RegExp(`^divide-(${va.join(`|`)})$`),function*([e,t],{symbols:n}){yield{[n.variants]:[Va(e)],"border-style":t}},{autocomplete:va.map(e=>`divide-${e}`)}]];function*Wa([e,t,n],{symbols:r}){let i=N.bracket.cssvar.px(n||`1`);if(i!=null){i===`0`&&(i=`0px`);let n={x:[`-left`,`-right`],y:[`-top`,`-bottom`]}[t].map(e=>{let n=e.endsWith(`left`)||e.endsWith(`top`)?`calc(${i} * var(--un-divide-${t}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${e}-width`,n],[`border${e}-style`,`var(--un-border-style)`]]});n&&(yield{[r.variants]:[Va(e)],[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(n.flat())},yield R(`--un-divide-${t}-reverse`,{initialValue:0}),yield R(`--un-border-style`,{initialValue:`solid`}))}}var Ga=[`blur`,`brightness`,`contrast`,`grayscale`,`hue-rotate`,`invert`,`saturate`,`sepia`,`drop-shadow`],Ka=Ga.map(e=>R(`--un-${e}`)),qa=Ga.map(e=>`var(--un-${e},)`).join(` `),Ja=[`backdrop-blur`,`backdrop-brightness`,`backdrop-contrast`,`backdrop-grayscale`,`backdrop-hue-rotate`,`backdrop-invert`,`backdrop-opacity`,`backdrop-saturate`,`backdrop-sepia`],Ya=Ja.map(e=>R(`--un-${e}`)),Xa=Ja.map(e=>`var(--un-${e},)`).join(` `);function Za(e){let t=N.bracket.cssvar(e||``);if(t!=null||(t=e?N.percent(e):`100%`,t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function Qa(e,t){return([,n,r],{theme:i})=>{let a=t(r,i)??(r===`none`?`0`:``);if(a!==``)return n?[{[`--un-${n}${e}`]:`${e}(${a})`,"-webkit-backdrop-filter":Xa,"backdrop-filter":Xa},...Ya]:[{[`--un-${e}`]:`${e}(${a})`,filter:qa},...Ka]}}function $a(e,t){let[,n]=e,{theme:r}=t,i=[];n&&(i=vn(n,`/`,2)??[],n.startsWith(`/`)&&(i=[``,n.slice(1)]));let a=r.dropShadow?.[i[0]||`DEFAULT`],o=n?N.bracket.cssvar(n):void 0;if((a!=null||o!=null)&&!Ni(o,r)){let e=i[1]?N.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":e,"--un-drop-shadow":`drop-shadow(${Mi(a||o,`--un-drop-shadow-color`,e).join(`) drop-shadow(`)})`,filter:qa},...Ka]}if(Ni(n,r))return I(`--un-drop-shadow-color`,`drop-shadow`)(e,t);if(a=N.bracket.cssvar(n)??(n===`none`?``:void 0),a!=null)return[{"--un-drop-shadow":a&&`drop-shadow(${a})`,filter:qa},...Ka]}var eo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Qa(`blur`,(e,t)=>t.blur?.[e||`DEFAULT`]||N.bracket.cssvar.px(e)),{autocomplete:[`(backdrop|filter)-blur-$blur`,`blur-$blur`,`filter-blur`]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Qa(`brightness`,e=>N.bracket.cssvar.percent(e)),{autocomplete:[`(backdrop|filter)-brightness-<percent>`,`brightness-<percent>`]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Qa(`contrast`,e=>N.bracket.cssvar.percent(e)),{autocomplete:[`(backdrop|filter)-contrast-<percent>`,`contrast-<percent>`]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,$a,{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-(.+)$/,I(`--un-drop-shadow-color`,`drop-shadow`)],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":N.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Qa(`grayscale`,Za),{autocomplete:[`(backdrop|filter)-grayscale`,`(backdrop|filter)-grayscale-<percent>`,`grayscale-<percent>`]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Qa(`hue-rotate`,e=>N.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Qa(`invert`,Za),{autocomplete:[`(backdrop|filter)-invert`,`(backdrop|filter)-invert-<percent>`,`invert-<percent>`]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Qa(`opacity`,e=>N.bracket.cssvar.percent(e)),{autocomplete:[`backdrop-(op|opacity)`,`backdrop-(op|opacity)-<percent>`]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Qa(`saturate`,e=>N.bracket.cssvar.percent(e)),{autocomplete:[`(backdrop|filter)-saturate`,`(backdrop|filter)-saturate-<percent>`,`saturate-<percent>`]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Qa(`sepia`,Za),{autocomplete:[`(backdrop|filter)-sepia`,`(backdrop|filter)-sepia-<percent>`,`sepia-<percent>`]}],[`filter`,{filter:qa}],[`backdrop-filter`,{"-webkit-backdrop-filter":Xa,"backdrop-filter":Xa}],[`filter-none`,{filter:`none`}],[`backdrop-filter-none`,{"-webkit-backdrop-filter":`none`,"backdrop-filter":`none`}],...j.map(e=>[`filter-${e}`,{filter:e}]),...j.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],to=[[`flex`,{display:`flex`}],[`inline-flex`,{display:`inline-flex`}],[`flex-inline`,{display:`inline-flex`}],[/^flex-(.*)$/,([,e])=>({flex:N.bracket(e)==null?N.cssvar.fraction(e):N.bracket(e).split(` `).map(e=>N.cssvar.fraction(e)??e).join(` `)})],[`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":N.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-shrink-<num>`,`shrink-<num>`]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=``])=>({"flex-grow":N.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-grow-<num>`,`grow-<num>`]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{let t=P(e);return t==null?{"flex-basis":N.bracket.cssvar.auto.fraction.rem(e)}:(z(`spacing`),{"flex-basis":`calc(var(--spacing) * ${t})`})},{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`}]],no={"":[``],x:[`column-`],y:[`row-`],col:[`column-`],row:[`row-`]},ro=[[/^(?:flex-|grid-)?gap-?()(.+)$/,F(`gap`,no,(e,t)=>`${t}${e}`),{autocomplete:[`gap-$spacing`,`gap-<num>`]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,F(`gap`,no,(e,t)=>`${t}${e}`),{autocomplete:[`gap-(x|y)-$spacing`,`gap-(x|y)-<num>`]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,F(`gap`,no,(e,t)=>`${t}${e}`),{autocomplete:[`gap-(col|row)-$spacing`,`gap-(col|row)-<num>`]}]];function io(e){return e.replace(`col`,`column`)}function ao(e){switch(e){case`min`:return`min-content`;case`max`:return`max-content`;case`fr`:return`minmax(0,1fr)`}return N.bracket.cssvar.auto.rem(e)}var oo=[[`grid`,{display:`grid`}],[`inline-grid`,{display:`inline-grid`}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${io(e)}`]:N.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t===`full`)return{[`grid-${io(e)}`]:`1/-1`};let n=N.bracket.number.cssvar(t);if(n!=null)return{[`grid-${io(e)}`]:`span ${n}/span ${n}`}},{autocomplete:`(grid-row|grid-col|row|col)-span-<num>`}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${io(e)}-start`]:N.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${io(e)}-end`]:N.bracket.cssvar(t)??t}),{autocomplete:`(grid-row|grid-col|row|col)-(start|end)-<num>`}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${io(e)}`]:ao(t)}),{autocomplete:`(grid-auto|auto)-(rows|cols)-<num>`}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":N.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":io(e).replace(`-`,` `)}),{autocomplete:[`(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)`]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${io(e)}`]:N.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${io(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${io(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:`(grid-rows|grid-cols|rows|cols)-<num>`}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e==null?{"grid-area":N.bracket.cssvar(t)}:{"grid-template-areas":N.cssvar(t)??t.split(`-`).map(e=>`"${N.bracket(e)}"`).join(` `)}],[`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`}]],so=[`auto`,`hidden`,`clip`,`visible`,`scroll`,`overlay`,...j],co=[[/^(?:overflow|of)-(.+)$/,([,e])=>so.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${so.join(`|`)})`,`(overflow|of)-(x|y)-(${so.join(`|`)})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>so.includes(t)?{[`overflow-${e}`]:t}:void 0]],lo=[[/^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`}]],uo={t:[`top`],b:[`bottom`],l:[`left`],r:[`right`],x:[`left`,`right`],y:[`top`,`bottom`]},fo=`linear-gradient(#fff, #fff)`,po={"mask-image":`var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)`,"mask-composite":`intersect`};function mo([,e=``]){if(e in Kr){let t=e.split(``).flatMap(e=>uo[e]).join(` `);return{"mask-position":t}}let t=N.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function ho([e,t=``,n,r],i){let a={...po},o=[];if(o.push(...[`linear`,`radial`,`conic`].map(e=>R(`--un-mask-${e}`,{initialValue:fo}))),t in uo){a[`--un-mask-linear`]=`var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)`;for(let s of uo[t]){if(a[`--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))`,P(r)==null?a[`--un-mask-${s}-${n}-position`]=N.bracket.cssvar.fraction.rem(r):(z(`spacing`),a[`--un-mask-${s}-${n}-position`]=`calc(var(--spacing) * ${N.bracket.cssvar.fraction.number(r)})`),Ni(r,i.theme)){let t=I(`--un-mask-${s}-${n}-color`,zi(`colors`))([e,r],i);if(t){let[e,...n]=t;Object.assign(a,e),o.push(...n)}}o.push(...[`from`,`to`].flatMap(e=>[R(`--un-mask-${s}-${e}-position`,{syntax:`<length-percentage>`,initialValue:e===`from`?`0%`:`100%`}),R(`--un-mask-${s}-${e}-color`,{syntax:`<color>`,initialValue:e===`from`?`black`:`transparent`})]))}o.push(...[`top`,`right`,`bottom`,`left`].map(e=>R(`--un-mask-${e}`,{initialValue:fo})))}else{if(n==null)t===`radial`?(a[`--un-mask-radial`]=`radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))`,a[`--un-mask-radial-size`]=N.bracket.cssvar.rem(r)):(a[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,a[`--un-mask-${t}-position`]=P(r)?`calc(1deg * ${N.bracket.cssvar.number(r)})`:N.bracket.cssvar.fraction(r));else{let s={linear:``,radial:`var(--un-mask-radial-shape) var(--un-mask-radial-size) at `,conic:`from `};if(a[`--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)`,a[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Ni(r,i.theme)){let s=I(`--un-mask-${t}-${n}-color`,zi(`colors`))([e,r],i);if(s){let[e,...t]=s;Object.assign(a,e),o.push(...t)}}else P(r)==null?a[`--un-mask-${t}-${n}-position`]=N.bracket.cssvar.fraction.rem(r):(z(`spacing`),a[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${N.bracket.cssvar.fraction.number(r)})`)}t===`radial`&&o.push(R(`--un-mask-radial-shape`,{initialValue:`ellipse`}),R(`--un-mask-radial-size`,{initialValue:`farthest-corner`})),o.push(...[`from`,`to`].flatMap(e=>[R(`--un-mask-${t}-position`,{initialValue:t===`radial`?`center`:`0deg`}),R(`--un-mask-${t}-${e}-position`,{syntax:`<length-percentage>`,initialValue:e===`from`?`0%`:`100%`}),R(`--un-mask-${t}-${e}-color`,{syntax:`<color>`,initialValue:e===`from`?`black`:`transparent`})]))}return[a,...o]}function go([,e=``]){let t=N.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}var _o=[[`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":N.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,ho,{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)?-?(.*)$/,ho],[/^mask-([trblxy])-(from|to)-(.*)$/,ho],[`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":A[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(A).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})$/,mo],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":A[e]})],[/^mask-(?:position-|pos-)(.+)$/,mo],[`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-(.+)$/,go],[`mask-type-luminance`,{"mask-type":`luminance`}],[`mask-type-alpha`,{"mask-type":`alpha`}]],vo=[[/^\$ placeholder-(.+)$/,I(`color`,`placeholder`),{autocomplete:`placeholder-$colors`}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":N.bracket.percent(e)}),{autocomplete:[`placeholder-(op|opacity)`,`placeholder-(op|opacity)-<percent>`]}]],yo=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:[`(position|pos)-<position>`,`(position|pos)-<globalKeyword>`,`<position>`]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>j.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],bo=[[`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`}],...L(`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`}],...L(`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`}],...L(`justify-self`)],xo=[[/^order-(.+)$/,([,e])=>({order:N.bracket.cssvar.number(e)})],[`order-first`,{order:`calc(-infinity)`}],[`order-last`,{order:`calc(infinity)`}],[`order-none`,{order:`0`}]],So=[[`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`}],...L(`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`}],...L(`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`}],...L(`self`,`align-self`)],Co=[[`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`}],...L(`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`}],...L(`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`}],...L(`place-self`)],wo=[...bo,...So,...Co].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function To(e){let t=P(e);return t==null?N.bracket.cssvar.global.auto.fraction.rem(e):(z(`spacing`),`calc(var(--spacing) * ${t})`)}function Eo([,e,t]){let n=To(t);if(n!=null&&e in Gr)return Gr[e].map(e=>[e.slice(1),n])}var Do=[[/^(?: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)-(.+)$/,Eo],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Eo],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Eo],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Eo],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Eo],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:To(t)})]],Oo=[[`float-left`,{float:`left`}],[`float-right`,{float:`right`}],[`float-start`,{float:`inline-start`}],[`float-end`,{float:`inline-end`}],[`float-none`,{float:`none`}],...L(`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`}],...L(`clear`)],ko=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":N.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":N.bracket.cssvar.global.auto.number(e)}),{autocomplete:`z-<num>`}]],Ao=[[`box-border`,{"box-sizing":`border-box`}],[`box-content`,{"box-sizing":`content-box`}],...L(`box`,`box-sizing`)],jo=[[/^(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`})}`}]],Mo={shadow:R(`--un-shadow`,{initialValue:`0 0 #0000`}),shadowColor:R(`--un-shadow-color`),insetShadow:R(`--un-inset-shadow`,{initialValue:`0 0 #0000`}),insetShadowColor:R(`--un-inset-shadow-color`),ringColor:R(`--un-ring-color`),ringShadow:R(`--un-ring-shadow`,{initialValue:`0 0 #0000`}),insetRingColor:R(`--un-inset-ring-color`),insetRingShadow:R(`--un-inset-ring-shadow`,{initialValue:`0 0 #0000`}),ringInset:R(`--un-ring-inset`),ringOffsetWidth:R(`--un-ring-offset-width`,{syntax:`<length>`,initialValue:`0px`}),ringOffsetColor:R(`--un-ring-offset-color`),ringOffsetShadow:R(`--un-ring-offset-shadow`,{initialValue:`0 0 #0000`})},No=[[/^shadow(?:-?(.+))?$/,Po(`shadow`),{autocomplete:[`shadow-$colors`,`shadow-$shadow`]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}],[/^inset-shadow(?:-(.+))?$/,Po(`insetShadow`),{autocomplete:[`inset-shadow-$colors`,`inset-shadow-$insetShadow`]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}]];function Po(e){return(t,n)=>{let[,r]=t,{theme:i}=n,a=[];r&&(a=vn(r,`/`,2)??[],r.startsWith(`/`)&&(a=[``,r.slice(1)]));let o=i[e]?.[a[0]||`DEFAULT`],s=r?N.bracket.cssvar(r):void 0,c=zi(e);if((o!=null||s!=null)&&!Ni(s,i)){let e=a[1]?N.bracket.percent.cssvar(a[1]):void 0;return[{[`--un-${c}-opacity`]:e,[`--un-${c}`]:Mi(o||s,`--un-${c}-color`,e).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(Mo)]}return I(`--un-${c}-color`,c)(t,n)}}var Fo=[[/^ring(?:-(.+))?$/,([,e])=>{let t=N.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(Mo)]}],[/^ring-(.+)$/,I(`--un-ring-color`,`ring`),{autocomplete:`ring-$colors`}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`ring-(op|opacity)-<percent>`}],[/^inset-ring(?:-(.+))?$/,([,e])=>{let t=N.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(Mo)]}],[/^inset-ring-(.+)$/,I(`--un-inset-ring-color`,`inset-ring`),{autocomplete:`inset-ring-$colors`}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`inset-ring-(op|opacity)-<percent>`}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{let t=N.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-(.+)$/,I(`--un-ring-offset-color`,`ring-offset`),{autocomplete:`ring-offset-$colors`}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`ring-offset-(op|opacity)-<percent>`}],[`ring-inset`,{"--un-ring-inset":`inset`}]],Io=[...[`x`,`y`,`both`].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},R(`--un-scroll-snap-strictness`,{initialValue:`proximity`})]]),...[`mandatory`,`proximity`].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},R(`--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?()-?(.+)$/,F(`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])-?(.+)$/,F(`scroll-margin`)],[/^scroll-m-?([rltb])-?(.+)$/,F(`scroll-margin`)],[/^scroll-m-(block|inline)-(.+)$/,F(`scroll-margin`)],[/^scroll-m-?([bi][se])-?(.+)$/,F(`scroll-margin`)],[/^scroll-pa?()-?(.+)$/,F(`scroll-padding`)],[/^scroll-p-?([xy])-?(.+)$/,F(`scroll-padding`)],[/^scroll-p-?([rltb])-?(.+)$/,F(`scroll-padding`)],[/^scroll-p-(block|inline)-(.+)$/,F(`scroll-padding`)],[/^scroll-p-?([bi][se])-?(.+)$/,F(`scroll-padding`)]],Lo={h:`height`,w:`width`,inline:`inline-size`,block:`block-size`};function Ro(e,t){return`${e||``}${Lo[t]}`}function zo(e,t,n){let r;for(let t of[`container`,`spacing`])if(e[t]?.[n]){z(t,n),r=B(t,n);break}if(!r)switch(n){case`fit`:case`max`:case`min`:r=`${n}-content`;break;case`stretch`:r=`stretch`;break;case`screen`:r=t===`w`?`100vw`:`100vh`;break}return!r&&N.number(n)!=null&&(z(`spacing`),r=`calc(var(--spacing) * ${N.number(n)})`),r??N.bracket.cssvar.global.auto.none.fraction.rem(n)}var Bo=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[Ro(e,`w`)]:zo(n,`w`,t),[Ro(e,`h`)]:zo(n,`h`,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[Ro(e,t)]:zo(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[Ro(e,t)]:zo(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)=>({[Ro(e,t)]:Vo(r,n,`verticalBreakpoint`)})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[Ro(e,t)]:Vo(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 Vo(e,t,n=`breakpoint`){let r=Ii(e,n);if(r)return r.find(e=>e.point===t)?.size}function Ho(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case`square`:return`1/1`;case`video`:return`16/9`}return N.bracket.cssvar.global.auto.number(e)}var Uo=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Ho(e)}),{autocomplete:[`aspect-(square|video|ratio)`,`aspect-ratio-(square|video)`]}]],Wo=`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`.split(`.`),Go=[`size`,`layout`,`paint`,`style`],Ko=[[`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:N.bracket.cssvar.global(e)})]],qo=[[`visible`,{visibility:`visible`}],[`invisible`,{visibility:`hidden`}],[`collapse`,{visibility:`collapse`}],[`backface-visible`,{"backface-visibility":`visible`}],[`backface-hidden`,{"backface-visibility":`hidden`}],...L(`backface`,`backface-visibility`)],Jo=[[/^cursor-(.+)$/,([,e])=>({cursor:N.bracket.cssvar.global(e)})],...Wo.map(e=>[`cursor-${e}`,{cursor:e}])],Yo=[[/^contain-(.*)$/,([,e])=>N.bracket(e)==null?Go.includes(e)?[{"--un-contain-size":e,contain:Go.map(e=>`var(--un-contain-${e})`).join(` `)},...Go.map(e=>R(`--un-contain-${e}`))]:void 0:{contain:N.bracket(e).split(` `).map(e=>N.cssvar.fraction(e)??e).join(` `)}],[`contain-strict`,{contain:`strict`}],[`contain-content`,{contain:`content`}],[`contain-none`,{contain:`none`}]],Xo=[[`pointer-events-auto`,{"pointer-events":`auto`}],[`pointer-events-none`,{"pointer-events":`none`}],...L(`pointer-events`)],Zo=[[`resize-x`,{resize:`horizontal`}],[`resize-y`,{resize:`vertical`}],[`resize`,{resize:`both`}],[`resize-none`,{resize:`none`}],...L(`resize`)],Qo=[[`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`}],...L(`select`,`user-select`)],$o=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`,...j].includes(e)?{"white-space":e}:void 0,{autocomplete:`(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)`}]],es=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:`block-size`,inline:`inline-size`,w:`width`,h:`height`}[e]??`size`}`]:N.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:[`intrinsic-size-<num>`,`intrinsic-<num>`,`intrinsic-(block|inline|w|h)-<num>`]}],[`content-visibility-visible`,{"content-visibility":`visible`}],[`content-visibility-hidden`,{"content-visibility":`hidden`}],[`content-visibility-auto`,{"content-visibility":`auto`}],...L(`content-visibility`)],ts=[[/^content-(.+)$/,([,e])=>{if(N.bracket.cssvar(e)!=null)return[{"--un-content":N.bracket.cssvar(e),content:`var(--un-content)`},R(`--un-content`,{initialValue:`""`})]}],[`content-empty`,{content:`""`}],[`content-none`,{content:`none`}]],ns=[[`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`}]],rs=[[`text-wrap`,{"text-wrap":`wrap`}],[`text-nowrap`,{"text-wrap":`nowrap`}],[`text-balance`,{"text-wrap":`balance`}],[`text-pretty`,{"text-wrap":`pretty`}]],is=[[`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`}]],as=[[`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`}],...L(`case`,`text-transform`)],os=[[`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`}]],ss=[[`antialiased`,{"-webkit-font-smoothing":`antialiased`,"-moz-osx-font-smoothing":`grayscale`}],[`subpixel-antialiased`,{"-webkit-font-smoothing":`auto`,"-moz-osx-font-smoothing":`auto`}]],cs=[...[`manual`,`auto`,`none`,...j].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],ls=[[`write-vertical-right`,{"writing-mode":`vertical-rl`}],[`write-vertical-left`,{"writing-mode":`vertical-lr`}],[`write-normal`,{"writing-mode":`horizontal-tb`}],...L(`write`,`writing-mode`)],us=[[`write-orient-mixed`,{"text-orientation":`mixed`}],[`write-orient-sideways`,{"text-orientation":`sideways`}],[`write-orient-upright`,{"text-orientation":`upright`}],...L(`write-orient`,`text-orientation`)],ds=[[`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`}]],fs=[[`isolate`,{isolation:`isolate`}],[`isolate-auto`,{isolation:`auto`}],[`isolation-auto`,{isolation:`auto`}]],ps=[[`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(A[e])return{"object-position":A[e]};if(N.bracketOfPosition(e)!=null)return{"object-position":N.bracketOfPosition(e).split(` `).map(e=>N.position.fraction.auto.px.cssvar(e)??e).join(` `)}},{autocomplete:`object-(${Object.keys(A).join(`|`)})`}]],ms=[[`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`}],...L(`bg-blend`,`background-blend`)],hs=[[`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`}],...L(`mix-blend`)],gs=[[`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`}]],_s=[[`forced-color-adjust-auto`,{"forced-color-adjust":`auto`}],[`forced-color-adjust-none`,{"forced-color-adjust":`none`}]],vs=[[`field-sizing-fixed`,{"field-sizing":`fixed`}],[`field-sizing-content`,{"field-sizing":`content`}]],ys=[[/^fill-(.+)$/,I(`fill`,`fill`),{autocomplete:`fill-$colors`}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`fill-(op|opacity)-<percent>`}],[`fill-none`,{fill:`none`}],[/^stroke-(?:width-|size-)?(.+)$/,bs],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":N.bracket.cssvar.number(e)}),{autocomplete:`stroke-dash-<num>`}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":N.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,xs,{autocomplete:`stroke-$colors`}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":N.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 bs([,e]){return{"stroke-width":N.bracket.cssvar.fraction.px.number(e)}}function xs(e,t){return Li(N.bracket(e[1]))?bs(e):I(`stroke`,`stroke`)(e,t)}var Ss=[[`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}){let n=Cs(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(let e of[`x`,`y`])yield R(`--un-border-spacing-${e}`,{syntax:`<length>`,initialValue:`0`})}},{autocomplete:[`border-spacing`,`border-spacing-$spacing`]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){let r=Cs(t,n);if(r!=null){yield{[`--un-border-spacing-${e}`]:r,"border-spacing":`var(--un-border-spacing-x) var(--un-border-spacing-y)`};for(let e of[`x`,`y`])yield R(`--un-border-spacing-${e}`,{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 Cs(e,t){let n=t.spacing?.[e];if(!n){let t=P(e);t==null?n=N.bracket.cssvar.global.auto.fraction.rem(e):(z(`spacing`),n=`calc(var(--spacing) * ${t})`)}return n}var ws=`var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)`,Ts=[`pan-x`,`pan-y`,`pinch-zoom`].map(e=>R(`--un-${e}`)),Es=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":ws};for(let e of Ts)yield e},{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":ws};for(let e of Ts)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":`pinch-zoom`,"touch-action":ws};for(let e of Ts)yield e}],[`touch-auto`,{"touch-action":`auto`}],[`touch-manipulation`,{"touch-action":`manipulation`}],[`touch-none`,{"touch-action":`none`}],...L(`touch`,`touch-action`)],Ds=[`translate`,`rotate`,`scale`],Os=[`var(--un-rotate-x)`,`var(--un-rotate-y)`,`var(--un-rotate-z)`,`var(--un-skew-x)`,`var(--un-skew-y)`].join(` `),ks=Os,As=[`translateZ(0)`,Os].join(` `),js=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":A[e]??N.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(A).join(`|`)})`,`origin-(${Object.keys(A).join(`|`)})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t],{theme:n})=>{let r;if(n.perspective?.[t]?(z(`perspective`,t),r=B(`perspective`,t)):r=N.bracket.cssvar.px.numberWithUnit(t),r!=null)return e?{"--un-perspective":`perspective(${r})`,transform:`var(--un-perspective) ${ks}`}:{perspective:r}},{autocomplete:[`perspective-<num>`,`perspective-$perspective`]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=N.bracket.cssvar(e)??(e.length>=3?A[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ms],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ms],[/^(?:transform-)?rotate-()(.+)$/,Ps],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Ps],[/^(?:transform-)?skew-()(.+)$/,Fs],[/^(?:transform-)?skew-([xy])-(.+)$/,Fs,{autocomplete:[`transform-skew-(x|y)-<percent>`,`skew-(x|y)-<percent>`]}],[/^(?:transform-)?scale-()(.+)$/,Ns],[/^(?:transform-)?scale-([xyz])-(.+)$/,Ns,{autocomplete:[`transform-(${Ds.join(`|`)})-<percent>`,`transform-(${Ds.join(`|`)})-(x|y|z)-<percent>`,`(${Ds.join(`|`)})-<percent>`,`(${Ds.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:ks}],[`transform-cpu`,{transform:Os}],[`transform-gpu`,{transform:As}],[`transform-none`,{transform:`none`}],...L(`transform`)];function Ms([,e,t]){let n=P(t)??N.bracket.cssvar.none.fraction.rem(t);if(n!=null)return n===`none`?{translate:`none`}:(z(`spacing`),[[...Is(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)`:``}`,Ur]],...[`x`,`y`,`z`].map(e=>R(`--un-translate-${e}`,{initialValue:0}))])}function Ns([,e,t]){let n=N.bracket.cssvar.none.fraction.percent(t);if(n!=null)return n===`none`?{scale:`none`}:[[...Is(e,n,`scale`),[`scale`,`var(--un-scale-x) var(--un-scale-y)${e===`z`?` var(--un-scale-z)`:``}`]],...[`x`,`y`,`z`].map(e=>R(`--un-scale-${e}`,{initialValue:1}))]}function Ps([,e=``,t]){let n=N.bracket.cssvar.none.degree(t);if(n!=null)return n===`none`?{rotate:`none`}:e?[[...Is(e,n.endsWith(`deg`)?`rotate${e.toUpperCase()}(${n})`:n,`rotate`),[`transform`,ks]],...[`x`,`y`,`z`].map(e=>R(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...[`x`,`y`].map(e=>R(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]:{rotate:N.bracket.cssvar.degree(t)}}function Fs([,e,t]){let n=N.bracket.cssvar.degree(t),r=qr[e];if(n!=null&&r)return[[...r.map(e=>[`--un-skew${e}`,n.endsWith(`deg`)?`skew${e.slice(1).toUpperCase()}(${n})`:n]),[`transform`,ks]],...[`x`,`y`,`z`].map(e=>R(`--un-rotate-${e}`,{initialValue:`rotate${e.toUpperCase()}(0)`})),...[`x`,`y`].map(e=>R(`--un-skew-${e}`,{initialValue:`skew${e.toUpperCase()}(0)`}))]}function Is(e,t,n){let r=t.split(ri);return e||!e&&r.length===1?qr[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${Jr[t]}`,e])}function Ls(e,t){let n;if(N.cssvar(e)!=null)n=N.cssvar(e);else{e.startsWith(`[`)&&e.endsWith(`]`)&&(e=e.slice(1,-1));let r=e.split(`,`).map(e=>t.property?.[e]??N.properties(e));r.every(Boolean)&&(n=r.join(`,`))}return n}var Rs=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{z(`default`,[`transition`,`timingFunction`]),z(`default`,[`transition`,`duration`]);let r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${B(`default`,[`transition`,`timingFunction`])})`,"transition-duration":`var(--un-duration, ${B(`default`,[`transition`,`duration`])})`};if(!e&&!t)return{...r};if(e!=null){let i=Ls(e,n);if(i)return{"--un-duration":t&&N.time(t),...r,"transition-property":i}}else if(t!=null)return{"--un-duration":N.time(t),...r}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":N.bracket.cssvar.time(e),"transition-duration":N.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":N.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e=`DEFAULT`],{theme:t})=>{let n;return t.ease?.[e]?(z(`ease`,e),n=B(`ease`,e)):n=N.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},R(`--un-ease`)]},{autocomplete:[`transition-ease-(linear|in|out|in-out)`,`ease-(linear|in|out|in-out)`]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let n=N.global(e)||Ls(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...j].join(`|`)})`]}],[`transition-none`,{transition:`none`}],...L(`transition`),[`transition-discrete`,{"transition-behavior":`allow-discrete`}],[`transition-normal`,{"transition-behavior":`normal`}]],zs=[[/^text-(.+)$/,Js,{autocomplete:`text-$text`}],[/^(?:text|font)-size-(.+)$/,Ys,{autocomplete:`text-size-$text`}],[/^text-(?:color-)?(.+)$/,Xs,{autocomplete:`text-$colors`}],[/^(?:color|c)-(.+)$/,I(`color`,`text`)],[/^(?:text|color|c)-(.+)$/,([,e])=>j.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${j.join(`|`)})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`(text|color|c)-(op|opacity)-<percent>`}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let n;return t.fontWeight?.[e]?(z(`fontWeight`,e),n=B(`fontWeight`,e)):n=N.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]?(z(`leading`,e),n=B(`leading`,e)):P(e)?(z(`spacing`),n=`calc(var(--spacing) * ${P(e)})`):n=N.bracket.cssvar.global.rem(e),n!=null)return[{"--un-leading":n,"line-height":n},R(`--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":N.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let n;return t.tracking?.[e]?(z(`tracking`,e),n=B(`tracking`,e)):n=N.bracket.cssvar.global.rem(e),{"--un-tracking":n,"letter-spacing":n}},{autocomplete:`tracking-$tracking`}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{let n=t.tracking?.[e]?B(`tracking`,e):N.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":N.bracket.cssvar.fraction.global(e)}),{autocomplete:`font-stretch-<percentage>`}],[/^font-(.+)$/,([,e],{theme:t})=>{let n;if(t.font?.[e])return z(`font`,e),n=B(`font`,e),{"font-family":n};if(t.fontWeight?.[e])return z(`fontWeight`,e),n=B(`fontWeight`,e),{"--un-font-weight":n,"font-weight":n};if(n=N.number(e),n!=null)return{"--un-font-weight":n,"font-weight":n};if(n=N.bracketOfFamily(e),n!=null&&N.number(n)==null)return n=N.cssvar(n)??n,{"font-family":n};if(n=N.bracketOfNumber(e),n!=null)return n=N.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=N.bracket(e),n!=null&&N.number(n)!=null){let e=N.number(n);return{"--un-font-weight":e,"font-weight":e}}if(n=N.bracket.cssvar.global(e),n!=null)return{"font-family":n}},{autocomplete:[`font-$font`,`font-$fontWeight`]}]],Bs=[[/^tab(?:-(.+))?$/,([,e])=>{let t=N.bracket.cssvar.global.number(e||`4`);if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Vs=[[/^indent-(.+)$/,([,e])=>{let t=P(e);if(t!=null)return z(`spacing`),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=N.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Hs=[[/^text-stroke(?:-(.+))?$/,([,e=`DEFAULT`],{theme:t})=>(t.textStrokeWidth?.[e]&&z(`textStrokeWidth`,e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?B(`textStrokeWidth`,e):N.bracket.cssvar.px(e)}),{autocomplete:`text-stroke-$textStrokeWidth`}],[/^text-stroke-(.+)$/,I(`-webkit-text-stroke-color`,`text-stroke`),{autocomplete:`text-stroke-$colors`}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`text-stroke-(op|opacity)-<percent>`}]];function Us(e,t){let[,n]=e,{theme:r}=t,i=[];n&&(i=vn(n,`/`,2)??[]);let a=r.textShadow?.[i[0]],o=n?N.bracket.cssvar(n):void 0;if((a!=null||o!=null)&&!Ni(o,r)){let e=i[1]?N.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":e,"--un-text-shadow":Mi(a||o,`--un-text-shadow-color`,e).join(`,`),"text-shadow":`var(--un-text-shadow)`}}return I(`--un-text-shadow-color`,`text-shadow`)(e,t)??{"text-shadow":N.bracket.cssvar.global(n)}}var Ws=[[/^text-shadow-(.+)$/,Us,{autocomplete:[`text-shadow-$textShadow`,`text-shadow(-color)?-$colors`,`text-shadow(-color)?-(op|opacity)-<percent>`]}],[/^text-shadow-color-(.+)$/,I(`--un-text-shadow-color`,`text-shadow`),{autocomplete:`text-shadow-color-$colors`}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":N.bracket.percent.cssvar(e)}),{autocomplete:`text-shadow(-color)?-(op|opacity)-<percent>`}]],Gs=[R(`--un-ordinal`),R(`--un-slashed-zero`),R(`--un-numeric-figure`),R(`--un-numeric-spacing`),R(`--un-numeric-fraction`)],Ks={"font-variant-numeric":`var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)`},qs=[[`ordinal`,[{"--un-ordinal":`ordinal`,...Ks},...Gs]],[`slashed-zero`,[{"--un-slashed-zero":`slashed-zero`,...Ks},...Gs]],[`lining-nums`,[{"--un-numeric-figure":`lining-nums`,...Ks},...Gs]],[`oldstyle-nums`,[{"--un-numeric-figure":`oldstyle-nums`,...Ks},...Gs]],[`proportional-nums`,[{"--un-numeric-spacing":`proportional-nums`,...Ks},...Gs]],[`tabular-nums`,[{"--un-numeric-spacing":`tabular-nums`,...Ks},...Gs]],[`diagonal-fractions`,[{"--un-numeric-fraction":`diagonal-fractions`,...Ks},...Gs]],[`stacked-fractions`,[{"--un-numeric-fraction":`stacked-fractions`,...Ks},...Gs]],[`normal-nums`,[{"font-variant-numeric":`normal`}]]];function Js([,e=`base`],{theme:t}){let n=Zs(e,`length`);if(!n)return;let[r,i]=n,a=t.text?.[r],o;if(i&&(t.leading?.[i]?(z(`leading`,i),o=B(`leading`,i)):o=N.bracket.cssvar.global.rem(i)),a)return z(`text`,[r,`fontSize`]),z(`text`,[r,`lineHeight`]),a.letterSpacing&&z(`text`,[r,`letterSpacing`]),{"font-size":B(`text`,[r,`fontSize`]),"line-height":o??`var(--un-leading, ${B(`text`,[r,`lineHeight`])})`,"letter-spacing":a.letterSpacing?B(`text`,[r,`letterSpacing`]):void 0};let s=N.bracketOfLength.rem(r);return o&&s?{"font-size":s,"line-height":o}:{"font-size":N.bracketOfLength.rem(e)}}function Ys([,e],{theme:t}){if(t.text?.[e]!=null)return z(`text`,[e,`fontSize`]),z(`text`,[e,`lineHeight`]),{"font-size":B(`text`,[e,`fontSize`]),"line-height":`var(--un-leading, ${B(`text`,[e,`lineHeight`])})`};{let t=N.bracket.cssvar.global.rem(e);if(t)return{"font-size":t}}}function Xs(e,t){return Li(N.bracket(e[1]))?Ys(e,t):I(`color`,`text`)(e,t)}function Zs(e,t){let[n,r]=_n(e,`[`,`]`,[`/`,`:`])??[];if(n!=null){let e=(n.match(ni)??[])[1];if(e==null||e===t)return[n,r]}}var Qs={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`},$s=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=Qs[e];if(n)return{[n]:N.cssvar(t)}}]],ec=[[/^\[(.*)\]$/,([e,t],{theme:n})=>{if(!t.includes(`:`))return;let[r,...i]=t.split(`:`),a=i.join(`:`);if(!nc(t)&&/^[\w-]+$/.test(r)&&tc(a)){let e=N.bracket(`[${a}]`,n);if(e)return{[r]:e}}}]];function tc(e){let t=0;function n(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let 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 nc(e){if(!e.includes(`://`))return!1;try{return new URL(e).host!==``}catch{return!1}}var rc=[zs,Bs,Vs,Hs,Ws,za,Ra,Qi,Xi,ca,aa,ua,fa,pa,ma,ha,ga,aa,_a,ua,ya,ja,Ta,Ma,qi,Gi,Fa,to,ro,oo,Bo,Uo,Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,ns,rs,is,as,os,ss,Fo,No,js,Rs,$s,ec,So,Ao,wo,Oo,Do,bo,xo,Co,yo,ko,co,ys,$i,ia,cs,ls,us,_s,ds,fs,ps,ms,hs,gs,_o,Na,eo,lo,vo,Io,Ss,Es,qs,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],Ba,Ua,vs,jo].flat(),ic=[...Ji],ac={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)`},mauve:{50:`oklch(98.5% 0 0)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},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(ac).forEach(e=>{typeof e!=`string`&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});var oc={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`}},sc={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"`},cc={DEFAULT:`8px`,xs:`4px`,sm:`8px`,md:`12px`,lg:`16px`,xl:`24px`,"2xl":`40px`,"3xl":`64px`},lc={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(`,`)},uc={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`}},dc={thin:`100`,extralight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extrabold:`800`,black:`900`},fc={tighter:`-0.05em`,tight:`-0.025em`,normal:`0em`,wide:`0.025em`,wider:`0.05em`,widest:`0.1em`},pc={none:`1`,tight:`1.25`,snug:`1.375`,normal:`1.5`,relaxed:`1.625`,loose:`2`},mc={DEFAULT:`1.5rem`,none:`0`,sm:`thin`,md:`medium`,lg:`thick`},hc={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)`},gc={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`},_c={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`},vc={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)`},yc={"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)`},bc={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)`},xc={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)`]},Sc={dramatic:`100px`,near:`300px`,normal:`500px`,midrange:`800px`,distant:`1200px`},Cc={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)`}},wc={"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`},Tc={sm:`40rem`,md:`48rem`,lg:`64rem`,xl:`80rem`,"2xl":`96rem`},Ec={...Tc},Dc={grid:`(display: grid)`},Oc={font:lc,colors:ac,spacing:gc,breakpoint:Tc,verticalBreakpoint:Ec,text:uc,fontWeight:dc,tracking:fc,leading:pc,textStrokeWidth:mc,radius:_c,shadow:vc,insetShadow:yc,dropShadow:bc,textShadow:xc,ease:{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)`},animation:oc,blur:cc,perspective:Sc,property:{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(`,`)}},default:Cc,container:wc,aria:sc,media:hc,supports:Dc},kc={name:`aria`,match(e,t){let n=T(`aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=N.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[aria-${i}]`}}},multiPass:!0,autocomplete:`aria-$aria`};function Ac(e){return{name:`${e}-aria`,match(t,n){let r=T(`${e}-aria-`,t,n.generator.config.separators);if(r){let[t,i,a]=r,o=N.bracket(t)??n.theme.aria?.[t]??``;if(o){let t={group:`&:is(:where(.group${a?`\\/${a}`:``})[aria-${o}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:``})[aria-${o}] ~ *)`,previous:`:where(*[aria-${o}] + &)`,parent:`:where(*[aria-${o}] > &)`,has:`&:has(*[aria-${o}])`,in:`:where(*[aria-${o}]) &`};return{matcher:i,handle:(n,r)=>r({...n,parent:`${n.parent?`${n.parent} $$ `:``}${n.selector}`,selector:t[e]})}}}},multiPass:!0}}var jc=[Ac(`group`),Ac(`peer`),Ac(`parent`),Ac(`previous`),Ac(`has`),Ac(`in`)],Mc=/(max|min)-\[([^\]]*)\]:/;function Nc(){let e={};return{name:`breakpoints`,match(t,n){if(Mc.test(t)){let e=t.match(Mc);return{matcher:t.replace(e[0],``),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (${e[1]}-width: ${e[2]})`})}}let r=(Ii(n)??[]).map(({point:e,size:t},n)=>[e,t,n]);for(let[i,a,o]of r){e[i]||(e[i]=RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${n.generator.config.separators.join(`|`)}))`));let s=t.match(e[i]);if(!s)continue;let[,c]=s,l=t.slice(c.length);if(l===`container`)continue;let u=c.startsWith(`lt-`)||c.startsWith(`<`)||c.startsWith(`max-`),d=c.startsWith(`at-`)||c.startsWith(`~`),f=3e3;return u?(f-=o+1,{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (max-width: ${Bn(a)})`,parentOrder:f})}):(f+=o+1,d&&o<r.length-1?{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a}) and (max-width: ${Bn(r[o+1][1])})`,parentOrder:f})}:{matcher:l,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media (min-width: ${a})`,parentOrder:f})})}},multiPass:!0,autocomplete:`(at-|lt-|max-|)$breakpoint:`}}var Pc=[C(`*`,e=>({selector:`${e.selector} > *`}),{order:-1}),C(`**`,e=>({selector:`${e.selector} *`}),{order:-1})];function Fc(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;let i=r.generator.config.separators,a=lr(`${e}-`,n,i);if(!a){for(let t of i)if(n.startsWith(`${e}${t}`)){a=[``,n.slice(e.length+t.length)];break}if(!a)return}let o=N.bracket(a[0])??``;return o===``&&(o=`*`),{matcher:a[1],selector:e=>`${e}${t}${o}`}},multiPass:!0}}var Ic=[Fc(`all`,` `),Fc(`children`,`>`),Fc(`next`,`+`),Fc(`sibling`,`+`),Fc(`siblings`,`~`)],Lc=[C(`svg`,e=>({selector:`${e.selector} svg`}))],Rc={name:`@`,match(e,t){if(e.startsWith(`@container`))return;let n=T(`@`,e,t.generator.config.separators);if(n){let[e,r,i]=n,a=N.bracket(e),o;if(o=a?N.numberWithUnit(a):t.theme.container?.[e]??``,o){let n=1e3+Object.keys(t.theme.container??{}).indexOf(e);return i&&(n+=1e3),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@container${i?` ${i} `:` `}(min-width: ${o})`,parentOrder:n})}}}},multiPass:!0};function zc(e={}){if(e?.dark===`class`||typeof e.dark==`object`){let{dark:t=`.dark`,light:n=`.light`}=typeof e.dark==`string`?{}:e.dark;return[C(`dark`,e=>({prefix:`${t} $$ ${e.prefix}`})),C(`light`,e=>({prefix:`${n} $$ ${e.prefix}`}))]}return[w(`dark`,`@media (prefers-color-scheme: dark)`),w(`light`,`@media (prefers-color-scheme: light)`)]}var Bc=[C(`.dark`,e=>({prefix:`.dark $$ ${e.prefix}`})),C(`.light`,e=>({prefix:`.light $$ ${e.prefix}`})),w(`@dark`,`@media (prefers-color-scheme: dark)`),w(`@light`,`@media (prefers-color-scheme: light)`),w(`not-dark`,`@media not (prefers-color-scheme: dark)`)],Vc={name:`data`,match(e,t){let n=T(`data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=N.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[data-${i}]`}}},multiPass:!0};function Hc(e){return{name:`${e}-data`,match(t,n){let r=T(`${e}-data-`,t,n.generator.config.separators);if(r){let[t,i,a]=r,o=N.bracket(t)??n.theme.data?.[t]??``;if(o){let t={group:`&:is(:where(.group${a?`\\/${a}`:``})[data-${o}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:``})[data-${o}] ~ *)`,previous:`:where(*[data-${o}] + &)`,parent:`:where(*[data-${o}] > &)`,has:`&:has(*[data-${o}])`,in:`:where(*[data-${o}]) &`};return{matcher:i,handle:(n,r)=>r({...n,parent:`${n.parent?`${n.parent} $$ `:``}${n.selector}`,selector:t[e]})}}}},multiPass:!0}}var Uc=[Hc(`group`),Hc(`peer`),Hc(`parent`),Hc(`previous`),Hc(`has`),Hc(`in`)],Wc=[C(`rtl`,e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),C(`ltr`,e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Gc(){let e;return{name:`important`,match(t,n){e||=RegExp(`^(important(?:${n.generator.config.separators.join(`|`)})|!)`);let r,i=t.match(e);if(i?r=t.slice(i[0].length):t.endsWith(`!`)&&(r=t.slice(0,-1)),r)return{matcher:r,body:e=>(e.forEach(e=>{e[1]!=null&&(e[1]+=` !important`)}),e)}}}}var Kc=C(`inert`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}${e.selector}`,selector:`&:is([inert],[inert] *)`})),qc=w(`noscript`,`@media (scripting: none)`),Jc={name:`scripting`,match(e,t){let n=T([`script-`,`scripting-`],e,t.generator.config.separators);if(n){let[e,t]=n;if([`none`,`initial-only`,`enabled`].includes(e))return{matcher:t,handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (scripting: ${e})`})}}},multiPass:!0,autocomplete:[`(scripting|script)-(none|initial-only|enabled)`]},Yc=w(`print`,`@media print`),Xc={name:`media`,match(e,t){let n=T(`media-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=N.bracket(e)??``;if(i===``&&(i=t.theme.media?.[e]??``),i)return{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@media ${i}`})}}},multiPass:!0,autocomplete:`media-$media`},Zc=[w(`contrast-more`,`@media (prefers-contrast: more)`),w(`contrast-less`,`@media (prefers-contrast: less)`)],Qc=[w(`motion-reduce`,`@media (prefers-reduced-motion: reduce)`),w(`motion-safe`,`@media (prefers-reduced-motion: no-preference)`)],$c=[w(`landscape`,`@media (orientation: landscape)`),w(`portrait`,`@media (orientation: portrait)`)],el=[w(`forced-colors`,`@media (forced-colors: active)`)],tl={name:`selector`,match(e,t){let n=lr(`selector-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=N.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},nl={name:`layer`,match(e,t){let n=T(`layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=N.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@layer ${r}`})}}}},rl={name:`uno-layer`,match(e,t){let n=T(`uno-layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=N.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},il={name:`scope`,match(e,t){let n=lr(`scope-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=N.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},al={name:`variables`,match(e,t){if(!e.startsWith(`[`))return;let[n,r]=gn(e,`[`,`]`)??[];if(!(n&&r))return;let i;for(let e of t.generator.config.separators)if(r.startsWith(e)){i=r.slice(e.length);break}if(i==null)return;let a=N.bracket(n)??``,o=a.startsWith(`@`);if(o||a.includes(`&`))return{matcher:i,handle(e,t){let n=o?{parent:`${e.parent?`${e.parent} $$ `:``}${a}`}:{selector:a.replace(/&/g,e.selector)};return t({...e,...n})}}},multiPass:!0},ol={name:`theme-variables`,match(e,t){if(Ln(e))return{matcher:e,handle(e,n){return n({...e,entries:JSON.parse(Rn(JSON.stringify(e.entries),t.theme))})}}}},sl=[C(`@hover`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||``}:hover`}))],cl={name:`implicit-group`,match(e,t){let n=T(`in-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=N.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}${e.selector}`,selector:`:where(*:is(${r})) &`})}}}},ll=/^-?[0-9.]+(?:[a-z]+|%)?$/,ul=/-?[0-9.]+(?:[a-z]+|%)?/,dl=/var\(--spacing(?:-[\w-]+)?\)\s*\*\s*(-?[0-9.]+(?:[a-z]+|%)?)/,fl=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function pl(e){let t=e.match(Xr)||e.match(Zr);if(t){let[e,n]=_n(`(${t[2]})${t[3]}`,`(`,`)`,` `)??[];if(e){let r=e.match(dl);if(r){let i=r[1],a=i.startsWith(`-`)?i.slice(1):`-${i}`,o=e.replace(dl,e=>e.replace(i,a));return`${t[1]}${o}${n?` ${n}`:``}`}return`calc(${t[1]}${e} * -1)${n?` ${n}`:``}`}}}var ml=/\b(hue-rotate)\s*(\(.*)/;function hl(e){let t=e.match(ml);if(t){let[e,n]=_n(t[2],`(`,`)`,` `)??[];if(e){let r=ll.test(e.slice(1,-1))?e.replace(ul,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:``}`}}}var gl={name:`negative`,match(e){if(e.startsWith(`-`))return{matcher:e.slice(1),body:e=>{if(e.find(e=>e[0]===`$$mini-no-negative`))return;let t=!1;for(let n of e){let[e,r,i]=n;if(typeof r==`object`||i&&f(i).includes(`$$mini-no-negative`))continue;let a=r?.toString();if(!a||a===`0`||fl.some(t=>t.test(e)))continue;let o=pl(a)??hl(a)??(ll.test(a)?a.replace(ul,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):void 0);!o||o===a||(n[1]=o,t=!0)}return t?e:[]}}}},_l=(e,{theme:t})=>{let n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){let[,e=``,r,i]=n;if(Ni(i,t)||vl(i))return{matcher:`${e}placeholder-$ ${r}${i}`}}};function vl(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?N.bracket.percent(t[1])!=null:!1}function yl(){return ir({getBracket:gn,h:N,variantGetBracket:lr})}function bl(){return ar({getBracket:gn,h:N,variantGetBracket:lr})}function xl(e={}){return or(e,{getBracket:gn,h:N,variantGetBracket:lr})}var Sl=cr(),Cl={name:`starting`,match(e){if(e.startsWith(`starting:`))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:`@starting-style`})}}},wl={name:`supports`,match(e,t){let n=T(`supports-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=N.bracket(e)??``;if(i===``&&(i=t.theme.supports?.[e]??``),i)return i.startsWith(`(`)&&i.endsWith(`)`)||(i=`(${i})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@supports ${i}`})}}},multiPass:!0};function Tl(e){return[kc,Vc,nl,tl,rl,gl,Cl,Gc(),wl,qc,Jc,Yc,Xc,...Zc,...Qc,...$c,...el,Nc(),...Ic,...Lc,_l,...yl(),bl(),...xl(e),Sl,...zc(e),...Bc,...Wc,il,...Pc,Kc,Rc,al,...Uc,...jc,ol,...sl,cl].flat()}function El(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 Dl(e,t,n,r){for(let i of Array.from(e.matchAll(n)))if(i!=null){let n=i[0],a=`${r}${El(n)}`;t.set(a,n),e=e.replace(n,a)}return e}function Ol(e,t){for(let[n,r]of t.entries())e=e.replaceAll(n,r);return e}var kl=/\/\/#\s*sourceMappingURL=.*\n?/g;function Al(e){return e.includes(`sourceMappingURL=`)?e.replace(kl,``):e}var jl=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Ml=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Nl=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Pl(e){let t=[];for(let n of e.matchAll(Ml))n.index!==0&&!/^[\s'"`]/.test(e[n.index-1]??``)||t.push(n[0]);for(let n of e.matchAll(jl))t.push(n[0]);let n=new Map,r=`@unocss-skip-arbitrary-brackets`;return e=Dl(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(l).forEach(e=>{e.includes(r)&&(e=Ol(e,n)),ie(e)&&!Nl.test(e)&&t.push(e)}),t}function Fl(){return{name:`@unocss/extractor-arbitrary-variants`,order:0,extract({code:e}){return Pl(Al(e))}}}function Il(e){if(e.preflights?.property===!1)return;let t=typeof e.preflights?.property==`object`?e.preflights.property:void 0,n=t?.parent===void 0?`@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))`:t.parent,r=t?.selector??`*, ::before, ::after, ::backdrop`;return{getCSS:()=>{if(Ui.size===0)return;let e=Array.from(Ui.entries()).map(([e,t])=>`${e}:${t};`).join(``);return n===!1?`${r}{${e}}`:`${n}{${r}{${e}}}`},layer:`properties`}}var Ll=`
|
|
17
|
+
/*
|
|
18
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
19
|
+
2. Remove default margins and padding
|
|
20
|
+
3. Reset all borders.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
*,
|
|
24
|
+
::after,
|
|
25
|
+
::before,
|
|
26
|
+
::backdrop,
|
|
27
|
+
::file-selector-button {
|
|
28
|
+
box-sizing: border-box; /* 1 */
|
|
29
|
+
margin: 0; /* 2 */
|
|
30
|
+
padding: 0; /* 2 */
|
|
31
|
+
border: 0 solid; /* 3 */
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/*
|
|
35
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
36
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
37
|
+
3. Use a more readable tab size.
|
|
38
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
39
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
40
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
41
|
+
7. Disable tap highlights on iOS.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
html,
|
|
45
|
+
:host {
|
|
46
|
+
line-height: 1.5; /* 1 */
|
|
47
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
48
|
+
tab-size: 4; /* 3 */
|
|
49
|
+
font-family: var(
|
|
50
|
+
--default-font-family,
|
|
51
|
+
ui-sans-serif,
|
|
52
|
+
system-ui,
|
|
53
|
+
sans-serif,
|
|
54
|
+
'Apple Color Emoji',
|
|
55
|
+
'Segoe UI Emoji',
|
|
56
|
+
'Segoe UI Symbol',
|
|
57
|
+
'Noto Color Emoji'
|
|
58
|
+
); /* 4 */
|
|
59
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
60
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
61
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
1. Add the correct height in Firefox.
|
|
66
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
67
|
+
3. Reset the default border style to a 1px solid border.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
hr {
|
|
71
|
+
height: 0; /* 1 */
|
|
72
|
+
color: inherit; /* 2 */
|
|
73
|
+
border-top-width: 1px; /* 3 */
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/*
|
|
77
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
abbr:where([title]) {
|
|
81
|
+
-webkit-text-decoration: underline dotted;
|
|
82
|
+
text-decoration: underline dotted;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/*
|
|
86
|
+
Remove the default font size and weight for headings.
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
h1,
|
|
90
|
+
h2,
|
|
91
|
+
h3,
|
|
92
|
+
h4,
|
|
93
|
+
h5,
|
|
94
|
+
h6 {
|
|
95
|
+
font-size: inherit;
|
|
96
|
+
font-weight: inherit;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/*
|
|
100
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
a {
|
|
104
|
+
color: inherit;
|
|
105
|
+
-webkit-text-decoration: inherit;
|
|
106
|
+
text-decoration: inherit;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
Add the correct font weight in Edge and Safari.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
b,
|
|
114
|
+
strong {
|
|
115
|
+
font-weight: bolder;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/*
|
|
119
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
120
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
121
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
122
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
code,
|
|
126
|
+
kbd,
|
|
127
|
+
samp,
|
|
128
|
+
pre {
|
|
129
|
+
font-family: var(
|
|
130
|
+
--default-monoFont-family,
|
|
131
|
+
ui-monospace,
|
|
132
|
+
SFMono-Regular,
|
|
133
|
+
Menlo,
|
|
134
|
+
Monaco,
|
|
135
|
+
Consolas,
|
|
136
|
+
'Liberation Mono',
|
|
137
|
+
'Courier New',
|
|
138
|
+
monospace
|
|
139
|
+
); /* 1 */
|
|
140
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
141
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
142
|
+
font-size: 1em; /* 4 */
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/*
|
|
146
|
+
Add the correct font size in all browsers.
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
small {
|
|
150
|
+
font-size: 80%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/*
|
|
154
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
sub,
|
|
158
|
+
sup {
|
|
159
|
+
font-size: 75%;
|
|
160
|
+
line-height: 0;
|
|
161
|
+
position: relative;
|
|
162
|
+
vertical-align: baseline;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
sub {
|
|
166
|
+
bottom: -0.25em;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
sup {
|
|
170
|
+
top: -0.5em;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/*
|
|
174
|
+
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)
|
|
175
|
+
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)
|
|
176
|
+
3. Remove gaps between table borders by default.
|
|
177
|
+
*/
|
|
178
|
+
|
|
179
|
+
table {
|
|
180
|
+
text-indent: 0; /* 1 */
|
|
181
|
+
border-color: inherit; /* 2 */
|
|
182
|
+
border-collapse: collapse; /* 3 */
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/*
|
|
186
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
187
|
+
*/
|
|
188
|
+
|
|
189
|
+
:-moz-focusring {
|
|
190
|
+
outline: auto;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/*
|
|
194
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
195
|
+
*/
|
|
196
|
+
|
|
197
|
+
progress {
|
|
198
|
+
vertical-align: baseline;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
Add the correct display in Chrome and Safari.
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
summary {
|
|
206
|
+
display: list-item;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/*
|
|
210
|
+
Make lists unstyled by default.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
ol,
|
|
214
|
+
ul,
|
|
215
|
+
menu {
|
|
216
|
+
list-style: none;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/*
|
|
220
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
221
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
222
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
223
|
+
*/
|
|
224
|
+
|
|
225
|
+
img,
|
|
226
|
+
svg,
|
|
227
|
+
video,
|
|
228
|
+
canvas,
|
|
229
|
+
audio,
|
|
230
|
+
iframe,
|
|
231
|
+
embed,
|
|
232
|
+
object {
|
|
233
|
+
display: block; /* 1 */
|
|
234
|
+
vertical-align: middle; /* 2 */
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/*
|
|
238
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
img,
|
|
242
|
+
video {
|
|
243
|
+
max-width: 100%;
|
|
244
|
+
height: auto;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/*
|
|
248
|
+
1. Inherit font styles in all browsers.
|
|
249
|
+
2. Remove border radius in all browsers.
|
|
250
|
+
3. Remove background color in all browsers.
|
|
251
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
button,
|
|
255
|
+
input,
|
|
256
|
+
select,
|
|
257
|
+
optgroup,
|
|
258
|
+
textarea,
|
|
259
|
+
::file-selector-button {
|
|
260
|
+
font: inherit; /* 1 */
|
|
261
|
+
font-feature-settings: inherit; /* 1 */
|
|
262
|
+
font-variation-settings: inherit; /* 1 */
|
|
263
|
+
letter-spacing: inherit; /* 1 */
|
|
264
|
+
color: inherit; /* 1 */
|
|
265
|
+
border-radius: 0; /* 2 */
|
|
266
|
+
background-color: transparent; /* 3 */
|
|
267
|
+
opacity: 1; /* 4 */
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
Restore default font weight.
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
275
|
+
font-weight: bolder;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/*
|
|
279
|
+
Restore indentation.
|
|
280
|
+
*/
|
|
281
|
+
|
|
282
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
283
|
+
padding-inline-start: 20px;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/*
|
|
287
|
+
Restore space after button.
|
|
288
|
+
*/
|
|
289
|
+
|
|
290
|
+
::file-selector-button {
|
|
291
|
+
margin-inline-end: 4px;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/*
|
|
295
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
296
|
+
*/
|
|
297
|
+
|
|
298
|
+
::placeholder {
|
|
299
|
+
opacity: 1;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/*
|
|
303
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
304
|
+
crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
308
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
309
|
+
::placeholder {
|
|
310
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/*
|
|
315
|
+
Prevent resizing textareas horizontally by default.
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
textarea {
|
|
319
|
+
resize: vertical;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/*
|
|
323
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
::-webkit-search-decoration {
|
|
327
|
+
-webkit-appearance: none;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/*
|
|
331
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
332
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
::-webkit-date-and-time-value {
|
|
336
|
+
min-height: 1lh; /* 1 */
|
|
337
|
+
text-align: inherit; /* 2 */
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/*
|
|
341
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
::-webkit-datetime-edit {
|
|
345
|
+
display: inline-flex;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/*
|
|
349
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
350
|
+
*/
|
|
351
|
+
|
|
352
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
353
|
+
padding: 0;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
::-webkit-datetime-edit,
|
|
357
|
+
::-webkit-datetime-edit-year-field,
|
|
358
|
+
::-webkit-datetime-edit-month-field,
|
|
359
|
+
::-webkit-datetime-edit-day-field,
|
|
360
|
+
::-webkit-datetime-edit-hour-field,
|
|
361
|
+
::-webkit-datetime-edit-minute-field,
|
|
362
|
+
::-webkit-datetime-edit-second-field,
|
|
363
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
364
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
365
|
+
padding-block: 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
::-webkit-calendar-picker-indicator {
|
|
373
|
+
line-height: 1;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/*
|
|
377
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
378
|
+
*/
|
|
379
|
+
|
|
380
|
+
:-moz-ui-invalid {
|
|
381
|
+
box-shadow: none;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/*
|
|
385
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
button,
|
|
389
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
390
|
+
::file-selector-button {
|
|
391
|
+
appearance: button;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/*
|
|
395
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
396
|
+
*/
|
|
397
|
+
|
|
398
|
+
::-webkit-inner-spin-button,
|
|
399
|
+
::-webkit-outer-spin-button {
|
|
400
|
+
height: auto;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/*
|
|
404
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
405
|
+
*/
|
|
406
|
+
|
|
407
|
+
[hidden]:where(:not([hidden~='until-found'])) {
|
|
408
|
+
display: none !important;
|
|
409
|
+
}
|
|
410
|
+
`;function Rl(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:e})=>(z(`font`,`sans`),z(`font`,`mono`),z(`default`,[`font`,`family`]),z(`default`,[`monoFont`,`family`]),Bi(Ll,e.config.envMode===`dev`)),layer:`base`}}var zl=[`spacing`,`breakpoint`,`verticalBreakpoint`,`shadow`,`insetShadow`,`dropShadow`,`textShadow`,`animation`,`property`,`aria`,`media`,`supports`,`containers`];function Bl(e,t){let n=new Map([[`--spacing`,e.spacing.DEFAULT]]),r=e=>e.replace(wn,`1`);function i(e,t){for(let a in e)Array.isArray(e[a])?n.set(`--${t}-${a}`,r(e[a].join(`,`))):typeof e[a]==`object`?i(e[a],`${t}-${a}`):n.set(`--${t}-${a}`,r(e[a]))}for(let n in e)t.includes(n)&&i(e[n],n);return n}function Vl(e){let 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(e){let{theme:n,generator:r}=e,i=p(r.config.safelist.flatMap(t=>typeof t==`function`?t(e):t)),{mode:a,process:o}=t;if(a===!1)return;if(i.length>0)for(let e of i){let[t,...r]=e.trim().split(`:`);if(t in n&&r.length<=1){let e=r.length===0?[`DEFAULT`]:r[0].split(`-`),i=Ai(n,t,e);typeof i==`string`&&(z(t,e),Hi(i,n))}}let s,c=t=>{if(o)for(let n of t)for(let t of f(o))t(n,e);let n=t.map(([e,t])=>e&&t?`${y(e)}: ${t};`:void 0).filter(Boolean);if(n.length!==0)return Bi(`
|
|
411
|
+
:root, :host {
|
|
412
|
+
${n.join(`
|
|
413
|
+
`)}
|
|
414
|
+
}`,r.config.envMode===`dev`)};if(a===`on-demand`){if(Vi.size===0)return;s=Array.from(Vi).map(e=>{let[t,r]=e.split(`:`),i=Ai(n,t,r.split(`-`));if(typeof i==`string`)return[`--${t}${`${t===`spacing`&&r===`DEFAULT`?``:`-${r}`}`}`,i]}).filter(Boolean)}else{let e=Object.keys(n).filter(e=>!zl.includes(e));s=Array.from(Bl(n,e))}return c(s)}}}var Hl=e=>[Rl(e),Vl(e),Il(e)].filter(Boolean),Ul={position:[`relative`,`absolute`,`fixed`,`sticky`,`static`],globalKeyword:j},Wl=Le((e={})=>(e.dark=e.dark??`class`,e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??`un-`,e.important=e.important??!1,{name:Hr,rules:rc,shortcuts:ic,theme:Oc,layers:{properties:-200,theme:-150,base:-100},preflights:Hl(e),variants:Tl(e),prefix:e.prefix,postprocess:zr(e),extractorDefault:e.arbitraryVariants===!1?void 0:Fl(),autocomplete:{shorthands:Ul},options:e,configResolved(){Vi.clear(),Ui.clear()},meta:{themeDeps:Vi,propertyDeps:Ui}}));function Gl(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function Kl(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ql(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}var Jl=[`Webkit`,`Moz`,`ms`];function Yl(e){let t={};function n(n){let r=t[n];if(r)return r;let i=Gl(n);if(i!==`filter`&&i in e)return t[n]=ql(i);i=Kl(i);for(let r=0;r<Jl.length;r++){let a=`${Jl[r]}${i}`;if(a in e)return t[n]=ql(Kl(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function Xl(e){return e.replace(/&/g,`&`).replace(/>/g,`>`).replace(/</g,`<`)}async function Zl(e={}){if(typeof window>`u`){console.warn(`@unocss/runtime been used in non-browser environment, skipped.`);return}let t=window,n=window.document,r=()=>n.documentElement,i=t.__unocss||{},a=Object.assign({},e,i.runtime),o=a.defaults||{},s=a.cloakAttribute??`un-cloak`;a.autoPrefix&&(o.postprocess=f(o.postprocess)).unshift(Yl(n.createElement(`div`).style)),a.configResolved?.(i,o);let c=await Be(i,o),l=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},u=()=>a.rootElement?a.rootElement():n.body,d=new Map,p=!0,m=new Set,g,_,v=[],y=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>te().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function b(e,t=!1){if(e.nodeType!==1)return;let n=e;n.hasAttribute(s)&&n.removeAttribute(s),t&&n.querySelectorAll(`[${s}]`).forEach(e=>{e.removeAttribute(s)})}function ee(e,t){let r=d.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),d.set(e,r),t==null)l(r);else{let e=ee(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):l(r)}return r}async function te(){let e=[...m],t=await c.generate(e);return t.layers.reduce((e,n)=>(ee(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>m.delete(e)),{...t,getStyleElement:e=>d.get(e),getStyleElements:()=>d}}async function x(e){let t=m.size;await c.applyExtractors(e,void 0,m),t!==m.size&&await y()}async function ne(e=u()){let t=e&&e.outerHTML;t&&(await x(`${t} ${Xl(t)}`),b(r()),b(e,!0))}let re=new MutationObserver(e=>{p||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of d)if(t===e[1])return;if(e.type===`childList`)e.addedNodes.forEach(async e=>{if(e.nodeType!==1)return;let t=e;g&&!g(t)||(await x(t.outerHTML),b(t))});else{if(g&&!g(t))return;if(e.attributeName!==s){let e=Array.from(t.attributes).map(e=>e.value?`${e.name}="${e.value}"`:e.name).join(` `);await x(`<${t.tagName.toLowerCase()} ${e}>`)}b(t)}})}),ie=!1;function ae(){if(ie)return;let e=a.observer?.target?a.observer.target():u();e&&(re.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),ie=!0)}function oe(){a.bypassDefined&&Ql(c.blocked),ne(),ae()}function se(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,oe):oe()}let ce=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(e){h(e)||(e.forEach(e=>m.add(e)),e=``),await x(e)},extractAll:ne,inspect(e){g=e},toggleObserver(e){p=e===void 0?!p:!!e,!ie&&!p&&se()},update:te,presets:t.__unocss_runtime?.presets??{}};a.ready?.(ce)!==!1&&(p=!1,se())}function Ql(e=new Set){for(let t=0;t<document.styleSheets.length;t++){let n=document.styleSheets[t],r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(e=>e.selectorText?.split(/,/g)||[]).forEach(t=>{t&&(t=t.trim(),t.startsWith(`.`)&&(t=t.slice(1)),e.add(t))})}catch{continue}}return e}var $l=0;function H(e){return e>=48&&e<=57}function eu(e){return H(e)||e>=65&&e<=70||e>=97&&e<=102}function tu(e){return e>=65&&e<=90}function nu(e){return e>=97&&e<=122}function ru(e){return tu(e)||nu(e)}function iu(e){return e>=128}function au(e){return ru(e)||iu(e)||e===95}function ou(e){return au(e)||H(e)||e===45}function su(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function cu(e){return e===10||e===13||e===12}function lu(e){return cu(e)||e===32||e===9}function uu(e,t){return!(e!==92||cu(t)||t===$l)}function du(e,t,n){return e===45?au(t)||t===45||uu(t,n):au(e)?!0:e===92?uu(e,t):!1}function fu(e,t,n){return e===43||e===45?H(t)?2:t===46&&H(n)?3:0:e===46?H(t)?2:0:H(e)?1:0}function pu(e){return e===65279||e===65534?1:0}var mu=Array(128);for(let e=0;e<mu.length;e++)mu[e]=lu(e)&&130||H(e)&&131||au(e)&&132||su(e)&&133||e||128;function hu(e){return e<128?mu[e]:132}function gu(e,t){return t<e.length?e.charCodeAt(t):0}function _u(e,t,n){return n===13&&gu(e,t+1)===10?2:1}function vu(e,t,n){let r=e.charCodeAt(t);return tu(r)&&(r|=32),r===n}function yu(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let i=t;i<n;i++){let n=r.charCodeAt(i-t),a=e.charCodeAt(i);if(tu(a)&&(a|=32),a!==n)return!1}return!0}function bu(e,t){for(;t>=0&&lu(e.charCodeAt(t));t--);return t+1}function xu(e,t){for(;t<e.length&&lu(e.charCodeAt(t));t++);return t}function Su(e,t){for(;t<e.length&&H(e.charCodeAt(t));t++);return t}function Cu(e,t){if(t+=2,eu(gu(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&eu(gu(e,t));t++);let n=gu(e,t);lu(n)&&(t+=_u(e,t,n))}return t}function wu(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(!ou(n)){if(uu(n,gu(e,t+1))){t=Cu(e,t)-1;continue}break}}return t}function Tu(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),H(n)&&(t=Su(e,t+1),n=e.charCodeAt(t)),n===46&&H(e.charCodeAt(t+1))&&(t+=2,t=Su(e,t)),vu(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),H(n)&&(t=Su(e,t+1+r+1))}return t}function Eu(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(n===41){t++;break}uu(n,gu(e,t+1))&&(t=Cu(e,t))}return t}function Du(e){if(e.length===1&&!eu(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)}var Ou=`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`.split(`.`),ku=16*1024;function Au(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,ku)):e}var ju=10,Mu=12,Nu=13;function Pu(e){let t=e.source,n=t.length,r=t.length>0?pu(t.charCodeAt(0)):0,i=Au(e.lines,n),a=Au(e.columns,n),o=e.startLine,s=e.startColumn;for(let e=r;e<n;e++){let r=t.charCodeAt(e);i[e]=o,a[e]=s++,(r===ju||r===Nu||r===Mu)&&(r===Nu&&e+1<n&&t.charCodeAt(e+1)===ju&&(e++,i[e]=o,a[e]=s),o++,s=1)}i[n]=o,a[n]=s,e.lines=i,e.columns=a,e.computed=!0}var Fu=class{constructor(e,t,n,r){this.setSource(e,t,n,r),this.lines=null,this.columns=null}setSource(e=``,t=0,n=1,r=1){this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}getLocation(e,t){return this.computed||Pu(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,t,n){return this.computed||Pu(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},U=16777215,W=24,Iu=1,Lu=2,Ru=new Uint8Array(32);Ru[2]=22,Ru[21]=22,Ru[19]=20,Ru[23]=24;var G=new Uint8Array(32);G[2]=Iu,G[21]=Iu,G[19]=Iu,G[23]=Iu,G[22]=Lu,G[20]=Lu,G[24]=Lu;function zu(e,t,n){return e<t?t:e>n?n:e}var Bu=class{constructor(e,t){this.setSource(e,t)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e=``,t=()=>{}){e=String(e||``);let n=e.length,r=Au(this.offsetAndType,e.length+1),i=Au(this.balance,e.length+1),a=0,o=-1,s=0,c=e.length;this.offsetAndType=null,this.balance=null,i.fill(0),t(e,(e,t,n)=>{let l=a++;if(r[l]=e<<W|n,o===-1&&(o=t),i[l]=c,e===s){let e=i[c];i[c]=l,c=e,s=Ru[r[e]>>W]}else this.isBlockOpenerTokenType(e)&&(c=l,s=Ru[e])}),r[a]=0<<W|n,i[a]=a;for(let e=0;e<a;e++){let t=i[e];if(t<=e){let n=i[t];n!==e&&(i[e]=n)}else t>a&&(i[e]=a)}this.source=e,this.firstCharOffset=o===-1?0:o,this.tokenCount=a,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>W:0}lookupTypeNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>W;if(n!==13&&n!==25&&e--===0)return n}return 0}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&U:this.source.length}lookupOffsetNonSC(e){for(let t=this.tokenIndex;t<this.tokenCount;t++){let n=this.offsetAndType[t]>>W;if(n!==13&&n!==25&&e--===0)return t-this.tokenIndex}return 0}lookupValue(e,t){return e+=this.tokenIndex,e<this.tokenCount?yu(this.source,this.offsetAndType[e-1]&U,this.offsetAndType[e]&U,t):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&U:this.offsetAndType[this.tokenCount]&U:this.firstCharOffset}getTokenEnd(e){return e===this.tokenIndex?this.tokenEnd:this.offsetAndType[zu(e,0,this.tokenCount)]&U}getTokenType(e){return e===this.tokenIndex?this.tokenType:this.offsetAndType[zu(e,0,this.tokenCount)]>>W}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBlockOpenerTokenType(e){return G[e]===Iu}isBlockCloserTokenType(e){return G[e]===Lu}getBlockTokenPairIndex(e){let t=this.getTokenType(e);if(G[t]===1){let n=this.balance[e],r=this.getTokenType(n);return Ru[t]===r?n:-1}else if(G[t]===2){let n=this.balance[e];return Ru[this.getTokenType(n)]===t?n:-1}return-1}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,t){return t?this.lookupType(t)===9&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&U,t=this.offsetAndType[t],this.tokenType=t>>W,this.tokenEnd=t&U):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>W,this.tokenEnd=e&U):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(e,t){let n=e,r=0,i=0;loop:for(;n<this.tokenCount;n++){if(r=this.balance[n],r<e)break loop;switch(i=n>0?this.offsetAndType[n-1]&U:this.firstCharOffset,t(this.source.charCodeAt(i))){case 1:break loop;case 2:n++;break loop;default:this.isBlockOpenerTokenType(this.offsetAndType[n]>>W)&&(n=r)}}this.skip(n-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t<this.tokenCount;t++){let r=n,i=this.offsetAndType[t],a=i&U,o=i>>W;n=a,e(o,r,a,t)}}dump(){let e=Array(this.tokenCount);return this.forEachToken((t,n,r,i)=>{e[i]={idx:i,type:Ou[t],chunk:this.source.substring(n,r),balance:this.balance[i]}}),e}};function Vu(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){if(l=Tu(e,l),du(n(l),n(l+1),n(l+2))){u=12,l=wu(e,l);return}if(n(l)===37){u=11,l++;return}u=10}function i(){let t=l;if(l=wu(e,l),yu(e,t,l,`url`)&&n(l)===40){if(l=xu(e,l+1),n(l)===34||n(l)===39){u=2,l=t+4;return}o();return}if(n(l)===40){u=2,l++;return}u=1}function a(t){for(t||=n(l++),u=5;l<e.length;l++){let r=e.charCodeAt(l);switch(hu(r)){case t:l++;return;case 130:if(cu(r)){l+=_u(e,l,r),u=6;return}break;case 92:if(l===e.length-1)break;let i=n(l+1);cu(i)?l+=_u(e,l+1,i):uu(r,i)&&(l=Cu(e,l)-1);break}}}function o(){for(u=7,l=xu(e,l);l<e.length;l++){let t=e.charCodeAt(l);switch(hu(t)){case 41:l++;return;case 130:if(l=xu(e,l),n(l)===41||l>=e.length){l<e.length&&l++;return}l=Eu(e,l),u=8;return;case 34:case 39:case 40:case 133:l=Eu(e,l),u=8;return;case 92:if(uu(t,n(l+1))){l=Cu(e,l)-1;break}l=Eu(e,l),u=8;return}}}e=String(e||``);let s=e.length,c=pu(n(0)),l=c,u;for(;l<s;){let o=e.charCodeAt(l);switch(hu(o)){case 130:u=13,l=xu(e,l+1);break;case 34:a();break;case 35:ou(n(l+1))||uu(n(l+1),n(l+2))?(u=4,l=wu(e,l+1)):(u=9,l++);break;case 39:a();break;case 40:u=21,l++;break;case 41:u=22,l++;break;case 43:fu(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 44:u=18,l++;break;case 45:fu(o,n(l+1),n(l+2))?r():n(l+1)===45&&n(l+2)===62?(u=15,l+=3):du(o,n(l+1),n(l+2))?i():(u=9,l++);break;case 46:fu(o,n(l+1),n(l+2))?r():(u=9,l++);break;case 47:n(l+1)===42?(u=25,l=e.indexOf(`*/`,l+2),l=l===-1?e.length:l+2):(u=9,l++);break;case 58:u=16,l++;break;case 59:u=17,l++;break;case 60:n(l+1)===33&&n(l+2)===45&&n(l+3)===45?(u=14,l+=4):(u=9,l++);break;case 64:du(n(l+1),n(l+2),n(l+3))?(u=3,l=wu(e,l+1)):(u=9,l++);break;case 91:u=19,l++;break;case 92:uu(o,n(l+1))?i():(u=9,l++);break;case 93:u=20,l++;break;case 123:u=23,l++;break;case 125:u=24,l++;break;case 131:r();break;case 132:i();break;default:u=9,l++}t(u,c,c=l)}}var Hu=null,Uu=class e{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(e,t){let n;return Hu===null?n={prev:e,next:t,cursor:this.cursor}:(n=Hu,Hu=Hu.cursor,n.prev=e,n.next=t,n.cursor=this.cursor),this.cursor=n,n}releaseCursor(){let{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Hu,Hu=e}updateCursors(e,t,n,r){let{cursor:i}=this;for(;i!==null;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let t=this.head;t!==null;t=t.next)e++;return e}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){let t=e.createItem(r);n===null?this.head=t:n.next=t,t.prev=n,n=t}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,t=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}forEachRight(e,t=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}reduce(e,t,n=this){let r=this.allocateCursor(null,this.head),i=t,a;for(;r.next!==null;)a=r.next,r.next=a.next,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}reduceRight(e,t,n=this){let r=this.allocateCursor(this.tail,null),i=t,a;for(;r.prev!==null;)a=r.prev,r.prev=a.prev,i=e.call(n,i,a.data,a,this);return this.releaseCursor(),i}some(e,t=this){for(let n=this.head;n!==null;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}map(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)r.appendData(t.call(n,e.data,e,this));return r}filter(t,n=this){let r=new e;for(let e=this.head;e!==null;e=e.next)t.call(n,e.data,e,this)&&r.appendData(e.data);return r}nextUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(null,e);for(;r.next!==null;){let e=r.next;if(r.next=e.next,t.call(n,e.data,e,this))break}this.releaseCursor()}prevUntil(e,t,n=this){if(e===null)return;let r=this.allocateCursor(e,null);for(;r.prev!==null;){let e=r.prev;if(r.prev=e.prev,t.call(n,e.data,e,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let e of this)t.appendData(e);return t}prepend(e){return this.updateCursors(null,e,this.head,e),this.head===null?this.tail=e:(this.head.prev=e,e.next=this.head),this.head=e,this}prependData(t){return this.prepend(e.createItem(t))}append(e){return this.insert(e)}appendData(t){return this.insert(e.createItem(t))}insert(e,t=null){if(t!==null)if(this.updateCursors(t.prev,e,t,e),t.prev===null){if(this.head!==t)throw Error(`before doesn't belong to list`);this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),this.tail===null?this.head=e:(this.tail.next=e,e.prev=this.tail),this.tail=e;return this}insertData(t,n){return this.insert(e.createItem(t),n)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw Error(`item doesn't belong to list`);this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw Error(`item doesn't belong to list`);this.tail=e.prev}return e.prev=null,e.next=null,e}push(t){this.insert(e.createItem(t))}pop(){return this.tail===null?null:this.remove(this.tail)}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head===null?null:this.remove(this.head)}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,t){return e.head===null?this:(t==null?(this.updateCursors(this.tail,e.tail,null,e.head),this.tail===null?this.head=e.head:(this.tail.next=e.head,e.head.prev=this.tail),this.tail=e.tail):(this.updateCursors(t.prev,e.tail,t,e.head),t.prev===null?this.head=e.head:(t.prev.next=e.head,e.head.prev=t.prev),t.prev=e.tail,e.tail.next=t),e.head=null,e.tail=null,this)}replace(e,t){`head`in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}};function Wu(e,t){let n=Object.create(SyntaxError.prototype),r=Error();return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||``).replace(/^(.+\n){1,3}/,`${e}: ${t}\n`)}})}var Gu=100,Ku=60,qu=` `;function Ju({source:e,line:t,column:n,baseLine:r,baseColumn:i},a){function o(e,t){return s.slice(e,t).map((t,n)=>String(e+n+1).padStart(u)+` |`+t).join(`
|
|
415
|
+
`)}let s=(`
|
|
416
|
+
`.repeat(Math.max(r-1,0))+` `.repeat(Math.max(i-1,0))+e).split(/\r\n?|\n|\f/),c=Math.max(1,t-a)-1,l=Math.min(t+a,s.length+1),u=Math.max(4,String(l).length)+1,d=0;n+=3*(s[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Gu&&(d=n-Ku+3,n=Ku-2);for(let e=c;e<=l;e++)e>=0&&e<s.length&&(s[e]=s[e].replace(/\t/g,qu),s[e]=(d>0&&s[e].length>d?`…`:``)+s[e].substr(d,Gu-2)+(s[e].length>d+Gu-1?`…`:``));return[o(c,t),Array(n+u+2).join(`-`)+`^`,o(t,l)].filter(Boolean).join(`
|
|
417
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,``).replace(/\n(\s+\d+\s+\|)+$/,``)}function Yu(e,t,n,r,i,a=1,o=1){return Object.assign(Wu(`SyntaxError`,e),{source:t,offset:n,line:r,column:i,sourceFragment(e){return Ju({source:t,line:r,column:i,baseLine:a,baseColumn:o},isNaN(e)?0:e)},get formattedMessage(){return`Parse error: ${e}\n`+Ju({source:t,line:r,column:i,baseLine:a,baseColumn:o},2)}})}function Xu(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let i=e.getNode.call(this,r);if(i===void 0)break;n&&=(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var Zu=()=>{},Qu=33,$u=35,ed=59,td=123,nd=0,rd={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},id={createList(){return new Uu},createSingleNodeList(e){return new Uu().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function ad(e){return function(){return this[e]()}}function od(e){let t=Object.create(null);for(let n of Object.keys(e)){let r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function sd(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:od(e.atrule),pseudo:od(e.pseudo),node:od(e.node)};for(let[n,r]of Object.entries(e.parseContext))switch(typeof r){case`function`:t.context[n]=r;break;case`string`:t.context[n]=ad(r);break}return{config:t,...t,...t.node}}function cd(e){let t=``,n=`<unknown>`,r=!1,i=Zu,a=!1,o=new Fu,s=Object.assign(new Bu,sd(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Xu,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(e){return e===td?1:0},consumeUntilLeftCurlyBracketOrSemicolon(e){return e===td||e===ed?1:0},consumeUntilExclamationMarkOrSemicolon(e){return e===Qu||e===ed?1:0},consumeUntilSemicolonIncluded(e){return e===ed?2:0},createList:Zu,createSingleNodeList:Zu,getFirstListNode:Zu,getLastListNode:Zu,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(a)throw e;this.skip(n-this.tokenIndex);let r=t.call(this);return a=!0,i(e,r),a=!1,r}},lookupNonWSType(e){let t;do if(t=this.lookupType(e++),t!==13&&t!==25)return t;while(t!==nd);return nd},charCodeAt(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring(e,n){return t.substring(e,n)},substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar(e,n){return vu(t,e,n)},cmpStr(e,n,r){return yu(t,e,n,r)},consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let n=t.substring(this.tokenStart,Tu(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Ou[e].slice(0,-6).replace(/-/g,` `).replace(/^./,e=>e.toUpperCase()),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:this.tokenType===2||this.tokenType===7?(r=this.tokenEnd-1,n=`Identifier is expected but function found`):n=`Identifier is expected`;break;case 4:this.isDelim($u)&&(this.next(),r++,n=`Name is expected`);break;case 11:this.tokenType===10&&(r=this.tokenEnd,n=`Percent sign is expected`);break}this.error(n,r)}this.next()},eatIdent(e){(this.tokenType!==1||this.lookupValue(0,e)===!1)&&this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation(e,t){return r?o.getLocationRange(e,t,n):null},getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return o.getLocationRange(t===null?this.tokenStart:t.loc.start.offset-o.startOffset,r===null?this.tokenStart:r.loc.end.offset-o.startOffset,n)}return null},error(e,n){let r=n!==void 0&&n<t.length?o.getLocation(n):this.eof?o.getLocation(bu(t,t.length-1)):o.getLocation(this.tokenStart);throw new Yu(e||`Unexpected input`,t,r.offset,r.line,r.column,o.startLine,o.startColumn)}}),c=()=>({filename:n,source:t,tokenCount:s.tokenCount,getTokenType:e=>s.getTokenType(e),getTokenTypeName:e=>Ou[s.getTokenType(e)],getTokenStart:e=>s.getTokenStart(e),getTokenEnd:e=>s.getTokenEnd(e),getTokenValue:e=>s.source.substring(s.getTokenStart(e),s.getTokenEnd(e)),substring:(e,t)=>s.source.substring(e,t),balance:s.balance.subarray(0,s.tokenCount+1),isBlockOpenerTokenType:s.isBlockOpenerTokenType,isBlockCloserTokenType:s.isBlockCloserTokenType,getBlockTokenPairIndex:e=>s.getBlockTokenPairIndex(e),getLocation:e=>o.getLocation(e,n),getRangeLocation:(e,t)=>o.getLocationRange(e,t,n)});return Object.assign(function(e,l){t=e,l||={},s.setSource(t,Vu),o.setSource(t,l.offset,l.line,l.column),n=l.filename||`<unknown>`,r=!!l.positions,i=typeof l.onParseError==`function`?l.onParseError:Zu,a=!1,s.parseAtrulePrelude=`parseAtrulePrelude`in l?!!l.parseAtrulePrelude:!0,s.parseRulePrelude=`parseRulePrelude`in l?!!l.parseRulePrelude:!0,s.parseValue=`parseValue`in l?!!l.parseValue:!0,s.parseCustomProperty=`parseCustomProperty`in l?!!l.parseCustomProperty:!1;let{context:u=`default`,list:d=!0,onComment:f,onToken:p}=l;if(!(u in s.context))throw Error("Unknown context `"+u+"`");Object.assign(s,d?id:rd),Array.isArray(p)?s.forEachToken((e,t,n)=>{p.push({type:e,start:t,end:n})}):typeof p==`function`&&s.forEachToken(p.bind(c())),typeof f==`function`&&s.forEachToken((e,n,r)=>{if(e===25){let e=s.getLocation(n,r);f(yu(t,r-2,r,`*/`)?t.slice(n+2,r-2):t.slice(n+2,r),e)}});let m=s.context[u].call(s,l);return s.eof||s.error(),m},{SyntaxError:Yu,config:s.config})}var ld=t((e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``);e.encode=function(e){if(0<=e&&e<t.length)return t[e];throw TypeError(`Must be between 0 and 63: `+e)},e.decode=function(e){var t=65,n=90,r=97,i=122,a=48;return t<=e&&e<=n?e-t:r<=e&&e<=i?e-r+26:a<=e&&e<=57?e-a+52:e==43?62:e==47?63:-1}})),ud=t((e=>{var t=ld(),n=5,r=1<<n,i=r-1,a=r;function o(e){return e<0?(-e<<1)+1:(e<<1)+0}function s(e){var t=(e&1)==1,n=e>>1;return t?-n:n}e.encode=function(e){var r=``,s,c=o(e);do s=c&i,c>>>=n,c>0&&(s|=a),r+=t.encode(s);while(c>0);return r},e.decode=function(e,r,o){var c=e.length,l=0,u=0,d,f;do{if(r>=c)throw Error(`Expected more digits in base 64 VLQ value.`);if(f=t.decode(e.charCodeAt(r++)),f===-1)throw Error(`Invalid base64 digit: `+e.charAt(r-1));d=!!(f&a),f&=i,l+=f<<u,u+=n}while(d);o.value=s(l),o.rest=r}})),dd=t((e=>{function t(e,t,n){if(t in e)return e[t];if(arguments.length===3)return n;throw Error(`"`+t+`" is a required argument.`)}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}e.urlParse=i;function a(e){var t=``;return e.scheme&&(t+=e.scheme+`:`),t+=`//`,e.auth&&(t+=e.auth+`@`),e.host&&(t+=e.host),e.port&&(t+=`:`+e.port),e.path&&(t+=e.path),t}e.urlGenerate=a;var o=32;function s(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var a=e(n);return t.unshift({input:n,result:a}),t.length>o&&t.pop(),a}}var c=s(function(t){var n=t,r=i(t);if(r){if(!r.path)return t;n=r.path}for(var o=e.isAbsolute(n),s=[],c=0,l=0;;)if(c=l,l=n.indexOf(`/`,c),l===-1){s.push(n.slice(c));break}else for(s.push(n.slice(c,l));l<n.length&&n[l]===`/`;)l++;for(var u,d=0,l=s.length-1;l>=0;l--)u=s[l],u===`.`?s.splice(l,1):u===`..`?d++:d>0&&(u===``?(s.splice(l+1,d),d=0):(s.splice(l,2),d--));return n=s.join(`/`),n===``&&(n=o?`/`:`.`),r?(r.path=n,a(r)):n});e.normalize=c;function l(e,t){e===``&&(e=`.`),t===``&&(t=`.`);var n=i(t),o=i(e);if(o&&(e=o.path||`/`),n&&!n.scheme)return o&&(n.scheme=o.scheme),a(n);if(n||t.match(r))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var s=t.charAt(0)===`/`?t:c(e.replace(/\/+$/,``)+`/`+t);return o?(o.path=s,a(o)):s}e.join=l,e.isAbsolute=function(e){return e.charAt(0)===`/`||n.test(e)};function u(e,t){e===``&&(e=`.`),e=e.replace(/\/$/,``);for(var n=0;t.indexOf(e+`/`)!==0;){var r=e.lastIndexOf(`/`);if(r<0||(e=e.slice(0,r),e.match(/^([^\/]+:\/)?\/*$/)))return t;++n}return Array(n+1).join(`../`)+t.substr(e.length+1)}e.relative=u;var d=function(){return!(`__proto__`in Object.create(null))}();function f(e){return e}function p(e){return h(e)?`$`+e:e}e.toSetString=d?f:p;function m(e){return h(e)?e.slice(1):e}e.fromSetString=d?f:m;function h(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var n=t-10;n>=0;n--)if(e.charCodeAt(n)!==36)return!1;return!0}function g(e,t,n){var r=b(e.source,t.source);return r!==0||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositions=g;function _(e,t,n){var r=e.originalLine-t.originalLine;return r!==0||(r=e.originalColumn-t.originalColumn,r!==0||n)||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=e.generatedLine-t.generatedLine,r!==0)?r:b(e.name,t.name)}e.compareByOriginalPositionsNoSource=_;function v(e,t,n){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0||n)||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflated=v;function y(e,t,n){var r=e.generatedColumn-t.generatedColumn;return r!==0||n||(r=b(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:b(e.name,t.name)}e.compareByGeneratedPositionsDeflatedNoLine=y;function b(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function ee(e,t){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=b(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:b(e.name,t.name)}e.compareByGeneratedPositionsInflated=ee;function te(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,``))}e.parseSourceMapInput=te;function x(e,t,n){if(t||=``,e&&(e[e.length-1]!==`/`&&t[0]!==`/`&&(e+=`/`),t=e+t),n){var r=i(n);if(!r)throw Error(`sourceMapURL could not be parsed`);if(r.path){var o=r.path.lastIndexOf(`/`);o>=0&&(r.path=r.path.substring(0,o+1))}t=l(a(r),t)}return c(t)}e.computeSourceURL=x})),fd=t((e=>{var t=dd(),n=Object.prototype.hasOwnProperty,r=typeof Map<`u`;function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,a=e.length;r<a;r++)n.add(e[r],t);return n},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,i){var a=r?e:t.toSetString(e),o=r?this.has(e):n.call(this._set,a),s=this._array.length;(!o||i)&&this._array.push(e),o||(r?this._set.set(e,s):this._set[a]=s)},i.prototype.has=function(e){if(r)return this._set.has(e);var i=t.toSetString(e);return n.call(this._set,i)},i.prototype.indexOf=function(e){if(r){var i=this._set.get(e);if(i>=0)return i}else{var a=t.toSetString(e);if(n.call(this._set,a))return this._set[a]}throw Error(`"`+e+`" is not in the set.`)},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error(`No element indexed by `+e)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i})),pd=t((e=>{var t=dd();function n(e,n){var r=e.generatedLine,i=n.generatedLine,a=e.generatedColumn,o=n.generatedColumn;return i>r||i==r&&o>=a||t.compareByGeneratedPositionsInflated(e,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){n(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||=(this._array.sort(t.compareByGeneratedPositionsInflated),!0),this._array},e.MappingList=r})),md=t((e=>{var t=ud(),n=dd(),r=fd().ArraySet,i=pd().MappingList;function a(e){e||={},this._file=n.getArg(e,`file`,null),this._sourceRoot=n.getArg(e,`sourceRoot`,null),this._skipValidation=n.getArg(e,`skipValidation`,!1),this._ignoreInvalidMapping=n.getArg(e,`ignoreInvalidMapping`,!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e,t){var r=e.sourceRoot,i=new a(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(t.source=e.source,r!=null&&(t.source=n.relative(r,t.source)),t.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(t.name=e.name)),i.addMapping(t)}),e.sources.forEach(function(t){var a=t;r!==null&&(a=n.relative(r,t)),i._sources.has(a)||i._sources.add(a);var o=e.sourceContentFor(t);o!=null&&i.setSourceContent(t,o)}),i},a.prototype.addMapping=function(e){var t=n.getArg(e,`generated`),r=n.getArg(e,`original`,null),i=n.getArg(e,`source`,null),a=n.getArg(e,`name`,null);!this._skipValidation&&this._validateMapping(t,r,i,a)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:a}))},a.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=n.relative(this._sourceRoot,r)),t==null?this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null)):(this._sourcesContents||=Object.create(null),this._sourcesContents[n.toSetString(r)]=t)},a.prototype.applySourceMap=function(e,t,i){var a=t;if(t==null){if(e.file==null)throw Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);a=e.file}var o=this._sourceRoot;o!=null&&(a=n.relative(o,a));var s=new r,c=new r;this._mappings.unsortedForEach(function(t){if(t.source===a&&t.originalLine!=null){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});r.source!=null&&(t.source=r.source,i!=null&&(t.source=n.join(i,t.source)),o!=null&&(t.source=n.relative(o,t.source)),t.originalLine=r.line,t.originalColumn=r.column,r.name!=null&&(t.name=r.name))}var l=t.source;l!=null&&!s.has(l)&&s.add(l);var u=t.name;u!=null&&!c.has(u)&&c.add(u)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r!=null&&(i!=null&&(t=n.join(i,t)),o!=null&&(t=n.relative(o,t)),this.setSourceContent(t,r))},this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&typeof t.line!=`number`&&typeof t.column!=`number`){var i=`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(i),!1;throw Error(i)}if(!(e&&`line`in e&&`column`in e&&e.line>0&&e.column>=0&&!t&&!n&&!r)&&!(e&&`line`in e&&`column`in e&&t&&`line`in t&&`column`in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n)){var i=`Invalid mapping: `+JSON.stringify({generated:e,source:n,original:t,name:r});if(this._ignoreInvalidMapping)return typeof console<`u`&&console.warn&&console.warn(i),!1;throw Error(i)}},a.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,a=0,o=0,s=0,c=``,l,u,d,f,p=this._mappings.toArray(),m=0,h=p.length;m<h;m++){if(u=p[m],l=``,u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=`;`,r++;else if(m>0){if(!n.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=`,`}l+=t.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(f=this._sources.indexOf(u.source),l+=t.encode(f-s),s=f,l+=t.encode(u.originalLine-1-a),a=u.originalLine-1,l+=t.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(d=this._names.indexOf(u.name),l+=t.encode(d-o),o=d)),c+=l}return c},a.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t!=null&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=a}))(),hd=new Set([`Atrule`,`Selector`,`Declaration`]);function gd(e){let t=new md.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},a={generated:i},o=1,s=0,c=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&hd.has(e.type)){let l=e.loc.start.line,u=e.loc.start.column-1;(r.line!==l||r.column!==u)&&(r.line=l,r.column=u,n.line=o,n.column=s,c&&(c=!1,(n.line!==i.line||n.column!==i.column)&&t.addMapping(a)),c=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),c&&hd.has(e.type)&&(i.line=o,i.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;t<e.length;t++)e.charCodeAt(t)===10?(o++,s=0):s++;u(e,t,n)};let d=e.result;return e.result=function(){return c&&t.addMapping(a),{css:d(),map:t}},e}var _d=e({safe:()=>Td,spec:()=>wd}),vd=43,yd=45,bd=(e,t)=>(e===9&&(e=t),typeof e==`string`&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),xd=[[1,1],[1,2],[1,7],[1,8],[1,`-`],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,`-`],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,`-`],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,`-`],[12,10],[12,11],[12,12],[12,15],[`#`,1],[`#`,2],[`#`,7],[`#`,8],[`#`,`-`],[`#`,10],[`#`,11],[`#`,12],[`#`,15],[`-`,1],[`-`,2],[`-`,7],[`-`,8],[`-`,`-`],[`-`,10],[`-`,11],[`-`,12],[`-`,15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,`%`],[10,15],[`@`,1],[`@`,2],[`@`,7],[`@`,8],[`@`,`-`],[`@`,15],[`.`,10],[`.`,11],[`.`,12],[`+`,10],[`+`,11],[`+`,12],[`/`,`*`]],Sd=xd.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,`-`],[22,1],[22,2],[22,11],[22,12],[22,4],[22,`-`]]);function Cd(e){let t=new Set(e.map(([e,t])=>bd(e)<<16|bd(t)));return function(e,n,r){let i=bd(n,r),a=r.charCodeAt(0);return i|(a===yd&&n!==1&&n!==2&&n!==15||a===vd?t.has((e&65534)<<16|a<<7):t.has((e&65534)<<16|i))}}var wd=Cd(xd),Td=Cd(Sd),Ed=92;function Dd(e,t){if(typeof t==`function`){let n=null;e.children.forEach(e=>{n!==null&&t.call(this,n),this.node(e),n=e});return}e.children.forEach(this.node,this)}function Od(e){let 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(e,n){let r=``,i=0,a={node(e){if(t.has(e.type))t.get(e.type).call(o,e);else throw Error(`Unknown node type: `+e.type)},tokenBefore:Td,token(e,t,n){i=this.tokenBefore(i,e,t),!n&&i&1&&this.emit(` `,13,!0),this.emit(t,e,!1),e===9&&t.charCodeAt(0)===Ed&&this.emit(`
|
|
418
|
+
`,13,!0)},emit(e){r+=e},result(){return r}};n&&(typeof n.decorator==`function`&&(a=n.decorator(a)),n.sourceMap&&(a=gd(a)),n.mode in _d&&(a.tokenBefore=_d[n.mode]));let o={node:e=>a.node(e),children:Dd,token:(e,t)=>a.token(e,t),tokenize:e=>Vu(e,(t,n,r)=>{a.token(t,e.slice(n,r),n!==0)})};return a.node(e),a.result()}}function kd(e){return{fromPlainObject(t){return e(t,{enter(e){e.children&&!(e.children instanceof Uu)&&(e.children=new Uu().fromArray(e.children))}}),t},toPlainObject(t){return e(t,{leave(e){e.children&&e.children instanceof Uu&&(e.children=e.children.toArray())}}),t}}}var{hasOwnProperty:Ad}=Object.prototype,jd=function(){};function Md(e){return typeof e==`function`?e:jd}function Nd(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function Pd(e,t){let n=t.structure,r=[];for(let e in n){if(Ad.call(n,e)===!1)continue;let t=n[e],i={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)e===null?i.nullable=!0:typeof e==`string`?i.type=`node`:Array.isArray(e)&&(i.type=`list`);i.type&&r.push(i)}return r.length?{context:t.walkContext,fields:r}:null}function Fd(e){let t={};for(let n in e.node)if(Ad.call(e.node,n)){let r=e.node[n];if(!r.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Pd(n,r)}return t}function Id(e,t){let n=e.fields.slice(),r=e.context,i=typeof r==`string`;return t&&n.reverse(),function(e,a,o,s){let c;i&&(c=a[r],a[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n){if(r.type===`list`){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(o(n))return!0}}i&&(a[r]=c)}}function Ld({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:i}}}function Rd(e){let t=Fd(e),n={},r={},i=Symbol(`break-walk`),a=Symbol(`skip-node`);for(let e in t)Ad.call(t,e)&&t[e]!==null&&(n[e]=Id(t[e],!1),r[e]=Id(t[e],!0));let o=Ld(n),s=Ld(r),c=function(e,c){function l(e,t,n){let r=u.call(m,e,t,n);return r===i?!0:r===a?!1:!!(f.hasOwnProperty(e.type)&&f[e.type](e,m,l,p)||d.call(m,e,t,n)===i)}let u=jd,d=jd,f=n,p=(e,t,n,r)=>e||l(t,n,r),m={break:i,skip:a,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof c==`function`)u=c;else if(c&&(u=Md(c.enter),d=Md(c.leave),c.reverse&&(f=r),c.visit)){if(o.hasOwnProperty(c.visit))f=c.reverse?s[c.visit]:o[c.visit];else if(!t.hasOwnProperty(c.visit))throw Error("Bad value `"+c.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(`, `)+`)`);u=Nd(u,c.visit),d=Nd(d,c.visit)}if(u===jd&&d===jd)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return c.break=i,c.skip=a,c.find=function(e,t){let n=null;return c(e,function(e,r,a){if(t.call(this,e,r,a))return n=e,i}),n},c.findLast=function(e,t){let n=null;return c(e,{reverse:!0,enter(e,r,a){if(t.call(this,e,r,a))return n=e,i}}),n},c.findAll=function(e,t){let n=[];return c(e,function(e,r,i){t.call(this,e,r,i)&&n.push(e)}),n},c}function zd(e){return e}function Bd(e){let{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 Vd(e){switch(e.type){case`Range`:return` [`+(e.min===null?`-∞`:e.min)+`,`+(e.max===null?`∞`:e.max)+`]`;default:throw Error("Unknown node type `"+e.type+"`")}}function Hd(e,t,n,r){let i=e.combinator===` `||r?e.combinator:` `+e.combinator+` `,a=e.terms.map(e=>Ud(e,t,n,r)).join(i);return e.explicit||n?(r||a[0]===`,`?`[`:`[ `)+a+(r?`]`:` ]`):a}function Ud(e,t,n,r){let i;switch(e.type){case`Group`:i=Hd(e,t,n,r)+(e.disallowEmpty?`!`:``);break;case`Multiplier`:return Ud(e.term,t,n,r)+t(Bd(e),e);case`Boolean`:i=`<boolean-expr[`+Ud(e.term,t,n,r)+`]>`;break;case`Type`:i=`<`+e.name+(e.opts?t(Vd(e.opts),e.opts):``)+`>`;break;case`Property`:i=`<'`+e.name+`'>`;break;case`Keyword`:i=e.name;break;case`AtKeyword`:i=`@`+e.name;break;case`Function`:i=e.name+`(`;break;case`String`:case`Token`:i=e.value;break;case`Comma`:i=`,`;break;default:throw Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Wd(e,t){let n=zd,r=!1,i=!1;return typeof t==`function`?n=t:t&&(r=!!t.forceBraces,i=!!t.compact,typeof t.decorate==`function`&&(n=t.decorate)),Ud(e,n,r,i)}var Gd={offset:0,line:1,column:1};function Kd(e,t){let n=e.tokens,r=e.longestMatch,i=r<n.length&&n[r].node||null,a=i===t?null:i,o=0,s=0,c=0,l=``,u,d;for(let e=0;e<n.length;e++){let t=n[e].value;e===r&&(s=t.length,o=l.length),a!==null&&n[e].node===a&&(e<=r?c++:c=0),l+=t}return r===n.length||c>1?(u=qd(a||t,`end`)||Jd(Gd,l),d=Jd(u)):(u=qd(a,`start`)||Jd(qd(t,`start`)||Gd,l.slice(0,o)),d=qd(a,`end`)||Jd(u,l.substr(o,s))),{css:l,mismatchOffset:o,mismatchLength:s,start:u,end:d}}function qd(e,t){let n=e&&e.loc&&e.loc[t];return n?`line`in n?Jd(n):n:null}function Jd({offset:e,line:t,column:n},r){let i={offset:e,line:t,column:n};if(r){let e=r.split(/\n|\r\n?|\f/);i.offset+=r.length,i.line+=e.length-1,i.column=e.length===1?i.column+r.length:e.pop().length+1}return i}var Yd=function(e,t){let n=Wu(`SyntaxReferenceError`,e+(t?" `"+t+"`":``));return n.reference=t,n},Xd=function(e,t,n,r){let i=Wu(`SyntaxMatchError`,e),{css:a,mismatchOffset:o,mismatchLength:s,start:c,end:l}=Kd(r,n);return i.rawMessage=e,i.syntax=t?Wd(t):`<generic>`,i.css=a,i.mismatchOffset=o,i.mismatchLength=s,i.message=e+`
|
|
419
|
+
syntax: `+i.syntax+`
|
|
420
|
+
value: `+(a||`<empty string>`)+`
|
|
421
|
+
--------`+Array(i.mismatchOffset+1).join(`-`)+`^`,Object.assign(i,c),i.loc={source:n&&n.loc&&n.loc.source||`<unknown>`,start:c,end:l},i},Zd=new Map,Qd=new Map,$d=45,ef=af,tf=of;function nf(e,t){return t||=0,e.length-t>=2&&e.charCodeAt(t)===$d&&e.charCodeAt(t+1)===$d}function rf(e,t){if(t||=0,e.length-t>=3&&e.charCodeAt(t)===$d&&e.charCodeAt(t+1)!==$d){let n=e.indexOf(`-`,t+2);if(n!==-1)return e.substring(t,n+1)}return``}function af(e){if(Zd.has(e))return Zd.get(e);let t=e.toLowerCase(),n=Zd.get(t);if(n===void 0){let e=nf(t,0),r=e?``:rf(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return Zd.set(e,n),n}function of(e){if(Qd.has(e))return Qd.get(e);let t=e,n=e[0];n===`/`?n=e[1]===`/`?`//`:`/`:n!==`_`&&n!==`*`&&n!==`$`&&n!==`#`&&n!==`+`&&n!==`&`&&(n=``);let r=nf(t,n.length);if(!r&&(t=t.toLowerCase(),Qd.has(t))){let n=Qd.get(t);return Qd.set(e,n),n}let i=r?``:rf(t,n.length),a=t.substr(0,n.length+i.length),o=Object.freeze({basename:t.substr(a.length),name:t.substr(n.length),hack:n,vendor:i,prefix:a,custom:r});return Qd.set(e,o),o}var sf=[`initial`,`inherit`,`unset`,`revert`,`revert-layer`],cf=43,lf=45,uf=110,df=!0,ff=!1;function pf(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function mf(e,t,n){for(;e!==null&&(e.type===13||e.type===25);)e=n(++t);return t}function hf(e,t,n,r){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===cf||i===lf){if(n)return 0;t++}for(;t<e.value.length;t++)if(!H(e.value.charCodeAt(t)))return 0;return r+1}function gf(e,t,n){let r=!1,i=mf(e,t,n);if(e=n(i),e===null)return t;if(e.type!==10)if(pf(e,cf)||pf(e,lf)){if(r=!0,i=mf(n(++i),i,n),e=n(i),e===null||e.type!==10)return 0}else return t;if(!r){let t=e.value.charCodeAt(0);if(t!==cf&&t!==lf)return 0}return hf(e,r?0:1,r,i)}function _f(e,t){let n=0;if(!e)return 0;if(e.type===10)return hf(e,0,ff,n);if(e.type===1&&e.value.charCodeAt(0)===lf){if(!vu(e.value,1,uf))return 0;switch(e.value.length){case 2:return gf(t(++n),n,t);case 3:return e.value.charCodeAt(2)===lf?(n=mf(t(++n),n,t),e=t(n),hf(e,0,df,n)):0;default:return e.value.charCodeAt(2)===lf?hf(e,3,df,n):0}}else if(e.type===1||pf(e,cf)&&t(n+1).type===1){if(e.type!==1&&(e=t(++n)),e===null||!vu(e.value,0,uf))return 0;switch(e.value.length){case 1:return gf(t(++n),n,t);case 2:return e.value.charCodeAt(1)===lf?(n=mf(t(++n),n,t),e=t(n),hf(e,0,df,n)):0;default:return e.value.charCodeAt(1)===lf?hf(e,2,df,n):0}}else if(e.type===12){let r=e.value.charCodeAt(0),i=r===cf||r===lf?1:0,a=i;for(;a<e.value.length&&H(e.value.charCodeAt(a));a++);return a===i||!vu(e.value,a,uf)?0:a+1===e.value.length?gf(t(++n),n,t):e.value.charCodeAt(a+1)===lf?a+2===e.value.length?(n=mf(t(++n),n,t),e=t(n),hf(e,0,df,n)):hf(e,a+2,df,n):0}return 0}var vf=43,yf=45,bf=63,xf=117;function Sf(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function Cf(e,t){return e.value.charCodeAt(0)===t}function wf(e,t,n){let r=0;for(let i=t;i<e.value.length;i++){let a=e.value.charCodeAt(i);if(a===yf&&n&&r!==0)return wf(e,t+r+1,!1),6;if(!eu(a)||++r>6)return 0}return r}function Tf(e,t,n){if(!e)return 0;for(;Sf(n(t),bf);){if(++e>6)return 0;t++}return t}function Ef(e,t){let n=0;if(e===null||e.type!==1||!vu(e.value,0,xf)||(e=t(++n),e===null))return 0;if(Sf(e,vf))return e=t(++n),e===null?0:e.type===1?Tf(wf(e,0,!0),++n,t):Sf(e,bf)?Tf(1,++n,t):0;if(e.type===10){let r=wf(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===12||e.type===10?!Cf(e,yf)||!wf(e,1,!1)?0:n+1:Tf(r,n,t))}return e.type===12?Tf(wf(e,1,!0),++n,t):0}var Df=[`calc(`,`-moz-calc(`,`-webkit-calc(`],Of=[`min(`,`max(`,`clamp(`],kf=[`round(`,`mod(`,`rem(`],Af=[`sin(`,`cos(`,`tan(`],jf=[`asin(`,`acos(`,`atan(`,`atan2(`],Mf=[`pow(`,`sqrt(`,`log(`,`exp(`,`sign(`],Nf=[`hypot(`],Pf=[`abs(`],Ff=[...Df,...Of,...kf,...Af,...Mf,...Nf,...Pf],If=[...Df,...Of,...kf,...Nf,...Pf],Lf=[...Df,...Of,...kf,...jf,...Nf,...Pf],Rf=new Map([[2,22],[21,22],[19,20],[23,24]]);function K(e,t){return t<e.length?e.charCodeAt(t):0}function zf(e,t){return yu(e,0,e.length,t)}function Bf(e,t){for(let n=0;n<t.length;n++)if(zf(e,t[n]))return!0;return!1}function Vf(e,t){return t===e.length-2?K(e,t)===92&&H(K(e,t+1)):!1}function Hf(e,t,n){if(e&&e.type===`Range`){let 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 Uf(e,t){let n=0,r=[],i=0;scan:do{switch(e.type){case 24:case 22:case 20:if(e.type!==n)break scan;if(n=r.pop(),r.length===0){i++;break scan}break;case 2:case 21:case 19:case 23:r.push(n),n=Rf.get(e.type);break}i++}while(e=t(i));return i}function q(e,t){return function(n,r,i){return n===null?0:n.type===2&&Bf(n.value,t)?Uf(n,r):e(n,r,i)}}function J(e){return function(t){return t===null||t.type!==e?0:1}}function Wf(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return Bf(t,sf)||zf(t,`default`)?0:1}function Gf(e){return e===null||e.type!==1||K(e.value,0)!==45||K(e.value,1)!==45?0:1}function Kf(e){return!Gf(e)||e.value===`--`?0:1}function qf(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!eu(K(e.value,n)))return 0;return 1}function Jf(e){return e===null||e.type!==4||!du(K(e.value,1),K(e.value,2),K(e.value,3))?0:1}function Yf(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case 6:case 8:break scan;case 24:case 22:case 20:if(e.type!==n)break scan;n=r.pop();break;case 17:if(n===0)break scan;break;case 9:if(n===0&&e.value===`!`)break scan;break;case 2:case 21:case 19:case 23:r.push(n),n=Rf.get(e.type);break}i++}while(e=t(i));return i}function Xf(e,t){if(!e)return 0;let n=0,r=[],i=0;scan:do{switch(e.type){case 6:case 8:break scan;case 24:case 22:case 20:if(e.type!==n)break scan;n=r.pop();break;case 2:case 21:case 19:case 23:r.push(n),n=Rf.get(e.type);break}i++}while(e=t(i));return i}function Zf(e){return e&&=new Set(e),function(t,n,r){if(t===null||t.type!==12)return 0;let i=Tu(t.value,0);if(e!==null){let n=t.value.indexOf(`\\`,i),r=n===-1||!Vf(t.value,n)?t.value.substr(i):t.value.substring(i,n);if(e.has(r.toLowerCase())===!1)return 0}return Hf(r,t.value,i)?0:1}}function Qf(e,t,n){return e===null||e.type!==11||Hf(n,e.value,e.value.length-1)?0:1}function $f(e){return typeof e!=`function`&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,n,r)}}function ep(e,t,n){if(e===null)return 0;let r=Tu(e.value,0);return r!==e.value.length&&!Vf(e.value,r)||Hf(n,e.value,r)?0:1}function tp(e,t,n){if(e===null||e.type!==10)return 0;let r=K(e.value,0)===43||K(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!H(K(e.value,r)))return 0;return Hf(n,e.value,r)?0:1}var np={"ident-token":J(1),"function-token":J(2),"at-keyword-token":J(3),"hash-token":J(4),"string-token":J(5),"bad-string-token":J(6),"url-token":J(7),"bad-url-token":J(8),"delim-token":J(9),"number-token":J(10),"percentage-token":J(11),"dimension-token":J(12),"whitespace-token":J(13),"CDO-token":J(14),"CDC-token":J(15),"colon-token":J(16),"semicolon-token":J(17),"comma-token":J(18),"[-token":J(19),"]-token":J(20),"(-token":J(21),")-token":J(22),"{-token":J(23),"}-token":J(24)},rp={string:J(5),ident:J(1),percentage:q(Qf,If),zero:$f(),number:q(ep,Ff),integer:q(tp,Ff),"custom-ident":Wf,"dashed-ident":Gf,"custom-property-name":Kf,"hex-color":qf,"id-selector":Jf,"an-plus-b":_f,urange:Ef,"declaration-value":Yf,"any-value":Xf},ip=[`length`,`angle`,`time`,`frequency`,`resolution`,`flex`,`decibel`,`semitones`];function ap(e){let{angle:t,decibel:n,frequency:r,flex:i,length:a,resolution:o,semitones:s,time:c}=e||{};return{dimension:q(Zf(null),Lf),angle:q(Zf(t),Lf),decibel:q(Zf(n),Lf),frequency:q(Zf(r),Lf),flex:q(Zf(i),Lf),length:q($f(Zf(a)),Lf),resolution:q(Zf(o),Lf),semitones:q(Zf(s),Lf),time:q(Zf(c),Lf)}}function op(e){let t=new Set;for(let n of ip)if(Array.isArray(e[n]))for(let r of e[n])t.add(r.toLowerCase());return function(e){return e===null?0:e.type===9&&e.value===`%`||e.type===1&&t.has(e.value.toLowerCase())?1:0}}function sp(e){return{...np,...rp,...ap(e),"attr-unit":op(e)}}var cp=e({angle:()=>up,decibel:()=>hp,flex:()=>mp,frequency:()=>fp,length:()=>lp,resolution:()=>pp,semitones:()=>gp,time:()=>dp}),lp=`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`.split(`.`),up=[`deg`,`grad`,`rad`,`turn`],dp=[`s`,`ms`],fp=[`hz`,`khz`],pp=[`dpi`,`dpcm`,`dppx`,`x`],mp=[`fr`],hp=[`db`],gp=[`st`];function _p(e,t,n){return Object.assign(Wu(`SyntaxError`,e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
422
|
+
`+t+`
|
|
423
|
+
--`+Array((n||t.length)+1).join(`-`)+`^`})}var vp=9,yp=10,bp=12,xp=13,Sp=32,Cp=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),wp=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e<this.str.length?this.str.charCodeAt(e):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(e=this.charCode()){return e<128&&Cp[e]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(e){return this.charCodeAt(this.findWsEnd(e))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(e){for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t!==xp&&t!==yp&&t!==bp&&t!==Sp&&t!==vp)break}return e}substringToPos(e){return this.str.substring(this.pos,this.pos=e)}eat(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):``}error(e){throw new _p(e,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t>=128||Cp[t]===0)break}return this.pos===e&&this.error(`Expect a keyword`),this.substringToPos(e)}scanNumber(){let e=this.pos;for(;e<this.str.length;e++){let t=this.str.charCodeAt(e);if(t<48||t>57)break}return this.pos===e&&this.error(`Expect a number`),this.substringToPos(e)}scanString(){let e=this.str.indexOf(`'`,this.pos+1);return e===-1&&(this.pos=this.str.length,this.error(`Expect an apostrophe`)),this.substringToPos(e+1)}},Tp=9,Ep=10,Dp=12,Op=13,kp=32,Ap=33,jp=35,Mp=38,Np=39,Pp=40,Fp=41,Ip=42,Lp=43,Rp=44,zp=45,Bp=60,Vp=62,Hp=63,Up=64,Wp=91,Gp=93,Kp=123,qp=124,Jp=125,Yp=8734,Xp={" ":1,"&&":2,"||":3,"|":4};function Zp(e){let t=null,n=null;return e.eat(Kp),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===Rp?(e.pos++,e.skipWs(),e.charCode()!==Jp&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(Jp),{min:Number(t),max:n?Number(n):0}}function Qp(e){let t=null,n=!1;switch(e.charCode()){case Ip:e.pos++,t={min:0,max:0};break;case Lp:e.pos++,t={min:1,max:0};break;case Hp:e.pos++,t={min:0,max:1};break;case jp:e.pos++,n=!0,e.charCode()===Kp?t=Zp(e):e.charCode()===Hp?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Kp:t=Zp(e);break;default:return null}return{type:`Multiplier`,comma:n,min:t.min,max:t.max,term:null}}function $p(e,t){let n=Qp(e);return n===null?t:(n.term=t,e.charCode()===jp&&e.charCodeAt(e.pos-1)===Lp||e.charCode()===Hp&&e.charCodeAt(e.pos-1)===Jp?$p(e,n):n)}function em(e){let t=e.peek();return t===``?null:$p(e,{type:`Token`,value:t})}function tm(e){let t;return e.eat(Bp),e.eat(Np),t=e.scanWord(),e.eat(Np),e.eat(Vp),$p(e,{type:`Property`,name:t})}function nm(e){let t=null,n=null,r=1;return e.eat(Wp),e.charCode()===zp&&(e.peek(),r=-1),r==-1&&e.charCode()===Yp?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(Rp),e.skipWs(),e.charCode()===Yp?e.peek():(r=1,e.charCode()===zp&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Gp),{type:`Range`,min:t,max:n}}function rm(e){let t,n=null;if(e.eat(Bp),t=e.scanWord(),t===`boolean-expr`){e.eat(Wp);let t=om(e,Gp);return e.eat(Gp),e.eat(Vp),$p(e,{type:`Boolean`,term:t.terms.length===1?t.terms[0]:t})}return e.charCode()===Pp&&e.nextCharCode()===Fp&&(e.pos+=2,t+=`()`),e.charCodeAt(e.findWsEnd(e.pos))===Wp&&(e.skipWs(),n=nm(e)),e.eat(Vp),$p(e,{type:`Type`,name:t,opts:n})}function im(e){let t=e.scanWord();return e.charCode()===Pp?(e.pos++,{type:`Function`,name:t}):$p(e,{type:`Keyword`,name:t})}function am(e,t){function n(e,t){return{type:`Group`,terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((e,t)=>Xp[e]-Xp[t]);t.length>0;){r=t.shift();let i=0,a=0;for(;i<e.length;i++){let t=e[i];t.type===`Combinator`&&(t.value===r?(a===-1&&(a=i-1),e.splice(i,1),i--):(a!==-1&&i-a>1&&(e.splice(a,i-a,n(e.slice(a,i),r)),i=a+1),a=-1))}a!==-1&&t.length&&e.splice(a,i-a,n(e.slice(a,i),r))}return r}function om(e,t=-1){let n=Object.create(null),r=[],i=null,a=e.pos,o=!1;for(;e.charCode()!==t;){let t=o?om(e,Fp):cm(e);if(!t)break;if(t.type!==`Spaces`){if(o){if(t.terms.length===0){o=!1;continue}if(t.combinator===` `){for(;t.terms.length>1;)n[` `]=!0,r.push({type:`Combinator`,value:` `},t.terms.shift());t=t.terms[0]}}t.type===`Combinator`?((i===null||i.type===`Combinator`)&&(e.pos=a,e.error(`Unexpected combinator`)),n[t.value]=!0):i!==null&&i.type!==`Combinator`&&(n[` `]=!0,r.push({type:`Combinator`,value:` `})),r.push(t),i=t,a=e.pos,o=t.type===`Function`}}return i!==null&&i.type===`Combinator`&&(e.pos-=a,e.error(`Unexpected combinator`)),{type:`Group`,terms:r,combinator:am(r,n)||` `,disallowEmpty:!1,explicit:!1}}function sm(e){let t;return e.eat(Wp),t=om(e,Gp),e.eat(Gp),t.explicit=!0,e.charCode()===Ap&&(e.pos++,t.disallowEmpty=!0),t}function cm(e){let t=e.charCode();switch(t){case Gp:break;case Wp:return $p(e,sm(e));case Bp:return e.nextCharCode()===Np?tm(e):rm(e);case qp:return{type:`Combinator`,value:e.substringToPos(e.pos+(e.nextCharCode()===qp?2:1))};case Mp:return e.pos++,e.eat(Mp),{type:`Combinator`,value:`&&`};case Rp:return e.pos++,{type:`Comma`};case Np:return $p(e,{type:`String`,value:e.scanString()});case kp:case Tp:case Ep:case Op:case Dp:return{type:`Spaces`,value:e.scanSpaces()};case Up:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:`AtKeyword`,name:e.scanWord()}):em(e);case Ip:case Lp:case Hp:case jp:case Ap:break;case Kp:if(t=e.nextCharCode(),t<48||t>57)return em(e);break;default:return e.isNameCharCode(t)?im(e):em(e)}}function lm(e){let t=new wp(e),n=om(t);return t.pos!==e.length&&t.error(`Unexpected input`),n.terms.length===1&&n.terms[0].type===`Group`?n.terms[0]:n}var um=function(){};function dm(e){return typeof e==`function`?e:um}function fm(e,t,n){function r(e){switch(i.call(n,e),e.type){case`Group`:e.terms.forEach(r);break;case`Multiplier`:case`Boolean`:r(e.term);break;case`Type`:case`Property`:case`Keyword`:case`AtKeyword`:case`Function`:case`String`:case`Token`:case`Comma`:break;default:throw Error(`Unknown type: `+e.type)}a.call(n,e)}let i=um,a=um;if(typeof t==`function`?i=t:t&&(i=dm(t.enter),a=dm(t.leave)),i===um&&a===um)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e,n)}var pm={decorator(e){let t=[],n=null;return{...e,node(t){let r=n;n=t,e.node.call(this,t),n=r},emit(e,r,i){t.push({type:r,value:e,node:i?null:n})},result(){return t}}}};function mm(e){let t=[];return Vu(e,(n,r,i)=>t.push({type:n,value:e.slice(r,i),node:null})),t}function hm(e,t){return typeof e==`string`?mm(e):t.generate(e,pm)}var Y={type:`Match`},X={type:`Mismatch`},gm={type:`DisallowEmpty`},_m=40,vm=41;function Z(e,t,n){return t===Y&&n===X||e===Y&&t===Y&&n===Y?e:(e.type===`If`&&e.else===X&&t===Y&&(t=e.then,e=e.match),{type:`If`,match:e,then:t,else:n})}function ym(e){return e.length>2&&e.charCodeAt(e.length-2)===_m&&e.charCodeAt(e.length-1)===vm}function bm(e){return e.type===`Keyword`||e.type===`AtKeyword`||e.type===`Function`||e.type===`Type`&&ym(e.name)}function xm(e,t=` `,n=!1){return{type:`Group`,terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Sm(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case`If`:e.match=Sm(e.match,t,n),e.then=Sm(e.then,t,n),e.else=Sm(e.else,t,n);break;case`Type`:return t[e.name]||e}return e}function Cm(e,t,n){switch(e){case` `:{let e=Y;for(let n=t.length-1;n>=0;n--){let r=t[n];e=Z(r,e,X)}return e}case`|`:{let e=X,n=null;for(let r=t.length-1;r>=0;r--){let i=t[r];if(bm(i)&&(n===null&&r>0&&bm(t[r-1])&&(n=Object.create(null),e=Z({type:`Enum`,map:n},Y,e)),n!==null)){let e=(ym(i.name)?i.name.slice(0,-1):i.name).toLowerCase();if(!(e in n)){n[e]=i;continue}}n=null,e=Z(i,Y,e)}return e}case`&&`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!0};let n=X;for(let r=t.length-1;r>=0;r--){let i=t[r],a;a=t.length>1?Cm(e,t.filter(function(e){return e!==i}),!1):Y,n=Z(i,a,n)}return n}case`||`:{if(t.length>5)return{type:`MatchOnce`,terms:t,all:!1};let r=n?Y:X;for(let n=t.length-1;n>=0;n--){let i=t[n],a;a=t.length>1?Cm(e,t.filter(function(e){return e!==i}),!0):Y,r=Z(i,a,r)}return r}}}function wm(e){let t=Y,n=Tm(e.term);if(e.max===0)n=Z(n,gm,X),t=Z(n,null,X),t.then=Z(Y,Y,t),e.comma&&(t.then.else=Z({type:`Comma`,syntax:e},t,X));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Y&&(t=Z({type:`Comma`,syntax:e},t,X)),t=Z(n,Z(Y,Y,t),X);if(e.min===0)t=Z(Y,Y,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==Y&&(t=Z({type:`Comma`,syntax:e},t,X)),t=Z(n,t,X);return t}function Tm(e){if(typeof e==`function`)return{type:`Generic`,fn:e};switch(e.type){case`Group`:{let t=Cm(e.combinator,e.terms.map(Tm),!1);return e.disallowEmpty&&(t=Z(t,gm,X)),t}case`Multiplier`:return wm(e);case`Boolean`:{let t=Tm(e.term),n=Tm(xm([xm([{type:`Keyword`,name:`not`},{type:`Type`,name:`!boolean-group`}]),xm([{type:`Type`,name:`!boolean-group`},xm([{type:`Multiplier`,comma:!1,min:0,max:0,term:xm([{type:`Keyword`,name:`and`},{type:`Type`,name:`!boolean-group`}])},{type:`Multiplier`,comma:!1,min:0,max:0,term:xm([{type:`Keyword`,name:`or`},{type:`Type`,name:`!boolean-group`}])}],`|`)])],`|`)),r=Tm(xm([{type:`Type`,name:`!term`},xm([{type:`Token`,value:`(`},{type:`Type`,name:`!self`},{type:`Token`,value:`)`}]),{type:`Type`,name:`general-enclosed`}],`|`));return Sm(r,{"!term":t,"!self":n}),Sm(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 Error(`Unknown node type:`,e.type)}}function Em(e,t){return typeof e==`string`&&(e=lm(e)),{type:`MatchGraph`,match:Tm(e),syntax:t||null,source:e}}var{hasOwnProperty:Dm}=Object.prototype,Om=0,km=1,Am=2,jm=3,Mm=`Match`,Nm=`Mismatch`,Pm=`Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)`,Fm=15e3,Im=0;function Lm(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function Rm(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=t.charCodeAt(n),i=e.charCodeAt(n);if(i>=65&&i<=90&&(i|=32),i!==r)return!1}return!0}function zm(e){return e.type===9?e.value!==`?`:!1}function Bm(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||zm(e)}function Vm(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value===`/`}function Hm(e,t,n){function r(){do v++,_=v<e.length?e[v]:null;while(_!==null&&(_.type===13||_.type===25))}function i(t){let n=v+t;return n<e.length?e[n]:null}function a(e,t){return{nextState:e,matchStack:b,syntaxStack:d,thenStack:f,tokenIndex:v,prev:t}}function o(e){f={nextState:e,matchStack:b,syntaxStack:d,prev:f}}function s(e){p=a(e,p)}function c(){b={type:km,syntax:t.syntax,token:_,prev:b},r(),m=null,v>y&&(y=v)}function l(){d={syntax:t.syntax,opts:t.syntax.opts||d!==null&&d.opts||null,prev:d},b={type:Am,syntax:t.syntax,token:b.token,prev:b}}function u(){b=b.type===Am?b.prev:{type:jm,syntax:d.syntax,token:b.token,prev:b},d=d.prev}let d=null,f=null,p=null,m=null,h=0,g=null,_=null,v=-1,y=0,b={type:Om,syntax:null,token:null,prev:null};for(r();g===null&&++h<Fm;)switch(t.type){case`Match`:if(f===null){if(_!==null&&(v!==e.length-1||_.value!==`\\0`&&_.value!==`\\9`)){t=X;break}g=Mm;break}if(t=f.nextState,t===gm)if(f.matchStack===b){t=X;break}else t=Y;for(;f.syntaxStack!==d;)u();f=f.prev;break;case`Mismatch`:if(m!==null&&m!==!1)(p===null||v>p.tokenIndex)&&(p=m,m=!1);else if(p===null){g=Nm;break}t=p.nextState,f=p.thenStack,d=p.syntaxStack,b=p.matchStack,v=p.tokenIndex,_=v<e.length?e[v]:null,p=p.prev;break;case`MatchGraph`:t=t.match;break;case`If`:t.else!==X&&s(t.else),t.then!==Y&&o(t.then),t=t.match;break;case`MatchOnce`:t={type:`MatchOnceBuffer`,syntax:t,index:0,mask:0};break;case`MatchOnceBuffer`:{let e=t.syntax.terms;if(t.index===e.length){if(t.mask===0||t.syntax.all){t=X;break}t=Y;break}if(t.mask===(1<<e.length)-1){t=Y;break}for(;t.index<e.length;t.index++){let n=1<<t.index;if((t.mask&n)===0){s(t),o({type:`AddMatchOnce`,syntax:t.syntax,mask:t.mask|n}),t=e[t.index++];break}}break}case`AddMatchOnce`:t={type:`MatchOnceBuffer`,syntax:t.syntax,index:0,mask:t.mask};break;case`Enum`:if(_!==null){let e=_.value.toLowerCase();if(e.indexOf(`\\`)!==-1&&(e=e.replace(/\\[09].*$/,``)),Dm.call(t.map,e)){t=t.map[e];break}}t=X;break;case`Generic`:{let e=d===null?null:d.opts,n=v+Math.floor(t.fn(_,i,e));if(!isNaN(n)&&n>v){for(;v<n;)c();t=Y}else t=X;break}case`Type`:case`Property`:{let e=t.type===`Type`?`types`:`properties`,r=Dm.call(n,e)?n[e][t.name]:null;if(!r||!r.match)throw Error(`Bad syntax reference: `+(t.type===`Type`?`<`+t.name+`>`:`<'`+t.name+`'>`));if(m!==!1&&_!==null&&t.type===`Type`&&(t.name===`custom-ident`&&_.type===1||t.name===`length`&&_.value===`0`)){m===null&&(m=a(t,p)),t=X;break}l(),t=r.matchRef||r.match;break}case`Keyword`:{let e=t.name;if(_!==null){let n=_.value;if(n.indexOf(`\\`)!==-1&&(n=n.replace(/\\[09].*$/,``)),Rm(n,e)){c(),t=Y;break}}t=X;break}case`AtKeyword`:case`Function`:if(_!==null&&Rm(_.value,t.name)){c(),t=Y;break}t=X;break;case`Token`:if(_!==null&&_.value===t.value){c(),t=Y;break}t=X;break;case`Comma`:_!==null&&_.type===18?Bm(b.token)?t=X:(c(),t=Vm(_)?X:Y):t=Bm(b.token)||Vm(_)?Y:X;break;case`String`:let r=``,h=v;for(;h<e.length&&r.length<t.value.length;h++)r+=e[h].value;if(Rm(r,t.value)){for(;v<h;)c();t=Y}else t=X;break;default:throw Error(`Unknown node type: `+t.type)}switch(Im+=h,g){case null:console.warn(`[csstree-match] BREAK after `+Fm+` iterations`),g=Pm,b=null;break;case Mm:for(;d!==null;)u();break;default:b=null}return{tokens:e,reason:g,iterations:h,match:b,longestMatch:y}}function Um(e,t,n){let r=Hm(e,t,n||{});if(r.match===null)return r;let i=r.match,a=r.match={syntax:t.syntax||null,match:[]},o=[a];for(i=Lm(i).prev;i!==null;){switch(i.type){case Am:a.match.push(a={syntax:i.syntax,match:[]}),o.push(a);break;case jm:o.pop(),a=o[o.length-1];break;default:a.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}var Wm=e({getTrace:()=>Gm,isKeyword:()=>Jm,isProperty:()=>qm,isType:()=>Km});function Gm(e){function t(e){return e===null?!1:e.type===`Type`||e.type===`Property`||e.type===`Keyword`}function n(i){if(Array.isArray(i.match)){for(let e=0;e<i.match.length;e++)if(n(i.match[e]))return t(i.syntax)&&r.unshift(i.syntax),!0}else if(i.node===e)return r=t(i.syntax)?[i.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function Km(e,t){return Ym(this,e,e=>e.type===`Type`&&e.name===t)}function qm(e,t){return Ym(this,e,e=>e.type===`Property`&&e.name===t)}function Jm(e){return Ym(this,e,e=>e.type===`Keyword`)}function Ym(e,t,n){let r=Gm.call(e,t);return r===null?!1:r.some(n)}function Xm(e){return`node`in e?e.node:Xm(e.match[0])}function Zm(e){return`node`in e?e.node:Zm(e.match[e.match.length-1])}function Qm(e,t,n,r,i){function a(n){if(n.syntax!==null&&n.syntax.type===r&&n.syntax.name===i){let r=Xm(n),i=Zm(n);e.syntax.walk(t,function(e,t,n){if(e===r){let e=new Uu;do{if(e.appendData(t.data),t.data===i)break;t=t.next}while(t!==null);o.push({parent:n,nodes:e})}})}Array.isArray(n.match)&&n.match.forEach(a)}let o=[];return n.matched!==null&&a(n.matched),o}var{hasOwnProperty:$m}=Object.prototype;function eh(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e&&e>=0}function th(e){return!!e&&eh(e.offset)&&eh(e.line)&&eh(e.column)}function nh(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,`Type of node should be an Object`);for(let i in n){let a=!0;if($m.call(n,i)!==!1){if(i===`type`)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(i===`loc`){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!=`string`)i+=`.source`;else if(!th(n.loc.start))i+=`.start`;else if(!th(n.loc.end))i+=`.end`;else continue;a=!1}else if(t.hasOwnProperty(i)){a=!1;for(let e=0;!a&&e<t[i].length;e++){let r=t[i][e];switch(r){case String:a=typeof n[i]==`string`;break;case Boolean:a=typeof n[i]==`boolean`;break;case null:a=n[i]===null;break;default:typeof r==`string`?a=n[i]&&n[i].type===r:Array.isArray(r)&&(a=n[i]instanceof Uu)}}}else r(n,"Unknown field `"+i+"` for "+e+` node type`);a||r(n,"Bad value for `"+e+`.`+i+"`")}}for(let i in t)$m.call(t,i)&&$m.call(n,i)===!1&&r(n,"Field `"+e+`.`+i+"` is missed")}}function rh(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i===String||i===Boolean)n.push(i.name.toLowerCase());else if(i===null)n.push(`null`);else if(typeof i==`string`)n.push(i);else if(Array.isArray(i))n.push(`List<`+(rh(i,t)||`any`)+`>`);else throw Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return n.join(` | `)}function ih(e,t){let n=t.structure,r={type:String,loc:!0},i={type:`"`+e+`"`};for(let t in n)$m.call(n,t)!==!1&&(i[t]=rh(r[t]=Array.isArray(n[t])?n[t].slice():[n[t]],e+`.`+t));return{docs:i,check:nh(e,r)}}function ah(e){let t={};if(e.node){for(let n in e.node)if($m.call(e.node,n)){let r=e.node[n];if(r.structure)t[n]=ih(n,r);else throw Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function oh(e,t,n){let r={};for(let i in e)e[i].syntax&&(r[i]=n?e[i].syntax:Wd(e[i].syntax,{compact:t}));return r}function sh(e,t,n){let r={};for(let[i,a]of Object.entries(e))r[i]={prelude:a.prelude&&(n?a.prelude.syntax:Wd(a.prelude.syntax,{compact:t})),descriptors:a.descriptors&&oh(a.descriptors,t,n)};return r}function ch(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()===`var(`)return!0;return!1}function lh(e){let t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type===`Multiplier`&&t.comma===!0}function Q(e,t,n){return{matched:e,iterations:n,error:t,...Wm}}function uh(e,t,n,r){let i=hm(n,e.syntax),a;return ch(i)?Q(null,Error(`Matching for a tree with var() is not supported`)):(r&&(a=Um(i,e.cssWideKeywordsSyntax,e)),(!r||!a.match)&&(a=Um(i,t.match,e),!a.match)?Q(null,new Xd(a.reason,t.syntax,n,a),a.iterations):Q(a.match,null,a.iterations))}var dh=class{constructor(e,t,n){if(this.cssWideKeywords=sf,this.syntax=t,this.generic=!1,this.units={...cp},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||ah(e),e){if(e.cssWideKeywords&&(this.cssWideKeywords=e.cssWideKeywords),e.units)for(let t of Object.keys(cp))Array.isArray(e.units[t])&&(this.units[t]=e.units[t]);if(e.types)for(let[t,n]of Object.entries(e.types))this.addType_(t,n);if(e.generic){this.generic=!0;for(let[e,t]of Object.entries(sp(this.units)))this.addType_(e,t)}if(e.atrules)for(let[t,n]of Object.entries(e.atrules))this.addAtrule_(t,n);if(e.properties)for(let[t,n]of Object.entries(e.properties))this.addProperty_(t,n)}this.cssWideKeywordsSyntax=Em(this.cssWideKeywords.join(` | `))}checkStructure(e){function t(e,t){r.push({node:e,message:t})}let n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),r.length?r:!1}createDescriptor(e,t,n,r=null){let i={type:t,name:n},a={type:t,name:n,parent:r,serializable:typeof e==`string`||e&&typeof e.type==`string`,syntax:null,match:null,matchRef:null};return typeof e==`function`?a.match=Em(e,i):(typeof e==`string`?Object.defineProperty(a,`syntax`,{get(){return Object.defineProperty(a,`syntax`,{value:lm(e)}),a.syntax}}):a.syntax=e,Object.defineProperty(a,`match`,{get(){return Object.defineProperty(a,`match`,{value:Em(a.syntax,i)}),a.match}}),t===`Property`&&Object.defineProperty(a,`matchRef`,{get(){let e=a.syntax,t=lh(e)?Em({...e,terms:[e.terms[0].term]},i):null;return Object.defineProperty(a,`matchRef`,{value:t}),t}})),a}addAtrule_(e,t){t&&(this.atrules[e]={type:`Atrule`,name:e,prelude:t.prelude?this.createDescriptor(t.prelude,`AtrulePrelude`,e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],`AtruleDescriptor`,r,e),n),Object.create(null)):null})}addProperty_(e,t){t&&(this.properties[e]=this.createDescriptor(t,`Property`,e))}addType_(e,t){t&&(this.types[e]=this.createDescriptor(t,`Type`,e))}checkAtruleName(e){if(!this.getAtrule(e))return new Yd(`Unknown at-rule`,`@`+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);if(!r.prelude&&t)return SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(r.prelude&&!t&&!uh(this,r.prelude,``,!1).matched)return SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),i=ef(t);if(!r.descriptors)return SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!r.descriptors[i.name]&&!r.descriptors[i.basename])return new Yd(`Unknown at-rule descriptor`,t)}checkPropertyName(e){if(!this.getProperty(e))return new Yd(`Unknown property`,e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return Q(null,n);let r=this.getAtrule(e);return r.prelude?uh(this,r.prelude,t||``,!1):Q(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return Q(null,r);let i=this.getAtrule(e),a=ef(t);return uh(this,i.descriptors[a.name]||i.descriptors[a.basename],n,!1)}matchDeclaration(e){return e.type===`Declaration`?this.matchProperty(e.property,e.value):Q(null,Error(`Not a Declaration node`))}matchProperty(e,t){if(tf(e).custom)return Q(null,Error(`Lexer matching doesn't applicable for custom properties`));let n=this.checkPropertyName(e);return n?Q(null,n):uh(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?uh(this,n,t,!1):Q(null,new Yd(`Unknown type`,e))}match(e,t){return typeof e!=`string`&&(!e||!e.type)?Q(null,new Yd(`Bad syntax`)):((typeof e==`string`||!e.match)&&(e=this.createDescriptor(e,`Type`,`anonymous`)),uh(this,e,t,!1))}findValueFragments(e,t,n,r){return Qm(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return Qm(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:`Declaration`,enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){let n=ef(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){let n=tf(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(e,t){return t?`<${e}>`:`<'${e}'>`}function t(a,o,s,c){if(s.has(o))return s.get(o);s.set(o,!1),c.syntax!==null&&fm(c.syntax,function(c){if(c.type!==`Type`&&c.type!==`Property`)return;let l=c.type===`Type`?a.types:a.properties,u=c.type===`Type`?r:i;hasOwnProperty.call(l,c.name)?t(a,c.name,u,l[c.name])&&(n.push(`${e(o,s===r)} used broken syntax definition ${e(c.name,c.type===`Type`)}`),s.set(o,!0)):(n.push(`${e(o,s===r)} used missed syntax definition ${e(c.name,c.type===`Type`)}`),s.set(o,!0))},this)}let n=[],r=new Map,i=new Map;for(let e in this.types)t(this,e,r,this.types[e]);for(let e in this.properties)t(this,e,i,this.properties[e]);let a=[...r.keys()].filter(e=>r.get(e)),o=[...i.keys()].filter(e=>i.get(e));return a.length||o.length?{errors:n,types:a,properties:o}:null}dump(e,t){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:oh(this.types,!t,e),properties:oh(this.properties,!t,e),atrules:sh(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function fh(e,t){return typeof t==`string`&&/^\s*\|/.test(t)?typeof e==`string`?e+t:t.replace(/^\s*\|\s*/,``):t||null}function ph(e,t){let n=Object.create(null);for(let r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function mh(e,t,n){let r={...e};for(let[e,i]of Object.entries(t))r[e]={...r[e],...n?ph(i,n):i};return r}function hh(e,t){let n={...e};for(let[r,i]of Object.entries(t))switch(r){case`generic`:n[r]=!!i;break;case`cssWideKeywords`:n[r]=e[r]?[...e[r],...i]:i||[];break;case`units`:n[r]={...e[r]};for(let[e,t]of Object.entries(i))n[r][e]=Array.isArray(t)?t:[];break;case`atrules`:n[r]={...e[r]};for(let[e,t]of Object.entries(i)){let i=n[r][e]||{},a=n[r][e]={prelude:i.prelude||null,descriptors:{...i.descriptors}};if(t){a.prelude=t.prelude?fh(a.prelude,t.prelude):a.prelude||null;for(let[e,n]of Object.entries(t.descriptors||{}))a.descriptors[e]=n?fh(a.descriptors[e],n):null;Object.keys(a.descriptors).length||(a.descriptors=null)}}break;case`types`:case`properties`:n[r]={...e[r]};for(let[e,t]of Object.entries(i))n[r][e]=fh(n[r][e],t);break;case`parseContext`:n[r]={...e[r],...i};break;case`scope`:case`features`:n[r]=mh(e[r],i);break;case`atrule`:case`pseudo`:n[r]=mh(e[r],i,[`parse`]);break;case`node`:n[r]=mh(e[r],i,[`name`,`structure`,`parse`,`generate`,`walkContext`]);break}return n}function gh(e){let t=cd(e),n=Rd(e),r=Od(e),{fromPlainObject:i,toPlainObject:a}=kd(n),o={lexer:null,createLexer:e=>new dh(e,o,o.lexer.structure),tokenize:Vu,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:i,toPlainObject:a,fork(t){let n=hh({},e);return gh(typeof t==`function`?t(n):hh(n,t))}};return o.lexer=new dh({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},o),o}var _h=e=>gh(hh({},e)),vh={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`.split(`.`),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>`,"an+b":`odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>`,"anchor()":`anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )`,"anchor-name":`<dashed-ident>`,"anchor-side":`inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center`,"anchor-size":`width|height|block|inline|self-block|self-inline`,"anchor-size()":`anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )`,"angle-percentage":`<angle>|<percentage>`,"angular-color-hint":`<angle-percentage>|<zero>`,"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>`,"animation-action":`none|play|play-once|play-forwards|play-backwards|pause|reset|replay`,"asin()":`asin( <calc-sum> )`,"atan()":`atan( <calc-sum> )`,"atan2()":`atan2( <calc-sum> , <calc-sum> )`,attachment:`scroll|fixed|local`,"attr()":`attr( <attr-name> <attr-type>? , <declaration-value>? )`,"attr-matcher":`['~'|'|'|'^'|'$'|'*']? '='`,"attr-modifier":`i|s`,"attr-type":`type( <syntax> )|raw-string|number|<attr-unit>`,"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()>`,"basic-shape-rect":`<inset()>|<rect()>|<xywh()>`,"bg-clip":`<visual-box>|border-area|text`,"bg-image":`<image>|none`,"bg-layer":`<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-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 [0,∞]>|auto]{1,2}|cover|contain`,"blend-mode":`normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity`,"blur()":`blur( <length>? )`,"brightness()":`brightness( [<number>|<percentage>]? )`,"calc()":`calc( <calc-sum> )`,"calc-constant":`e|pi|infinity|-infinity|NaN`,"calc-product":`<calc-value> ['*' <calc-value>|'/' <number>]*`,"calc-size()":`calc-size( <calc-size-basis> , <calc-sum> )`,"calc-size-basis":`<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>`,"calc-sum":`<calc-product> [['+'|'-'] <calc-product>]*`,"calc-value":`<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )`,"cf-final-image":`<image>|<color>`,"cf-mixing-image":`<percentage>?&&<image>`,"circle()":`circle( <radial-size>? [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()":`color( <colorspace-params> [/ [<alpha-value>|none]]? )`,"color-base":`<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent`,"color-function":`<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>`,"color-interpolation-method":`in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]`,"color-mix()":`color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )`,"color-stop":`<color-stop-length>|<color-stop-angle>`,"color-stop-angle":`[<angle-percentage>|<zero>]{1,2}`,"color-stop-length":`<length-percentage>{1,2}`,"color-stop-list":`<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?`,"colorspace-params":`[<predefined-rgb-params>|<xyz-params>]`,combinator:`'>'|'+'|'~'|['|' '|']`,"common-lig-values":`[common-ligatures|no-common-ligatures]`,"compat-auto":`searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button`,"compat-special":`textfield|menulist-button`,"complex-selector":`<complex-selector-unit> [<combinator>? <complex-selector-unit>]*`,"complex-selector-list":`<complex-selector>#`,"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>#`,"conic-gradient()":`conic-gradient( [<conic-gradient-syntax>] )`,"conic-gradient-syntax":`[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>`,"container-condition":`not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]`,"container-name":`<custom-ident>`,"container-query":`not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]`,"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>`,"contextual-alt-values":`[contextual|no-contextual]`,"contrast()":`contrast( [<number>|<percentage>]? )`,"coord-box":`content-box|padding-box|border-box|fill-box|stroke-box|view-box`,"corner-shape-value":`round|scoop|bevel|notch|square|squircle|<superellipse()>`,"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()":`cubic-bezier( [<number [0,1]> , <number>]#{2} )`,"cubic-bezier-easing-function":`ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )`,"cursor-predefined":`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`,"custom-color-space":`<dashed-ident>`,"custom-params":`<dashed-ident> [<number>|<percentage>|none]+`,dasharray:`[[<length-percentage>|<number>]+]#`,"dashndashdigit-ident":`<ident-token>`,"deprecated-system-color":`ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|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( [<color>?&&<length>{2,3}] )`,"dynamic-range-limit-mix()":`dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )`,"easing-function":`<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>`,"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( <radial-size>? [at <position>]? )`,"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>`,"filter-function":`<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>`,"filter-value-list":`[<filter-function>|<url>]+`,"final-bg-layer":`<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>`,"fit-content()":`fit-content( <length-percentage [0,∞]> )`,"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-css2":`normal|small-caps`,"font-weight-absolute":`normal|bold|<number [1,1000]>`,"font-width-css3":`normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded`,"form-control-identifier":`select`,"frequency-percentage":`<frequency>|<percentage>`,"generic-complete":`serif|sans-serif|system-ui|cursive|fantasy|math|monospace`,"general-enclosed":`[<function-token> <any-value>? )]|[( <any-value>? )]`,"generic-family":`<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>`,"generic-incomplete":`ui-serif|ui-sans-serif|ui-monospace|ui-rounded`,"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>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )`,"hsla()":`hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )`,hue:`<number>|<angle>`,"hue-interpolation-method":`[shorter|longer|increasing|decreasing] hue`,"hue-rotate()":`hue-rotate( [<angle>|<zero>]? )`,"hwb()":`hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|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>]? )`,"keyframe-block":`<keyframe-selector># { <declaration-list> }`,"keyframe-selector":`from|to|<percentage [0,100]>|<timeline-range-name> <percentage>`,"keyframes-name":`<custom-ident>|<string>`,"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-name-list":`[<line-names>|<name-repeat>]+`,"line-names":`'[' <custom-ident>* ']'`,"line-style":`none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset`,"line-width":`<length>|thin|medium|thick`,"linear()":`linear( [<number>&&<percentage>{0,2}]# )`,"linear-color-hint":`<length-percentage>`,"linear-color-stop":`<color> <color-stop-length>?`,"linear-easing-function":`linear|<linear()>`,"linear-gradient()":`linear-gradient( [<linear-gradient-syntax>] )`,"linear-gradient-syntax":`[[<angle>|<zero>|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> )`,"n-dimension":`<dimension-token>`,"name-repeat":`repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )`,"named-color":`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>`,"ndash-dimension":`<dimension-token>`,"ndashdigit-dimension":`<dimension-token>`,"ndashdigit-ident":`<ident-token>`,"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]`,"offset-path":`<ray()>|<url>|<basic-shape>`,"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]]? )`,"opacity()":`opacity( [<number>|<percentage>]? )`,"opacity-value":`<number>|<percentage>`,"outline-line-style":`none|dotted|dashed|solid|double|groove|ridge|inset|outset`,"outline-radius":`<length>|<percentage>`,"overflow-position":`unsafe|safe`,"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":`<pseudo-page>+|<ident> <pseudo-page>*`,"page-selector-list":`[<page-selector>#]?`,"page-size":`A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger`,paint:`none|<color>|<url> [none|<color>]?|context-fill|context-stroke`,"paint()":`paint( <ident> , <declaration-value>? )`,"paint-box":`<visual-box>|fill-box|stroke-box`,"palette-identifier":`<dashed-ident>`,"palette-mix()":`palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )`,"path()":`path( <'fill-rule'>? , <string> )`,"perspective()":`perspective( [<length [0,∞]>|none] )`,"polar-color-space":`hsl|hwb|lch|oklch`,"polygon()":`polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )`,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>]]`,"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}]`,"pow()":`pow( <calc-sum> , <calc-sum> )`,"predefined-rgb":`srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020`,"predefined-rgb-params":`<predefined-rgb> [<number>|<percentage>|none]{3}`,"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]`,"query-in-parens":`( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>`,quote:`open-quote|close-quote|no-open-quote|no-close-quote`,"radial-extent":`closest-corner|closest-side|farthest-corner|farthest-side`,"radial-gradient()":`radial-gradient( [<radial-gradient-syntax>] )`,"radial-gradient-syntax":`[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>`,"radial-shape":`circle|ellipse`,"radial-size":`<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}`,ratio:`<number [0,∞]> [/ <number [0,∞]>]?`,"ray()":`ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )`,"ray-size":`closest-side|closest-corner|farthest-side|farthest-corner|sides`,"rect()":`rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )`,"rectangular-color-space":`srgb|srgb-linear|display-p3|display-p3-linear|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( [<conic-gradient-syntax>] )`,"repeating-linear-gradient()":`repeating-linear-gradient( [<linear-gradient-syntax>] )`,"repeating-radial-gradient()":`repeating-radial-gradient( [<radial-gradient-syntax>] )`,"reversed-counter-name":`reversed( <counter-name> )`,"rgb()":`rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )`,"rgba()":`rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )`,"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>] )`,"scope-end":`<forgiving-selector-list>`,"scope-start":`<forgiving-selector-list>`,"scroll()":`scroll( [<scroller>||<axis>]? )`,scroller:`root|nearest|self`,"scroll-state-feature":`<media-query-list>`,"scroll-state-in-parens":`( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>`,"scroll-state-query":`not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>`,"selector-list":`<complex-selector-list>`,"self-position":`center|start|end|self-start|self-end|flex-start|flex-end`,"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":`<visual-box>|margin-box`,"side-or-corner":`[left|right]||[top|bottom]`,"sign()":`sign( <calc-sum> )`,"signed-integer":`<number-token>`,"signless-integer":`<number-token>`,"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-composition":`replace|add|accumulate`,"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}`,"size-feature":`<mf-plain>|<mf-boolean>|<mf-range>`,"skew()":`skew( [<angle>|<zero>] , [<angle>|<zero>]? )`,"skewX()":`skewX( [<angle>|<zero>] )`,"skewY()":`skewY( [<angle>|<zero>] )`,"sqrt()":`sqrt( <calc-sum> )`,"step-position":`jump-start|jump-end|jump-none|jump-both|start|end`,"step-easing-function":`step-start|step-end|<steps()>`,"steps()":`steps( <integer> , <step-position>? )`,"style-feature":`<declaration>`,"style-in-parens":`( <style-condition> )|( <style-feature> )|<general-enclosed>`,"style-query":`<style-condition>|<style-feature>`,"subclass-selector":`<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>`,"superellipse()":`superellipse( [<number>|infinity|-infinity] )`,"supports-condition":`not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*`,"supports-decl":`( <declaration> )`,"supports-feature":`<supports-decl>|<supports-selector-fn>`,"supports-in-parens":`( <supports-condition> )|<supports-feature>|<general-enclosed>`,"supports-selector-fn":`selector( <complex-selector> )`,symbol:`<string>|<image>|<custom-ident>`,"symbols()":`symbols( <symbols-type>? [<string>|<image>]+ )`,"symbols-type":`cyclic|numeric|alphabetic|symbolic|fixed`,"system-color":`AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText`,"system-family-name":`caption|icon|menu|message-box|small-caption|status-bar`,"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]? )`,"text-edge":`[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?`,"time-percentage":`<time>|<percentage>`,"timeline-range-name":`cover|contain|entry|exit|entry-crossing|exit-crossing`,"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> )`,"try-size":`most-width|most-height|most-block-size|most-inline-size`,"try-tactic":`flip-block||flip-inline||flip-start`,"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>`,"xywh()":`xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )`,xyz:`xyz|xyz-d50|xyz-d65`,"xyz-params":`<xyz-space> [<number>|<percentage>|none]{3}`,"-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>? )`,age:`child|young|old`,"attr-name":`<wq-name>`,"attr-fallback":`<any-value>`,autospace:`no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]`,bottom:`<length>|auto`,"generic-voice":`[<age>? <gender> <integer>?]`,gender:`male|female|neutral`,"generic-script-specific":`generic( kai )|generic( fangsong )|generic( nastaliq )`,"-non-standard-generic-family":`-apple-system|BlinkMacSystemFont`,"intrinsic-size-keyword":`min-content|max-content|fit-content`,left:`<length>|auto`,"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-space":`<rectangular-color-space>|<polar-color-space>|<custom-color-space>`,right:`<length>|auto`,"forgiving-selector-list":`<complex-real-selector-list>`,"forgiving-relative-selector-list":`<relative-real-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]`,"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,∞]>`,"xyz-space":`xyz|xyz-d50|xyz-d65`,"style-condition":`not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]`,"-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}]`,syntax:`'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>`,"syntax-component":`<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'`,"syntax-single-component":`'<' <syntax-type-name> '>'|<ident>`,"syntax-type-name":`angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function`,"syntax-combinator":`'|'`,"syntax-multiplier":`'#'|'+'`,"syntax-string":`<string>`},properties:{"--*":`<declaration-value>`,"-ms-accelerator":`false|true`,"-ms-block-progression":`tb|rl|bt|lr`,"-ms-content-zoom-chaining":`none|chained`,"-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-content-zooming":`none|zoom`,"-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-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-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-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-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>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#`,"-webkit-mask-attachment":`<attachment>#`,"-webkit-mask-clip":`[<coord-box>|no-clip|border|padding|content|text]#`,"-webkit-mask-composite":`<composite-style>#`,"-webkit-mask-image":`<mask-reference>#`,"-webkit-mask-origin":`[<coord-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`,"-webkit-user-select":`auto|none|text|all`,"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>]|anchor-center`,"align-self":`auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center`,"align-tracks":`[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#`,"alignment-baseline":`auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical`,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":`[auto|<time [0s,∞]>]#`,"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-timeline":`<single-animation-timeline>#`,"animation-timing-function":`<easing-function>#`,"animation-trigger":`[none|[<dashed-ident> <animation-action>+]+]#`,appearance:`none|auto|<compat-auto>|<compat-special>`,"aspect-ratio":`auto||<ratio>`,"backdrop-filter":`none|<filter-value-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":`<visual-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>#`,"baseline-shift":`baseline|sub|super|<svg-length>`,"baseline-source":`auto|first|last`,"block-size":`<'width'>`,border:`<line-width>||<line-style>||<color>`,"border-block":`<'border-block-start'>`,"border-block-color":`<'border-top-color'>{1,2}`,"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-block-style":`<'border-top-style'>{1,2}`,"border-block-width":`<'border-top-width'>{1,2}`,"border-bottom":`<line-width>||<line-style>||<color>`,"border-bottom-color":`<'border-top-color'>`,"border-bottom-left-radius":`<length-percentage [0,∞]>{1,2}`,"border-bottom-right-radius":`<length-percentage [0,∞]>{1,2}`,"border-bottom-style":`<line-style>`,"border-bottom-width":`<line-width>`,"border-collapse":`separate|collapse`,"border-color":`<color>{1,4}`,"border-end-end-radius":`<'border-top-left-radius'>`,"border-end-start-radius":`<'border-top-left-radius'>`,"border-image":`<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>`,"border-image-outset":`[<length [0,∞]>|<number [0,∞]>]{1,4}`,"border-image-repeat":`[stretch|repeat|round|space]{1,2}`,"border-image-slice":`[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?`,"border-image-source":`none|<image>`,"border-image-width":`[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}`,"border-inline":`<'border-block-start'>`,"border-inline-color":`<'border-top-color'>{1,2}`,"border-inline-end":`<'border-top-width'>||<'border-top-style'>||<color>`,"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-inline-style":`<'border-top-style'>{1,2}`,"border-inline-width":`<'border-top-width'>{1,2}`,"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 [0,∞]>{1,4} [/ <length-percentage [0,∞]>{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>{1,2}`,"border-start-end-radius":`<'border-top-left-radius'>`,"border-start-start-radius":`<'border-top-left-radius'>`,"border-style":`<line-style>{1,4}`,"border-top":`<line-width>||<line-style>||<color>`,"border-top-color":`<color>`,"border-top-left-radius":`<length-percentage [0,∞]>{1,2}`,"border-top-right-radius":`<length-percentage [0,∞]>{1,2}`,"border-top-style":`<line-style>`,"border-top-width":`<line-width>`,"border-width":`<line-width>{1,4}`,bottom:`auto|<length-percentage>|<anchor()>|<anchor-size()>`,"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`,caret:`<'caret-color'>||<'caret-animation'>||<'caret-shape'>`,"caret-animation":`auto|manual`,"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-height":`auto|<length [0,∞]>`,"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":`auto|<length [0,∞]>`,"column-wrap":`auto|nowrap|wrap`,columns:`[<'column-width'>||<'column-count'>] [/ <'column-height'>]?`,contain:`none|strict|content|[[size||inline-size]||layout||style||paint]`,"contain-intrinsic-block-size":`auto? [none|<length>]`,"contain-intrinsic-height":`auto? [none|<length>]`,"contain-intrinsic-inline-size":`auto? [none|<length>]`,"contain-intrinsic-size":`[auto? [none|<length>]]{1,2}`,"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>|<attr()>]+]?`,"content-visibility":`visible|auto|hidden`,"corner-block-end-shape":`<corner-shape-value>{1,2}`,"corner-block-start-shape":`<corner-shape-value>{1,2}`,"corner-bottom-shape":`<corner-shape-value>{1,2}`,"corner-bottom-left-shape":`<corner-shape-value>`,"corner-bottom-right-shape":`<corner-shape-value>`,"corner-end-end-shape":`<corner-shape-value>`,"corner-end-start-shape":`<corner-shape-value>`,"corner-inline-end-shape":`<corner-shape-value>{1,2}`,"corner-inline-start-shape":`<corner-shape-value>{1,2}`,"corner-left-shape":`<corner-shape-value>{1,2}`,"corner-right-shape":`<corner-shape-value>{1,2}`,"corner-shape":`<corner-shape-value>{1,4}`,"corner-start-start-shape":`<corner-shape-value>`,"corner-start-end-shape":`<corner-shape-value>`,"corner-top-shape":`<corner-shape-value>{1,2}`,"corner-top-left-shape":`<corner-shape-value>`,"corner-top-right-shape":`<corner-shape-value>`,"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]]`,cx:`<length>|<percentage>`,cy:`<length>|<percentage>`,d:`none|path( <string> )`,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`,"dynamic-range-limit":`standard|no-limit|constrained|<dynamic-range-limit-mix()>`,"empty-cells":`show|hide`,"field-sizing":`content|fixed`,fill:`<paint>`,"fill-opacity":`<number-zero-one>|<percentage>`,"fill-rule":`nonzero|evenodd`,filter:`none|<filter-value-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`,"flood-color":`<color>`,"flood-opacity":`<'opacity'>`,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>|<palette-mix()>`,"font-size":`<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math`,"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-variation-settings":`normal|[<string> <number>]#`,"font-weight":`<font-weight-absolute>|bolder|lighter`,"font-width":`normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded`,"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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|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|smooth|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'>`,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`,interactivity:`auto|inert`,"interest-delay":`<'interest-delay-start'>{1,2}`,"interest-delay-end":`normal|<time>`,"interest-delay-start":`normal|<time>`,"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]|anchor-center`,"justify-self":`auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center`,"justify-tracks":`[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#`,left:`auto|<length-percentage>|<anchor()>|<anchor-size()>`,"letter-spacing":`normal|<length-percentage>`,"lighting-color":`<color>`,"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:`<'margin-top'>{1,4}`,"margin-block":`<'margin-top'>{1,2}`,"margin-block-end":`<'margin-top'>`,"margin-block-start":`<'margin-top'>`,"margin-bottom":`<length-percentage>|auto|<anchor-size()>`,"margin-inline":`<'margin-top'>{1,2}`,"margin-inline-end":`<'margin-top'>`,"margin-inline-start":`<'margin-top'>`,"margin-left":`<length-percentage>|auto|<anchor-size()>`,"margin-right":`<length-percentage>|auto|<anchor-size()>`,"margin-top":`<length-percentage>|auto|<anchor-size()>`,"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":`[<coord-box>|no-clip]#`,"mask-composite":`<compositing-operator>#`,"mask-image":`<mask-reference>#`,"mask-mode":`<masking-mode>#`,"mask-origin":`<coord-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 [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>`,"max-inline-size":`<'max-width'>`,"max-lines":`none|<integer>`,"max-width":`none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>`,"min-block-size":`<'min-width'>`,"min-height":`auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>`,"min-inline-size":`<'min-width'>`,"min-width":`auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>`,"mix-blend-mode":`<blend-mode>|plus-darker|plus-lighter`,"object-fit":`fill|contain|cover|none|scale-down`,"object-position":`<position>`,"object-view-box":`none|<basic-shape-rect>`,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:`<opacity-value>`,order:`<integer>`,orphans:`<integer>`,outline:`<'outline-width'>||<'outline-style'>||<'outline-color'>`,"outline-color":`auto|<color>`,"outline-offset":`<length>`,"outline-style":`auto|<outline-line-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|<-non-standard-overflow>`,"overflow-clip-box":`padding-box|content-box`,"overflow-clip-margin":`<visual-box>||<length [0,∞]>`,"overflow-inline":`visible|hidden|clip|scroll|auto|<-non-standard-overflow>`,"overflow-wrap":`normal|break-word|anywhere`,"overflow-x":`visible|hidden|clip|scroll|auto|<-non-standard-overflow>`,"overflow-y":`visible|hidden|clip|scroll|auto|<-non-standard-overflow>`,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:`<'padding-top'>{1,4}`,"padding-block":`<'padding-top'>{1,2}`,"padding-block-end":`<'padding-top'>`,"padding-block-start":`<'padding-top'>`,"padding-bottom":`<length-percentage [0,∞]>`,"padding-inline":`<'padding-top'>{1,2}`,"padding-inline-end":`<'padding-top'>`,"padding-inline-start":`<'padding-top'>`,"padding-left":`<length-percentage [0,∞]>`,"padding-right":`<length-percentage [0,∞]>`,"padding-top":`<length-percentage [0,∞]>`,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|none|<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>`,"reading-flow":`normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order`,"reading-order":`<integer>`,resize:`none|both|horizontal|vertical|block|inline`,right:`auto|<length-percentage>|<anchor()>|<anchor-size()>`,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-overhang":`auto|none`,"ruby-position":`[alternate||[over|under]]|inter-character`,rx:`<length>|<percentage>`,ry:`<length>|<percentage>`,scale:`none|[<number>|<percentage>]{1,3}`,"scroll-behavior":`auto|smooth`,"scroll-initial-target":`none|nearest`,"scroll-margin":`<length>{1,4}`,"scroll-margin-block":`<length>{1,2}`,"scroll-margin-block-end":`<length>`,"scroll-margin-block-start":`<length>`,"scroll-margin-bottom":`<length>`,"scroll-margin-inline":`<length>{1,2}`,"scroll-margin-inline-end":`<length>`,"scroll-margin-inline-start":`<length>`,"scroll-margin-left":`<length>`,"scroll-margin-right":`<length>`,"scroll-margin-top":`<length>`,"scroll-marker-group":`none|before|after`,"scroll-padding":`[auto|<length-percentage>]{1,4}`,"scroll-padding-block":`[auto|<length-percentage>]{1,2}`,"scroll-padding-block-end":`auto|<length-percentage>`,"scroll-padding-block-start":`auto|<length-percentage>`,"scroll-padding-bottom":`auto|<length-percentage>`,"scroll-padding-inline":`[auto|<length-percentage>]{1,2}`,"scroll-padding-inline-end":`auto|<length-percentage>`,"scroll-padding-inline-start":`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-target-group":`none|auto`,"scroll-timeline":`[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#`,"scroll-timeline-axis":`[block|inline|x|y]#`,"scroll-timeline-name":`[none|<dashed-ident>]#`,"scrollbar-color":`auto|<color>{2}`,"scrollbar-gutter":`auto|stable&&both-edges?`,"scrollbar-width":`auto|thin|none`,"shape-image-threshold":`<opacity-value>`,"shape-margin":`<length-percentage>`,"shape-outside":`none|[<shape-box>||<basic-shape>]|<image>`,"shape-rendering":`auto|optimizeSpeed|crispEdges|geometricPrecision`,"speak-as":`normal|spell-out||digits||[literal-punctuation|no-punctuation]`,"stop-color":`<'color'>`,"stop-opacity":`<'opacity'>`,stroke:`<paint>`,"stroke-color":`<color>`,"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-autospace":`normal|<autospace>|auto`,"text-box":`normal|<'text-box-trim'>||<'text-box-edge'>`,"text-box-edge":`auto|<text-edge>`,"text-box-trim":`none|trim-start|trim-end|trim-both`,"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-inset":`<length>{1,2}|auto`,"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`,"text-transform":`none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto`,"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":`wrap|nowrap`,"text-wrap-style":`auto|balance|stable|pretty`,"timeline-scope":`none|<dashed-ident>#`,"timeline-trigger":`none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#`,"timeline-trigger-name":`none|<dashed-ident>#`,"timeline-trigger-exit-range":`[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#`,"timeline-trigger-exit-range-end":`[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#`,"timeline-trigger-exit-range-start":`[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#`,"timeline-trigger-range":`[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#`,"timeline-trigger-range-end":`[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#`,"timeline-trigger-range-start":`[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#`,"timeline-trigger-source":`<single-animation-timeline>#`,top:`auto|<length-percentage>|<anchor()>|<anchor-size()>`,"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>?]?`,"trigger-scope":`none|all|<dashed-ident>#`,"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|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-inset'>]?]#`,"view-timeline-axis":`[block|inline|x|y]#`,"view-timeline-inset":`[[auto|<length-percentage>]{1,2}]#`,"view-timeline-name":`[none|<dashed-ident>]#`,"view-transition-class":`none|<custom-ident>+`,"view-transition-name":`none|<custom-ident>|match-element`,visibility:`visible|hidden|collapse`,"white-space":`normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>`,"white-space-collapse":`collapse|preserve|preserve-breaks|preserve-spaces|break-spaces`,widows:`<integer>`,width:`auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|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 [0,∞]>||<percentage [0,∞]>`,"-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":`[<visual-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`,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`,"position-try-options":`<'position-try-fallbacks'>`,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`,speak:`auto|never|always`,"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 [0,∞]>&&<symbol>]#`,fallback:`<counter-style-name>`,negative:`<symbol> <symbol>?`,pad:`<integer [0,∞]>&&<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>]`}},container:{prelude:`[<container-name>]? <container-condition>`,descriptors:null},document:{prelude:`[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#`,descriptors:null},"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-stretch":`<font-stretch-absolute>{1,2}`,"font-style":`normal|italic|oblique <angle>{0,2}`,"font-variation-settings":`normal|[<string> <number>]#`,"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},"font-palette-values":{prelude:`<dashed-ident>`,descriptors:{"base-palette":`light|dark|<integer [0,∞]>`,"font-family":`<family-name>#`,"override-colors":`[<integer [0,∞]> <color>]#`}},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 [0,∞]>{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:{inherits:`true|false`,"initial-value":`<declaration-value>?`,syntax:`<string>`}},scope:{prelude:`[( <scope-start> )]? [to ( <scope-end> )]?`,descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:`<supports-condition>`,descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:`auto|none`,types:`none|<custom-ident>+`}},"font-features-values":{prelude:`[<string>|<custom-ident>]+`,descriptors:{"font-display":`auto|block|swap|fallback|optional`}}}},yh=e({generate:()=>jh,name:()=>Oh,parse:()=>Ah,structure:()=>kh}),bh=43,$=45,xh=110,Sh=!0,Ch=!1;function wh(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===bh||r===$)&&(t&&this.error(`Number sign is not allowed`),n++);n<this.tokenEnd;n++)H(this.charCodeAt(n))||this.error(`Integer is expected`,n)}function Th(e){return wh.call(this,0,e)}function Eh(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n=``;switch(t){case xh:n=`N is expected`;break;case $:n=`HyphenMinus is expected`;break}this.error(n,this.tokenStart+e)}}function Dh(){let e=0,t=0,n=this.tokenType;for(;n===13||n===25;)n=this.lookupType(++e);if(n!==10)if(this.isDelim(bh,e)||this.isDelim($,e)){t=this.isDelim(bh,e)?bh:$;do n=this.lookupType(++e);while(n===13||n===25);n!==10&&(this.skip(e),Th.call(this,Sh))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==bh&&n!==$&&this.error(`Number sign is expected`)),Th.call(this,t!==0),t===$?`-`+this.consume(10):this.consume(10)}var Oh=`AnPlusB`,kh={a:[String,null],b:[String,null]};function Ah(){let e=this.tokenStart,t=null,n=null;if(this.tokenType===10)Th.call(this,Ch),n=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,$))switch(t=`-1`,Eh.call(this,1,xh),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Dh.call(this);break;case 3:Eh.call(this,2,$),this.next(),this.skipSC(),Th.call(this,Sh),n=`-`+this.consume(10);break;default:Eh.call(this,2,$),wh.call(this,3,Sh),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(bh)&&this.lookupType(1)===1){let r=0;switch(t=`1`,this.isDelim(bh)&&(r=1,this.next()),Eh.call(this,0,xh),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Dh.call(this);break;case 2:Eh.call(this,1,$),this.next(),this.skipSC(),Th.call(this,Sh),n=`-`+this.consume(10);break;default:Eh.call(this,1,$),wh.call(this,2,Sh),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===12){let r=this.charCodeAt(this.tokenStart),i=r===bh||r===$,a=this.tokenStart+i;for(;a<this.tokenEnd&&H(this.charCodeAt(a));a++);a===this.tokenStart+i&&this.error(`Integer is expected`,this.tokenStart+i),Eh.call(this,a-this.tokenStart,xh),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=Dh.call(this)):(Eh.call(this,a-this.tokenStart+1,$),a+2===this.tokenEnd?(this.next(),this.skipSC(),Th.call(this,Sh),n=`-`+this.consume(10)):(wh.call(this,a-this.tokenStart+2,Sh),this.next(),n=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===bh&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===bh&&(n=n.substr(1)),{type:`AnPlusB`,loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function jh(e){if(e.a){let t=e.a===`+1`&&`n`||e.a===`1`&&`n`||e.a===`-1`&&`-n`||e.a+`n`;if(e.b){let n=e.b[0]===`-`||e.b[0]===`+`?e.b:`+`+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}var Mh=e({generate:()=>zh,name:()=>Fh,parse:()=>Rh,structure:()=>Lh,walkContext:()=>Ih});function Nh(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Ph(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}var Fh=`Atrule`,Ih=`atrule`,Lh={name:String,prelude:[`AtrulePrelude`,`Raw`,null],block:[`Block`,null]};function Rh(e=!1){let t=this.tokenStart,n,r,i=null,a=null;switch(this.eat(3),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(i=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),Nh):Nh.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:a=hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block==`function`?this.atrule[r].block.call(this,e):this.Block(Ph.call(this));break}return{type:`Atrule`,loc:this.getLocation(t,this.tokenStart),name:n,prelude:i,block:a}}function zh(e){this.token(3,`@`+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,`;`)}var Bh=e({generate:()=>Gh,name:()=>Vh,parse:()=>Wh,structure:()=>Uh,walkContext:()=>Hh}),Vh=`AtrulePrelude`,Hh=`atrulePrelude`,Uh={children:[[]]};function Wh(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude==`function`?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error(`Semicolon or block is expected`),{type:`AtrulePrelude`,loc:this.getLocationFromList(t),children:t}}function Gh(e){this.children(e)}var Kh=e({generate:()=>ig,name:()=>tg,parse:()=>rg,structure:()=>ng}),qh=36,Jh=42,Yh=61,Xh=94,Zh=124,Qh=126;function $h(){this.eof&&this.error(`Unexpected end of input`);let e=this.tokenStart,t=!1;return this.isDelim(Jh)?(t=!0,this.next()):this.isDelim(Zh)||this.eat(1),this.isDelim(Zh)?this.charCodeAt(this.tokenStart+1)===Yh?t&&this.error(`Identifier is expected`,this.tokenEnd):(this.next(),this.eat(1)):t&&this.error(`Vertical line is expected`),{type:`Identifier`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function eg(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Yh&&t!==Qh&&t!==Xh&&t!==qh&&t!==Jh&&t!==Zh&&this.error(`Attribute selector (=, ~=, ^=, $=, *=, |=) is expected`),this.next(),t!==Yh&&(this.isDelim(Yh)||this.error(`Equal sign is expected`),this.next()),this.substrToCursor(e)}var tg=`AttributeSelector`,ng={name:`Identifier`,matcher:[String,null],value:[`String`,`Identifier`,null],flags:[String,null]};function rg(){let e=this.tokenStart,t,n=null,r=null,i=null;return this.eat(19),this.skipSC(),t=$h.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(n=eg.call(this),this.skipSC(),r=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:`AttributeSelector`,loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:i}}function ig(e){this.token(9,`[`),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,`]`)}var ag=e({generate:()=>hg,name:()=>dg,parse:()=>mg,structure:()=>pg,walkContext:()=>fg}),og=38;function sg(){return this.Raw(null,!0)}function cg(){return this.parseWithFallback(this.Rule,sg)}function lg(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function ug(){if(this.tokenType===17)return lg.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,lg);return this.tokenType===17&&this.next(),e}var dg=`Block`,fg=`block`,pg={children:[[`Atrule`,`Rule`,`Declaration`]]};function mg(e){let t=e?ug:cg,n=this.tokenStart,r=this.createList();this.eat(23);scan:for(;!this.eof;)switch(this.tokenType){case 24:break scan;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),sg));break;default:e&&this.isDelim(og)?r.push(cg.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:`Block`,loc:this.getLocation(n,this.tokenStart),children:r}}function hg(e){this.token(23,`{`),this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)}),this.token(24,`}`)}var gg=e({generate:()=>bg,name:()=>_g,parse:()=>yg,structure:()=>vg}),_g=`Brackets`,vg={children:[[]]};function yg(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:`Brackets`,loc:this.getLocation(n,this.tokenStart),children:r}}function bg(e){this.token(9,`[`),this.children(e),this.token(9,`]`)}var xg=e({generate:()=>wg,name:()=>`CDC`,parse:()=>Cg,structure:()=>Sg}),Sg=[];function Cg(){let e=this.tokenStart;return this.eat(15),{type:`CDC`,loc:this.getLocation(e,this.tokenStart)}}function wg(){this.token(15,`-->`)}var Tg=e({generate:()=>Og,name:()=>`CDO`,parse:()=>Dg,structure:()=>Eg}),Eg=[];function Dg(){let e=this.tokenStart;return this.eat(14),{type:`CDO`,loc:this.getLocation(e,this.tokenStart)}}function Og(){this.token(14,`<!--`)}var kg=e({generate:()=>Pg,name:()=>jg,parse:()=>Ng,structure:()=>Mg}),Ag=46,jg=`ClassSelector`,Mg={name:String};function Ng(){return this.eatDelim(Ag),{type:`ClassSelector`,loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function Pg(e){this.token(9,`.`),this.token(1,e.name)}var Fg=e({generate:()=>Ug,name:()=>Bg,parse:()=>Hg,structure:()=>Vg}),Ig=43,Lg=47,Rg=62,zg=126,Bg=`Combinator`,Vg={name:String};function Hg(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=` `;break;case 9:switch(this.charCodeAt(this.tokenStart)){case Rg:case Ig:case zg:this.next();break;case Lg:this.next(),this.eatIdent(`deep`),this.eatDelim(Lg);break;default:this.error(`Combinator is expected`)}t=this.substrToCursor(e);break}return{type:`Combinator`,loc:this.getLocation(e,this.tokenStart),name:t}}function Ug(e){this.tokenize(e.name)}var Wg=e({generate:()=>Xg,name:()=>qg,parse:()=>Yg,structure:()=>Jg}),Gg=42,Kg=47,qg=`Comment`,Jg={value:String};function Yg(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===Gg&&this.charCodeAt(t-1)===Kg&&(t-=2),{type:`Comment`,loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function Xg(e){this.token(25,`/*`+e.value+`*/`)}var Zg=e({generate:()=>i_,name:()=>$g,parse:()=>r_,structure:()=>e_}),Qg=new Set([16,22,0]),$g=`Condition`,e_={kind:String,children:[[`Identifier`,`Feature`,`FeatureFunction`,`FeatureRange`,`SupportsDeclaration`]]};function t_(e){return this.lookupTypeNonSC(1)===1&&Qg.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}var n_={media:t_,container:t_,supports(){return this.SupportsDeclaration()}};function r_(e=`media`){let t=this.createList();scan:for(;!this.eof;)switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t.push(this.Identifier());break;case 21:{let n=this.parseWithFallback(()=>n_[e].call(this,e),()=>null);n||=this.parseWithFallback(()=>{this.eat(21);let t=this.Condition(e);return this.eat(22),t},()=>this.GeneralEnclosed(e)),t.push(n);break}case 2:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||=this.GeneralEnclosed(e),t.push(n);break}default:break scan}return t.isEmpty&&this.error(`Condition is expected`),{type:`Condition`,loc:this.getLocationFromList(t),kind:e,children:t}}function i_(e){e.children.forEach(e=>{e.type===`Condition`?(this.token(21,`(`),this.node(e),this.token(22,`)`)):this.node(e)})}var a_=e({generate:()=>b_,name:()=>g_,parse:()=>y_,structure:()=>v_,walkContext:()=>__}),o_=33,s_=35,c_=36,l_=38,u_=42,d_=43,f_=47;function p_(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function m_(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function h_(){let e=this.tokenIndex,t=this.Value();return t.type!==`Raw`&&this.eof===!1&&this.tokenType!==17&&this.isDelim(o_)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var g_=`Declaration`,__=`declaration`,v_={important:[Boolean,String],property:String,value:[`Value`,`Raw`]};function y_(){let e=this.tokenStart,t=this.tokenIndex,n=x_.call(this),r=nf(n),i=r?this.parseCustomProperty:this.parseValue,a=r?m_:p_,o=!1,s;this.skipSC(),this.eat(16);let c=this.tokenIndex;if(r||this.skipSC(),s=i?this.parseWithFallback(h_,a):a.call(this,this.tokenIndex),r&&s.type===`Value`&&s.children.isEmpty){for(let e=c-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){s.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}return this.isDelim(o_)&&(o=S_.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:`Declaration`,loc:this.getLocation(e,this.tokenStart),important:o,property:n,value:s}}function b_(e){this.token(1,e.property),this.token(16,`:`),this.node(e.value),e.important&&(this.token(9,`!`),this.token(1,e.important===!0?`important`:e.important))}function x_(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case u_:case c_:case d_:case s_:case l_:this.next();break;case f_:this.next(),this.isDelim(f_)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function S_(){this.eat(9),this.skipSC();let e=this.consume(1);return e===`important`?!0:e}var C_=e({generate:()=>k_,name:()=>E_,parse:()=>O_,structure:()=>D_}),w_=38;function T_(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}var E_=`DeclarationList`,D_={children:[[`Declaration`,`Atrule`,`Rule`]]};function O_(){let e=this.createList();scan:for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),T_));break;default:this.isDelim(w_)?e.push(this.parseWithFallback(this.Rule,T_)):e.push(this.parseWithFallback(this.Declaration,T_))}return{type:`DeclarationList`,loc:this.getLocationFromList(e),children:e}}function k_(e){this.children(e,e=>{e.type===`Declaration`&&this.token(17,`;`)})}var A_=e({generate:()=>P_,name:()=>j_,parse:()=>N_,structure:()=>M_}),j_=`Dimension`,M_={value:String,unit:String};function N_(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:`Dimension`,loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function P_(e){this.token(12,e.value+e.unit)}var F_=e({generate:()=>B_,name:()=>L_,parse:()=>z_,structure:()=>R_}),I_=47,L_=`Feature`,R_={kind:String,name:String,value:[`Identifier`,`Number`,`Dimension`,`Ratio`,`Function`,null]};function z_(e){let t=this.tokenStart,n,r=null;if(this.eat(21),this.skipSC(),n=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:r=this.lookupNonWSType(1)===9?this.Ratio():this.Number();break;case 12:r=this.Dimension();break;case 1:r=this.Identifier();break;case 2:r=this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(I_)&&this.error(),e},()=>this.Ratio());break;default:this.error(`Number, dimension, ratio or identifier is expected`)}this.skipSC()}return this.eof||this.eat(22),{type:`Feature`,loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function B_(e){this.token(21,`(`),this.token(1,e.name),e.value!==null&&(this.token(16,`:`),this.node(e.value)),this.token(22,`)`)}var V_=e({generate:()=>K_,name:()=>H_,parse:()=>G_,structure:()=>U_}),H_=`FeatureFunction`,U_={kind:String,feature:String,value:[`Declaration`,`Selector`]};function W_(e,t){let n=(this.features[e]||{})[t];return typeof n!=`function`&&this.error(`Unknown feature ${t}()`),n}function G_(e=`unknown`){let t=this.tokenStart,n=this.consumeFunctionName(),r=W_.call(this,e,n.toLowerCase());this.skipSC();let i=this.parseWithFallback(()=>{let e=this.tokenIndex,t=r.call(this);return this.eof===!1&&this.isBalanceEdge(e)===!1&&this.error(),t},()=>this.Raw(null,!1));return this.eof||this.eat(22),{type:`FeatureFunction`,loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:i}}function K_(e){this.token(2,e.feature+`(`),this.node(e.value),this.token(22,`)`)}var q_=e({generate:()=>rv,name:()=>Q_,parse:()=>nv,structure:()=>$_}),J_=47,Y_=60,X_=61,Z_=62,Q_=`FeatureRange`,$_={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 ev(){switch(this.skipSC(),this.tokenType){case 10:return this.isDelim(J_,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case 12:return this.Dimension();case 1:return this.Identifier();case 2:return this.parseWithFallback(()=>{let e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(J_)&&this.error(),e},()=>this.Ratio());default:this.error(`Number, dimension, ratio or identifier is expected`)}}function tv(e){if(this.skipSC(),this.isDelim(Y_)||this.isDelim(Z_)){let e=this.source[this.tokenStart];return this.next(),this.isDelim(X_)?(this.next(),e+`=`):e}if(this.isDelim(X_))return`=`;this.error(`Expected ${e?`":", `:``}"<", ">", "=" or ")"`)}function nv(e=`unknown`){let t=this.tokenStart;this.skipSC(),this.eat(21);let n=ev.call(this),r=tv.call(this,n.type===`Identifier`),i=ev.call(this),a=null,o=null;return this.lookupNonWSType(0)!==22&&(a=tv.call(this),o=ev.call(this)),this.skipSC(),this.eat(22),{type:`FeatureRange`,loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:i,rightComparison:a,right:o}}function rv(e){this.token(21,`(`),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(22,`)`)}var iv=e({generate:()=>lv,name:()=>av,parse:()=>cv,structure:()=>sv,walkContext:()=>ov}),av=`Function`,ov=`function`,sv={name:String,children:[[]]};function cv(e,t){let n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase(),a;return a=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:`Function`,loc:this.getLocation(n,this.tokenStart),name:r,children:a}}function lv(e){this.token(2,e.name+`(`),this.children(e),this.token(22,`)`)}var uv=e({generate:()=>mv,name:()=>dv,parse:()=>pv,structure:()=>fv}),dv=`GeneralEnclosed`,fv={kind:String,function:[String,null],children:[[]]};function pv(e){let t=this.tokenStart,n=null;this.tokenType===2?n=this.consumeFunctionName():this.eat(21);let r=this.parseWithFallback(()=>{let e=this.tokenIndex,t=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(e)===!1&&this.error(),t},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(22),{type:`GeneralEnclosed`,loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function mv(e){e.function?this.token(2,e.function+`(`):this.token(21,`(`),this.children(e),this.token(22,`)`)}var hv=e({generate:()=>yv,name:()=>gv,parse:()=>vv,structure:()=>_v,xxx:()=>`XXX`}),gv=`Hash`,_v={value:String};function vv(){let e=this.tokenStart;return this.eat(4),{type:`Hash`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function yv(e){this.token(4,`#`+e.value)}var bv=e({generate:()=>wv,name:()=>xv,parse:()=>Cv,structure:()=>Sv}),xv=`Identifier`,Sv={name:String};function Cv(){return{type:`Identifier`,loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function wv(e){this.token(1,e.name)}var Tv=e({generate:()=>kv,name:()=>Ev,parse:()=>Ov,structure:()=>Dv}),Ev=`IdSelector`,Dv={name:String};function Ov(){let e=this.tokenStart;return this.eat(4),{type:`IdSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function kv(e){this.token(9,`#`+e.name)}var Av=e({generate:()=>Fv,name:()=>Mv,parse:()=>Pv,structure:()=>Nv}),jv=46,Mv=`Layer`,Nv={name:String};function Pv(){let e=this.tokenStart,t=this.consume(1);for(;this.isDelim(jv);)this.eat(9),t+=`.`+this.consume(1);return{type:`Layer`,loc:this.getLocation(e,this.tokenStart),name:t}}function Fv(e){this.tokenize(e.name)}var Iv=e({generate:()=>Bv,name:()=>Lv,parse:()=>zv,structure:()=>Rv}),Lv=`LayerList`,Rv={children:[[`Layer`]]};function zv(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===18);)this.skipSC(),this.next(),this.skipSC();return{type:`LayerList`,loc:this.getLocationFromList(e),children:e}}function Bv(e){this.children(e,()=>this.token(18,`,`))}var Vv=e({generate:()=>Gv,name:()=>Hv,parse:()=>Wv,structure:()=>Uv}),Hv=`MediaQuery`,Uv={modifier:[String,null],mediaType:[String,null],condition:[`Condition`,null]};function Wv(){let e=this.tokenStart,t=null,n=null,r=null;if(this.skipSC(),this.tokenType===1&&this.lookupTypeNonSC(1)!==21){let e=this.consume(1),i=e.toLowerCase();switch(i===`not`||i===`only`?(this.skipSC(),t=i,n=this.consume(1)):n=e,this.lookupTypeNonSC(0)){case 1:this.skipSC(),this.eatIdent(`and`),r=this.Condition(`media`);break;case 23:case 17:case 18:case 0:break;default:this.error(`Identifier or parenthesis is expected`)}}else switch(this.tokenType){case 1:case 21:case 2:r=this.Condition(`media`);break;case 23:case 17:case 0: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 Gv(e){e.mediaType?(e.modifier&&this.token(1,e.modifier),this.token(1,e.mediaType),e.condition&&(this.token(1,`and`),this.node(e.condition))):e.condition&&this.node(e.condition)}var Kv=e({generate:()=>Xv,name:()=>qv,parse:()=>Yv,structure:()=>Jv}),qv=`MediaQueryList`,Jv={children:[[`MediaQuery`]]};function Yv(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:`MediaQueryList`,loc:this.getLocationFromList(e),children:e}}function Xv(e){this.children(e,()=>this.token(18,`,`))}var Zv=e({generate:()=>ny,name:()=>$v,parse:()=>ty,structure:()=>ey}),Qv=38,$v=`NestingSelector`,ey={};function ty(){let e=this.tokenStart;return this.eatDelim(Qv),{type:`NestingSelector`,loc:this.getLocation(e,this.tokenStart)}}function ny(){this.token(9,`&`)}var ry=e({generate:()=>oy,name:()=>`Nth`,parse:()=>ay,structure:()=>iy}),iy={nth:[`AnPlusB`,`Identifier`],selector:[`SelectorList`,null]};function ay(){this.skipSC();let e=this.tokenStart,t=e,n=null,r;return r=this.lookupValue(0,`odd`)||this.lookupValue(0,`even`)?this.Identifier():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 oy(e){this.node(e.nth),e.selector!==null&&(this.token(1,`of`),this.node(e.selector))}var sy=e({generate:()=>dy,name:()=>cy,parse:()=>uy,structure:()=>ly}),cy=`Number`,ly={value:String};function uy(){return{type:`Number`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function dy(e){this.token(10,e.value)}var fy=e({generate:()=>gy,name:()=>py,parse:()=>hy,structure:()=>my}),py=`Operator`,my={value:String};function hy(){let e=this.tokenStart;return this.next(),{type:`Operator`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function gy(e){this.tokenize(e.value)}var _y=e({generate:()=>xy,name:()=>vy,parse:()=>by,structure:()=>yy}),vy=`Parentheses`,yy={children:[[]]};function by(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:`Parentheses`,loc:this.getLocation(n,this.tokenStart),children:r}}function xy(e){this.token(21,`(`),this.children(e),this.token(22,`)`)}var Sy=e({generate:()=>Ey,name:()=>Cy,parse:()=>Ty,structure:()=>wy}),Cy=`Percentage`,wy={value:String};function Ty(){return{type:`Percentage`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function Ey(e){this.token(11,e.value+`%`)}var Dy=e({generate:()=>My,name:()=>Oy,parse:()=>jy,structure:()=>Ay,walkContext:()=>ky}),Oy=`PseudoClassSelector`,ky=`function`,Ay={name:String,children:[[`Raw`],null]};function jy(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==22?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(22)):n=this.consume(1),{type:`PseudoClassSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function My(e){this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var Ny=e({generate:()=>Ry,name:()=>Py,parse:()=>Ly,structure:()=>Iy,walkContext:()=>Fy}),Py=`PseudoElementSelector`,Fy=`function`,Iy={name:String,children:[[`Raw`],null]};function Ly(){let e=this.tokenStart,t=null,n,r;return this.eat(16),this.eat(16),this.tokenType===2?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==22?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(22)):n=this.consume(1),{type:`PseudoElementSelector`,loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Ry(e){this.token(16,`:`),this.token(16,`:`),e.children===null?this.token(1,e.name):(this.token(2,e.name+`(`),this.children(e),this.token(22,`)`))}var zy=e({generate:()=>Gy,name:()=>Hy,parse:()=>Wy,structure:()=>Uy}),By=47;function Vy(){switch(this.skipSC(),this.tokenType){case 10:return this.Number();case 2:return this.Function(this.readSequence,this.scope.Value);default:this.error(`Number of function is expected`)}}var Hy=`Ratio`,Uy={left:[`Number`,`Function`],right:[`Number`,`Function`,null]};function Wy(){let e=this.tokenStart,t=Vy.call(this),n=null;return this.skipSC(),this.isDelim(By)&&(this.eatDelim(By),n=Vy.call(this)),{type:`Ratio`,loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Gy(e){this.node(e.left),this.token(9,`/`),e.right?this.node(e.right):this.node(10,1)}var Ky=e({generate:()=>Xy,name:()=>`Raw`,parse:()=>Yy,structure:()=>Jy});function qy(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var Jy={value:String};function Yy(e,t){let n=this.getTokenStart(this.tokenIndex),r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),r=t&&this.tokenStart>n?qy.call(this):this.tokenStart,{type:`Raw`,loc:this.getLocation(n,r),value:this.substring(n,r)}}function Xy(e){this.tokenize(e.value)}var Zy=e({generate:()=>ib,name:()=>eb,parse:()=>rb,structure:()=>nb,walkContext:()=>tb});function Qy(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function $y(){let e=this.SelectorList();return e.type!==`Raw`&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var eb=`Rule`,tb=`rule`,nb={prelude:[`SelectorList`,`Raw`],block:[`Block`]};function rb(){let e=this.tokenIndex,t=this.tokenStart,n,r;return n=this.parseRulePrelude?this.parseWithFallback($y,Qy):Qy.call(this,e),r=this.Block(!0),{type:`Rule`,loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function ib(e){this.node(e.prelude),this.node(e.block)}var ab=e({generate:()=>lb,name:()=>ob,parse:()=>cb,structure:()=>sb}),ob=`Scope`,sb={root:[`SelectorList`,`Raw`,null],limit:[`SelectorList`,`Raw`,null]};function cb(){let e=null,t=null;this.skipSC();let n=this.tokenStart;return this.tokenType===21&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),this.lookupNonWSType(0)===1&&(this.skipSC(),this.eatIdent(`to`),this.skipSC(),this.eat(21),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(22)),{type:`Scope`,loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function lb(e){e.root&&(this.token(21,`(`),this.node(e.root),this.token(22,`)`)),e.limit&&(this.token(1,`to`),this.token(21,`(`),this.node(e.limit),this.token(22,`)`))}var ub=e({generate:()=>mb,name:()=>db,parse:()=>pb,structure:()=>fb}),db=`Selector`,fb={children:[[`TypeSelector`,`IdSelector`,`ClassSelector`,`AttributeSelector`,`PseudoClassSelector`,`PseudoElementSelector`,`Combinator`]]};function pb(){let 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 mb(e){this.children(e)}var hb=e({generate:()=>bb,name:()=>gb,parse:()=>yb,structure:()=>vb,walkContext:()=>_b}),gb=`SelectorList`,_b=`selector`,vb={children:[[`Selector`,`Raw`]]};function yb(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:`SelectorList`,loc:this.getLocationFromList(e),children:e}}function bb(e){this.children(e,()=>this.token(18,`,`))}var xb=92,Sb=34,Cb=39;function wb(e){let t=e.length,n=e.charCodeAt(0),r=n===Sb||n===Cb?1:0,i=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,a=``;for(let n=r;n<=i;n++){let r=e.charCodeAt(n);if(r===xb){if(n===i){n!==t-1&&(a=e.substr(n+1));break}if(r=e.charCodeAt(++n),uu(xb,r)){let t=n-1,r=Cu(e,t);n=r-1,a+=Du(e.substring(t+1,r))}else r===13&&e.charCodeAt(n+1)===10&&n++}else a+=e[n]}return a}function Tb(e,t){let n=t?`'`:`"`,r=t?Cb:Sb,i=``,a=!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===0){i+=`�`;continue}if(n<=31||n===127){i+=`\\`+n.toString(16),a=!0;continue}n===r||n===xb?(i+=`\\`+e.charAt(t),a=!1):(a&&(eu(n)||lu(n))&&(i+=` `),i+=e.charAt(t),a=!1)}return n+i+n}var Eb=e({generate:()=>Ab,name:()=>Db,parse:()=>kb,structure:()=>Ob}),Db=`String`,Ob={value:String};function kb(){return{type:`String`,loc:this.getLocation(this.tokenStart,this.tokenEnd),value:wb(this.consume(5))}}function Ab(e){this.token(5,Tb(e.value))}var jb=e({generate:()=>Rb,name:()=>Pb,parse:()=>Lb,structure:()=>Ib,walkContext:()=>Fb}),Mb=33;function Nb(){return this.Raw(null,!1)}var Pb=`StyleSheet`,Fb=`stylesheet`,Ib={children:[[`Comment`,`CDO`,`CDC`,`Atrule`,`Rule`,`Raw`]]};function Lb(){let e=this.tokenStart,t=this.createList(),n;scan:for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==Mb){this.next();continue}n=this.Comment();break;case 14:n=this.CDO();break;case 15:n=this.CDC();break;case 3:n=this.parseWithFallback(this.Atrule,Nb);break;default:n=this.parseWithFallback(this.Rule,Nb)}t.push(n)}return{type:`StyleSheet`,loc:this.getLocation(e,this.tokenStart),children:t}}function Rb(e){this.children(e)}var zb=e({generate:()=>Ub,name:()=>Bb,parse:()=>Hb,structure:()=>Vb}),Bb=`SupportsDeclaration`,Vb={declaration:`Declaration`};function Hb(){let e=this.tokenStart;this.eat(21),this.skipSC();let t=this.Declaration();return this.eof||this.eat(22),{type:`SupportsDeclaration`,loc:this.getLocation(e,this.tokenStart),declaration:t}}function Ub(e){this.token(21,`(`),this.node(e.declaration),this.token(22,`)`)}var Wb=e({generate:()=>Zb,name:()=>Jb,parse:()=>Xb,structure:()=>Yb}),Gb=42,Kb=124;function qb(){this.tokenType!==1&&this.isDelim(Gb)===!1&&this.error(`Identifier or asterisk is expected`),this.next()}var Jb=`TypeSelector`,Yb={name:String};function Xb(){let e=this.tokenStart;return this.isDelim(Kb)?(this.next(),qb.call(this)):(qb.call(this),this.isDelim(Kb)&&(this.next(),qb.call(this))),{type:`TypeSelector`,loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Zb(e){this.tokenize(e.name)}var Qb=e({generate:()=>lx,name:()=>ox,parse:()=>cx,structure:()=>sx}),$b=43,ex=45,tx=63;function nx(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){let i=this.charCodeAt(r);if(i===ex&&t&&n!==0)return nx.call(this,e+n+1,!1),-1;eu(i)||this.error(t&&n!==0?`Hyphen minus`+(n<6?` or hex digit`:``)+` is expected`:n<6?`Hex digit is expected`:`Unexpected input`,r),++n>6&&this.error(`Too many hex digits`,r)}return this.next(),n}function rx(e){let t=0;for(;this.isDelim(tx);)++t>e&&this.error(`Too many question marks`),this.next()}function ix(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===$b?`Plus sign`:`Hyphen minus`)+` is expected`)}function ax(){let e=0;switch(this.tokenType){case 10:if(e=nx.call(this,1,!0),this.isDelim(tx)){rx.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){ix.call(this,ex),nx.call(this,1,!1);break}break;case 12:e=nx.call(this,1,!0),e>0&&rx.call(this,6-e);break;default:if(this.eatDelim($b),this.tokenType===1){e=nx.call(this,0,!0),e>0&&rx.call(this,6-e);break}if(this.isDelim(tx)){this.next(),rx.call(this,5);break}this.error(`Hex digit or question mark is expected`)}}var ox=`UnicodeRange`,sx={value:String};function cx(){let e=this.tokenStart;return this.eatIdent(`u`),ax.call(this),{type:`UnicodeRange`,loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function lx(e){this.tokenize(e.value)}var ux=32,dx=92,fx=34,px=39,mx=40,hx=41;function gx(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===hx?t-2:t-1,i=``;for(;n<r&&lu(e.charCodeAt(n));)n++;for(;n<r&&lu(e.charCodeAt(r));)r--;for(let a=n;a<=r;a++){let n=e.charCodeAt(a);if(n===dx){if(a===r){a!==t-1&&(i=e.substr(a+1));break}if(n=e.charCodeAt(++a),uu(dx,n)){let t=a-1,n=Cu(e,t);a=n-1,i+=Du(e.substring(t+1,n))}else n===13&&e.charCodeAt(a+1)===10&&a++}else i+=e[a]}return i}function _x(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0){t+=`�`;continue}if(i<=31||i===127){t+=`\\`+i.toString(16),n=!0;continue}i===ux||i===dx||i===fx||i===px||i===mx||i===hx?(t+=`\\`+e.charAt(r),n=!1):(n&&eu(i)&&(t+=` `),t+=e.charAt(r),n=!1)}return`url(`+t+`)`}var vx=e({generate:()=>xx,name:()=>`Url`,parse:()=>bx,structure:()=>yx}),yx={value:String};function bx(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=gx(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=wb(this.consume(5)),this.skipSC(),this.eof||this.eat(22);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(7,_x(e.value))}var Sx=e({generate:()=>Ex,name:()=>Cx,parse:()=>Tx,structure:()=>wx}),Cx=`Value`,wx={children:[[]]};function Tx(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:`Value`,loc:this.getLocation(e,this.tokenStart),children:t}}function Ex(e){this.children(e)}var Dx=e({generate:()=>Mx,name:()=>kx,parse:()=>jx,structure:()=>Ax}),Ox=Object.freeze({type:`WhiteSpace`,loc:null,value:` `}),kx=`WhiteSpace`,Ax={value:String};function jx(){return this.eat(13),Ox}function Mx(e){this.token(13,e.value)}var Nx=e({AnPlusB:()=>yh,Atrule:()=>Mh,AtrulePrelude:()=>Bh,AttributeSelector:()=>Kh,Block:()=>ag,Brackets:()=>gg,CDC:()=>xg,CDO:()=>Tg,ClassSelector:()=>kg,Combinator:()=>Fg,Comment:()=>Wg,Condition:()=>Zg,Declaration:()=>a_,DeclarationList:()=>C_,Dimension:()=>A_,Feature:()=>F_,FeatureFunction:()=>V_,FeatureRange:()=>q_,Function:()=>iv,GeneralEnclosed:()=>uv,Hash:()=>hv,IdSelector:()=>Tv,Identifier:()=>bv,Layer:()=>Av,LayerList:()=>Iv,MediaQuery:()=>Vv,MediaQueryList:()=>Kv,NestingSelector:()=>Zv,Nth:()=>ry,Number:()=>sy,Operator:()=>fy,Parentheses:()=>_y,Percentage:()=>Sy,PseudoClassSelector:()=>Dy,PseudoElementSelector:()=>Ny,Ratio:()=>zy,Raw:()=>Ky,Rule:()=>Zy,Scope:()=>ab,Selector:()=>ub,SelectorList:()=>hb,String:()=>Eb,StyleSheet:()=>jb,SupportsDeclaration:()=>zb,TypeSelector:()=>Wb,UnicodeRange:()=>Qb,Url:()=>vx,Value:()=>Sx,WhiteSpace:()=>Dx}),Px={generic:!0,cssWideKeywords:sf,...vh,node:Nx},Fx=35,Ix=42,Lx=43,Rx=45,zx=47,Bx=117;function Vx(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,`url(`)?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,Bx)&&this.cmpChar(this.tokenStart+1,Lx)?this.UnicodeRange():this.Identifier();case 9:{let e=this.charCodeAt(this.tokenStart);if(e===zx||e===Ix||e===Lx||e===Rx)return this.Operator();e===Fx&&this.error(`Hex or identifier is expected`,this.tokenStart+1);break}}}var Hx={getNode:Vx},Ux=35,Wx=38,Gx=42,Kx=43,qx=47,Jx=46,Yx=62,Xx=124,Zx=126;function Qx(e,t){t.last!==null&&t.last.type!==`Combinator`&&e!==null&&e.type!==`Combinator`&&t.push({type:`Combinator`,loc:null,name:` `})}function $x(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Jx&&this.error(`Identifier is expected`,this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case Kx:case Yx:case Zx:case qx:return this.Combinator();case Jx:return this.ClassSelector();case Gx:case Xx:return this.TypeSelector();case Ux:return this.IdSelector();case Wx:return this.NestingSelector()}break}}var eS={onWhiteSpace:Qx,getNode:$x};function tS(){return this.createSingleNodeList(this.Raw(null,!1))}function nS(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type===`Value`&&n.children.isEmpty){for(let e=t-this.tokenIndex;e<=0;e++)if(this.lookupType(e)===13){n.children.appendData({type:`WhiteSpace`,loc:null,value:` `});break}}e.push(n)}return e}function rS(e){return e!==null&&e.type===`Operator`&&(e.value[e.value.length-1]===`-`||e.value[e.value.length-1]===`+`)}var iS={getNode:Vx,onWhiteSpace(e,t){rS(e)&&(e.value=` `+e.value),rS(t.last)&&(t.last.value+=` `)},expression:tS,var:nS},aS=e({AtrulePrelude:()=>Hx,Selector:()=>eS,Value:()=>iS}),oS=new Set([`none`,`and`,`not`,`or`]),sS={parse:{prelude(){let e=this.createList();if(this.tokenType===1){let t=this.substring(this.tokenStart,this.tokenEnd);oS.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition(`container`)),e},block(e=!1){return this.Block(e)}}},cS={parse:{prelude:null,block(){return this.Block(!0)}}};function lS(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==22&&this.error()}},t||(()=>this.Raw(null,!0)))}var uS={layer(){this.skipSC();let e=this.createList(),t=lS.call(this,this.Layer);return(t.type!==`Raw`||t.value!==``)&&e.push(t),e},supports(){this.skipSC();let e=this.createList(),t=lS.call(this,this.Declaration,()=>lS.call(this,()=>this.Condition(`supports`)));return(t.type!==`Raw`||t.value!==``)&&e.push(t),e}},dS={parse:{prelude(){let e=this.createList();switch(this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error(`String or url() is expected`)}return this.skipSC(),this.tokenType===1&&this.cmpStr(this.tokenStart,this.tokenEnd,`layer`)?e.push(this.Identifier()):this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,`layer(`)&&e.push(this.Function(null,uS)),this.skipSC(),this.tokenType===2&&this.cmpStr(this.tokenStart,this.tokenEnd,`supports(`)&&e.push(this.Function(null,uS)),(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}},fS={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},pS={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},mS={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},hS={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},gS={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},_S={parse:{prelude:null,block(e=!1){return this.Block(e)}}},vS={parse:{prelude(){return this.createSingleNodeList(this.Condition(`supports`))},block(e=!1){return this.Block(e)}}},yS={container:sS,"font-face":cS,import:dS,layer:fS,media:pS,nest:mS,page:hS,scope:gS,"starting-style":_S,supports:vS};function bS(){let e=this.createList();this.skipSC();loop:for(;!this.eof;){switch(this.tokenType){case 1:e.push(this.Identifier());break;case 5:e.push(this.String());break;case 18:e.push(this.Operator());break;case 22:break loop;default:this.error(`Identifier, string or comma is expected`)}this.skipSC()}return e}var xS={parse(){return this.createSingleNodeList(this.SelectorList())}},SS={parse(){return this.createSingleNodeList(this.Selector())}},CS={parse(){return this.createSingleNodeList(this.Identifier())}},wS={parse:bS},TS={parse(){return this.createSingleNodeList(this.Nth())}},ES={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:aS,atrule:yS,pseudo:{dir:CS,has:xS,lang:wS,matches:xS,is:xS,"-moz-any":xS,"-webkit-any":xS,where:xS,not:xS,"nth-child":TS,"nth-last-child":TS,"nth-last-of-type":TS,"nth-of-type":TS,slotted:SS,host:SS,"host-context":SS},node:e({AnPlusB:()=>Ah,Atrule:()=>Rh,AtrulePrelude:()=>Wh,AttributeSelector:()=>rg,Block:()=>mg,Brackets:()=>yg,CDC:()=>Cg,CDO:()=>Dg,ClassSelector:()=>Ng,Combinator:()=>Hg,Comment:()=>Yg,Condition:()=>r_,Declaration:()=>y_,DeclarationList:()=>O_,Dimension:()=>N_,Feature:()=>z_,FeatureFunction:()=>G_,FeatureRange:()=>nv,Function:()=>cv,GeneralEnclosed:()=>pv,Hash:()=>vv,IdSelector:()=>Ov,Identifier:()=>Cv,Layer:()=>Pv,LayerList:()=>zv,MediaQuery:()=>Wv,MediaQueryList:()=>Yv,NestingSelector:()=>ty,Nth:()=>ay,Number:()=>uy,Operator:()=>hy,Parentheses:()=>by,Percentage:()=>Ty,PseudoClassSelector:()=>jy,PseudoElementSelector:()=>Ly,Ratio:()=>Wy,Raw:()=>Yy,Rule:()=>rb,Scope:()=>cb,Selector:()=>pb,SelectorList:()=>yb,String:()=>kb,StyleSheet:()=>Lb,SupportsDeclaration:()=>Hb,TypeSelector:()=>Xb,UnicodeRange:()=>cx,Url:()=>bx,Value:()=>Tx,WhiteSpace:()=>jx})},DS={node:Nx},OS=_h({...Px,...ES,...DS});function kS(e){let t={};for(let n of Object.keys(e)){let r=e[n];r&&(Array.isArray(r)||r instanceof Uu?r=r.map(kS):r.constructor===Object&&(r=kS(r))),t[n]=r}return t}var{tokenize:AS,parse:jS,generate:MS,lexer:NS,createLexer:PS,walk:FS,find:IS,findLast:LS,findAll:RS,toPlainObject:zS,fromPlainObject:BS,fork:VS}=OS;async function HS(e,t){let{code:n,uno:r,options:i,filename:a}=e;await Promise.all(t.block.children.map(async o=>{if(o.type===`Raw`)return XS(n,r,i,a,o.value,o.loc.start.offset);await US(e,t,o)}).toArray())}async function US({code:e,uno:t,applyVariable:n},r,i){let a=e.original,o;if(i.type===`Atrule`&&i.name===`apply`&&i.prelude&&i.prelude.type===`Raw`)o=WS(i.prelude.value.trim());else if(i.type===`Declaration`&&n.includes(i.property)&&(i.value.type===`Value`||i.value.type===`Raw`)){let e=a.slice(i.value.loc.start.offset,i.value.loc.end.offset).trim();e=WS(e),o=e.split(/\s+/g).filter(Boolean).map(e=>WS(e)).join(` `)}if(!o)return;o=GS(o);let s=we(o).split(/\s+/g).map(e=>e.trim().replace(/\\/,``)),c=(await Promise.all(s.map(e=>t.parseToken(e,`-`)))).filter(se).flat().sort((e,t)=>e[0]-t[0]).sort((e,n)=>(e[3]?t.parentOrders.get(e[3])??0:0)-(n[3]?t.parentOrders.get(n[3])??0:0)).reduce((e,t)=>{let n=e.find(e=>e[1]===t[1]&&e[3]===t[3]);return n?n[2]+=t[2]:e.push([...t]),e},[]);if(!c.length)return;let l=a[i.loc.end.offset]===`;`?1:a[i.loc.end.offset]===`@`?-1:0;for(let t of c){let[,n,o,s,c]=t,u=n?.replace(Ve,` `)||n;if(s||u&&u!==`.\\-`||c?.noMerge){let t=MS(r.prelude),n=e.slice(r.prelude.loc.start.offset,r.prelude.loc.end.offset);if(c?.noMerge)t=u;else if(u&&u!==`.\\-`){let e=jS(`${u}{}`,{context:`rule`}),n=kS(r.prelude);n.children?.forEach(t=>{let n=kS(e.prelude),r=new Uu;n?.children?.forEach(e=>{r.appendList(e?.children?.filter(e=>e.type===`ClassSelector`&&e.name===`\\-`))}),r.forEach(e=>Object.assign(e,kS(t))),Object.assign(t,n)}),t=MS(n)}let i=`${t.includes(`.\\-`)?n.split(`,`).map(e=>t.replace(/.\\-/g,e.trim())).join(`,`):t}{${o}}`;if(s)if(s.includes(` $$ `)){let[e,...t]=s.split(` $$ `).reverse();i=`${t.reduce((e,n,r)=>r===t.length-1?`${e}{${n}{${i}}}${`}`.repeat(r)}`:`${e}{${n}`,e)}`}else i=s===`.\\-`?`${n}{${i}}`:`${s}{${i}}`;l=0,e.appendLeft(r.loc.end.offset,i)}else o.includes(`@`)?e.appendRight(a.length,o):e.appendRight(i.loc.end.offset+l,o)}e.remove(i.loc.start.offset,i.loc.end.offset+l)}function WS(e){return e.replace(/^(['"])(.*)\1$/,`$2`)}function GS(e){return e.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,``)}async function KS(e,t,n){let r=e.config.presets?.flat()?.find(e=>e.name===`@unocss/preset-icons`);if(!r){console.warn(`@unocss/preset-icons not found, icon() directive will be keep as-is`);return}let{scale:i=1,prefix:a=`i-`,collections:o,customizations:s={},autoInstall:c=!1,iconifyCollectionsNames:l,collectionsNodeResolvePath:u,unit:d}=r.options,p=r.api,m={addXmlNs:!0,scale:i,customCollections:o,autoInstall:c,cwd:u,warn:void 0,customizations:{...s,trimCustomSvg:!0,async iconCustomizer(e,t,n){await s.iconCustomizer?.(e,t,n),d&&(n.width||=`${i}${d}`,n.height||=`${i}${d}`)}}},h=await p.createNodeLoader?.()||(async()=>void 0);for(let e of f(a))if(t.startsWith(e)){t=t.slice(e.length);let r=await p.parseIconWithLoader(t,h,m,l);if(r)return`url("data:image/svg+xml;utf8,${n?p.encodeSvgForCss(r.svg).replace(/currentcolor/gi,n):p.encodeSvgForCss(r.svg)}")`}}async function qS({code:e,uno:t,options:n},r){let{throwOnMissing:i=!0}=n;switch(r.name){case`theme`:{if(!r.children.size)throw Error(`theme() expect exact one argument`);if(r.children.first.type!==`String`)throw Error(`theme() expect a string argument`);let n;if(r.children.size>1){let e=r.children.toArray().slice(1);if(!(e[0].type===`Operator`&&e[0].value===`,`))throw Error(`theme() expect a comma between expression string and default value`);e.length>1&&(n=[e[1].loc.start.offset,r.children.last.loc.end.offset])}let a=r.children.first.value,o=zn(a,t.config.theme,!n&&i);!o&&n&&(o=e.slice(n[0],n[1])),o&&e.overwrite(r.loc.start.offset,r.loc.end.offset,o);break}case`icon`:{let n=r.children.toArray().filter(e=>e.type===`String`).map(e=>e.value);if(n.length===0)throw Error(`icon() expects at least one argument`);let[a,o]=n;o&&=encodeURIComponent(Rn(o,t.config.theme,i));let s=await KS(t,a,o);s&&e.overwrite(r.loc.start.offset,r.loc.end.offset,s);break}}}var JS=/(@screen [^{]+)(.+)/g;function YS({code:e,uno:t},n){let r=``,i=``;if(n.prelude?.type===`Raw`&&(r=n.prelude.value.trim()),!r)return;let a=r.match(/^(?:(lt|at)-)?(\w+)$/);a&&(i=a[1],r=a[2]);let o=((()=>{let e=t.config.presets.some(e=>e.name===`@unocss/preset-wind4`)?`breakpoint`:`breakpoints`,n=t.config.theme[e];return n?Object.entries(n).sort((e,t)=>Number.parseInt(e[1].replace(/[a-z]+/gi,``))-Number.parseInt(t[1].replace(/[a-z]+/gi,``))).map(([e,t])=>({point:e,size:t})):void 0})()??[]).map(({point:e,size:t},n)=>[e,t,n]),s=(e,t)=>{let[,n,r]=o.find(t=>t[0]===e);if(t){if(t===`lt`)return`@media (max-width: ${Bn(n)})`;if(t===`at`)return`@media (min-width: ${n})${o[r+1]?` and (max-width: ${Bn(o[r+1][1])})`:``}`;throw Error(`breakpoint variant not supported: ${t}`)}return`@media (min-width: ${n})`};if(!o.find(e=>e[0]===r))throw Error(`breakpoint ${r} not found`);let c=n.loc.start.offset,l=e.original.slice(c,n.loc.end.offset),u=Array.from(l.matchAll(JS));if(u.length)for(let t of u)e.overwrite(c+t.index,c+t.index+t[1].length,`${s(r,i)}`)}async function XS(e,t,n,r,i,a){let{applyVariable:o}=n,s=n.varStyle;o===void 0&&(s!==void 0&&(o=s?[`${s}apply`]:[]),o=[`--at-apply`,`--uno-apply`,`--uno`]),o=f(o||[]);let c=e=>e.includes(`@apply`)||o.some(t=>e.includes(t)),l=i||e.original,u=c(l),d=l.includes(`@screen`),p=Ln(l)||Hn(l);if(!u&&!p&&!d)return;let m=jS(l,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:r,offset:a});if(m.type!==`StyleSheet`)return;let h=[],g={options:n,applyVariable:o,uno:t,code:e,filename:r,offset:a},_=async(e,t,n)=>{d&&e.type===`Atrule`&&e.name===`screen`?YS(g,e):e.type===`Function`?await qS(g,e):u&&e.type===`Rule`&&await HS(g,e)};FS(m,(...e)=>h.push(_(...e))),await Promise.all(h);let v=e.toString();if(!c(v)){let t=v.replace(/([^{}]+)\{\s*\}\s*/g,(e,t)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(t.trim())?``:e);t!==v&&e.update(0,e.original.length,t)}}function ZS(e={}){return{name:`@unocss/transformer-directives`,enforce:e?.enforce,idFilter:e=>x.test(e),transform:(t,n,r)=>XS(t,r.uno,e,n)}}export{vr as a,qt as c,Ir as i,Gt as l,Zl as n,hn as o,Wl as r,Qt as s,ZS as t,at as u};
|