@unocss/runtime 0.15.5 → 0.15.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributify.global.js +4 -4
- package/core.global.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -3
- package/dist/index.mjs +19 -3
- package/mini.global.js +3 -3
- package/package.json +4 -4
- package/uno.global.js +4 -4
package/dist/index.js
CHANGED
|
@@ -35,6 +35,8 @@ function init(options = {}) {
|
|
|
35
35
|
}
|
|
36
36
|
Object.assign(options, (_a = window.__unocss) == null ? void 0 : _a.runtime);
|
|
37
37
|
let el;
|
|
38
|
+
let paused = false;
|
|
39
|
+
let inspector;
|
|
38
40
|
const uno = (0, import_core.createGenerator)(window.__unocss || {}, options.defaults);
|
|
39
41
|
const tokens = new Set();
|
|
40
42
|
let _timer;
|
|
@@ -56,14 +58,19 @@ function init(options = {}) {
|
|
|
56
58
|
scheduleUpdate();
|
|
57
59
|
}
|
|
58
60
|
function extractAll() {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
const html = document.body && document.body.outerHTML;
|
|
62
|
+
if (html)
|
|
63
|
+
extract(html);
|
|
61
64
|
}
|
|
62
65
|
const mutationObserver = new MutationObserver((mutations) => {
|
|
66
|
+
if (paused)
|
|
67
|
+
return;
|
|
63
68
|
mutations.forEach((mutation) => {
|
|
64
69
|
const target = mutation.target;
|
|
65
70
|
if (target === el)
|
|
66
71
|
return;
|
|
72
|
+
if (inspector && !inspector(target))
|
|
73
|
+
return;
|
|
67
74
|
const attrs = Array.from(target.attributes).map((i) => i.value ? `${i.name}="${i.value}"` : i.name).join(" ");
|
|
68
75
|
const tag = `<${target.tagName.toLowerCase()} ${attrs}>`;
|
|
69
76
|
extract(tag);
|
|
@@ -90,7 +97,16 @@ function init(options = {}) {
|
|
|
90
97
|
window.__unocss_runtime = window.__unocss_runtime = {
|
|
91
98
|
version: uno.version,
|
|
92
99
|
uno,
|
|
93
|
-
extractAll
|
|
100
|
+
extractAll,
|
|
101
|
+
inspect(callback) {
|
|
102
|
+
inspector = callback;
|
|
103
|
+
},
|
|
104
|
+
toggleObserver(set) {
|
|
105
|
+
if (set === void 0)
|
|
106
|
+
paused = !paused;
|
|
107
|
+
else
|
|
108
|
+
paused = !!set;
|
|
109
|
+
}
|
|
94
110
|
};
|
|
95
111
|
execute();
|
|
96
112
|
window.addEventListener("load", execute);
|
package/dist/index.mjs
CHANGED
|
@@ -8,6 +8,8 @@ function init(options = {}) {
|
|
|
8
8
|
}
|
|
9
9
|
Object.assign(options, (_a = window.__unocss) == null ? void 0 : _a.runtime);
|
|
10
10
|
let el;
|
|
11
|
+
let paused = false;
|
|
12
|
+
let inspector;
|
|
11
13
|
const uno = createGenerator(window.__unocss || {}, options.defaults);
|
|
12
14
|
const tokens = new Set();
|
|
13
15
|
let _timer;
|
|
@@ -29,14 +31,19 @@ function init(options = {}) {
|
|
|
29
31
|
scheduleUpdate();
|
|
30
32
|
}
|
|
31
33
|
function extractAll() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
const html = document.body && document.body.outerHTML;
|
|
35
|
+
if (html)
|
|
36
|
+
extract(html);
|
|
34
37
|
}
|
|
35
38
|
const mutationObserver = new MutationObserver((mutations) => {
|
|
39
|
+
if (paused)
|
|
40
|
+
return;
|
|
36
41
|
mutations.forEach((mutation) => {
|
|
37
42
|
const target = mutation.target;
|
|
38
43
|
if (target === el)
|
|
39
44
|
return;
|
|
45
|
+
if (inspector && !inspector(target))
|
|
46
|
+
return;
|
|
40
47
|
const attrs = Array.from(target.attributes).map((i) => i.value ? `${i.name}="${i.value}"` : i.name).join(" ");
|
|
41
48
|
const tag = `<${target.tagName.toLowerCase()} ${attrs}>`;
|
|
42
49
|
extract(tag);
|
|
@@ -63,7 +70,16 @@ function init(options = {}) {
|
|
|
63
70
|
window.__unocss_runtime = window.__unocss_runtime = {
|
|
64
71
|
version: uno.version,
|
|
65
72
|
uno,
|
|
66
|
-
extractAll
|
|
73
|
+
extractAll,
|
|
74
|
+
inspect(callback) {
|
|
75
|
+
inspector = callback;
|
|
76
|
+
},
|
|
77
|
+
toggleObserver(set) {
|
|
78
|
+
if (set === void 0)
|
|
79
|
+
paused = !paused;
|
|
80
|
+
else
|
|
81
|
+
paused = !!set;
|
|
82
|
+
}
|
|
67
83
|
};
|
|
68
84
|
execute();
|
|
69
85
|
window.addEventListener("load", execute);
|
package/mini.global.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{var ee=Object.defineProperty,re=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var lt=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var ft=(t,e,r)=>e in t?ee(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,$=(t,e)=>{for(var r in e||(e={}))oe.call(e,r)&&ft(t,r,e[r]);if(lt)for(var r of lt(e))se.call(e,r)&&ft(t,r,e[r]);return t},S=(t,e)=>re(t,ne(e));var Z={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(Z).forEach(t=>{typeof t!="string"&&(t.DEFAULT=t.DEFAULT||t[400],Object.keys(t).forEach(e=>{let r=+e/100;r===Math.round(r)&&(t[r]=t[e])}))});var ie={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(",")},ae={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"]},ce={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},le={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},fe={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"},ue={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},ut={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},de=ut,pe={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},me={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ge={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"},he={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},be={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"},L={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"},xe=S($({auto:"auto"},L),{screen:"100vw"}),dt=S($({none:"none"},L),{screen:"100vw"}),ye=S($({auto:"auto"},L),{screen:"100vh"}),pt=S($({none:"none"},L),{screen:"100vh"}),mt={width:xe,height:ye,maxWidth:dt,maxHeight:pt,minWidth:dt,minHeight:pt,colors:Z,fontFamily:ie,fontSize:ae,breakpoints:pe,borderRadius:me,lineHeight:ue,letterSpacing:ut,wordSpacing:de,boxShadow:ge,textIndent:ce,textShadow:fe,textStrokeWidth:le,blur:he,dropShadow:be};function we(t){let e=t.length,r=-1,n,o="",s=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&s===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var K=we;function O(t){return(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function gt(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>O(e)):[t]:[O(t)]}function $e(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}function W(t){return t==null?"":$e(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function Q(t){return t&&typeof t=="object"&&!Array.isArray(t)}function J(t,e){let r=t,n=e;if(Array.isArray(r)&&Array.isArray(n))return[...r,...n];if(Array.isArray(r))return[...r];let o=$({},r);return Q(r)&&Q(n)&&Object.keys(n).forEach(s=>{Q(n[s])?s in r?o[s]=J(r[s],n[s]):Object.assign(o,{[s]:n[s]}):Object.assign(o,{[s]:n[s]})}),o}function ht(t){return typeof t[0]=="string"}function bt(t){return typeof t[0]=="string"}function k(t=[]){return Array.isArray(t)?t:[t]}function B(t){return Array.from(new Set(t))}var ve=/^#?([\da-f]+)$/i;function xt(t=""){let[,e]=t.match(ve)||[];if(!!e)switch(e.length){case 3:case 4:let r=Array.from(e,o=>Number.parseInt(o,16)).map(o=>o<<4|o);return e.length===3||(r[3]=Math.round(r[3]/255*100)/100),r;case 6:case 8:let n=Number.parseInt(e,16);return e.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 Se=/^\[(.+?)~?="(.*)"\]$/,ke=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function yt(t){return t.match(Se)}function P(t=""){return ke.test(t)}function wt(t){return typeof t=="function"?{match:t}:t}function tt(t){return t.length===3}function $t(t){return t!=null}var et=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){var n;return(n=this._map.get(e))==null?void 0:n.has(r)}delete(e,r){var n;return((n=this._map.get(e))==null?void 0:n.delete(r))||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,s])=>e(s,r,o)))}};var Ce=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function vt(t){let e=[],r;for(;r=Ce.exec(t);){let o=r.index,s=o+r[0].length,[,i,a,c]=r,d=c.split(/\s/g).map(p=>p.replace(/^(!?)(.*)/,`$1${i}${a}$2`)).join(" ");e.unshift([o,s,d])}let n=t;return e.forEach(([o,s,i])=>{n=n.slice(0,o)+i+n.slice(s)}),n}var St=new Set;function kt(t){St.has(t)||(console.warn("[unocss]",t),St.add(t))}var G={name:"split",order:0,extract({code:t}){return new Set(t.split(/[\s'"`;>=]+/g).filter(P))}};function Ae(t){return k(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Ee={shortcuts:-1,default:0};function rt(t={},e={}){let r=Object.assign({},e,t),n=(r.presets||[]).flatMap(k),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],s=Object.assign(Ee,...n.map(u=>u.layers),t.layers);function i(u){return B([...o.flatMap(h=>k(h[u]||[])),...k(r[u]||[])])}let a=i("extractors");a.length||a.push(G),a.sort((u,h)=>(u.order||0)-(h.order||0));let c=i("rules"),d={},p=c.length;c.forEach((u,h)=>{ht(u)&&(d[u[0]]=[h,u[1],u[2]],delete c[h])});let b=[...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>J(u,h),{});return S($({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:b,rulesSize:p,rulesDynamic:c,rulesStaticMap:d,preflights:i("preflights"),variants:i("variants").map(wt),shortcuts:Ae(i("shortcuts")),extractors:a})}var Ct="0.15.5";var At=class{constructor(e={},r={}){this.userConfig=e;this.defaults=r;this.config=rt(e,r)}version=Ct;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(e,r){!e||(r&&(this.defaults=r),this.userConfig=e,this.config=rt(e,this.defaults),this.blocked.clear(),this.parentOrders.clear(),this._cache.clear())}async applyExtractors(e,r,n=new Set){let o={get original(){return e},code:e,id:r};for(let s of this.config.extractors){let i=await s.extract(o);i==null||i.forEach(a=>n.add(a))}return n}async generate(e,{id:r,scope:n,preflights:o=!0,safelist:s=!0,minify:i=!1}={}){let a=typeof e=="string"?await this.applyExtractors(e,r):e;s&&this.config.safelist.forEach(f=>a.add(f));let c=i?"":`
|
|
2
|
-
`,d=new Set(["default"]),p=new Set,b=new Map,u=(f,g)=>{var m;this._cache.set(f,g),p.add(f);for(let x of g){let E=x[3]||"";b.has(E)||b.set(E,[]),b.get(E).push(x),((m=x[4])==null?void 0:m.layer)&&d.add(x[4].layer)}},h=f=>{this.blocked.add(f),this._cache.set(f,null)};await Promise.all(Array.from(a).map(async f=>{var _;if(p.has(f)||this.blocked.has(f))return;if(this._cache.has(f)){let y=this._cache.get(f);y&&u(f,y);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 x={rawSelector:f,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...y)=>this.constructCustomCSS(x,...y)},E=this.expandShortcut(m[1],x);if(E){let y=await this.stringifyShortcuts(m,x,E[0],E[1]);if(y==null?void 0:y.length)return u(f,y)}else{let y=(_=await this.parseUtil(m,x))==null?void 0:_.map(w=>this.stringifyUtil(w)).filter($t);if(y==null?void 0:y.length)return u(f,y)}this._cache.set(f,null)})),o&&this.config.preflights.forEach(f=>{f.layer&&d.add(f.layer)});let v={},U=this.config.sortLayers(Array.from(d).sort((f,g)=>{var m,x;return((m=this.config.layers[f])!=null?m:0)-((x=this.config.layers[g])!=null?x:0)||f.localeCompare(g)})),A=f=>{if(v[f])return v[f];let g=Array.from(b).sort((m,x)=>(this.parentOrders.get(m[0])||0)-(this.parentOrders.get(x[0])||0)).map(([m,x])=>{let E=x.length,_=x.filter(w=>{var z;return(((z=w[4])==null?void 0:z.layer)||"default")===f}).sort((w,z)=>{var N;return w[0]-z[0]||((N=w[1])==null?void 0:N.localeCompare(z[1]||""))||0}).map(w=>[w[1]?Re(w[1],n):w[1],w[2]]);if(!_.length)return;let y=_.reverse().map(([w,z],N)=>{if(w&&this.config.mergeSelectors)for(let X=N+1;X<E;X++){let T=_[X];if(T&&T[0]&&T[1]===z)return T[0]=`${T[0]},${w}`,null}return w?`${w}{${z}}`:z}).filter(Boolean).reverse().join(c);return m?`${m}{${c}${y}${c}}`:y}).filter(Boolean).join(c);return o&&(g=[...this.config.preflights.filter(m=>(m.layer||"default")===f).map(m=>m.getCSS()).filter(Boolean),g].join(c)),v[f]=!i&&g?`/* layer: ${f} */${c}${g}`:g},R=(f=U,g)=>f.filter(m=>!(g==null?void 0:g.includes(m))).map(m=>A(m)||"").filter(Boolean).join(c);return{get css(){return R()},layers:U,getLayers:R,getLayer:A,matched:p}}matchVariants(e,r){let n=new Set,o=[],s=r||e,i=!1;for(;;){i=!1;for(let a of this.config.variants){if(!a.multiPass&&n.has(a))continue;let c=a.match(s,e,this.config.theme);if(!!c&&(typeof c=="string"&&(c={matcher:c}),c)){s=c.matcher,Array.isArray(c.parent)&&this.parentOrders.set(c.parent[0],c.parent[1]),o.push(c),n.add(a),i=!0;break}}if(!i)break;if(o.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,s,o]}applyVariants(e,r=e[4],n=e[1]){let o=r.reduce((s,i)=>{var a;return((a=i.body)==null?void 0:a.call(i,s))||s},e[2]);return[r.reduce((s,i)=>{var a;return((a=i.selector)==null?void 0:a.call(i,s,o))||s},Ue(n)),o,r.reduce((s,i)=>Array.isArray(i.parent)?i.parent[0]:i.parent||s,void 0)]}constructCustomCSS(e,r,n){r=O(r);let[o,s,i]=this.applyVariants([0,n||e.rawSelector,r,void 0,e.variantHandlers]),a=`${o}{${W(s)}}`;return i?`${i}{${a}}`:a}async parseUtil(e,r,n=!1){var p,b;let[o,s,i]=typeof e=="string"?this.matchVariants(e):e,a=this.config.rulesStaticMap[s];if(a&&a[1]&&(n||!((p=a[2])==null?void 0:p.internal)))return[[a[0],o,O(a[1]),a[2],i]];r.variantHandlers=i;let{rulesDynamic:c,rulesSize:d}=this.config;for(let u=d;u>=0;u--){let h=c[u];if(!h||((b=h[2])==null?void 0:b.internal)&&!n)continue;let[v,U,A]=h,R=s.match(v);if(!R)continue;let f=await U(R,r);if(!f)continue;if(typeof f=="string")return[[u,f,A]];let g=gt(f).filter(m=>m.length);if(g.length)return g.map(m=>[u,o,m,A,i])}}stringifyUtil(e){if(!e)return;if(tt(e))return[e[0],void 0,e[1],void 0,e[2]];let[r,n,o]=this.applyVariants(e),s=W(n);if(!!s)return[e[0],r,s,o,e[3]]}expandShortcut(e,r,n=3){if(n===0)return;let o,s;for(let i of this.config.shortcuts)if(bt(i)){if(i[0]===e){o=o||i[2],s=i[1];break}}else{let a=e.match(i[0]);if(a&&(s=i[1](a,r)),s){o=o||i[2];break}}if(typeof s=="string"&&(s=vt(s).split(/\s+/g)),!!s)return[s.flatMap(i=>{var a;return((a=this.expandShortcut(i,r,n-1))==null?void 0:a[0])||[i]}),o]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let s=new et,i=(await Promise.all(B(n).map(async d=>{let p=await this.parseUtil(d,r,!0);return p||kt(`unmatched utility "${d}" in shortcut "${e[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((d,p)=>d[0]-p[0]),[a,,c]=e;for(let d of i){if(tt(d))continue;let[p,b,u]=this.applyVariants(d,[...d[4],...c],a),h=s.getFallback(p,u,[[],d[0]]);h[0].push(...b),d[0]>h[1]&&(h[1]=d[0])}return s.map(([d,p],b,u)=>{let h=W(d);if(h)return[p,b,h,u,o]}).filter(Boolean)}isBlocked(e){return!e||this.config.blocklist.some(r=>typeof r=="string"?r===e:r.test(e))}};function Et(t,e){return new At(t,e)}var zt=/ \$\$ /,je=t=>t.match(zt);function Re(t,e){return je(t)?t.replace(zt,e?` ${e} `:" "):e?`${e} ${t}`:t}function Ue(t){return t.startsWith("[")?t.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(e,r,n,o)=>`[${K(r)}${n}"${K(o)}"]`):`.${K(t)}`}var M={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],a:[""]},nt={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"],"":[""]},ot={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},jt=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,_e=/^(-?[0-9.]+)$/i,Rt=/^(px)$/i;function Me(t){if(t==="auto"||t==="a")return"auto";if(t.match(Rt))return`1${t}`;let e=t.match(jt);if(!e)return;let[,r,n]=e;if(n)return t;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function Fe(t){if(t.match(Rt))return`1${t}`;let e=t.match(jt);if(!e)return;let[,r,n]=e;if(n)return t;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function Te(t){if(!_e.test(t))return;let e=parseFloat(t);if(!Number.isNaN(e))return e}function Oe(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=parseFloat(t);if(!Number.isNaN(e))return`${e/100}`}function Pe(t){if(t==="full")return"100%";let[e,r]=t.split("/"),n=parseFloat(e)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function Ve(t){if(t&&t[0]==="["&&t[t.length-1]==="]")return t.slice(1,-1).replace(/_/g," ").replace(/calc\((.*)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function De(t){if(t.startsWith("$"))return`var(--${t.slice(1)})`}function Ne(t){let e=Number(t.replace(/(s|ms)$/,""));if(!isNaN(e))return/ms|s$/.test(t)?t:`${t}ms`}function Le(t){if(["inherit","initial","unset"].includes(t))return t}var Ut={__proto__:null,rem:Me,px:Fe,number:Te,percent:Oe,fraction:Pe,bracket:Ve,cssvar:De,time:Ne,global:Le},Ke=Object.keys(Ut),l=function(t){var r;let e=((r=this.__options)==null?void 0:r.sequence)||[];this.__options.sequence=[];for(let n of e){let o=Ut[n](t);if(o!=null)return o}};function We(t,e){return t.__options||(t.__options={sequence:[]}),t.__options.sequence.push(e),t}Ke.forEach(t=>{Object.defineProperty(l,t,{enumerable:!0,get(){return We(this,t)}})});function _t(t){return t.charAt(0).toUpperCase()+t.slice(1)}var I="$$no-pseudo",V=Object.fromEntries(["active","checked","default","empty","enabled","disabled","first-of-type",["first","first-child"],"focus-visible","focus-within","focus","hover","indeterminate","invalid","last-of-type",["last","last-child"],"link","only-child","only-of-type","optional","placeholder-shown","read-only","read-write","required","root","target","valid","visited",["even-of-type","nth-of-type(even)"],["even","nth-child(even)"],["odd-of-type","nth-of-type(odd)"],["odd","nth-child(odd)"]].map(k)),Be=["before","after","first-letter","first-line","selection"],Ge=new RegExp(`^(${Be.join("|")})[:-]`),q=Object.keys(V).join("|"),Ie=new RegExp(`^(${q})[:-]`),qe=new RegExp(`^not-(${q})[:-]`),He=new RegExp(`^group-(${q})[:-]`),Ye=new RegExp(`^peer-(${q})[:-]`),Mt=t=>{let e=t.match(Ge);if(e)return{matcher:t.slice(e[1].length+1),selector:(r,n)=>D(n)&&`${r}::${e[1]}`}};function D(t){return!t.find(e=>e[0]===I)||void 0}var Ft={match:t=>{let e=t.match(Ie);if(e){let r=V[e[1]]||e[1];return{matcher:t.slice(e[1].length+1),selector:(n,o)=>D(o)&&`${n}:${r}`}}if(e=t.match(qe),e){let r=V[e[1]]||e[1];return{matcher:t.slice(e[1].length+5),selector:(n,o)=>D(o)&&`${n}:not(:${r})`}}if(e=t.match(He),e){let r=V[e[1]]||e[1];return{matcher:t.slice(e[1].length+7),selector:(n,o)=>D(o)&&n.includes(".group:")?n.replace(/\.group:/,`.group:${r}:`):`.group:${r} ${n}`}}if(e=t.match(Ye),e){let r=V[e[1]]||e[1];return{matcher:t.slice(e[1].length+6),selector:(n,o)=>D(o)&&n.includes(".peer:")?n.replace(/\.peer:/,`.peer:${r}:`):`.peer:${r} ~ ${n}`}}},multiPass:!0};var Xe={mid:"middle",base:"baseline",btm:"bottom"},Ze=[[/^(?:vertical|align|v)-(baseline|top|bottom|middle|text-top|text-bottom|mid|base|btm)$/,([,t])=>({"vertical-align":Xe[t]||t})]],Qe=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]],Tt=(t,e)=>{var d;let[r,n]=t.split(/(?:\/|:)/),[o,s="DEFAULT"]=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g);if(!o)return;let i,a=l.bracket(r),c=a||r;if(c.startsWith("#")&&(i=c.slice(1)),c.startsWith("hex-")&&(i=c.slice(4)),i=i||a,!i){let p=(d=e.colors)==null?void 0:d[o];typeof p=="string"?i=p:s&&p&&(i=p[s])}return{opacity:n,name:o,no:s,color:i,rgba:xt(i)}},C=(t,e)=>([,r],{theme:n})=>{let o=Tt(r,n);if(!o)return;let{opacity:s,color:i,rgba:a}=o;if(!i)return;let c=s?s[0]==="["?l.bracket.percent(s):parseFloat(s)/100:a==null?void 0:a[3];return a?c!=null&&!Number.isNaN(c)?(a[3]=typeof c=="string"&&!c.includes("%")?parseFloat(c):c,{[t]:`rgba(${a.join(",")})`}):{[`--un-${e}-opacity`]:1,[t]:`rgba(${a.slice(0,3).join(",")},var(--un-${e}-opacity))`}:{[t]:i.replace("%alpha",`${c||1}`)}},Je=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:l.bracket.percent.cssvar(t)})]],tr=[[/^(?:text|color|c)-(.+)$/,C("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-text-opacity":l.bracket.percent.cssvar(t)})]],er=[[/^underline-(.+)$/,(t,e)=>{let r=C("text-decoration-color","line")(t,e);if(r)return $({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^underline-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-line-opacity":l.bracket.percent(t)})]],rr=[[/^text-stroke-(.+)$/,C("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-text-stroke-opacity":l.bracket.percent(t)})]],nr=[[/^bg-(.+)$/,C("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-bg-opacity":l.bracket.percent(t)})]],or=[[/^(?:border|b)-(.+)$/,C("border-color","border")],[/^(?:border|b)-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-border-opacity":l.bracket.percent(t)})]],sr=[[/^ring-(.+)$/,C("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-ring-opacity":l.bracket.percent(t)})]],ir=[[/^ring-offset-(.+)$/,C("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-ring-offset-opacity":l.bracket.percent(t)})]],ar=[["fill-none",{fill:"none"}],[/^fill-(.+)$/,C("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/m,([,t])=>({"--un-fill-opacity":l.bracket.percent(t)})]],cr=["none","auto","dotted","dashed","solid","double","groove","ridge","inset","outset","inherit","initial","revert","unset"],lr=t=>{let e=["width","offset"].find(n=>t.startsWith(n))||"width",r=l.bracket.fraction.rem(t.replace(/^(offset\-|width\-)/,""));if(r)return{[`outline-${e}`]:r}},fr=[["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}],["outline",{"outline-style":"solid"}],[/^outline-(.+)$/,(t,e)=>{let[,r]=t;if(r==="none")return{outline:"2px solid transparent","outline-offset":"2px"};if(cr.includes(r))return{"outline-style":r};let n=lr(r);if(n)return n;let o=C("outline-color","outline-color")([t[0],t[1].replace(/^color-/,"")],e);if(o)return o}]],ur=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],dr=[[/^placeholder-opacity-(\d+)$/,([,t])=>({"placeholder-opacity":l.bracket.percent(t)})],[/^placeholder-(?!opacity)(.+)$/,(t,e)=>(t[1]=t[1].replace(/^color-/,""),C("placeholder-color","placeholder-color")(t,e))]],pr=[[/^border$/,st],[/^(?:border|b)(?:-([^-]+))?$/,st],[/^(?:border|b)(?:-([^-]+))?(?:-([^-]+))?$/,st]],mr=[[/^(?:border-)?(?:rounded|rd)$/,it],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?$/,it],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-([^-]+))?$/,it]],gr=[["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"}]],hr=[pr,or,gr,mr].flat(1);function st([,t,e]){let[r,n="1"]=M[t]?[t,e]:["",t],o=l.bracket.px(n);if(o!=null)return[...M[r].map(s=>[`border${s}-width`,o]),["border-style","solid"]]}function it([,t,e],{theme:r}){var i;let[n,o="DEFAULT"]=nt[t]?[t,e]:["",t],s=((i=r.borderRadius)==null?void 0:i[o])||l.bracket.fraction.rem(o);if(s!=null)return nt[n].map(a=>[`border${a}-radius`,s])}var br=["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"],xr=["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"],wr=["all","none"],$r=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],Ot=[...br,...xr,...yr,...$r],vr=Ot.join(", "),Pt=t=>{if(!(t&&![...Ot,...wr].includes(t)))return t||vr},Sr=[[/^transition(?:-([a-z-]+))?(?:-(\d+))?$/,([,t,e="150"])=>{let r=Pt(t);if(!!r)return{"transition-property":r,"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)","transition-duration":`${e}ms`}}],[/^duration-(\d+)$/,([,t="150"])=>({"transition-duration":`${t}ms`})],["ease",{"transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}],["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+)$/,([,t])=>({"transition-delay":`${t}ms`})],[/^transition-duration-(\d+)$/,([,t])=>({"transition-duration":`${t}ms`})],[/^(?:transition-)?property-([a-z-]+)$/,([,t])=>{let e=Pt(t);if(e)return{"transition-property":e}}]],kr=[["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^flex-\[(.+)\]$/,([,t])=>({flex:t})],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}]],Cr=[[/^font-(\w+)$/,([,t],{theme:e})=>{var n;let r=(n=e.fontFamily)==null?void 0:n[t];if(r)return{"font-family":r}}]],Ar={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Er=[[/^text-(.+)$/,([,t="base"],{theme:e})=>{var o;let r=l.bracket.rem(t);if(r)return{"font-size":r};let n=k((o=e.fontSize)==null?void 0:o[t]);if(n==null?void 0:n[0]){let[s,i]=n;return{"font-size":s,"line-height":i}}}]],zr=[[/^(?:font|fw)-?([^-]+)$/,([,t])=>{let e=Ar[t]||l.number(t);if(e)return{"font-weight":e}}]],jr=[[/^(?:leading|lh)-([^-]+)$/,([,t],{theme:e})=>{var n;let r=((n=e.lineHeight)==null?void 0:n[t])||l.bracket.rem(t);if(r!==null)return{"line-height":r}}]],Rr=[[/^tracking-([^-]+)$/,([,t],{theme:e})=>{var n;let r=((n=e.letterSpacing)==null?void 0:n[t])||l.bracket.rem(t);if(r!==null)return{"letter-spacing":r}}]],Ur=[[/^word-spacing-([^-]+)$/,([,t],{theme:e})=>{var n;let r=((n=e.wordSpacing)==null?void 0:n[t])||l.bracket.rem(t);if(r!==null)return{"word-spacing":r}}]],_r=[[/^tab-?([^-]*)$/,([,t])=>{t=t||"4";let e=l.bracket.global.number(t);if(e!==null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Mr=[[/^underline-([^-]+)$/,([,t])=>{let e=t==="auto"?t:l.bracket.px(t);if(e!=null)return{"text-decoration-thickness":e}}]],Fr=[[/^underline-offset-([^-]+)$/,([,t])=>{let e=t==="auto"?t:l.bracket.px(t);if(e!=null)return{"text-underline-offset":e}}]],Tr=[[/^indent(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=((n=e.textIndent)==null?void 0:n[t||"DEFAULT"])||l.bracket.cssvar.fraction.rem(t);if(r!=null)return{"text-indent":r}}]],Or=[[/^text-stroke(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=((n=e.textStrokeWidth)==null?void 0:n[t||"DEFAULT"])||l.bracket.cssvar.px(t);if(r!=null)return{"-webkit-text-stroke-width":r}}]],Pr=[[/^text-shadow(?:-(.+))?$/,([,t],{theme:e})=>{var n;let r=((n=e.textShadow)==null?void 0:n[t||"DEFAULT"])||l.bracket.cssvar(t);if(r!=null)return{"text-shadow":r}}]],Vr=[Cr,Er,zr].flat(1),Dr=[[/^(?:flex-|grid-)?gap-([^-]+)$/,([,t])=>{let e=l.bracket.rem(t);if(e!=null)return{"grid-gap":e,gap:e}}],[/^(?:flex-|grid-)?gap-x-([^-]+)$/,([,t])=>{let e=l.bracket.rem(t);if(e!=null)return{"grid-column-gap":e,"column-gap":e}}],[/^(?:flex-|grid-)?gap-y-([^-]+)$/,([,t])=>{let e=l.bracket.rem(t);if(e!=null)return{"grid-row-gap":e,"row-gap":e}}]],Nr=(t,e)=>{var r;return k(((r=e.fontSize)==null?void 0:r[t])||l.bracket.rem(t))[0]},Vt=(t,e)=>t==="min"?"min-content":t==="max"?"max-content":t==="fr"?"minmax(0,1fr)":Nr(t,e),Lr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^grid-cols-minmax-([\w.-]+)$/,([,t])=>({"grid-template-columns":`repeat(auto-fill, minmax(${t}, 1fr))`})],[/^grid-rows-minmax-([\w.-]+)$/,([,t])=>({"grid-template-rows":`repeat(auto-fill, minmax(${t}, 1fr))`})],[/^grid-cols-(\d+)$/,([,t])=>({"grid-template-columns":`repeat(${t},minmax(0,1fr))`})],[/^grid-rows-(\d+)$/,([,t])=>({"grid-template-rows":`repeat(${t},minmax(0,1fr))`})],[/^grid-cols-\[(.+)\]$/,([,t])=>({"grid-template-columns":t.replace(/,/g," ")})],[/^grid-rows-\[(.+)\]$/,([,t])=>({"grid-template-rows":t.replace(/,/g," ")})],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>{var s;let r=t==="row"?"grid-row":"grid-column",n=l.bracket(e);if(n)return{[r]:n};let o=e.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=(s=l.number.bracket(o[1]))==null?void 0:s.toString().replace(/_/g," "),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,t])=>({"grid-auto-flow":`${t.replace("col","column").split("-").join(" ")}`})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,t])=>({"grid-row-start":`${t}`})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,t])=>({"grid-row-end":`${t}`})],[/^(?:grid-)?col-start-([\w.-]+)$/,([,t])=>({"grid-column-start":`${t}`})],[/^(?:grid-)?col-end-([\w.]+)$/,([,t])=>({"grid-column-end":`${t}`})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,t],{theme:e})=>({"grid-auto-rows":`${Vt(t,e)}`})],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,t],{theme:e})=>({"grid-auto-columns":`${Vt(t,e)}`})]],Dt=["auto","hidden","visible","scroll"],Kr=[[/^(?:overflow|of)-(.+)$/,([,t])=>Dt.includes(t)?{overflow:t}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>Dt.includes(e)?{[`overflow-${t}`]:e}:void 0]],Nt=[["relative",{position:"relative"}],["absolute",{position:"absolute"}],["fixed",{position:"fixed"}],["sticky",{position:"sticky"}],["static",{position:"static"}]],Wr=[["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"}]],Br=[[/^order-(.+)$/,([,t])=>({order:{first:"-9999",last:"9999",none:"0"}[t]||l.bracket.number(t)})]],H=["auto","start","end","center","stretch"],Gr=H.map(t=>[`justify-items-${t}`,{"justify-items":t}]),Ir=H.map(t=>[`justify-self-${t}`,{"justify-self":t}]),qr=[["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"}]],Hr=[["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"}]],Yr=[["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-items":"stretch"}]],Xr=[["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"}]],Zr=H.map(t=>[`place-items-${t}`,{"place-items":t}]),Qr=H.map(t=>[`place-self-${t}`,{"place-self":t}]);function Lt(t){var e;return(e={auto:"auto",full:"100%"}[t])!=null?e:l.bracket.fraction.cssvar.rem(t)}var Jr=[[/^(top|left|right|bottom|inset)-(.+)$/,([,t,e])=>({[t]:Lt(e)})],[/^inset-([xy])-(.+)$/,([,t,e])=>{let r=Lt(e);if(r!=null&&t in M)return M[t].map(n=>[n.slice(1),r])}]],tn=[[/^float-(left|right|none)$/,([,t])=>({float:t})],[/^clear-(left|right|both|none)$/,([,t])=>({clear:t})]],en=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,t])=>({"z-index":l.number(t)})]],rn=[[/^box-(border|content)$/,([,t])=>({"box-sizing":`${t}-box`})]],nn=[[/^ring-?(.*)$/,([,t])=>{let e=l.px(t||"1");if(e)return{"--un-ring-inset":"var(--un-empty, )","--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(${e} + 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-?(.*)$/,([,t])=>{let e=l.px(t||"1");if(e)return{"--un-ring-offset-width":e}}],["ring-inset",{"--un-ring-inset":"inset"}],...sr,...ir],on=(t,e)=>{let r=Tt(t,e);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}},sn=[[/^shadow-?(.*)$/,([,t],{theme:e})=>{var o;let r=(o=e==null?void 0:e.boxShadow)==null?void 0:o[t||"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)"};let n=on(t,e);if(n)return n}]];function Kt(t,e){return`${t?`${t}-`:""}${e==="h"?"height":"width"}`}function an(t,e,r,n){var s;let o=`${e==="h"?"height":"width"}`;return t&&(o=`${t}${_t(o)}`),(s=r[o])==null?void 0:s[n]}var cn=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,t,e,r],{theme:n})=>{let o=an(t,e,n,r)||l.bracket.cssvar.fraction.rem(r);if(o!=null)return{[Kt(t,e)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,t,e,r],{theme:n})=>{var s;let o=(s=n.breakpoints)==null?void 0:s[r];if(o!=null)return{[Kt(t,e)]:o}}]],ln=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,t])=>{let e=(/^\d+\/\d+$/.test(t)?t:null)||l.bracket.cssvar.number(t);if(e!=null)return{"aspect-ratio":e}}]],F=t=>([e,r,n])=>{let o=l.bracket.rem.fraction.cssvar(n);if(o)return M[r].map(s=>[t+s,o])},fn=[[/^pa?()-?(-?.+)$/,F("padding")],[/^p-?([xy])-?(-?.+)$/,F("padding")],[/^p-?([rltbse])-?(-?.+)$/,F("padding")]],un=[[/^ma?()-?(-?.+)$/,F("margin")],[/^m-?([xy])-?(-?.+)$/,F("margin")],[/^m-?([rltbse])-?(-?.+)$/,F("margin")]];var dn=[["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"}]],pn=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],mn=[[/^cursor-(.+)$/,([,t])=>({cursor:t})]],gn=[["pointer-events-none",{"pointer-events":"none"}],["pointer-events-auto",{"pointer-events":"auto"}]],hn=[["resize-none",{resize:"none"}],["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}]],bn=[[/^select-(none|text|all|auto)$/,([,t])=>({"user-select":t})]],xn=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,t])=>({"white-space":t})]],yn=[["content-empty",{content:'""'}]],wn=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],$n=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],vn=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Sn=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["no-underline",{"text-decoration":"none"}]],kn=[["underline-solid",{"text-decoration-style":"solid"}],["underline-double",{"text-decoration-style":"double"}],["underline-dotted",{"text-decoration-style":"dotted"}],["underline-dashed",{"text-decoration-style":"dashed"}]],Cn=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],An=[["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"}]],En={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]:""},Wt={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]:""},Y=$({"--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},Wt),zn=[["transform",Y],[/^preserve-(3d|flat)$/,([,t])=>({"transform-style":t==="3d"?`preserve-${t}`:t})],[/^translate()-([^-]+)$/,Bt],[/^translate-([xyz])-([^-]+)$/,Bt],[/^scale()-([^-]+)$/,Gt],[/^scale-([xyz])-([^-]+)$/,Gt],[/^rotate-([^-]+)(?:deg)?$/,jn],["transform-gpu",En],["transform-cpu",Wt],["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 Bt([,t,e]){let r=l.bracket.fraction.rem(e);if(r!=null)return[Y,[...ot[t].map(n=>[`--un-translate${n}`,r])]]}function Gt([,t,e]){let r=l.bracket.fraction.percent(e);if(r!=null)return[Y,[...ot[t].map(n=>[`--un-scale${n}`,r])]]}function jn([,t]){let e=l.bracket.number(t);if(e!=null)return[Y,{"--un-rotate":`${e}deg`}]}var Rn={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",color:"color",case:"text-transform",write:"writing-mode","write-orient":"text-orientation",origin:"transform-origin",bg:"background-color","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","bg-origin-border":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","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","mix-blend":"mix-blend-mode","animate-speed":"animation-speed"},Un=[[/^(.+)-\$(.+)$/,([,t,e])=>{let r=Rn[t];if(r)return{[r]:`var(--${e})`}}]],_n=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.config.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
|
-
${
|
|
1
|
+
(()=>{var tt=Object.defineProperty,rt=Object.defineProperties;var nt=Object.getOwnPropertyDescriptors;var le=Object.getOwnPropertySymbols;var ot=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var fe=(e,t,r)=>t in e?tt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v=(e,t)=>{for(var r in t||(t={}))ot.call(t,r)&&fe(e,r,t[r]);if(le)for(var r of le(t))st.call(t,r)&&fe(e,r,t[r]);return e},S=(e,t)=>rt(e,nt(t));var Z={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(Z).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 it={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(",")},at={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"]},ct={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},lt={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},ft={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"},ut={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},ue={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},dt=ue,pt={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},mt={DEFAULT:"0.25rem",none:"0px",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},gt={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"},ht={DEFAULT:"8px","0":"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},bt={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"},K={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"},xt=S(v({auto:"auto"},K),{screen:"100vw"}),de=S(v({none:"none"},K),{screen:"100vw"}),yt=S(v({auto:"auto"},K),{screen:"100vh"}),pe=S(v({none:"none"},K),{screen:"100vh"}),me={width:xt,height:yt,maxWidth:de,maxHeight:pe,minWidth:de,minHeight:pe,colors:Z,fontFamily:it,fontSize:at,breakpoints:pt,borderRadius:mt,lineHeight:ut,letterSpacing:ue,wordSpacing:dt,boxShadow:gt,textIndent:ct,textShadow:ft,textStrokeWidth:lt,blur:ht,dropShadow:bt};function wt(e){let t=e.length,r=-1,n,o="",s=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&&s===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 H=wt;function O(e){return(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function ge(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>O(t)):[e]:[O(e)]}function $t(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 W(e){return e==null?"":$t(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function Q(e){return e&&typeof e=="object"&&!Array.isArray(e)}function J(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=v({},r);return Q(r)&&Q(n)&&Object.keys(n).forEach(s=>{Q(n[s])?s in r?o[s]=J(r[s],n[s]):Object.assign(o,{[s]:n[s]}):Object.assign(o,{[s]:n[s]})}),o}function he(e){return typeof e[0]=="string"}function be(e){return typeof e[0]=="string"}function k(e=[]){return Array.isArray(e)?e:[e]}function B(e){return Array.from(new Set(e))}var vt=/^#?([\da-f]+)$/i;function xe(e=""){let[,t]=e.match(vt)||[];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 St=/^\[(.+?)~?="(.*)"\]$/,kt=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function ye(e){return e.match(St)}function T(e=""){return kt.test(e)}function we(e){return typeof e=="function"?{match:e}:e}function ee(e){return e.length===3}function $e(e){return e!=null}var te=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,s])=>t(s,r,o)))}};var Ct=/([!\w+:_/-]+?)([:-])\(((?:[!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function ve(e){let t=[],r;for(;r=Ct.exec(e);){let o=r.index,s=o+r[0].length,[,i,a,c]=r,d=c.split(/\s/g).map(p=>p.replace(/^(!?)(.*)/,`$1${i}${a}$2`)).join(" ");t.unshift([o,s,d])}let n=e;return t.forEach(([o,s,i])=>{n=n.slice(0,o)+i+n.slice(s)}),n}var Se=new Set;function ke(e){Se.has(e)||(console.warn("[unocss]",e),Se.add(e))}function Ce(e){let t=function(n){var s;let o=((s=this.__options)==null?void 0:s.sequence)||[];this.__options.sequence=[];for(let i of o){let a=e[i](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 Et=e=>e.split(/[\s'"`;>=]+/g).filter(T),P={name:"split",order:0,extract({code:e}){return new Set(Et(e))}};function At(e){return k(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}var zt={shortcuts:-1,default:0};function re(e={},t={}){let r=Object.assign({},t,e),n=(r.presets||[]).flatMap(k),o=[...n.filter(u=>u.enforce==="pre"),...n.filter(u=>!u.enforce),...n.filter(u=>u.enforce==="post")],s=Object.assign(zt,...n.map(u=>u.layers),e.layers);function i(u){return B([...o.flatMap(h=>k(h[u]||[])),...k(r[u]||[])])}let a=i("extractors");a.length||a.push(P),a.sort((u,h)=>(u.order||0)-(h.order||0));let c=i("rules"),d={},p=c.length;c.forEach((u,h)=>{he(u)&&(d[u[0]]=[h,u[1],u[2]],delete c[h])});let y=[...o.map(u=>u.theme||{}),r.theme||{}].reduce((u,h)=>J(u,h),{});return S(v({mergeSelectors:!0,warn:!0,blocklist:[],safelist:[],sortLayers:u=>u},r),{presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:y,rulesSize:p,rulesDynamic:c,rulesStaticMap:d,preflights:i("preflights"),variants:i("variants").map(we),shortcuts:At(i("shortcuts")),extractors:a})}var Ee="0.15.6";var Ae=class{constructor(t={},r={}){this.userConfig=t;this.defaults=r;this.config=re(t,r)}version=Ee;_cache=new Map;config;blocked=new Set;parentOrders=new Map;setConfig(t,r){!t||(r&&(this.defaults=r),this.userConfig=t,this.config=re(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 s of this.config.extractors){let i=await s.extract(o);i==null||i.forEach(a=>n.add(a))}return n}async generate(t,{id:r,scope:n,preflights:o=!0,safelist:s=!0,minify:i=!1}={}){let a=typeof t=="string"?await this.applyExtractors(t,r):t;s&&this.config.safelist.forEach(l=>a.add(l));let c=i?"":`
|
|
2
|
+
`,d=new Set(["default"]),p=new Set,y=new Map,u=(l,g)=>{var m;this._cache.set(l,g),p.add(l);for(let x of g){let A=x[3]||"";y.has(A)||y.set(A,[]),y.get(A).push(x),((m=x[4])==null?void 0:m.layer)&&d.add(x[4].layer)}},h=l=>{this.blocked.add(l),this._cache.set(l,null)};await Promise.all(Array.from(a).map(async l=>{var _;if(p.has(l)||this.blocked.has(l))return;if(this._cache.has(l)){let w=this._cache.get(l);w&&u(l,w);return}let g=l;if(this.config.preprocess&&(g=this.config.preprocess(l)),this.isBlocked(g))return h(g);let m=this.matchVariants(l,g);if(!m||this.isBlocked(m[1]))return h(l);let x={rawSelector:l,currentSelector:m[1],theme:this.config.theme,generator:this,variantHandlers:m[2],constructCSS:(...w)=>this.constructCustomCSS(x,...w)},A=this.expandShortcut(m[1],x);if(A){let w=await this.stringifyShortcuts(m,x,A[0],A[1]);if(w==null?void 0:w.length)return u(l,w)}else{let w=(_=await this.parseUtil(m,x))==null?void 0:_.map($=>this.stringifyUtil($)).filter($e);if(w==null?void 0:w.length)return u(l,w)}this._cache.set(l,null)})),o&&this.config.preflights.forEach(l=>{l.layer&&d.add(l.layer)});let E={},j=this.config.sortLayers(Array.from(d).sort((l,g)=>{var m,x;return((m=this.config.layers[l])!=null?m:0)-((x=this.config.layers[g])!=null?x:0)||l.localeCompare(g)})),b=l=>{if(E[l])return E[l];let g=Array.from(y).sort((m,x)=>(this.parentOrders.get(m[0])||0)-(this.parentOrders.get(x[0])||0)).map(([m,x])=>{let A=x.length,_=x.filter($=>{var z;return(((z=$[4])==null?void 0:z.layer)||"default")===l}).sort(($,z)=>{var L;return $[0]-z[0]||((L=$[1])==null?void 0:L.localeCompare(z[1]||""))||0}).map($=>[$[1]?Ut($[1],n):$[1],$[2]]);if(!_.length)return;let w=_.reverse().map(([$,z],L)=>{if($&&this.config.mergeSelectors)for(let X=L+1;X<A;X++){let V=_[X];if(V&&V[0]&&V[1]===z)return V[0]=`${V[0]},${$}`,null}return $?`${$}{${z}}`:z}).filter(Boolean).reverse().join(c);return m?`${m}{${c}${w}${c}}`:w}).filter(Boolean).join(c);return o&&(g=[...this.config.preflights.filter(m=>(m.layer||"default")===l).map(m=>m.getCSS()).filter(Boolean),g].join(c)),E[l]=!i&&g?`/* layer: ${l} */${c}${g}`:g},U=(l=j,g)=>l.filter(m=>!(g==null?void 0:g.includes(m))).map(m=>b(m)||"").filter(Boolean).join(c);return{get css(){return U()},layers:j,getLayers:U,getLayer:b,matched:p}}matchVariants(t,r){let n=new Set,o=[],s=r||t,i=!1;for(;;){i=!1;for(let a of this.config.variants){if(!a.multiPass&&n.has(a))continue;let c=a.match(s,t,this.config.theme);if(!!c&&(typeof c=="string"&&(c={matcher:c}),c)){s=c.matcher,Array.isArray(c.parent)&&this.parentOrders.set(c.parent[0],c.parent[1]),o.push(c),n.add(a),i=!0;break}}if(!i)break;if(o.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,s,o]}applyVariants(t,r=t[4],n=t[1]){let o=r.reduce((s,i)=>{var a;return((a=i.body)==null?void 0:a.call(i,s))||s},t[2]);return[r.reduce((s,i)=>{var a;return((a=i.selector)==null?void 0:a.call(i,s,o))||s},_t(n)),o,r.reduce((s,i)=>Array.isArray(i.parent)?i.parent[0]:i.parent||s,void 0)]}constructCustomCSS(t,r,n){r=O(r);let[o,s,i]=this.applyVariants([0,n||t.rawSelector,r,void 0,t.variantHandlers]),a=`${o}{${W(s)}}`;return i?`${i}{${a}}`:a}async parseUtil(t,r,n=!1){var p,y;let[o,s,i]=typeof t=="string"?this.matchVariants(t):t,a=this.config.rulesStaticMap[s];if(a&&a[1]&&(n||!((p=a[2])==null?void 0:p.internal)))return[[a[0],o,O(a[1]),a[2],i]];r.variantHandlers=i;let{rulesDynamic:c,rulesSize:d}=this.config;for(let u=d;u>=0;u--){let h=c[u];if(!h||((y=h[2])==null?void 0:y.internal)&&!n)continue;let[E,j,b]=h,U=s.match(E);if(!U)continue;let l=await j(U,r);if(!l)continue;if(typeof l=="string")return[[u,l,b]];let g=ge(l).filter(m=>m.length);if(g.length)return g.map(m=>[u,o,m,b,i])}}stringifyUtil(t){if(!t)return;if(ee(t))return[t[0],void 0,t[1],void 0,t[2]];let[r,n,o]=this.applyVariants(t),s=W(n);if(!!s)return[t[0],r,s,o,t[3]]}expandShortcut(t,r,n=3){if(n===0)return;let o,s;for(let i of this.config.shortcuts)if(be(i)){if(i[0]===t){o=o||i[2],s=i[1];break}}else{let a=t.match(i[0]);if(a&&(s=i[1](a,r)),s){o=o||i[2];break}}if(typeof s=="string"&&(s=ve(s).split(/\s+/g)),!!s)return[s.flatMap(i=>{var a;return((a=this.expandShortcut(i,r,n-1))==null?void 0:a[0])||[i]}),o]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){let s=new te,i=(await Promise.all(B(n).map(async d=>{let p=await this.parseUtil(d,r,!0);return p||ke(`unmatched utility "${d}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((d,p)=>d[0]-p[0]),[a,,c]=t;for(let d of i){if(ee(d))continue;let[p,y,u]=this.applyVariants(d,[...d[4],...c],a),h=s.getFallback(p,u,[[],d[0]]);h[0].push(...y),d[0]>h[1]&&(h[1]=d[0])}return s.map(([d,p],y,u)=>{let h=W(d);if(h)return[p,y,h,u,o]}).filter(Boolean)}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="string"?r===t:r.test(t))}};function ze(e,t){return new Ae(e,t)}var Re=/ \$\$ /,jt=e=>e.match(Re);function Ut(e,t){return jt(e)?e.replace(Re,t?` ${t} `:" "):t?`${t} ${e}`:e}function _t(e){return e.startsWith("[")?e.replace(/^\[(.+?)(~?=)"(.*)"\]$/,(t,r,n,o)=>`[${H(r)}${n}"${H(o)}"]`):`.${H(e)}`}var F={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],a:[""]},ne={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"],"":[""]},oe={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},je=/^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax)?$/i,Ft=/^(-?[0-9.]+)$/i,Ue=/^(px)$/i;function Mt(e){if(e==="auto"||e==="a")return"auto";if(e.match(Ue))return`1${e}`;let t=e.match(je);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o/4}rem`}function Vt(e){if(e.match(Ue))return`1${e}`;let t=e.match(je);if(!t)return;let[,r,n]=t;if(n)return e;let o=parseFloat(r);if(!Number.isNaN(o))return`${o}px`}function Ot(e){if(!Ft.test(e))return;let t=parseFloat(e);if(!Number.isNaN(t))return t}function Tt(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=parseFloat(e);if(!Number.isNaN(t))return`${t/100}`}function Pt(e){if(e==="full")return"100%";let[t,r]=e.split("/"),n=parseFloat(t)/parseFloat(r);if(!Number.isNaN(n))return`${n*100}%`}function Dt(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 Nt(e){if(e.startsWith("$"))return`var(--${e.slice(1)})`}function Lt(e){let t=Number(e.replace(/(s|ms)$/,""));if(!isNaN(t))return/ms|s$/.test(e)?e:`${e}ms`}function Kt(e){if(["inherit","initial","unset"].includes(e))return e}var Ht={__proto__:null,rem:Mt,px:Vt,number:Ot,percent:Tt,fraction:Pt,bracket:Dt,cssvar:Nt,time:Lt,global:Kt},f=Ce(Ht);function _e(e){return e.charAt(0).toUpperCase()+e.slice(1)}var G="$$no-pseudo",D=Object.fromEntries(["active","checked","default","empty","enabled","disabled","first-of-type",["first","first-child"],"focus-visible","focus-within","focus","hover","indeterminate","invalid","last-of-type",["last","last-child"],"link","only-child","only-of-type","optional","placeholder-shown","read-only","read-write","required","root","target","valid","visited",["even-of-type","nth-of-type(even)"],["even","nth-child(even)"],["odd-of-type","nth-of-type(odd)"],["odd","nth-child(odd)"]].map(k)),Wt=["before","after","first-letter","first-line","selection"],Bt=new RegExp(`^(${Wt.join("|")})[:-]`),I=Object.keys(D).join("|"),Gt=new RegExp(`^(${I})[:-]`),It=new RegExp(`^not-(${I})[:-]`),qt=new RegExp(`^group-(${I})[:-]`),Yt=new RegExp(`^peer-(${I})[:-]`),Fe=e=>{let t=e.match(Bt);if(t)return{matcher:e.slice(t[1].length+1),selector:(r,n)=>N(n)&&`${r}::${t[1]}`}};function N(e){return!e.find(t=>t[0]===G)||void 0}var Me={match:e=>{let t=e.match(Gt);if(t){let r=D[t[1]]||t[1];return{matcher:e.slice(t[1].length+1),selector:(n,o)=>N(o)&&`${n}:${r}`}}if(t=e.match(It),t){let r=D[t[1]]||t[1];return{matcher:e.slice(t[1].length+5),selector:(n,o)=>N(o)&&`${n}:not(:${r})`}}if(t=e.match(qt),t){let r=D[t[1]]||t[1];return{matcher:e.slice(t[1].length+7),selector:(n,o)=>N(o)&&n.includes(".group:")?n.replace(/\.group:/,`.group:${r}:`):`.group:${r} ${n}`}}if(t=e.match(Yt),t){let r=D[t[1]]||t[1];return{matcher:e.slice(t[1].length+6),selector:(n,o)=>N(o)&&n.includes(".peer:")?n.replace(/\.peer:/,`.peer:${r}:`):`.peer:${r} ~ ${n}`}}},multiPass:!0};var Xt={mid:"middle",base:"baseline",btm:"bottom"},Zt=[[/^(?:vertical|align|v)-(baseline|top|bottom|middle|text-top|text-bottom|mid|base|btm)$/,([,e])=>({"vertical-align":Xt[e]||e})]],Qt=[["text-center",{"text-align":"center"}],["text-left",{"text-align":"left"}],["text-right",{"text-align":"right"}],["text-justify",{"text-align":"justify"}]],Ve=(e,t)=>{var d;let[r,n]=e.split(/(?:\/|:)/),[o,s="DEFAULT"]=r.replace(/([a-z])([0-9])/g,"$1-$2").split(/-/g);if(!o)return;let i,a=f.bracket(r),c=a||r;if(c.startsWith("#")&&(i=c.slice(1)),c.startsWith("hex-")&&(i=c.slice(4)),i=i||a,!i){let p=(d=t.colors)==null?void 0:d[o];typeof p=="string"?i=p:s&&p&&(i=p[s])}return{opacity:n,name:o,no:s,color:i,rgba:xe(i)}},C=(e,t)=>([,r],{theme:n})=>{let o=Ve(r,n);if(!o)return;let{opacity:s,color:i,rgba:a}=o;if(!i)return;let c=s?s[0]==="["?f.bracket.percent(s):parseFloat(s)/100:a==null?void 0:a[3];return a?c!=null&&!Number.isNaN(c)?(a[3]=typeof c=="string"&&!c.includes("%")?parseFloat(c):c,{[e]:`rgba(${a.join(",")})`}):{[`--un-${t}-opacity`]:1,[e]:`rgba(${a.slice(0,3).join(",")},var(--un-${t}-opacity))`}:{[e]:i.replace("%alpha",`${c||1}`)}},Jt=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:f.bracket.percent.cssvar(e)})]],er=[[/^(?:text|color|c)-(.+)$/,C("color","text")],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-text-opacity":f.bracket.percent.cssvar(e)})]],tr=[[/^underline-(.+)$/,(e,t)=>{let r=C("text-decoration-color","line")(e,t);if(r)return v({"-webkit-text-decoration-color":r["text-decoration-color"]},r)}],[/^underline-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-line-opacity":f.bracket.percent(e)})]],rr=[[/^text-stroke-(.+)$/,C("-webkit-text-stroke-color","text-stroke")],[/^text-stroke-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-text-stroke-opacity":f.bracket.percent(e)})]],nr=[[/^bg-(.+)$/,C("background-color","bg")],[/^bg-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-bg-opacity":f.bracket.percent(e)})]],or=[[/^(?:border|b)-(.+)$/,C("border-color","border")],[/^(?:border|b)-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-border-opacity":f.bracket.percent(e)})]],sr=[[/^ring-(.+)$/,C("--un-ring-color","ring")],[/^ring-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-ring-opacity":f.bracket.percent(e)})]],ir=[[/^ring-offset-(.+)$/,C("--un-ring-offset-color","ring-offset")],[/^ring-offset-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-ring-offset-opacity":f.bracket.percent(e)})]],ar=[["fill-none",{fill:"none"}],[/^fill-(.+)$/,C("fill","fill")],[/^fill-op(?:acity)?-?(.+)$/m,([,e])=>({"--un-fill-opacity":f.bracket.percent(e)})]],cr=["none","auto","dotted","dashed","solid","double","groove","ridge","inset","outset","inherit","initial","revert","unset"],lr=e=>{let t=["width","offset"].find(n=>e.startsWith(n))||"width",r=f.bracket.fraction.rem(e.replace(/^(offset\-|width\-)/,""));if(r)return{[`outline-${t}`]:r}},fr=[["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}],["outline",{"outline-style":"solid"}],[/^outline-(.+)$/,(e,t)=>{let[,r]=e;if(r==="none")return{outline:"2px solid transparent","outline-offset":"2px"};if(cr.includes(r))return{"outline-style":r};let n=lr(r);if(n)return n;let o=C("outline-color","outline-color")([e[0],e[1].replace(/^color-/,"")],t);if(o)return o}]],ur=[["appearance-none",{appearance:"none","-webkit-appearance":"none"}]],dr=[[/^placeholder-opacity-(\d+)$/,([,e])=>({"placeholder-opacity":f.bracket.percent(e)})],[/^placeholder-(?!opacity)(.+)$/,(e,t)=>(e[1]=e[1].replace(/^color-/,""),C("placeholder-color","placeholder-color")(e,t))]],pr=[[/^border$/,se],[/^(?:border|b)(?:-([^-]+))?$/,se],[/^(?:border|b)(?:-([^-]+))?(?:-([^-]+))?$/,se]],mr=[[/^(?:border-)?(?:rounded|rd)$/,ie],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?$/,ie],[/^(?:border-)?(?:rounded|rd)(?:-([^-]+))?(?:-([^-]+))?$/,ie]],gr=[["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"}]],hr=[pr,or,gr,mr].flat(1);function se([,e,t]){let[r,n="1"]=F[e]?[e,t]:["",e],o=f.bracket.px(n);if(o!=null)return[...F[r].map(s=>[`border${s}-width`,o]),["border-style","solid"]]}function ie([,e,t],{theme:r}){var i;let[n,o="DEFAULT"]=ne[e]?[e,t]:["",e],s=((i=r.borderRadius)==null?void 0:i[o])||f.bracket.fraction.rem(o);if(s!=null)return ne[n].map(a=>[`border${a}-radius`,s])}var br=["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"],xr=["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"],wr=["all","none"],$r=["stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip"],Oe=[...br,...xr,...yr,...$r],vr=Oe.join(", "),Te=e=>{if(!(e&&![...Oe,...wr].includes(e)))return e||vr},Sr=[[/^transition(?:-([a-z-]+))?(?:-(\d+))?$/,([,e,t="150"])=>{let r=Te(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-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-([a-z-]+)$/,([,e])=>{let t=Te(e);if(t)return{"transition-property":t}}]],kr=[["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}],["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:e})],["flex-grow",{"flex-grow":1}],["flex-grow-0",{"flex-grow":0}],["flex-shrink",{"flex-shrink":1}],["flex-shrink-0",{"flex-shrink":0}],["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}]],Cr=[[/^font-(\w+)$/,([,e],{theme:t})=>{var n;let r=(n=t.fontFamily)==null?void 0:n[e];if(r)return{"font-family":r}}]],Er={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ar=[[/^text-(.+)$/,([,e="base"],{theme:t})=>{var o;let r=f.bracket.rem(e);if(r)return{"font-size":r};let n=k((o=t.fontSize)==null?void 0:o[e]);if(n==null?void 0:n[0]){let[s,i]=n;return{"font-size":s,"line-height":i}}}],[/^text-size-(.+)$/,([,e])=>{let t=f.bracket.rem(e);if(t)return{"font-size":t}}]],zr=[[/^(?:font|fw)-?([^-]+)$/,([,e])=>{let t=Er[e]||f.number(e);if(t)return{"font-weight":t}}]],Rr=[[/^(?:leading|lh)-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.lineHeight)==null?void 0:n[e])||f.bracket.rem(e);if(r!==null)return{"line-height":r}}]],jr=[[/^tracking-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.letterSpacing)==null?void 0:n[e])||f.bracket.rem(e);if(r!==null)return{"letter-spacing":r}}]],Ur=[[/^word-spacing-([^-]+)$/,([,e],{theme:t})=>{var n;let r=((n=t.wordSpacing)==null?void 0:n[e])||f.bracket.rem(e);if(r!==null)return{"word-spacing":r}}]],_r=[[/^tab-?([^-]*)$/,([,e])=>{e=e||"4";let t=f.bracket.global.number(e);if(t!==null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Fr=[[/^underline-([^-]+)$/,([,e])=>{let t=e==="auto"?e:f.bracket.px(e);if(t!=null)return{"text-decoration-thickness":t}}]],Mr=[[/^underline-offset-([^-]+)$/,([,e])=>{let t=e==="auto"?e:f.bracket.px(e);if(t!=null)return{"text-underline-offset":t}}]],Vr=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textIndent)==null?void 0:n[e||"DEFAULT"])||f.bracket.cssvar.fraction.rem(e);if(r!=null)return{"text-indent":r}}]],Or=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textStrokeWidth)==null?void 0:n[e||"DEFAULT"])||f.bracket.cssvar.px(e);if(r!=null)return{"-webkit-text-stroke-width":r}}]],Tr=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{var n;let r=((n=t.textShadow)==null?void 0:n[e||"DEFAULT"])||f.bracket.cssvar(e);if(r!=null)return{"text-shadow":r}}]],Pr=[Cr,Ar,zr].flat(1),Dr=[[/^(?:flex-|grid-)?gap-([^-]+)$/,([,e])=>{let t=f.bracket.rem(e);if(t!=null)return{"grid-gap":t,gap:t}}],[/^(?:flex-|grid-)?gap-x-([^-]+)$/,([,e])=>{let t=f.bracket.rem(e);if(t!=null)return{"grid-column-gap":t,"column-gap":t}}],[/^(?:flex-|grid-)?gap-y-([^-]+)$/,([,e])=>{let t=f.bracket.rem(e);if(t!=null)return{"grid-row-gap":t,"row-gap":t}}]],Nr=(e,t)=>{var r;return k(((r=t.fontSize)==null?void 0:r[e])||f.bracket.rem(e))[0]},Pe=(e,t)=>e==="min"?"min-content":e==="max"?"max-content":e==="fr"?"minmax(0,1fr)":Nr(e,t),Lr=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^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," ")})],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>{var s;let r=e==="row"?"grid-row":"grid-column",n=f.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=(s=f.number.bracket(o[1]))==null?void 0:s.toString().replace(/_/g," "),n)return{[r]:`span ${n}/span ${n}`}}}],[/^(?:grid-)?auto-flow-([\w.-]+)$/,([,e])=>({"grid-auto-flow":`${e.replace("col","column").split("-").join(" ")}`})],[/^(?:grid-)?row-start-([\w.-]+)$/,([,e])=>({"grid-row-start":`${e}`})],[/^(?:grid-)?row-end-([\w.-]+)$/,([,e])=>({"grid-row-end":`${e}`})],[/^(?:grid-)?col-start-([\w.-]+)$/,([,e])=>({"grid-column-start":`${e}`})],[/^(?:grid-)?col-end-([\w.]+)$/,([,e])=>({"grid-column-end":`${e}`})],[/^(?:grid-)?auto-rows-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-rows":`${Pe(e,t)}`})],[/^(?:grid-)?auto-cols-([\w.-]+)$/,([,e],{theme:t})=>({"grid-auto-columns":`${Pe(e,t)}`})]],De=["auto","hidden","visible","scroll"],Kr=[[/^(?:overflow|of)-(.+)$/,([,e])=>De.includes(e)?{overflow:e}:void 0],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>De.includes(t)?{[`overflow-${e}`]:t}:void 0]],Ne=[["relative",{position:"relative"}],["absolute",{position:"absolute"}],["fixed",{position:"fixed"}],["sticky",{position:"sticky"}],["static",{position:"static"}]],Hr=[["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"}]],Wr=[[/^order-(.+)$/,([,e])=>({order:{first:"-9999",last:"9999",none:"0"}[e]||f.bracket.number(e)})]],q=["auto","start","end","center","stretch"],Br=q.map(e=>[`justify-items-${e}`,{"justify-items":e}]),Gr=q.map(e=>[`justify-self-${e}`,{"justify-self":e}]),Ir=[["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"}]],qr=[["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"}]],Yr=[["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-items":"stretch"}]],Xr=[["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"}]],Zr=q.map(e=>[`place-items-${e}`,{"place-items":e}]),Qr=q.map(e=>[`place-self-${e}`,{"place-self":e}]);function Le(e){var t;return(t={auto:"auto",full:"100%"}[e])!=null?t:f.bracket.fraction.cssvar.rem(e)}var Jr=[[/^(top|left|right|bottom|inset)-(.+)$/,([,e,t])=>({[e]:Le(t)})],[/^inset-([xy])-(.+)$/,([,e,t])=>{let r=Le(t);if(r!=null&&e in F)return F[e].map(n=>[n.slice(1),r])}]],en=[[/^float-(left|right|none)$/,([,e])=>({float:e})],[/^clear-(left|right|both|none)$/,([,e])=>({clear:e})]],tn=[["z-auto",{"z-index":"auto"}],[/^z-([^-]+)$/,([,e])=>({"z-index":f.number(e)})]],rn=[[/^box-(border|content)$/,([,e])=>({"box-sizing":`${e}-box`})]],nn=[[/^ring-?(.*)$/,([,e])=>{let t=f.px(e||"1");if(t)return{"--un-ring-inset":"var(--un-empty, )","--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-?(.*)$/,([,e])=>{let t=f.px(e||"1");if(t)return{"--un-ring-offset-width":t}}],["ring-inset",{"--un-ring-inset":"inset"}],...sr,...ir],on=(e,t)=>{let r=Ve(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}},sn=[[/^shadow-?(.*)$/,([,e],{theme:t})=>{var o;let r=(o=t==null?void 0:t.boxShadow)==null?void 0:o[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)"};let n=on(e,t);if(n)return n}]];function Ke(e,t){return`${e?`${e}-`:""}${t==="h"?"height":"width"}`}function an(e,t,r,n){var s;let o=`${t==="h"?"height":"width"}`;return e&&(o=`${e}${_e(o)}`),(s=r[o])==null?void 0:s[n]}var cn=[[/^(?:(min|max)-)?(w|h)-(.+)$/,([,e,t,r],{theme:n})=>{let o=an(e,t,n,r)||f.bracket.cssvar.fraction.rem(r);if(o!=null)return{[Ke(e,t)]:o}}],[/^(?:(min|max)-)?(w)-screen-(.+)$/,([,e,t,r],{theme:n})=>{var s;let o=(s=n.breakpoints)==null?void 0:s[r];if(o!=null)return{[Ke(e,t)]:o}}]],ln=[["aspect-ratio-auto",{"aspect-ratio":"auto"}],[/^aspect-ratio-(.+)$/,([,e])=>{let t=(/^\d+\/\d+$/.test(e)?e:null)||f.bracket.cssvar.number(e);if(t!=null)return{"aspect-ratio":t}}]],M=e=>([t,r,n])=>{let o=f.bracket.rem.fraction.cssvar(n);if(o)return F[r].map(s=>[e+s,o])},fn=[[/^pa?()-?(-?.+)$/,M("padding")],[/^p-?([xy])-?(-?.+)$/,M("padding")],[/^p-?([rltbse])-?(-?.+)$/,M("padding")]],un=[[/^ma?()-?(-?.+)$/,M("margin")],[/^m-?([xy])-?(-?.+)$/,M("margin")],[/^m-?([rltbse])-?(-?.+)$/,M("margin")]];var dn=[["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"}]],pn=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}]],mn=[[/^cursor-(.+)$/,([,e])=>({cursor:e})]],gn=[["pointer-events-none",{"pointer-events":"none"}],["pointer-events-auto",{"pointer-events":"auto"}]],hn=[["resize-none",{resize:"none"}],["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}]],bn=[[/^select-(none|text|all|auto)$/,([,e])=>({"user-select":e})]],xn=[[/^(?:whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap)$/,([,e])=>({"white-space":e})]],yn=[["content-empty",{content:'""'}]],wn=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-word",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}]],$n=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],vn=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}]],Sn=[["underline",{"text-decoration":"underline"}],["line-through",{"text-decoration":"line-through"}],["no-underline",{"text-decoration":"none"}]],kn=[["underline-solid",{"text-decoration-style":"solid"}],["underline-double",{"text-decoration-style":"double"}],["underline-dotted",{"text-decoration-style":"dotted"}],["underline-dashed",{"text-decoration-style":"dashed"}]],Cn=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}]],En=[["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"}]],An={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))",[G]:""},He={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))",[G]:""},Y=v({"--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},He),zn=[["transform",Y],[/^preserve-(3d|flat)$/,([,e])=>({"transform-style":e==="3d"?`preserve-${e}`:e})],[/^translate()-([^-]+)$/,We],[/^translate-([xyz])-([^-]+)$/,We],[/^scale()-([^-]+)$/,Be],[/^scale-([xyz])-([^-]+)$/,Be],[/^rotate-([^-]+)(?:deg)?$/,Rn],["transform-gpu",An],["transform-cpu",He],["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 We([,e,t]){let r=f.bracket.fraction.rem(t);if(r!=null)return[Y,[...oe[e].map(n=>[`--un-translate${n}`,r])]]}function Be([,e,t]){let r=f.bracket.fraction.percent(t);if(r!=null)return[Y,[...oe[e].map(n=>[`--un-scale${n}`,r])]]}function Rn([,e]){let t=f.bracket.number(e);if(t!=null)return[Y,{"--un-rotate":`${t}deg`}]}var jn={visible:"visibility",select:"user-select",vertical:"vertical-align",backface:"backface-visibility",whitespace:"white-space",break:"word-break",color:"color",case:"text-transform",write:"writing-mode","write-orient":"text-orientation",origin:"transform-origin",bg:"background-color","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","bg-origin-border":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","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","mix-blend":"mix-blend-mode","animate-speed":"animation-speed"},Un=[[/^(.+)-\$(.+)$/,([,e,t])=>{let r=jn[e];if(r)return{[r]:`var(--${t})`}}]],_n=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.config.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"})}`}]],Ge=[Un,fn,un,dn,Jt,nr,ar,hr,yn,Pr,_r,Vr,$n,Sn,kn,tr,Fr,Mr,Or,rr,Tr,vn,Qt,er,Cn,En,sn,nn,kr,Lr,Dr,Ne,cn,ln,mn,pn,gn,hn,Zt,bn,xn,wn,jr,Ur,Rr,Kr,fr,ur,dr,Ne,Wr,Hr,Br,Gr,Ir,qr,Yr,Xr,Zr,Qr,Jr,en,tn,rn,Sr,zn,_n].flat(1);var R=(e,t)=>{let r=e.length+1,n=new RegExp(`^${e}[:-]`);return o=>o.match(n)?{matcher:o.slice(r),selector:t}:void 0};var ae={},Fn=(e,t,r)=>{let n=Object.entries(r.breakpoints||{}).map(([o,s],i)=>[o,s,i]);for(let[o,s,i]of n){ae[o]||(ae[o]=new RegExp(`^((?:[a|l]t-)?${o}[:-])`));let a=e.match(ae[o]);if(!a)continue;let[,c]=a,d="min",p=parseInt(s);c.startsWith("lt-")&&(d="max",p=-p);let y=e.slice(c.length);if(y!=="container")return c.startsWith("at-")&&i<n.length-1?{matcher:y,parent:[`@media (min-width: ${s}) and (max-width: ${n[i+1][1]})`,p]}:{matcher:y,parent:[`@media (${d}-width: ${s})`,p]}}},Mn=[R("children",e=>`${e} > *`),R("all",e=>`${e} *`),R("next",e=>`${e}+*`)],Ie=[R("dark",e=>`.dark $$ ${e}`),R("light",e=>`.light $$ ${e}`)],qe=[e=>{let t=R("dark")(e);if(t)return S(v({},t),{parent:"@media (prefers-color-scheme: dark)"});let r=R("light")(e);if(r)return S(v({},r),{parent:"@media (prefers-color-scheme: light)"})}],Vn={match(e){if(e.startsWith("!"))return{matcher:e.slice(1),body:t=>(t.forEach(r=>{r[1]&&(r[1]+=" !important")}),t)}}},On={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]+|%)?/,s=>`-${s}`))}),t)}}},Tn=e=>{if(/^space-?([xy])-?(-?.+)$/.test(e)||/^divide-/.test(e))return{matcher:e,selector:t=>`${t}>:not([hidden])~:not([hidden])`}},Ye=[Tn,On,Vn,Fn,...Mn,Me,Fe];var Xe=(e={})=>({name:"@unocss/preset-mini",theme:me,rules:Ge,variants:[...Ye,...e.dark==="media"?qe:Ie],options:e});var Pn=["v-bind:",":"],Ze=/[\s'"`;]+/g,Dn=/<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g,Nn=/([?]|(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-]+)(?:=(["'])([^\2]*?)\2)?/g,Qe=e=>({name:"attributify",extract({code:t}){let r=Array.from(t.matchAll(Dn)).flatMap(n=>Array.from((n[1]||"").matchAll(Nn))).flatMap(([,n,o,s])=>{var i;if((i=e==null?void 0:e.ignoreAttributes)==null?void 0:i.includes(n))return[];for(let a of Pn)if(n.startsWith(a)){n=n.slice(a.length);break}return s?["class","className"].includes(n)?s.split(Ze).filter(T):s.split(Ze).filter(Boolean).map(a=>`[${n}~="${a}"]`):T(n)&&(e==null?void 0:e.nonValuedAttribute)!==!1?[`[${n}=""]`]:[]});return new Set(r)}});var Ln=/^(.+\:\!?)?(.*?)$/,Je=(e={})=>{var r;let t=(r=e.prefix)!=null?r:"un-";return n=>{let o=ye(n);if(!o)return;let s=o[1];if(s.startsWith(t))s=s.slice(t.length);else if(e.prefixedOnly)return;let i=o[2],[,a="",c=i]=i.match(Ln)||[];return c==="~"||!c?`${a}${s}`:`${a}${s}-${c}`}};var Kn=e=>{let t=[Je(e)],r=[Qe(e)];return(e==null?void 0:e.strict)||r.unshift(P),{name:"@unocss/preset-attributify",variants:t,extractors:r,options:e}},et=Kn;function ce(e={}){var j;if(typeof window=="undefined"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}Object.assign(e,(j=window.__unocss)==null?void 0:j.runtime);let t,r=!1,n,o=ze(window.__unocss||{},e.defaults),s=new Set,i;function a(){i!=null&&clearTimeout(i),i=setTimeout(c,0)}async function c(){let b=await o.generate(s);t||(t=document.createElement("style"),document.head.appendChild(t)),t.innerHTML=b.css}async function d(b){await o.applyExtractors(b,void 0,s),a()}function p(){let b=document.body&&document.body.outerHTML;b&&d(b)}let y=new MutationObserver(b=>{r||b.forEach(U=>{let l=U.target;if(l===t||n&&!n(l))return;let g=Array.from(l.attributes).map(x=>x.value?`${x.name}="${x.value}"`:x.name).join(" "),m=`<${l.tagName.toLowerCase()} ${g}>`;d(m)})}),u=!1;function h(){if(!u)return;let b=document.documentElement||document.body;!b||(y.observe(b,{childList:!0,subtree:!0,attributes:!0}),u=!0)}function E(){p(),h()}window.__unocss_runtime=window.__unocss_runtime={version:o.version,uno:o,extractAll:p,inspect(b){n=b},toggleObserver(b){b===void 0?r=!r:r=!!b}},E(),window.addEventListener("load",E),window.addEventListener("DOMContentLoaded",E)}ce({defaults:{presets:[Xe(),et()]}});})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/runtime",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6",
|
|
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.15.
|
|
38
|
-
"@unocss/preset-attributify": "0.15.
|
|
39
|
-
"@unocss/preset-uno": "0.15.
|
|
37
|
+
"@unocss/core": "0.15.6",
|
|
38
|
+
"@unocss/preset-attributify": "0.15.6",
|
|
39
|
+
"@unocss/preset-uno": "0.15.6"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pnpm run build:node && pnpm run build:cdn",
|