@unocss/runtime 0.18.1 → 0.19.0

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/core.global.js CHANGED
@@ -1,2 +1,2 @@
1
- (()=>{var st=Object.defineProperty,ot=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ct=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var H=(r,t,e)=>t in r?st(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,M=(r,t)=>{for(var e in t||(t={}))ct.call(t,e)&&H(r,e,t[e]);if(z)for(var e of z(t))ut.call(t,e)&&H(r,e,t[e]);return r},I=(r,t)=>ot(r,at(t));function lt(r){let t=r.length,e=-1,n,i="",s=r.charCodeAt(0);for(;++e<t;){if(n=r.charCodeAt(e),n===0){i+="\uFFFD";continue}if(n===44){i+="\\2c ";continue}if(n>=1&&n<=31||n===127||e===0&&n>=48&&n<=57||e===1&&n>=48&&n<=57&&s===45){i+=`\\${n.toString(16)} `;continue}if(e===0&&t===1&&n===45){i+=`\\${r.charAt(e)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=r.charAt(e);continue}i+=`\\${r.charAt(e)}`}return i}var v=lt;function V(r){return(Array.isArray(r)?r:Object.entries(r)).filter(t=>t[1]!=null)}function q(r){return Array.isArray(r)?r.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?r.map(t=>V(t)):[r]:[V(r)]}function ft(r){return r.filter(([t,e],n)=>{if(t.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(r[i][0]===t&&r[i][1]===e)return!1;return!0})}function O(r){return r==null?"":ft(r).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function D(r){return r&&typeof r=="object"&&!Array.isArray(r)}function P(r,t){let e=r,n=t;if(Array.isArray(e)&&Array.isArray(n))return[...e,...n];if(Array.isArray(e))return[...e];let i=M({},e);return D(e)&&D(n)&&Object.keys(n).forEach(s=>{D(n[s])?s in e?i[s]=P(e[s],n[s]):Object.assign(i,{[s]:n[s]}):Object.assign(i,{[s]:n[s]})}),i}function N(r){return typeof r[0]=="string"}function Q(r){return typeof r[0]=="string"}function T(r=[]){return Array.isArray(r)?r:[r]}function K(r){return Array.from(new Set(r))}var pt=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function W(r=""){return pt.test(r)}function Z(r){return typeof r=="function"?{match:r}:r}function k(r){return r.length===3}function J(r){return r!=null}var L=class{_map=new Map;get(t,e){let n=this._map.get(t);if(n)return n.get(e)}getFallback(t,e,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.has(e)||i.set(e,n),i.get(e)}set(t,e,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.set(e,n),this}has(t,e){var n;return(n=this._map.get(t))==null?void 0:n.has(e)}delete(t,e){var n;return((n=this._map.get(t))==null?void 0:n.delete(e))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,n])=>Array.from(n.entries()).map(([i,s])=>t(s,e,i)))}};var dt=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function X(r){let t=[],e;for(;e=dt.exec(r);){let i=e.index,s=i+e[0].length,[,o,c,f]=e,p=f.split(/\s/g).map(g=>g.replace(/^(!?)(.*)/,`$1${o}${c}$2`)).join(" ");t.unshift([i,s,p])}let n=r;return t.forEach(([i,s,o])=>{n=n.slice(0,i)+o+n.slice(s)}),n}var Y=new Set;function tt(r){Y.has(r)||(console.warn("[unocss]",r),Y.add(r))}var ht=r=>r.split(/[\s'"`;>=]+/g).filter(W),F={name:"split",order:0,extract({code:r}){return new Set(ht(r))}};function gt(r){return T(r).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var mt={shortcuts:-1,default:0};function B(r={},t={}){let e=Object.assign({},t,r),n=(e.presets||[]).flatMap(T),i=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],s=Object.assign(mt,...n.map(u=>u.layers),r.layers);function o(u){return K([...i.flatMap(h=>T(h[u]||[])),...T(e[u]||[])])}let c=o("extractors");c.length||c.push(F),c.sort((u,h)=>(u.order||0)-(h.order||0));let f=o("rules"),p={},g=f.length;f.forEach((u,h)=>{N(u)&&(p[u[0]]=[h,u[1],u[2]],delete f[h])});let C=[...i.map(u=>u.theme||{}),e.theme||{}].reduce((u,h)=>P(u,h),{});return I(M({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},e),{presets:i,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:s,theme:C,rulesSize:g,rulesDynamic:f,rulesStaticMap:p,preflights:o("preflights"),variants:o("variants").map(Z),shortcuts:gt(o("shortcuts")),extractors:c})}var et="0.18.1";var rt=class{constructor(t={},e={}){this.userConfig=t;this.defaults=e;this.config=B(t,e)}version=et;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,e){!t||(e&&(this.defaults=e),this.userConfig=t,this.config=B(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,e,n=new Set){let i={get original(){return t},code:t,id:e};for(let s of this.config.extractors){let o=await s.extract(i);o==null||o.forEach(c=>n.add(c))}return n}async generate(t,{id:e,scope:n,preflights:i=!0,safelist:s=!0,minify:o=!1}={}){let c=typeof t=="string"?await this.applyExtractors(t,e):t;s&&this.config.safelist.forEach(a=>c.add(a));let f=o?"":`
2
- `,p=new Set(["default"]),g=new Set,C=new Map,u=(a,d)=>{var l;this._cache.set(a,d),g.add(a);for(let S of d){let w=S[3]||"";C.has(w)||C.set(w,[]),C.get(w).push(S),((l=S[4])==null?void 0:l.layer)&&p.add(S[4].layer)}},h=a=>{this.blocked.add(a),this._cache.set(a,null)};await Promise.all(Array.from(c).map(async a=>{var $;if(g.has(a)||this.blocked.has(a))return;if(this._cache.has(a)){let y=this._cache.get(a);y&&u(a,y);return}let d=a;if(this.config.preprocess&&(d=this.config.preprocess(a)),this.isBlocked(d))return h(d);let l=this.matchVariants(a,d);if(!l||this.isBlocked(l[1]))return h(a);let S={rawSelector:a,currentSelector:l[1],theme:this.config.theme,generator:this,variantHandlers:l[2],constructCSS:(...y)=>this.constructCustomCSS(S,...y)},w=this.expandShortcut(l[1],S);if(w){let y=await this.stringifyShortcuts(l,S,w[0],w[1]);if(y==null?void 0:y.length)return u(a,y)}else{let y=($=await this.parseUtil(l,S))==null?void 0:$.map(x=>this.stringifyUtil(x)).filter(J);if(y==null?void 0:y.length)return u(a,y)}this._cache.set(a,null)})),i&&this.config.preflights.forEach(a=>{a.layer&&p.add(a.layer)});let b={},R=this.config.sortLayers(Array.from(p).sort((a,d)=>{var l,S;return((l=this.config.layers[a])!=null?l:0)-((S=this.config.layers[d])!=null?S:0)||a.localeCompare(d)})),m=a=>{if(b[a])return b[a];let d=Array.from(C).sort((l,S)=>(this.parentOrders.get(l[0])||0)-(this.parentOrders.get(S[0])||0)).map(([l,S])=>{let w=S.length,$=S.filter(x=>{var U;return(((U=x[4])==null?void 0:U.layer)||"default")===a}).sort((x,U)=>{var _;return x[0]-U[0]||((_=x[1])==null?void 0:_.localeCompare(U[1]||""))||0}).map(x=>[x[1]?xt(x[1],n):x[1],x[2]]);if(!$.length)return;let y=$.reverse().map(([x,U],_)=>{if(x&&this.config.mergeSelectors)for(let j=_+1;j<w;j++){let E=$[j];if(E&&E[0]&&E[1]===U)return E[0]=`${E[0]},${x}`,null}return x?`${x}{${U}}`:U}).filter(Boolean).reverse().join(f);return l?`${l}{${f}${y}${f}}`:y}).filter(Boolean).join(f);return i&&(d=[...this.config.preflights.filter(l=>(l.layer||"default")===a).map(l=>l.getCSS()).filter(Boolean),d].join(f)),b[a]=!o&&d?`/* layer: ${a} */${f}${d}`:d},A=(a=R,d)=>a.filter(l=>!(d==null?void 0:d.includes(l))).map(l=>m(l)||"").filter(Boolean).join(f);return{get css(){return A()},layers:R,getLayers:A,getLayer:m,matched:g}}matchVariants(t,e){let n=new Set,i=[],s=e||t,o=!1;for(;;){o=!1;for(let c of this.config.variants){if(!c.multiPass&&n.has(c))continue;let f=c.match(s,t,this.config.theme);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){s=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),i.push(f),n.add(c),o=!0;break}}if(!o)break;if(i.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,s,i]}applyVariants(t,e=t[4],n=t[1]){let i=e.reduce((s,o)=>{var c;return((c=o.body)==null?void 0:c.call(o,s))||s},t[2]);return[e.reduce((s,o)=>{var c;return((c=o.selector)==null?void 0:c.call(o,s,i))||s},Ct(n)),i,e.reduce((s,o)=>Array.isArray(o.parent)?o.parent[0]:o.parent||s,void 0)]}constructCustomCSS(t,e,n){e=V(e);let[i,s,o]=this.applyVariants([0,n||t.rawSelector,e,void 0,t.variantHandlers]),c=`${i}{${O(s)}}`;return o?`${o}{${c}}`:c}async parseUtil(t,e,n=!1){var g,C;let[i,s,o]=typeof t=="string"?this.matchVariants(t):t,c=this.config.rulesStaticMap[s];if(c&&c[1]&&(n||!((g=c[2])==null?void 0:g.internal)))return[[c[0],i,V(c[1]),c[2],o]];e.variantHandlers=o;let{rulesDynamic:f,rulesSize:p}=this.config;for(let u=p;u>=0;u--){let h=f[u];if(!h||((C=h[2])==null?void 0:C.internal)&&!n)continue;let[b,R,m]=h,A=s.match(b);if(!A)continue;let a=await R(A,e);if(!a)continue;if(typeof a=="string")return[[u,a,m]];let d=q(a).filter(l=>l.length);if(d.length)return d.map(l=>[u,i,l,m,o])}}stringifyUtil(t){if(!t)return;if(k(t))return[t[0],void 0,t[1],void 0,t[2]];let[e,n,i]=this.applyVariants(t),s=O(n);if(!!s)return[t[0],e,s,i,t[3]]}expandShortcut(t,e,n=3){if(n===0)return;let i,s;for(let o of this.config.shortcuts)if(Q(o)){if(o[0]===t){i=i||o[2],s=o[1];break}}else{let c=t.match(o[0]);if(c&&(s=o[1](c,e)),s){i=i||o[2];break}}if(typeof s=="string"&&(s=X(s).split(/\s+/g)),!!s)return[s.flatMap(o=>{var c;return((c=this.expandShortcut(o,e,n-1))==null?void 0:c[0])||[o]}).filter(o=>o!==""),i]}async stringifyShortcuts(t,e,n,i={layer:this.config.shortcutsLayer}){let s=new L,o=(await Promise.all(K(n).map(async p=>{let g=await this.parseUtil(p,e,!0);return g||tt(`unmatched utility "${p}" in shortcut "${t[1]}"`),g||[]}))).flat(1).filter(Boolean).sort((p,g)=>p[0]-g[0]),[c,,f]=t;for(let p of o){if(k(p))continue;let[g,C,u]=this.applyVariants(p,[...p[4],...f],c),h=s.getFallback(g,u,[[],p[0]]);h[0].push(...C),p[0]>h[1]&&(h[1]=p[0])}return s.map(([p,g],C,u)=>{let h=O(p);if(h)return[g,C,h,u,i]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(e=>typeof e=="string"?e===t:e.test(t))}};function nt(r,t){return new rt(r,t)}var it=/ \$\$ /,yt=r=>r.match(it);function xt(r,t){return yt(r)?r.replace(it,t?` ${t} `:" "):t?`${t} ${r}`:r}function Ct(r){return r.startsWith("[")?r.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,e,n,i)=>`[${v(e)}${n}"${v(i)}"]`):`.${v(r)}`}function G(r={}){var R;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(r,(R=window.__unocss)==null?void 0:R.runtime);let t,e=!1,n,i=nt(window.__unocss||{},r.defaults),s=new Set,o;function c(){o!=null&&clearTimeout(o),o=setTimeout(f,0)}async function f(){let m=await i.generate(s);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=m.css}async function p(m){await i.applyExtractors(m,void 0,s),c()}async function g(){let m=document.body&&document.body.outerHTML;m&&await p(m)}let C=new MutationObserver(m=>{e||m.forEach(A=>{let a=A.target;if(a===t||n&&!n(a))return;let d=Array.from(a.attributes).map(S=>S.value?`${S.name}="${S.value}"`:S.name).join(" "),l=`<${a.tagName.toLowerCase()} ${d}>`;p(l)})}),u=!1;function h(){if(!u)return;let m=document.documentElement||document.body;!m||(C.observe(m,{childList:!0,subtree:!0,attributes:!0}),u=!0)}function b(){g(),h()}window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,extractAll:g,inspect(m){n=m},toggleObserver(m){m===void 0?e=!e:e=!!m}},b(),window.addEventListener("load",b),window.addEventListener("DOMContentLoaded",b)}G();})();
1
+ (()=>{var st=Object.defineProperty,ot=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var ct=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable;var H=(r,t,e)=>t in r?st(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,M=(r,t)=>{for(var e in t||(t={}))ct.call(t,e)&&H(r,e,t[e]);if(z)for(var e of z(t))ut.call(t,e)&&H(r,e,t[e]);return r},I=(r,t)=>ot(r,at(t));function lt(r){let t=r.length,e=-1,n,i="",s=r.charCodeAt(0);for(;++e<t;){if(n=r.charCodeAt(e),n===0){i+="\uFFFD";continue}if(n===44){i+="\\2c ";continue}if(n>=1&&n<=31||n===127||e===0&&n>=48&&n<=57||e===1&&n>=48&&n<=57&&s===45){i+=`\\${n.toString(16)} `;continue}if(e===0&&t===1&&n===45){i+=`\\${r.charAt(e)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=r.charAt(e);continue}i+=`\\${r.charAt(e)}`}return i}var O=lt;function E(r){return(Array.isArray(r)?r:Object.entries(r)).filter(t=>t[1]!=null)}function q(r){return Array.isArray(r)?r.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?r.map(t=>E(t)):[r]:[E(r)]}function ft(r){return r.filter(([t,e],n)=>{if(t.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(r[i][0]===t&&r[i][1]===e)return!1;return!0})}function v(r){return r==null?"":ft(r).map(([t,e])=>e!=null?`${t}:${e};`:void 0).filter(Boolean).join("")}function D(r){return r&&typeof r=="object"&&!Array.isArray(r)}function P(r,t){let e=r,n=t;if(Array.isArray(e)&&Array.isArray(n))return[...e,...n];if(Array.isArray(e))return[...e];let i=M({},e);return D(e)&&D(n)&&Object.keys(n).forEach(s=>{D(n[s])?s in e?i[s]=P(e[s],n[s]):Object.assign(i,{[s]:n[s]}):Object.assign(i,{[s]:n[s]})}),i}function N(r){return typeof r[0]=="string"}function Q(r){return typeof r[0]=="string"}function T(r=[]){return Array.isArray(r)?r:[r]}function j(r){return Array.from(new Set(r))}var pt=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function W(r=""){return pt.test(r)}function Z(r){return typeof r=="function"?{match:r}:r}function k(r){return r.length===3}function J(r){return r!=null}var L=class{_map=new Map;get(t,e){let n=this._map.get(t);if(n)return n.get(e)}getFallback(t,e,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.has(e)||i.set(e,n),i.get(e)}set(t,e,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.set(e,n),this}has(t,e){var n;return(n=this._map.get(t))==null?void 0:n.has(e)}delete(t,e){var n;return((n=this._map.get(t))==null?void 0:n.delete(e))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([e,n])=>Array.from(n.entries()).map(([i,s])=>t(s,e,i)))}};var dt=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function X(r){let t=[],e;for(;e=dt.exec(r);){let i=e.index,s=i+e[0].length,[,o,c,p]=e,l=p.split(/\s/g).map(h=>h.replace(/^(!?)(.*)/,`$1${o}${c}$2`)).join(" ");t.unshift([i,s,l])}let n=r;return t.forEach(([i,s,o])=>{n=n.slice(0,i)+o+n.slice(s)}),n}var Y=new Set;function tt(r){Y.has(r)||(console.warn("[unocss]",r),Y.add(r))}var ht=r=>r.split(/[\s'"`;>=]+/g).filter(W),F={name:"split",order:0,extract({code:r}){return new Set(ht(r))}};function gt(r){return T(r).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var mt={shortcuts:-1,default:0};function B(r={},t={}){var x;let e=Object.assign({},t,r),n=(e.presets||[]).flatMap(T),i=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],s=Object.assign(mt,...n.map(u=>u.layers),r.layers);function o(u){return j([...i.flatMap(y=>T(y[u]||[])),...T(e[u]||[])])}let c=o("extractors");c.length||c.push(F),c.sort((u,y)=>(u.order||0)-(y.order||0));let p=o("rules"),l={},h=p.length;p.forEach((u,y)=>{N(u)&&(l[u[0]]=[y,u[1],u[2]],delete p[y])});let R=[...i.map(u=>u.theme||{}),e.theme||{}].reduce((u,y)=>P(u,y),{}),S=Object.assign({},...((x=e.presets)==null?void 0:x.map(u=>Array.isArray(u)?u:[u]).flat(1).map(u=>{var y;return(y=u.options)!=null?y:{}}))||[]);return I(M({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},e),{presets:i,envMode:e.envMode||"build",shortcutsLayer:e.shortcutsLayer||"shortcuts",layers:s,theme:R,rulesSize:h,rulesDynamic:p,rulesStaticMap:l,preflights:o("preflights"),variants:o("variants").map(Z),shortcuts:gt(o("shortcuts")),extractors:c,options:S})}var et="0.19.0";var rt=class{constructor(t={},e={}){this.userConfig=t;this.defaults=e;this.config=B(t,e)}version=et;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,e){!t||(e&&(this.defaults=e),this.userConfig=t,this.config=B(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,e,n=new Set){let i={get original(){return t},code:t,id:e,options:this.config.options};for(let s of this.config.extractors){let o=await s.extract(i);o==null||o.forEach(c=>n.add(c))}return n}async generate(t,{id:e,scope:n,preflights:i=!0,safelist:s=!0,minify:o=!1}={}){let c=typeof t=="string"?await this.applyExtractors(t,e):t;s&&this.config.safelist.forEach(a=>c.add(a));let p=o?"":`
2
+ `,l=new Set(["default"]),h=new Set,R=new Map,S=(a,d)=>{var f;this._cache.set(a,d),h.add(a);for(let m of d){let w=m[3]||"";R.has(w)||R.set(w,[]),R.get(w).push(m),((f=m[4])==null?void 0:f.layer)&&l.add(m[4].layer)}},x=a=>{this.blocked.add(a),this._cache.set(a,null)};await Promise.all(Array.from(c).map(async a=>{var $;if(h.has(a)||this.blocked.has(a))return;if(this._cache.has(a)){let C=this._cache.get(a);C&&S(a,C);return}let d=a;if(this.config.preprocess&&(d=this.config.preprocess(a)),this.isBlocked(d))return x(d);let f=this.matchVariants(a,d);if(!f||this.isBlocked(f[1]))return x(a);let m={rawSelector:a,currentSelector:f[1],theme:this.config.theme,generator:this,variantHandlers:f[2],constructCSS:(...C)=>this.constructCustomCSS(m,...C),options:this.config.options},w=this.expandShortcut(f[1],m);if(w){let C=await this.stringifyShortcuts(f,m,w[0],w[1]);if(C==null?void 0:C.length)return S(a,C)}else{let C=($=await this.parseUtil(f,m))==null?void 0:$.map(b=>this.stringifyUtil(b)).filter(J);if(C==null?void 0:C.length)return S(a,C)}this._cache.set(a,null)})),i&&this.config.preflights.forEach(a=>{a.layer&&l.add(a.layer)});let u={},y=this.config.sortLayers(Array.from(l).sort((a,d)=>{var f,m;return((f=this.config.layers[a])!=null?f:0)-((m=this.config.layers[d])!=null?m:0)||a.localeCompare(d)})),g=a=>{if(u[a])return u[a];let d=Array.from(R).sort((f,m)=>(this.parentOrders.get(f[0])||0)-(this.parentOrders.get(m[0])||0)).map(([f,m])=>{let w=m.length,$=m.filter(b=>{var U;return(((U=b[4])==null?void 0:U.layer)||"default")===a}).sort((b,U)=>{var _;return b[0]-U[0]||((_=b[1])==null?void 0:_.localeCompare(U[1]||""))||0}).map(b=>[b[1]?xt(b[1],n):b[1],b[2]]);if(!$.length)return;let C=$.reverse().map(([b,U],_)=>{if(b&&this.config.mergeSelectors)for(let K=_+1;K<w;K++){let V=$[K];if(V&&V[0]&&V[1]===U)return V[0]=`${V[0]},${b}`,null}return b?`${b}{${U}}`:U}).filter(Boolean).reverse().join(p);return f?`${f}{${p}${C}${p}}`:C}).filter(Boolean).join(p);return i&&(d=[...this.config.preflights.filter(f=>(f.layer||"default")===a).map(f=>f.getCSS()).filter(Boolean),d].join(p)),u[a]=!o&&d?`/* layer: ${a} */${p}${d}`:d},A=(a=y,d)=>a.filter(f=>!(d==null?void 0:d.includes(f))).map(f=>g(f)||"").filter(Boolean).join(p);return{get css(){return A()},layers:y,getLayers:A,getLayer:g,matched:h}}matchVariants(t,e){let n=new Set,i=[],s=e||t,o=!1,c={rawSelector:t,theme:this.config.theme,generator:this,options:this.config.options};for(;;){o=!1;for(let p of this.config.variants){if(!p.multiPass&&n.has(p))continue;let l=p.match(s,c);if(!!l&&(typeof l=="string"&&(l={matcher:l}),l)){s=l.matcher,Array.isArray(l.parent)&&this.parentOrders.set(l.parent[0],l.parent[1]),i.push(l),n.add(p),o=!0;break}}if(!o)break;if(i.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,s,i]}applyVariants(t,e=t[4],n=t[1]){let i=e.reduce((s,o)=>{var c;return((c=o.body)==null?void 0:c.call(o,s))||s},t[2]);return[e.reduce((s,o)=>{var c;return((c=o.selector)==null?void 0:c.call(o,s,i))||s},Ct(n)),i,e.reduce((s,o)=>Array.isArray(o.parent)?o.parent[0]:o.parent||s,void 0)]}constructCustomCSS(t,e,n){e=E(e);let[i,s,o]=this.applyVariants([0,n||t.rawSelector,e,void 0,t.variantHandlers]),c=`${i}{${v(s)}}`;return o?`${o}{${c}}`:c}async parseUtil(t,e,n=!1){var h,R;let[i,s,o]=typeof t=="string"?this.matchVariants(t):t,c=this.config.rulesStaticMap[s];if(c&&c[1]&&(n||!((h=c[2])==null?void 0:h.internal)))return[[c[0],i,E(c[1]),c[2],o]];e.variantHandlers=o;let{rulesDynamic:p,rulesSize:l}=this.config;for(let S=l;S>=0;S--){let x=p[S];if(!x||((R=x[2])==null?void 0:R.internal)&&!n)continue;let[u,y,g]=x,A=s.match(u);if(!A)continue;let a=await y(A,e);if(!a)continue;if(typeof a=="string")return[[S,a,g]];let d=q(a).filter(f=>f.length);if(d.length)return d.map(f=>[S,i,f,g,o])}}stringifyUtil(t){if(!t)return;if(k(t))return[t[0],void 0,t[1],void 0,t[2]];let[e,n,i]=this.applyVariants(t),s=v(n);if(!!s)return[t[0],e,s,i,t[3]]}expandShortcut(t,e,n=3){if(n===0)return;let i,s;for(let o of this.config.shortcuts)if(Q(o)){if(o[0]===t){i=i||o[2],s=o[1];break}}else{let c=t.match(o[0]);if(c&&(s=o[1](c,e)),s){i=i||o[2];break}}if(typeof s=="string"&&(s=X(s).split(/\s+/g)),!!s)return[s.flatMap(o=>{var c;return((c=this.expandShortcut(o,e,n-1))==null?void 0:c[0])||[o]}).filter(o=>o!==""),i]}async stringifyShortcuts(t,e,n,i={layer:this.config.shortcutsLayer}){let s=new L,o=(await Promise.all(j(n).map(async l=>{let h=await this.parseUtil(l,e,!0);return h||tt(`unmatched utility "${l}" in shortcut "${t[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((l,h)=>l[0]-h[0]),[c,,p]=t;for(let l of o){if(k(l))continue;let[h,R,S]=this.applyVariants(l,[...l[4],...p],c),x=s.getFallback(h,S,[[],l[0]]);x[0].push(...R),l[0]>x[1]&&(x[1]=l[0])}return s.map(([l,h],R,S)=>{let x=v(l);if(x)return[h,R,x,S,i]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(e=>typeof e=="string"?e===t:e.test(t))}};function nt(r,t){return new rt(r,t)}var it=/ \$\$ /,St=r=>r.match(it);function xt(r,t){return St(r)?r.replace(it,t?` ${t} `:" "):t?`${t} ${r}`:r}function Ct(r){return r.startsWith("[")?r.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,e,n,i)=>`[${O(e)}${n}"${O(i)}"]`):`.${O(r)}`}function G(r={}){var y;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(r,(y=window.__unocss)==null?void 0:y.runtime);let t,e=!1,n,i=nt(window.__unocss||{},r.defaults),s=new Set,o;function c(){o!=null&&clearTimeout(o),o=setTimeout(p,0)}async function p(){let g=await i.generate(s);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=g.css}async function l(g){await i.applyExtractors(g,void 0,s),c()}async function h(){let g=document.body&&document.body.outerHTML;g&&await l(g)}let R=new MutationObserver(g=>{e||g.forEach(A=>{let a=A.target;if(a===t||n&&!n(a))return;let d=Array.from(a.attributes).map(m=>m.value?`${m.name}="${m.value}"`:m.name).join(" "),f=`<${a.tagName.toLowerCase()} ${d}>`;l(f)})}),S=!1;function x(){if(!S)return;let g=document.documentElement||document.body;!g||(R.observe(g,{childList:!0,subtree:!0,attributes:!0}),S=!0)}function u(){h(),x()}window.__unocss_runtime=window.__unocss_runtime={version:i.version,uno:i,extractAll:h,inspect(g){n=g},toggleObserver(g){g===void 0?e=!e:e=!!g}},u(),window.addEventListener("load",u),window.addEventListener("DOMContentLoaded",u)}G();})();
package/mini.global.js CHANGED
@@ -1,3 +1,3 @@
1
- (()=>{var be=Object.defineProperty,Er=Object.defineProperties;var Ar=Object.getOwnPropertyDescriptors;var ye=Object.getOwnPropertySymbols;var zr=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable;var we=(e,t,r)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))zr.call(t,r)&&we(e,r,t[r]);if(ye)for(var r of ye(t))Vr.call(t,r)&&we(e,r,t[r]);return e},T=(e,t)=>Er(e,Ar(t));var jr=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})};var Ur={mid:"middle",base:"baseline",btm:"bottom"},$e=[[/^(?:vertical|align|v)-(baseline|top|bottom|middle|text-top|text-bottom|mid|base|btm)$/,([,e])=>({"vertical-align":Ur[e]||e})]],Se=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var R={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],a:[""]},Z={t:["-top-left","-top-right"],r:["-top-right","-bottom-right"],b:["-bottom-left","-bottom-right"],l:["-bottom-left","-top-left"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""]},Q={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]};function ve(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mr(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var K=Mr;function _(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Re(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>_(t)):[e]:[_(e)]}function Or(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function H(e){return e==null?"":Or(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function J(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ee(e,t){let r=e,n=t;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=S({},r);return J(r)&&J(n)&&Object.keys(n).forEach(i=>{J(n[i])?i in r?o[i]=ee(r[i],n[i]):Object.assign(o,{[i]:n[i]}):Object.assign(o,{[i]:n[i]})}),o}function ke(e){return typeof e[0]=="string"}function Ce(e){return typeof e[0]=="string"}function C(e=[]){return Array.isArray(e)?e:[e]}function W(e){return Array.from(new Set(e))}var Pr=/^#?([\da-f]+)$/i;function Te(e=""){let[,t]=e.match(Pr)||[];if(!!t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return t.length===3||(r[3]=Math.round(r[3]/255*100)/100),r;case 6:case 8:let n=Number.parseInt(t,16);return t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255,Math.round((n&255)/255*100)/100]}}var Fr=/^\[(.+?)~?="(.*)"\]$/,_r=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function Ee(e){return e.match(Fr)}function D(e=""){return _r.test(e)}function Ae(e){return typeof e=="function"?{match:e}:e}function te(e){return e.length===3}function ze(e){return e!=null}var re=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}};var Dr=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Ve(e){let t=[],r;for(;r=Dr.exec(e);){let o=r.index,i=o+r[0].length,[,s,a,l]=r,u=l.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${s}${a}$2`)).join(" ");t.unshift([o,i,u])}let n=e;return t.forEach(([o,i,s])=>{n=n.slice(0,o)+s+n.slice(i)}),n}var je=new Set;function Ue(e){je.has(e)||(console.warn("[unocss]",e),je.add(e))}function Me(e){let t=function(n){var i;let o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of o){let a=e[s](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Nr=e=>e.split(/[\s'"`;>=]+/g).filter(D),N={name:"split",order:0,extract({code:e}){return new Set(Nr(e))}};function Lr(e){return C(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Kr={shortcuts:-1,default:0};function ne(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(C),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=Object.assign(Kr,...n.map(p=>p.layers),e.layers);function s(p){return W([...o.flatMap(h=>C(h[p]||[])),...C(r[p]||[])])}let a=s("extractors");a.length||a.push(N),a.sort((p,h)=>(p.order||0)-(h.order||0));let l=s("rules"),u={},d=l.length;l.forEach((p,h)=>{ke(p)&&(u[p[0]]=[h,p[1],p[2]],delete l[h])});let x=[...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,h)=>ee(p,h),{});return T(S({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:x,rulesSize:d,rulesDynamic:l,rulesStaticMap:u,preflights:s("preflights"),variants:s("variants").map(Ae),shortcuts:Lr(s("shortcuts")),extractors:a})}var Oe="0.18.1";var Pe=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=ne(t,r)}version=Oe;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=ne(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r};for(let i of this.config.extractors){let s=await i.extract(o);s==null||s.forEach(a=>n.add(a))}return n}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:i=!0,minify:s=!1}={}){let a=typeof t=="string"?await this.applyExtractors(t,r):t;i&&this.config.safelist.forEach(f=>a.add(f));let l=s?"":`
2
- `,u=new Set(["default"]),d=new Set,x=new Map,p=(f,g)=>{var m;this._cache.set(f,g),d.add(f);for(let y of g){let A=y[3]||"";x.has(A)||x.set(A,[]),x.get(A).push(y),((m=y[4])==null?void 0:m.layer)&&u.add(y[4].layer)}},h=f=>{this.blocked.add(f),this._cache.set(f,null)};await Promise.all(Array.from(a).map(async f=>{var O;if(d.has(f)||this.blocked.has(f))return;if(this._cache.has(f)){let w=this._cache.get(f);w&&p(f,w);return}let g=f;if(this.config.preprocess&&(g=this.config.preprocess(f)),this.isBlocked(g))return h(g);let m=this.matchVariants(f,g);if(!m||this.isBlocked(m[1]))return h(f);let y={rawSelector:f,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...w)=>this.constructCustomCSS(y,...w)},A=this.expandShortcut(m[1],y);if(A){let w=await this.stringifyShortcuts(m,y,A[0],A[1]);if(w==null?void 0:w.length)return p(f,w)}else{let w=(O=await this.parseUtil(m,y))==null?void 0:O.map($=>this.stringifyUtil($)).filter(ze);if(w==null?void 0:w.length)return p(f,w)}this._cache.set(f,null)})),o&&this.config.preflights.forEach(f=>{f.layer&&u.add(f.layer)});let E={},V=this.config.sortLayers(Array.from(u).sort((f,g)=>{var m,y;return((m=this.config.layers[f])!=null?m:0)-((y=this.config.layers[g])!=null?y:0)||f.localeCompare(g)})),b=f=>{if(E[f])return E[f];let g=Array.from(x).sort((m,y)=>(this.parentOrders.get(m[0])||0)-(this.parentOrders.get(y[0])||0)).map(([m,y])=>{let A=y.length,O=y.filter($=>{var z;return(((z=$[4])==null?void 0:z.layer)||"default")===f}).sort(($,z)=>{var L;return $[0]-z[0]||((L=$[1])==null?void 0:L.localeCompare(z[1]||""))||0}).map($=>[$[1]?Br($[1],n):$[1],$[2]]);if(!O.length)return;let w=O.reverse().map(([$,z],L)=>{if($&&this.config.mergeSelectors)for(let X=L+1;X<A;X++){let F=O[X];if(F&&F[0]&&F[1]===z)return F[0]=`${F[0]},${$}`,null}return $?`${$}{${z}}`:z}).filter(Boolean).reverse().join(l);return m?`${m}{${l}${w}${l}}`:w}).filter(Boolean).join(l);return o&&(g=[...this.config.preflights.filter(m=>(m.layer||"default")===f).map(m=>m.getCSS()).filter(Boolean),g].join(l)),E[f]=!s&&g?`/* layer: ${f} */${l}${g}`:g},j=(f=V,g)=>f.filter(m=>!(g==null?void 0:g.includes(m))).map(m=>b(m)||"").filter(Boolean).join(l);return{get css(){return j()},layers:V,getLayers:j,getLayer:b,matched:d}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1;for(;;){s=!1;for(let a of this.config.variants){if(!a.multiPass&&n.has(a))continue;let l=a.match(i,t,this.config.theme);if(!!l&&(typeof l=="string"&&(l={matcher:l}),l)){i=l.matcher,Array.isArray(l.parent)&&this.parentOrders.set(l.parent[0],l.parent[1]),o.push(l),n.add(a),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=r.reduce((i,s)=>{var a;return((a=s.body)==null?void 0:a.call(s,i))||i},t[2]);return[r.reduce((i,s)=>{var a;return((a=s.selector)==null?void 0:a.call(s,i,o))||i},Ir(n)),o,r.reduce((i,s)=>Array.isArray(s.parent)?s.parent[0]:s.parent||i,void 0)]}constructCustomCSS(t,r,n){r=_(r);let[o,i,s]=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),a=`${o}{${H(i)}}`;return s?`${s}{${a}}`:a}async parseUtil(t,r,n=!1){var d,x;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.rulesStaticMap[i];if(a&&a[1]&&(n||!((d=a[2])==null?void 0:d.internal)))return[[a[0],o,_(a[1]),a[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:u}=this.config;for(let p=u;p>=0;p--){let h=l[p];if(!h||((x=h[2])==null?void 0:x.internal)&&!n)continue;let[E,V,b]=h,j=i.match(E);if(!j)continue;let f=await V(j,r);if(!f)continue;if(typeof f=="string")return[[p,f,b]];let g=Re(f).filter(m=>m.length);if(g.length)return g.map(m=>[p,o,m,b,s])}}stringifyUtil(t){if(!t)return;if(te(t))return[t[0],void 0,t[1],void 0,t[2]];let[r,n,o]=this.applyVariants(t),i=H(n);if(!!i)return[t[0],r,i,o,t[3]]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let s of this.config.shortcuts)if(Ce(s)){if(s[0]===t){o=o||s[2],i=s[1];break}}else{let a=t.match(s[0]);if(a&&(i=s[1](a,r)),i){o=o||s[2];break}}if(typeof i=="string"&&(i=Ve(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var a;return((a=this.expandShortcut(s,r,n-1))==null?void 0:a[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new re,s=(await Promise.all(W(n).map(async u=>{let d=await this.parseUtil(u,r,!0);return d||Ue(`unmatched utility "${u}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[a,,l]=t;for(let u of s){if(te(u))continue;let[d,x,p]=this.applyVariants(u,[...u[4],...l],a),h=i.getFallback(d,p,[[],u[0]]);h[0].push(...x),u[0]>h[1]&&(h[1]=u[0])}return i.map(([u,d],x,p)=>{let h=H(u);if(h)return[d,x,h,p,o]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function Fe(e,t){return new Pe(e,t)}var _e=/ \$\$ /,Wr=e=>e.match(_e);function Br(e,t){return Wr(e)?e.replace(_e,t?` ${t} `:" "):t?`${t} ${e}`:e}function Ir(e){return e.startsWith("[")?e.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,r,n,o)=>`[${K(r)}${n}"${K(o)}"]`):`.${K(e)}`}var ie={};jr(ie,{auto:()=>en,bracket:()=>an,cssvar:()=>cn,fraction:()=>sn,global:()=>fn,number:()=>nn,numberWithUnit:()=>Jr,percent:()=>on,properties:()=>un,px:()=>rn,rem:()=>tn,time:()=>ln});var Gr=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow"],qr=["backround-position","left","right","top","bottom","object-position"],Yr=["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"],Xr=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],Zr=[...Gr,...qr,...Yr,...Xr],oe=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,Qr=/^(-?[0-9.]+)$/i,De=/^(px)$/i;function Jr(e){let t=e.match(oe);if(!t)return;let[,,r]=t;if(r)return e}function en(e){if(e==="auto"||e==="a")return"auto"}function tn(e){if(e.match(De))return`1${e}`;let t=e.match(oe);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function rn(e){if(e.match(De))return`1${e}`;let t=e.match(oe);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function nn(e){if(!Qr.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return t}function on(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${t/100}`}function sn(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function an(e){if(e&&e[0]==="["&&e[e.length-1]==="]")return e.slice(1,-1).replace(/_/g," ").replace(/calc\((.*)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function cn(e){if(e.startsWith("$"))return`var(--${e.slice(1)})`}function ln(e){let t=Number(e.replace(/(s|ms)$/,""));if(!isNaN(t))return/(s|ms)$/.test(e)?e:`${e}ms`}function fn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function un(e){if(e!==void 0){for(let t of e.split(","))if(!Zr.includes(t))return;return e}}var c=Me(ie);var k=(e,t)=>{let r=new RegExp(`^(${e})[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[1].length+1),selector:t}}};function Ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}var U=e=>([t,r,n])=>{let o=c.bracket.auto.rem.fraction.cssvar(n);if(o!==void 0)return R[r].map(i=>[`${e}${i}`,o])},se=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},P=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let s,a=c.bracket(r),l=a||r;l.startsWith("#")&&(s=l.slice(1)),l.startsWith("hex-")&&(s=l.slice(4)),s=s||a;let u="DEFAULT";if(!s){let d,[x]=o.slice(-1);x.match(/^\d+$/)?(u=x,d=se(t,o.slice(0,-1))):(d=se(t,o),d||([,u=u]=o,d=se(t,[i]))),typeof d=="string"?s=d:u&&d&&(s=d[u])}return{opacity:n,name:i,no:u,color:s,rgba:Te(s)}},v=(e,t)=>([,r],{theme:n})=>{let o=P(r,n);if(!o)return;let{opacity:i,color:s,rgba:a}=o;if(!s)return;let l=i?i[0]==="["?c.bracket.percent(i):parseFloat(i)/100:a==null?void 0:a[3];return a?l!=null&&!Number.isNaN(l)?(a[3]=typeof l=="string"&&!l.includes("%")?parseFloat(l):l,{[e]:`rgba(${a.join(",")})`}):{[`--un-${t}-opacity`]:1,[e]:`rgba(${a.slice(0,3).join(",")},var(--un-${t}-opacity))`}:{[e]:s.replace("%alpha",`${l||1}`)}};var Le=[[/^outline-(?:width-|size-)?(.+)$/,([,e])=>({"outline-width":c.bracket.fraction.auto.rem(e)})],[/^outline-(?:color-)?(.+)$/,v("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":c.bracket.fraction.auto.rem(e)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],Ke=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],He=[[/^will-change-(.+)/,([,e])=>({"will-change":c.properties.global(e)})]];var We=[[/^border$/,ae],[/^(?:border|b)()-(.+)$/,ae],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,ae],[/^(?:border|b)()-size-(.+)$/,ce],[/^(?:border|b)-([^-]+)-size-(.+)$/,ce],[/^(?:border|b)()-(.+)$/,Be],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,Be],[/^(?:border|b)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-border-opacity":c.bracket.percent(e)})],[/^(?:border|b)-([^-]+)-op(?:acity)?-?(.+)$/,([,e,t])=>{let r=c.bracket.percent(t),n=R[e];if(r!==void 0&&n)return n.map(o=>[`--un-border${o}-opacity`,r])}],[/^(?:border-)?(?:rounded|rd)$/,le],[/^(?:border-)?(?:rounded|rd)(?:-(.+))?$/,le],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-(.+))?$/,le],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-none",{"border-style":"none"}]],pn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=P(e,t))==null?void 0:r.color)},dn=e=>([,t],{theme:r})=>{let n=P(t,r);if(!n)return;let{opacity:o,color:i,rgba:s}=n;if(!i)return;let a=o?o[0]==="["?c.bracket.percent(o):parseFloat(o)/100:s==null?void 0:s[3];return s?a!=null&&!Number.isNaN(a)?(s[3]=typeof a=="string"&&!a.includes("%")?parseFloat(a):a,{[`border${e}-color`]:`rgba(${s.join(",")})`}):e===""?{"--un-border-opacity":1,[`border${e}-color`]:`rgba(${s.slice(0,3).join(",")},var(--un-border${e}-opacity))`}:{"--un-border-opacity":1,[`--un-border${e}-opacity`]:"var(--un-border-opacity)",[`border${e}-color`]:`rgba(${s.slice(0,3).join(",")},var(--un-border${e}-opacity))`}:{[`border${e}-color`]:i.replace("%alpha",`${a||1}`)}};function ae(e){let t=ce(e);if(t)return[...t,["border-style","solid"]]}function ce([,e,t]){let[r,n="1"]=R[e]?[e,t]:["",e],o=c.bracket.px(n);if(o!==void 0)return R[r].map(i=>[`border${i}-width`,o])}function Be([,e,t],r){if(pn(t,r))return Object.assign({},...R[R[e]?e:""].map(n=>dn(n)(["",t],r)))}function le([,e,t],{theme:r}){var s;let[n,o="DEFAULT"]=Z[e]?[e,t]:["",e],i=((s=r.borderRadius)==null?void 0:s[o])||c.auto.rem.fraction.bracket.cssvar(o);if(i!==void 0)return Z[n].map(a=>[`border${a}-radius`,i])}var Ie=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],Ge=[[/^(?:text|color|c)-(.+)$/,v("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)})]],qe=[[/^bg-(.+)$/,v("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var Ye=e=>c.properties(e)||(e==="all"?e:void 0),Xe=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e="all",t="150"])=>{let r=Ye(e);if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4,0,0.2,1)","transition-duration":`${t}ms`}}],[/^duration-(\d+)$/,([,e="150"])=>({"transition-duration":`${e}ms`})],["ease",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],["ease-linear",{"transition-timing-function":"linear"}],["ease-in",{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"}],["ease-out",{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"}],["ease-in-out",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],[/^transition-delay-(\d+)$/,([,e])=>({"transition-delay":`${e}ms`})],[/^transition-duration-(\d+)$/,([,e])=>({"transition-duration":`${e}ms`})],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Ye(e)})],["transition-property-none",{"transition-property":"none"}],["property-none",{"transition-property":"none"}],["transition-none",{transition:"none"}]];var Ze=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,e])=>({flex:c.bracket(e).replace(/\d+\/\d+/,t=>c.fraction(t))})],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["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"}]];var mn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Qe=[[/^font-(\w+)$/,([,e],{theme:t})=>{var n;let r=(n=t.fontFamily)==null?void 0:n[e];if(r)return{"font-family":r}}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=c.bracket.auto.rem(e);if(r)return{"font-size":r};let n=C((o=t.fontSize)==null?void 0:o[e]);if(n==null?void 0:n[0]){let[i,s]=n;return{"font-size":i,"line-height":s}}}],[/^text-size-(.+)$/,([,e])=>{let t=c.bracket.auto.rem(e);if(t)return{"font-size":t}}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>{let t=mn[e]||c.number(e);if(t)return{"font-weight":t}}],[/^(?:leading|lh)-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.lineHeight)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"line-height":r}}],[/^tracking-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.letterSpacing)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"letter-spacing":r}}],[/^word-spacing-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.wordSpacing)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"word-spacing":r}}]],Je=[[/^tab-?([^-]*)$/,([,e])=>{e=e||"4";let t=c.bracket.global.number(e);if(t!==null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],et=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textIndent)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar.fraction.auto.rem(e);if(r!=null)return{"text-indent":r}}]],tt=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textStrokeWidth)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar.px(e);if(r!=null)return{"-webkit-text-stroke-width":r}}],[/^text-stroke-(.+)$/,v("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)})]],rt=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textShadow)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar(e);if(r!=null)return{"text-shadow":r}}]];var nt=[[/^(?:flex-|grid-)?gap-(x-|y-)?([^-]+)$/,([,e="",t])=>{let r=c.bracket.auto.rem(t);if(r!=null){let n={"":"","x-":"column-","y-":"row-"}[e];return{[`grid-${n}gap`]:r,[`${n}gap`]:r}}}]];var gn=(e,t)=>{var r;return C(((r=t.fontSize)==null?void 0:r[e])||c.bracket.auto.rem(e))[0]},ot=(e,t)=>e==="min"?"min-content":e==="max"?"max-content":e==="fr"?"minmax(0,1fr)":gn(e,t),it=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?col-start-([\w.-]+)$/,([,e])=>({"grid-column-start":e})],[/^(?:grid-)?col-end-([\w.]+)$/,([,e])=>({"grid-column-end":e})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,e])=>({"grid-row-start":e})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,e])=>({"grid-row-end":e})],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>{let r=e==="row"?"grid-row":"grid-column",n=c.bracket(t);if(n)return{[r]:n};let o=t.split("-");if(o.length===1&&o[0]==="auto")return{[r]:o[0]};if(o[0]==="span"){if(o[1]==="full")return{[r]:"1/-1"};if(n=c.number.bracket(o[1]),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-columns":ot(e,t)})],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,e])=>({"grid-auto-flow":e.replace("col","column").split("-").join(" ")})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-rows":ot(e,t)})],[/^grid-cols-minmax-([\w.-]+)$/,([,e])=>({"grid-template-columns":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-rows-minmax-([\w.-]+)$/,([,e])=>({"grid-template-rows":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-cols-(\d+)$/,([,e])=>({"grid-template-columns":`repeat(${e},minmax(0,1fr))`})],[/^grid-rows-(\d+)$/,([,e])=>({"grid-template-rows":`repeat(${e},minmax(0,1fr))`})],[/^grid-cols-\[(.+)\]$/,([,e])=>({"grid-template-columns":e.replace(/,/g," ")})],[/^grid-rows-\[(.+)\]$/,([,e])=>({"grid-template-rows":e.replace(/,/g," ")})]];var st=["auto","hidden","visible","scroll"],at=[[/^(?:overflow|of)-(.+)$/,([,e])=>st.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>st.includes(t)?{[`overflow-${e}`]:t}:void 0]];var B=["auto","start","end","center","stretch"],fe=[["relative",{position:"relative"}],["absolute",{position:"absolute"}],["fixed",{position:"fixed"}],["sticky",{position:"sticky"}],["static",{position:"static"}]],ct=[["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"}],...B.map(e=>[`justify-items-${e}`,{"justify-items":e}]),...B.map(e=>[`justify-self-${e}`,{"justify-self":e}])],lt=[[/^order-(.+)$/,([,e])=>({order:c.bracket.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],ft=[["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-center",{"align-content":"center"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["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"}],["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"}]],ut=[["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-center",{"place-content":"center"}],["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"}],...B.map(e=>[`place-items-${e}`,{"place-items":e}]),...B.map(e=>[`place-self-${e}`,{"place-self":e}])];function pt(e){var t;return(t={auto:"auto",full:"100%"}[e])!=null?t:c.bracket.fraction.cssvar.auto.rem(e)}var dt=[[/^(top|left|right|bottom|inset)-(.+)$/,([,e,t])=>({[e]:pt(t)})],[/^inset-([xy])-(.+)$/,([,e,t])=>{let r=pt(t);if(r!=null&&e in R)return R[e].map(n=>[n.slice(1),r])}]],mt=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],gt=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,e])=>({"z-index":c.number(e)})]],ht=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var xt="var(--un-empty,/*!*/ /*!*/)",bt=[["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"}]],yt=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],wt=[[/^cursor-(.+)$/,([,e])=>({cursor:e})]],$t=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],St=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],vt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],Rt=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],kt=[["content-empty",{content:'""'}]],Ct=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Tt=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Et=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],At=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],zt=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Vt=[[/^ring-?(.*)$/,([,e])=>{let t=c.px(e||"1");if(t)return{"--un-ring-inset":xt,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-color":"rgba(59, 130, 246, .5)","--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(${t} + var(--un-ring-offset-width)) var(--un-ring-color)`,"-webkit-box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow, 0 0 #0000)"}}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(.+)$/,([,e])=>{let t=c.px(e||"1");if(t)return{"--un-ring-offset-width":t}}],[/^ring-(.+)$/,v("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":c.bracket.percent(e)})],[/^ring-offset-(.+)$/,v("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":c.bracket.percent(e)})],["ring-inset",{"--un-ring-inset":"inset"}]];var hn=(e,t)=>{let r=P(e,t);if(!r)return;let{color:n,rgba:o}=r;if(!!n)return o?{"--un-shadow-color":`${o.slice(0,3).join(",")}`}:{"--un-shadow-color":n}},jt=[[/^shadow-?(.*)$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow-color":"0,0,0","--un-shadow":r,"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}}],[/^shadow-(.+)$/,([,e],{theme:t})=>hn(e,t)]];function Ut(e,t){return`${e?`${e}-`:""}${t==="h"?"height":"width"}`}function xn(e,t,r,n){var i;let o=`${t==="h"?"height":"width"}`;return e&&(o=`${e}${Ne(o)}`),(i=r[o])==null?void 0:i[n]}var Mt=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,e,t,r],{theme:n})=>{let o=xn(e,t,n,r)||c.bracket.cssvar.fraction.auto.rem(r);if(o!=null)return{[Ut(e,t)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var i;let o=(i=n.breakpoints)==null?void 0:i[r];if(o!=null)return{[Ut(e,t)]:o}}]],Ot=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,e])=>{let t=(/^\d+\/\d+$/.test(e)?e:null)||c.bracket.cssvar.number(e);if(t!=null)return{"aspect-ratio":t}}]];var Pt=[[/^pa?()-?(-?.+)$/,U("padding")],[/^p-?([xy])-?(-?.+)$/,U("padding")],[/^p-?([rltbse])-?(-?.+)$/,U("padding")]],Ft=[[/^ma?()-?(-?.+)$/,U("margin")],[/^m-?([xy])-?(-?.+)$/,U("margin")],[/^m-?([rltbse])-?(-?.+)$/,U("margin")]];var I="$$no-pseudo",G=Object.fromEntries(["any-link","link","visited","target","hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","required","optional","root","empty",["even-of-type","nth-of-type(even)"],["even","nth-child(even)"],["odd-of-type","nth-of-type(odd)"],["odd","nth-child(odd)"],"first-of-type",["first","first-child"],"last-of-type",["last","last-child"],"only-child","only-of-type"].map(C)),bn=["placeholder","before","after","first-letter","first-line","selection"],yn=["not","is","where","has"],wn=/(part-\[(.+)]:)(.+)/,$n=new RegExp(`^(${bn.join("|")})[:-]`),ue=Object.keys(G).join("|"),_t=yn.join("|"),Sn=new RegExp(`^(${ue})[:-]`),vn=new RegExp(`^(${_t})-(${ue})[:-]`);function q(e){return!e.find(t=>t[0]===I)||void 0}var Dt=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${_t})-)?(${ue}))[:-]`),o=new RegExp(`^${ve(t)}:`);return i=>{let s=i.match(n);if(s){let a=G[s[3]]||s[3];return s[2]&&(a=`${s[2]}(:${a})`),{matcher:i.slice(s[1].length+e.length+2),selector:(l,u)=>q(u)&&o.test(l)?l.replace(o,`${t}:${a}:`):`${t}:${a}${r}${l}`}}}},Nt=e=>{let t=e.match($n);if(t)return{matcher:e.slice(t[1].length+1),selector:r=>`${r}::${t[1]}`}},Lt={match:e=>{let t=e.match(Sn);if(t){let r=G[t[1]]||t[1];return{matcher:e.slice(t[1].length+1),selector:(n,o)=>q(o)&&`${n}:${r}`}}},multiPass:!0},Kt={match:e=>{let t=e.match(vn);if(t){let r=t[1],n=G[t[2]]||t[2];return{matcher:e.slice(t[1].length+t[2].length+2),selector:(o,i)=>q(i)&&`${o}:${r}(:${n})`}}},multiPass:!0},Ht=(e={})=>({match:t=>{let r=!!(e==null?void 0:e.attributifyPseudo),n=Dt("group",r?'[group=""]':".group"," ")(t);if(n)return n;let o=Dt("peer",r?'[peer=""]':".peer","~")(t);if(o)return o},multiPass:!0}),Wt={match:e=>{let t=e.match(wn);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:(n,o)=>q(o)&&`${n}::${r}`}}},multiPass:!0};var Rn={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))",[I]:""},Bt={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z))",[I]:""},M=S({"--un-rotate":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},Bt),It=[["transform",M],[/^preserve-(3d|flat)$/,([,e])=>({"transform-style":e==="3d"?`preserve-${e}`:e})],[/^translate()-(.+)$/,Gt],[/^translate-([xyz])-(.+)$/,Gt],[/^scale()-(.+)$/,qt],[/^scale-([xyz])-(.+)$/,qt],[/^rotate-(.+)$/,Cn],[/^rotate-((?!\[)[^-]+?)(?:deg)?$/,kn],[/^skew-([xy])-(.+)$/,En],[/^skew-([xy])-((?!\[)[^-]+?)(?:deg)?$/,Tn],["transform-gpu",Rn],["transform-cpu",Bt],["transform-none",{transform:"none"}],["origin-center",{"transform-origin":"center"}],["origin-top",{"transform-origin":"top"}],["origin-top-right",{"transform-origin":"top right"}],["origin-right",{"transform-origin":"right"}],["origin-bottom-right",{"transform-origin":"bottom right"}],["origin-bottom",{"transform-origin":"bottom"}],["origin-bottom-left",{"transform-origin":"bottom left"}],["origin-left",{"transform-origin":"left"}],["origin-top-left",{"transform-origin":"top left"}]];function Gt([,e,t]){let r=c.bracket.fraction.auto.rem(t);if(r!=null)return[M,[...Q[e].map(n=>[`--un-translate${n}`,r])]]}function qt([,e,t]){let r=c.bracket.fraction.percent(t);if(r!=null)return[M,[...Q[e].map(n=>[`--un-scale${n}`,r])]]}function kn([,e]){let t=c.bracket.number(e);if(t!=null)return[M,{"--un-rotate":`${t}deg`}]}function Cn([,e]){let t=c.bracket(e);if(t!=null)return[M,{"--un-rotate":t}]}function Tn([,e,t]){let r=c.bracket.number(t);if(r!=null)return[M,{[`--un-skew-${e}`]:`${r}deg`}]}function En([,e,t]){let r=c.bracket(t);if(r!=null)return[M,{[`--un-skew-${e}`]:r}]}var An={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",b:"border-color",border:"border-color",color:"color",case:"text-transform",origin:"transform-origin",bg:"background-color","bg-opacity":"background-opacity",tab:"tab-size",underline:"text-decoration-thickness","underline-offset":"text-underline-offset",text:"color","grid-cols":"grid-template-columns","grid-rows":"grid-template-rows","auto-flow":"grid-auto-flow","row-start":"grid-row-start","row-end":"grid-row-end",justify:"justify-content",content:"align-content",items:"align-items",self:"align-self",object:"object-fit"},Yt=[[/^(.+)-\$(.+)$/,([,e,t])=>{let r=An[e];if(r)return{[r]:`var(--${t})`}}],[/^(?:border|b)-([^-]+)-\$(.+)$/,([,e,t])=>{if(e in R)return R[e].map(r=>[`border${r}-color`,`var(--${t})`])}]];var Xt=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.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}}
3
- ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Zt=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["decoration-underline",{"text-decoration":"underline"}],["decoration-line-through",{"text-decoration":"line-through"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e])=>({"text-decoration-thickness":c.bracket.px(e)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e})],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=v("text-decoration-color","line")(e,t);if(r)return S({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)})],[/^underline-offset-(.+)$/,([,e])=>({"text-underline-offset":c.auto.bracket.px(e)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Qt=[[/^fill-(.+)$/,v("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)})],["fill-none",{fill:"none"}],[/^stroke-(?:size-|width-)?(.+)$/,([,e])=>{let t=c.bracket.fraction.px.number(e);if(t)return{"stroke-width":t}}],[/^stroke-(.+)$/,v("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)})],["stroke-none",{stroke:"none"}]];var Jt=[Yt,Pt,Ft,bt,Ie,qe,Qt,We,kt,Qe,Je,et,Tt,Zt,tt,rt,Et,Se,Ge,At,zt,jt,Vt,Ze,it,nt,fe,Mt,Ot,wt,yt,$t,St,$e,vt,Rt,Ct,at,Le,Ke,fe,lt,ct,ft,ut,dt,mt,gt,ht,Xe,It,He,Xt].flat(1);var pe={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(pe).forEach(e=>{typeof e!="string"&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var er={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(",")},tr={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"]},rr={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},nr={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},or={DEFAULT:"0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",sm:"1px 1px 3px rgb(36 37 47 / 25%)",md:"0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",lg:"3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",xl:"1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",none:"none"},ir={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},de={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},sr=de;var ar={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},cr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},lr={DEFAULT:"0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",sm:"0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",md:"0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",lg:"0 10px 15px -3px rgba(var(--un-shadow-color), 0.1), 0 4px 6px -2px rgba(var(--un-shadow-color), 0.05)",xl:"0 20px 25px -5px rgba(var(--un-shadow-color), 0.1), 0 10px 10px -5px rgba(var(--un-shadow-color), 0.04)","2xl":"25px 50px -12px rgba(var(--un-shadow-color), 0.25)",inner:"inset 0 2px 4px 0 rgba(var(--un-shadow-color), 0.06)",none:"none"};var fr={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},ur={DEFAULT:["0 1px 2px rgba(0, 0, 0, 0.1)","0 1px 1px rgba(0, 0, 0, 0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0, 0, 0, 0.07)","0 2px 2px rgba(0, 0, 0, 0.06)"],lg:["0 10px 8px rgba(0, 0, 0, 0.04)","0 4px 3px rgba(0, 0, 0, 0.1)"],xl:["0 20px 13px rgba(0, 0, 0, 0.03)","0 8px 5px rgba(0, 0, 0, 0.08)"],"2xl":"0 25px 25px rgba(0, 0, 0, 0.15)",none:"0 0 #0000"};var Y={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",min:"min-content",max:"max-content",prose:"65ch"},pr=T(S({auto:"auto"},Y),{screen:"100vw"}),me=T(S({none:"none"},Y),{screen:"100vw"}),dr=T(S({auto:"auto"},Y),{screen:"100vh"}),ge=T(S({none:"none"},Y),{screen:"100vh"});var mr={width:pr,height:dr,maxWidth:me,maxHeight:ge,minWidth:me,minHeight:ge,colors:pe,fontFamily:er,fontSize:tr,breakpoints:ar,borderRadius:cr,lineHeight:ir,letterSpacing:de,wordSpacing:sr,boxShadow:lr,textIndent:rr,textShadow:or,textStrokeWidth:nr,blur:fr,dropShadow:ur};var he={},gr=(e,t,r)=>{let n=Object.entries(r.breakpoints||{}).map(([o,i],s)=>[o,i,s]);for(let[o,i,s]of n){he[o]||(he[o]=new RegExp(`^((?:[al]t-)?${o}[:-])`));let a=e.match(he[o]);if(!a)continue;let[,l]=a,u=e.slice(l.length);if(u==="container")continue;let d="min",x=1e3;return l.startsWith("lt-")?(d="max",x-=s+1):x+=s+1,l.startsWith("at-")&&s<n.length-1?{matcher:u,parent:[`@media (min-width: ${i}) and (max-width: ${n[s+1][1]})`,x]}:{matcher:u,parent:[`@media (${d}-width: ${i})`,x]}}};var hr=[k("all",e=>`${e} *`),k("children",e=>`${e}>*`),k("next",e=>`${e}+*`),k("sibling",e=>`${e}+*`),k("siblings",e=>`${e}~*`),k("svg",e=>`${e} svg *`)];var xr=[k("dark",e=>`.dark $$ ${e}`),k("light",e=>`.light $$ ${e}`)],br=[e=>{let t=k("dark")(e);if(t)return T(S({},t),{parent:"@media (prefers-color-scheme: dark)"});let r=k("light")(e);if(r)return T(S({},r),{parent:"@media (prefers-color-scheme: light)"})}];var yr={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},wr={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,i=>`-${i}`))}),t)}}},$r=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var Sr=e=>[$r,wr,yr,gr,...hr,Lt,Kt,Ht(e),Nt,Wt,...e.dark==="media"?br:xr];var zn=(e={})=>({name:"@unocss/preset-mini",theme:mr,rules:Jt,variants:Sr(e),options:e}),vr=zn;var Vn=["v-bind:",":"],Rr=/[\s'"`;]+/g,jn=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Un=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,kr=e=>({name:"attributify",extract({code:t}){let r=Array.from(t.matchAll(jn)).flatMap(n=>Array.from((n[1]||"").matchAll(Un))).flatMap(([,n,o,i])=>{var s;if((s=e==null?void 0:e.ignoreAttributes)==null?void 0:s.includes(n))return[];for(let a of Vn)if(n.startsWith(a)){n=n.slice(a.length);break}return i?["class","className"].includes(n)?i.split(Rr).filter(D):i.split(Rr).filter(Boolean).map(a=>`[${n}~="${a}"]`):D(n)&&(e==null?void 0:e.nonValuedAttribute)!==!1?[`[${n}=""]`]:[]});return new Set(r)}});var Mn=/^(.+\:\!?)?(.*?)$/,Cr=(e={})=>{var r;let t=(r=e.prefix)!=null?r:"un-";return n=>{let o=Ee(n);if(!o)return;let i=o[1];if(i.startsWith(t))i=i.slice(t.length);else if(e.prefixedOnly)return;let s=o[2],[,a="",l=s]=s.match(Mn)||[];return l==="~"||!l?`${a}${i}`:`${a}${i}-${l}`}};var On=e=>{let t=[Cr(e)],r=[kr(e)];return(e==null?void 0:e.strict)||r.unshift(N),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},Tr=On;function xe(e={}){var V;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(e,(V=window.__unocss)==null?void 0:V.runtime);let t,r=!1,n,o=Fe(window.__unocss||{},e.defaults),i=new Set,s;function a(){s!=null&&clearTimeout(s),s=setTimeout(l,0)}async function l(){let b=await o.generate(i);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=b.css}async function u(b){await o.applyExtractors(b,void 0,i),a()}async function d(){let b=document.body&&document.body.outerHTML;b&&await u(b)}let x=new MutationObserver(b=>{r||b.forEach(j=>{let f=j.target;if(f===t||n&&!n(f))return;let g=Array.from(f.attributes).map(y=>y.value?`${y.name}="${y.value}"`:y.name).join(" "),m=`<${f.tagName.toLowerCase()} ${g}>`;u(m)})}),p=!1;function h(){if(!p)return;let b=document.documentElement||document.body;!b||(x.observe(b,{childList:!0,subtree:!0,attributes:!0}),p=!0)}function E(){d(),h()}window.__unocss_runtime=window.__unocss_runtime={version:o.version,uno:o,extractAll:d,inspect(b){n=b},toggleObserver(b){b===void 0?r=!r:r=!!b}},E(),window.addEventListener("load",E),window.addEventListener("DOMContentLoaded",E)}xe({defaults:{presets:[vr(),Tr()]}});})();
1
+ (()=>{var be=Object.defineProperty,Er=Object.defineProperties;var Ar=Object.getOwnPropertyDescriptors;var ye=Object.getOwnPropertySymbols;var zr=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable;var $e=(e,t,r)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))zr.call(t,r)&&$e(e,r,t[r]);if(ye)for(var r of ye(t))Vr.call(t,r)&&$e(e,r,t[r]);return e},A=(e,t)=>Er(e,Ar(t));var Pr=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})};var jr={mid:"middle",base:"baseline",btm:"bottom"},we=[[/^(?:vertical|align|v)-(baseline|top|bottom|middle|text-top|text-bottom|mid|base|btm)$/,([,e])=>({"vertical-align":jr[e]||e})]],ve=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]];var C={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],a:[""]},Z={t:["-top-left","-top-right"],r:["-top-right","-bottom-right"],b:["-bottom-left","-bottom-right"],l:["-bottom-left","-top-left"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""]},Q={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]};function Se(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ur(e){let t=e.length,r=-1,n,o="",i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===44){o+="\\2c ";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}var K=Ur;function _(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Re(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>_(t)):[e]:[_(e)]}function Fr(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function H(e){return e==null?"":Fr(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function J(e){return e&&typeof e=="object"&&!Array.isArray(e)}function ee(e,t){let r=e,n=t;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=R({},r);return J(r)&&J(n)&&Object.keys(n).forEach(i=>{J(n[i])?i in r?o[i]=ee(r[i],n[i]):Object.assign(o,{[i]:n[i]}):Object.assign(o,{[i]:n[i]})}),o}function ke(e){return typeof e[0]=="string"}function Ce(e){return typeof e[0]=="string"}function E(e=[]){return Array.isArray(e)?e:[e]}function W(e){return Array.from(new Set(e))}function Te(e){let t=Object.create(null);return r=>t[r]||(t[r]=e(r))}var Mr=/^#?([\da-f]+)$/i;function Ee(e=""){let[,t]=e.match(Mr)||[];if(!!t)switch(t.length){case 3:case 4:let r=Array.from(t,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return t.length===3||(r[3]=Math.round(r[3]/255*100)/100),r;case 6:case 8:let n=Number.parseInt(t,16);return t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255,Math.round((n&255)/255*100)/100]}}var Or=/^\[(.+?)~?="(.*)"\]$/,_r=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function Ae(e){return e.match(Or)}function D(e=""){return _r.test(e)}function ze(e){return typeof e=="function"?{match:e}:e}function te(e){return e.length===3}function Ve(e){return e!=null}var re=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){var n;return(n=this._map.get(t))==null?void 0:n.has(r)}delete(t,r){var n;return((n=this._map.get(t))==null?void 0:n.delete(r))||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}};var Dr=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function Pe(e){let t=[],r;for(;r=Dr.exec(e);){let o=r.index,i=o+r[0].length,[,s,a,l]=r,f=l.split(/\s/g).map(d=>d.replace(/^(!?)(.*)/,`$1${s}${a}$2`)).join(" ");t.unshift([o,i,f])}let n=e;return t.forEach(([o,i,s])=>{n=n.slice(0,o)+s+n.slice(i)}),n}var je=new Set;function Ue(e){je.has(e)||(console.warn("[unocss]",e),je.add(e))}function Fe(e){let t=function(n){var i;let o=((i=this.__options)==null?void 0:i.sequence)||[];this.__options.sequence=[];for(let s of o){let a=e[s](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,get(){return r(this,n)}});return t}var Nr=e=>e.split(/[\s'"`;>=]+/g).filter(D),N={name:"split",order:0,extract({code:e}){return new Set(Nr(e))}};function Lr(e){return E(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var Kr={shortcuts:-1,default:0};function ne(e={},t={}){var w;let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(E),o=[...n.filter(p=>p.enforce==="pre"),...n.filter(p=>!p.enforce),...n.filter(p=>p.enforce==="post")],i=Object.assign(Kr,...n.map(p=>p.layers),e.layers);function s(p){return W([...o.flatMap(b=>E(b[p]||[])),...E(r[p]||[])])}let a=s("extractors");a.length||a.push(N),a.sort((p,b)=>(p.order||0)-(b.order||0));let l=s("rules"),f={},d=l.length;l.forEach((p,b)=>{ke(p)&&(f[p[0]]=[b,p[1],p[2]],delete l[b])});let y=[...o.map(p=>p.theme||{}),r.theme||{}].reduce((p,b)=>ee(p,b),{}),$=Object.assign({},...((w=r.presets)==null?void 0:w.map(p=>Array.isArray(p)?p:[p]).flat(1).map(p=>{var b;return(b=p.options)!=null?b:{}}))||[]);return A(R({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:p=>p},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:i,theme:y,rulesSize:d,rulesDynamic:l,rulesStaticMap:f,preflights:s("preflights"),variants:s("variants").map(ze),shortcuts:Lr(s("shortcuts")),extractors:a,options:$})}var Me="0.19.0";var Oe=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=ne(t,r)}version=Me;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=ne(t,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(t,r,n=new Set){let o={get original(){return t},code:t,id:r,options:this.config.options};for(let i of this.config.extractors){let s=await i.extract(o);s==null||s.forEach(a=>n.add(a))}return n}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:i=!0,minify:s=!1}={}){let a=typeof t=="string"?await this.applyExtractors(t,r):t;i&&this.config.safelist.forEach(u=>a.add(u));let l=s?"":`
2
+ `,f=new Set(["default"]),d=new Set,y=new Map,$=(u,g)=>{var m;this._cache.set(u,g),d.add(u);for(let x of g){let z=x[3]||"";y.has(z)||y.set(z,[]),y.get(z).push(x),((m=x[4])==null?void 0:m.layer)&&f.add(x[4].layer)}},w=u=>{this.blocked.add(u),this._cache.set(u,null)};await Promise.all(Array.from(a).map(async u=>{var F;if(d.has(u)||this.blocked.has(u))return;if(this._cache.has(u)){let v=this._cache.get(u);v&&$(u,v);return}let g=u;if(this.config.preprocess&&(g=this.config.preprocess(u)),this.isBlocked(g))return w(g);let m=this.matchVariants(u,g);if(!m||this.isBlocked(m[1]))return w(u);let x={rawSelector:u,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...v)=>this.constructCustomCSS(x,...v),options:this.config.options},z=this.expandShortcut(m[1],x);if(z){let v=await this.stringifyShortcuts(m,x,z[0],z[1]);if(v==null?void 0:v.length)return $(u,v)}else{let v=(F=await this.parseUtil(m,x))==null?void 0:F.map(S=>this.stringifyUtil(S)).filter(Ve);if(v==null?void 0:v.length)return $(u,v)}this._cache.set(u,null)})),o&&this.config.preflights.forEach(u=>{u.layer&&f.add(u.layer)});let p={},b=this.config.sortLayers(Array.from(f).sort((u,g)=>{var m,x;return((m=this.config.layers[u])!=null?m:0)-((x=this.config.layers[g])!=null?x:0)||u.localeCompare(g)})),h=u=>{if(p[u])return p[u];let g=Array.from(y).sort((m,x)=>(this.parentOrders.get(m[0])||0)-(this.parentOrders.get(x[0])||0)).map(([m,x])=>{let z=x.length,F=x.filter(S=>{var V;return(((V=S[4])==null?void 0:V.layer)||"default")===u}).sort((S,V)=>{var L;return S[0]-V[0]||((L=S[1])==null?void 0:L.localeCompare(V[1]||""))||0}).map(S=>[S[1]?Br(S[1],n):S[1],S[2]]);if(!F.length)return;let v=F.reverse().map(([S,V],L)=>{if(S&&this.config.mergeSelectors)for(let X=L+1;X<z;X++){let O=F[X];if(O&&O[0]&&O[1]===V)return O[0]=`${O[0]},${S}`,null}return S?`${S}{${V}}`:V}).filter(Boolean).reverse().join(l);return m?`${m}{${l}${v}${l}}`:v}).filter(Boolean).join(l);return o&&(g=[...this.config.preflights.filter(m=>(m.layer||"default")===u).map(m=>m.getCSS()).filter(Boolean),g].join(l)),p[u]=!s&&g?`/* layer: ${u} */${l}${g}`:g},P=(u=b,g)=>u.filter(m=>!(g==null?void 0:g.includes(m))).map(m=>h(m)||"").filter(Boolean).join(l);return{get css(){return P()},layers:b,getLayers:P,getLayer:h,matched:d}}matchVariants(t,r){let n=new Set,o=[],i=r||t,s=!1,a={rawSelector:t,theme:this.config.theme,generator:this,options:this.config.options};for(;;){s=!1;for(let l of this.config.variants){if(!l.multiPass&&n.has(l))continue;let f=l.match(i,a);if(!!f&&(typeof f=="string"&&(f={matcher:f}),f)){i=f.matcher,Array.isArray(f.parent)&&this.parentOrders.set(f.parent[0],f.parent[1]),o.push(f),n.add(l),s=!0;break}}if(!s)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,o]}applyVariants(t,r=t[4],n=t[1]){let o=r.reduce((i,s)=>{var a;return((a=s.body)==null?void 0:a.call(s,i))||i},t[2]);return[r.reduce((i,s)=>{var a;return((a=s.selector)==null?void 0:a.call(s,i,o))||i},Ir(n)),o,r.reduce((i,s)=>Array.isArray(s.parent)?s.parent[0]:s.parent||i,void 0)]}constructCustomCSS(t,r,n){r=_(r);let[o,i,s]=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),a=`${o}{${H(i)}}`;return s?`${s}{${a}}`:a}async parseUtil(t,r,n=!1){var d,y;let[o,i,s]=typeof t=="string"?this.matchVariants(t):t,a=this.config.rulesStaticMap[i];if(a&&a[1]&&(n||!((d=a[2])==null?void 0:d.internal)))return[[a[0],o,_(a[1]),a[2],s]];r.variantHandlers=s;let{rulesDynamic:l,rulesSize:f}=this.config;for(let $=f;$>=0;$--){let w=l[$];if(!w||((y=w[2])==null?void 0:y.internal)&&!n)continue;let[p,b,h]=w,P=i.match(p);if(!P)continue;let u=await b(P,r);if(!u)continue;if(typeof u=="string")return[[$,u,h]];let g=Re(u).filter(m=>m.length);if(g.length)return g.map(m=>[$,o,m,h,s])}}stringifyUtil(t){if(!t)return;if(te(t))return[t[0],void 0,t[1],void 0,t[2]];let[r,n,o]=this.applyVariants(t),i=H(n);if(!!i)return[t[0],r,i,o,t[3]]}expandShortcut(t,r,n=3){if(n===0)return;let o,i;for(let s of this.config.shortcuts)if(Ce(s)){if(s[0]===t){o=o||s[2],i=s[1];break}}else{let a=t.match(s[0]);if(a&&(i=s[1](a,r)),i){o=o||s[2];break}}if(typeof i=="string"&&(i=Pe(i).split(/\s+/g)),!!i)return[i.flatMap(s=>{var a;return((a=this.expandShortcut(s,r,n-1))==null?void 0:a[0])||[s]}).filter(s=>s!==""),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let i=new re,s=(await Promise.all(W(n).map(async f=>{let d=await this.parseUtil(f,r,!0);return d||Ue(`unmatched utility "${f}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((f,d)=>f[0]-d[0]),[a,,l]=t;for(let f of s){if(te(f))continue;let[d,y,$]=this.applyVariants(f,[...f[4],...l],a),w=i.getFallback(d,$,[[],f[0]]);w[0].push(...y),f[0]>w[1]&&(w[1]=f[0])}return i.map(([f,d],y,$)=>{let w=H(f);if(w)return[d,y,w,$,o]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function _e(e,t){return new Oe(e,t)}var De=/ \$\$ /,Wr=e=>e.match(De);function Br(e,t){return Wr(e)?e.replace(De,t?` ${t} `:" "):t?`${t} ${e}`:e}function Ir(e){return e.startsWith("[")?e.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,r,n,o)=>`[${K(r)}${n}"${K(o)}"]`):`.${K(e)}`}var ie={};Pr(ie,{auto:()=>en,bracket:()=>an,cssvar:()=>cn,fraction:()=>sn,global:()=>fn,number:()=>nn,numberWithUnit:()=>Jr,percent:()=>on,properties:()=>un,px:()=>rn,rem:()=>tn,time:()=>ln});var Gr=["color","border-color","background-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow"],qr=["backround-position","left","right","top","bottom","object-position"],Yr=["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"],Xr=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],Zr=[...Gr,...qr,...Yr,...Xr],oe=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,Qr=/^(-?[0-9.]+)$/i,Ne=/^(px)$/i;function Jr(e){let t=e.match(oe);if(!t)return;let[,,r]=t;if(r)return e}function en(e){if(e==="auto"||e==="a")return"auto"}function tn(e){if(e.match(Ne))return`1${e}`;let t=e.match(oe);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function rn(e){if(e.match(Ne))return`1${e}`;let t=e.match(oe);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function nn(e){if(!Qr.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return t}function on(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${t/100}`}function sn(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function an(e){if(e&&e[0]==="["&&e[e.length-1]==="]")return e.slice(1,-1).replace(/_/g," ").replace(/calc\((.*)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function cn(e){if(e.startsWith("$"))return`var(--${e.slice(1)})`}function ln(e){let t=Number(e.replace(/(s|ms)$/,""));if(!isNaN(t))return/(s|ms)$/.test(e)?e:`${e}ms`}function fn(e){if(["inherit","initial","revert","unset"].includes(e))return e}function un(e){if(e!==void 0){for(let t of e.split(","))if(!Zr.includes(t))return;return e}}var c=Fe(ie);var T=(e,t)=>{let r=new RegExp(`^(${e})[:-]`);return n=>{let o=n.match(r);if(o)return{matcher:n.slice(o[1].length+1),selector:t}}};function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}var j=e=>([t,r,n])=>{let o=c.bracket.auto.rem.fraction.cssvar(n);if(o!==void 0)return C[r].map(i=>[`${e}${i}`,o])},se=(e,t)=>{var r;return(r=e.colors)==null?void 0:r[t.join("-").replace(/(-[a-z])/g,n=>n.slice(1).toUpperCase())]},M=(e,t)=>{let[r,n]=e.split(/(?:\/|:)/),o=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g),[i]=o;if(!i)return;let s,a=c.bracket(r),l=a||r;l.startsWith("#")&&(s=l.slice(1)),l.startsWith("hex-")&&(s=l.slice(4)),s=s||a;let f="DEFAULT";if(!s){let d,[y]=o.slice(-1);y.match(/^\d+$/)?(f=y,d=se(t,o.slice(0,-1))):(d=se(t,o),d||([,f=f]=o,d=se(t,[i]))),typeof d=="string"?s=d:f&&d&&(s=d[f])}return{opacity:n,name:i,no:f,color:s,rgba:Ee(s)}},k=(e,t)=>([,r],{theme:n})=>{let o=M(r,n);if(!o)return;let{opacity:i,color:s,rgba:a}=o;if(!s)return;let l=i?i[0]==="["?c.bracket.percent(i):parseFloat(i)/100:a==null?void 0:a[3];return a?l!=null&&!Number.isNaN(l)?(a[3]=typeof l=="string"&&!l.includes("%")?parseFloat(l):l,{[e]:`rgba(${a.join(",")})`}):{[`--un-${t}-opacity`]:1,[e]:`rgba(${a.slice(0,3).join(",")},var(--un-${t}-opacity))`}:{[e]:s.replace("%alpha",`${l||1}`)}};var Ke=[[/^outline-(?:width-|size-)?(.+)$/,([,e])=>({"outline-width":c.bracket.fraction.auto.rem(e)})],[/^outline-(?:color-)?(.+)$/,k("outline-color","outline-color")],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":c.bracket.fraction.auto.rem(e)})],["outline",{"outline-style":"solid"}],[/^outline-(auto|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|revert|unset)$/,([,e])=>({"outline-style":e})],["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]],He=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],We=[[/^will-change-(.+)/,([,e])=>({"will-change":c.properties.global(e)})]];var Be=[[/^border$/,ae],[/^(?:border|b)()-(.+)$/,ae],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,ae],[/^(?:border|b)()-size-(.+)$/,ce],[/^(?:border|b)-([^-]+)-size-(.+)$/,ce],[/^(?:border|b)()-(.+)$/,Ie],[/^(?:border|b)-([^-]+)(?:-(.+))?$/,Ie],[/^(?:border|b)-op(?:acity)?-?(.+)$/,([,e],{options:{variablePrefix:t}})=>({[`--${t}border-opacity`]:c.bracket.percent(e)})],[/^(?:border|b)-([^-]+)-op(?:acity)?-?(.+)$/,([,e,t],{options:{variablePrefix:r}})=>{let n=c.bracket.percent(t),o=C[e];if(n!==void 0&&o)return o.map(i=>[`--${r}border${i}-opacity`,n])}],[/^(?:border-)?(?:rounded|rd)$/,le],[/^(?:border-)?(?:rounded|rd)(?:-(.+))?$/,le],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-(.+))?$/,le],["border-solid",{"border-style":"solid"}],["border-dashed",{"border-style":"dashed"}],["border-dotted",{"border-style":"dotted"}],["border-double",{"border-style":"double"}],["border-none",{"border-style":"none"}]],pn=(e,{theme:t})=>{var r;return e!==void 0&&!!((r=M(e,t))==null?void 0:r.color)},dn=e=>([,t],{theme:r,options:{variablePrefix:n}})=>{let o=M(t,r);if(!o)return;let{opacity:i,color:s,rgba:a}=o;if(!s)return;let l=i?i[0]==="["?c.bracket.percent(i):parseFloat(i)/100:a==null?void 0:a[3];return a?l!=null&&!Number.isNaN(l)?(a[3]=typeof l=="string"&&!l.includes("%")?parseFloat(l):l,{[`border${e}-color`]:`rgba(${a.join(",")})`}):e===""?{[`--${n}border-opacity`]:1,[`border${e}-color`]:`rgba(${a.slice(0,3).join(",")},var(--${n}border${e}-opacity))`}:{[`--${n}border-opacity`]:1,[`--${n}border${e}-opacity`]:`var(--${n}border-opacity)`,[`border${e}-color`]:`rgba(${a.slice(0,3).join(",")},var(--${n}border${e}-opacity))`}:{[`border${e}-color`]:s.replace("%alpha",`${l||1}`)}};function ae(e){let t=ce(e);if(t)return[...t,["border-style","solid"]]}function ce([,e,t]){let[r,n="1"]=C[e]?[e,t]:["",e],o=c.bracket.px(n);if(o!==void 0)return C[r].map(i=>[`border${i}-width`,o])}function Ie([,e,t],r){if(pn(t,r))return Object.assign({},...C[C[e]?e:""].map(n=>dn(n)(["",t],r)))}function le([,e,t],{theme:r}){var s;let[n,o="DEFAULT"]=Z[e]?[e,t]:["",e],i=((s=r.borderRadius)==null?void 0:s[o])||c.auto.rem.fraction.bracket.cssvar(o);if(i!==void 0)return Z[n].map(a=>[`border${a}-radius`,i])}var Ge=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:c.bracket.percent.cssvar(e)})]],qe=[[/^(?:text|color|c)-(.+)$/,k("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":c.bracket.percent.cssvar(e)})]],Ye=[[/^bg-(.+)$/,k("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":c.bracket.percent(e)})]];var Xe=e=>c.properties(e)||(e==="all"?e:void 0),Ze=[[/^transition(?:-([a-z-]+(?:,[a-z-]+)*))?(?:-(\d+))?$/,([,e="all",t="150"])=>{let r=Xe(e);if(r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4,0,0.2,1)","transition-duration":`${t}ms`}}],[/^duration-(\d+)$/,([,e="150"])=>({"transition-duration":`${e}ms`})],["ease",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],["ease-linear",{"transition-timing-function":"linear"}],["ease-in",{"transition-timing-function":"cubic-bezier(0.4, 0, 1, 1)"}],["ease-out",{"transition-timing-function":"cubic-bezier(0, 0, 0.2, 1)"}],["ease-in-out",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],[/^transition-delay-(\d+)$/,([,e])=>({"transition-delay":`${e}ms`})],[/^transition-duration-(\d+)$/,([,e])=>({"transition-duration":`${e}ms`})],[/^(?:transition-)?property-(.+)$/,([,e])=>({"transition-property":c.global(e)||Xe(e)})],["transition-property-none",{"transition-property":"none"}],["property-none",{"transition-property":"none"}],["transition-none",{transition:"none"}]];var Qe=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-(\[.+\])$/,([,e])=>({flex:c.bracket(e).replace(/\d+\/\d+/,t=>c.fraction(t))})],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["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"}]];var mn={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Je=[[/^font-(\w+)$/,([,e],{theme:t})=>{var n;let r=(n=t.fontFamily)==null?void 0:n[e];if(r)return{"font-family":r}}],[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=c.bracket.auto.rem(e);if(r)return{"font-size":r};let n=E((o=t.fontSize)==null?void 0:o[e]);if(n==null?void 0:n[0]){let[i,s]=n;return{"font-size":i,"line-height":s}}}],[/^text-size-(.+)$/,([,e])=>{let t=c.bracket.auto.rem(e);if(t)return{"font-size":t}}],[/^(?:font|fw)-?([^-]+)$/,([,e])=>{let t=mn[e]||c.number(e);if(t)return{"font-weight":t}}],[/^(?:leading|lh)-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.lineHeight)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"line-height":r}}],[/^tracking-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.letterSpacing)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"letter-spacing":r}}],[/^word-spacing-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.wordSpacing)==null?void 0:n[e])||c.bracket.auto.rem(e);if(r!==null)return{"word-spacing":r}}]],et=[[/^tab-?([^-]*)$/,([,e])=>{e=e||"4";let t=c.bracket.global.number(e);if(t!==null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],tt=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textIndent)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar.fraction.auto.rem(e);if(r!=null)return{"text-indent":r}}]],rt=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textStrokeWidth)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar.px(e);if(r!=null)return{"-webkit-text-stroke-width":r}}],[/^text-stroke-(.+)$/,k("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":c.bracket.percent(e)})]],nt=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textShadow)==null?void 0:n[e||"DEFAULT"])||c.bracket.cssvar(e);if(r!=null)return{"text-shadow":r}}]];var ot=[[/^(?:flex-|grid-)?gap-(x-|y-)?([^-]+)$/,([,e="",t])=>{let r=c.bracket.auto.rem(t);if(r!=null){let n={"":"","x-":"column-","y-":"row-"}[e];return{[`grid-${n}gap`]:r,[`${n}gap`]:r}}}]];var gn=(e,t)=>{var r;return E(((r=t.fontSize)==null?void 0:r[e])||c.bracket.auto.rem(e))[0]},it=(e,t)=>e==="min"?"min-content":e==="max"?"max-content":e==="fr"?"minmax(0,1fr)":gn(e,t),st=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?col-start-([\w.-]+)$/,([,e])=>({"grid-column-start":e})],[/^(?:grid-)?col-end-([\w.]+)$/,([,e])=>({"grid-column-end":e})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,e])=>({"grid-row-start":e})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,e])=>({"grid-row-end":e})],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>{let r=e==="row"?"grid-row":"grid-column",n=c.bracket(t);if(n)return{[r]:n};let o=t.split("-");if(o.length===1&&o[0]==="auto")return{[r]:o[0]};if(o[0]==="span"){if(o[1]==="full")return{[r]:"1/-1"};if(n=c.number.bracket(o[1]),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-columns":it(e,t)})],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,e])=>({"grid-auto-flow":e.replace("col","column").split("-").join(" ")})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-rows":it(e,t)})],[/^grid-cols-(.+)$/,([,e])=>({"grid-template-columns":c.bracket(e)})],[/^grid-rows-(.+)$/,([,e])=>({"grid-template-rows":c.bracket(e)})],[/^grid-cols-minmax-([\w.-]+)$/,([,e])=>({"grid-template-columns":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-rows-minmax-([\w.-]+)$/,([,e])=>({"grid-template-rows":`repeat(auto-fill,minmax(${e},1fr))`})],[/^grid-cols-(\d+)$/,([,e])=>({"grid-template-columns":`repeat(${e},minmax(0,1fr))`})],[/^grid-rows-(\d+)$/,([,e])=>({"grid-template-rows":`repeat(${e},minmax(0,1fr))`})]];var at=["auto","hidden","visible","scroll"],ct=[[/^(?:overflow|of)-(.+)$/,([,e])=>at.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>at.includes(t)?{[`overflow-${e}`]:t}:void 0]];var B=["auto","start","end","center","stretch"],fe=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e})],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],lt=[["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"}],...B.map(e=>[`justify-items-${e}`,{"justify-items":e}]),...B.map(e=>[`justify-self-${e}`,{"justify-self":e}])],ft=[[/^order-(.+)$/,([,e])=>({order:c.bracket.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],ut=[["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-center",{"align-content":"center"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["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"}],["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"}]],pt=[["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-center",{"place-content":"center"}],["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"}],...B.map(e=>[`place-items-${e}`,{"place-items":e}]),...B.map(e=>[`place-self-${e}`,{"place-self":e}])];function dt(e){var t;return(t={auto:"auto",full:"100%"}[e])!=null?t:c.bracket.fraction.cssvar.auto.rem(e)}var mt=[[/^(?:position-|pos-)?(top|left|right|bottom|inset)-(.+)$/,([,e,t])=>({[e]:dt(t)})],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,([,e,t])=>{let r=dt(t);if(r!=null&&e in C)return C[e].map(n=>[n.slice(1),r])}]],gt=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-none",{float:"none"}],["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-none",{clear:"none"}]],ht=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,e])=>({"z-index":c.number(e)})]],xt=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}]];var bt=Te(e=>`var(--${e}empty,/*!*/ /*!*/)`);var yt=[["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"}]],$t=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],wt=[[/^cursor-(.+)$/,([,e])=>({cursor:e})]],vt=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}]],St=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}]],Rt=[["select-auto",{"user-select":"auto"}],["select-all",{"user-select":"all"}],["select-text",{"user-select":"text"}],["select-none",{"user-select":"none"}]],kt=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],Ct=[["content-empty",{content:'""'}]],Tt=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],Et=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],At=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],zt=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],Vt=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto","font-smoothing":"auto"}]];var Pt=[[/^ring-?(.*)$/,([,e],{options:{variablePrefix:t}})=>{let r=c.px(e||"1");if(r)return{[`--${t}ring-inset`]:bt(t),[`--${t}ring-offset-width`]:"0px",[`--${t}ring-offset-color`]:"#fff",[`--${t}ring-color`]:"rgba(59, 130, 246, .5)",[`--${t}ring-offset-shadow`]:`var(--${t}ring-inset) 0 0 0 var(--${t}ring-offset-width) var(--${t}ring-offset-color)`,[`--${t}ring-shadow`]:`var(--${t}ring-inset) 0 0 0 calc(${r} + var(--${t}ring-offset-width)) var(--${t}ring-color)`,"-webkit-box-shadow":`var(--${t}ring-offset-shadow), var(--${t}ring-shadow), var(--${t}shadow, 0 0 #0000)`,"box-shadow":`var(--${t}ring-offset-shadow), var(--${t}ring-shadow), var(--${t}shadow, 0 0 #0000)`}}],[/^ring-offset$/,(e,{options:{variablePrefix:t}})=>({[`--${t}ring-offset-width`]:"1px"})],[/^ring-offset-(.+)$/,([,e],{options:{variablePrefix:t}})=>({[`--${t}ring-offset-width`]:c.px(e||"1")})],[/^ring-(.+)$/,(e,t)=>k(`--${t.options.variablePrefix}ring-color`,"ring")(e,t)],[/^ring-op(?:acity)?-?(.+)$/,([,e],{options:{variablePrefix:t}})=>({[`--${t}ring-opacity`]:c.bracket.percent(e)})],[/^ring-offset-(.+)$/,(e,t)=>k(`--${t.options.variablePrefix}ring-offset-color`,"ring-offset")(e,t)],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e],{options:{variablePrefix:t}})=>({[`--${t}ring-offset-opacity`]:c.bracket.percent(e)})],[/^ring-inset$/,(e,{options:{variablePrefix:t}})=>({[`--${t}ring-inset`]:"inset"})]];var hn=(e,t)=>{let r=M(e,t);if(!r)return;let{color:n,rgba:o}=r;if(!!n)return o?{"--un-shadow-color":`${o.slice(0,3).join(",")}`}:{"--un-shadow-color":n}},jt=[[/^shadow-?(.*)$/,([,e],{theme:t})=>{var n;let r=(n=t.boxShadow)==null?void 0:n[e||"DEFAULT"];if(r)return{"--un-shadow-color":"0,0,0","--un-shadow":r,"box-shadow":"var(--un-ring-offset-shadow, 0 0 #0000), var(--un-ring-shadow, 0 0 #0000), var(--un-shadow)"}}],[/^shadow-(.+)$/,([,e],{theme:t})=>hn(e,t)]];function Ut(e,t){return`${e?`${e}-`:""}${t==="h"?"height":"width"}`}function xn(e,t,r,n){var i;let o=`${t==="h"?"height":"width"}`;return e&&(o=`${e}${Le(o)}`),(i=r[o])==null?void 0:i[n]}var Ft=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,e,t,r],{theme:n})=>{let o=xn(e,t,n,r)||c.bracket.cssvar.fraction.auto.rem(r);if(o!=null)return{[Ut(e,t)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var i;let o=(i=n.breakpoints)==null?void 0:i[r];if(o!=null)return{[Ut(e,t)]:o}}]],Mt=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,e])=>{let t=(/^\d+\/\d+$/.test(e)?e:null)||c.bracket.cssvar.number(e);if(t!=null)return{"aspect-ratio":t}}]];var Ot=[[/^pa?()-?(-?.+)$/,j("padding")],[/^p-?([xy])-?(-?.+)$/,j("padding")],[/^p-?([rltbse])-?(-?.+)$/,j("padding")]],_t=[[/^ma?()-?(-?.+)$/,j("margin")],[/^m-?([xy])-?(-?.+)$/,j("margin")],[/^m-?([rltbse])-?(-?.+)$/,j("margin")]];var I="$$no-pseudo",G=Object.fromEntries(["any-link","link","visited","target","hover","active","focus-visible","focus-within","focus","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","required","optional","root","empty",["even-of-type","nth-of-type(even)"],["even","nth-child(even)"],["odd-of-type","nth-of-type(odd)"],["odd","nth-child(odd)"],"first-of-type",["first","first-child"],"last-of-type",["last","last-child"],"only-child","only-of-type"].map(E)),bn=["placeholder","before","after","first-letter","first-line","selection"],yn=["not","is","where","has"],$n=/(part-\[(.+)]:)(.+)/,wn=new RegExp(`^(${bn.join("|")})[:-]`),ue=Object.keys(G).join("|"),Dt=yn.join("|"),vn=new RegExp(`^(${ue})[:-]`),Sn=new RegExp(`^(${Dt})-(${ue})[:-]`);function q(e){return!e.find(t=>t[0]===I)||void 0}var Nt=(e,t,r)=>{let n=new RegExp(`^${e}-((?:(${Dt})-)?(${ue}))[:-]`),o=new RegExp(`^${Se(t)}:`);return i=>{let s=i.match(n);if(s){let a=G[s[3]]||s[3];return s[2]&&(a=`${s[2]}(:${a})`),{matcher:i.slice(s[1].length+e.length+2),selector:(l,f)=>q(f)&&o.test(l)?l.replace(o,`${t}:${a}:`):`${t}:${a}${r}${l}`}}}},Lt=e=>{let t=e.match(wn);if(t)return{matcher:e.slice(t[1].length+1),selector:r=>`${r}::${t[1]}`}},Kt={match:e=>{let t=e.match(vn);if(t){let r=G[t[1]]||t[1];return{matcher:e.slice(t[1].length+1),selector:(n,o)=>q(o)&&`${n}:${r}`}}},multiPass:!0},Ht={match:e=>{let t=e.match(Sn);if(t){let r=t[1],n=G[t[2]]||t[2];return{matcher:e.slice(t[1].length+t[2].length+2),selector:(o,i)=>q(i)&&`${o}:${r}(:${n})`}}},multiPass:!0},Wt={match:(e,{options:{attributifyPseudo:t}})=>{let r=Nt("group",t?'[group=""]':".group"," ")(e);if(r)return r;let n=Nt("peer",t?'[peer=""]':".peer","~")(e);if(n)return n},multiPass:!0},Bt={match:e=>{let t=e.match($n);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:(n,o)=>q(o)&&`${n}::${r}`}}},multiPass:!0};var Rn={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))",[I]:""},It={transform:"rotate(var(--un-rotate)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z))",[I]:""},U=R({"--un-rotate":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},It),Gt=[["transform",U],[/^preserve-(3d|flat)$/,([,e])=>({"transform-style":e==="3d"?`preserve-${e}`:e})],[/^translate()-(.+)$/,qt],[/^translate-([xyz])-(.+)$/,qt],[/^scale()-(.+)$/,Yt],[/^scale-([xyz])-(.+)$/,Yt],[/^rotate-(.+)$/,Cn],[/^rotate-((?!\[)[^-]+?)(?:deg)?$/,kn],[/^skew-([xy])-(.+)$/,En],[/^skew-([xy])-((?!\[)[^-]+?)(?:deg)?$/,Tn],["transform-gpu",Rn],["transform-cpu",It],["transform-none",{transform:"none"}],["origin-center",{"transform-origin":"center"}],["origin-top",{"transform-origin":"top"}],["origin-top-right",{"transform-origin":"top right"}],["origin-right",{"transform-origin":"right"}],["origin-bottom-right",{"transform-origin":"bottom right"}],["origin-bottom",{"transform-origin":"bottom"}],["origin-bottom-left",{"transform-origin":"bottom left"}],["origin-left",{"transform-origin":"left"}],["origin-top-left",{"transform-origin":"top left"}]];function qt([,e,t]){let r=c.bracket.fraction.auto.rem(t);if(r!=null)return[U,[...Q[e].map(n=>[`--un-translate${n}`,r])]]}function Yt([,e,t]){let r=c.bracket.fraction.percent(t);if(r!=null)return[U,[...Q[e].map(n=>[`--un-scale${n}`,r])]]}function kn([,e]){let t=c.bracket.number(e);if(t!=null)return[U,{"--un-rotate":`${t}deg`}]}function Cn([,e]){let t=c.bracket(e);if(t!=null)return[U,{"--un-rotate":t}]}function Tn([,e,t]){let r=c.bracket.number(t);if(r!=null)return[U,{[`--un-skew-${e}`]:`${r}deg`}]}function En([,e,t]){let r=c.bracket(t);if(r!=null)return[U,{[`--un-skew-${e}`]:r}]}var An={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",b:"border-color",border:"border-color",color:"color",case:"text-transform",origin:"transform-origin",bg:"background-color","bg-opacity":"background-opacity",tab:"tab-size",underline:"text-decoration-thickness","underline-offset":"text-underline-offset",text:"color","grid-cols":"grid-template-columns","grid-rows":"grid-template-rows","auto-flow":"grid-auto-flow","row-start":"grid-row-start","row-end":"grid-row-end",justify:"justify-content",content:"align-content",items:"align-items",self:"align-self",object:"object-fit"},Xt=[[/^(.+)-\$(.+)$/,([,e,t])=>{let r=An[e];if(r)return{[r]:`var(--${t})`}}],[/^(?:border|b)-([^-]+)-\$(.+)$/,([,e,t])=>{if(e in C)return C[e].map(r=>[`border${r}-color`,`var(--${t})`])}]];var Zt=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.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}}
3
+ ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]];var Qt=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["decoration-underline",{"text-decoration":"underline"}],["decoration-line-through",{"text-decoration":"line-through"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,([,e])=>({"text-decoration-thickness":c.bracket.px(e)})],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e})],[/^(?:underline|decoration)-(.+)$/,(e,t)=>{let r=k("text-decoration-color","line")(e,t);if(r)return R({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":c.bracket.percent(e)})],[/^underline-offset-(.+)$/,([,e])=>({"text-underline-offset":c.auto.bracket.px(e)})],[/^(?:underline|decoration)-(solid|double|dotted|dashed|wavy|inherit|initial|revert|unset)$/,([,e])=>({"text-decoration-style":e})],["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];var Jt=[[/^fill-(.+)$/,k("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":c.bracket.percent(e)})],["fill-none",{fill:"none"}],[/^stroke-(?:size-|width-)?(.+)$/,([,e])=>{let t=c.bracket.fraction.px.number(e);if(t)return{"stroke-width":t}}],[/^stroke-(.+)$/,k("stroke","stroke")],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":c.bracket.percent(e)})],["stroke-none",{stroke:"none"}]];var er=[Xt,Ot,_t,yt,Ge,Ye,Jt,Be,Ct,Je,et,tt,Et,Qt,rt,nt,At,ve,qe,zt,Vt,jt,Pt,Qe,st,ot,fe,Ft,Mt,wt,$t,vt,St,we,Rt,kt,Tt,ct,Ke,He,fe,ft,lt,ut,pt,mt,gt,ht,xt,Ze,Gt,We,Zt].flat(1);var pe={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"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f"},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(pe).forEach(e=>{typeof e!="string"&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))});var tr={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(",")},rr={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"]},nr={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},or={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},ir={DEFAULT:"0px 0px 1px rgb(0 0 0/20%), 0px 0px 1px rgb(1 0 5/10%)",sm:"1px 1px 3px rgb(36 37 47 / 25%)",md:"0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)",lg:"3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)",xl:"1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)",none:"none"},sr={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},de={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ar=de;var cr={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},lr={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},fr={DEFAULT:"0 1px 3px 0 rgba(var(--un-shadow-color), 0.1), 0 1px 2px 0 rgba(var(--un-shadow-color), 0.06)",sm:"0 1px 2px 0 rgba(var(--un-shadow-color), 0.05)",md:"0 4px 6px -1px rgba(var(--un-shadow-color), 0.1), 0 2px 4px -1px rgba(var(--un-shadow-color), 0.06)",lg:"0 10px 15px -3px rgba(var(--un-shadow-color), 0.1), 0 4px 6px -2px rgba(var(--un-shadow-color), 0.05)",xl:"0 20px 25px -5px rgba(var(--un-shadow-color), 0.1), 0 10px 10px -5px rgba(var(--un-shadow-color), 0.04)","2xl":"25px 50px -12px rgba(var(--un-shadow-color), 0.25)",inner:"inset 0 2px 4px 0 rgba(var(--un-shadow-color), 0.06)",none:"none"};var ur={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},pr={DEFAULT:["0 1px 2px rgba(0, 0, 0, 0.1)","0 1px 1px rgba(0, 0, 0, 0.06)"],sm:"0 1px 1px rgba(0,0,0,0.05)",md:["0 4px 3px rgba(0, 0, 0, 0.07)","0 2px 2px rgba(0, 0, 0, 0.06)"],lg:["0 10px 8px rgba(0, 0, 0, 0.04)","0 4px 3px rgba(0, 0, 0, 0.1)"],xl:["0 20px 13px rgba(0, 0, 0, 0.03)","0 8px 5px rgba(0, 0, 0, 0.08)"],"2xl":"0 25px 25px rgba(0, 0, 0, 0.15)",none:"0 0 #0000"};var Y={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",min:"min-content",max:"max-content",prose:"65ch"},dr=A(R({auto:"auto"},Y),{screen:"100vw"}),me=A(R({none:"none"},Y),{screen:"100vw"}),mr=A(R({auto:"auto"},Y),{screen:"100vh"}),ge=A(R({none:"none"},Y),{screen:"100vh"});var gr={width:dr,height:mr,maxWidth:me,maxHeight:ge,minWidth:me,minHeight:ge,colors:pe,fontFamily:tr,fontSize:rr,breakpoints:cr,borderRadius:lr,lineHeight:sr,letterSpacing:de,wordSpacing:ar,boxShadow:fr,textIndent:nr,textShadow:ir,textStrokeWidth:or,blur:ur,dropShadow:pr};var he={},hr=(e,{theme:t})=>{let r=Object.entries(t.breakpoints||{}).map(([n,o],i)=>[n,o,i]);for(let[n,o,i]of r){he[n]||(he[n]=new RegExp(`^((?:[al]t-)?${n}[:-])`));let s=e.match(he[n]);if(!s)continue;let[,a]=s,l=e.slice(a.length);if(l==="container")continue;let f="min",d=1e3;return a.startsWith("lt-")?(f="max",d-=i+1):d+=i+1,a.startsWith("at-")&&i<r.length-1?{matcher:l,parent:[`@media (min-width: ${o}) and (max-width: ${r[i+1][1]})`,d]}:{matcher:l,parent:[`@media (${f}-width: ${o})`,d]}}};var xr=[T("all",e=>`${e} *`),T("children",e=>`${e}>*`),T("next",e=>`${e}+*`),T("sibling",e=>`${e}+*`),T("siblings",e=>`${e}~*`),T("svg",e=>`${e} svg *`)];var br=[(e,{options:{dark:t}})=>{if(t==="class"){let r=T("dark",n=>`.dark $$ ${n}`)(e);if(r)return r}},(e,{options:{dark:t}})=>{if(t==="class"){let r=T("light",n=>`.light $$ ${n}`)(e);if(r)return r}},(e,{options:{dark:t}})=>{if(t==="media"){let r=T("dark")(e);if(r)return A(R({},r),{parent:"@media (prefers-color-scheme: dark)"})}},(e,{options:{dark:t}})=>{if(t==="media"){let r=T("light")(e);if(r)return A(R({},r),{parent:"@media (prefers-color-scheme: light)"})}}];var yr={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},$r={match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{var n,o;r[0].startsWith("--un-scale")||((n=r[1])==null?void 0:n.toString())==="0"||(r[1]=(o=r[1])==null?void 0:o.toString().replace(/[0-9.]+(?:[a-z]+|%)?/,i=>`-${i}`))}),t)}}},wr=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}};var vr=[wr,$r,yr,hr,...xr,Kt,Ht,Wt,Lt,Bt,...br];var zn=(e={})=>{var t,r,n;return e.dark=(t=e.dark)!=null?t:"class",e.attributifyPseudo=(r=e.attributifyPseudo)!=null?r:!1,e.variablePrefix=(n=e.variablePrefix)!=null?n:"un-",{name:"@unocss/preset-mini",theme:gr,rules:er,variants:vr,options:e}},Sr=zn;var Vn=["v-bind:",":"],Rr=/[\s'"`;]+/g,Pn=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,jn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,kr={name:"attributify",extract({code:e,options:{ignoreAttributes:t,nonValuedAttribute:r}}){let n=Array.from(e.matchAll(Pn)).flatMap(o=>Array.from((o[1]||"").matchAll(jn))).flatMap(([,o,i,s])=>{if(t==null?void 0:t.includes(o))return[];for(let a of Vn)if(o.startsWith(a)){o=o.slice(a.length);break}return s?["class","className"].includes(o)?s.split(Rr).filter(D):s.split(Rr).filter(Boolean).map(a=>`[${o}~="${a}"]`):D(o)&&r!==!1?[`[${o}=""]`]:[]});return new Set(n)}};var Un=/^(.+\:\!?)?(.*?)$/,Cr=(e,{options:{prefix:t,prefixedOnly:r}})=>{let n=Ae(e);if(!n)return;let o=n[1];if(o.startsWith(t))o=o.slice(t.length);else if(r)return;let i=n[2],[,s="",a=i]=i.match(Un)||[];return a==="~"||!a?`${s}${o}`:`${s}${o}-${a}`};var Fn=(e={})=>{var n,o,i,s,a;e.strict=(n=e.strict)!=null?n:!1,e.prefix=(o=e.prefix)!=null?o:"un-",e.prefixedOnly=(i=e.prefixedOnly)!=null?i:!1,e.nonValuedAttribute=(s=e.nonValuedAttribute)!=null?s:!0,e.ignoreAttributes=(a=e.ignoreAttributes)!=null?a:[];let t=[Cr],r=[kr];return e.strict||r.unshift(N),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},Tr=Fn;function xe(e={}){var b;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(e,(b=window.__unocss)==null?void 0:b.runtime);let t,r=!1,n,o=_e(window.__unocss||{},e.defaults),i=new Set,s;function a(){s!=null&&clearTimeout(s),s=setTimeout(l,0)}async function l(){let h=await o.generate(i);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=h.css}async function f(h){await o.applyExtractors(h,void 0,i),a()}async function d(){let h=document.body&&document.body.outerHTML;h&&await f(h)}let y=new MutationObserver(h=>{r||h.forEach(P=>{let u=P.target;if(u===t||n&&!n(u))return;let g=Array.from(u.attributes).map(x=>x.value?`${x.name}="${x.value}"`:x.name).join(" "),m=`<${u.tagName.toLowerCase()} ${g}>`;f(m)})}),$=!1;function w(){if(!$)return;let h=document.documentElement||document.body;!h||(y.observe(h,{childList:!0,subtree:!0,attributes:!0}),$=!0)}function p(){d(),w()}window.__unocss_runtime=window.__unocss_runtime={version:o.version,uno:o,extractAll:d,inspect(h){n=h},toggleObserver(h){h===void 0?r=!r:r=!!h}},p(),window.addEventListener("load",p),window.addEventListener("DOMContentLoaded",p)}xe({defaults:{presets:[Sr(),Tr()]}});})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
- "version": "0.18.1",
3
+ "version": "0.19.0",
4
4
  "description": "CSS-in-JS Runtime for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -34,9 +34,9 @@
34
34
  "dist"
35
35
  ],
36
36
  "dependencies": {
37
- "@unocss/core": "0.18.1",
38
- "@unocss/preset-attributify": "0.18.1",
39
- "@unocss/preset-uno": "0.18.1"
37
+ "@unocss/core": "0.19.0",
38
+ "@unocss/preset-attributify": "0.19.0",
39
+ "@unocss/preset-uno": "0.19.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "pnpm run build:node && pnpm run build:cdn",