@unocss/runtime 66.7.2-beta.1 → 66.7.3
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/attributify.global.js +8 -8
- package/core.global.js +2 -2
- package/full.global.js +8 -8
- package/mini.global.js +8 -8
- package/package.json +4 -4
- package/preset-icons.global.js +1 -1
- package/preset-typography.global.js +1 -1
- package/preset-wind4.global.js +1 -1
- package/uno.global.js +8 -8
package/attributify.global.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};let n=`default`,r=`preflights`,i={imports:-200,[r]:-100,shortcuts:-10,[n]:0},a=/[\\:]?[\s'"`;{}]+/g;function o(e){return e.split(a)}let s={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return o(e)}};function c(e=[]){return Array.isArray(e)?e:[e]}function l(e){return Array.from(new Set(e))}function u(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function d(e){return typeof e==`string`}var f=class extends Set{_map=new Map;constructor(e){if(super(),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 p(e){return e instanceof f}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function h(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}let g=h;function _(){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)}}}let v=/^\[(.+?)~?="(.*)"\]$/,ee=/[\w\u00A0-\uFFFF%-?]/;function y(e){return e.match(v)}function b(e=``){return ee.test(e)}function te(e){return typeof e==`function`?{match:e}:e}function x(e){return e.length===3}function S(e){return e!=null}function C(){}var ne=class{_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)))}},re=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 w(e){return d(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function ie(e){return Array.isArray(e)?e.some(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>w(e)):[e]:[w(e)]}function ae(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})}function oe(e){return e==null?``:ae(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function se(e){return e&&typeof e==`object`&&!Array.isArray(e)}function ce(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 se(r)&&se(i)&&Object.keys(i).forEach(e=>{se(r[e])&&se(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=ce(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function le(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`?le(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:le(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?le(r):r;return n}return e}function ue(e){return d(e[0])}function de(e){return d(e[0])}let fe={};function pe(e=[`-`,`:`]){let t=e.map(e=>m(e)).join(`|`);return fe[t]||(fe[t]=RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),fe[t].lastIndex=0,fe[t]}function me(e,t=[`-`,`:`],n=5){let r=pe(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 he(e,t=[`-`,`:`],n=5){let r=me(e,t,n);return typeof e==`string`?r.expanded:e}let ge=new Set;function _e(e){ge.has(e)||(console.warn(`[unocss]`,e),ge.add(e))}function ve(e){return c(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}let ye=`_uno_resolved`;async function be(e){let t=typeof e==`function`?await e():await e;if(ye in t)return t;t={...t},Object.defineProperty(t,ye,{value:!0,enumerable:!1});let n=t.shortcuts?ve(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=c(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function xe(e){let t=await be(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(c).flatMap(xe))).flat()]:[t]}function Se(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:l(Ee(...t)),exclude:l(Ee(...n))}};return i.length&&(o.filesystem=l(i.flat())),a.length&&(o.inline=l(a.flat())),o}async function Ce(e={},t={}){let n=Object.assign({},t,e),r=u((await Promise.all((n.presets||[]).flatMap(c).flatMap(xe))).flat(),(e,t)=>e.name===t.name),a=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],o=[...a,n],d=[...o].reverse(),f=Object.assign({},i,...o.map(e=>e.layers));function p(e){return l(o.flatMap(t=>c(t[e]||[])))}let m=p(`extractors`),h=d.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=s),h&&!m.includes(h)&&m.unshift(h),m.sort((e,t)=>(e.order||0)-(t.order||0));let g=p(`rules`),_=g.length,v={},ee=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ue(t)?c(n.prefix??``).forEach(e=>{v[e+t[0]]=t}):ee.unshift(t)}let y={templates:l(o.flatMap(e=>c(e.autocomplete?.templates))),extractors:o.flatMap(e=>c(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:Te(o.map(e=>e.autocomplete?.shorthands||{}))},b=p(`separators`);b.length||(b=[`:`,`-`]);let x=Se(p(`content`)),S={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:p(`blocklist`),presets:a,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:f,theme:we(o.map(e=>e.theme)),rules:g,rulesSize:_,rulesDynamic:ee,rulesStaticMap:v,preprocess:p(`preprocess`),postprocess:p(`postprocess`),preflights:p(`preflights`),autocomplete:y,variants:p(`variants`).map(te).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:ve(p(`shortcuts`)).reverse(),extractors:m,safelist:p(`safelist`),separators:b,details:n.details??n.envMode===`dev`,content:x,transformers:u(p(`transformers`),(e,t)=>e.name===t.name)},C=p(`extendTheme`);for(let e of C)S.theme=e(S.theme,S)||S.theme;for(let e of o)e?.configResolved?.(S);return S}function we(e){return e.map(e=>e?le(e):{}).reduce((e,t)=>ce(e,t),{})}function Te(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 Ee(...e){return e.flatMap(De)}function De(e){return Array.isArray(e)?e:e?[e]:[]}function Oe(e){return e}var ke=`66.7.2-beta.1`;let T={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`};var Ae=class e{userConfig;defaults;version=ke;events=_();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;constructor(e={},t={}){this.userConfig=e,this.defaults=t}static async create(t={},n={}){let r=new e(t,n);return r.config=await Ce(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 Ce(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(p(t)&&p(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:T,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(S)},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:i,scope:a,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:u=!1}=t,m=d(e)?await this.applyExtractors(e,i,u?new f: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&&!m.has(t)&&m.add(t)})}let h=c?``:`
|
|
2
|
-
`,g=new Set([n]),_=u?new Map:new Set,v=new Map,ee={},y=Array.from(m).map(async e=>{if(_.has(e))return;let t=await this.parseToken(e);if(t!=null){_ instanceof Map?_.set(e,{data:t,count:p(m)?m.getCount(e):-1}):_.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&&g.add(n)}}});await Promise.all(y),await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=r})=>{g.add(e),t.add(e)}),ee=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(h)])))})();let b=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),te=b(Array.from(g)),x={},C=this.config.outputToCssLayers,ne=e=>{let t=e;return typeof C==`object`&&(t=C.cssLayerName?.(e)),t===null?null:t??e},re=(e=n)=>{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 r=n.length,i=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,,r])=>[[[(e&&!n?.noScope?Pe(e,a):e)??``,n?.sort??0]],t,!!(r??n?.noMerge)]);if(!i.length)return;let o=i.reverse().map(([e,t,n],a)=>{if(!n&&this.config.mergeSelectors)for(let n=a+1;n<r;n++){let r=i[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?l(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(`,${h}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(h);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${h}${s}${h}${`}`.repeat(c.length)}`}).filter(Boolean).join(h);o&&(t=[ee[e],t].filter(Boolean).join(h));let r;C&&t&&(r=ne(e),r!==null&&(t=`@layer ${r}{${h}${t}${h}}`));let i=c?``:`/* layer: ${e}${r&&r!==e?`, alias: ${r}`:``} */${h}`;return x[e]=t?i+t:``},w=(e=te,t)=>{let n=e.filter(e=>!t?.includes(e)),r=n.map(re).filter(Boolean);if(C){let e=n;typeof C==`object`&&C.allLayers&&(e=b(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(ne).filter(S).join(`, `)};`)}return r.join(h)};return{get css(){return w()},layers:te,matched:_,getLayers:w,getLayer:re,setLayer:async(e,t)=>{let n=await t(re(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(d(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??Le)({...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:Ie(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(S)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=w(t);return d(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${oe(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=d(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,l]=t;if(l?.internal&&!n)continue;let u=i;if(l?.prefix){let e=c(l.prefix);if(r){let t=c(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;u=i.slice(t.length)}}let d=u.match(a);if(!d)continue;let f=await s(d,o);if(!f)continue;if(typeof f!=`string`)if(Symbol.asyncIterator in f){let e=[];for await(let t of f)t&&e.push(t);f=e}else Symbol.iterator in f&&!Array.isArray(f)&&(f=Array.from(f).filter(S));let p=this.resolveCSSResult(e,f,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}resolveCSSResult=(e,t,n,r)=>{let i=ie(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(d(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 T.variants:i=typeof e[1]==`function`?e[1](i)||i:[...c(e[1]),...i];break;case T.parent:o({parent:e[1]});break;case T.selector:o({selector:e[1]});break;case T.layer:o({layer:e[1]});break;case T.sort:s({sort:e[1]});break;case T.noMerge:s({noMerge:e[1]});break;case T.noScope:s({noScope:e[1]});break;case T.body:e[0]=`__virtual_key__`;break}return[t.__index,e,n,a,i]})}};stringifyUtil(e,t){if(!e)return;if(x(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=oe(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)}:C,i,a,o,s;for(let n of this.config.shortcuts){let o=e;if(n[2]?.prefix){let t=c(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;o=e.slice(t.length)}if(de(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=l(c(a).filter(d).map(e=>he(e.trim()).split(/\s+/g)).flat()),s=c(a).filter(e=>!d(e)).map(e=>({handles:[],value:e}))),!a){let r=d(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(d).map(e=>r.replace(i,e)),s=e[0].filter(e=>!d(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!o?.length&&!s?.length))return[[await Promise.all(c(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 re,a=(await Promise.all(l(n).map(async n=>{let i=d(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,w(n.value),void 0,n.handles]];return!i&&this.config.warn&&_e(`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(x(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[T.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 ne).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=oe(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]===T.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==T.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):d(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):d(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function je(e,t){return await Ae.create(e,t)}let Me=/\s\$\$\s+/g;function Ne(e){return Me.test(e)}function Pe(e,t){return Ne(e)?e.replace(Me,t?` ${t} `:` `):t?`${t} ${e}`:e}let Fe=/^\[(.+?)(~?=)"(.*)"\]$/;function Ie(e){return Fe.test(e)?e.replace(Fe,(e,t,n,r)=>`[${g(t)}${n}"${g(r)}"]`):`.${g(e)}`}function Le(e,t){return t(e)}let Re=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function ze(e={}){let t=e.prefix??`un-`,n=e.prefixedOnly??!1,r=e.trueToNonValued??!1,i;return{name:`attributify`,match(e,{generator:a}){let o=y(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(Re)||[];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&&/^[\d.]+$/.test(u)){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}`}}}let Be=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Ve=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,He=/[\s'"`;>]+/;function Ue(e){return{name:`attributify`,extract:({content:t,cursor:n})=>{let r=t.matchAll(Be),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(Ve),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=He.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=He.exec(l.slice(m))}h===void 0&&(h=l.slice(m));let[,g=``,_]=h.match(Re)||[];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)}}}}}}let We=[`v-bind:`,`:`],Ge=/[\s'"`;]+/g,Ke=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,qe=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Je=[`placeholder`,`fill`,`opacity`,`stroke-opacity`];function Ye(e){let t=e?.ignoreAttributes??Je,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:`@unocss/preset-attributify/extractor`,extract({code:i}){return Array.from(i.matchAll(Ke)).flatMap(e=>Array.from((e[1]||``).matchAll(qe))).flatMap(([,i,...a])=>{let o=a.filter(Boolean).join(``);if(t.includes(i))return[];for(let e of We)if(i.startsWith(e)){i=i.slice(e.length);break}if(!o){if(b(i)&&n!==!1){let e=[`[${i}=""]`];return r&&e.push(`[${i}="true"]`),e}return[]}return[`class`,`className`].includes(i)?o.split(Ge).filter(b):Ke.test(o)?(Ke.lastIndex=0,this.extract({code:o})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:o.split(Ge).filter(e=>!!e&&e!==`:`).map(e=>`[${i}~="${e}"]`)})}}}let Xe=Oe((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??Je,{name:`@unocss/preset-attributify`,enforce:`post`,variants:[ze(e)],extractors:[Ye(e)],options:e,autocomplete:{extractors:[Ue(e)]},extractorDefault:e.strict?!1:void 0}));var Ze=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,$e=Object.getOwnPropertyNames,et=Object.prototype.hasOwnProperty,tt=(e,t)=>{let n={};for(var r in e)Ze(n,r,{get:e[r],enumerable:!0});return t||Ze(n,Symbol.toStringTag,{value:`Module`}),n},nt=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=$e(t),a=0,o=i.length,s;a<o;a++)s=i[a],!et.call(e,s)&&s!==n&&Ze(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Qe(t,s))||r.enumerable});return e},rt=(e,t,n)=>(nt(e,t,`default`),n&&nt(n,t,`default`)),it=44,at=59,ot=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,st=new Uint8Array(64),ct=new Uint8Array(128);for(let e=0;e<ot.length;e++){let t=ot.charCodeAt(e);st[e]=t,ct[t]=e}function lt(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(st[t])}while(r>0);return t}var ut=1024*16,dt=typeof TextDecoder<`u`?new TextDecoder:typeof Buffer<`u`?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},ft=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(ut)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===ut&&(this.out+=dt.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+dt.decode(e.subarray(0,n)):t}};function pt(e){let t=new ft,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(at),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(it),c=lt(t,o[0],c),o.length!==1&&(n=lt(t,o[1],n),r=lt(t,o[2],r),i=lt(t,o[3],i),o.length!==4&&(a=lt(t,o[4],a)))}}return t.flush()}var mt=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))}},ht=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 gt(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer==`function`?e=>Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}let _t=gt();var vt=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=pt(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,`+_t(this.toString())}};function yt(e){let t=e.split(`
|
|
3
|
-
`),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
|
|
4
|
-
`),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]}}}let
|
|
1
|
+
(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};let n=`default`,r=`preflights`,i={imports:-200,[r]:-100,shortcuts:-10,[n]:0},a=/[\\:]?[\s'"`;{}]+/g;function o(e){return e.split(a)}let s={name:`@unocss/core/extractor-split`,order:0,extract({code:e}){return o(e)}};function c(e=[]){return Array.isArray(e)?e:[e]}function l(e){return Array.from(new Set(e))}function u(e,t){return e.reduce((e,n)=>(e.findIndex(e=>t(n,e))===-1&&e.push(n),e),[])}function d(e){return typeof e==`string`}var f=class extends Set{_map=new Map;constructor(e){if(super(),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 p(e){return e instanceof f}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function h(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}let g=h;function _(){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)}}}let v=/^\[(.+?)~?="(.*)"\]$/,ee=/[\w\u00A0-\uFFFF%-?]/;function y(e){return e.match(v)}function b(e=``){return ee.test(e)}function te(e){return typeof e==`function`?{match:e}:e}function x(e){return e.length===3}function S(e){return e!=null}function C(){}var ne=class{_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)))}},re=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 w(e){return d(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(e=>e[1]!=null)}function ie(e){return Array.isArray(e)?e.some(e=>!Array.isArray(e)||Array.isArray(e[0]))?e.map(e=>w(e)):[e]:[w(e)]}function ae(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})}function oe(e){return e==null?``:ae(e).map(([e,t])=>t!=null&&typeof t!=`function`?e===`__virtual_key__`?t:`${e}:${t};`:void 0).filter(Boolean).join(``)}function se(e){return e&&typeof e==`object`&&!Array.isArray(e)}function ce(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 se(r)&&se(i)&&Object.keys(i).forEach(e=>{se(r[e])&&se(i[e])||Array.isArray(r[e])&&Array.isArray(i[e])?a[e]=ce(r[e],i[e],n):Object.assign(a,{[e]:i[e]})}),a}function le(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`?le(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:le(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?le(r):r;return n}return e}function ue(e){return d(e[0])}function de(e){return d(e[0])}let fe={};function pe(e=[`-`,`:`]){let t=e.map(e=>m(e)).join(`|`);return fe[t]||(fe[t]=RegExp(`((?:[!@*<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,`gm`)),fe[t].lastIndex=0,fe[t]}function me(e,t=[`-`,`:`],n=5){let r=pe(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 he(e,t=[`-`,`:`],n=5){let r=me(e,t,n);return typeof e==`string`?r.expanded:e}let ge=new Set;function _e(e){ge.has(e)||(console.warn(`[unocss]`,e),ge.add(e))}function ve(e){return c(e).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}function ye(e){let t=new Map,n=[];for(let r of e){let[e,,i]=r;if(i?.prefix||e.global||e.sticky||/\\(?:[1-9]|k<)|\(\?</.test(e.source)){n.push(r);continue}let a=t.get(e.flags)??[];a.push(`(?:${e.source})`),t.set(e.flags,a)}try{return{fallback:n,filters:Array.from(t,([e,t])=>new RegExp(t.join(`|`),e))}}catch{return{fallback:[...e],filters:[]}}}let be=`_uno_resolved`;async function xe(e){let t=typeof e==`function`?await e():await e;if(be in t)return t;t={...t},Object.defineProperty(t,be,{value:!0,enumerable:!1});let n=t.shortcuts?ve(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=c(t.prefix)),n.layer==null&&t.layer&&(n.layer=t.layer)};n?.forEach(e),t.rules?.forEach(e)}return t}async function Se(e){let t=await xe(e);return t.presets?[t,...(await Promise.all((t.presets||[]).flatMap(c).flatMap(Se))).flat()]:[t]}function Ce(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:l(De(...t)),exclude:l(De(...n))}};return i.length&&(o.filesystem=l(i.flat())),a.length&&(o.inline=l(a.flat())),o}async function we(e={},t={}){let n=Object.assign({},t,e),r=u((await Promise.all((n.presets||[]).flatMap(c).flatMap(Se))).flat(),(e,t)=>e.name===t.name),a=[...r.filter(e=>e.enforce===`pre`),...r.filter(e=>!e.enforce),...r.filter(e=>e.enforce===`post`)],o=[...a,n],d=[...o].reverse(),f=Object.assign({},i,...o.map(e=>e.layers));function p(e){return l(o.flatMap(t=>c(t[e]||[])))}let m=p(`extractors`),h=d.find(e=>e.extractorDefault!==void 0)?.extractorDefault;h===void 0&&(h=s),h&&!m.includes(h)&&m.unshift(h),m.sort((e,t)=>(e.order||0)-(t.order||0));let g=p(`rules`),_=g.length,v={},ee=[];for(let[e,t]of g.entries()){let n=t[2]??={};n.__index=e,ue(t)?c(n.prefix??``).forEach(e=>{v[e+t[0]]=t}):ee.unshift(t)}let y={templates:l(o.flatMap(e=>c(e.autocomplete?.templates))),extractors:o.flatMap(e=>c(e.autocomplete?.extractors)).sort((e,t)=>(e.order||0)-(t.order||0)),shorthands:Ee(o.map(e=>e.autocomplete?.shorthands||{}))},b=p(`separators`);b.length||(b=[`:`,`-`]);let x=Ce(p(`content`)),S={mergeSelectors:!0,warn:!0,sortLayers:e=>e,...n,blocklist:p(`blocklist`),presets:a,envMode:n.envMode||`build`,shortcutsLayer:n.shortcutsLayer||`shortcuts`,layers:f,theme:Te(o.map(e=>e.theme)),rules:g,rulesSize:_,rulesDynamic:ee,rulesStaticMap:v,preprocess:p(`preprocess`),postprocess:p(`postprocess`),preflights:p(`preflights`),autocomplete:y,variants:p(`variants`).map(te).sort((e,t)=>(e.order||0)-(t.order||0)),shortcuts:ve(p(`shortcuts`)).reverse(),extractors:m,safelist:p(`safelist`),separators:b,details:n.details??n.envMode===`dev`,content:x,transformers:u(p(`transformers`),(e,t)=>e.name===t.name)},C=p(`extendTheme`);for(let e of C)S.theme=e(S.theme,S)||S.theme;for(let e of o)e?.configResolved?.(S);return S.rulesDynamicFilter=ye(S.rulesDynamic),S}function Te(e){return e.map(e=>e?le(e):{}).reduce((e,t)=>ce(e,t),{})}function Ee(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 De(...e){return e.flatMap(Oe)}function Oe(e){return Array.isArray(e)?e:e?[e]:[]}function ke(e){return e}var Ae=`66.7.3`;let T={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`},je=4096;var Me=class e{userConfig;defaults;version=Ae;events=_();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;constructor(e={},t={}){this.userConfig=e,this.defaults=t}static async create(t={},n={}){let r=new e(t,n);return r.config=await we(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 we(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(p(t)&&p(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:T,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,5,!0);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(S)},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:i,scope:a,preflights:o=!0,safelist:s=!0,minify:c=!1,extendedInfo:u=!1}=t,m=d(e)?await this.applyExtractors(e,i,u?new f: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&&!m.has(t)&&m.add(t)})}let h=c?``:`
|
|
2
|
+
`,g=new Set([n]),_=u?new Map:new Set,v=new Map,ee={},y=Array.from(m);for(let e=0;e<y.length;e+=je){let t=y.slice(e,e+je).map(async e=>{if(_.has(e))return;let t=await this.parseToken(e);if(t!=null){_ instanceof Map?_.set(e,{data:t,count:p(m)?m.getCount(e):-1}):_.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&&g.add(n)}}});await Promise.all(t)}await(async()=>{if(!o)return;let e={generator:this,theme:this.config.theme},t=new Set([]);this.config.preflights.forEach(({layer:e=r})=>{g.add(e),t.add(e)}),ee=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(h)])))})();let b=e=>this.config.sortLayers(e.sort((e,t)=>(this.config.layers[e]??0)-(this.config.layers[t]??0)||e.localeCompare(t))),te=b(Array.from(g)),x={},C=this.config.outputToCssLayers,ne=e=>{let t=e;return typeof C==`object`&&(t=C.cssLayerName?.(e)),t===null?null:t??e},re=(e=n)=>{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 r=n.length,i=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,,r])=>[[[(e&&!n?.noScope?Ie(e,a):e)??``,n?.sort??0]],t,!!(r??n?.noMerge)]);if(!i.length)return;let o=i.reverse().map(([e,t,n],a)=>{if(!n&&this.config.mergeSelectors)for(let n=a+1;n<r;n++){let r=i[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?l(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(`,${h}`)}{${t}}`:t}).filter(Boolean),s=Array.from(new Set(o)).reverse().join(h);if(!t)return s;let c=t.split(` $$ `);return`${c.join(`{`)}{${h}${s}${h}${`}`.repeat(c.length)}`}).filter(Boolean).join(h);o&&(t=[ee[e],t].filter(Boolean).join(h));let r;C&&t&&(r=ne(e),r!==null&&(t=`@layer ${r}{${h}${t}${h}}`));let i=c?``:`/* layer: ${e}${r&&r!==e?`, alias: ${r}`:``} */${h}`;return x[e]=t?i+t:``},w=(e=te,t)=>{let n=e.filter(e=>!t?.includes(e)),r=n.map(re).filter(Boolean);if(C){let e=n;typeof C==`object`&&C.allLayers&&(e=b(Object.keys(this.config.layers))),e.length>0&&r.unshift(`@layer ${e.map(ne).filter(S).join(`, `)};`)}return r.join(h)};return{get css(){return w()},layers:te,matched:_,getLayers:w,getLayer:re,setLayer:async(e,t)=>{let n=await t(re(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(d(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??ze)({...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:Re(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(S)):n.push(e||r)}return n},[o])}constructCustomCSS(e,t,n){let r=w(t);return d(r)?r:this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]).map(({selector:e,entries:t,parent:n})=>{let r=`${e}{${oe(t)}}`;return n?`${n}{${r}}`:r}).join(``)}async parseUtil(e,t,n=!1,r){let i=d(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);let l=this.config.rulesDynamicFilter,u=l?.filters.length&&!l.filters.some(e=>e.test(i))?l.fallback:this.config.rulesDynamic;for(let t of u){let[a,s,l]=t;if(l?.internal&&!n)continue;let u=i;if(l?.prefix){let e=c(l.prefix);if(r){let t=c(r);if(!e.some(e=>t.includes(e)))continue}else{let t=e.find(e=>i.startsWith(e));if(t==null)continue;u=i.slice(t.length)}}let d=u.match(a);if(!d)continue;let f=await s(d,o);if(!f)continue;if(typeof f!=`string`)if(Symbol.asyncIterator in f){let e=[];for await(let t of f)t&&e.push(t);f=e}else Symbol.iterator in f&&!Array.isArray(f)&&(f=Array.from(f).filter(S));let p=this.resolveCSSResult(e,f,t,o);if(p)return p}},o=(await Promise.all(i.map(e=>a(e)))).flat().filter(e=>!!e);if(o.length)return o}resolveCSSResult=(e,t,n,r)=>{let i=ie(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(d(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 T.variants:i=typeof e[1]==`function`?e[1](i)||i:[...c(e[1]),...i];break;case T.parent:o({parent:e[1]});break;case T.selector:o({selector:e[1]});break;case T.layer:o({layer:e[1]});break;case T.sort:s({sort:e[1]});break;case T.noMerge:s({noMerge:e[1]});break;case T.noScope:s({noScope:e[1]});break;case T.body:e[0]=`__virtual_key__`;break}return[t.__index,e,n,a,i]})}};stringifyUtil(e,t){if(!e)return;if(x(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=oe(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,r=!1){if(n===0)return;let i=this.config.details?e=>{t.shortcuts=t.shortcuts??[],t.shortcuts.push(e)}:C,a,o,s,u;for(let n of this.config.shortcuts){let r=e;if(n[2]?.prefix){let t=c(n[2].prefix).find(t=>e.startsWith(t));if(t==null)continue;r=e.slice(t.length)}if(de(n)){if(n[0]===r){a||=n[2],o=n[1],i(n);break}}else{let e=r.match(n[0]);if(e&&(o=n[1](e,t)),o){a||=n[2],i(n);break}}}if(o&&(s=l(c(o).filter(d).map(e=>he(e.trim()).split(/\s+/g)).flat()),u=c(o).filter(e=>!d(e)).map(e=>({handles:[],value:e}))),!o&&!r){let r=d(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&&(s=e[0].filter(d).map(e=>r.replace(i,e)),u=e[0].filter(e=>!d(e)).map(e=>({handles:[...e.handles,...a],value:e.value})))}}}if(!(!s?.length&&!u?.length))return[[await Promise.all(c(s).map(async e=>(await this.expandShortcut(e,t,n-1))?.[0]||[e])),u].flat(2).filter(e=>!!e),a]}async stringifyShortcuts(e,t,n,r={layer:this.config.shortcutsLayer}){let i=new re,a=(await Promise.all(l(n).map(async n=>{let i=d(n)?await this.parseUtil(n,t,!0,r.prefix):[[1/0,`{inline}`,w(n.value),void 0,n.handles]];return!i&&this.config.warn&&_e(`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(x(e)){c.push([e[0],void 0,e[1],void 0,e[2],t,void 0]);continue}let n=Object.fromEntries(e[2])[T.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 ne).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=oe(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]===T.shortcutsNoMerge))),...s(!0,t,e.filter(([e])=>e.every(e=>e[0]!==T.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):d(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):d(n)?n===e:n.test(e)});return t?Array.isArray(t)?t:[t,void 0]:void 0}};async function Ne(e,t){return await Me.create(e,t)}let Pe=/\s\$\$\s+/g;function Fe(e){return Pe.test(e)}function Ie(e,t){return Fe(e)?e.replace(Pe,t?` ${t} `:` `):t?`${t} ${e}`:e}let Le=/^\[(.+?)(~?=)"(.*)"\]$/;function Re(e){return Le.test(e)?e.replace(Le,(e,t,n,r)=>`[${g(t)}${n}"${g(r)}"]`):`.${g(e)}`}function ze(e,t){return t(e)}let Be=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Ve(e={}){let t=e.prefix??`un-`,n=e.prefixedOnly??!1,r=e.trueToNonValued??!1,i;return{name:`attributify`,match(e,{generator:a}){let o=y(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(Be)||[];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&&/^[\d.]+$/.test(u)){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}`}}}let He=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Ue=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,We=/[\s'"`;>]+/;function Ge(e){return{name:`attributify`,extract:({content:t,cursor:n})=>{let r=t.matchAll(He),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(Ue),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=We.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=We.exec(l.slice(m))}h===void 0&&(h=l.slice(m));let[,g=``,_]=h.match(Be)||[];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)}}}}}}let Ke=[`v-bind:`,`:`],qe=/[\s'"`;]+/g,Je=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Ye=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Xe=[`placeholder`,`fill`,`opacity`,`stroke-opacity`];function Ze(e){let t=e?.ignoreAttributes??Xe,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:`@unocss/preset-attributify/extractor`,extract({code:i}){return Array.from(i.matchAll(Je)).flatMap(e=>Array.from((e[1]||``).matchAll(Ye))).flatMap(([,i,...a])=>{let o=a.filter(Boolean).join(``);if(t.includes(i))return[];for(let e of Ke)if(i.startsWith(e)){i=i.slice(e.length);break}if(!o){if(b(i)&&n!==!1){let e=[`[${i}=""]`];return r&&e.push(`[${i}="true"]`),e}return[]}return[`class`,`className`].includes(i)?o.split(qe).filter(b):Je.test(o)?(Je.lastIndex=0,this.extract({code:o})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:o.split(qe).filter(e=>!!e&&e!==`:`).map(e=>`[${i}~="${e}"]`)})}}}let Qe=ke((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??Xe,{name:`@unocss/preset-attributify`,enforce:`post`,variants:[Ve(e)],extractors:[Ze(e)],options:e,autocomplete:{extractors:[Ge(e)]},extractorDefault:e.strict?!1:void 0}));var $e=Object.defineProperty,et=Object.getOwnPropertyDescriptor,tt=Object.getOwnPropertyNames,nt=Object.prototype.hasOwnProperty,rt=(e,t)=>{let n={};for(var r in e)$e(n,r,{get:e[r],enumerable:!0});return t||$e(n,Symbol.toStringTag,{value:`Module`}),n},it=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=tt(t),a=0,o=i.length,s;a<o;a++)s=i[a],!nt.call(e,s)&&s!==n&&$e(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=et(t,s))||r.enumerable});return e},at=(e,t,n)=>(it(e,t,`default`),n&&it(n,t,`default`)),ot=44,st=59,ct=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,lt=new Uint8Array(64),ut=new Uint8Array(128);for(let e=0;e<ct.length;e++){let t=ct.charCodeAt(e);lt[e]=t,ut[t]=e}function dt(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=r&31;r>>>=5,r>0&&(t|=32),e.write(lt[t])}while(r>0);return t}var ft=1024*16,pt=typeof TextDecoder<`u`?new TextDecoder:typeof Buffer<`u`?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},mt=class{constructor(){this.pos=0,this.out=``,this.buffer=new Uint8Array(ft)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===ft&&(this.out+=pt.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:n}=this;return n>0?t+pt.decode(e.subarray(0,n)):t}};function ht(e){let t=new mt,n=0,r=0,i=0,a=0;for(let o=0;o<e.length;o++){let s=e[o];if(o>0&&t.write(st),s.length===0)continue;let c=0;for(let e=0;e<s.length;e++){let o=s[e];e>0&&t.write(ot),c=dt(t,o[0],c),o.length!==1&&(n=dt(t,o[1],n),r=dt(t,o[2],r),i=dt(t,o[3],i),o.length!==4&&(a=dt(t,o[4],a)))}}return t.flush()}var gt=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))}},_t=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 vt(){return typeof globalThis<`u`&&typeof globalThis.btoa==`function`?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer==`function`?e=>Buffer.from(e,`utf-8`).toString(`base64`):()=>{throw Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}let yt=vt();var bt=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ht(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,`+yt(this.toString())}};function xt(e){let t=e.split(`
|
|
3
|
+
`),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 St(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(`/`)}let Ct=Object.prototype.toString;function wt(e){return Ct.call(e)===`[object Object]`}function Tt(e){let t=e.split(`
|
|
4
|
+
`),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]}}}let Et=/\w/;var Dt=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(`
|
|
5
5
|
`,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(`
|
|
6
6
|
`,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]===`
|
|
7
|
-
`)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`?
|
|
8
|
-
`);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}};let
|
|
7
|
+
`)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`?Et.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(`
|
|
8
|
+
`);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}};let Ot={insertLeft:!1,insertRight:!1,storeName:!1};var kt=class e{constructor(e,t={}){let n=new _t(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 gt},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 gt(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(e){e||={};let t=Object.keys(this.storedNames),n=new Dt(e.hires),r=Tt(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?St(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 bt(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=xt(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(wt(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]===`
|
|
9
9
|
`));else for(o=s.start;o<t;){if(!r[o]){let t=this.original[o];t===`
|
|
10
|
-
`?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
|
|
10
|
+
`?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 Ot.insertLeft||=(console.warn(`magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead`),!0),this.appendLeft(e,t)}insertRight(e,t){return Ot.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&&(Ot.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 _t(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(`
|
|
11
11
|
`);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(`
|
|
12
12
|
`),e!==-1)return n.outro.substr(e+1)+t;t=n.outro+t}if(n.content.length>0){if(e=n.content.lastIndexOf(`
|
|
13
13
|
`),e!==-1)return n.content.substr(e+1)+t;t=n.content+t}if(n.intro.length>0){if(e=n.intro.lastIndexOf(`
|
|
14
14
|
`),e!==-1)return n.intro.substr(e+1)+t;t=n.intro+t}}while(n=n.previous);return e=this.intro.lastIndexOf(`
|
|
15
|
-
`),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=Ct(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)}},Ot=t({PseudoClassFunctions:()=>sn,PseudoClassFunctionsStr:()=>A,PseudoClasses:()=>O,PseudoClassesAndElementsColonStr:()=>mn,PseudoClassesAndElementsStr:()=>pn,PseudoClassesColon:()=>k,PseudoClassesColonKeys:()=>on,PseudoClassesColonStr:()=>un,PseudoClassesKeys:()=>an,PseudoClassesMulti:()=>cn,PseudoClassesMultiStr:()=>dn,PseudoClassesStr:()=>ln,alphaPlaceholders:()=>It,alphaPlaceholdersRE:()=>Lt,calcMaxWidthBySize:()=>$t,colorOpacityToString:()=>Bt,colorToString:()=>D,createPartClasses:()=>bn,createPseudoClassFunctions:()=>_n,createPseudoClassesAndElements:()=>gn,createTaggedPseudoClassMatcher:()=>hn,createTaggedPseudoClasses:()=>vn,createValueHandler:()=>en,cssColorFunctions:()=>Mt,excludedPseudo:()=>fn,getBracket:()=>kt,getStringComponent:()=>At,getStringComponents:()=>jt,hasIconFn:()=>nn,hasThemeFn:()=>Xt,hex2rgba:()=>zt,hueInterpolationMethods:()=>Ft,iconFnRE:()=>tn,isInterpolatedMethod:()=>Rt,parseCssColor:()=>E,polarColorSpace:()=>Pt,rectangularColorSpace:()=>Nt,themeFnRE:()=>Yt,transformThemeFn:()=>Zt,transformThemeString:()=>Qt,variantGetBracket:()=>Sn,variantGetParameter:()=>Cn,variantMatcher:()=>xn,variantParentMatcher:()=>j});function kt(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 At(e,t,n,r){if(e===``||(d(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 jt(e,t,n,r=`(`,i=`)`){n??=10;let a=[],o=0;for(;e!==``;){if(++o>n)return;let s=At(e,r,i,t);if(!s)return;let[c,l]=s;a.push(c),e=l}if(a.length>0)return a}let Mt=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],Nt=[`srgb`,`srgb-linear`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec2020`,`lab`,`oklab`,`xyz`,`xyz-d50`,`xyz-d65`],Pt=[`hsl`,`hwb`,`lch`,`oklch`],Ft=[`shorter`,`longer`,`increasing`,`decreasing`],It=[`%alpha`,`<alpha-value>`],Lt=new RegExp(It.map(e=>m(e)).join(`|`),`g`);function Rt(e){return e?Nt.some(t=>e.includes(t))||Pt.some(t=>e.includes(t))||Ft.some(t=>e.includes(t)):!1}function zt(e=``){let t=Ht(e);if(t!=null){let{components:e,alpha:n}=t;return n==null?e:[...e,n]}}function E(e=``){let t=Vt(e);if(t==null||t===!1)return;let{type:n,components:r,alpha:i}=t,a=n.toLowerCase();if(r.length!==0&&!(Mt.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 Bt(e){let t=e.alpha??1;return typeof t==`string`&&It.includes(t)?1:t}function D(e,t){if(typeof e==`string`)return e.replace(Lt,`${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}`,Mt.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}function Vt(e){if(!e)return;let t=Ht(e);if(t!=null||(t=Ut(e),t!=null)||(t=Wt(e),t!=null)||(t=Kt(e),t!=null)||(t=qt(e),t!=null))return t}function Ht(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 Ut(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:`rgb`,components:t.slice(0,3),alpha:t[3]}}function Wt(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,n,r]=t,i=jt(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}}let Gt=RegExp(`^(${Mt.join(`|`)})\\((.+)\\)$`,`i`);function Kt(e){let t=e.match(Gt);if(!t)return;let[,n,r]=t,i=Jt(`${n} ${r}`);if(i){let{alpha:e,components:[t,...n]}=i;return{type:t,components:n,alpha:e}}}function qt(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let n=Jt(t[1]);if(n){let{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}function Jt(e){let t=jt(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=jt(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}}let Yt=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Xt(e){return e.includes(`theme(`)&&e.includes(`)`)}function Zt(e,t,n=!0){let r=Array.from(e.toString().matchAll(Yt));if(!r.length)return e;let i=new Dt(e);for(let e of r){let r=e[2];if(!r)throw Error(`theme() expect exact one argument, but got 0`);let a=Qt(r,t,n);a&&i.overwrite(e.index,e.index+e[0].length,a)}return i.toString()}function Qt(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=E(a);e&&(a=D(e,i))}return a}else if(n)throw Error(`theme of "${e}" did not found`)}function $t(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 en(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}let tn=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function nn(e){return e.includes(`icon(`)&&e.includes(`)`)}let rn=`__pseudo_placeholder__`,O=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(${rn})`],[`nth-last`,`:nth-last-child(${rn})`],[`nth-last-of-type`,`:nth-last-of-type(${rn})`],[`nth-of-type`,`:nth-of-type(${rn})`],`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`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),an=Object.keys(O),k=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),on=Object.keys(k),sn=[`not`,`is`,`where`,`has`],cn=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]),ln=Object.entries(O).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),un=Object.entries(k).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),A=sn.join(`|`),dn=Object.keys(cn).sort((e,t)=>t.length-e.length).join(`|`),fn=[`::-webkit-resizer`,`::-webkit-scrollbar`,`::-webkit-scrollbar-button`,`::-webkit-scrollbar-corner`,`::-webkit-scrollbar-thumb`,`::-webkit-scrollbar-track`,`::-webkit-scrollbar-track-piece`,`::file-selector-button`],pn=Object.entries(O).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),mn=Object.entries(k).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);function hn(e,t,n,r){let{h:i,variantGetBracket:a}=r,o=RegExp(`^(${m(t)}:)(\\S+)${m(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}${h(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=O[a]||k[a]||`:${a}`;return i&&(s=`:${i}(${s})`),[o,e.slice(r.length),`${t}${h(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}${h(o)}${s}`]};return{name:`pseudo:${e}`,match(t,r){if(s&&c&&l||(s=RegExp(`(?:${r.generator.config.separators.join(`|`)})`),c=RegExp(`^${e}-(?:(?:(${A})-)?(${ln}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join(`|`)})`),l=RegExp(`^${e}-(?:(?:(${A})-)?(${un}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),u=RegExp(`^${e}-(?:(${A})-)?\\[(.+)\\](?:(/[\\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:an.indexOf(g)??on.indexOf(g)})}},multiPass:!0}}function gn(e){let{h:t}=e,n,r,i;return[{name:`pseudo`,match(e,i){n&&r||(n=RegExp(`^(${pn})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join(`|`)})`),r=RegExp(`^(${mn})(?:${i.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let a=e.match(n)||e.match(r);if(a){let n=O[a[1]]||k[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(rn,e))}let r=an.indexOf(a[1]);return r===-1&&(r=on.indexOf(a[1])),r===-1&&(r=void 0),{matcher:e.slice(a[0].length),handle:(e,t)=>{let i=n.includes(`::`)&&!fn.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...i,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${pn}|${mn}):`},{name:`pseudo:multi`,match(e,t){i||=RegExp(`^(${dn})(?:${t.generator.config.separators.join(`|`)})`);let n=e.match(i);if(n)return cn[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${dn}):`}]}function _n(e){let{getBracket:t,h:n}=e,r,i,a;return{match(e,o){r&&i||(r=RegExp(`^(${A})-(${ln})(?:${o.generator.config.separators.join(`|`)})`),i=RegExp(`^(${A})-(${un})(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),a=RegExp(`^(${A})-(\\[.+\\])(?:${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]):O[s[2]]||k[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${i})`}}},multiPass:!0,autocomplete:`(${A})-(${ln}|${un}):`}}function vn(e,t){let n=!!e?.attributifyPseudo,r=e?.prefix??``;r=h((Array.isArray(r)?r:[r]).filter(Boolean)[0]??``);let i=(e,i)=>hn(e,n?`[${r}${e}=""]`:`.${r}${e}`,i,t);return[i(`group`,` `),i(`peer`,`~`),i(`parent`,`>`),i(`previous`,`+`)]}let yn=/(part-\[(.+)\]:)(.+)/;function bn(){return{match(e){let t=e.match(yn);if(t){let n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0}}function xn(e,t,n={}){let r;return{name:e,match(i,a){r||=RegExp(`^${m(e)}(?:${a.generator.config.separators.join(`|`)})`);let o=i.match(r);if(o){let e=i.slice(o[0].length),r=c(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return r.length===1?r[0]:r}},autocomplete:`${e}:`}}function j(e,t){let n;return{name:e,match(r,i){n||=RegExp(`^${m(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 Sn(e,t,n){if(t.startsWith(`${e}[`)){let[r,i]=kt(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 Cn(e,t,n){for(let r of c(e))if(t.startsWith(r)){let e=Sn(r,t,n);if(e){let[t=``,r=e[1]]=Cn(`/`,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)]}}}}let M={l:[`-left`],r:[`-right`],t:[`-top`],b:[`-bottom`],s:[`-inline-start`],e:[`-inline-end`],x:[`-left`,`-right`],y:[`-top`,`-bottom`],"":[``],bs:[`-block-start`],be:[`-block-end`],is:[`-inline-start`],ie:[`-inline-end`],block:[`-block-start`,`-block-end`],inline:[`-inline-start`,`-inline-end`]},wn={...M,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`]},Tn={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`]},En={x:[`-x`],y:[`-y`],z:[`-z`],"":[`-x`,`-y`]},Dn=[`x`,`y`,`z`],On=[`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`],N=Object.assign({},...On.map(e=>({[e.replace(/ /,`-`)]:e})),...On.map(e=>({[e.replace(/\b(\w)\w+/g,`$1`).replace(/ /,``)]:e}))),P=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],kn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,An=/^(var)\s*\((.+)\)(.*)/,jn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Mn=/^(-?\d*(?:\.\d+)?)$/,Nn=/^(px|[sld]?v[wh])$/i,Pn={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Fn=/^\[(color|image|length|size|position|quoted|string):/i,In=/,(?![^()]*\))/g;var Ln=tt({auto:()=>Bn,bracket:()=>qn,bracketOfColor:()=>Jn,bracketOfLength:()=>Yn,bracketOfPosition:()=>Xn,cssvar:()=>Zn,degree:()=>$n,fraction:()=>Gn,global:()=>er,number:()=>Un,numberWithUnit:()=>zn,percent:()=>Wn,position:()=>nr,properties:()=>tr,px:()=>Hn,rem:()=>Vn,time:()=>Qn});let Rn=`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 F(e){return+e.toFixed(10)}function zn(e){let t=e.match(jn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${F(i)}${r}`}function Bn(e){if(e===`auto`||e===`a`)return`auto`}function Vn(e){if(!e)return;if(Nn.test(e))return`${Pn[e]}${e}`;let t=e.match(jn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0`:r?`${F(i)}${r}`:`${F(i/4)}rem`}function Hn(e){if(Nn.test(e))return`${Pn[e]}${e}`;let t=e.match(jn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${F(i)}${r}`:`${F(i)}px`}function Un(e){if(!Mn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return F(t)}function Wn(e){if(e.endsWith(`%`)&&(e=e.slice(0,-1)),!Mn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${F(t/100)}`}function Gn(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`:`${F(r*100)}%`}function Kn(e,t){if(e&&e.startsWith(`[`)&&e.endsWith(`]`)){let n,r,i=e.match(Fn);if(i?(t||(r=i[1]),n=e.slice(i[0].length,-1)):n=e.slice(1,-1),!n||n===`=""`)return;n.startsWith(`--`)&&(n=`var(${n})`);let a=0;for(let e of n)if(e===`[`)a+=1;else if(e===`]`&&(--a,a<0))return;if(a)return;switch(r){case`string`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`);case`quoted`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(["\\])/g,`\\$1`).replace(/^(.+)$/,`"$1"`)}return n.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 qn(e){return Kn(e)}function Jn(e){return Kn(e,`color`)}function Yn(e){return Kn(e,`length`)}function Xn(e){return Kn(e,`position`)}function Zn(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,n]=e.slice(1).split(`,`);return`var(--${h(t)}${n?`, ${n}`:``})`}}function Qn(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?`${F(i)}${r}`:`${F(i)}ms`}function $n(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?`${F(i)}${r}`:`${F(i)}deg`}function er(e){if(P.includes(e))return e}function tr(e){if(e.split(`,`).every(e=>Rn.includes(e)))return e}function nr(e){if([`top`,`left`,`right`,`bottom`,`center`].includes(e))return e}let rr=en(Ln),I=rr,ir=`$$mini-no-negative`;function L(e){return([t,n,r],{theme:i})=>{let a=i.spacing?.[r||`DEFAULT`]??I.bracket.cssvar.global.auto.fraction.rem(r);if(a!=null)return M[n].map(t=>[`${e}${t}`,a]);if(r?.startsWith(`-`)){let t=i.spacing?.[r.slice(1)];if(t!=null)return M[n].map(n=>[`${e}${n}`,`calc(${t} * -1)`])}}}function ar(e,t,n=`colors`){let r=e[n];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(`-`),a=e[r.replace(/(-[a-z])/g,e=>e.slice(1).toUpperCase())]??e[r];if(a!=null)return n===t.length?a:i(a,t.slice(n))}}return i(r,t)}function or(e,t,n){return ar(e,t,n)||ar(e,t,`colors`)}function sr(e,t){let[n,r]=At(e,`[`,`]`,[`/`,`:`])??[];if(n!=null){let e=(n.match(Fn)??[])[1];if(e==null||e===t)return[n,r]}}function cr(e,t,n){let r=sr(e,`color`);if(!r)return;let[i,a]=r,o=i.replace(/([a-z])(\d)/g,`$1-$2`).split(/-/g),[s]=o;if(!s)return;let c,l=I.bracketOfColor(i),u=l||i;if(I.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:i.startsWith(`$`)&&(c=I.cssvar(i)),c||=l,!c){let e=or(t,[i],n);typeof e==`string`&&(c=e)}let d=`DEFAULT`;if(!c){let e=o,r,[i]=o.slice(-1);/^\d+$/.test(i)&&(d=r=i,e=o.slice(0,-1));let a=or(t,e,n);typeof a==`object`?c=a[r??d]:typeof a==`string`&&!r&&(c=a)}return{opacity:a,name:s,no:d,color:c,cssColor:E(c),alpha:I.bracket.cssvar.percent(a??``)}}function R(e,t,n,r){return([,i],{theme:a,generator:o})=>{let s=cr(i??``,a,n);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=o.config.envMode===`dev`&&l?` /* ${l} */`:``,f={};if(u)if(c!=null)f[e]=D(u,c)+d;else{let n=`--un-${t}-opacity`,r=D(u,`var(${n})`);r.includes(n)&&(f[n]=Bt(u)),f[e]=r+d}else if(l)if(c!=null)f[e]=D(l,c)+d;else{let n=`--un-${t}-opacity`,r=D(l,`var(${n})`);r.includes(n)&&(f[n]=1),f[e]=r+d}if(r?.(f)!==!1)return f}}function lr(e,t){let n=[];e=c(e);for(let r=0;r<e.length;r++){let i=jt(e[r],` `,6);if(!i||i.length<3)return e;let a=!1,o=i.indexOf(`inset`);o!==-1&&(i.splice(o,1),a=!0);let s=``,c=i.at(-1);if(E(i.at(0))){let e=E(i.shift());e&&(s=`, ${D(e)}`)}else if(E(c)){let e=E(i.pop());e&&(s=`, ${D(e)}`)}else c&&c.startsWith(`var(`)&&(s=`, ${i.pop()}`);n.push(`${a?`inset `:``}${i.join(` `)} var(${t}${s})`)}return n}function ur(e,t,n){return e!=null&&!!cr(e,t,n)?.color}let dr=/[a-z]+/gi,fr=new WeakMap;function z({theme:e,generator:t},n=`breakpoints`){let r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(fr.has(e))return fr.get(e);let i=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(dr,``))-Number.parseInt(t[1].replace(dr,``))).map(([e,t])=>({point:e,size:t}));return fr.set(e,i),i}function pr(e){return z(e,`verticalBreakpoints`)}function B(e,t){return P.map(n=>[`${e}-${n}`,{[t??e]:n}])}function V(e){return e!=null&&kn.test(e)}function mr(e){return e[0]===`[`&&e.slice(-1)===`]`&&(e=e.slice(1,-1)),kn.test(e)||jn.test(e)}function hr(e,t,n){let r=t.split(In);return e||!e&&r.length===1?En[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${Dn[t]}`,e])}var H=tt({CONTROL_MINI_NO_NEGATIVE:()=>ir,colorResolver:()=>R,colorableShadows:()=>lr,cornerMap:()=>Tn,cssMathFnRE:()=>kn,cssVarFnRE:()=>An,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>rr,hasParseableColor:()=>ur,insetMap:()=>wn,isCSSMathFn:()=>V,isSize:()=>mr,makeGlobalStaticRules:()=>B,parseColor:()=>cr,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>pr,splitShorthand:()=>sr,transformXYZ:()=>hr,valueHandlers:()=>Ln,xyzArray:()=>Dn,xyzMap:()=>En});rt(H,Ot);var U=tt({CONTROL_MINI_NO_NEGATIVE:()=>ir,colorResolver:()=>R,colorableShadows:()=>lr,cornerMap:()=>Tn,cssMathFnRE:()=>kn,cssVarFnRE:()=>An,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>rr,hasParseableColor:()=>ur,insetMap:()=>wn,isCSSMathFn:()=>V,isSize:()=>mr,makeGlobalStaticRules:()=>B,parseColor:()=>cr,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>pr,splitShorthand:()=>sr,transformXYZ:()=>hr,valueHandlers:()=>Ln,xyzArray:()=>Dn,xyzMap:()=>En});rt(U,H);let gr=/@media \(min-width: (.+)\)/,_r=[[/^__container$/,(e,t)=>{let{theme:n,variantHandlers:r}=t,i=n.container?.padding,a;a=d(i)?i:i?.DEFAULT;let o=n.container?.maxWidth,s;for(let e of r){let n=e.handle?.({},e=>e)?.parent;if(d(n)){let e=n.match(gr)?.[1];if(e){let n=(z(t)??[]).find(t=>t.size===e)?.point;o?n&&(s=o?.[n]):s=e,n&&!d(i)&&(a=i?.[n]??a)}}}let c={"max-width":s};return r.length||(c.width=`100%`),n.container?.center&&(c[`margin-left`]=`auto`,c[`margin-right`]=`auto`),i&&(c[`padding-left`]=a,c[`padding-right`]=a),c},{internal:!0}]],vr=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(z(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}]],yr={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(P.map(e=>[e,e]))},br=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":yr[e]??I.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(yr).join(`|`)})`,`(vertical|align|v)-<percentage>`]}]],xr=[`center`,`left`,`right`,`justify`,`start`,`end`],Sr=[...xr.map(e=>[`text-${e}`,{"text-align":e}]),...[...P,...xr].map(e=>[`text-align-${e}`,{"text-align":e}])],Cr=[[/^outline-(?:width-|size-)?(.+)$/,wr,{autocomplete:`outline-(width|size)-<num>`}],[/^outline-(?:color-)?(.+)$/,Tr,{autocomplete:`outline-$colors`}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}),{autocomplete:`outline-(offset)-<num>`}],[`outline`,{"outline-style":`solid`}],...[`auto`,`dashed`,`dotted`,`double`,`hidden`,`solid`,`groove`,`ridge`,`inset`,`outset`,...P].map(e=>[`outline-${e}`,{"outline-style":e}]),[`outline-none`,{outline:`2px solid transparent`,"outline-offset":`2px`}]];function wr([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function Tr(e,t){return V(I.bracket(e[1]))?wr(e,t):R(`outline-color`,`outline-color`,`borderColor`)(e,t)}let Er=[[`appearance-auto`,{"-webkit-appearance":`auto`,appearance:`auto`}],[`appearance-none`,{"-webkit-appearance":`none`,appearance:`none`}]];function Dr(e){return I.properties.auto.global(e)??{contents:`contents`,scroll:`scroll-position`}[e]}let Or=[[/^will-change-(.+)/,([,e])=>({"will-change":Dr(e)})]],kr=[`solid`,`dashed`,`dotted`,`double`,`hidden`,`none`,`groove`,`ridge`,`inset`,`outset`,...P],Ar=[[/^(?:border|b)()(?:-(.+))?$/,W,{autocomplete:`(border|b)-<directions>`}],[/^(?:border|b)-([xy])(?:-(.+))?$/,W],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,W],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,W],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,W],[/^(?:border|b)-()(?:width|size)-(.+)$/,W,{autocomplete:[`(border|b)-<num>`,`(border|b)-<directions>-<num>`]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-()(?:color-)?(.+)$/,Nr,{autocomplete:[`(border|b)-$colors`,`(border|b)-<directions>-$colors`]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Nr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Nr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Nr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Nr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Pr,{autocomplete:`(border|b)-(op|opacity)-<percent>`}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Pr],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Pr],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Pr],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Pr],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Fr,{autocomplete:[`(border|b)-(rounded|rd)`,`(border|b)-(rounded|rd)-$borderRadius`,`(rounded|rd)`,`(rounded|rd)-$borderRadius`]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Fr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Fr],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Fr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Fr],[/^(?:border|b)-(?:style-)?()(.+)$/,Ir,{autocomplete:[`(border|b)-style`,`(border|b)-(${kr.join(`|`)})`,`(border|b)-<directions>-style`,`(border|b)-<directions>-(${kr.join(`|`)})`,`(border|b)-<directions>-style-(${kr.join(`|`)})`,`(border|b)-style-(${kr.join(`|`)})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Ir],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Ir],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Ir],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Ir]];function jr(e,t,n){if(t!=null)return{[`border${n}-color`]:D(e,t)};if(n===``){let t={},n=`--un-border-opacity`,r=D(e,`var(${n})`);return r.includes(n)&&(t[n]=typeof e==`string`?1:Bt(e)),t[`border-color`]=r,t}else{let t={},r=`--un-border-opacity`,i=`--un-border${n}-opacity`,a=D(e,`var(${i})`);return a.includes(i)&&(t[r]=typeof e==`string`?1:Bt(e),t[i]=`var(${r})`),t[`border${n}-color`]=a,t}}function Mr(e){return([,t],n)=>{let r=cr(t,n,`borderColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(o)return jr(o,i,e);if(a)return jr(a,i,e)}}function W([,e=``,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.global.px(t||`1`);if(e in M&&r!=null)return M[e].map(e=>[`border${e}-width`,r])}function Nr([,e=``,t],n){if(e in M){if(V(I.bracket(t)))return W([``,e,t],n);if(ur(t,n.theme,`borderColor`))return Object.assign({},...M[e].map(e=>Mr(e)([``,t],n.theme)))}}function Pr([,e=``,t]){let n=I.bracket.percent.cssvar(t);if(e in M&&n!=null)return M[e].map(e=>[`--un-border${e}-opacity`,n])}function Fr([,e=``,t],{theme:n}){let r=n.borderRadius?.[t||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(t||`1`);if(e in Tn&&r!=null)return Tn[e].map(e=>[`border${e}-radius`,r])}function Ir([,e=``,t]){if(kr.includes(t)&&e in M)return M[e].map(e=>[`border${e}-style`,t])}let Lr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:I.bracket.percent.cssvar(e)})]],Rr=/^\[url\(.+\)\]$/,zr=/^\[(?:length|size):.+\]$/,Br=/^\[position:.+\]$/,Vr=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Hr=/^\[image:.+\]$/,Ur=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Rr.test(t))return{"--un-url":I.bracket(t),"background-image":`var(--un-url)`};if(zr.test(t)&&I.bracketOfLength(t)!=null)return{"background-size":I.bracketOfLength(t).split(` `).map(e=>I.fraction.auto.px.cssvar(e)??e).join(` `)};if((mr(t)||Br.test(t))&&I.bracketOfPosition(t)!=null)return{"background-position":I.bracketOfPosition(t).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)};if(Vr.test(t)||Hr.test(t)){let e=I.bracket(t);if(e)return{"background-image":(e.startsWith(`http`)?`url(${e})`:I.cssvar(e))??e}}return R(`background-color`,`bg`,`backgroundColor`)(...e)},{autocomplete:`bg-$colors`}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`bg-(op|opacity)-<percent>`}]],Wr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],Gr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??`inline-size`,"container-name":e})]],Kr=[`solid`,`double`,`dotted`,`dashed`,`wavy`,...P],qr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:`decoration-(underline|overline|line-through)`}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Jr,{autocomplete:`(underline|decoration)-<num>`}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:`(underline|decoration)-(auto|from-font)`}],[/^(?:underline|decoration)-(.+)$/,Yr,{autocomplete:`(underline|decoration)-$colors`}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(underline|decoration)-(op|opacity)-<percent>`}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??I.auto.bracket.cssvar.global.px(e)}),{autocomplete:`(underline|decoration)-(offset)-<num>`}],...Kr.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Kr.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),[`no-underline`,{"text-decoration":`none`}],[`decoration-none`,{"text-decoration":`none`}]];function Jr([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function Yr(e,t){if(V(I.bracket(e[1])))return Jr(e,t);let n=R(`text-decoration-color`,`line`,`borderColor`)(e,t);if(n)return{"-webkit-text-decoration-color":n[`text-decoration-color`],...n}}let Xr=[[`flex`,{display:`flex`}],[`inline-flex`,{display:`inline-flex`}],[`flex-inline`,{display:`inline-flex`}],[/^flex-(.*)$/,([,e])=>({flex:I.bracket(e)==null?I.cssvar.fraction(e):I.bracket(e).split(` `).map(e=>I.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":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-shrink-<num>`,`shrink-<num>`]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=``])=>({"flex-grow":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-grow-<num>`,`grow-<num>`]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??I.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:[`flex-basis-$spacing`,`basis-$spacing`]}],[`flex-row`,{"flex-direction":`row`}],[`flex-row-reverse`,{"flex-direction":`row-reverse`}],[`flex-col`,{"flex-direction":`column`}],[`flex-col-reverse`,{"flex-direction":`column-reverse`}],[`flex-wrap`,{"flex-wrap":`wrap`}],[`flex-wrap-reverse`,{"flex-wrap":`wrap-reverse`}],[`flex-nowrap`,{"flex-wrap":`nowrap`}]],Zr={"":``,x:`column-`,y:`row-`,col:`column-`,row:`row-`};function Qr([,e=``,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.global.rem(t);if(r!=null)return{[`${Zr[e]}gap`]:r}}let $r=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Qr,{autocomplete:[`gap-$spacing`,`gap-<num>`]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Qr,{autocomplete:[`gap-(x|y)-$spacing`,`gap-(x|y)-<num>`]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Qr,{autocomplete:[`gap-(col|row)-$spacing`,`gap-(col|row)-<num>`]}]];function G(e){return e.replace(`col`,`column`)}function ei(e){return e[0]===`r`?`Row`:`Column`}function ti(e,t,n){let r=t[`gridAuto${ei(e)}`]?.[n];if(r!=null)return r;switch(n){case`min`:return`min-content`;case`max`:return`max-content`;case`fr`:return`minmax(0,1fr)`}return I.bracket.cssvar.auto.rem(n)}let ni=[[`grid`,{display:`grid`}],[`inline-grid`,{display:`inline-grid`}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:n})=>({[`grid-${G(e)}`]:n[`grid${ei(e)}`]?.[t]??I.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t===`full`)return{[`grid-${G(e)}`]:`1/-1`};let n=I.bracket.number(t);if(n!=null)return{[`grid-${G(e)}`]:`span ${n}/span ${n}`}},{autocomplete:`(grid-row|grid-col|row|col)-span-<num>`}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${G(e)}-start`]:I.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${G(e)}-end`]:I.bracket.cssvar(t)??t}),{autocomplete:`(grid-row|grid-col|row|col)-(start|end)-<num>`}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-auto-${G(e)}`]:ti(e,n,t)}),{autocomplete:`(grid-auto|auto)-(rows|cols)-<num>`}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":I.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":G(e).replace(`-`,` `)}),{autocomplete:[`(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)`]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-template-${G(e)}`]:n[`gridTemplate${ei(e)}`]?.[t]??I.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:`(grid-rows|grid-cols|rows|cols)-<num>`}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e==null?{"grid-area":I.bracket.cssvar(t)}:{"grid-template-areas":I.cssvar(t)??t.split(`-`).map(e=>`"${I.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`}]],ri=[`auto`,`hidden`,`clip`,`visible`,`scroll`,`overlay`,...P],ii=[[/^(?:overflow|of)-(.+)$/,([,e])=>ri.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${ri.join(`|`)})`,`(overflow|of)-(x|y)-(${ri.join(`|`)})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>ri.includes(t)?{[`overflow-${e}`]:t}:void 0]],ai=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:[`(position|pos)-<position>`,`(position|pos)-<globalKeyword>`,`<position>`]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>P.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],oi=[[`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`}],...B(`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`}],...B(`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`}],...B(`justify-self`)],si=[[/^order-(.+)$/,([,e])=>({order:I.bracket.cssvar.number(e)})],[`order-first`,{order:`-9999`}],[`order-last`,{order:`9999`}],[`order-none`,{order:`0`}]],ci=[[`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`}],...B(`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`}],...B(`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`}],...B(`self`,`align-self`)],li=[[`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`}],...B(`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`}],...B(`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`}],...B(`place-self`)],ui=[...oi,...ci,...li].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function di(e,{theme:t}){return t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e)}function fi([,e,t],n){let r=di(t,n);if(r!=null&&e in wn)return wn[e].map(e=>[e.slice(1),r])}let pi=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:di(e,t)}),{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)-(.+)$/,fi],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,fi],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,fi],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,fi],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,fi],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],n)=>({[e]:di(t,n)})]],mi=[[`float-left`,{float:`left`}],[`float-right`,{float:`right`}],[`float-start`,{float:`inline-start`}],[`float-end`,{float:`inline-end`}],[`float-none`,{float:`none`}],...B(`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`}],...B(`clear`)],hi=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":I.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??I.bracket.cssvar.global.auto.number(e)}),{autocomplete:`z-<num>`}]],gi=[[`box-border`,{"box-sizing":`border-box`}],[`box-content`,{"box-sizing":`content-box`}],...B(`box`,`box-sizing`)],_i=[[/^(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`})}`}]],vi=`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(`.`),yi=[`none`,`strict`,`content`,`size`,`inline-size`,`layout`,`style`,`paint`],bi=[[`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:I.bracket.cssvar.global(e)})]],xi=[[`visible`,{visibility:`visible`}],[`invisible`,{visibility:`hidden`}],[`backface-visible`,{"backface-visibility":`visible`}],[`backface-hidden`,{"backface-visibility":`hidden`}],...B(`backface`,`backface-visibility`)],Si=[[/^cursor-(.+)$/,([,e])=>({cursor:I.bracket.cssvar.global(e)})],...vi.map(e=>[`cursor-${e}`,{cursor:e}])],Ci=[[/^contain-(.*)$/,([,e])=>I.bracket(e)==null?yi.includes(e)?{contain:e}:void 0:{contain:I.bracket(e).split(` `).map(e=>I.cssvar.fraction(e)??e).join(` `)}]],wi=[[`pointer-events-auto`,{"pointer-events":`auto`}],[`pointer-events-none`,{"pointer-events":`none`}],...B(`pointer-events`)],Ti=[[`resize-x`,{resize:`horizontal`}],[`resize-y`,{resize:`vertical`}],[`resize`,{resize:`both`}],[`resize-none`,{resize:`none`}],...B(`resize`)],Ei=[[`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`}],...B(`select`,`user-select`)],Di=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`,...P].includes(e)?{"white-space":e}:void 0,{autocomplete:`(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)`}]],Oi=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:`block-size`,inline:`inline-size`,w:`width`,h:`height`}[e]??`size`}`]:I.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`}],...B(`content-visibility`)],ki=[[/^content-(.+)$/,([,e])=>({content:I.bracket.cssvar(e)})],[`content-empty`,{content:`""`}],[`content-none`,{content:`none`}]],Ai=[[`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`}]],ji=[[`text-wrap`,{"text-wrap":`wrap`}],[`text-nowrap`,{"text-wrap":`nowrap`}],[`text-balance`,{"text-wrap":`balance`}],[`text-pretty`,{"text-wrap":`pretty`}]],Mi=[[`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`}]],Ni=[[`case-upper`,{"text-transform":`uppercase`}],[`case-lower`,{"text-transform":`lowercase`}],[`case-capital`,{"text-transform":`capitalize`}],[`case-normal`,{"text-transform":`none`}],...B(`case`,`text-transform`)],Pi=[[`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`}]],Fi=[[`antialiased`,{"-webkit-font-smoothing":`antialiased`,"-moz-osx-font-smoothing":`grayscale`}],[`subpixel-antialiased`,{"-webkit-font-smoothing":`auto`,"-moz-osx-font-smoothing":`auto`}]],Ii=[[`field-sizing-fixed`,{"field-sizing":`fixed`}],[`field-sizing-content`,{"field-sizing":`content`}]],Li={"--un-ring-inset":` `,"--un-ring-offset-width":`0px`,"--un-ring-offset-color":`#fff`,"--un-ring-width":`0px`,"--un-ring-color":`rgb(147 197 253 / 0.5)`,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Ri=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.ringWidth?.[e||`DEFAULT`]??I.px(e||`1`);if(n)return{"--un-ring-width":n,"--un-ring-offset-shadow":`var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)`,"--un-ring-shadow":`var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)`,"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}},{custom:{preflightKeys:Object.keys(Li)},autocomplete:`ring-$ringWidth`}],[/^ring-(?:width-|size-)(.+)$/,zi,{autocomplete:`ring-(width|size)-$lineWidth`}],[`ring-offset`,{"--un-ring-offset-width":`1px`}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??I.bracket.cssvar.px(e)}),{autocomplete:`ring-offset-(width|size)-$lineWidth`}],[/^ring-(.+)$/,Bi,{autocomplete:`ring-$colors`}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-(op|opacity)-<percent>`}],[/^ring-offset-(.+)$/,R(`--un-ring-offset-color`,`ring-offset`,`borderColor`),{autocomplete:`ring-offset-$colors`}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-offset-(op|opacity)-<percent>`}],[`ring-inset`,{"--un-ring-inset":`inset`}]];function zi([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??I.bracket.cssvar.px(e)}}function Bi(e,t){return V(I.bracket(e[1]))?zi(e,t):R(`--un-ring-color`,`ring`,`borderColor`)(e,t)}let Vi={"--un-ring-offset-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-ring-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-shadow-inset":` `,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Hi=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,n]=e,{theme:r}=t,i=r.boxShadow?.[n||`DEFAULT`],a=n?I.bracket.cssvar(n):void 0;return(i!=null||a!=null)&&!ur(a,r,`shadowColor`)?{"--un-shadow":lr(i||a,`--un-shadow-color`).join(`,`),"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}:R(`--un-shadow-color`,`shadow`,`shadowColor`)(e,t)},{custom:{preflightKeys:Object.keys(Vi)},autocomplete:[`shadow-$colors`,`shadow-$boxShadow`]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}],[`shadow-inset`,{"--un-shadow-inset":`inset`}]],Ui={h:`height`,w:`width`,inline:`inline-size`,block:`block-size`};function K(e,t){return`${e||``}${Ui[t]}`}function Wi(e,t,n,r){let i=n[K(e,t).replace(/-(\w)/g,(e,t)=>t.toUpperCase())]?.[r];if(i!=null)return i;switch(r){case`fit`:case`max`:case`min`:return`${r}-content`;case`stretch`:return`stretch`}return I.bracket.cssvar.global.auto.fraction.rem(r)}let Gi=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[K(e,`w`)]:Wi(e,`w`,n,t),[K(e,`h`)]:Wi(e,`h`,n,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Wi(e,t,r,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Wi(e,t,r,n)}),{autocomplete:[`(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(max|min)-(w|h|block|inline)`,`(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(w|h)-full`,`(max|min)-(w|h)-full`]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Ki(r,n,`verticalBreakpoints`)})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Ki(r,n)}),{autocomplete:[`(w|h)-screen`,`(min|max)-(w|h)-screen`,`h-screen-$verticalBreakpoints`,`(min|max)-h-screen-$verticalBreakpoints`,`w-screen-$breakpoints`,`(min|max)-w-screen-$breakpoints`]}]];function Ki(e,t,n=`breakpoints`){let r=z(e,n);if(r)return r.find(e=>e.point===t)?.size}function qi(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case`square`:return`1/1`;case`video`:return`16/9`}return I.bracket.cssvar.global.auto.number(e)}let Ji=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":qi(e)}),{autocomplete:[`aspect-(square|video|ratio)`,`aspect-ratio-(square|video)`]}]],Yi=[[/^pa?()-?(.+)$/,L(`padding`),{autocomplete:[`(m|p)<num>`,`(m|p)-<num>`]}],[/^p-?xy()()$/,L(`padding`),{autocomplete:`(m|p)-(xy)`}],[/^p-?([xy])(?:-?(.+))?$/,L(`padding`)],[/^p-?([rltbse])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)<directions>-<num>`}],[/^p-(block|inline)(?:-(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(block|inline)-<num>`}],[/^p-?([bi][se])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(bs|be|is|ie)-<num>`}]],Xi=[[/^ma?()-?(.+)$/,L(`margin`)],[/^m-?xy()()$/,L(`margin`)],[/^m-?([xy])(?:-?(.+))?$/,L(`margin`)],[/^m-?([rltbse])(?:-?(.+))?$/,L(`margin`)],[/^m-(block|inline)(?:-(.+))?$/,L(`margin`)],[/^m-?([bi][se])(?:-?(.+))?$/,L(`margin`)]],Zi=[[/^fill-(.+)$/,R(`fill`,`fill`,`backgroundColor`),{autocomplete:`fill-$colors`}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`fill-(op|opacity)-<percent>`}],[`fill-none`,{fill:`none`}],[/^stroke-(?:width-|size-)?(.+)$/,Qi,{autocomplete:[`stroke-width-$lineWidth`,`stroke-size-$lineWidth`]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":I.bracket.cssvar.number(e)}),{autocomplete:`stroke-dash-<num>`}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??I.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:`stroke-offset-$lineWidth`}],[/^stroke-(.+)$/,$i,{autocomplete:`stroke-$colors`}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":I.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 Qi([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??I.bracket.cssvar.fraction.px.number(e)}}function $i(e,t){return V(I.bracket(e[1]))?Qi(e,t):R(`stroke`,`stroke`,`borderColor`)(e,t)}let ea=[`translate`,`rotate`,`scale`],ta=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`rotate(var(--un-rotate))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`].join(` `),q=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`translateZ(var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),na=[`translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),ra={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},J=Object.keys(ra),ia=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":N[e]??I.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(N).join(`|`)})`,`origin-(${Object.keys(N).join(`|`)})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t])=>{let n=I.bracket.cssvar.px.numberWithUnit(t);if(n!=null)return e?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${q}`}:{"-webkit-perspective":n,perspective:n}}],[/^perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=I.bracket.cssvar(e)??(e.length>=3?N[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,aa,{custom:{preflightKeys:J}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,aa,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-()(.+)$/,sa,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,sa,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-()(.+)$/,ca,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-([xy])-(.+)$/,ca,{custom:{preflightKeys:J},autocomplete:[`transform-skew-(x|y)-<percent>`,`skew-(x|y)-<percent>`]}],[/^(?:transform-)?scale-()(.+)$/,oa,{custom:{preflightKeys:J}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,oa,{custom:{preflightKeys:J},autocomplete:[`transform-(${ea.join(`|`)})-<percent>`,`transform-(${ea.join(`|`)})-(x|y|z)-<percent>`,`(${ea.join(`|`)})-<percent>`,`(${ea.join(`|`)})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":`preserve-3d`})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":`flat`})],[`transform`,{transform:q},{custom:{preflightKeys:J}}],[`transform-cpu`,{transform:ta},{custom:{preflightKeys:[`--un-translate-x`,`--un-translate-y`,`--un-rotate`,`--un-rotate-z`,`--un-skew-x`,`--un-skew-y`,`--un-scale-x`,`--un-scale-y`]}}],[`transform-gpu`,{transform:na},{custom:{preflightKeys:J}}],[`transform-none`,{transform:`none`}],...B(`transform`)];function aa([,e,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.fraction.rem(t);if(r!=null)return[...hr(e,r,`translate`),[`transform`,q]]}function oa([,e,t]){let n=I.bracket.cssvar.fraction.percent(t);if(n!=null)return[...hr(e,n,`scale`),[`transform`,q]]}function sa([,e=``,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:n,transform:q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":n,transform:q}}function ca([,e,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return[...hr(e,n,`skew`),[`transform`,q]]}function la(e,t){let n;if(I.cssvar(e)!=null)n=I.cssvar(e);else{e.startsWith(`[`)&&e.endsWith(`]`)&&(e=e.slice(1,-1));let r=e.split(`,`).map(e=>t.transitionProperty?.[e]??I.properties(e));r.every(Boolean)&&(n=r.join(`,`))}return n}let ua=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{if(!e&&!t)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.DEFAULT??I.time(`150`)};if(e!=null){let r=la(e,n),i=n.duration?.[t||`DEFAULT`]??I.time(t||`150`);if(r)return{"transition-property":r,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":i}}else if(t!=null)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.[t]??I.time(t)}},{autocomplete:`transition-$transitionProperty-$duration`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-duration-$duration`,`duration-$duration`]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-delay-$duration`,`delay-$duration`]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`transition-ease-(linear|in|out|in-out|DEFAULT)`,`ease-(linear|in|out|in-out|DEFAULT)`]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let n=I.global(e)||la(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...P].join(`|`)})`,`transition-property-$transitionProperty`,`property-$transitionProperty`]}],[`transition-none`,{transition:`none`}],...B(`transition`),[`transition-discrete`,{"transition-behavior":`allow-discrete`}],[`transition-normal`,{"transition-behavior":`normal`}]],da=[[/^text-(.+)$/,ya,{autocomplete:`text-$fontSize`}],[/^(?:text|font)-size-(.+)$/,_a,{autocomplete:`text-size-$fontSize`}],[/^text-(?:color-)?(.+)$/,va,{autocomplete:`text-$colors`}],[/^(?:color|c)-(.+)$/,R(`color`,`text`,`textColor`),{autocomplete:`(color|c)-$colors`}],[/^(?:text|color|c)-(.+)$/,([,e])=>P.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${P.join(`|`)})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(text|color|c)-(op|opacity)-<percent>`}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||I.bracket.global.number(e)}),{autocomplete:[`(font|fw)-(100|200|300|400|500|600|700|800|900)`,`(font|fw)-$fontWeight`]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":ga(e,t,`lineHeight`)}),{autocomplete:`(leading|lh|line-height)-$lineHeight`}],[`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":I.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`tracking-$letterSpacing`}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`word-spacing-$wordSpacing`}],[`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":I.bracket.cssvar.fraction.global(e)}),{autocomplete:`font-stretch-<percentage>`}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||I.bracket.cssvar.global(e)}),{autocomplete:`font-$fontFamily`}]],fa=[[/^tab(?:-(.+))?$/,([,e])=>{let t=I.bracket.cssvar.global.number(e||`4`);if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],pa=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:`indent-$textIndent`}]],ma=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)}),{autocomplete:`text-stroke-$textStrokeWidth`}],[/^text-stroke-(.+)$/,R(`-webkit-text-stroke-color`,`text-stroke`,`borderColor`),{autocomplete:`text-stroke-$colors`}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-stroke-(op|opacity)-<percent>`}]],ha=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.textShadow?.[e||`DEFAULT`];return n==null?{"text-shadow":I.bracket.cssvar.global(e)}:{"--un-text-shadow":lr(n,`--un-text-shadow-color`).join(`,`),"text-shadow":`var(--un-text-shadow)`}},{autocomplete:`text-shadow-$textShadow`}],[/^text-shadow-color-(.+)$/,R(`--un-text-shadow-color`,`text-shadow`,`shadowColor`),{autocomplete:`text-shadow-color-$colors`}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-shadow-color-(op|opacity)-<percent>`}]];function ga(e,t,n){return t[n]?.[e]||I.bracket.cssvar.global.rem(e)}function _a([,e],{theme:t}){let n=c(t.fontSize?.[e])?.[0]??I.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function va(e,t){return V(I.bracket(e[1]))?_a(e,t):R(`color`,`text`,`textColor`)(e,t)}function ya([,e=`base`],{theme:t}){let n=sr(e,`length`);if(!n)return;let[r,i]=n,a=c(t.fontSize?.[r]),o=i?ga(i,t,`lineHeight`):void 0;if(a?.[0]){let[e,n,r]=a;return typeof n==`object`?{"font-size":e,...n}:{"font-size":e,"line-height":o??n??`1`,"letter-spacing":r?ga(r,t,`letterSpacing`):void 0}}let s=I.bracketOfLength.rem(r);return o&&s?{"font-size":s,"line-height":o}:{"font-size":I.bracketOfLength.rem(e)}}let ba={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`},xa=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=ba[e];if(n)return{[n]:I.cssvar(t)}}]],Sa=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(`:`))return;let[n,...r]=t.split(`:`),i=r.join(`:`);if(!wa(t)&&/^[\w-]+$/.test(n)&&Ca(i)){let e=I.bracket(`[${i}]`);if(e)return{[n]:e}}}]];function Ca(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 wa(e){if(!e.includes(`://`))return!1;try{return new URL(e).host!==``}catch{return!1}}let Ta=[xa,Sa,Ci,wi,xi,ai,pi,hi,si,ni,mi,Xi,gi,bi,Ji,Gi,Xr,ia,Si,Ei,Ti,Er,li,ci,oi,$r,ui,ii,Mi,Di,Ai,Ar,Ur,Wr,Zi,Yi,Sr,pa,ji,br,da,Ni,Pi,qr,Fi,fa,ma,ha,Lr,Hi,Cr,Ri,ua,Or,Oi,ki,Gr,Ii,_i].flat(1),Ea=[[/^(?: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:I.bracket.cssvar(e)}},{autocomplete:`animate-$animation.keyframes`}],[/^animate-name-(.+)/,([,e])=>({"animation-name":I.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-duration`,`animate-duration-$duration`]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-delay`,`animate-delay-$duration`]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`animate-ease`,`animate-ease-$easing`]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>[`none`,`forwards`,`backwards`,`both`,e?P:[]].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?P:[]].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":I.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?P:[]].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`}],...B(`animate`,`animation`)];function Da(e){return e?D(e,0):`rgb(255 255 255 / 0)`}function Oa(e,t,n,r){return t?r==null?D(t,`var(--un-${e}-opacity, ${Bt(t)})`):D(t,r):D(n,r)}function ka(){return([,e,t],{theme:n})=>{let r=cr(t,n,`backgroundColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(!a)return;let s=Oa(e,o,a,i);switch(e){case`from`:return{"--un-gradient-from-position":`0%`,"--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":`100%`,"--un-gradient-to":`${Da(o)} var(--un-gradient-to-position)`,"--un-gradient-stops":`var(--un-gradient-from), var(--un-gradient-to)`};case`via`:return{"--un-gradient-via-position":`50%`,"--un-gradient-to":Da(o),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case`to`:return{"--un-gradient-to-position":`100%`,"--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Aa(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(I.bracket.cssvar.percent(t))*100}%`})}let ja=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":I.bracket(e)}),{autocomplete:[`bg-gradient`,`bg-gradient-(from|to|via)`,`bg-gradient-(from|to|via)-$colors`,`bg-gradient-(from|to|via)-(op|opacity)`,`bg-gradient-(from|to|via)-(op|opacity)-<percent>`]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":I.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ka()],[/^(?:bg-gradient-)?(via)-(.+)$/,ka()],[/^(?:bg-gradient-)?(to)-(.+)$/,ka()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:I.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,Aa()],[/^bg-gradient-((?: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-to-([rltb]{1,2})$/,([,e])=>{if(e in N)return{"--un-gradient-shape":`to ${N[e]} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`,"background-image":`linear-gradient(var(--un-gradient))`}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(e=>e.length<=2&&Array.from(e).every(e=>`rltb`.includes(e))).join(`|`)})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in N?`to ${N[e]}`:I.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`}},{autocomplete:[`bg-gradient-shape`,`bg-gradient-shape-(${Object.keys(N).join(`|`)})`,`shape-(${Object.keys(N).join(`|`)})`]}],[`bg-none`,{"background-image":`none`}],[`box-decoration-slice`,{"box-decoration-break":`slice`}],[`box-decoration-clone`,{"box-decoration-break":`clone`}],...B(`box-decoration`,`box-decoration-break`),[`bg-auto`,{"background-size":`auto`}],[`bg-cover`,{"background-size":`cover`}],[`bg-contain`,{"background-size":`contain`}],[`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`}],...P.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":N[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`}],...B(`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`}],...B(`bg-origin`,`background-origin`)],Ma={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`},Na=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let n=Ma[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(Ma).join(`|`)})`,`list-(${Object.keys(Ma).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":I.bracket(e)}}],[`list-image-none`,{"list-style-image":`none`}],...B(`list`,`list-style-type`)],Pa=[[/^accent-(.+)$/,R(`accent-color`,`accent`,`accentColor`),{autocomplete:`accent-$colors`}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":I.bracket.percent(e)}),{autocomplete:[`accent-(op|opacity)`,`accent-(op|opacity)-<percent>`]}]],Fa=[[/^caret-(.+)$/,R(`caret-color`,`caret`,`textColor`),{autocomplete:`caret-$colors`}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":I.bracket.percent(e)}),{autocomplete:[`caret-(op|opacity)`,`caret-(op|opacity)-<percent>`]}]],Ia=[[`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`]]]],La=[[`overscroll-auto`,{"overscroll-behavior":`auto`}],[`overscroll-contain`,{"overscroll-behavior":`contain`}],[`overscroll-none`,{"overscroll-behavior":`none`}],...B(`overscroll`,`overscroll-behavior`),[`overscroll-x-auto`,{"overscroll-behavior-x":`auto`}],[`overscroll-x-contain`,{"overscroll-behavior-x":`contain`}],[`overscroll-x-none`,{"overscroll-behavior-x":`none`}],...B(`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`}],...B(`overscroll-y`,`overscroll-behavior-y`)],Ra=[[`scroll-auto`,{"scroll-behavior":`auto`}],[`scroll-smooth`,{"scroll-behavior":`smooth`}],...B(`scroll`,`scroll-behavior`)],za=[[/^columns-(.+)$/,([,e],{theme:t})=>t.containers&&e in t.containers?{columns:t.containers[e]}:{columns:I.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:[`columns-<num>`,`columns-$containers`]}],[`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`}],...B(`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`}],...B(`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`}],...B(`break-after`)],Ba=[[/^divide-?([xy])$/,Va,{autocomplete:[`divide-(x|y|block|inline)`,`divide-(x|y|block|inline)-reverse`,`divide-(x|y|block|inline)-$lineWidth`]}],[/^divide-?([xy])-?(.+)$/,Va],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Va],[/^divide-(block|inline)-(.+)$/,Va],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,R(`border-color`,`divide`,`borderColor`),{autocomplete:`divide-$colors`}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":I.bracket.percent(e)}),{autocomplete:[`divide-(op|opacity)`,`divide-(op|opacity)-<percent>`]}],...kr.map(e=>[`divide-${e}`,{"border-style":e}])];function Va([,e,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.px(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`border${t}-width`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-divide-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-divide-${e}-reverse)))`]);if(t)return[[`--un-divide-${e}-reverse`,0],...t]}}let Ha={"--un-blur":` `,"--un-brightness":` `,"--un-contrast":` `,"--un-drop-shadow":` `,"--un-grayscale":` `,"--un-hue-rotate":` `,"--un-invert":` `,"--un-saturate":` `,"--un-sepia":` `},Ua=Object.keys(Ha),Wa={preflightKeys:Ua},Ga=`var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)`,Ka={"--un-backdrop-blur":` `,"--un-backdrop-brightness":` `,"--un-backdrop-contrast":` `,"--un-backdrop-grayscale":` `,"--un-backdrop-hue-rotate":` `,"--un-backdrop-invert":` `,"--un-backdrop-opacity":` `,"--un-backdrop-saturate":` `,"--un-backdrop-sepia":` `},qa=Object.keys(Ka),Ja={preflightKeys:qa},Ya=`var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)`,Y={preflightKeys:[...Ua,...qa]};function Xa(e){let t=I.bracket.cssvar(e||``);if(t!=null||(t=e?I.percent(e):`1`,t!=null&&Number.parseFloat(t)<=1))return t}function X(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":Ya,"backdrop-filter":Ya}:{[`--un-${e}`]:`${e}(${a})`,filter:Ga}}}function Za([,e],{theme:t}){let n=t.dropShadow?.[e||`DEFAULT`];if(n!=null)return{"--un-drop-shadow":`drop-shadow(${lr(n,`--un-drop-shadow-color`).join(`) drop-shadow(`)})`,filter:Ga};if(n=I.bracket.cssvar(e),n!=null)return{"--un-drop-shadow":`drop-shadow(${n})`,filter:Ga}}let Qa=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X(`blur`,(e,t)=>t.blur?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)),{custom:Y,autocomplete:[`(backdrop|filter)-blur-$blur`,`blur-$blur`,`filter-blur`]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X(`brightness`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-brightness-<percent>`,`brightness-<percent>`]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X(`contrast`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-contrast-<percent>`,`contrast-<percent>`]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Za,{custom:Wa,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-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-(.+)$/,R(`--un-drop-shadow-color`,`drop-shadow`,`shadowColor`)],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":I.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X(`grayscale`,Xa),{custom:Y,autocomplete:[`(backdrop|filter)-grayscale`,`(backdrop|filter)-grayscale-<percent>`,`grayscale-<percent>`]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X(`hue-rotate`,e=>I.bracket.cssvar.degree(e)),{custom:Y}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X(`invert`,Xa),{custom:Y,autocomplete:[`(backdrop|filter)-invert`,`(backdrop|filter)-invert-<percent>`,`invert-<percent>`]}],[/^(backdrop-)op(?:acity)?-(.+)$/,X(`opacity`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`backdrop-(op|opacity)`,`backdrop-(op|opacity)-<percent>`]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X(`saturate`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-saturate`,`(backdrop|filter)-saturate-<percent>`,`saturate-<percent>`]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X(`sepia`,Xa),{custom:Y,autocomplete:[`(backdrop|filter)-sepia`,`(backdrop|filter)-sepia-<percent>`,`sepia-<percent>`]}],[`filter`,{filter:Ga},{custom:Wa}],[`backdrop-filter`,{"-webkit-backdrop-filter":Ya,"backdrop-filter":Ya},{custom:Ja}],[`filter-none`,{filter:`none`}],[`backdrop-filter-none`,{"-webkit-backdrop-filter":`none`,"backdrop-filter":`none`}],...P.map(e=>[`filter-${e}`,{filter:e}]),...P.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],$a=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:`hidden`,display:`-webkit-box`,"-webkit-box-orient":`vertical`,"-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:[`line-clamp`,`line-clamp-<num>`]}],...[`none`,...P].map(e=>[`line-clamp-${e}`,{overflow:`visible`,display:`block`,"-webkit-box-orient":`horizontal`,"-webkit-line-clamp":e,"line-clamp":e}])],eo=[[/^\$ placeholder-(.+)$/,R(`color`,`placeholder`,`accentColor`),{autocomplete:`placeholder-$colors`}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":I.bracket.percent(e)}),{autocomplete:[`placeholder-(op|opacity)`,`placeholder-(op|opacity)-<percent>`]}]],to={"--un-scroll-snap-strictness":`proximity`},no={preflightKeys:Object.keys(to)},ro=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:no,autocomplete:`snap-(x|y|both)`}],[/^snap-both$/,()=>({"scroll-snap-type":`both var(--un-scroll-snap-strictness)`}),{custom:no}],[`snap-mandatory`,{"--un-scroll-snap-strictness":`mandatory`}],[`snap-proximity`,{"--un-scroll-snap-strictness":`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?()-?(.+)$/,L(`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])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([rltb])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-(block|inline)-(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([bi][se])-?(.+)$/,L(`scroll-margin`)],[/^scroll-pa?()-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([xy])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([rltb])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-(block|inline)-(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([bi][se])-?(.+)$/,L(`scroll-padding`)]],io=[[/^space-([xy])-(.+)$/,ao,{autocomplete:[`space-(x|y|block|inline)`,`space-(x|y|block|inline)-reverse`,`space-(x|y|block|inline)-$spacing`]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,ao],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function ao([,e,t],{theme:n}){let r=n.spacing?.[t||`DEFAULT`]??I.bracket.cssvar.auto.fraction.rem(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`margin${t}`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-space-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-space-${e}-reverse)))`]);if(t)return[[`--un-space-${e}-reverse`,0],...t]}}let oo=[[`uppercase`,{"text-transform":`uppercase`}],[`lowercase`,{"text-transform":`lowercase`}],[`capitalize`,{"text-transform":`capitalize`}],[`normal-case`,{"text-transform":`none`}]],so=[...[`manual`,`auto`,`none`,...P].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],co=[[`write-vertical-right`,{"writing-mode":`vertical-rl`}],[`write-vertical-left`,{"writing-mode":`vertical-lr`}],[`write-normal`,{"writing-mode":`horizontal-tb`}],...B(`write`,`writing-mode`)],lo=[[`write-orient-mixed`,{"text-orientation":`mixed`}],[`write-orient-sideways`,{"text-orientation":`sideways`}],[`write-orient-upright`,{"text-orientation":`upright`}],...B(`write-orient`,`text-orientation`)],uo=[[`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`}]],fo=[[`isolate`,{isolation:`isolate`}],[`isolate-auto`,{isolation:`auto`}],[`isolation-auto`,{isolation:`auto`}]],po=[[`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(N[e])return{"object-position":N[e]};if(I.bracketOfPosition(e)!=null)return{"object-position":I.bracketOfPosition(e).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)}},{autocomplete:`object-(${Object.keys(N).join(`|`)})`}]],mo=[[`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`}],...B(`bg-blend`,`background-blend`)],ho=[[`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`}],...B(`mix-blend`)],go=[[`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`}]],_o={"--un-border-spacing-x":0,"--un-border-spacing-y":0},vo={preflightKeys:Object.keys(_o)},yo=`var(--un-border-spacing-x) var(--un-border-spacing-y)`,bo=[[`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-(.+)$/,([,e],{theme:t})=>{let n=t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":yo}},{custom:vo,autocomplete:[`border-spacing`,`border-spacing-$spacing`]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:n})=>{let r=n.spacing?.[t]??I.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{[`--un-border-spacing-${e}`]:r,"border-spacing":yo}},{custom:vo,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`}]],xo={"--un-pan-x":` `,"--un-pan-y":` `,"--un-pinch-zoom":` `},So={preflightKeys:Object.keys(xo)},Co=`var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)`,wo=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Co}),{custom:So,autocomplete:[`touch-pan`,`touch-pan-(x|left|right|y|up|down)`]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Co}),{custom:So}],[`touch-pinch-zoom`,{"--un-pinch-zoom":`pinch-zoom`,"touch-action":Co},{custom:So}],[`touch-auto`,{"touch-action":`auto`}],[`touch-manipulation`,{"touch-action":`manipulation`}],[`touch-none`,{"touch-action":`none`}],...B(`touch`,`touch-action`)],To={"--un-ordinal":` `,"--un-slashed-zero":` `,"--un-numeric-figure":` `,"--un-numeric-spacing":` `,"--un-numeric-fraction":` `},Z={preflightKeys:Object.keys(To)};function Q(e){return{...e,"font-variant-numeric":`var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)`}}let Eo=[[/^ordinal$/,()=>Q({"--un-ordinal":`ordinal`}),{custom:Z,autocomplete:`ordinal`}],[/^slashed-zero$/,()=>Q({"--un-slashed-zero":`slashed-zero`}),{custom:Z,autocomplete:`slashed-zero`}],[/^lining-nums$/,()=>Q({"--un-numeric-figure":`lining-nums`}),{custom:Z,autocomplete:`lining-nums`}],[/^oldstyle-nums$/,()=>Q({"--un-numeric-figure":`oldstyle-nums`}),{custom:Z,autocomplete:`oldstyle-nums`}],[/^proportional-nums$/,()=>Q({"--un-numeric-spacing":`proportional-nums`}),{custom:Z,autocomplete:`proportional-nums`}],[/^tabular-nums$/,()=>Q({"--un-numeric-spacing":`tabular-nums`}),{custom:Z,autocomplete:`tabular-nums`}],[/^diagonal-fractions$/,()=>Q({"--un-numeric-fraction":`diagonal-fractions`}),{custom:Z,autocomplete:`diagonal-fractions`}],[/^stacked-fractions$/,()=>Q({"--un-numeric-fraction":`stacked-fractions`}),{custom:Z,autocomplete:`stacked-fractions`}],[`normal-nums`,{"font-variant-numeric":`normal`}]],Do={"bg-blend":`background-blend-mode`,"bg-clip":`-webkit-background-clip`,"bg-gradient":`linear-gradient`,"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`},Oo=[xa,[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=Do[e];if(n)return{[n]:I.cssvar(t)}}]],Sa,_r,Ci,uo,wi,xi,ai,pi,$a,fo,hi,si,ni,mi,Xi,gi,bi,Ji,Gi,Xr,bo,ia,Ea,Si,wo,Ei,Ti,ro,Na,Er,za,li,ci,oi,$r,ui,io,Ba,ii,La,Ra,Mi,Di,Ai,Ar,Ur,ja,Wr,Zi,po,Yi,Sr,pa,ji,br,da,Ni,oo,Pi,Eo,qr,Fi,fa,ma,ha,so,co,lo,Fa,Pa,Lr,mo,ho,Hi,Cr,Ri,Ia,Qa,ua,Or,Oi,ki,eo,Gr,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],go,Ii,_i].flat(1),ko=[...vr],Ao={inherit:`inherit`,current:`currentColor`,transparent:`transparent`,black:`#000`,white:`#fff`,rose:{50:`#fff1f2`,100:`#ffe4e6`,200:`#fecdd3`,300:`#fda4af`,400:`#fb7185`,500:`#f43f5e`,600:`#e11d48`,700:`#be123c`,800:`#9f1239`,900:`#881337`,950:`#4c0519`},pink:{50:`#fdf2f8`,100:`#fce7f3`,200:`#fbcfe8`,300:`#f9a8d4`,400:`#f472b6`,500:`#ec4899`,600:`#db2777`,700:`#be185d`,800:`#9d174d`,900:`#831843`,950:`#500724`},fuchsia:{50:`#fdf4ff`,100:`#fae8ff`,200:`#f5d0fe`,300:`#f0abfc`,400:`#e879f9`,500:`#d946ef`,600:`#c026d3`,700:`#a21caf`,800:`#86198f`,900:`#701a75`,950:`#4a044e`},purple:{50:`#faf5ff`,100:`#f3e8ff`,200:`#e9d5ff`,300:`#d8b4fe`,400:`#c084fc`,500:`#a855f7`,600:`#9333ea`,700:`#7e22ce`,800:`#6b21a8`,900:`#581c87`,950:`#3b0764`},violet:{50:`#f5f3ff`,100:`#ede9fe`,200:`#ddd6fe`,300:`#c4b5fd`,400:`#a78bfa`,500:`#8b5cf6`,600:`#7c3aed`,700:`#6d28d9`,800:`#5b21b6`,900:`#4c1d95`,950:`#2e1065`},indigo:{50:`#eef2ff`,100:`#e0e7ff`,200:`#c7d2fe`,300:`#a5b4fc`,400:`#818cf8`,500:`#6366f1`,600:`#4f46e5`,700:`#4338ca`,800:`#3730a3`,900:`#312e81`,950:`#1e1b4b`},blue:{50:`#eff6ff`,100:`#dbeafe`,200:`#bfdbfe`,300:`#93c5fd`,400:`#60a5fa`,500:`#3b82f6`,600:`#2563eb`,700:`#1d4ed8`,800:`#1e40af`,900:`#1e3a8a`,950:`#172554`},sky:{50:`#f0f9ff`,100:`#e0f2fe`,200:`#bae6fd`,300:`#7dd3fc`,400:`#38bdf8`,500:`#0ea5e9`,600:`#0284c7`,700:`#0369a1`,800:`#075985`,900:`#0c4a6e`,950:`#082f49`},cyan:{50:`#ecfeff`,100:`#cffafe`,200:`#a5f3fc`,300:`#67e8f9`,400:`#22d3ee`,500:`#06b6d4`,600:`#0891b2`,700:`#0e7490`,800:`#155e75`,900:`#164e63`,950:`#083344`},teal:{50:`#f0fdfa`,100:`#ccfbf1`,200:`#99f6e4`,300:`#5eead4`,400:`#2dd4bf`,500:`#14b8a6`,600:`#0d9488`,700:`#0f766e`,800:`#115e59`,900:`#134e4a`,950:`#042f2e`},emerald:{50:`#ecfdf5`,100:`#d1fae5`,200:`#a7f3d0`,300:`#6ee7b7`,400:`#34d399`,500:`#10b981`,600:`#059669`,700:`#047857`,800:`#065f46`,900:`#064e3b`,950:`#022c22`},green:{50:`#f0fdf4`,100:`#dcfce7`,200:`#bbf7d0`,300:`#86efac`,400:`#4ade80`,500:`#22c55e`,600:`#16a34a`,700:`#15803d`,800:`#166534`,900:`#14532d`,950:`#052e16`},lime:{50:`#f7fee7`,100:`#ecfccb`,200:`#d9f99d`,300:`#bef264`,400:`#a3e635`,500:`#84cc16`,600:`#65a30d`,700:`#4d7c0f`,800:`#3f6212`,900:`#365314`,950:`#1a2e05`},yellow:{50:`#fefce8`,100:`#fef9c3`,200:`#fef08a`,300:`#fde047`,400:`#facc15`,500:`#eab308`,600:`#ca8a04`,700:`#a16207`,800:`#854d0e`,900:`#713f12`,950:`#422006`},amber:{50:`#fffbeb`,100:`#fef3c7`,200:`#fde68a`,300:`#fcd34d`,400:`#fbbf24`,500:`#f59e0b`,600:`#d97706`,700:`#b45309`,800:`#92400e`,900:`#78350f`,950:`#451a03`},orange:{50:`#fff7ed`,100:`#ffedd5`,200:`#fed7aa`,300:`#fdba74`,400:`#fb923c`,500:`#f97316`,600:`#ea580c`,700:`#c2410c`,800:`#9a3412`,900:`#7c2d12`,950:`#431407`},red:{50:`#fef2f2`,100:`#fee2e2`,200:`#fecaca`,300:`#fca5a5`,400:`#f87171`,500:`#ef4444`,600:`#dc2626`,700:`#b91c1c`,800:`#991b1b`,900:`#7f1d1d`,950:`#450a0a`},gray:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#1f2937`,900:`#111827`,950:`#030712`},slate:{50:`#f8fafc`,100:`#f1f5f9`,200:`#e2e8f0`,300:`#cbd5e1`,400:`#94a3b8`,500:`#64748b`,600:`#475569`,700:`#334155`,800:`#1e293b`,900:`#0f172a`,950:`#020617`},zinc:{50:`#fafafa`,100:`#f4f4f5`,200:`#e4e4e7`,300:`#d4d4d8`,400:`#a1a1aa`,500:`#71717a`,600:`#52525b`,700:`#3f3f46`,800:`#27272a`,900:`#18181b`,950:`#09090b`},neutral:{50:`#fafafa`,100:`#f5f5f5`,200:`#e5e5e5`,300:`#d4d4d4`,400:`#a3a3a3`,500:`#737373`,600:`#525252`,700:`#404040`,800:`#262626`,900:`#171717`,950:`#0a0a0a`},stone:{50:`#fafaf9`,100:`#f5f5f4`,200:`#e7e5e4`,300:`#d6d3d1`,400:`#a8a29e`,500:`#78716c`,600:`#57534e`,700:`#44403c`,800:`#292524`,900:`#1c1917`,950:`#0c0a09`},light:{50:`#fdfdfd`,100:`#fcfcfc`,200:`#fafafa`,300:`#f8f9fa`,400:`#f6f6f6`,500:`#f2f2f2`,600:`#f1f3f5`,700:`#e9ecef`,800:`#dee2e6`,900:`#dde1e3`,950:`#d8dcdf`},dark:{50:`#4a4a4a`,100:`#3c3c3c`,200:`#323232`,300:`#2d2d2d`,400:`#222222`,500:`#1f1f1f`,600:`#1c1c1e`,700:`#1b1b1b`,800:`#181818`,900:`#0f0f0f`,950:`#080808`},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Ao).forEach(e=>{typeof e!=`string`&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let n=t/100;n===Math.round(n)&&(e[n]=e[t])}))});let jo={DEFAULT:`8px`,0:`0`,sm:`4px`,md:`12px`,lg:`16px`,xl:`24px`,"2xl":`40px`,"3xl":`64px`},Mo={DEFAULT:[`0 1px 2px rgb(0 0 0 / 0.1)`,`0 1px 1px rgb(0 0 0 / 0.06)`],sm:`0 1px 1px rgb(0 0 0 / 0.05)`,md:[`0 4px 3px rgb(0 0 0 / 0.07)`,`0 2px 2px rgb(0 0 0 / 0.06)`],lg:[`0 10px 8px rgb(0 0 0 / 0.04)`,`0 4px 3px rgb(0 0 0 / 0.1)`],xl:[`0 20px 13px rgb(0 0 0 / 0.03)`,`0 8px 5px rgb(0 0 0 / 0.08)`],"2xl":`0 25px 25px rgb(0 0 0 / 0.15)`,none:`0 0 rgb(0 0 0 / 0)`},No={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(`,`)},Po={xs:[`0.75rem`,`1rem`],sm:[`0.875rem`,`1.25rem`],base:[`1rem`,`1.5rem`],lg:[`1.125rem`,`1.75rem`],xl:[`1.25rem`,`1.75rem`],"2xl":[`1.5rem`,`2rem`],"3xl":[`1.875rem`,`2.25rem`],"4xl":[`2.25rem`,`2.5rem`],"5xl":[`3rem`,`1`],"6xl":[`3.75rem`,`1`],"7xl":[`4.5rem`,`1`],"8xl":[`6rem`,`1`],"9xl":[`8rem`,`1`]},Fo={DEFAULT:`1.5rem`,xs:`0.5rem`,sm:`1rem`,md:`1.5rem`,lg:`2rem`,xl:`2.5rem`,"2xl":`3rem`,"3xl":`4rem`},Io={DEFAULT:`1.5rem`,none:`0`,sm:`thin`,md:`medium`,lg:`thick`},Lo={DEFAULT:[`0 0 1px rgb(0 0 0 / 0.2)`,`0 0 1px rgb(1 0 5 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`1px 1px 3px rgb(36 37 47 / 0.25)`,md:[`0 1px 2px rgb(30 29 39 / 0.19)`,`1px 2px 4px rgb(54 64 147 / 0.18)`],lg:[`3px 3px 6px rgb(0 0 0 / 0.26)`,`0 0 5px rgb(15 3 86 / 0.22)`],xl:[`1px 1px 3px rgb(0 0 0 / 0.29)`,`2px 4px 7px rgb(73 64 125 / 0.35)`]},Ro={none:`1`,tight:`1.25`,snug:`1.375`,normal:`1.5`,relaxed:`1.625`,loose:`2`},zo={tighter:`-0.05em`,tight:`-0.025em`,normal:`0em`,wide:`0.025em`,wider:`0.05em`,widest:`0.1em`},Bo={thin:`100`,extralight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extrabold:`800`,black:`900`},Vo=zo,Ho={sm:`640px`,md:`768px`,lg:`1024px`,xl:`1280px`,"2xl":`1536px`},Uo={...Ho},Wo={DEFAULT:`1px`,none:`0`},Go={DEFAULT:`1rem`,none:`0`,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`},Ko={DEFAULT:`150ms`,none:`0s`,75:`75ms`,100:`100ms`,150:`150ms`,200:`200ms`,300:`300ms`,500:`500ms`,700:`700ms`,1e3:`1000ms`},qo={DEFAULT:`0.25rem`,none:`0`,sm:`0.125rem`,md:`0.375rem`,lg:`0.5rem`,xl:`0.75rem`,"2xl":`1rem`,"3xl":`1.5rem`,full:`9999px`},Jo={DEFAULT:[`var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)`,md:[`var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)`],lg:[`var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)`],xl:[`var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)`],"2xl":`var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)`,inner:`inset 0 2px 4px 0 rgb(0 0 0 / 0.05)`},Yo={DEFAULT:`3px`,none:`0`},Xo={auto:`auto`},Zo={mouse:`(hover) and (pointer: fine)`},Qo={...ra,...Vi,...Li},$={xs:`20rem`,sm:`24rem`,md:`28rem`,lg:`32rem`,xl:`36rem`,"2xl":`42rem`,"3xl":`48rem`,"4xl":`56rem`,"5xl":`64rem`,"6xl":`72rem`,"7xl":`80rem`,prose:`65ch`},$o={auto:`auto`,...$,screen:`100vw`},es={none:`none`,...$,screen:`100vw`},ts={auto:`auto`,...$,screen:`100vb`},ns={auto:`auto`,...$,screen:`100vi`},rs={auto:`auto`,...$,screen:`100vh`},is={none:`none`,...$,screen:`100vh`},as={none:`none`,...$,screen:`100vb`},os={none:`none`,...$,screen:`100vi`},ss={...$},cs={width:$o,height:rs,maxWidth:es,maxHeight:is,minWidth:es,minHeight:is,inlineSize:ns,blockSize:ts,maxInlineSize:os,maxBlockSize:as,minInlineSize:os,minBlockSize:as,colors:Ao,fontFamily:No,fontSize:Po,fontWeight:Bo,breakpoints:Ho,verticalBreakpoints:Uo,borderRadius:qo,lineHeight:Ro,letterSpacing:zo,wordSpacing:Vo,boxShadow:Jo,textIndent:Fo,textShadow:Lo,textStrokeWidth:Io,blur:jo,dropShadow:Mo,easing:{DEFAULT:`cubic-bezier(0.4, 0, 0.2, 1)`,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)`},transitionProperty:{none:`none`,all:`all`,colors:[`color`,`background-color`,`border-color`,`text-decoration-color`,`fill`,`stroke`].join(`,`),opacity:`opacity`,shadow:`box-shadow`,transform:`transform`,get DEFAULT(){return[this.colors,`opacity`,`box-shadow`,`transform`,`filter`,`backdrop-filter`].join(`,`)}},lineWidth:Wo,spacing:Go,duration:Ko,ringWidth:Yo,preflightBase:Qo,containers:ss,zIndex:Xo,media:Zo},ls={...cs,aria:{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"`},animation:{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`}},media:{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)`},supports:{grid:`(display: grid)`},preflightBase:{...ra,...xo,...to,...To,..._o,...Vi,...Li,...Ha,...Ka}},us={name:`aria`,match(e,t){let n=(0,U.variantGetParameter)(`aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[aria-${i}]`}}},multiPass:!0};function ds(e,t,n={}){return{name:`${e}-aria`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-aria-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.aria?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[aria-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[aria-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function fs(){return{name:`has-aria`,match(e,t){let n=(0,U.variantGetParameter)(`has-aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function ps(e={}){return[ds(`group`,` `,e),ds(`peer`,`~`,e),ds(`parent`,`>`,e),ds(`previous`,`+`,e),fs()]}let ms=/(max|min)-\[([^\]]*)\]:/;function hs(){let e={};return{name:`breakpoints`,match(t,n){if(ms.test(t)){let e=t.match(ms);return{matcher:t.replace(e[0],``),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (${e[1]}-width: ${e[2]})`})}}let r=(z(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: ${(0,U.calcMaxWidthBySize)(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: ${(0,U.calcMaxWidthBySize)(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-|)$breakpoints:`}}let gs=[(0,U.variantMatcher)(`*`,e=>({selector:`${e.selector} > *`}),{order:-1})];function _s(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;let i=r.generator.config.separators,a=(0,U.variantGetBracket)(`${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=I.bracket(a[0])??``;return o===``&&(o=`*`),{matcher:a[1],selector:e=>`${e}${t}${o}`}},multiPass:!0}}let vs=[_s(`all`,` `),_s(`children`,`>`),_s(`next`,`+`),_s(`sibling`,`+`),_s(`siblings`,`~`)],ys={name:`@`,match(e,t){if(e.startsWith(`@container`))return;let n=(0,U.variantGetParameter)(`@`,e,t.generator.config.separators);if(n){let[e,r,i]=n,a=I.bracket(e),o;if(o=a?I.numberWithUnit(a):t.theme.containers?.[e]??``,o){let n=1e3+Object.keys(t.theme.containers??{}).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 bs(e={}){if(e?.dark===`class`||typeof e.dark==`object`){let{dark:t=`.dark`,light:n=`.light`}=typeof e.dark==`string`?{}:e.dark;return[(0,U.variantMatcher)(`dark`,c(t).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`}))),(0,U.variantMatcher)(`light`,c(n).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`})))]}return[(0,U.variantParentMatcher)(`dark`,`@media (prefers-color-scheme: dark)`),(0,U.variantParentMatcher)(`light`,`@media (prefers-color-scheme: light)`)]}let xs={name:`data`,match(e,t){let n=(0,U.variantGetParameter)(`data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[data-${i}]`}}},multiPass:!0};function Ss(e,t,n={}){return{name:`${e}-data`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-data-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.data?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[data-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[data-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function Cs(){return{name:`has-data`,match(e,t){let n=(0,U.variantGetParameter)(`has-data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function ws(e={}){return[Ss(`group`,` `,e),Ss(`peer`,`~`,e),Ss(`parent`,`>`,e),Ss(`previous`,`+`,e),Cs()]}let Ts=[(0,U.variantMatcher)(`rtl`,e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),(0,U.variantMatcher)(`ltr`,e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Es(){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)}}}}let Ds=(0,U.variantParentMatcher)(`print`,`@media print`),Os={name:`media`,match(e,t){let n=(0,U.variantGetParameter)(`media-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.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},ks={name:`selector`,match(e,t){let n=(0,U.variantGetBracket)(`selector-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},As={name:`layer`,match(e,t){let n=(0,U.variantGetParameter)(`layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@layer ${r}`})}}}},js={name:`uno-layer`,match(e,t){let n=(0,U.variantGetParameter)(`uno-layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},Ms={name:`scope`,match(e,t){let n=(0,U.variantGetBracket)(`scope-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},Ns={name:`variables`,match(e,t){if(!e.startsWith(`[`))return;let[n,r]=(0,U.getBracket)(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=I.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},Ps={name:`theme-variables`,match(e,t){if((0,U.hasThemeFn)(e))return{matcher:e,handle(e,n){return n({...e,entries:JSON.parse((0,U.transformThemeFn)(JSON.stringify(e.entries),t.theme))})}}}},Fs=/^-?[0-9.]+(?:[a-z]+|%)?$/,Is=/-?[0-9.]+(?:[a-z]+|%)?/,Ls=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Rs(e){let t=e.match(kn)||e.match(An);if(t){let[e,n]=At(`(${t[2]})${t[3]}`,`(`,`)`,` `)??[];if(e)return`calc(${t[1]}${e} * -1)${n?` ${n}`:``}`}}let zs=/\b(hue-rotate)\s*(\(.*)/;function Bs(e){let t=e.match(zs);if(t){let[e,n]=At(t[2],`(`,`)`,` `)??[];if(e){let r=Fs.test(e.slice(1,-1))?e.replace(Is,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:``}`}}}let Vs={name:`negative`,match(e){if(e.startsWith(`-`))return{matcher:e.slice(1),body:e=>{if(e.some(e=>e[0]===`$$mini-no-negative`))return;let t=!1;return e.forEach(e=>{let n=e[1]?.toString();if(!n||n===`0`||Ls.some(t=>t.test(e[0])))return;let r=Rs(n);if(r){e[1]=r,t=!0;return}let i=Bs(n);if(i){e[1]=i,t=!0;return}Fs.test(n)&&(e[1]=n.replace(Is,e=>e.startsWith(`-`)?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}};function Hs(){return gn({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function Us(){return _n({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function Ws(e={}){return vn(e,{getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}let Gs=bn(),Ks={name:`starting`,match(e){if(e.startsWith(`starting:`))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:`@starting-style`})}}},qs={name:`supports`,match(e,t){let n=(0,U.variantGetParameter)(`supports-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??``;if(i===``&&(i=t.theme.supports?.[e]??``),i)return/^[\w-]+$/.test(i)&&(i=`(${i}: var(--un))`),i=i.replace(/\b(and|or|not)\b/gi,` $1 `).replace(/\s+/g,` `).trim(),!(i.startsWith(`(`)&&i.endsWith(`)`))&&!/^not\b/i.test(i)&&(i=`(${i})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@supports ${i}`})}}},multiPass:!0};function Js(e){return[us,xs,As,ks,js,Vs,Ks,Es(),qs,Ds,Os,hs(),...vs,...Hs(),Us(),...Ws(e),Gs,...bs(e),...Ts,Ms,...gs,ys,Ns,...ws(e),...ps(e),Ps]}let Ys=[xn(`svg`,e=>({selector:`${e.selector} svg`}))],Xs=[xn(`.dark`,e=>({prefix:`.dark $$ ${e.prefix}`})),xn(`.light`,e=>({prefix:`.light $$ ${e.prefix}`})),j(`@dark`,`@media (prefers-color-scheme: dark)`),j(`@light`,`@media (prefers-color-scheme: light)`)],Zs=[j(`contrast-more`,`@media (prefers-contrast: more)`),j(`contrast-less`,`@media (prefers-contrast: less)`)],Qs=[j(`motion-reduce`,`@media (prefers-reduced-motion: reduce)`),j(`motion-safe`,`@media (prefers-reduced-motion: no-preference)`)],$s=[j(`landscape`,`@media (orientation: landscape)`),j(`portrait`,`@media (orientation: portrait)`)],ec=e=>{if(!e.startsWith(`_`)&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:e=>{let t=`>:not([hidden])~:not([hidden])`;return e.includes(t)?e:`${e}${t}`}}},tc=[xn(`@hover`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||``}:hover`}))];function nc(e,t,n){return`calc(${t} + (${e} - ${t}) * ${n} / 100)`}function rc(e,t,n){let r=[e,t],i=[];for(let e=0;e<2;e++){let t=typeof r[e]==`string`?E(r[e]):r[e];if(!t||![`rgb`,`rgba`].includes(t.type))return;i.push(t)}let a=[];for(let e=0;e<3;e++)a.push(nc(i[0].components[e],i[1].components[e],n));return{type:`rgb`,components:a,alpha:nc(i[0].alpha??1,i[1].alpha??1,n)}}function ic(e,t){return rc(`#fff`,e,t)}function ac(e,t){return rc(`#000`,e,t)}function oc(e,t){let n=Number.parseFloat(`${t}`);if(!Number.isNaN(n))return n>0?ac(e,t):ic(e,-n)}let sc={tint:ic,shade:ac,shift:oc};function cc(){let e;return{name:`mix`,match(t,n){e||=RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${n.generator.config.separators.join(`|`)})`);let r=t.match(e);if(r)return{matcher:t.slice(r[0].length),body:e=>(e.forEach(e=>{if(e[1]){let t=E(`${e[1]}`);if(t){let n=sc[r[1]](t,r[2]);n&&(e[1]=D(n))}}}),e)}}}}let lc=(e,{theme:t})=>{let n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){let[,e=``,r,i]=n;if(ur(i,t,`accentColor`)||uc(i))return{matcher:`${e}placeholder-$ ${r}${i}`}}};function uc(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?I.bracket.percent(t[1])!=null:!1}function dc(e){return[lc,ec,...Js(e),...Zs,...$s,...Qs,...Ys,...Xs,...tc,cc()]}function fc(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 pc(e,t,n,r){for(let i of Array.from(e.matchAll(n)))if(i!=null){let n=i[0],a=`${r}${fc(n)}`;t.set(a,n),e=e.replace(n,a)}return e}function mc(e,t){for(let[n,r]of t.entries())e=e.replaceAll(n,r);return e}let hc=/\/\/#\s*sourceMappingURL=.*\n?/g;function gc(e){return e.includes(`sourceMappingURL=`)?e.replace(hc,``):e}let _c=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,vc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,yc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function bc(e){let t=[];for(let n of e.matchAll(vc))n.index!==0&&!/^[\s'"`]/.test(e[n.index-1]??``)||t.push(n[0]);for(let n of e.matchAll(_c))t.push(n[0]);let n=new Map,r=`@unocss-skip-arbitrary-brackets`;return e=pc(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(a).forEach(e=>{e.includes(r)&&(e=mc(e,n)),b(e)&&!yc.test(e)&&t.push(e)}),t}function xc(){return{name:`@unocss/extractor-arbitrary-variants`,order:0,extract({code:e}){return bc(gc(e))}}}function Sc(e){if(e.preflight)return[{layer:`preflights`,getCSS({theme:t,generator:n}){if(t.preflightBase){let r=Object.entries(t.preflightBase);if(e.preflight===`on-demand`){let e=new Set(Array.from(n.activatedRules).map(e=>e[2]?.custom?.preflightKeys).filter(Boolean).flat());r=r.filter(([t])=>e.has(t))}if(r.length>0){let n=oe(r);return e.variablePrefix!==`un-`&&(n=n.replace(/--un-/g,`--${e.variablePrefix}`)),c(t.preflightRoot??[`*,::before,::after`,`::backdrop`]).map(e=>`${e}{${n}}`).join(``)}}}}]}let Cc={position:[`relative`,`absolute`,`fixed`,`sticky`,`static`],globalKeyword:P},wc=Oe((e={})=>(e.dark=e.dark??`class`,e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??`un-`,{name:`@unocss/preset-mini`,theme:cs,rules:Ta,variants:Js(e),options:e,prefix:e.prefix,postprocess:Tc(e.variablePrefix),preflights:Sc(e),extractorDefault:e.arbitraryVariants===!1?void 0:xc(),autocomplete:{shorthands:Cc}}));function Tc(e){if(e!==`un-`)return 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 Ec(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[e===!0?e=>{e.entries.forEach(e=>{e[1]!=null&&!String(e[1]).endsWith(`!important`)&&(e[1]+=` !important`)})}:n=>{n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`)}]}function Dc(e){return[...c(wc(e).postprocess),...Ec(e.important)]}let Oc=Oe((e={})=>(e.important=e.important??!1,{...wc(e),name:`@unocss/preset-wind3`,theme:ls,rules:Oo,shortcuts:ko,variants:dc(e),postprocess:Dc(e)})),kc=Oe((e={})=>({...Oc(e),name:`@unocss/preset-uno`}));function Ac(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function jc(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Mc(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}let Nc=[`Webkit`,`Moz`,`ms`];function Pc(e){let t={};function n(n){let r=t[n];if(r)return r;let i=Ac(n);if(i!==`filter`&&i in e)return t[n]=Mc(i);i=jc(i);for(let r=0;r<Nc.length;r++){let a=`${Nc[r]}${i}`;if(a in e)return t[n]=Mc(jc(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function Fc(e){return e.replace(/&/g,`&`).replace(/>/g,`>`).replace(/</g,`<`)}async function Ic(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=c(o.postprocess)).unshift(Pc(n.createElement(`div`).style)),a.configResolved?.(i,o);let l=await je(i,o),u=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},f=()=>a.rootElement?a.rootElement():n.body,p=new Map,m=!0,h=new Set,g,_,v=[],ee=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>te().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function y(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 b(e,t){let r=p.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),p.set(e,r),t==null)u(r);else{let e=b(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):u(r)}return r}async function te(){let e=[...h],t=await l.generate(e);return t.layers.reduce((e,n)=>(b(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function x(e){let t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await ee()}async function S(e=f()){let t=e&&e.outerHTML;t&&(await x(`${t} ${Fc(t)}`),y(r()),y(e,!0))}let C=new MutationObserver(e=>{m||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of p)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),y(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}>`)}y(t)}})}),ne=!1;function re(){if(ne)return;let e=a.observer?.target?a.observer.target():f();e&&(C.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),ne=!0)}function w(){a.bypassDefined&&Lc(l.blocked),S(),re()}function ie(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,w):w()}let ae=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){d(e)||(e.forEach(e=>h.add(e)),e=``),await x(e)},extractAll:S,inspect(e){g=e},toggleObserver(e){m=e===void 0?!m:!!e,!ne&&!m&&ie()},update:te,presets:t.__unocss_runtime?.presets??{}};a.ready?.(ae)!==!1&&(m=!1,ie())}function Lc(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}Ic({defaults:{presets:[kc(),Xe()]}})})();
|
|
15
|
+
`),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=Tt(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)}},At=t({PseudoClassFunctions:()=>ln,PseudoClassFunctionsStr:()=>A,PseudoClasses:()=>O,PseudoClassesAndElementsColonStr:()=>gn,PseudoClassesAndElementsStr:()=>hn,PseudoClassesColon:()=>k,PseudoClassesColonKeys:()=>cn,PseudoClassesColonStr:()=>fn,PseudoClassesKeys:()=>sn,PseudoClassesMulti:()=>un,PseudoClassesMultiStr:()=>pn,PseudoClassesStr:()=>dn,alphaPlaceholders:()=>Rt,alphaPlaceholdersRE:()=>zt,calcMaxWidthBySize:()=>tn,colorOpacityToString:()=>Ht,colorToString:()=>D,createPartClasses:()=>Sn,createPseudoClassFunctions:()=>yn,createPseudoClassesAndElements:()=>vn,createTaggedPseudoClassMatcher:()=>_n,createTaggedPseudoClasses:()=>bn,createValueHandler:()=>nn,cssColorFunctions:()=>Pt,excludedPseudo:()=>mn,getBracket:()=>jt,getStringComponent:()=>Mt,getStringComponents:()=>Nt,hasIconFn:()=>an,hasThemeFn:()=>Qt,hex2rgba:()=>Vt,hueInterpolationMethods:()=>Lt,iconFnRE:()=>rn,isInterpolatedMethod:()=>Bt,parseCssColor:()=>E,polarColorSpace:()=>It,rectangularColorSpace:()=>Ft,themeFnRE:()=>Zt,transformThemeFn:()=>$t,transformThemeString:()=>en,variantGetBracket:()=>wn,variantGetParameter:()=>Tn,variantMatcher:()=>Cn,variantParentMatcher:()=>j});function jt(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 Mt(e,t,n,r){if(e===``||(d(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 Nt(e,t,n,r=`(`,i=`)`){n??=10;let a=[],o=0;for(;e!==``;){if(++o>n)return;let s=Mt(e,r,i,t);if(!s)return;let[c,l]=s;a.push(c),e=l}if(a.length>0)return a}let Pt=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],Ft=[`srgb`,`srgb-linear`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec2020`,`lab`,`oklab`,`xyz`,`xyz-d50`,`xyz-d65`],It=[`hsl`,`hwb`,`lch`,`oklch`],Lt=[`shorter`,`longer`,`increasing`,`decreasing`],Rt=[`%alpha`,`<alpha-value>`],zt=new RegExp(Rt.map(e=>m(e)).join(`|`),`g`);function Bt(e){return e?Ft.some(t=>e.includes(t))||It.some(t=>e.includes(t))||Lt.some(t=>e.includes(t)):!1}function Vt(e=``){let t=Wt(e);if(t!=null){let{components:e,alpha:n}=t;return n==null?e:[...e,n]}}function E(e=``){let t=Ut(e);if(t==null||t===!1)return;let{type:n,components:r,alpha:i}=t,a=n.toLowerCase();if(r.length!==0&&!(Pt.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 Ht(e){let t=e.alpha??1;return typeof t==`string`&&Rt.includes(t)?1:t}function D(e,t){if(typeof e==`string`)return e.replace(zt,`${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}`,Pt.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}function Ut(e){if(!e)return;let t=Wt(e);if(t!=null||(t=Gt(e),t!=null)||(t=Kt(e),t!=null)||(t=Jt(e),t!=null)||(t=Yt(e),t!=null))return t}function Wt(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 Gt(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:`rgb`,components:t.slice(0,3),alpha:t[3]}}function Kt(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,n,r]=t,i=Nt(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}}let qt=RegExp(`^(${Pt.join(`|`)})\\((.+)\\)$`,`i`);function Jt(e){let t=e.match(qt);if(!t)return;let[,n,r]=t,i=Xt(`${n} ${r}`);if(i){let{alpha:e,components:[t,...n]}=i;return{type:t,components:n,alpha:e}}}function Yt(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let n=Xt(t[1]);if(n){let{alpha:e,components:[t,...r]}=n;return{type:t,components:r,alpha:e}}}function Xt(e){let t=Nt(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=Nt(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}}let Zt=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Qt(e){return e.includes(`theme(`)&&e.includes(`)`)}function $t(e,t,n=!0){let r=Array.from(e.toString().matchAll(Zt));if(!r.length)return e;let i=new kt(e);for(let e of r){let r=e[2];if(!r)throw Error(`theme() expect exact one argument, but got 0`);let a=en(r,t,n);a&&i.overwrite(e.index,e.index+e[0].length,a)}return i.toString()}function en(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=E(a);e&&(a=D(e,i))}return a}else if(n)throw Error(`theme of "${e}" did not found`)}function tn(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 nn(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}let rn=/icon\(\s*(['"])?(.*?)\1?\s*\)/g;function an(e){return e.includes(`icon(`)&&e.includes(`)`)}let on=`__pseudo_placeholder__`,O=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(${on})`],[`nth-last`,`:nth-last-child(${on})`],[`nth-last-of-type`,`:nth-last-of-type(${on})`],[`nth-of-type`,`:nth-of-type(${on})`],`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`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),sn=Object.keys(O),k=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),cn=Object.keys(k),ln=[`not`,`is`,`where`,`has`],un=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]),dn=Object.entries(O).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),fn=Object.entries(k).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),A=ln.join(`|`),pn=Object.keys(un).sort((e,t)=>t.length-e.length).join(`|`),mn=[`::-webkit-resizer`,`::-webkit-scrollbar`,`::-webkit-scrollbar-button`,`::-webkit-scrollbar-corner`,`::-webkit-scrollbar-thumb`,`::-webkit-scrollbar-track`,`::-webkit-scrollbar-track-piece`,`::file-selector-button`],hn=Object.entries(O).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),gn=Object.entries(k).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);function _n(e,t,n,r){let{h:i,variantGetBracket:a}=r,o=RegExp(`^(${m(t)}:)(\\S+)${m(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}${h(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=O[a]||k[a]||`:${a}`;return i&&(s=`:${i}(${s})`),[o,e.slice(r.length),`${t}${h(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}${h(o)}${s}`]};return{name:`pseudo:${e}`,match(t,r){if(s&&c&&l||(s=RegExp(`(?:${r.generator.config.separators.join(`|`)})`),c=RegExp(`^${e}-(?:(?:(${A})-)?(${dn}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.join(`|`)})`),l=RegExp(`^${e}-(?:(?:(${A})-)?(${fn}))(?:(/[\\w-]+))?(?:${r.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),u=RegExp(`^${e}-(?:(${A})-)?\\[(.+)\\](?:(/[\\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:sn.indexOf(g)??cn.indexOf(g)})}},multiPass:!0}}function vn(e){let{h:t}=e,n,r,i;return[{name:`pseudo`,match(e,i){n&&r||(n=RegExp(`^(${hn})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${i.generator.config.separators.join(`|`)})`),r=RegExp(`^(${gn})(?:${i.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`));let a=e.match(n)||e.match(r);if(a){let n=O[a[1]]||k[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(on,e))}let r=sn.indexOf(a[1]);return r===-1&&(r=cn.indexOf(a[1])),r===-1&&(r=void 0),{matcher:e.slice(a[0].length),handle:(e,t)=>{let i=n.includes(`::`)&&!mn.includes(n)?{pseudo:`${e.pseudo}${n}`}:{selector:`${e.selector}${n}`};return t({...e,...i,sort:r,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${hn}|${gn}):`},{name:`pseudo:multi`,match(e,t){i||=RegExp(`^(${pn})(?:${t.generator.config.separators.join(`|`)})`);let n=e.match(i);if(n)return un[n[1]].map(t=>({matcher:e.slice(n[0].length),handle:(e,n)=>n({...e,pseudo:`${e.pseudo}${t}`})}))},multiPass:!1,autocomplete:`(${pn}):`}]}function yn(e){let{getBracket:t,h:n}=e,r,i,a;return{match(e,o){r&&i||(r=RegExp(`^(${A})-(${dn})(?:${o.generator.config.separators.join(`|`)})`),i=RegExp(`^(${A})-(${fn})(?:${o.generator.config.separators.filter(e=>e!==`-`).join(`|`)})`),a=RegExp(`^(${A})-(\\[.+\\])(?:${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]):O[s[2]]||k[s[2]]||`:${s[2]}`;return{matcher:e.slice(s[0].length),selector:e=>`${e}:${r}(${i})`}}},multiPass:!0,autocomplete:`(${A})-(${dn}|${fn}):`}}function bn(e,t){let n=!!e?.attributifyPseudo,r=e?.prefix??``;r=h((Array.isArray(r)?r:[r]).filter(Boolean)[0]??``);let i=(e,i)=>_n(e,n?`[${r}${e}=""]`:`.${r}${e}`,i,t);return[i(`group`,` `),i(`peer`,`~`),i(`parent`,`>`),i(`previous`,`+`)]}let xn=/(part-\[(.+)\]:)(.+)/;function Sn(){return{match(e){let t=e.match(xn);if(t){let n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:e=>`${e}::${n}`}}},multiPass:!0}}function Cn(e,t,n={}){let r;return{name:e,match(i,a){r||=RegExp(`^${m(e)}(?:${a.generator.config.separators.join(`|`)})`);let o=i.match(r);if(o){let e=i.slice(o[0].length),r=c(t).map(t=>({matcher:e,handle:(e,n)=>n({...e,...t(e)}),...n}));return r.length===1?r[0]:r}},autocomplete:`${e}:`}}function j(e,t){let n;return{name:e,match(r,i){n||=RegExp(`^${m(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 wn(e,t,n){if(t.startsWith(`${e}[`)){let[r,i]=jt(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 Tn(e,t,n){for(let r of c(e))if(t.startsWith(r)){let e=wn(r,t,n);if(e){let[t=``,r=e[1]]=Tn(`/`,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)]}}}}let M={l:[`-left`],r:[`-right`],t:[`-top`],b:[`-bottom`],s:[`-inline-start`],e:[`-inline-end`],x:[`-left`,`-right`],y:[`-top`,`-bottom`],"":[``],bs:[`-block-start`],be:[`-block-end`],is:[`-inline-start`],ie:[`-inline-end`],block:[`-block-start`,`-block-end`],inline:[`-inline-start`,`-inline-end`]},En={...M,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`]},Dn={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`]},On={x:[`-x`],y:[`-y`],z:[`-z`],"":[`-x`,`-y`]},kn=[`x`,`y`,`z`],An=[`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`],N=Object.assign({},...An.map(e=>({[e.replace(/ /,`-`)]:e})),...An.map(e=>({[e.replace(/\b(\w)\w+/g,`$1`).replace(/ /,``)]:e}))),P=[`inherit`,`initial`,`revert`,`revert-layer`,`unset`],jn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Mn=/^(var)\s*\((.+)\)(.*)/,Nn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Pn=/^(-?\d*(?:\.\d+)?)$/,Fn=/^(px|[sld]?v[wh])$/i,In={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Ln=/^\[(color|image|length|size|position|quoted|string):/i,Rn=/,(?![^()]*\))/g;var zn=rt({auto:()=>Hn,bracket:()=>Yn,bracketOfColor:()=>Xn,bracketOfLength:()=>Zn,bracketOfPosition:()=>Qn,cssvar:()=>$n,degree:()=>tr,fraction:()=>qn,global:()=>nr,number:()=>Gn,numberWithUnit:()=>Vn,percent:()=>Kn,position:()=>ir,properties:()=>rr,px:()=>Wn,rem:()=>Un,time:()=>er});let Bn=`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 F(e){return+e.toFixed(10)}function Vn(e){let t=e.match(Nn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(r&&!Number.isNaN(i))return`${F(i)}${r}`}function Hn(e){if(e===`auto`||e===`a`)return`auto`}function Un(e){if(!e)return;if(Fn.test(e))return`${In[e]}${e}`;let t=e.match(Nn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return i===0?`0`:r?`${F(i)}${r}`:`${F(i/4)}rem`}function Wn(e){if(Fn.test(e))return`${In[e]}${e}`;let t=e.match(Nn);if(!t)return;let[,n,r]=t,i=Number.parseFloat(n);if(!Number.isNaN(i))return r?`${F(i)}${r}`:`${F(i)}px`}function Gn(e){if(!Pn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return F(t)}function Kn(e){if(e.endsWith(`%`)&&(e=e.slice(0,-1)),!Pn.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${F(t/100)}`}function qn(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`:`${F(r*100)}%`}function Jn(e,t){if(e&&e.startsWith(`[`)&&e.endsWith(`]`)){let n,r,i=e.match(Ln);if(i?(t||(r=i[1]),n=e.slice(i[0].length,-1)):n=e.slice(1,-1),!n||n===`=""`)return;n.startsWith(`--`)&&(n=`var(${n})`);let a=0;for(let e of n)if(e===`[`)a+=1;else if(e===`]`&&(--a,a<0))return;if(a)return;switch(r){case`string`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`);case`quoted`:return n.replace(/(^|[^\\])_/g,`$1 `).replace(/\\_/g,`_`).replace(/(["\\])/g,`\\$1`).replace(/^(.+)$/,`"$1"`)}return n.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 Yn(e){return Jn(e)}function Xn(e){return Jn(e,`color`)}function Zn(e){return Jn(e,`length`)}function Qn(e){return Jn(e,`position`)}function $n(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,n]=e.slice(1).split(`,`);return`var(--${h(t)}${n?`, ${n}`:``})`}}function er(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?`${F(i)}${r}`:`${F(i)}ms`}function tr(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?`${F(i)}${r}`:`${F(i)}deg`}function nr(e){if(P.includes(e))return e}function rr(e){if(e.split(`,`).every(e=>Bn.includes(e)))return e}function ir(e){if([`top`,`left`,`right`,`bottom`,`center`].includes(e))return e}let ar=nn(zn),I=ar,or=`$$mini-no-negative`;function L(e){return([t,n,r],{theme:i})=>{let a=i.spacing?.[r||`DEFAULT`]??I.bracket.cssvar.global.auto.fraction.rem(r);if(a!=null)return M[n].map(t=>[`${e}${t}`,a]);if(r?.startsWith(`-`)){let t=i.spacing?.[r.slice(1)];if(t!=null)return M[n].map(n=>[`${e}${n}`,`calc(${t} * -1)`])}}}function sr(e,t,n=`colors`){let r=e[n];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(`-`),a=e[r.replace(/(-[a-z])/g,e=>e.slice(1).toUpperCase())]??e[r];if(a!=null)return n===t.length?a:i(a,t.slice(n))}}return i(r,t)}function cr(e,t,n){return sr(e,t,n)||sr(e,t,`colors`)}function lr(e,t){let[n,r]=Mt(e,`[`,`]`,[`/`,`:`])??[];if(n!=null){let e=(n.match(Ln)??[])[1];if(e==null||e===t)return[n,r]}}function ur(e,t,n){let r=lr(e,`color`);if(!r)return;let[i,a]=r,o=i.replace(/([a-z])(\d)/g,`$1-$2`).split(/-/g),[s]=o;if(!s)return;let c,l=I.bracketOfColor(i),u=l||i;if(I.numberWithUnit(u))return;if(/^#[\da-f]+$/i.test(u)?c=u:/^hex-[\da-fA-F]+$/.test(u)?c=`#${u.slice(4)}`:i.startsWith(`$`)&&(c=I.cssvar(i)),c||=l,!c){let e=cr(t,[i],n);typeof e==`string`&&(c=e)}let d=`DEFAULT`;if(!c){let e=o,r,[i]=o.slice(-1);/^\d+$/.test(i)&&(d=r=i,e=o.slice(0,-1));let a=cr(t,e,n);typeof a==`object`?c=a[r??d]:typeof a==`string`&&!r&&(c=a)}return{opacity:a,name:s,no:d,color:c,cssColor:E(c),alpha:I.bracket.cssvar.percent(a??``)}}function R(e,t,n,r){return([,i],{theme:a,generator:o})=>{let s=ur(i??``,a,n);if(!s)return;let{alpha:c,color:l,cssColor:u}=s,d=o.config.envMode===`dev`&&l?` /* ${l} */`:``,f={};if(u)if(c!=null)f[e]=D(u,c)+d;else{let n=`--un-${t}-opacity`,r=D(u,`var(${n})`);r.includes(n)&&(f[n]=Ht(u)),f[e]=r+d}else if(l)if(c!=null)f[e]=D(l,c)+d;else{let n=`--un-${t}-opacity`,r=D(l,`var(${n})`);r.includes(n)&&(f[n]=1),f[e]=r+d}if(r?.(f)!==!1)return f}}function dr(e,t){let n=[];e=c(e);for(let r=0;r<e.length;r++){let i=Nt(e[r],` `,6);if(!i||i.length<3)return e;let a=!1,o=i.indexOf(`inset`);o!==-1&&(i.splice(o,1),a=!0);let s=``,c=i.at(-1);if(E(i.at(0))){let e=E(i.shift());e&&(s=`, ${D(e)}`)}else if(E(c)){let e=E(i.pop());e&&(s=`, ${D(e)}`)}else c&&c.startsWith(`var(`)&&(s=`, ${i.pop()}`);n.push(`${a?`inset `:``}${i.join(` `)} var(${t}${s})`)}return n}function fr(e,t,n){return e!=null&&!!ur(e,t,n)?.color}let pr=/[a-z]+/gi,mr=new WeakMap;function z({theme:e,generator:t},n=`breakpoints`){let r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(mr.has(e))return mr.get(e);let i=Object.entries(r).sort((e,t)=>Number.parseInt(e[1].replace(pr,``))-Number.parseInt(t[1].replace(pr,``))).map(([e,t])=>({point:e,size:t}));return mr.set(e,i),i}function hr(e){return z(e,`verticalBreakpoints`)}function B(e,t){return P.map(n=>[`${e}-${n}`,{[t??e]:n}])}function V(e){return e!=null&&jn.test(e)}function gr(e){return e[0]===`[`&&e.slice(-1)===`]`&&(e=e.slice(1,-1)),jn.test(e)||Nn.test(e)}function _r(e,t,n){let r=t.split(Rn);return e||!e&&r.length===1?On[e].map(e=>[`--un-${n}${e}`,t]):r.map((e,t)=>[`--un-${n}-${kn[t]}`,e])}var H=rt({CONTROL_MINI_NO_NEGATIVE:()=>or,colorResolver:()=>R,colorableShadows:()=>dr,cornerMap:()=>Dn,cssMathFnRE:()=>jn,cssVarFnRE:()=>Mn,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>ar,hasParseableColor:()=>fr,insetMap:()=>En,isCSSMathFn:()=>V,isSize:()=>gr,makeGlobalStaticRules:()=>B,parseColor:()=>ur,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>hr,splitShorthand:()=>lr,transformXYZ:()=>_r,valueHandlers:()=>zn,xyzArray:()=>kn,xyzMap:()=>On});at(H,At);var U=rt({CONTROL_MINI_NO_NEGATIVE:()=>or,colorResolver:()=>R,colorableShadows:()=>dr,cornerMap:()=>Dn,cssMathFnRE:()=>jn,cssVarFnRE:()=>Mn,directionMap:()=>M,directionSize:()=>L,globalKeywords:()=>P,h:()=>I,handler:()=>ar,hasParseableColor:()=>fr,insetMap:()=>En,isCSSMathFn:()=>V,isSize:()=>gr,makeGlobalStaticRules:()=>B,parseColor:()=>ur,positionMap:()=>N,resolveBreakpoints:()=>z,resolveVerticalBreakpoints:()=>hr,splitShorthand:()=>lr,transformXYZ:()=>_r,valueHandlers:()=>zn,xyzArray:()=>kn,xyzMap:()=>On});at(U,H);let vr=/@media \(min-width: (.+)\)/,yr=[[/^__container$/,(e,t)=>{let{theme:n,variantHandlers:r}=t,i=n.container?.padding,a;a=d(i)?i:i?.DEFAULT;let o=n.container?.maxWidth,s;for(let e of r){let n=e.handle?.({},e=>e)?.parent;if(d(n)){let e=n.match(vr)?.[1];if(e){let n=(z(t)??[]).find(t=>t.size===e)?.point;o?n&&(s=o?.[n]):s=e,n&&!d(i)&&(a=i?.[n]??a)}}}let c={"max-width":s};return r.length||(c.width=`100%`),n.container?.center&&(c[`margin-left`]=`auto`,c[`margin-right`]=`auto`),i&&(c[`padding-left`]=a,c[`padding-right`]=a),c},{internal:!0}]],br=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(z(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}]],xr={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(P.map(e=>[e,e]))},Sr=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":xr[e]??I.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(xr).join(`|`)})`,`(vertical|align|v)-<percentage>`]}]],Cr=[`center`,`left`,`right`,`justify`,`start`,`end`],wr=[...Cr.map(e=>[`text-${e}`,{"text-align":e}]),...[...P,...Cr].map(e=>[`text-align-${e}`,{"text-align":e}])],Tr=[[/^outline-(?:width-|size-)?(.+)$/,Er,{autocomplete:`outline-(width|size)-<num>`}],[/^outline-(?:color-)?(.+)$/,Dr,{autocomplete:`outline-$colors`}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}),{autocomplete:`outline-(offset)-<num>`}],[`outline`,{"outline-style":`solid`}],...[`auto`,`dashed`,`dotted`,`double`,`hidden`,`solid`,`groove`,`ridge`,`inset`,`outset`,...P].map(e=>[`outline-${e}`,{"outline-style":e}]),[`outline-none`,{outline:`2px solid transparent`,"outline-offset":`2px`}]];function Er([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function Dr(e,t){return V(I.bracket(e[1]))?Er(e,t):R(`outline-color`,`outline-color`,`borderColor`)(e,t)}let Or=[[`appearance-auto`,{"-webkit-appearance":`auto`,appearance:`auto`}],[`appearance-none`,{"-webkit-appearance":`none`,appearance:`none`}]];function kr(e){return I.properties.auto.global(e)??{contents:`contents`,scroll:`scroll-position`}[e]}let Ar=[[/^will-change-(.+)/,([,e])=>({"will-change":kr(e)})]],jr=[`solid`,`dashed`,`dotted`,`double`,`hidden`,`none`,`groove`,`ridge`,`inset`,`outset`,...P],Mr=[[/^(?:border|b)()(?:-(.+))?$/,W,{autocomplete:`(border|b)-<directions>`}],[/^(?:border|b)-([xy])(?:-(.+))?$/,W],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,W],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,W],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,W],[/^(?:border|b)-()(?:width|size)-(.+)$/,W,{autocomplete:[`(border|b)-<num>`,`(border|b)-<directions>-<num>`]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,W],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,W],[/^(?:border|b)-()(?:color-)?(.+)$/,Fr,{autocomplete:[`(border|b)-$colors`,`(border|b)-<directions>-$colors`]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Fr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Fr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Fr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Fr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ir,{autocomplete:`(border|b)-(op|opacity)-<percent>`}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ir],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ir],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ir],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ir],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Lr,{autocomplete:[`(border|b)-(rounded|rd)`,`(border|b)-(rounded|rd)-$borderRadius`,`(rounded|rd)`,`(rounded|rd)-$borderRadius`]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Lr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Lr],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Lr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Lr],[/^(?:border|b)-(?:style-)?()(.+)$/,Rr,{autocomplete:[`(border|b)-style`,`(border|b)-(${jr.join(`|`)})`,`(border|b)-<directions>-style`,`(border|b)-<directions>-(${jr.join(`|`)})`,`(border|b)-<directions>-style-(${jr.join(`|`)})`,`(border|b)-style-(${jr.join(`|`)})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Rr],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Rr],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Rr],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Rr]];function Nr(e,t,n){if(t!=null)return{[`border${n}-color`]:D(e,t)};if(n===``){let t={},n=`--un-border-opacity`,r=D(e,`var(${n})`);return r.includes(n)&&(t[n]=typeof e==`string`?1:Ht(e)),t[`border-color`]=r,t}else{let t={},r=`--un-border-opacity`,i=`--un-border${n}-opacity`,a=D(e,`var(${i})`);return a.includes(i)&&(t[r]=typeof e==`string`?1:Ht(e),t[i]=`var(${r})`),t[`border${n}-color`]=a,t}}function Pr(e){return([,t],n)=>{let r=ur(t,n,`borderColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(o)return Nr(o,i,e);if(a)return Nr(a,i,e)}}function W([,e=``,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.global.px(t||`1`);if(e in M&&r!=null)return M[e].map(e=>[`border${e}-width`,r])}function Fr([,e=``,t],n){if(e in M){if(V(I.bracket(t)))return W([``,e,t],n);if(fr(t,n.theme,`borderColor`))return Object.assign({},...M[e].map(e=>Pr(e)([``,t],n.theme)))}}function Ir([,e=``,t]){let n=I.bracket.percent.cssvar(t);if(e in M&&n!=null)return M[e].map(e=>[`--un-border${e}-opacity`,n])}function Lr([,e=``,t],{theme:n}){let r=n.borderRadius?.[t||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(t||`1`);if(e in Dn&&r!=null)return Dn[e].map(e=>[`border${e}-radius`,r])}function Rr([,e=``,t]){if(jr.includes(t)&&e in M)return M[e].map(e=>[`border${e}-style`,t])}let zr=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:I.bracket.percent.cssvar(e)})]],Br=/^\[url\(.+\)\]$/,Vr=/^\[(?:length|size):.+\]$/,Hr=/^\[position:.+\]$/,Ur=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Wr=/^\[image:.+\]$/,Gr=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Br.test(t))return{"--un-url":I.bracket(t),"background-image":`var(--un-url)`};if(Vr.test(t)&&I.bracketOfLength(t)!=null)return{"background-size":I.bracketOfLength(t).split(` `).map(e=>I.fraction.auto.px.cssvar(e)??e).join(` `)};if((gr(t)||Hr.test(t))&&I.bracketOfPosition(t)!=null)return{"background-position":I.bracketOfPosition(t).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)};if(Ur.test(t)||Wr.test(t)){let e=I.bracket(t);if(e)return{"background-image":(e.startsWith(`http`)?`url(${e})`:I.cssvar(e))??e}}return R(`background-color`,`bg`,`backgroundColor`)(...e)},{autocomplete:`bg-$colors`}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`bg-(op|opacity)-<percent>`}]],Kr=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],qr=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??`inline-size`,"container-name":e})]],Jr=[`solid`,`double`,`dotted`,`dashed`,`wavy`,...P],Yr=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:`decoration-(underline|overline|line-through)`}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Xr,{autocomplete:`(underline|decoration)-<num>`}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:`(underline|decoration)-(auto|from-font)`}],[/^(?:underline|decoration)-(.+)$/,Zr,{autocomplete:`(underline|decoration)-$colors`}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(underline|decoration)-(op|opacity)-<percent>`}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??I.auto.bracket.cssvar.global.px(e)}),{autocomplete:`(underline|decoration)-(offset)-<num>`}],...Jr.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Jr.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),[`no-underline`,{"text-decoration":`none`}],[`decoration-none`,{"text-decoration":`none`}]];function Xr([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??I.bracket.cssvar.global.px(e)}}function Zr(e,t){if(V(I.bracket(e[1])))return Xr(e,t);let n=R(`text-decoration-color`,`line`,`borderColor`)(e,t);if(n)return{"-webkit-text-decoration-color":n[`text-decoration-color`],...n}}let Qr=[[`flex`,{display:`flex`}],[`inline-flex`,{display:`inline-flex`}],[`flex-inline`,{display:`inline-flex`}],[/^flex-(.*)$/,([,e])=>({flex:I.bracket(e)==null?I.cssvar.fraction(e):I.bracket(e).split(` `).map(e=>I.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":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-shrink-<num>`,`shrink-<num>`]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=``])=>({"flex-grow":I.bracket.cssvar.number(e)??1}),{autocomplete:[`flex-grow-<num>`,`grow-<num>`]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??I.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:[`flex-basis-$spacing`,`basis-$spacing`]}],[`flex-row`,{"flex-direction":`row`}],[`flex-row-reverse`,{"flex-direction":`row-reverse`}],[`flex-col`,{"flex-direction":`column`}],[`flex-col-reverse`,{"flex-direction":`column-reverse`}],[`flex-wrap`,{"flex-wrap":`wrap`}],[`flex-wrap-reverse`,{"flex-wrap":`wrap-reverse`}],[`flex-nowrap`,{"flex-wrap":`nowrap`}]],$r={"":``,x:`column-`,y:`row-`,col:`column-`,row:`row-`};function ei([,e=``,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.global.rem(t);if(r!=null)return{[`${$r[e]}gap`]:r}}let ti=[[/^(?:flex-|grid-)?gap-?()(.+)$/,ei,{autocomplete:[`gap-$spacing`,`gap-<num>`]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,ei,{autocomplete:[`gap-(x|y)-$spacing`,`gap-(x|y)-<num>`]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,ei,{autocomplete:[`gap-(col|row)-$spacing`,`gap-(col|row)-<num>`]}]];function G(e){return e.replace(`col`,`column`)}function ni(e){return e[0]===`r`?`Row`:`Column`}function ri(e,t,n){let r=t[`gridAuto${ni(e)}`]?.[n];if(r!=null)return r;switch(n){case`min`:return`min-content`;case`max`:return`max-content`;case`fr`:return`minmax(0,1fr)`}return I.bracket.cssvar.auto.rem(n)}let ii=[[`grid`,{display:`grid`}],[`inline-grid`,{display:`inline-grid`}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:n})=>({[`grid-${G(e)}`]:n[`grid${ni(e)}`]?.[t]??I.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t===`full`)return{[`grid-${G(e)}`]:`1/-1`};let n=I.bracket.number(t);if(n!=null)return{[`grid-${G(e)}`]:`span ${n}/span ${n}`}},{autocomplete:`(grid-row|grid-col|row|col)-span-<num>`}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${G(e)}-start`]:I.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${G(e)}-end`]:I.bracket.cssvar(t)??t}),{autocomplete:`(grid-row|grid-col|row|col)-(start|end)-<num>`}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-auto-${G(e)}`]:ri(e,n,t)}),{autocomplete:`(grid-auto|auto)-(rows|cols)-<num>`}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":I.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":G(e).replace(`-`,` `)}),{autocomplete:[`(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)`]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:n})=>({[`grid-template-${G(e)}`]:n[`gridTemplate${ni(e)}`]?.[t]??I.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${G(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:`(grid-rows|grid-cols|rows|cols)-<num>`}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e==null?{"grid-area":I.bracket.cssvar(t)}:{"grid-template-areas":I.cssvar(t)??t.split(`-`).map(e=>`"${I.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`}]],ai=[`auto`,`hidden`,`clip`,`visible`,`scroll`,`overlay`,...P],oi=[[/^(?:overflow|of)-(.+)$/,([,e])=>ai.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${ai.join(`|`)})`,`(overflow|of)-(x|y)-(${ai.join(`|`)})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>ai.includes(t)?{[`overflow-${e}`]:t}:void 0]],si=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:[`(position|pos)-<position>`,`(position|pos)-<globalKeyword>`,`<position>`]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>P.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],ci=[[`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`}],...B(`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`}],...B(`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`}],...B(`justify-self`)],li=[[/^order-(.+)$/,([,e])=>({order:I.bracket.cssvar.number(e)})],[`order-first`,{order:`-9999`}],[`order-last`,{order:`9999`}],[`order-none`,{order:`0`}]],ui=[[`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`}],...B(`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`}],...B(`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`}],...B(`self`,`align-self`)],di=[[`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`}],...B(`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`}],...B(`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`}],...B(`place-self`)],fi=[...ci,...ui,...di].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function pi(e,{theme:t}){return t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e)}function mi([,e,t],n){let r=pi(t,n);if(r!=null&&e in En)return En[e].map(e=>[e.slice(1),r])}let hi=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:pi(e,t)}),{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)-(.+)$/,mi],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,mi],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,mi],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,mi],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,mi],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],n)=>({[e]:pi(t,n)})]],gi=[[`float-left`,{float:`left`}],[`float-right`,{float:`right`}],[`float-start`,{float:`inline-start`}],[`float-end`,{float:`inline-end`}],[`float-none`,{float:`none`}],...B(`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`}],...B(`clear`)],_i=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":I.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??I.bracket.cssvar.global.auto.number(e)}),{autocomplete:`z-<num>`}]],vi=[[`box-border`,{"box-sizing":`border-box`}],[`box-content`,{"box-sizing":`content-box`}],...B(`box`,`box-sizing`)],yi=[[/^(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`})}`}]],bi=`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(`.`),xi=[`none`,`strict`,`content`,`size`,`inline-size`,`layout`,`style`,`paint`],Si=[[`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:I.bracket.cssvar.global(e)})]],Ci=[[`visible`,{visibility:`visible`}],[`invisible`,{visibility:`hidden`}],[`backface-visible`,{"backface-visibility":`visible`}],[`backface-hidden`,{"backface-visibility":`hidden`}],...B(`backface`,`backface-visibility`)],wi=[[/^cursor-(.+)$/,([,e])=>({cursor:I.bracket.cssvar.global(e)})],...bi.map(e=>[`cursor-${e}`,{cursor:e}])],Ti=[[/^contain-(.*)$/,([,e])=>I.bracket(e)==null?xi.includes(e)?{contain:e}:void 0:{contain:I.bracket(e).split(` `).map(e=>I.cssvar.fraction(e)??e).join(` `)}]],Ei=[[`pointer-events-auto`,{"pointer-events":`auto`}],[`pointer-events-none`,{"pointer-events":`none`}],...B(`pointer-events`)],Di=[[`resize-x`,{resize:`horizontal`}],[`resize-y`,{resize:`vertical`}],[`resize`,{resize:`both`}],[`resize-none`,{resize:`none`}],...B(`resize`)],Oi=[[`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`}],...B(`select`,`user-select`)],ki=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`,...P].includes(e)?{"white-space":e}:void 0,{autocomplete:`(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)`}]],Ai=[[/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,([,e,t])=>({[`contain-intrinsic-${{block:`block-size`,inline:`inline-size`,w:`width`,h:`height`}[e]??`size`}`]:I.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`}],...B(`content-visibility`)],ji=[[/^content-(.+)$/,([,e])=>({content:I.bracket.cssvar(e)})],[`content-empty`,{content:`""`}],[`content-none`,{content:`none`}]],Mi=[[`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`}]],Ni=[[`text-wrap`,{"text-wrap":`wrap`}],[`text-nowrap`,{"text-wrap":`nowrap`}],[`text-balance`,{"text-wrap":`balance`}],[`text-pretty`,{"text-wrap":`pretty`}]],Pi=[[`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`}]],Fi=[[`case-upper`,{"text-transform":`uppercase`}],[`case-lower`,{"text-transform":`lowercase`}],[`case-capital`,{"text-transform":`capitalize`}],[`case-normal`,{"text-transform":`none`}],...B(`case`,`text-transform`)],Ii=[[`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`}]],Li=[[`antialiased`,{"-webkit-font-smoothing":`antialiased`,"-moz-osx-font-smoothing":`grayscale`}],[`subpixel-antialiased`,{"-webkit-font-smoothing":`auto`,"-moz-osx-font-smoothing":`auto`}]],Ri=[[`field-sizing-fixed`,{"field-sizing":`fixed`}],[`field-sizing-content`,{"field-sizing":`content`}]],zi={"--un-ring-inset":` `,"--un-ring-offset-width":`0px`,"--un-ring-offset-color":`#fff`,"--un-ring-width":`0px`,"--un-ring-color":`rgb(147 197 253 / 0.5)`,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Bi=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.ringWidth?.[e||`DEFAULT`]??I.px(e||`1`);if(n)return{"--un-ring-width":n,"--un-ring-offset-shadow":`var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)`,"--un-ring-shadow":`var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)`,"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}},{custom:{preflightKeys:Object.keys(zi)},autocomplete:`ring-$ringWidth`}],[/^ring-(?:width-|size-)(.+)$/,Vi,{autocomplete:`ring-(width|size)-$lineWidth`}],[`ring-offset`,{"--un-ring-offset-width":`1px`}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??I.bracket.cssvar.px(e)}),{autocomplete:`ring-offset-(width|size)-$lineWidth`}],[/^ring-(.+)$/,Hi,{autocomplete:`ring-$colors`}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-(op|opacity)-<percent>`}],[/^ring-offset-(.+)$/,R(`--un-ring-offset-color`,`ring-offset`,`borderColor`),{autocomplete:`ring-offset-$colors`}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`ring-offset-(op|opacity)-<percent>`}],[`ring-inset`,{"--un-ring-inset":`inset`}]];function Vi([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??I.bracket.cssvar.px(e)}}function Hi(e,t){return V(I.bracket(e[1]))?Vi(e,t):R(`--un-ring-color`,`ring`,`borderColor`)(e,t)}let Ui={"--un-ring-offset-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-ring-shadow":`0 0 rgb(0 0 0 / 0)`,"--un-shadow-inset":` `,"--un-shadow":`0 0 rgb(0 0 0 / 0)`},Wi=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,n]=e,{theme:r}=t,i=r.boxShadow?.[n||`DEFAULT`],a=n?I.bracket.cssvar(n):void 0;return(i!=null||a!=null)&&!fr(a,r,`shadowColor`)?{"--un-shadow":dr(i||a,`--un-shadow-color`).join(`,`),"box-shadow":`var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)`}:R(`--un-shadow-color`,`shadow`,`shadowColor`)(e,t)},{custom:{preflightKeys:Object.keys(Ui)},autocomplete:[`shadow-$colors`,`shadow-$boxShadow`]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`shadow-(op|opacity)-<percent>`}],[`shadow-inset`,{"--un-shadow-inset":`inset`}]],Gi={h:`height`,w:`width`,inline:`inline-size`,block:`block-size`};function K(e,t){return`${e||``}${Gi[t]}`}function Ki(e,t,n,r){let i=n[K(e,t).replace(/-(\w)/g,(e,t)=>t.toUpperCase())]?.[r];if(i!=null)return i;switch(r){case`fit`:case`max`:case`min`:return`${r}-content`;case`stretch`:return`stretch`}return I.bracket.cssvar.global.auto.fraction.rem(r)}let qi=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[K(e,`w`)]:Ki(e,`w`,n,t),[K(e,`h`)]:Ki(e,`h`,n,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Ki(e,t,r,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[K(e,t)]:Ki(e,t,r,n)}),{autocomplete:[`(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(max|min)-(w|h|block|inline)`,`(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize`,`(w|h)-full`,`(max|min)-(w|h)-full`]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Ji(r,n,`verticalBreakpoints`)})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[K(e,t)]:Ji(r,n)}),{autocomplete:[`(w|h)-screen`,`(min|max)-(w|h)-screen`,`h-screen-$verticalBreakpoints`,`(min|max)-h-screen-$verticalBreakpoints`,`w-screen-$breakpoints`,`(min|max)-w-screen-$breakpoints`]}]];function Ji(e,t,n=`breakpoints`){let r=z(e,n);if(r)return r.find(e=>e.point===t)?.size}function Yi(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case`square`:return`1/1`;case`video`:return`16/9`}return I.bracket.cssvar.global.auto.number(e)}let Xi=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Yi(e)}),{autocomplete:[`aspect-(square|video|ratio)`,`aspect-ratio-(square|video)`]}]],Zi=[[/^pa?()-?(.+)$/,L(`padding`),{autocomplete:[`(m|p)<num>`,`(m|p)-<num>`]}],[/^p-?xy()()$/,L(`padding`),{autocomplete:`(m|p)-(xy)`}],[/^p-?([xy])(?:-?(.+))?$/,L(`padding`)],[/^p-?([rltbse])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)<directions>-<num>`}],[/^p-(block|inline)(?:-(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(block|inline)-<num>`}],[/^p-?([bi][se])(?:-?(.+))?$/,L(`padding`),{autocomplete:`(m|p)-(bs|be|is|ie)-<num>`}]],Qi=[[/^ma?()-?(.+)$/,L(`margin`)],[/^m-?xy()()$/,L(`margin`)],[/^m-?([xy])(?:-?(.+))?$/,L(`margin`)],[/^m-?([rltbse])(?:-?(.+))?$/,L(`margin`)],[/^m-(block|inline)(?:-(.+))?$/,L(`margin`)],[/^m-?([bi][se])(?:-?(.+))?$/,L(`margin`)]],$i=[[/^fill-(.+)$/,R(`fill`,`fill`,`backgroundColor`),{autocomplete:`fill-$colors`}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`fill-(op|opacity)-<percent>`}],[`fill-none`,{fill:`none`}],[/^stroke-(?:width-|size-)?(.+)$/,ea,{autocomplete:[`stroke-width-$lineWidth`,`stroke-size-$lineWidth`]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":I.bracket.cssvar.number(e)}),{autocomplete:`stroke-dash-<num>`}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??I.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:`stroke-offset-$lineWidth`}],[/^stroke-(.+)$/,ta,{autocomplete:`stroke-$colors`}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":I.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 ea([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??I.bracket.cssvar.fraction.px.number(e)}}function ta(e,t){return V(I.bracket(e[1]))?ea(e,t):R(`stroke`,`stroke`,`borderColor`)(e,t)}let na=[`translate`,`rotate`,`scale`],ra=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`rotate(var(--un-rotate))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`].join(` `),q=[`translateX(var(--un-translate-x))`,`translateY(var(--un-translate-y))`,`translateZ(var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),ia=[`translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))`,`rotate(var(--un-rotate))`,`rotateX(var(--un-rotate-x))`,`rotateY(var(--un-rotate-y))`,`rotateZ(var(--un-rotate-z))`,`skewX(var(--un-skew-x))`,`skewY(var(--un-skew-y))`,`scaleX(var(--un-scale-x))`,`scaleY(var(--un-scale-y))`,`scaleZ(var(--un-scale-z))`].join(` `),aa={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},J=Object.keys(aa),oa=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":N[e]??I.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(N).join(`|`)})`,`origin-(${Object.keys(N).join(`|`)})`]}],[/^(transform-)?perspect(?:ive)?-(.+)$/,([,e,t])=>{let n=I.bracket.cssvar.px.numberWithUnit(t);if(n!=null)return e?{"--un-perspective":`perspective(${n})`,transform:`var(--un-perspective) ${q}`}:{"-webkit-perspective":n,perspective:n}}],[/^perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=I.bracket.cssvar(e)??(e.length>=3?N[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,sa,{custom:{preflightKeys:J}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,sa,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-()(.+)$/,la,{custom:{preflightKeys:J}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,la,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-()(.+)$/,ua,{custom:{preflightKeys:J}}],[/^(?:transform-)?skew-([xy])-(.+)$/,ua,{custom:{preflightKeys:J},autocomplete:[`transform-skew-(x|y)-<percent>`,`skew-(x|y)-<percent>`]}],[/^(?:transform-)?scale-()(.+)$/,ca,{custom:{preflightKeys:J}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,ca,{custom:{preflightKeys:J},autocomplete:[`transform-(${na.join(`|`)})-<percent>`,`transform-(${na.join(`|`)})-(x|y|z)-<percent>`,`(${na.join(`|`)})-<percent>`,`(${na.join(`|`)})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":`preserve-3d`})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":`flat`})],[`transform`,{transform:q},{custom:{preflightKeys:J}}],[`transform-cpu`,{transform:ra},{custom:{preflightKeys:[`--un-translate-x`,`--un-translate-y`,`--un-rotate`,`--un-rotate-z`,`--un-skew-x`,`--un-skew-y`,`--un-scale-x`,`--un-scale-y`]}}],[`transform-gpu`,{transform:ia},{custom:{preflightKeys:J}}],[`transform-none`,{transform:`none`}],...B(`transform`)];function sa([,e,t],{theme:n}){let r=n.spacing?.[t]??I.bracket.cssvar.fraction.rem(t);if(r!=null)return[..._r(e,r,`translate`),[`transform`,q]]}function ca([,e,t]){let n=I.bracket.cssvar.fraction.percent(t);if(n!=null)return[..._r(e,n,`scale`),[`transform`,q]]}function la([,e=``,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:n,transform:q}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":n,transform:q}}function ua([,e,t]){let n=I.bracket.cssvar.degree(t);if(n!=null)return[..._r(e,n,`skew`),[`transform`,q]]}function da(e,t){let n;if(I.cssvar(e)!=null)n=I.cssvar(e);else{e.startsWith(`[`)&&e.endsWith(`]`)&&(e=e.slice(1,-1));let r=e.split(`,`).map(e=>t.transitionProperty?.[e]??I.properties(e));r.every(Boolean)&&(n=r.join(`,`))}return n}let fa=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{if(!e&&!t)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.DEFAULT??I.time(`150`)};if(e!=null){let r=da(e,n),i=n.duration?.[t||`DEFAULT`]??I.time(t||`150`);if(r)return{"transition-property":r,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":i}}else if(t!=null)return{"transition-property":n.transitionProperty?.DEFAULT,"transition-timing-function":n.easing?.DEFAULT,"transition-duration":n.duration?.[t]??I.time(t)}},{autocomplete:`transition-$transitionProperty-$duration`}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-duration-$duration`,`duration-$duration`]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`transition-delay-$duration`,`delay-$duration`]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`transition-ease-(linear|in|out|in-out|DEFAULT)`,`ease-(linear|in|out|in-out|DEFAULT)`]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let n=I.global(e)||da(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...P].join(`|`)})`,`transition-property-$transitionProperty`,`property-$transitionProperty`]}],[`transition-none`,{transition:`none`}],...B(`transition`),[`transition-discrete`,{"transition-behavior":`allow-discrete`}],[`transition-normal`,{"transition-behavior":`normal`}]],pa=[[/^text-(.+)$/,xa,{autocomplete:`text-$fontSize`}],[/^(?:text|font)-size-(.+)$/,ya,{autocomplete:`text-size-$fontSize`}],[/^text-(?:color-)?(.+)$/,ba,{autocomplete:`text-$colors`}],[/^(?:color|c)-(.+)$/,R(`color`,`text`,`textColor`),{autocomplete:`(color|c)-$colors`}],[/^(?:text|color|c)-(.+)$/,([,e])=>P.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${P.join(`|`)})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`(text|color|c)-(op|opacity)-<percent>`}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||I.bracket.global.number(e)}),{autocomplete:[`(font|fw)-(100|200|300|400|500|600|700|800|900)`,`(font|fw)-$fontWeight`]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":va(e,t,`lineHeight`)}),{autocomplete:`(leading|lh|line-height)-$lineHeight`}],[`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":I.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`tracking-$letterSpacing`}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||I.bracket.cssvar.global.rem(e)}),{autocomplete:`word-spacing-$wordSpacing`}],[`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":I.bracket.cssvar.fraction.global(e)}),{autocomplete:`font-stretch-<percentage>`}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||I.bracket.cssvar.global(e)}),{autocomplete:`font-$fontFamily`}]],ma=[[/^tab(?:-(.+))?$/,([,e])=>{let t=I.bracket.cssvar.global.number(e||`4`);if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],ha=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||`DEFAULT`]||I.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:`indent-$textIndent`}]],ga=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)}),{autocomplete:`text-stroke-$textStrokeWidth`}],[/^text-stroke-(.+)$/,R(`-webkit-text-stroke-color`,`text-stroke`,`borderColor`),{autocomplete:`text-stroke-$colors`}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-stroke-(op|opacity)-<percent>`}]],_a=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let n=t.textShadow?.[e||`DEFAULT`];return n==null?{"text-shadow":I.bracket.cssvar.global(e)}:{"--un-text-shadow":dr(n,`--un-text-shadow-color`).join(`,`),"text-shadow":`var(--un-text-shadow)`}},{autocomplete:`text-shadow-$textShadow`}],[/^text-shadow-color-(.+)$/,R(`--un-text-shadow-color`,`text-shadow`,`shadowColor`),{autocomplete:`text-shadow-color-$colors`}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":I.bracket.percent.cssvar(e)}),{autocomplete:`text-shadow-color-(op|opacity)-<percent>`}]];function va(e,t,n){return t[n]?.[e]||I.bracket.cssvar.global.rem(e)}function ya([,e],{theme:t}){let n=c(t.fontSize?.[e])?.[0]??I.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function ba(e,t){return V(I.bracket(e[1]))?ya(e,t):R(`color`,`text`,`textColor`)(e,t)}function xa([,e=`base`],{theme:t}){let n=lr(e,`length`);if(!n)return;let[r,i]=n,a=c(t.fontSize?.[r]),o=i?va(i,t,`lineHeight`):void 0;if(a?.[0]){let[e,n,r]=a;return typeof n==`object`?{"font-size":e,...n}:{"font-size":e,"line-height":o??n??`1`,"letter-spacing":r?va(r,t,`letterSpacing`):void 0}}let s=I.bracketOfLength.rem(r);return o&&s?{"font-size":s,"line-height":o}:{"font-size":I.bracketOfLength.rem(e)}}let Sa={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`},Ca=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=Sa[e];if(n)return{[n]:I.cssvar(t)}}]],wa=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(`:`))return;let[n,...r]=t.split(`:`),i=r.join(`:`);if(!Ea(t)&&/^[\w-]+$/.test(n)&&Ta(i)){let e=I.bracket(`[${i}]`);if(e)return{[n]:e}}}]];function Ta(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 Ea(e){if(!e.includes(`://`))return!1;try{return new URL(e).host!==``}catch{return!1}}let Da=[Ca,wa,Ti,Ei,Ci,si,hi,_i,li,ii,gi,Qi,vi,Si,Xi,qi,Qr,oa,wi,Oi,Di,Or,di,ui,ci,ti,fi,oi,Pi,ki,Mi,Mr,Gr,Kr,$i,Zi,wr,ha,Ni,Sr,pa,Fi,Ii,Yr,Li,ma,ga,_a,zr,Wi,Tr,Bi,fa,Ar,Ai,ji,qr,Ri,yi].flat(1),Oa=[[/^(?: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:I.bracket.cssvar(e)}},{autocomplete:`animate-$animation.keyframes`}],[/^animate-name-(.+)/,([,e])=>({"animation-name":I.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-duration`,`animate-duration-$duration`]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||`DEFAULT`]??I.bracket.cssvar.time(e)}),{autocomplete:[`animate-delay`,`animate-delay-$duration`]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||`DEFAULT`]??I.bracket.cssvar(e)}),{autocomplete:[`animate-ease`,`animate-ease-$easing`]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>[`none`,`forwards`,`backwards`,`both`,e?P:[]].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?P:[]].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":I.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?P:[]].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`}],...B(`animate`,`animation`)];function ka(e){return e?D(e,0):`rgb(255 255 255 / 0)`}function Aa(e,t,n,r){return t?r==null?D(t,`var(--un-${e}-opacity, ${Ht(t)})`):D(t,r):D(n,r)}function ja(){return([,e,t],{theme:n})=>{let r=ur(t,n,`backgroundColor`);if(!r)return;let{alpha:i,color:a,cssColor:o}=r;if(!a)return;let s=Aa(e,o,a,i);switch(e){case`from`:return{"--un-gradient-from-position":`0%`,"--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":`100%`,"--un-gradient-to":`${ka(o)} var(--un-gradient-to-position)`,"--un-gradient-stops":`var(--un-gradient-from), var(--un-gradient-to)`};case`via`:return{"--un-gradient-via-position":`50%`,"--un-gradient-to":ka(o),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case`to`:return{"--un-gradient-to-position":`100%`,"--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Ma(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(I.bracket.cssvar.percent(t))*100}%`})}let Na=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":I.bracket(e)}),{autocomplete:[`bg-gradient`,`bg-gradient-(from|to|via)`,`bg-gradient-(from|to|via)-$colors`,`bg-gradient-(from|to|via)-(op|opacity)`,`bg-gradient-(from|to|via)-(op|opacity)-<percent>`]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":I.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,ja()],[/^(?:bg-gradient-)?(via)-(.+)$/,ja()],[/^(?:bg-gradient-)?(to)-(.+)$/,ja()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:I.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,Ma()],[/^bg-gradient-((?: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-to-([rltb]{1,2})$/,([,e])=>{if(e in N)return{"--un-gradient-shape":`to ${N[e]} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`,"background-image":`linear-gradient(var(--un-gradient))`}},{autocomplete:`bg-gradient-to-(${Object.keys(N).filter(e=>e.length<=2&&Array.from(e).every(e=>`rltb`.includes(e))).join(`|`)})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in N?`to ${N[e]}`:I.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":`var(--un-gradient-shape), var(--un-gradient-stops)`}},{autocomplete:[`bg-gradient-shape`,`bg-gradient-shape-(${Object.keys(N).join(`|`)})`,`shape-(${Object.keys(N).join(`|`)})`]}],[`bg-none`,{"background-image":`none`}],[`box-decoration-slice`,{"box-decoration-break":`slice`}],[`box-decoration-clone`,{"box-decoration-break":`clone`}],...B(`box-decoration`,`box-decoration-break`),[`bg-auto`,{"background-size":`auto`}],[`bg-cover`,{"background-size":`cover`}],[`bg-contain`,{"background-size":`contain`}],[`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`}],...P.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":N[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`}],...B(`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`}],...B(`bg-origin`,`background-origin`)],Pa={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=Pa[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(Pa).join(`|`)})`,`list-(${Object.keys(Pa).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":I.bracket(e)}}],[`list-image-none`,{"list-style-image":`none`}],...B(`list`,`list-style-type`)],Ia=[[/^accent-(.+)$/,R(`accent-color`,`accent`,`accentColor`),{autocomplete:`accent-$colors`}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":I.bracket.percent(e)}),{autocomplete:[`accent-(op|opacity)`,`accent-(op|opacity)-<percent>`]}]],La=[[/^caret-(.+)$/,R(`caret-color`,`caret`,`textColor`),{autocomplete:`caret-$colors`}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":I.bracket.percent(e)}),{autocomplete:[`caret-(op|opacity)`,`caret-(op|opacity)-<percent>`]}]],Ra=[[`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`]]]],za=[[`overscroll-auto`,{"overscroll-behavior":`auto`}],[`overscroll-contain`,{"overscroll-behavior":`contain`}],[`overscroll-none`,{"overscroll-behavior":`none`}],...B(`overscroll`,`overscroll-behavior`),[`overscroll-x-auto`,{"overscroll-behavior-x":`auto`}],[`overscroll-x-contain`,{"overscroll-behavior-x":`contain`}],[`overscroll-x-none`,{"overscroll-behavior-x":`none`}],...B(`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`}],...B(`overscroll-y`,`overscroll-behavior-y`)],Ba=[[`scroll-auto`,{"scroll-behavior":`auto`}],[`scroll-smooth`,{"scroll-behavior":`smooth`}],...B(`scroll`,`scroll-behavior`)],Va=[[/^columns-(.+)$/,([,e],{theme:t})=>t.containers&&e in t.containers?{columns:t.containers[e]}:{columns:I.bracket.numberWithUnit.number.cssvar(e)},{autocomplete:[`columns-<num>`,`columns-$containers`]}],[`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`}],...B(`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`}],...B(`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`}],...B(`break-after`)],Ha=[[/^divide-?([xy])$/,Ua,{autocomplete:[`divide-(x|y|block|inline)`,`divide-(x|y|block|inline)-reverse`,`divide-(x|y|block|inline)-$lineWidth`]}],[/^divide-?([xy])-?(.+)$/,Ua],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,Ua],[/^divide-(block|inline)-(.+)$/,Ua],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,R(`border-color`,`divide`,`borderColor`),{autocomplete:`divide-$colors`}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":I.bracket.percent(e)}),{autocomplete:[`divide-(op|opacity)`,`divide-(op|opacity)-<percent>`]}],...jr.map(e=>[`divide-${e}`,{"border-style":e}])];function Ua([,e,t],{theme:n}){let r=n.lineWidth?.[t||`DEFAULT`]??I.bracket.cssvar.px(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`border${t}-width`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-divide-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-divide-${e}-reverse)))`]);if(t)return[[`--un-divide-${e}-reverse`,0],...t]}}let Wa={"--un-blur":` `,"--un-brightness":` `,"--un-contrast":` `,"--un-drop-shadow":` `,"--un-grayscale":` `,"--un-hue-rotate":` `,"--un-invert":` `,"--un-saturate":` `,"--un-sepia":` `},Ga=Object.keys(Wa),Ka={preflightKeys:Ga},qa=`var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)`,Ja={"--un-backdrop-blur":` `,"--un-backdrop-brightness":` `,"--un-backdrop-contrast":` `,"--un-backdrop-grayscale":` `,"--un-backdrop-hue-rotate":` `,"--un-backdrop-invert":` `,"--un-backdrop-opacity":` `,"--un-backdrop-saturate":` `,"--un-backdrop-sepia":` `},Ya=Object.keys(Ja),Xa={preflightKeys:Ya},Za=`var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)`,Y={preflightKeys:[...Ga,...Ya]};function Qa(e){let t=I.bracket.cssvar(e||``);if(t!=null||(t=e?I.percent(e):`1`,t!=null&&Number.parseFloat(t)<=1))return t}function X(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":Za,"backdrop-filter":Za}:{[`--un-${e}`]:`${e}(${a})`,filter:qa}}}function $a([,e],{theme:t}){let n=t.dropShadow?.[e||`DEFAULT`];if(n!=null)return{"--un-drop-shadow":`drop-shadow(${dr(n,`--un-drop-shadow-color`).join(`) drop-shadow(`)})`,filter:qa};if(n=I.bracket.cssvar(e),n!=null)return{"--un-drop-shadow":`drop-shadow(${n})`,filter:qa}}let eo=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,X(`blur`,(e,t)=>t.blur?.[e||`DEFAULT`]||I.bracket.cssvar.px(e)),{custom:Y,autocomplete:[`(backdrop|filter)-blur-$blur`,`blur-$blur`,`filter-blur`]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,X(`brightness`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-brightness-<percent>`,`brightness-<percent>`]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,X(`contrast`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-contrast-<percent>`,`contrast-<percent>`]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,$a,{custom:Ka,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-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-(.+)$/,R(`--un-drop-shadow-color`,`drop-shadow`,`shadowColor`)],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":I.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,X(`grayscale`,Qa),{custom:Y,autocomplete:[`(backdrop|filter)-grayscale`,`(backdrop|filter)-grayscale-<percent>`,`grayscale-<percent>`]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,X(`hue-rotate`,e=>I.bracket.cssvar.degree(e)),{custom:Y}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,X(`invert`,Qa),{custom:Y,autocomplete:[`(backdrop|filter)-invert`,`(backdrop|filter)-invert-<percent>`,`invert-<percent>`]}],[/^(backdrop-)op(?:acity)?-(.+)$/,X(`opacity`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`backdrop-(op|opacity)`,`backdrop-(op|opacity)-<percent>`]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,X(`saturate`,e=>I.bracket.cssvar.percent(e)),{custom:Y,autocomplete:[`(backdrop|filter)-saturate`,`(backdrop|filter)-saturate-<percent>`,`saturate-<percent>`]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,X(`sepia`,Qa),{custom:Y,autocomplete:[`(backdrop|filter)-sepia`,`(backdrop|filter)-sepia-<percent>`,`sepia-<percent>`]}],[`filter`,{filter:qa},{custom:Ka}],[`backdrop-filter`,{"-webkit-backdrop-filter":Za,"backdrop-filter":Za},{custom:Xa}],[`filter-none`,{filter:`none`}],[`backdrop-filter-none`,{"-webkit-backdrop-filter":`none`,"backdrop-filter":`none`}],...P.map(e=>[`filter-${e}`,{filter:e}]),...P.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],to=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:`hidden`,display:`-webkit-box`,"-webkit-box-orient":`vertical`,"-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:[`line-clamp`,`line-clamp-<num>`]}],...[`none`,...P].map(e=>[`line-clamp-${e}`,{overflow:`visible`,display:`block`,"-webkit-box-orient":`horizontal`,"-webkit-line-clamp":e,"line-clamp":e}])],no=[[/^\$ placeholder-(.+)$/,R(`color`,`placeholder`,`accentColor`),{autocomplete:`placeholder-$colors`}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":I.bracket.percent(e)}),{autocomplete:[`placeholder-(op|opacity)`,`placeholder-(op|opacity)-<percent>`]}]],ro={"--un-scroll-snap-strictness":`proximity`},io={preflightKeys:Object.keys(ro)},ao=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:io,autocomplete:`snap-(x|y|both)`}],[/^snap-both$/,()=>({"scroll-snap-type":`both var(--un-scroll-snap-strictness)`}),{custom:io}],[`snap-mandatory`,{"--un-scroll-snap-strictness":`mandatory`}],[`snap-proximity`,{"--un-scroll-snap-strictness":`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?()-?(.+)$/,L(`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])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([rltb])-?(.+)$/,L(`scroll-margin`)],[/^scroll-m-(block|inline)-(.+)$/,L(`scroll-margin`)],[/^scroll-m-?([bi][se])-?(.+)$/,L(`scroll-margin`)],[/^scroll-pa?()-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([xy])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([rltb])-?(.+)$/,L(`scroll-padding`)],[/^scroll-p-(block|inline)-(.+)$/,L(`scroll-padding`)],[/^scroll-p-?([bi][se])-?(.+)$/,L(`scroll-padding`)]],oo=[[/^space-([xy])-(.+)$/,so,{autocomplete:[`space-(x|y|block|inline)`,`space-(x|y|block|inline)-reverse`,`space-(x|y|block|inline)-$spacing`]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,so],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];function so([,e,t],{theme:n}){let r=n.spacing?.[t||`DEFAULT`]??I.bracket.cssvar.auto.fraction.rem(t||`1`);if(r!=null){r===`0`&&(r=`0px`);let t=M[e].map(t=>[`margin${t}`,t.endsWith(`right`)||t.endsWith(`bottom`)?`calc(${r} * var(--un-space-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-space-${e}-reverse)))`]);if(t)return[[`--un-space-${e}-reverse`,0],...t]}}let co=[[`uppercase`,{"text-transform":`uppercase`}],[`lowercase`,{"text-transform":`lowercase`}],[`capitalize`,{"text-transform":`capitalize`}],[`normal-case`,{"text-transform":`none`}]],lo=[...[`manual`,`auto`,`none`,...P].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],uo=[[`write-vertical-right`,{"writing-mode":`vertical-rl`}],[`write-vertical-left`,{"writing-mode":`vertical-lr`}],[`write-normal`,{"writing-mode":`horizontal-tb`}],...B(`write`,`writing-mode`)],fo=[[`write-orient-mixed`,{"text-orientation":`mixed`}],[`write-orient-sideways`,{"text-orientation":`sideways`}],[`write-orient-upright`,{"text-orientation":`upright`}],...B(`write-orient`,`text-orientation`)],po=[[`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`}]],mo=[[`isolate`,{isolation:`isolate`}],[`isolate-auto`,{isolation:`auto`}],[`isolation-auto`,{isolation:`auto`}]],ho=[[`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(N[e])return{"object-position":N[e]};if(I.bracketOfPosition(e)!=null)return{"object-position":I.bracketOfPosition(e).split(` `).map(e=>I.position.fraction.auto.px.cssvar(e)??e).join(` `)}},{autocomplete:`object-(${Object.keys(N).join(`|`)})`}]],go=[[`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`}],...B(`bg-blend`,`background-blend`)],_o=[[`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`}],...B(`mix-blend`)],vo=[[`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`}]],yo={"--un-border-spacing-x":0,"--un-border-spacing-y":0},bo={preflightKeys:Object.keys(yo)},xo=`var(--un-border-spacing-x) var(--un-border-spacing-y)`,So=[[`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-(.+)$/,([,e],{theme:t})=>{let n=t.spacing?.[e]??I.bracket.cssvar.global.auto.fraction.rem(e);if(n!=null)return{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":xo}},{custom:bo,autocomplete:[`border-spacing`,`border-spacing-$spacing`]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:n})=>{let r=n.spacing?.[t]??I.bracket.cssvar.global.auto.fraction.rem(t);if(r!=null)return{[`--un-border-spacing-${e}`]:r,"border-spacing":xo}},{custom:bo,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`}]],Co={"--un-pan-x":` `,"--un-pan-y":` `,"--un-pinch-zoom":` `},wo={preflightKeys:Object.keys(Co)},To=`var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)`,Eo=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":To}),{custom:wo,autocomplete:[`touch-pan`,`touch-pan-(x|left|right|y|up|down)`]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":To}),{custom:wo}],[`touch-pinch-zoom`,{"--un-pinch-zoom":`pinch-zoom`,"touch-action":To},{custom:wo}],[`touch-auto`,{"touch-action":`auto`}],[`touch-manipulation`,{"touch-action":`manipulation`}],[`touch-none`,{"touch-action":`none`}],...B(`touch`,`touch-action`)],Do={"--un-ordinal":` `,"--un-slashed-zero":` `,"--un-numeric-figure":` `,"--un-numeric-spacing":` `,"--un-numeric-fraction":` `},Z={preflightKeys:Object.keys(Do)};function Q(e){return{...e,"font-variant-numeric":`var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)`}}let Oo=[[/^ordinal$/,()=>Q({"--un-ordinal":`ordinal`}),{custom:Z,autocomplete:`ordinal`}],[/^slashed-zero$/,()=>Q({"--un-slashed-zero":`slashed-zero`}),{custom:Z,autocomplete:`slashed-zero`}],[/^lining-nums$/,()=>Q({"--un-numeric-figure":`lining-nums`}),{custom:Z,autocomplete:`lining-nums`}],[/^oldstyle-nums$/,()=>Q({"--un-numeric-figure":`oldstyle-nums`}),{custom:Z,autocomplete:`oldstyle-nums`}],[/^proportional-nums$/,()=>Q({"--un-numeric-spacing":`proportional-nums`}),{custom:Z,autocomplete:`proportional-nums`}],[/^tabular-nums$/,()=>Q({"--un-numeric-spacing":`tabular-nums`}),{custom:Z,autocomplete:`tabular-nums`}],[/^diagonal-fractions$/,()=>Q({"--un-numeric-fraction":`diagonal-fractions`}),{custom:Z,autocomplete:`diagonal-fractions`}],[/^stacked-fractions$/,()=>Q({"--un-numeric-fraction":`stacked-fractions`}),{custom:Z,autocomplete:`stacked-fractions`}],[`normal-nums`,{"font-variant-numeric":`normal`}]],ko={"bg-blend":`background-blend-mode`,"bg-clip":`-webkit-background-clip`,"bg-gradient":`linear-gradient`,"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`},Ao=[Ca,[[/^(.+?)-(\$.+)$/,([,e,t])=>{let n=ko[e];if(n)return{[n]:I.cssvar(t)}}]],wa,yr,Ti,po,Ei,Ci,si,hi,to,mo,_i,li,ii,gi,Qi,vi,Si,Xi,qi,Qr,So,oa,Oa,wi,Eo,Oi,Di,ao,Fa,Or,Va,di,ui,ci,ti,fi,oo,Ha,oi,za,Ba,Pi,ki,Mi,Mr,Gr,Na,Kr,$i,ho,Zi,wr,ha,Ni,Sr,pa,Fi,co,Ii,Oo,Yr,Li,ma,ga,_a,lo,uo,fo,La,Ia,zr,go,_o,Wi,Tr,Bi,Ra,eo,fa,Ar,Ai,ji,no,qr,[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],vo,Ri,yi].flat(1),jo=[...br],Mo={inherit:`inherit`,current:`currentColor`,transparent:`transparent`,black:`#000`,white:`#fff`,rose:{50:`#fff1f2`,100:`#ffe4e6`,200:`#fecdd3`,300:`#fda4af`,400:`#fb7185`,500:`#f43f5e`,600:`#e11d48`,700:`#be123c`,800:`#9f1239`,900:`#881337`,950:`#4c0519`},pink:{50:`#fdf2f8`,100:`#fce7f3`,200:`#fbcfe8`,300:`#f9a8d4`,400:`#f472b6`,500:`#ec4899`,600:`#db2777`,700:`#be185d`,800:`#9d174d`,900:`#831843`,950:`#500724`},fuchsia:{50:`#fdf4ff`,100:`#fae8ff`,200:`#f5d0fe`,300:`#f0abfc`,400:`#e879f9`,500:`#d946ef`,600:`#c026d3`,700:`#a21caf`,800:`#86198f`,900:`#701a75`,950:`#4a044e`},purple:{50:`#faf5ff`,100:`#f3e8ff`,200:`#e9d5ff`,300:`#d8b4fe`,400:`#c084fc`,500:`#a855f7`,600:`#9333ea`,700:`#7e22ce`,800:`#6b21a8`,900:`#581c87`,950:`#3b0764`},violet:{50:`#f5f3ff`,100:`#ede9fe`,200:`#ddd6fe`,300:`#c4b5fd`,400:`#a78bfa`,500:`#8b5cf6`,600:`#7c3aed`,700:`#6d28d9`,800:`#5b21b6`,900:`#4c1d95`,950:`#2e1065`},indigo:{50:`#eef2ff`,100:`#e0e7ff`,200:`#c7d2fe`,300:`#a5b4fc`,400:`#818cf8`,500:`#6366f1`,600:`#4f46e5`,700:`#4338ca`,800:`#3730a3`,900:`#312e81`,950:`#1e1b4b`},blue:{50:`#eff6ff`,100:`#dbeafe`,200:`#bfdbfe`,300:`#93c5fd`,400:`#60a5fa`,500:`#3b82f6`,600:`#2563eb`,700:`#1d4ed8`,800:`#1e40af`,900:`#1e3a8a`,950:`#172554`},sky:{50:`#f0f9ff`,100:`#e0f2fe`,200:`#bae6fd`,300:`#7dd3fc`,400:`#38bdf8`,500:`#0ea5e9`,600:`#0284c7`,700:`#0369a1`,800:`#075985`,900:`#0c4a6e`,950:`#082f49`},cyan:{50:`#ecfeff`,100:`#cffafe`,200:`#a5f3fc`,300:`#67e8f9`,400:`#22d3ee`,500:`#06b6d4`,600:`#0891b2`,700:`#0e7490`,800:`#155e75`,900:`#164e63`,950:`#083344`},teal:{50:`#f0fdfa`,100:`#ccfbf1`,200:`#99f6e4`,300:`#5eead4`,400:`#2dd4bf`,500:`#14b8a6`,600:`#0d9488`,700:`#0f766e`,800:`#115e59`,900:`#134e4a`,950:`#042f2e`},emerald:{50:`#ecfdf5`,100:`#d1fae5`,200:`#a7f3d0`,300:`#6ee7b7`,400:`#34d399`,500:`#10b981`,600:`#059669`,700:`#047857`,800:`#065f46`,900:`#064e3b`,950:`#022c22`},green:{50:`#f0fdf4`,100:`#dcfce7`,200:`#bbf7d0`,300:`#86efac`,400:`#4ade80`,500:`#22c55e`,600:`#16a34a`,700:`#15803d`,800:`#166534`,900:`#14532d`,950:`#052e16`},lime:{50:`#f7fee7`,100:`#ecfccb`,200:`#d9f99d`,300:`#bef264`,400:`#a3e635`,500:`#84cc16`,600:`#65a30d`,700:`#4d7c0f`,800:`#3f6212`,900:`#365314`,950:`#1a2e05`},yellow:{50:`#fefce8`,100:`#fef9c3`,200:`#fef08a`,300:`#fde047`,400:`#facc15`,500:`#eab308`,600:`#ca8a04`,700:`#a16207`,800:`#854d0e`,900:`#713f12`,950:`#422006`},amber:{50:`#fffbeb`,100:`#fef3c7`,200:`#fde68a`,300:`#fcd34d`,400:`#fbbf24`,500:`#f59e0b`,600:`#d97706`,700:`#b45309`,800:`#92400e`,900:`#78350f`,950:`#451a03`},orange:{50:`#fff7ed`,100:`#ffedd5`,200:`#fed7aa`,300:`#fdba74`,400:`#fb923c`,500:`#f97316`,600:`#ea580c`,700:`#c2410c`,800:`#9a3412`,900:`#7c2d12`,950:`#431407`},red:{50:`#fef2f2`,100:`#fee2e2`,200:`#fecaca`,300:`#fca5a5`,400:`#f87171`,500:`#ef4444`,600:`#dc2626`,700:`#b91c1c`,800:`#991b1b`,900:`#7f1d1d`,950:`#450a0a`},gray:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#1f2937`,900:`#111827`,950:`#030712`},slate:{50:`#f8fafc`,100:`#f1f5f9`,200:`#e2e8f0`,300:`#cbd5e1`,400:`#94a3b8`,500:`#64748b`,600:`#475569`,700:`#334155`,800:`#1e293b`,900:`#0f172a`,950:`#020617`},zinc:{50:`#fafafa`,100:`#f4f4f5`,200:`#e4e4e7`,300:`#d4d4d8`,400:`#a1a1aa`,500:`#71717a`,600:`#52525b`,700:`#3f3f46`,800:`#27272a`,900:`#18181b`,950:`#09090b`},neutral:{50:`#fafafa`,100:`#f5f5f5`,200:`#e5e5e5`,300:`#d4d4d4`,400:`#a3a3a3`,500:`#737373`,600:`#525252`,700:`#404040`,800:`#262626`,900:`#171717`,950:`#0a0a0a`},stone:{50:`#fafaf9`,100:`#f5f5f4`,200:`#e7e5e4`,300:`#d6d3d1`,400:`#a8a29e`,500:`#78716c`,600:`#57534e`,700:`#44403c`,800:`#292524`,900:`#1c1917`,950:`#0c0a09`},light:{50:`#fdfdfd`,100:`#fcfcfc`,200:`#fafafa`,300:`#f8f9fa`,400:`#f6f6f6`,500:`#f2f2f2`,600:`#f1f3f5`,700:`#e9ecef`,800:`#dee2e6`,900:`#dde1e3`,950:`#d8dcdf`},dark:{50:`#4a4a4a`,100:`#3c3c3c`,200:`#323232`,300:`#2d2d2d`,400:`#222222`,500:`#1f1f1f`,600:`#1c1c1e`,700:`#1b1b1b`,800:`#181818`,900:`#0f0f0f`,950:`#080808`},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(Mo).forEach(e=>{typeof e!=`string`&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let n=t/100;n===Math.round(n)&&(e[n]=e[t])}))});let No={DEFAULT:`8px`,0:`0`,sm:`4px`,md:`12px`,lg:`16px`,xl:`24px`,"2xl":`40px`,"3xl":`64px`},Po={DEFAULT:[`0 1px 2px rgb(0 0 0 / 0.1)`,`0 1px 1px rgb(0 0 0 / 0.06)`],sm:`0 1px 1px rgb(0 0 0 / 0.05)`,md:[`0 4px 3px rgb(0 0 0 / 0.07)`,`0 2px 2px rgb(0 0 0 / 0.06)`],lg:[`0 10px 8px rgb(0 0 0 / 0.04)`,`0 4px 3px rgb(0 0 0 / 0.1)`],xl:[`0 20px 13px rgb(0 0 0 / 0.03)`,`0 8px 5px rgb(0 0 0 / 0.08)`],"2xl":`0 25px 25px rgb(0 0 0 / 0.15)`,none:`0 0 rgb(0 0 0 / 0)`},Fo={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(`,`)},Io={xs:[`0.75rem`,`1rem`],sm:[`0.875rem`,`1.25rem`],base:[`1rem`,`1.5rem`],lg:[`1.125rem`,`1.75rem`],xl:[`1.25rem`,`1.75rem`],"2xl":[`1.5rem`,`2rem`],"3xl":[`1.875rem`,`2.25rem`],"4xl":[`2.25rem`,`2.5rem`],"5xl":[`3rem`,`1`],"6xl":[`3.75rem`,`1`],"7xl":[`4.5rem`,`1`],"8xl":[`6rem`,`1`],"9xl":[`8rem`,`1`]},Lo={DEFAULT:`1.5rem`,xs:`0.5rem`,sm:`1rem`,md:`1.5rem`,lg:`2rem`,xl:`2.5rem`,"2xl":`3rem`,"3xl":`4rem`},Ro={DEFAULT:`1.5rem`,none:`0`,sm:`thin`,md:`medium`,lg:`thick`},zo={DEFAULT:[`0 0 1px rgb(0 0 0 / 0.2)`,`0 0 1px rgb(1 0 5 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`1px 1px 3px rgb(36 37 47 / 0.25)`,md:[`0 1px 2px rgb(30 29 39 / 0.19)`,`1px 2px 4px rgb(54 64 147 / 0.18)`],lg:[`3px 3px 6px rgb(0 0 0 / 0.26)`,`0 0 5px rgb(15 3 86 / 0.22)`],xl:[`1px 1px 3px rgb(0 0 0 / 0.29)`,`2px 4px 7px rgb(73 64 125 / 0.35)`]},Bo={none:`1`,tight:`1.25`,snug:`1.375`,normal:`1.5`,relaxed:`1.625`,loose:`2`},Vo={tighter:`-0.05em`,tight:`-0.025em`,normal:`0em`,wide:`0.025em`,wider:`0.05em`,widest:`0.1em`},Ho={thin:`100`,extralight:`200`,light:`300`,normal:`400`,medium:`500`,semibold:`600`,bold:`700`,extrabold:`800`,black:`900`},Uo=Vo,Wo={sm:`640px`,md:`768px`,lg:`1024px`,xl:`1280px`,"2xl":`1536px`},Go={...Wo},Ko={DEFAULT:`1px`,none:`0`},qo={DEFAULT:`1rem`,none:`0`,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`},Jo={DEFAULT:`150ms`,none:`0s`,75:`75ms`,100:`100ms`,150:`150ms`,200:`200ms`,300:`300ms`,500:`500ms`,700:`700ms`,1e3:`1000ms`},Yo={DEFAULT:`0.25rem`,none:`0`,sm:`0.125rem`,md:`0.375rem`,lg:`0.5rem`,xl:`0.75rem`,"2xl":`1rem`,"3xl":`1.5rem`,full:`9999px`},Xo={DEFAULT:[`var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)`],none:`0 0 rgb(0 0 0 / 0)`,sm:`var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)`,md:[`var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)`],lg:[`var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)`],xl:[`var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)`,`var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)`],"2xl":`var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)`,inner:`inset 0 2px 4px 0 rgb(0 0 0 / 0.05)`},Zo={DEFAULT:`3px`,none:`0`},Qo={auto:`auto`},$o={mouse:`(hover) and (pointer: fine)`},es={...aa,...Ui,...zi},$={xs:`20rem`,sm:`24rem`,md:`28rem`,lg:`32rem`,xl:`36rem`,"2xl":`42rem`,"3xl":`48rem`,"4xl":`56rem`,"5xl":`64rem`,"6xl":`72rem`,"7xl":`80rem`,prose:`65ch`},ts={auto:`auto`,...$,screen:`100vw`},ns={none:`none`,...$,screen:`100vw`},rs={auto:`auto`,...$,screen:`100vb`},is={auto:`auto`,...$,screen:`100vi`},as={auto:`auto`,...$,screen:`100vh`},os={none:`none`,...$,screen:`100vh`},ss={none:`none`,...$,screen:`100vb`},cs={none:`none`,...$,screen:`100vi`},ls={...$},us={width:ts,height:as,maxWidth:ns,maxHeight:os,minWidth:ns,minHeight:os,inlineSize:is,blockSize:rs,maxInlineSize:cs,maxBlockSize:ss,minInlineSize:cs,minBlockSize:ss,colors:Mo,fontFamily:Fo,fontSize:Io,fontWeight:Ho,breakpoints:Wo,verticalBreakpoints:Go,borderRadius:Yo,lineHeight:Bo,letterSpacing:Vo,wordSpacing:Uo,boxShadow:Xo,textIndent:Lo,textShadow:zo,textStrokeWidth:Ro,blur:No,dropShadow:Po,easing:{DEFAULT:`cubic-bezier(0.4, 0, 0.2, 1)`,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)`},transitionProperty:{none:`none`,all:`all`,colors:[`color`,`background-color`,`border-color`,`text-decoration-color`,`fill`,`stroke`].join(`,`),opacity:`opacity`,shadow:`box-shadow`,transform:`transform`,get DEFAULT(){return[this.colors,`opacity`,`box-shadow`,`transform`,`filter`,`backdrop-filter`].join(`,`)}},lineWidth:Ko,spacing:qo,duration:Jo,ringWidth:Zo,preflightBase:es,containers:ls,zIndex:Qo,media:$o},ds={...us,aria:{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"`},animation:{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`}},media:{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)`},supports:{grid:`(display: grid)`},preflightBase:{...aa,...Co,...ro,...Do,...yo,...Ui,...zi,...Wa,...Ja}},fs={name:`aria`,match(e,t){let n=(0,U.variantGetParameter)(`aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[aria-${i}]`}}},multiPass:!0};function ps(e,t,n={}){return{name:`${e}-aria`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-aria-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.aria?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[aria-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[aria-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function ms(){return{name:`has-aria`,match(e,t){let n=(0,U.variantGetParameter)(`has-aria-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.aria?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([aria-${i}])`})}}},multiPass:!0}}function hs(e={}){return[ps(`group`,` `,e),ps(`peer`,`~`,e),ps(`parent`,`>`,e),ps(`previous`,`+`,e),ms()]}let gs=/(max|min)-\[([^\]]*)\]:/;function _s(){let e={};return{name:`breakpoints`,match(t,n){if(gs.test(t)){let e=t.match(gs);return{matcher:t.replace(e[0],``),handle:(t,n)=>n({...t,parent:`${t.parent?`${t.parent} $$ `:``}@media (${e[1]}-width: ${e[2]})`})}}let r=(z(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: ${(0,U.calcMaxWidthBySize)(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: ${(0,U.calcMaxWidthBySize)(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-|)$breakpoints:`}}let vs=[(0,U.variantMatcher)(`*`,e=>({selector:`${e.selector} > *`}),{order:-1})];function ys(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;let i=r.generator.config.separators,a=(0,U.variantGetBracket)(`${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=I.bracket(a[0])??``;return o===``&&(o=`*`),{matcher:a[1],selector:e=>`${e}${t}${o}`}},multiPass:!0}}let bs=[ys(`all`,` `),ys(`children`,`>`),ys(`next`,`+`),ys(`sibling`,`+`),ys(`siblings`,`~`)],xs={name:`@`,match(e,t){if(e.startsWith(`@container`))return;let n=(0,U.variantGetParameter)(`@`,e,t.generator.config.separators);if(n){let[e,r,i]=n,a=I.bracket(e),o;if(o=a?I.numberWithUnit(a):t.theme.containers?.[e]??``,o){let n=1e3+Object.keys(t.theme.containers??{}).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 Ss(e={}){if(e?.dark===`class`||typeof e.dark==`object`){let{dark:t=`.dark`,light:n=`.light`}=typeof e.dark==`string`?{}:e.dark;return[(0,U.variantMatcher)(`dark`,c(t).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`}))),(0,U.variantMatcher)(`light`,c(n).map(e=>t=>({prefix:`${e} $$ ${t.prefix}`})))]}return[(0,U.variantParentMatcher)(`dark`,`@media (prefers-color-scheme: dark)`),(0,U.variantParentMatcher)(`light`,`@media (prefers-color-scheme: light)`)]}let Cs={name:`data`,match(e,t){let n=(0,U.variantGetParameter)(`data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,selector:e=>`${e}[data-${i}]`}}},multiPass:!0};function ws(e,t,n={}){return{name:`${e}-data`,match(r,i){let a=(0,U.variantGetParameter)(`${e}-data-`,r,i.generator.config.separators);if(a){let[r,o,s]=a,c=I.bracket(r)??i.theme.data?.[r]??``;if(c){let r=!!n?.attributifyPseudo,i=n?.prefix??``;i=(Array.isArray(i)?i:[i]).filter(Boolean)[0]??``;let a=`${r?`[${i}${e}=""]`:`.${i}${e}`}`,l=h(s?`/${s}`:``);return{matcher:o,handle:(e,n)=>{let r=RegExp(`${m(a)}${m(l)}(?:\\[.+?\\])+`),i=e.prefix.match(r),o;if(i){let t=(i.index??0)+a.length+l.length;o=[e.prefix.slice(0,t),`[data-${c}]`,e.prefix.slice(t)].join(``)}else{let n=Math.max(e.prefix.indexOf(a),0);o=[e.prefix.slice(0,n),a,l,`[data-${c}]`,t,e.prefix.slice(n)].join(``)}return n({...e,prefix:o})}}}}},multiPass:!0}}function Ts(){return{name:`has-data`,match(e,t){let n=(0,U.variantGetParameter)(`has-data-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??t.theme.data?.[e]??``;if(i)return{matcher:r,handle:(e,t)=>t({...e,pseudo:`${e.pseudo}:has([data-${i}])`})}}},multiPass:!0}}function Es(e={}){return[ws(`group`,` `,e),ws(`peer`,`~`,e),ws(`parent`,`>`,e),ws(`previous`,`+`,e),Ts()]}let Ds=[(0,U.variantMatcher)(`rtl`,e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),(0,U.variantMatcher)(`ltr`,e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function Os(){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)}}}}let ks=(0,U.variantParentMatcher)(`print`,`@media print`),As={name:`media`,match(e,t){let n=(0,U.variantGetParameter)(`media-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.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},js={name:`selector`,match(e,t){let n=(0,U.variantGetBracket)(`selector-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:()=>r}}}},Ms={name:`layer`,match(e,t){let n=(0,U.variantGetParameter)(`layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@layer ${r}`})}}}},Ns={name:`uno-layer`,match(e,t){let n=(0,U.variantGetParameter)(`uno-layer-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e)??e;if(r)return{matcher:t,layer:r}}}},Ps={name:`scope`,match(e,t){let n=(0,U.variantGetBracket)(`scope-`,e,t.generator.config.separators);if(n){let[e,t]=n,r=I.bracket(e);if(r)return{matcher:t,selector:e=>`${r} $$ ${e}`}}}},Fs={name:`variables`,match(e,t){if(!e.startsWith(`[`))return;let[n,r]=(0,U.getBracket)(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=I.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},Is={name:`theme-variables`,match(e,t){if((0,U.hasThemeFn)(e))return{matcher:e,handle(e,n){return n({...e,entries:JSON.parse((0,U.transformThemeFn)(JSON.stringify(e.entries),t.theme))})}}}},Ls=/^-?[0-9.]+(?:[a-z]+|%)?$/,Rs=/-?[0-9.]+(?:[a-z]+|%)?/,zs=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];function Bs(e){let t=e.match(jn)||e.match(Mn);if(t){let[e,n]=Mt(`(${t[2]})${t[3]}`,`(`,`)`,` `)??[];if(e)return`calc(${t[1]}${e} * -1)${n?` ${n}`:``}`}}let Vs=/\b(hue-rotate)\s*(\(.*)/;function Hs(e){let t=e.match(Vs);if(t){let[e,n]=Mt(t[2],`(`,`)`,` `)??[];if(e){let r=Ls.test(e.slice(1,-1))?e.replace(Rs,e=>e.startsWith(`-`)?e.slice(1):`-${e}`):`(calc(${e} * -1))`;return`${t[1]}${r}${n?` ${n}`:``}`}}}let Us={name:`negative`,match(e){if(e.startsWith(`-`))return{matcher:e.slice(1),body:e=>{if(e.some(e=>e[0]===`$$mini-no-negative`))return;let t=!1;return e.forEach(e=>{let n=e[1]?.toString();if(!n||n===`0`||zs.some(t=>t.test(e[0])))return;let r=Bs(n);if(r){e[1]=r,t=!0;return}let i=Hs(n);if(i){e[1]=i,t=!0;return}Ls.test(n)&&(e[1]=n.replace(Rs,e=>e.startsWith(`-`)?e.slice(1):`-${e}`),t=!0)}),t?e:[]}}}};function Ws(){return vn({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function Gs(){return yn({getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}function Ks(e={}){return bn(e,{getBracket:H.getBracket,h:I,variantGetBracket:H.variantGetBracket})}let qs=Sn(),Js={name:`starting`,match(e){if(e.startsWith(`starting:`))return{matcher:e.slice(9),handle:(e,t)=>t({...e,parent:`@starting-style`})}}},Ys={name:`supports`,match(e,t){let n=(0,U.variantGetParameter)(`supports-`,e,t.generator.config.separators);if(n){let[e,r]=n,i=I.bracket(e)??``;if(i===``&&(i=t.theme.supports?.[e]??``),i)return/^[\w-]+$/.test(i)&&(i=`(${i}: var(--un))`),i=i.replace(/\b(and|or|not)\b/gi,` $1 `).replace(/\s+/g,` `).trim(),!(i.startsWith(`(`)&&i.endsWith(`)`))&&!/^not\b/i.test(i)&&(i=`(${i})`),{matcher:r,handle:(e,t)=>t({...e,parent:`${e.parent?`${e.parent} $$ `:``}@supports ${i}`})}}},multiPass:!0};function Xs(e){return[fs,Cs,Ms,js,Ns,Us,Js,Os(),Ys,ks,As,_s(),...bs,...Ws(),Gs(),...Ks(e),qs,...Ss(e),...Ds,Ps,...vs,xs,Fs,...Es(e),...hs(e),Is]}let Zs=[Cn(`svg`,e=>({selector:`${e.selector} svg`}))],Qs=[Cn(`.dark`,e=>({prefix:`.dark $$ ${e.prefix}`})),Cn(`.light`,e=>({prefix:`.light $$ ${e.prefix}`})),j(`@dark`,`@media (prefers-color-scheme: dark)`),j(`@light`,`@media (prefers-color-scheme: light)`)],$s=[j(`contrast-more`,`@media (prefers-contrast: more)`),j(`contrast-less`,`@media (prefers-contrast: less)`)],ec=[j(`motion-reduce`,`@media (prefers-reduced-motion: reduce)`),j(`motion-safe`,`@media (prefers-reduced-motion: no-preference)`)],tc=[j(`landscape`,`@media (orientation: landscape)`),j(`portrait`,`@media (orientation: portrait)`)],nc=e=>{if(!e.startsWith(`_`)&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:e=>{let t=`>:not([hidden])~:not([hidden])`;return e.includes(t)?e:`${e}${t}`}}},rc=[Cn(`@hover`,e=>({parent:`${e.parent?`${e.parent} $$ `:``}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||``}:hover`}))];function ic(e,t,n){return`calc(${t} + (${e} - ${t}) * ${n} / 100)`}function ac(e,t,n){let r=[e,t],i=[];for(let e=0;e<2;e++){let t=typeof r[e]==`string`?E(r[e]):r[e];if(!t||![`rgb`,`rgba`].includes(t.type))return;i.push(t)}let a=[];for(let e=0;e<3;e++)a.push(ic(i[0].components[e],i[1].components[e],n));return{type:`rgb`,components:a,alpha:ic(i[0].alpha??1,i[1].alpha??1,n)}}function oc(e,t){return ac(`#fff`,e,t)}function sc(e,t){return ac(`#000`,e,t)}function cc(e,t){let n=Number.parseFloat(`${t}`);if(!Number.isNaN(n))return n>0?sc(e,t):oc(e,-n)}let lc={tint:oc,shade:sc,shift:cc};function uc(){let e;return{name:`mix`,match(t,n){e||=RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${n.generator.config.separators.join(`|`)})`);let r=t.match(e);if(r)return{matcher:t.slice(r[0].length),body:e=>(e.forEach(e=>{if(e[1]){let t=E(`${e[1]}`);if(t){let n=lc[r[1]](t,r[2]);n&&(e[1]=D(n))}}}),e)}}}}let dc=(e,{theme:t})=>{let n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){let[,e=``,r,i]=n;if(fr(i,t,`accentColor`)||fc(i))return{matcher:`${e}placeholder-$ ${r}${i}`}}};function fc(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?I.bracket.percent(t[1])!=null:!1}function pc(e){return[dc,nc,...Xs(e),...$s,...tc,...ec,...Zs,...Qs,...rc,uc()]}function mc(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 hc(e,t,n,r){for(let i of Array.from(e.matchAll(n)))if(i!=null){let n=i[0],a=`${r}${mc(n)}`;t.set(a,n),e=e.replace(n,a)}return e}function gc(e,t){for(let[n,r]of t.entries())e=e.replaceAll(n,r);return e}let _c=/\/\/#\s*sourceMappingURL=.*\n?/g;function vc(e){return e.includes(`sourceMappingURL=`)?e.replace(_c,``):e}let yc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,bc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,xc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Sc(e){let t=[];for(let n of e.matchAll(bc))n.index!==0&&!/^[\s'"`]/.test(e[n.index-1]??``)||t.push(n[0]);for(let n of e.matchAll(yc))t.push(n[0]);let n=new Map,r=`@unocss-skip-arbitrary-brackets`;return e=hc(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(a).forEach(e=>{e.includes(r)&&(e=gc(e,n)),b(e)&&!xc.test(e)&&t.push(e)}),t}function Cc(){return{name:`@unocss/extractor-arbitrary-variants`,order:0,extract({code:e}){return Sc(vc(e))}}}function wc(e){if(e.preflight)return[{layer:`preflights`,getCSS({theme:t,generator:n}){if(t.preflightBase){let r=Object.entries(t.preflightBase);if(e.preflight===`on-demand`){let e=new Set(Array.from(n.activatedRules).map(e=>e[2]?.custom?.preflightKeys).filter(Boolean).flat());r=r.filter(([t])=>e.has(t))}if(r.length>0){let n=oe(r);return e.variablePrefix!==`un-`&&(n=n.replace(/--un-/g,`--${e.variablePrefix}`)),c(t.preflightRoot??[`*,::before,::after`,`::backdrop`]).map(e=>`${e}{${n}}`).join(``)}}}}]}let Tc={position:[`relative`,`absolute`,`fixed`,`sticky`,`static`],globalKeyword:P},Ec=ke((e={})=>(e.dark=e.dark??`class`,e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??`un-`,{name:`@unocss/preset-mini`,theme:us,rules:Da,variants:Xs(e),options:e,prefix:e.prefix,postprocess:Dc(e.variablePrefix),preflights:wc(e),extractorDefault:e.arbitraryVariants===!1?void 0:Cc(),autocomplete:{shorthands:Tc}}));function Dc(e){if(e!==`un-`)return 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 Oc(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[e===!0?e=>{e.entries.forEach(e=>{e[1]!=null&&!String(e[1]).endsWith(`!important`)&&(e[1]+=` !important`)})}:n=>{n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`)}]}function kc(e){return[...c(Ec(e).postprocess),...Oc(e.important)]}let Ac=ke((e={})=>(e.important=e.important??!1,{...Ec(e),name:`@unocss/preset-wind3`,theme:ds,rules:Ao,shortcuts:jo,variants:pc(e),postprocess:kc(e)})),jc=ke((e={})=>({...Ac(e),name:`@unocss/preset-uno`}));function Mc(e){return e.replace(/-(\w)/g,(e,t)=>t?t.toUpperCase():``)}function Nc(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Pc(e){return e.replace(/(?:^|\B)([A-Z])/g,`-$1`).toLowerCase()}let Fc=[`Webkit`,`Moz`,`ms`];function Ic(e){let t={};function n(n){let r=t[n];if(r)return r;let i=Mc(n);if(i!==`filter`&&i in e)return t[n]=Pc(i);i=Nc(i);for(let r=0;r<Fc.length;r++){let a=`${Fc[r]}${i}`;if(a in e)return t[n]=Pc(Nc(a))}return n}return({entries:e})=>e.forEach(e=>{e[0].startsWith(`--`)||(e[0]=n(e[0]))})}function Lc(e){return e.replace(/&/g,`&`).replace(/>/g,`>`).replace(/</g,`<`)}async function Rc(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=c(o.postprocess)).unshift(Ic(n.createElement(`div`).style)),a.configResolved?.(i,o);let l=await Ne(i,o),u=t=>{let n=e.rootElement?.();if(n){n.appendChild(t);return}a.inject?a.inject(t):r().prepend(t)},f=()=>a.rootElement?a.rootElement():n.body,p=new Map,m=!0,h=new Set,g,_,v=[],ee=()=>new Promise(e=>{v.push(e),_!=null&&clearTimeout(_),_=setTimeout(()=>te().then(()=>{let e=v;v=[],e.forEach(e=>e())}),0)});function y(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 b(e,t){let r=p.get(e);if(!r)if(r=n.createElement(`style`),r.setAttribute(`data-unocss-runtime-layer`,e),p.set(e,r),t==null)u(r);else{let e=b(t),n=e.parentNode;n?n.insertBefore(r,e.nextSibling):u(r)}return r}async function te(){let e=[...h],t=await l.generate(e);return t.layers.reduce((e,n)=>(b(n,e).innerHTML=t.getLayer(n)??``,n),void 0),e.filter(e=>!t.matched.has(e)).forEach(e=>h.delete(e)),{...t,getStyleElement:e=>p.get(e),getStyleElements:()=>p}}async function x(e){let t=h.size;await l.applyExtractors(e,void 0,h),t!==h.size&&await ee()}async function S(e=f()){let t=e&&e.outerHTML;t&&(await x(`${t} ${Lc(t)}`),y(r()),y(e,!0))}let C=new MutationObserver(e=>{m||e.forEach(async e=>{if(e.target.nodeType!==1)return;let t=e.target;for(let e of p)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),y(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}>`)}y(t)}})}),ne=!1;function re(){if(ne)return;let e=a.observer?.target?a.observer.target():f();e&&(C.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:a.observer?.attributeFilter}),ne=!0)}function w(){a.bypassDefined&&zc(l.blocked),S(),re()}function ie(){n.readyState===`loading`?t.addEventListener(`DOMContentLoaded`,w):w()}let ae=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(e){d(e)||(e.forEach(e=>h.add(e)),e=``),await x(e)},extractAll:S,inspect(e){g=e},toggleObserver(e){m=e===void 0?!m:!!e,!ne&&!m&&ie()},update:te,presets:t.__unocss_runtime?.presets??{}};a.ready?.(ae)!==!1&&(m=!1,ie())}function zc(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}Rc({defaults:{presets:[jc(),Qe()]}})})();
|