@vuebro/runtime 1.1.21 → 1.1.22

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.
@@ -0,0 +1,415 @@
1
+ const $r="modulepreload",vr=function(e,t){return new URL(e,t).href},Bt={},xr=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const a=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=s?.nonce||s?.getAttribute("nonce");o=c(n.map(u=>{if(u=vr(u,r),u in Bt)return;Bt[u]=!0;const d=u.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(!!r)for(let k=a.length-1;k>=0;k--){const $=a[k];if($.href===u&&(!d||$.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":$r,d||(g.as="script"),g.crossOrigin="",g.href=u,l&&g.setAttribute("nonce",l),document.head.appendChild(g),d)return new Promise((k,$)=>{g.addEventListener("load",k),g.addEventListener("error",()=>$(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Ie="default",$t="preflights",wr="shortcuts",Nn="imports",Sr={[Nn]:-200,[$t]:-100,[wr]:-10,[Ie]:0},Wn=/[\\:]?[\s'"`;{}]+/g;function Er(e){return e.split(Wn)}const Cr={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Er(e)}};function M(e=[]){return Array.isArray(e)?e:[e]}function re(e){return Array.from(new Set(e))}function It(e,t){return e.reduce((n,r)=>(n.findIndex(i=>t(r,i))===-1&&n.push(r),n),[])}function N(e){return typeof e=="string"}class Tn extends Set{_map=new Map;constructor(t){if(super(),t)for(const n of t)this.add(n)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,n){return this._map.set(t,n),super.add(t)}}function st(e){return e instanceof Tn}function Oe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function be(e){const t=e.length;let n=-1,r,o="";const i=e.charCodeAt(0);for(;++n<t;){if(r=e.charCodeAt(n),r===0){o+="�";continue}if(r===37){o+="\\%";continue}if(r===44){o+="\\,";continue}if(r>=1&&r<=31||r===127||n===0&&r>=48&&r<=57||n===1&&r>=48&&r<=57&&i===45){o+=`\\${r.toString(16)} `;continue}if(n===0&&t===1&&r===45){o+=`\\${e.charAt(n)}`;continue}if(r>=128||r===45||r===95||r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122){o+=e.charAt(n);continue}o+=`\\${e.charAt(n)}`}return o}const lt=be;function jr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(n=>n(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(n=>n!==t)}}}const zr=/^\[(.+?)~?="(.*)"\]$/,Ar=/[\w\u00A0-\uFFFF%-?]/;function Rr(e){return e.match(zr)}function vt(e=""){return Ar.test(e)}function Or(e){return typeof e=="function"?{match:e}:e}function Dt(e){return e.length===3}function De(e){return e!=null}function Pr(){}class Mr{_map=new Map;get(t,n){const r=this._map.get(t);if(r)return r.get(n)}getFallback(t,n,r){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(n)||o.set(n,r),o.get(n)}set(t,n,r){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(n,r),this}has(t,n){return this._map.get(t)?.has(n)}delete(t,n){return this._map.get(t)?.delete(n)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([n,r])=>Array.from(r.entries()).map(([o,i])=>t(i,n,o)))}}class _r extends Map{getFallback(t,n){const r=this.get(t);return r===void 0?(this.set(t,n),n):r}map(t){const n=[];return this.forEach((r,o)=>{n.push(t(r,o))}),n}flatMap(t){const n=[];return this.forEach((r,o)=>{n.push(...t(r,o))}),n}}function Ye(e){return N(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Fr(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Ye(t)):[e]:[Ye(e)]}function Lr(e){return e.filter(([t,n],r)=>{if(t.startsWith("$$"))return!1;for(let o=r-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===n)return!1;return!0})}function ct(e){return e==null?"":Lr(e).map(([t,n])=>n!=null&&typeof n!="function"?`${t}:${n};`:void 0).filter(Boolean).join("")}function We(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Je(e,t,n=!1){const r=e,o=t;if(Array.isArray(o))return n&&Array.isArray(o)?[...r,...o]:[...o];const i={...r};return We(r)&&We(o)&&Object.keys(o).forEach(a=>{We(r[a])&&We(o[a])||Array.isArray(r[a])&&Array.isArray(o[a])?i[a]=Je(r[a],o[a],n):Object.assign(i,{[a]:o[a]})}),i}function He(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r=="object"?He(r):r;return n}if(Object.prototype.toString.call(e)==="[object Object]"){n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:He(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r=="object"?He(r):r;return n}return e}function Nr(e){return N(e[0])}function Wr(e){return N(e[0])}const Te={};function Tr(e=["-",":"]){const t=e.join("|");return Te[t]||(Te[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Te[t].lastIndex=0,Te[t]}function Vr(e,t=["-",":"],n=5){const r=Tr(t);let o,i=e.toString();const a=new Set,s=new Map;do o=!1,i=i.replace(r,(c,u,d,p,h)=>{if(!t.includes(d))return c;o=!0,a.add(u+d);const g=h+u.length+d.length+1,k={length:c.length,items:[]};s.set(h,k);for(const $ of[...p.matchAll(/\S+/g)]){const C=g+$.index;let m=s.get(C)?.items;m?s.delete(C):m=[{offset:C,length:$[0].length,className:$[0]}];for(const y of m)y.className=y.className==="~"?u:y.className.replace(/^(!?)(.*)/,`$1${u}${d}$2`),k.items.push(y)}return"$".repeat(c.length)}),n-=1;while(o&&n);let l;if(typeof e=="string"){l="";let c=0;for(const[u,d]of s)l+=e.slice(c,u),l+=d.items.map(p=>p.className).join(" "),c=u+d.length;l+=e.slice(c)}else{l=e;for(const[c,u]of s)l.overwrite(c,c+u.length,u.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return l.toString()}}}function Ur(e,t=["-",":"],n=5){const r=Vr(e,t,n);return typeof e=="string"?r.expanded:e}const Ht=new Set;function Br(e){Ht.has(e)||(console.warn("[unocss]",e),Ht.add(e))}function Vn(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const qt="_uno_resolved";async function Ir(e){let t=typeof e=="function"?await e():await e;if(qt in t)return t;t={...t},Object.defineProperty(t,qt,{value:!0,enumerable:!1});const n=t.shortcuts?Vn(t.shortcuts):void 0;if(t.shortcuts=n,t.prefix||t.layer){const r=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};n?.forEach(r),t.rules?.forEach(r)}return t}async function Un(e){const t=await Ir(e);if(!t.presets)return[t];const n=(await Promise.all((t.presets||[]).flatMap(M).flatMap(Un))).flat();return[t,...n]}function Dr(e){if(e.length===0)return{};const t=[],n=[];let r=!1;const o=[],i=[];for(const s of e){if(s.pipeline===!1){r=!0;break}else s.pipeline?.include&&t.push(s.pipeline.include),s.pipeline?.exclude&&n.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}const a={pipeline:r?!1:{include:re(Xt(...t)),exclude:re(Xt(...n))}};return o.length&&(a.filesystem=re(o.flat())),i.length&&(a.inline=re(i.flat())),a}async function Yt(e={},t={}){const n=Object.assign({},t,e),r=It((await Promise.all((n.presets||[]).flatMap(M).flatMap(Un))).flat(),(b,E)=>b.name===E.name),o=[...r.filter(b=>b.enforce==="pre"),...r.filter(b=>!b.enforce),...r.filter(b=>b.enforce==="post")],i=[...o,n],a=[...i].reverse(),s=Object.assign({},Sr,...i.map(b=>b.layers));function l(b){return re(i.flatMap(E=>M(E[b]||[])))}const c=l("extractors");let u=a.find(b=>b.extractorDefault!==void 0)?.extractorDefault;u===void 0&&(u=Cr),u&&!c.includes(u)&&c.unshift(u),c.sort((b,E)=>(b.order||0)-(E.order||0));const d=l("rules"),p={},h=d.length,g=d.filter(b=>Nr(b)?(M(b[2]?.prefix||"").forEach(v=>{p[v+b[0]]=b}),!1):!0).reverse(),k={templates:re(i.flatMap(b=>M(b.autocomplete?.templates))),extractors:i.flatMap(b=>M(b.autocomplete?.extractors)).sort((b,E)=>(b.order||0)-(E.order||0)),shorthands:qr(i.map(b=>b.autocomplete?.shorthands||{}))};let $=l("separators");$.length||($=[":","-"]);const C=l("content"),m=Dr(C),y={mergeSelectors:!0,warn:!0,sortLayers:b=>b,...n,blocklist:l("blocklist"),presets:o,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:s,theme:Hr(i.map(b=>b.theme)),rules:d,rulesSize:h,rulesDynamic:g,rulesStaticMap:p,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:k,variants:l("variants").map(Or).sort((b,E)=>(b.order||0)-(E.order||0)),shortcuts:Vn(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:$,details:n.details??n.envMode==="dev",content:m,transformers:It(l("transformers"),(b,E)=>b.name===E.name)},w=l("extendTheme");for(const b of w)y.theme=b(y.theme,y)||y.theme;for(const b of i)b?.configResolved?.(y);return y}function Hr(e){return e.map(t=>t?He(t):{}).reduce((t,n)=>Je(t,n),{})}function qr(e){return e.reduce((t,n)=>{const r={};for(const o in n){const i=n[o];Array.isArray(i)?r[o]=`(${i.join("|")})`:r[o]=i}return{...t,...r}},{})}function Xt(...e){return e.flatMap(Yr)}function Yr(e){return Array.isArray(e)?e:e?[e]:[]}function Lc(e){return e}const Xr="66.4.2",U={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class Pt{constructor(t={},n={}){this.userConfig=t,this.defaults=n}version=Xr;events=jr();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},n={}){const r=new Pt(t,n);return r.config=await Yt(r.userConfig,r.defaults),r.events.emit("config",r.config),r}async setConfig(t,n){t&&(n&&(this.defaults=n),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Yt(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,n,r=new Set){const o={original:t,code:t,id:n,extracted:r,envMode:this.config.envMode};for(const i of this.config.extractors){const a=await i.extract?.(o);if(a)if(st(a)&&st(r))for(const s of a)r.setCount(s,r.getCount(s)+a.getCount(s));else for(const s of a)r.add(s)}return r}makeContext(t,n){const r={rawSelector:t,currentSelector:n[1],theme:this.config.theme,generator:this,symbols:U,variantHandlers:n[2],constructCSS:(...o)=>this.constructCustomCSS(r,...o),variantMatch:n};return r}async parseToken(t,n){if(this.blocked.has(t))return;const r=`${t}${n?` ${n}`:""}`;if(this.cache.has(r))return this.cache.get(r);const o=this.config.preprocess.reduce((l,c)=>c(l)??l,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(r,null);return}const i=await this.matchVariants(t,o);if(i.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(t),this.cache.set(r,null);return}const a=async l=>{const c=this.makeContext(t,[n||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);const u=await this.expandShortcut(c.currentSelector,c);return u?await this.stringifyShortcuts(c.variantMatch,c,u[0],u[1]):(await this.parseUtil(c.variantMatch,c))?.map(p=>this.stringifyUtil(p,c)).filter(De)},s=(await Promise.all(i.map(l=>a(l)))).flat().filter(l=>!!l);if(s?.length)return this.cache.set(r,s),s;this.cache.set(r,null)}async generate(t,n={}){const{id:r,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:l=!1}=n,c=N(t)?await this.applyExtractors(t,r,l?new Tn:new Set):Array.isArray(t)?new Set(t):t;if(a){const v={generator:this,theme:this.config.theme};this.config.safelist.flatMap(S=>typeof S=="function"?S(v):S).forEach(S=>{const R=S.trim();R&&!c.has(R)&&c.add(R)})}const u=s?"":`
2
+ `,d=new Set([Ie]),p=l?new Map:new Set,h=new Map;let g={};const k=Array.from(c).map(async v=>{if(p.has(v))return;const S=await this.parseToken(v);if(S!=null){p instanceof Map?p.set(v,{data:S,count:st(c)?c.getCount(v):-1}):p.add(v);for(const R of S){const H=R[3]||"",q=R[4]?.layer;h.has(H)||h.set(H,[]),h.get(H).push(R),q&&d.add(q)}}});await Promise.all(k),await(async()=>{if(!i)return;const v={generator:this,theme:this.config.theme},S=new Set([]);this.config.preflights.forEach(({layer:R=$t})=>{d.add(R),S.add(R)}),g=Object.fromEntries(await Promise.all(Array.from(S).map(async R=>{const q=(await Promise.all(this.config.preflights.filter(G=>(G.layer||$t)===R).map(async G=>await G.getCSS(v)))).filter(Boolean).join(u);return[R,q]})))})();const $=this.config.sortLayers(Array.from(d).sort((v,S)=>(this.config.layers[v]??0)-(this.config.layers[S]??0)||v.localeCompare(S))),C={},m=this.config.outputToCssLayers,y=v=>{let S=v;return typeof m=="object"&&(S=m.cssLayerName?.(v)),S===null?null:S??v},w=(v=Ie)=>{if(C[v])return C[v];let S=Array.from(h).sort((q,G)=>(this.parentOrders.get(q[0])??0)-(this.parentOrders.get(G[0])??0)||q[0]?.localeCompare(G[0]||"")||0).map(([q,G])=>{const j=G.length,O=G.filter(F=>(F[4]?.layer||Ie)===v).sort((F,K)=>F[0]-K[0]||(F[4]?.sort||0)-(K[4]?.sort||0)||F[5]?.currentSelector?.localeCompare(K[5]?.currentSelector??"")||F[1]?.localeCompare(K[1]||"")||F[2]?.localeCompare(K[2]||"")||0).map(([,F,K,,Ne,,it])=>[[[(F&&Zr(F,o))??"",Ne?.sort??0]],K,!!(it??Ne?.noMerge)]);if(!O.length)return;const _=O.reverse().map(([F,K,Ne],it)=>{if(!Ne&&this.config.mergeSelectors)for(let ie=it+1;ie<j;ie++){const te=O[ie];if(te&&!te[2]&&(F&&te[0]||F==null&&te[0]==null)&&te[1]===K)return F&&te[0]&&te[0].push(...F),null}const at=F?re(F.sort((ie,te)=>ie[1]-te[1]||ie[0]?.localeCompare(te[0]||"")||0).map(ie=>ie[0]).filter(Boolean)):[];return at.length?`${at.join(`,${u}`)}{${K}}`:K}).filter(Boolean),L=Array.from(new Set(_)).reverse().join(u);if(!q)return L;const B=q.split(" $$ ");return`${B.join("{")}{${u}${L}${u}${"}".repeat(B.length)}`}).filter(Boolean).join(u);i&&(S=[g[v],S].filter(Boolean).join(u));let R;m&&S&&(R=y(v),R!==null&&(S=`@layer ${R}{${u}${S}${u}}`));const H=s?"":`/* layer: ${v}${R&&R!==v?`, alias: ${R}`:""} */${u}`;return C[v]=S?H+S:""},b=(v=$,S)=>{const R=v.filter(H=>!S?.includes(H));return[m&&R.length>0?`@layer ${R.map(y).filter(De).join(", ")};`:void 0,...R.map(H=>w(H)||"")].filter(Boolean).join(u)};return{get css(){return b()},layers:$,matched:p,getLayers:b,getLayer:w,setLayer:async(v,S)=>{const R=await S(w(v));return C[v]=R,R}}}async matchVariants(t,n){const r={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let a=!0;const[,,s,l]=i;for(;a;){a=!1;const c=i[1];for(const u of this.config.variants){if(!u.multiPass&&l.has(u))continue;let d=await u.match(c,r);if(d){if(N(d)){if(d===c)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(u.multiPass)throw new Error("multiPass can not be used together with array return variants");const p=d.map(h=>{const g=h.matcher??c,k=[h,...s],$=new Set(l);return $.add(u),[i[0],g,k,$]});return(await Promise.all(p.map(h=>o(h)))).flat()}}i[1]=d.matcher??c,s.unshift(d),l.add(u),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,n||t,[],new Set])}applyVariants(t,n=t[4],r=t[1]){const i=n.slice().sort((c,u)=>(c.order||0)-(u.order||0)).reduceRight((c,u)=>d=>{const p=u.body?.(d.entries)||d.entries,h=Array.isArray(u.parent)?u.parent:[u.parent,void 0],g=u.selector?.(d.selector,p);return(u.handle??Jr)({...d,entries:p,selector:g||d.selector,parent:h[0]||d.parent,parentOrder:h[1]||d.parentOrder,layer:u.layer||d.layer,sort:u.sort||d.sort},c)},c=>c)({prefix:"",selector:In(r),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const c of this.config.postprocess)c(l);return l}constructCustomCSS(t,n,r){const o=Ye(n);if(N(o))return o;const{selector:i,entries:a,parent:s}=this.applyVariants([0,r||t.rawSelector,o,void 0,t.variantHandlers]),l=`${i}{${ct(a)}}`;return s?`${s}{${l}}`:l}async parseUtil(t,n,r=!1,o){const i=N(t)?await this.matchVariants(t):[t],a=async([l,c,u])=>{this.config.details&&(n.rules=n.rules??[]);const d={...n,variantHandlers:u},p=this.config.rulesStaticMap[c];if(p&&p[1]&&(r||!p[2]?.internal))return this.resolveCSSResult(l,p[1],p,d);for(const h of this.config.rulesDynamic){const[g,k,$]=h;if($?.internal&&!r)continue;let C=c;if($?.prefix){const b=M($.prefix);if(o){const E=M(o);if(!b.some(v=>E.includes(v)))continue}else{const E=b.find(v=>c.startsWith(v));if(E==null)continue;C=c.slice(E.length)}}const m=C.match(g);if(!m)continue;let y=await k(m,d);if(!y)continue;if(typeof y!="string")if(Symbol.asyncIterator in y){const b=[];for await(const E of y)E&&b.push(E);y=b}else Symbol.iterator in y&&!Array.isArray(y)&&(y=Array.from(y).filter(De));const w=this.resolveCSSResult(l,y,h,d);if(w)return w}},s=(await Promise.all(i.map(l=>a(l)))).flat().filter(l=>!!l);if(s.length)return s}resolveCSSResult=(t,n,r,o)=>{const i=Fr(n).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(r),o.generator.activatedRules.add(r);const a=o.generator.config.rules.indexOf(r),s=r[2];return i.map(l=>{if(N(l))return[a,l,s];let c=o.variantHandlers,u=s;for(const d of l)d[0]===U.variants?typeof d[1]=="function"?c=d[1](c)||c:c=[...M(d[1]),...c]:d[0]===U.parent?c=[{parent:d[1]},...c]:d[0]===U.selector?c=[{selector:d[1]},...c]:d[0]===U.layer?c=[{layer:d[1]},...c]:d[0]===U.sort?u={...u,sort:d[1]}:d[0]===U.noMerge&&(u={...u,noMerge:d[1]});return[a,t,l,u,c]})}};stringifyUtil(t,n){if(!t)return;if(Dt(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?n:void 0,void 0];const{selector:r,entries:o,parent:i,layer:a,sort:s,noMerge:l}=this.applyVariants(t),c=ct(o);if(!c)return;const{layer:u,sort:d,...p}=t[3]??{},h={...p,layer:a??u,sort:s??d};return[t[0],r,c,i,h,this.config.details?n:void 0,l]}async expandShortcut(t,n,r=5){if(r===0)return;const o=this.config.details?c=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(c)}:Pr;let i,a,s,l;for(const c of this.config.shortcuts){let u=t;if(c[2]?.prefix){const p=M(c[2].prefix).find(h=>t.startsWith(h));if(p==null)continue;u=t.slice(p.length)}if(Wr(c)){if(c[0]===u){i=i||c[2],a=c[1],o(c);break}}else{const d=u.match(c[0]);if(d&&(a=c[1](d,n)),a){i=i||c[2],o(c);break}}}if(a&&(s=re(M(a).filter(N).map(c=>Ur(c.trim()).split(/\s+/g)).flat()),l=M(a).filter(c=>!N(c)).map(c=>({handles:[],value:c}))),!a){const c=N(t)?await this.matchVariants(t):[t];for(const u of c){const[d,p,h]=u;if(d!==p){const g=await this.expandShortcut(p,n,r-1);g&&(s=g[0].filter(N).map(k=>d.replace(p,k)),l=g[0].filter(k=>!N(k)).map(k=>({handles:[...k.handles,...h],value:k.value})))}}}if(!(!s?.length&&!l?.length))return[[await Promise.all(M(s).map(async c=>(await this.expandShortcut(c,n,r-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,n,r,o={layer:this.config.shortcutsLayer}){const i=new _r,a=(await Promise.all(re(r).map(async u=>{const d=N(u)?await this.parseUtil(u,n,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Ye(u.value),void 0,u.handles]];return!d&&this.config.warn&&Br(`unmatched utility "${u}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((u,d)=>u[0]-d[0]),[s,,l]=t,c=[];for(const u of a){if(Dt(u)){c.push([u[0],void 0,u[1],void 0,u[2],n,void 0]);continue}const{selector:d,entries:p,parent:h,sort:g,noMerge:k,layer:$}=this.applyVariants(u,[...u[4],...l],s);i.getFallback($??o.layer,new Mr).getFallback(d,h,[[],u[0]])[0].push([p,!!(k??u[3]?.noMerge),g??0])}return c.concat(i.flatMap((u,d)=>u.map(([p,h],g,k)=>{const $=(m,y,w)=>{const b=Math.max(...w.map(v=>v[1])),E=w.map(v=>v[0]);return(m?[E.flat(1)]:E).map(v=>{const S=ct(v);if(S)return[h,g,S,k,{...o,noMerge:y,sort:b,layer:d},n,void 0]})};return[[p.filter(([,m])=>m).map(([m,,y])=>[m,y]),!0],[p.filter(([,m])=>!m).map(([m,,y])=>[m,y]),!1]].map(([m,y])=>[...$(!1,y,m.filter(([w])=>w.some(b=>b[0]===U.shortcutsNoMerge))),...$(!0,y,m.filter(([w])=>w.every(b=>b[0]!==U.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(n=>Array.isArray(n)?n[0]:n).some(n=>typeof n=="function"?n(t):N(n)?n===t:n.test(t))}getBlocked(t){const n=this.config.blocklist.find(r=>{const o=Array.isArray(r)?r[0]:r;return typeof o=="function"?o(t):N(o)?o===t:o.test(t)});return n?Array.isArray(n)?n:[n,void 0]:void 0}}async function Gr(e,t){return await Pt.create(e,t)}const Bn=/\s\$\$\s+/g;function Kr(e){return Bn.test(e)}function Zr(e,t){return Kr(e)?e.replace(Bn,t?` ${t} `:" "):t?`${t} ${e}`:e}const Gt=/^\[(.+?)(~?=)"(.*)"\]$/;function In(e){return Gt.test(e)?e.replace(Gt,(t,n,r,o)=>`[${lt(n)}${r}"${lt(o)}"]`):`.${lt(e)}`}function Jr(e,t){return t(e)}var Qr={};function eo(e,t){return{name:e,getImportUrl(n){const r=n.map(o=>{const{name:i,weights:a,italic:s}=o,l=i.toLowerCase().replace(/\s/g,"-");if(!a?.length)return`${l}${s?":i":""}`;let c=a.map(d=>d.toString());return!c.some(d=>d.endsWith("i"))&&s&&(c=c.map(d=>d+="i")),`${l}:${c.join(",")}`});return`${t}/css?family=${r.join("|")}&display=swap`}}}const to=eo("bunny","https://fonts.bunny.net");function no(e,t){return{name:e,getImportUrl(n){const r=i=>{const a=i.map(l=>l[0]),s=i.map(l=>l[1]);return`${a.join(";")};${s.join(";")}`},o=n.map(i=>{let a=i.name.replace(/\s+/g,"+");return i.weights?.length&&(a+=i.italic?`:ital,wght@${r(i.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${i.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const ro=no("coollabs","https://api.fonts.coollabs.io"),oo=io("fontshare","https://api.fontshare.com");function io(e,t){return{name:e,getImportUrl(n){const r=n.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(a=>o.italic?Number(a)+1:a).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${r}&display=swap`}}}function ao(e,t){const n=new Map,r=new Map;return{name:e,async getPreflight(o,i){return(await Promise.all(o.map(async s=>{const l=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=n.get(c);if(!u){const C=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await i(C),n.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:d,unicodeRange:p,variants:h,family:g}=u,k=u.subsets.filter(C=>s.subsets?s.subsets.includes(C):!0),$=s.italic?"italic":"normal";if(u.variable&&!s.preferStatic){let C=r.get(c);const m=`https://api.fontsource.org/v1/variable/${c}`;try{C=await i(m),r.set(c,C)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const y=Je(C.axes,s.variable??{});for(const w of k)if(p[w]){const b=`${t}/fontsource/fonts/${u.id}:vf@latest/${w}-wght-${$}.woff2`,E={family:g,display:"swap",style:$,weight:400,src:[{url:b,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:p[w],comment:`${u.id}-${w}-wght-normal`};l.push(ut(E))}else Object.entries(p).filter(([b])=>!u.subsets.includes(b)).forEach(([b,E])=>{const v=`${t}/fontsource/fonts/${u.id}:vf@latest/${b.slice(1,-1)}-wght-${$}.woff2`,S={family:g,display:"swap",style:$,weight:400,src:[{url:v,format:"woff2-variations"}],variable:{wght:y.wght??void 0,wdth:y.wdth??void 0,slnt:y.slnt??void 0},unicodeRange:E,comment:`${u.id}-${b}-wght-normal`};l.push(ut(S))})}else{const C=s.weights&&s.weights.length>0?s.weights:d;for(const m of k)for(const y of C){const w=h[y][$][m].url,b={family:g,display:"swap",style:$,weight:Number(y),src:[{url:w.woff2,format:"woff2"}],unicodeRange:p[m],comment:`${u.id}-${m}-${y}-${$}`};l.push(ut(b))}}return l}))).flat().join(`
3
+
4
+ `)}}}const so=ao("fontsource","https://cdn.jsdelivr.net");function ut(e){const{family:t,style:n,display:r,weight:o,variable:i,src:a,unicodeRange:s,comment:l,spacer:c=`
5
+ `}=e,{wght:u,wdth:d,slnt:p}=i??{};let h="@font-face {";return h+=`${c}font-family: '${t}';`,h+=`${c}font-style: ${p?`oblique ${Number(p.max)*-1}deg ${Number(p.min)*-1}deg`:n};`,h+=`${c}font-display: ${r};`,h+=`${c}font-weight: ${u?lo(u):o};`,d&&(h+=`${c}font-stretch: ${d.min}% ${d.max}%;`),h+=`${c}src: ${a.map(({url:g,format:k})=>`url(${g}) format('${k}')`).join(", ")};`,s&&(h+=`${c}unicode-range: ${s};`),l&&(h=`/* ${l} */
6
+ ${h}`),`${h}
7
+ }`}function lo(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function co(e,t){return{name:e,getImportUrl(n){const r=i=>{const a=i.map(l=>l[0]),s=i.map(l=>l[1]);return`${a.join(";")};${s.join(";")}`},o=n.map(i=>{let a=i.name.replace(/\s+/g,"+");return i.weights?.length&&(a+=i.italic?`:ital,wght@${r(i.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${i.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const uo=co("google","https://fonts.googleapis.com"),fo={name:"none",getPreflight(){return""},getFontName(e){return e.name}},po={google:uo,bunny:to,fontshare:oo,fontsource:so,coollabs:ro,none:fo};function Kt(e){return typeof e=="string"?po[e]:e}function ho(e,t){if(typeof e!="string")return e.provider=Kt(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[n,r=""]=e.split(":");return{name:n,weights:[...new Set(r.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:Kt(t)}}function mo(e){return(t={})=>{const{provider:n="google",extendTheme:r=!0,inlineImports:o=!0,customFetch:i=e,timeouts:a={}}=t,s="fonts",l=o?s:Nn,c=M(t.processors||[]),u=Object.fromEntries(Object.entries(t.fonts||{}).map(([m,y])=>[m,M(y).map(w=>ho(w,n))])),d=Object.values(u).flatMap(m=>m),p={};async function h(m){if(a===!1)return i(m);const{warning:y=1e3,failure:w=2e3}=a;let b=!1;const E=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${m}`),b=!0},y);return await Promise.race([i(m),new Promise((v,S)=>{setTimeout(()=>S(new Error("[unocss] Fetch web fonts timeout.")),w)})]).then(v=>(b&&console.info("[unocss] Web fonts fetched."),v)).finally(()=>clearTimeout(E))}async function g(m){return o?(p[m]||(p[m]=h(m).catch(y=>{if(console.error(`[unocss] Failed to fetch web fonts: ${m}`),console.error(y),typeof process<"u"&&Qr.CI)throw y})),await p[m]):`@import url('${m}');`}const k=Array.from(new Set(d.map(m=>m.provider)));async function $(m,y){const w=[];for(const E of y){const v=m.filter(S=>S.provider.name===E.name);if(E.getImportUrl){const S=E.getImportUrl(v);S&&w.push(await g(S))}w.push(await E.getPreflight?.(v,h))}return w.filter(Boolean).join(`
8
+ `)}const C={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let m;for(const y of c){const w=await y.getCSS?.(d,k,$);if(w){m=w;break}}m||(m=await $(d,k));for(const y of c)m=await y.transformCSS?.(m)||m;return m},layer:l}],layers:{[s]:-200}};return r&&(C.extendTheme=(m,y)=>{const w=y.presets.some(v=>v.name==="@unocss/preset-wind4"),b=t.themeKey??(w?"font":"fontFamily");m[b]||(m[b]={});const E=Object.fromEntries(Object.entries(u).map(([v,S])=>[v,S.map(R=>R.provider.getFontName?.(R)??`"${R.name}"`)]));for(const v of Object.keys(E))typeof m[b][v]=="string"?m[b][v]=E[v].map(S=>`${S},`).join("")+m[b][v]:m[b][v]=E[v].join(",")}),C}}const go="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",bo=async e=>(await xr(async()=>{const{$fetch:t}=await import("./index-BYrZTLvo.js");return{$fetch:t}},[],import.meta.url)).$fetch(e,{headers:{"User-Agent":go},retry:3}),Nc=mo(bo);function yo(e){return e.replace(/-(\w)/g,(t,n)=>n?n.toUpperCase():"")}function Zt(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Jt(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Qt=["Webkit","Moz","ms"];function ko(e){const t={};function n(r){const o=t[r];if(o)return o;let i=yo(r);if(i!=="filter"&&i in e)return t[r]=Jt(i);i=Zt(i);for(let a=0;a<Qt.length;a++){const s=`${Qt[a]}${i}`;if(s in e)return t[r]=Jt(Zt(s))}return r}return({entries:r})=>r.forEach(o=>{o[0].startsWith("--")||(o[0]=n(o[0]))})}function $o(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function Wc(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,n=window.document,r=()=>n.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),a=i.defaults||{},s=i.cloakAttribute??"un-cloak";i.autoPrefix&&(a.postprocess=M(a.postprocess)).unshift(ko(n.createElement("div").style)),i.configResolved?.(o,a);const l=await Gr(o,a),c=j=>i.inject?i.inject(j):r().prepend(j),u=()=>i.rootElement?i.rootElement():n.body,d=new Map;let p=!0;const h=new Set;let g,k,$=[];const C=()=>new Promise(j=>{$.push(j),k!=null&&clearTimeout(k),k=setTimeout(()=>w().then(()=>{const O=$;$=[],O.forEach(_=>_())}),0)});function m(j,O=!1){if(j.nodeType!==1)return;const _=j;_.hasAttribute(s)&&_.removeAttribute(s),O&&_.querySelectorAll(`[${s}]`).forEach(L=>{L.removeAttribute(s)})}function y(j,O){let _=d.get(j);if(!_)if(_=n.createElement("style"),_.setAttribute("data-unocss-runtime-layer",j),d.set(j,_),O==null)c(_);else{const L=y(O),B=L.parentNode;B?B.insertBefore(_,L.nextSibling):c(_)}return _}async function w(){const j=[...h],O=await l.generate(j);return O.layers.reduce((L,B)=>(y(B,L).innerHTML=O.getLayer(B)??"",B),void 0),j.filter(L=>!O.matched.has(L)).forEach(L=>h.delete(L)),{...O,getStyleElement:L=>d.get(L),getStyleElements:()=>d}}async function b(j){const O=h.size;await l.applyExtractors(j,void 0,h),O!==h.size&&await C()}async function E(j=u()){const O=j&&j.outerHTML;O&&(await b(`${O} ${$o(O)}`),m(r()),m(j,!0))}const v=new MutationObserver(j=>{p||j.forEach(async O=>{if(O.target.nodeType!==1)return;const _=O.target;for(const L of d)if(_===L[1])return;if(O.type==="childList")O.addedNodes.forEach(async L=>{if(L.nodeType!==1)return;const B=L;g&&!g(B)||(await b(B.outerHTML),m(B))});else{if(g&&!g(_))return;if(O.attributeName!==s){const L=Array.from(_.attributes).map(F=>F.value?`${F.name}="${F.value}"`:F.name).join(" "),B=`<${_.tagName.toLowerCase()} ${L}>`;await b(B)}m(_)}})});let S=!1;function R(){if(S)return;const j=i.observer?.target?i.observer.target():u();j&&(v.observe(j,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),S=!0)}function H(){i.bypassDefined&&vo(l.blocked),E(),R()}function q(){n.readyState==="loading"?t.addEventListener("DOMContentLoaded",H):H()}const G=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(j){N(j)||(j.forEach(O=>h.add(O)),j=""),await b(j)},extractAll:E,inspect(j){g=j},toggleObserver(j){j===void 0?p=!p:p=!!j,!S&&!p&&q()},update:w,presets:t.__unocss_runtime?.presets??{}};i.ready?.(G)!==!1&&(p=!1,q())}function vo(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];let r;try{if(r=n.cssRules||n.rules,!r)continue;Array.from(r).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}const Dn=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function xo(e={}){const t=e.prefix??"un-",n=e.prefixedOnly??!1,r=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:a}){const s=Rr(i);if(!s)return;let l=s[1];if(l.startsWith(t))l=l.slice(t.length);else if(n)return;const c=s[2],[,u="",d=c]=c.match(Dn)||[];if(d==="~"||r&&d==="true"||!d)return`${u}${l}`;if(o==null){const p=a?.config?.separators?.join("|");p?o=new RegExp(`^(.*\\](?:${p}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,p,h]=c.match(o)||[];if(h)return`${p}${u}${l}-${h}`}if(u&&d.match(/^[\d.]+$/)){const p=u.split(/([^:]*:)/g).filter(Boolean),h=p.pop()+d,g=p.join("");return[{matcher:`${u}${l}-${d}`},{matcher:`${g}${l}-${h}`}]}return`${u}${l}-${d}`}}}const wo=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,So=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,en=/[\s'"`;>]+/;function Eo(e){return{name:"attributify",extract:({content:t,cursor:n})=>{const r=t.matchAll(wo);let o,i=0;for(const m of r){const[,y,w]=m,b=m.index+y.length;if(n>b&&n<=b+w.length){i=b,o=w;break}}if(!o)return null;const a=o.matchAll(So);let s=0,l,c;for(const m of a){const[y,w,b]=m,E=i+m.index;if(n>E&&n<=E+y.length){s=E,l=w,c=b?.slice(1);break}}if(!l||l==="class"||l==="className"||l===":class")return null;const u=!!e?.prefix&&l.startsWith(e.prefix);if(e?.prefixedOnly&&!u)return null;const d=u?l.slice(e.prefix.length):l;if(c===void 0)return{extracted:d,resolveReplacement(m){const y=u?e.prefix.length:0;return{start:s+y,end:s+l.length,replacement:m}}};const p=s+l.length+2;let h=en.exec(c),g=0,k;for(;h;){const[m]=h;if(n>p+g&&n<=p+g+h.index){k=c.slice(g,g+h.index);break}g+=h.index+m.length,h=en.exec(c.slice(g))}k===void 0&&(k=c.slice(g));const[,$="",C]=k.match(Dn)||[];return{extracted:`${$}${d}-${C}`,transformSuggestions(m){return m.filter(y=>y.startsWith(`${$}${d}-`)).map(y=>$+y.slice($.length+d.length+1))},resolveReplacement(m){return{start:g+p,end:g+p+k.length,replacement:$+m.slice($.length+d.length+1)}}}}}}const Co=["v-bind:",":"],tn=/[\s'"`;]+/g,ft=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,jo=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Hn=["placeholder","fill","opacity","stroke-opacity"];function zo(e){const t=e?.ignoreAttributes??Hn,n=e?.nonValuedAttribute??!0,r=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(ft)).flatMap(i=>Array.from((i[1]||"").matchAll(jo))).flatMap(([,i,...a])=>{const s=a.filter(Boolean).join("");if(t.includes(i))return[];for(const l of Co)if(i.startsWith(l)){i=i.slice(l.length);break}if(!s){if(vt(i)&&n!==!1){const l=[`[${i}=""]`];return r&&l.push(`[${i}="true"]`),l}return[]}return["class","className"].includes(i)?s.split(tn).filter(vt):ft.test(s)?(ft.lastIndex=0,this.extract({code:s})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:s.split(tn).filter(l=>!!l&&l!==":").map(l=>`[${i}~="${l}"]`)})}}}const Tc=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Hn;const t=[xo(e)],n=[zo(e)],r=[Eo(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:n,options:e,autocomplete:{extractors:r},extractorDefault:e.strict?!1:void 0}},xt="__TAGIFY__",Ao=/<([\w:-]+)/g;function Ro(e){const{prefix:t="",excludedTags:n=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:r}){return Array.from(r.matchAll(Ao)).filter(({1:o})=>{for(const i of n)if(typeof i=="string"){if(o===i)return!1}else if(i.lastIndex=0,i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${xt}${o}`)}}}function Oo(e){const{extraProperties:t}=e,n=`${xt}${e.prefix??""}`;return{name:"tagify",match(r){if(!r.startsWith(n))return;const o=r.slice(n.length),i={matcher:o,selector:a=>a.slice(xt.length+1)};return t&&(typeof t=="function"?i.body=a=>[...a,...Object.entries(t(o)??{})]:i.body=a=>[...a,...Object.entries(t)]),i}}}const Vc=(e={})=>{const{defaultExtractor:t=!0}=e,n=[Oo(e)],r=[Ro(e)];return{name:"@unocss/preset-tagify",variants:n,extractors:r,extractorDefault:t?void 0:!1}};var Po=44,Mo=59,nn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qn=new Uint8Array(64),_o=new Uint8Array(128);for(let e=0;e<nn.length;e++){const t=nn.charCodeAt(e);qn[e]=t,_o[t]=e}function xe(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let o=r&31;r>>>=5,r>0&&(o|=32),e.write(qn[o])}while(r>0);return t}var rn=1024*16,on=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}},Fo=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(rn)}write(e){const{buffer:t}=this;t[this.pos++]=e,this.pos===rn&&(this.out+=on.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+on.decode(e.subarray(0,n)):t}};function Lo(e){const t=new Fo;let n=0,r=0,o=0,i=0;for(let a=0;a<e.length;a++){const s=e[a];if(a>0&&t.write(Mo),s.length===0)continue;let l=0;for(let c=0;c<s.length;c++){const u=s[c];c>0&&t.write(Po),l=xe(t,u[0],l),u.length!==1&&(n=xe(t,u[1],n),r=xe(t,u[2],r),o=xe(t,u[3],o),u.length!==4&&(i=xe(t,u[4],i)))}}return t.flush()}class Xe{constructor(t){this.bits=t instanceof Xe?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Pe{constructor(t,n,r){this.start=t,this.end=n,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Pe(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let n=this;for(;n;)t(n),n=n.next}eachPrevious(t){let n=this;for(;n;)t(n),n=n.previous}edit(t,n,r){return this.content=t,r||(this.intro="",this.outro=""),this.storeName=n,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const n=t-this.start,r=this.original.slice(0,n),o=this.original.slice(n);this.original=r;const i=new Pe(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=r,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const n=this.content.replace(t,"");if(n.length)return n!==this.content&&(this.split(this.start+n.length).edit("",void 0,!0),this.edited&&this.edit(n,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const n=this.content.replace(t,"");if(n.length){if(n!==this.content){const r=this.split(this.end-n.length);this.edited&&r.edit(n,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function No(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Wo=No();class To{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Lo(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Wo(this.toString())}}function Vo(e){const t=e.split(`
9
+ `),n=t.filter(i=>/^\t+/.test(i)),r=t.filter(i=>/^ {2,}/.test(i));if(n.length===0&&r.length===0)return null;if(n.length>=r.length)return" ";const o=r.reduce((i,a)=>{const s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Uo(e,t){const n=e.split(/[/\\]/),r=t.split(/[/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length){let o=n.length;for(;o--;)n[o]=".."}return n.concat(r).join("/")}const Bo=Object.prototype.toString;function Io(e){return Bo.call(e)==="[object Object]"}function an(e){const t=e.split(`
10
+ `),n=[];for(let r=0,o=0;r<t.length;r++)n.push(o),o+=t[r].length+1;return function(o){let i=0,a=n.length;for(;i<a;){const c=i+a>>1;o<n[c]?a=c:i=c+1}const s=i-1,l=o-n[s];return{line:s,column:l}}}const Do=/\w/;class Ho{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,n,r,o){if(n.length){const i=n.length-1;let a=n.indexOf(`
11
+ `,0),s=-1;for(;a>=0&&i>a;){const c=[this.generatedCodeColumn,t,r.line,r.column];o>=0&&c.push(o),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=n.indexOf(`
12
+ `,a+1)}const l=[this.generatedCodeColumn,t,r.line,r.column];o>=0&&l.push(o),this.rawSegments.push(l),this.advance(n.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(n));this.pending=null}addUneditedChunk(t,n,r,o,i){let a=n.start,s=!0,l=!1;for(;a<n.end;){if(r[a]===`
13
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,l=!1;else{if(this.hires||s||i.has(a)){const c=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?Do.test(r[a])?l||(this.rawSegments.push(c),l=!0):(this.rawSegments.push(c),l=!1):this.rawSegments.push(c)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;const n=t.split(`
14
+ `);if(n.length>1){for(let r=0;r<n.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=n[n.length-1].length}}const we=`
15
+ `,de={insertLeft:!1,insertRight:!1,storeName:!1};class Mt{constructor(t,n={}){const r=new Pe(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:n.filename},indentExclusionRanges:{writable:!0,value:n.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Xe},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:n.ignoreList},offset:{writable:!0,value:n.offset||0}}),this.byStart[0]=r,this.byEnd[t.length]=r}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.appendLeft(n):this.intro+=n,this}appendRight(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.appendRight(n):this.outro+=n,this}clone(){const t=new Mt(this.original,{filename:this.filename,offset:this.offset});let n=this.firstChunk,r=t.firstChunk=t.lastSearchedChunk=n.clone();for(;n;){t.byStart[r.start]=r,t.byEnd[r.end]=r;const o=n.next,i=o&&o.clone();i&&(r.next=i,i.previous=r,r=i),n=o}return t.lastChunk=r,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Xe(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const n=0,r=Object.keys(this.storedNames),o=new Ho(t.hires),i=an(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{const s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(n,a.content,s,a.storeName?r.indexOf(a.original):-1):o.addUneditedChunk(n,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Uo(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:r,mappings:o.raw,x_google_ignoreList:this.ignoreList?[n]:void 0}}generateMap(t){return new To(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Vo(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,n){const r=/^[^\r\n]/gm;if(Io(t)&&(n=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;n=n||{};const o={};n.exclude&&(typeof n.exclude[0]=="number"?[n.exclude]:n.exclude).forEach(u=>{for(let d=u[0];d<u[1];d+=1)o[d]=!0});let i=n.indentStart!==!1;const a=c=>i?`${t}${c}`:(i=!0,c);this.intro=this.intro.replace(r,a);let s=0,l=this.firstChunk;for(;l;){const c=l.end;if(l.edited)o[s]||(l.content=l.content.replace(r,a),l.content.length&&(i=l.content[l.content.length-1]===`
16
+ `));else for(s=l.start;s<c;){if(!o[s]){const u=this.original[s];u===`
17
+ `?i=!0:u!=="\r"&&i&&(i=!1,s===l.start||(this._splitChunk(l,s),l=l.next),l.prependRight(t))}s+=1}s=l.end,l=l.next}return this.outro=this.outro.replace(r,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,n){return de.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),de.insertLeft=!0),this.appendLeft(t,n)}insertRight(t,n){return de.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),de.insertRight=!0),this.prependRight(t,n)}move(t,n,r){if(t=t+this.offset,n=n+this.offset,r=r+this.offset,r>=t&&r<=n)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(n),this._split(r);const o=this.byStart[t],i=this.byEnd[n],a=o.previous,s=i.next,l=this.byStart[r];if(!l&&i===this.lastChunk)return this;const c=l?l.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),c&&(c.next=o),l&&(l.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=c,i.next=l||null,c||(this.firstChunk=o),l||(this.lastChunk=i),this}overwrite(t,n,r,o){return o=o||{},this.update(t,n,r,{...o,overwrite:!o.contentOnly})}update(t,n,r,o){if(t=t+this.offset,n=n+this.offset,typeof r!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(n>this.original.length)throw new Error("end is out of bounds");if(t===n)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(n),o===!0&&(de.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),de.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){const c=this.original.slice(t,n);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}const s=this.byStart[t],l=this.byEnd[n];if(s){let c=s;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}s.edit(r,i,!a)}else{const c=new Pe(t,n,"").edit(r,i);l.next=c,c.previous=l}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byEnd[t];return r?r.prependLeft(n):this.intro=n+this.intro,this}prependRight(t,n){if(t=t+this.offset,typeof n!="string")throw new TypeError("inserted content must be a string");this._split(t);const r=this.byStart[t];return r?r.prependRight(n):this.outro=n+this.outro,this}remove(t,n){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");this._split(t),this._split(n);let r=this.byStart[t];for(;r;)r.intro="",r.outro="",r.edit(""),r=n>r.end?this.byStart[r.end]:null;return this}reset(t,n){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}if(t===n)return this;if(t<0||n>this.original.length)throw new Error("Character is out of bounds");if(t>n)throw new Error("end must be greater than start");this._split(t),this._split(n);let r=this.byStart[t];for(;r;)r.reset(),r=n>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(we);if(t!==-1)return this.outro.substr(t+1);let n=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(t=r.outro.lastIndexOf(we),t!==-1)return r.outro.substr(t+1)+n;n=r.outro+n}if(r.content.length>0){if(t=r.content.lastIndexOf(we),t!==-1)return r.content.substr(t+1)+n;n=r.content+n}if(r.intro.length>0){if(t=r.intro.lastIndexOf(we),t!==-1)return r.intro.substr(t+1)+n;n=r.intro+n}}while(r=r.previous);return t=this.intro.lastIndexOf(we),t!==-1?this.intro.substr(t+1)+n:this.intro+n}slice(t=0,n=this.original.length-this.offset){if(t=t+this.offset,n=n+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;n<0;)n+=this.original.length}let r="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<n&&o.end>=n)return r;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(r+=o.intro);const a=o.start<n&&o.end>=n;if(a&&o.edited&&o.end!==n)throw new Error(`Cannot use replaced character ${n} as slice end anchor.`);const s=i===o?t-o.start:0,l=a?o.content.length+n-o.end:o.content.length;if(r+=o.content.slice(s,l),o.outro&&(!a||o.end===n)&&(r+=o.outro),a)break;o=o.next}return r}snip(t,n){const r=this.clone();return r.remove(0,t),r.remove(n,r.original.length),r}_split(t){if(this.byStart[t]||this.byEnd[t])return;let n=this.lastSearchedChunk;const r=t>n.end;for(;n;){if(n.contains(t))return this._splitChunk(n,t);n=r?this.byStart[n.end]:this.byEnd[n.start]}}_splitChunk(t,n){if(t.edited&&t.content.length){const o=an(this.original)(n);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${t.original}")`)}const r=t.split(n);return this.byEnd[n]=t,this.byStart[n]=r,this.byEnd[r.end]=r,t===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,n=this.firstChunk;for(;n;)t+=n.toString(),n=n.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,n=0;do n+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return n}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const n=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(n,""),this.outro.length)return!0;let r=this.lastChunk;do{const o=r.end,i=r.trimEnd(n);if(r.end!==o&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.previous}while(r);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const n=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(n,""),this.intro.length)return!0;let r=this.firstChunk;do{const o=r.end,i=r.trimStart(n);if(r.end!==o&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),i)return!0;r=r.next}while(r);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,n){function r(i,a){return typeof n=="string"?n.replace(/\$(\$|&|\d+)/g,(s,l)=>l==="$"?"$":l==="&"?i[0]:+l<i.length?i[+l]:`$${l}`):n(...i,i.index,a,i.groups)}function o(i,a){let s;const l=[];for(;s=i.exec(a);)l.push(s);return l}if(t.global)o(t,this.original).forEach(a=>{if(a.index!=null){const s=r(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{const i=this.original.match(t);if(i&&i.index!=null){const a=r(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(t,n){const{original:r}=this,o=r.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,n),this}replace(t,n){return typeof t=="string"?this._replaceString(t,n):this._replaceRegexp(t,n)}_replaceAllString(t,n){const{original:r}=this,o=t.length;for(let i=r.indexOf(t);i!==-1;i=r.indexOf(t,i+o))r.slice(i,i+o)!==n&&this.overwrite(i,i+o,n);return this}replaceAll(t,n){if(typeof t=="string")return this._replaceAllString(t,n);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,n)}}function _t(e,t,n){if(e==="")return;const r=e.length;let o=0,i=!1,a=0;for(let s=0;s<r;s++)switch(e[s]){case t:i||(i=!0,a=s),o++;break;case n:if(--o,o<0)return;if(o===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function Qe(e,t,n,r){if(e===""||(N(r)&&(r=[r]),r.length===0))return;const o=e.length;let i=0;for(let a=0;a<o;a++)switch(e[a]){case t:i++;break;case n:if(--i<0)return;break;default:for(const s of r){const l=s.length;if(l&&s===e.slice(a,a+l)&&i===0)return a===0||a===o-l?void 0:[e.slice(0,a),e.slice(a+l)]}}return[e,""]}function Me(e,t,n,r="(",o=")"){n=n??10;const i=[];let a=0;for(;e!=="";){if(++a>n)return;const s=Qe(e,r,o,t);if(!s)return;const[l,c]=s;i.push(l),e=c}if(i.length>0)return i}const Ft=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],qo=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Yo=["hsl","hwb","lch","oklch"],Xo=["shorter","longer","increasing","decreasing"],Yn=["%alpha","<alpha-value>"],Xn=new RegExp(Yn.map(e=>Oe(e)).join("|"),"g");function sn(e){return e?qo.some(t=>e.includes(t))||Yo.some(t=>e.includes(t))||Xo.some(t=>e.includes(t)):!1}function ge(e=""){const t=Go(e);if(t==null||t===!1)return;const{type:n,components:r,alpha:o}=t,i=n.toLowerCase();if(r.length!==0&&!(Ft.includes(i)&&![1,3].includes(r.length)))return{type:i,components:r.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function wt(e,t){if(typeof e=="string")return e.replace(Xn,`${t??1}`);const{components:n}=e;let{alpha:r,type:o}=e;return r=t??r,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${n.join(", ")}${r==null?"":`, ${r}`})`:(r=r==null?"":` / ${r}`,Ft.includes(o)?`${o}(${n.join(" ")}${r})`:`color(${o} ${n.join(" ")}${r})`)}function Go(e){if(!e)return;let t=Ko(e);if(t!=null||(t=Zo(e),t!=null)||(t=Jo(e),t!=null)||(t=ei(e),t!=null)||(t=ti(e),t!=null))return t}function Ko(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const n=Array.from(t,r=>Number.parseInt(r,16)).map(r=>r<<4|r);return{type:"rgb",components:n.slice(0,3),alpha:t.length===3?void 0:Math.round(n[3]/255*100)/100}}case 6:case 8:{const n=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[n>>16&255,n>>8&255,n&255]:[n>>24&255,n>>16&255,n>>8&255],alpha:t.length===6?void 0:Math.round((n&255)/255*100)/100}}}}function Zo(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Jo(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,n,r]=t,o=Me(r,",",5);if(o){if([3,4].includes(o.length))return{type:n,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const Qo=new RegExp(`^(${Ft.join("|")})\\((.+)\\)$`,"i");function ei(e){const t=e.match(Qo);if(!t)return;const[,n,r]=t,o=Gn(`${n} ${r}`);if(o){const{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function ti(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const n=Gn(t[1]);if(n){const{alpha:r,components:[o,...i]}=n;return{type:o,components:i,alpha:r}}}function Gn(e){const t=Me(e," ");if(!t)return;let n=t.length;if(t[n-2]==="/")return{components:t.slice(0,n-2),alpha:t[n-1]};if(t[n-2]!=null&&(t[n-2].endsWith("/")||t[n-1].startsWith("/"))){const i=t.splice(n-2);t.push(i.join(" ")),--n}const r=Me(t[n-1],"/",2);if(!r)return;if(r.length===1||r[r.length-1]==="")return{components:t};const o=r.pop();return t[n-1]=r.join("/"),{components:t,alpha:o}}const ni=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function ri(e){return e.includes("theme(")&&e.includes(")")}function oi(e,t,n=!0){const r=Array.from(e.toString().matchAll(ni));if(!r.length)return e;const o=new Mt(e);for(const i of r){const a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");const s=ii(a,t,n);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ii(e,t,n=!0){const[r,o]=e.split("/");let a=r.trim().split(".").reduce((s,l)=>s?.[l],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){const s=ge(a);s&&(a=wt(s,o))}return a}else if(n)throw new Error(`theme of "${e}" did not found`)}function ln(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",n=e.slice(t.length);if(n==="px"){const r=Number.parseFloat(t)-.1;return Number.isNaN(r)?e:`${r}${n}`}return`calc(${e} - 0.1px)`}function ai(e){const t=function(r){const o=this.__options?.sequence||[];this.__options.sequence=[];for(const i of o){const a=e[i](r);if(a!=null)return a}};function n(r,o){return r.__options||(r.__options={sequence:[]}),r.__options.sequence.push(o),r}for(const r of Object.keys(e))Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get(){return n(this,r)}});return t}const Re="__pseudo_placeholder__",$e=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Re})`],["nth-last",`:nth-last-child(${Re})`],["nth-last-of-type",`:nth-last-of-type(${Re})`],["nth-of-type",`:nth-of-type(${Re})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Kn=Object.keys($e),ve=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),Zn=Object.keys(ve),si=["not","is","where","has"],Jn=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),St=Object.entries($e).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),Et=Object.entries(ve).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),le=si.join("|"),cn=Object.keys(Jn).sort((e,t)=>t.length-e.length).join("|"),li=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],un=Object.entries($e).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),fn=Object.entries(ve).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function ci(e,t,n,r){const{h:o,variantGetBracket:i}=r,a=new RegExp(`^(${Oe(t)}:)(\\S+)${Oe(n)}\\1`);let s,l,c,u;const d=g=>{const k=i(`${e}-`,g,[]);if(!k)return;const[$,C]=k,m=o.bracket($);if(m==null)return;const y=C.split(s,1)?.[0]??"",w=`${t}${be(y)}`;return[y,g.slice(g.length-(C.length-y.length-1)),m.includes("&")?m.replace(/&/g,w):`${w}${m}`]},p=g=>{const k=g.match(l)||g.match(c);if(!k)return;const[$,C,m]=k,y=k[3]??"";let w=$e[m]||ve[m]||`:${m}`;return C&&(w=`:${C}(${w})`),[y,g.slice($.length),`${t}${be(y)}${w}`,m]},h=g=>{const k=g.match(u);if(!k)return;const[$,C,m]=k,y=k[3]??"",w=`:${C}(${m})`;return[y,g.slice($.length),`${t}${be(y)}${w}`]};return{name:`pseudo:${e}`,match(g,k){if(s&&l&&c||(s=new RegExp(`(?:${k.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${le})-)?(${St}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${le})-)?(${Et}))(?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(b=>b!=="-").join("|")})`),u=new RegExp(`^${e}-(?:(${le})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${k.generator.config.separators.filter(b=>b!=="-").join("|")})`)),!g.startsWith(e))return;const $=d(g)||p(g)||h(g);if(!$)return;const[C,m,y,w=""]=$;return{matcher:m,handle:(b,E)=>E({...b,prefix:`${y}${n}${b.prefix}`.replace(a,"$1$2:"),sort:Kn.indexOf(w)??Zn.indexOf(w)})}},multiPass:!0}}function ui(e){const{h:t}=e;let n,r,o;return[{name:"pseudo",match(i,a){n&&r||(n=new RegExp(`^(${un})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),r=new RegExp(`^(${fn})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));const s=i.match(n)||i.match(r);if(s){let l=$e[s[1]]||ve[s[1]]||`:${s[1]}`;if(s[2]){let u;s[2].startsWith("[")&&s[2].endsWith("]")?u=t.bracket(s[2]):u=s[2],u&&(l=l.replace(Re,u))}let c=Kn.indexOf(s[1]);return c===-1&&(c=Zn.indexOf(s[1])),c===-1&&(c=void 0),{matcher:i.slice(s[0].length),handle:(u,d)=>{const p=l.includes("::")&&!li.includes(l)?{pseudo:`${u.pseudo}${l}`}:{selector:`${u.selector}${l}`};return d({...u,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${un}|${fn}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${cn})(?:${a.generator.config.separators.join("|")})`));const s=i.match(o);if(s)return Jn[s[1]].map(c=>({matcher:i.slice(s[0].length),handle:(u,d)=>d({...u,pseudo:`${u.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${cn}):`}]}function fi(e){const{getBracket:t,h:n}=e;let r,o,i;return{match(a,s){r&&o||(r=new RegExp(`^(${le})-(${St})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${le})-(${Et})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`),i=new RegExp(`^(${le})-(\\[.+\\])(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));const l=a.match(r)||a.match(o)||a.match(i);if(l){const c=l[1],d=t(l[2],"[","]")?n.bracket(l[2]):$e[l[2]]||ve[l[2]]||`:${l[2]}`;return{matcher:a.slice(l[0].length),selector:p=>`${p}:${c}(${d})`}}},multiPass:!0,autocomplete:`(${le})-(${St}|${Et}):`}}function di(e,t){const n=!!e?.attributifyPseudo;let r=e?.prefix??"";r=(Array.isArray(r)?r:[r]).filter(Boolean)[0]??"";const o=(i,a)=>ci(i,n?`[${r}${i}=""]`:`.${r}${i}`,a,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const pi=/(part-\[(.+)\]:)(.+)/;function hi(){return{match(e){const t=e.match(pi);if(t){const n=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:r=>`${r}::${n}`}}},multiPass:!0}}function J(e,t,n={}){let r;return{name:e,match(o,i){r||(r=new RegExp(`^${Oe(e)}(?:${i.generator.config.separators.join("|")})`));const a=o.match(r);if(a){const s=o.slice(a[0].length),l=M(t).map(c=>({matcher:s,handle:(u,d)=>d({...u,...c(u)}),...n}));return l.length===1?l[0]:l}},autocomplete:`${e}:`}}function D(e,t){let n;return{name:e,match(r,o){n||(n=new RegExp(`^${Oe(e)}(?:${o.generator.config.separators.join("|")})`));const i=r.match(n);if(i)return{matcher:r.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function Fe(e,t,n){if(t.startsWith(`${e}[`)){const[r,o]=_t(t.slice(e.length),"[","]")??[];if(r&&o){for(const i of n)if(o.startsWith(i))return[r,o.slice(i.length),i];return[r,o,""]}}}function X(e,t,n){for(const r of M(e))if(t.startsWith(r)){const o=Fe(r,t,n);if(o){const[i="",a=o[1]]=X("/",o[1],n)??[];return[o[0],a,i]}for(const i of n.filter(a=>a!=="/")){const a=t.indexOf(i,r.length);if(a!==-1){const s=t.indexOf("/",r.length),l=s===-1||a<=s;return[t.slice(r.length,l?a:s),t.slice(a+i.length),l?"":t.slice(s+1,a)]}}}}function dn(e){const{theme:t,generator:n}=e,o=n.config.presets.some(i=>i.name==="@unocss/preset-wind4")?"font":"fontFamily";return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t[o]?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}const mi=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function gi(e){for(const[t,...n]of mi)if(t===e)return n.length>0?n:[t]}function pn(e){let t="";const{escapedSelector:n,selectorName:r,preflights:o,compatibility:i,important:a}=e,s=i?.noColonNot||i?.noColonWhere;for(const l in o){const c=o[l],u=`:not(:where(.not-${r},.not-${r} *))`,d=l.split(",").map(p=>{const h=p.match(/:[():\-\w]+$/g);if(h){const g=h[0];return p=p.replace(g,""),n.map(k=>s?`${k} ${p}${g}`:`${k} :where(${p})${u}${g}`).join(",")}return null}).filter(p=>p);d.length?t+=d.join(","):t+=n.map(p=>s?l.split(",").map(h=>`${p} ${h}`).join(","):`${p} :where(${l})${u}`).join(","),t+="{";for(const p in c){const h=c[p];t+=`${p}:${h}${a?" !important":""};`}t+="}"}return t}function bi(e,t){const{compatibility:n,selectorName:r,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend;let a=Array.from(t.escapedSelectors);return!a[a.length-1].startsWith(".")&&!n?.noColonIs&&(a=[`:is(${a[a.length-1]},.${t.selectorName})`]),typeof o=="string"&&(a=a.map(s=>n?.noColonIs?`${o} ${s}`:`:is(${o}) ${s}`)),pn(i?{escapedSelector:a,selectorName:r,preflights:Je(dn(e),i),compatibility:n,important:o===!0}:{escapedSelector:a,selectorName:r,preflights:dn(e),compatibility:n,important:o===!0})}const Uc=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,n=e?.selectorName||e?.className||"prose",r=new RegExp(`^${n}$`),o=new RegExp(`^${n}-([-\\w]+)$`),i=new RegExp(`^${n}-invert$`),a=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[r,(s,{rawSelector:l})=>(t.add(In(l)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,s],{theme:l})=>{const c=l.colors?.[s];if(c==null)return;const u=typeof c=="object"?c:{},d={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},p={};for(const h in d){const g=d[h],k=u[g]??c;let $=!1;for(const C of Yn)if(k.includes(C)){$=!0,p[`--un-prose-${h}-opacity`]=1,p[`--un-prose-${h}`]=k.replace(C,`var(--un-prose-${h}-opacity)`);break}$||(p[`--un-prose-${h}`]=k)}return p},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:s=>{if(s.startsWith(`${n}-`)){const l=new RegExp(`^${n}-(\\w+)[:-].+$`),c=s.match(l)?.[1];if(c){const u=gi(c);if(u?.length)return{matcher:s.slice(n.length+c.length+2),selector:d=>{const p=`:not(:where(.not-${n},.not-${n} *))`;return a?u.map(g=>`${d} ${g}`).join(","):`${d} :is(:where(${u})${p})`}}}}}}],preflights:[{layer:"typography",getCSS:s=>{if(t.size>0)return bi(s,{escapedSelectors:t,...e,selectorName:n})}}]}};function yi(e){let t,n,r=2166136261;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return`00000${(r>>>0).toString(36)}`.slice(-6)}function ki(e,t,n,r){for(const o of Array.from(e.matchAll(n)))if(o!=null){const i=o[0],a=`${r}${yi(i)}`;t.set(a,i),e=e.replace(i,a)}return e}function $i(e,t){for(const[n,r]of t.entries())e=e.replaceAll(n,r);return e}const vi=/\/\/#\s*sourceMappingURL=.*\n?/g;function xi(e){return e.includes("sourceMappingURL=")?e.replace(vi,""):e}const wi=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Si=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ei=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Ci(e){const t=[];for(const o of e.matchAll(Si))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(wi))t.push(o[0]);const n=new Map,r="@unocss-skip-arbitrary-brackets";return e=ki(e,n,/-\[(?!&.+?;)[^\]]*\]/g,r),e&&e.split(Wn).forEach(o=>{o.includes(r)&&(o=$i(o,n)),vt(o)&&!Ei.test(o)&&t.push(o)}),t}function ji(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Ci(xi(e))}}}const zi="@unocss/preset-wind4",Ct="$$mini-no-negative",et={transparent:"transparent",current:"currentColor",inherit:"inherit"},Q={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},hn={...Q,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},qe={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Qn={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Ai=["x","y","z"],mn=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],I=Object.assign({},...mn.map(e=>({[e.replace(/ /,"-")]:e})),...mn.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),T=["inherit","initial","revert","revert-layer","unset"],Lt=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,er=/^(var)\s*\((.+)\)(.*)/,tt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Ri=/^(-?\d*(?:\.\d+)?)$/,tr=/^(px|[sld]?v[wh])$/i,nr={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Nt=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Oi=/,(?![^()]*\))/g,Pi=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ee(e){return+e.toFixed(10)}function Mi(e){const t=e.match(tt);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(r&&!Number.isNaN(o))return`${ee(o)}${r}`}function _i(e){if(e==="auto"||e==="a")return"auto"}function Fi(e){if(!e)return;if(tr.test(e))return`${nr[e]}${e}`;const t=e.match(tt);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0":r?`${ee(o)}${r}`:`${ee(o/4)}rem`}function Li(e){if(tr.test(e))return`${nr[e]}${e}`;const t=e.match(tt);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return r?`${ee(o)}${r}`:`${ee(o)}px`}function rr(e){if(!Ri.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return ee(t)}function Ni(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=rr(e);if(t!=null)return`${t}%`}function Wi(e){if(!e)return;if(e==="full")return"100%";const[t,n]=e.split("/"),r=Number.parseFloat(t)/Number.parseFloat(n);if(!Number.isNaN(r))return r===0?"0":`${ee(r*100)}%`}function fe(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let n,r;const o=e.match(Nt);if(!o)n=e.slice(1,-1);else{if(!t)r=o[1];else if(o[1]!==t)return;n=e.slice(o[0].length,-1)}if(!n||n==='=""')return;if(n.startsWith("--")){const[a,s]=n.slice(2).split(",");n=`var(--${be(a)}${s?`, ${s}`:""})`}let i=0;for(const a of n)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(r){case"string":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return n.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return n.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{const s=[];return a.replace(/var\((--.+?)[,)]/g,(l,c)=>(s.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Ti(e){return fe(e)}function Vi(e){return fe(e,"color")}function Ui(e){return fe(e,"length")||fe(e,"size")}function Bi(e){return fe(e,"position")}function Ii(e){return fe(e,"family")}function Di(e){return fe(e,"number")}function Hi(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[n,r]=t[1].split(",");return`var(--${be(n)}${r?`, ${r}`:""})`}}function qi(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0&&!r?"0s":r?`${ee(o)}${r}`:`${ee(o)}ms`}function Yi(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,n,r]=t,o=Number.parseFloat(n);if(!Number.isNaN(o))return o===0?"0":r?`${ee(o)}${r}`:`${ee(o)}deg`}function Xi(e){if(T.includes(e))return e}function Gi(e){if(e.split(",").every(t=>Pi.includes(t)))return e}function Ki(e){if(["top","left","right","bottom","center"].includes(e))return e}function Zi(e){if(e==="none")return"none"}const Ji={__proto__:null,auto:_i,bracket:Ti,bracketOfColor:Vi,bracketOfFamily:Ii,bracketOfLength:Ui,bracketOfNumber:Di,bracketOfPosition:Bi,cssvar:Hi,degree:Yi,fraction:Wi,global:Xi,none:Zi,number:rr,numberWithUnit:Mi,percent:Ni,position:Ki,properties:Gi,px:Li,rem:Fi,time:qi},Qi=ai(Ji),f=Qi;function Y(e,t){const n=f.number(e)??t;if(n!=null){let r=Number(n);return String(n).endsWith("%")&&(r=Number(String(n).slice(0,-1))/100),r}}function P(e,t=Q,n=(r,o)=>`${r}${o}`){return([r,o,i],{theme:a})=>{if(i!=null&&o!=null){let s;const l=i.startsWith("-");if(l&&(i=i.slice(1)),s=Y(i),s!=null&&!Number.isNaN(s))return z("spacing"),t[o].map(c=>[n(e,c),`calc(var(--spacing) * ${l?"-":""}${s})`]);if(a.spacing&&i in a.spacing)return z("spacing",i),t[o].map(c=>[n(e,c),l?`calc(var(--spacing-${i}) * -1)`:`var(--spacing-${i})`]);if(s=f.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i),s!=null)return t[o].map(c=>[n(e,c),s])}}}function nt(e,t){let n;const[r,...o]=Me(e,["/",":"],3)??[];if(r!=null){const k=(r.match(Nt)??[])[1];(k==null||k==="color")&&(n=[r,...o])}if(!n)return;let i,[a,s,l]=n;sn(s)||sn(f.bracket(s??""))?l=s:i=s;const c=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[u]=c;if(!u)return;let d=gn(t,c);if(!d&&c.length>=2){const k=c.at(-1),$=c.at(-2);if(/^\d+$/.test(k)){const C=c.slice(0,-2).concat([`${$}${k}`]);d=gn(t,C)}}let{no:p,keys:h,color:g}=d??{};if(!g){const k=f.bracketOfColor(a),$=k||a;if(f.numberWithUnit($))return;/^#[\da-f]+$/i.test($)?g=$:/^hex-[\da-fA-F]+$/.test($)?g=`#${$.slice(4)}`:a.startsWith("$")&&(g=f.cssvar(a)),g=g||k}return{opacity:i,modifier:l&&f.bracket.cssvar(l)||l,name:u,no:p,color:g??et[u],alpha:f.bracket.cssvar.percent(i??""),keys:h,get cssColor(){return ge(this.color)}}}function gn(e,t){let n,r,o;const i=Ge(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(n=i.DEFAULT,r="DEFAULT",o=[...t,r]):typeof i=="string"&&(n=i,o=t,r=t.at(-1)),!!n)return{color:n,no:r,keys:o}}function Ge(e,t,n){const r=e[t];function o(i,a){if(!(!i||typeof i!="object")){if(a.length===0)return i;for(let s=a.length;s>0;s--){const l=a.slice(0,s).join("-");if(l in i){const c=i[l];return s===a.length?c:o(c,a.slice(s))}}}}return o(r,n)}function or(e,t,n,r){if(!e)return;const{color:o,keys:i,alpha:a,modifier:s}=e,l=r?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",c={};if(o){const u=[c];if(Object.values(et).includes(o))c[t]=o;else{const d=`--un-${n}-opacity`,p=i?W("colors",i):o;let h=s??(i?"in srgb":"in oklab");!h.startsWith("in ")&&!h.startsWith("var(")&&(h=`in ${h}`),c[t]=`color-mix(${h}, ${p} ${a??`var(${d})`}, transparent)${l}`,u.push(x(d,{syntax:"<percentage>",initialValue:"100%"})),i&&(z("colors",i),s||u.push({[U.parent]:"@supports (color: color-mix(in lab, red, red))",[U.noMerge]:!0,[U.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${p} ${a??`var(${d})`}, transparent)${l}`})),r?.theme&&ot(o,r.theme)}return u}}function V(e,t){return([,n],r)=>{const o=nt(n??"",r.theme);if(o)return or(o,e,t,r)}}function Wt(e,t){const n=[];e=M(e);for(let r=0;r<e.length;r++){const o=Me(e[r]," ",6);if(!o||o.length<3)return e;let i=!1;const a=o.indexOf("inset");a!==-1&&(o.splice(a,1),i=!0);let s="";const l=o.at(-1);if(ge(o.at(0))){const c=ge(o.shift());c&&(s=`, ${wt(c)}`)}else if(ge(l)){const c=ge(o.pop());c&&(s=`, ${wt(c)}`)}else l&&er.test(l)&&(s=`, ${o.pop()}`);n.push(`${i?"inset ":""}${o.join(" ")} var(${t}${s})`)}return n}function _e(e,t){return e!=null&&!!nt(e,t)?.color}const bn=/[a-z]+/gi,dt=new WeakMap;function rt({theme:e,generator:t},n="breakpoint"){const r=t?.userConfig?.theme?.[n]||e[n];if(!r)return;if(dt.has(e))return dt.get(e);const o=Object.entries(r).sort((i,a)=>Number.parseInt(i[1].replace(bn,""))-Number.parseInt(a[1].replace(bn,""))).map(([i,a])=>({point:i,size:a}));return dt.set(e,o),o}function A(e,t){return T.map(n=>[`${e}-${n}`,{[t??e]:n}])}function x(e,t={}){const{syntax:n="*",inherits:r=!1,initialValue:o}=t,i={[U.shortcutsNoMerge]:!0,[U.noMerge]:!0,[U.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(n),inherits:r?"true":"false"};return o!=null&&(i["initial-value"]=o),ta(e,o?String(o):"initial"),i}function Le(e){return e!=null&&Lt.test(e)}function ea(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Lt.test(e)||tt.test(e)}function jt(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function ir(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const ye=new Set([]);function z(e,t="DEFAULT"){const n=`${e}:${M(t).join("-")}`;ye.has(n)||ye.add(n)}function W(e,t){return`var(--${e}-${M(t).join("-")})`}function ot(e,t){if(e.startsWith("var(")){const n=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(n){const[r,...o]=n.split("-"),i=Ge(t,r,o);typeof i=="string"&&(z(r,o),ot(i,t))}}}const ke=new Map;function ta(e,t){ke.has(e)||ke.set(e,t)}function na({important:e}){if(e==null||e===!1)return[];const t=n=>n.startsWith(":is(")&&n.endsWith(")")?n:n.includes("::")?n.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${n})`;return[n=>{n.layer!=="properties"&&(e===!0?n.entries.forEach(r=>{r[1]!=null&&!String(r[1]).endsWith("!important")&&(r[1]+=" !important")}):n.selector.startsWith(e)||(n.selector=`${e} ${t(n.selector)}`))}]}function ra({variablePrefix:e}){return e!=="un-"?[n=>{n.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function oa(e){return[na,ra].flatMap(t=>t(e))}const ia={name:"aria",match(e,t){const n=X("aria-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r)??t.theme.aria?.[r]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function pe(e){return{name:`${e}-aria`,match(t,n){const r=X(`${e}-aria-`,t,n.generator.config.separators);if(r){const[o,i,a]=r,s=f.bracket(o)??n.theme.aria?.[o]??"";if(s){const l={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${s}] ~ *)`,previous:`:where(*[aria-${s}] + &)`,parent:`:where(*[aria-${s}] > &)`,has:`&:has(*[aria-${s}])`,in:`:where(*[aria-${s}]) &`};return{matcher:i,handle:(c,u)=>u({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[e]})}}}},multiPass:!0}}const aa=[pe("group"),pe("peer"),pe("parent"),pe("previous"),pe("has"),pe("in")],yn=/(max|min)-\[([^\]]*)\]:/;function sa(){const e={};return{name:"breakpoints",match(t,n){if(yn.test(t)){const o=t.match(yn);return{matcher:t.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const r=(rt(n)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(const[o,i,a]of r){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${n.generator.config.separators.join("|")}))`));const s=t.match(e[o]);if(!s)continue;const[,l]=s,c=t.slice(l.length);if(c==="container")continue;const u=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),d=l.startsWith("at-")||l.startsWith("~");let p=3e3;return u?(p-=a+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${ln(i)})`,parentOrder:p})}):(p+=a+1,d&&a<r.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${ln(r[a+1][1])})`,parentOrder:p})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const la=[J("*",e=>({selector:`${e.selector} > *`}),{order:-1}),J("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Se(e,t){return{name:`combinator:${e}`,match(n,r){if(!n.startsWith(e))return;const o=r.generator.config.separators;let i=Fe(`${e}-`,n,o);if(!i){for(const s of o)if(n.startsWith(`${e}${s}`)){i=["",n.slice(e.length+s.length)];break}if(!i)return}let a=f.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}const ca=[Se("all"," "),Se("children",">"),Se("next","+"),Se("sibling","+"),Se("siblings","~")],ua=[J("svg",e=>({selector:`${e.selector} svg`}))],fa={name:"@",match(e,t){if(e.startsWith("@container"))return;const n=X("@",e,t.generator.config.separators);if(n){const[r,o,i]=n,a=f.bracket(r);let s;if(a?s=f.numberWithUnit(a):s=t.theme.container?.[r]??"",s){let l=1e3+Object.keys(t.theme.container??{}).indexOf(r);return i&&(l+=1e3),{matcher:o,handle:(c,u)=>u({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:l})}}}},multiPass:!0};function da(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:n=".light"}=typeof e.dark=="string"?{}:e.dark;return[J("dark",r=>({prefix:`${t} $$ ${r.prefix}`})),J("light",r=>({prefix:`${n} $$ ${r.prefix}`}))]}return[D("dark","@media (prefers-color-scheme: dark)"),D("light","@media (prefers-color-scheme: light)")]}const pa=[J(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),J(".light",e=>({prefix:`.light $$ ${e.prefix}`})),D("@dark","@media (prefers-color-scheme: dark)"),D("@light","@media (prefers-color-scheme: light)"),D("not-dark","@media not (prefers-color-scheme: dark)")],ha={name:"data",match(e,t){const n=X("data-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r)??t.theme.data?.[r]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function he(e){return{name:`${e}-data`,match(t,n){const r=X(`${e}-data-`,t,n.generator.config.separators);if(r){const[o,i,a]=r,s=f.bracket(o)??n.theme.data?.[o]??"";if(s){const l={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${s}] ~ *)`,previous:`:where(*[data-${s}] + &)`,parent:`:where(*[data-${s}] > &)`,has:`&:has(*[data-${s}])`,in:`:where(*[data-${s}]) &`};return{matcher:i,handle:(c,u)=>u({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[e]})}}}},multiPass:!0}}const ma=[he("group"),he("peer"),he("parent"),he("previous"),he("has"),he("in")],ga=[J("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),J("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ba(){let e;return{name:"important",match(t,n){e||(e=new RegExp(`^(important(?:${n.generator.config.separators.join("|")})|!)`));let r;const o=t.match(e);if(o?r=t.slice(o[0].length):t.endsWith("!")&&(r=t.slice(0,-1)),r)return{matcher:r,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}const ya=J("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),ka=D("noscript","@media (scripting: none)"),$a={name:"scripting",match(e,t){const n=X(["script-","scripting-"],e,t.generator.config.separators);if(n){const[r,o]=n;if(["none","initial-only","enabled"].includes(r))return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${r})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},va=D("print","@media print"),xa={name:"media",match(e,t){const n=X("media-",e,t.generator.config.separators);if(n){const[r,o]=n;let i=f.bracket(r)??"";if(i===""&&(i=t.theme.media?.[r]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},wa=[D("contrast-more","@media (prefers-contrast: more)"),D("contrast-less","@media (prefers-contrast: less)")],Sa=[D("motion-reduce","@media (prefers-reduced-motion: reduce)"),D("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ea=[D("landscape","@media (orientation: landscape)"),D("portrait","@media (orientation: portrait)")],Ca=[D("forced-colors","@media (forced-colors: active)")],ja={name:"selector",match(e,t){const n=Fe("selector-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r);if(i)return{matcher:o,selector:()=>i}}}},za={name:"layer",match(e,t){const n=X("layer-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r)??r;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},Aa={name:"uno-layer",match(e,t){const n=X("uno-layer-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r)??r;if(i)return{matcher:o,layer:i}}}},Ra={name:"scope",match(e,t){const n=Fe("scope-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},Oa={name:"variables",match(e,t){if(!e.startsWith("["))return;const[n,r]=_t(e,"[","]")??[];if(!(n&&r))return;let o;for(const s of t.generator.config.separators)if(r.startsWith(s)){o=r.slice(s.length);break}if(o==null)return;const i=f.bracket(n)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,l){const c=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return l({...s,...c})}}},multiPass:!0},Pa={name:"theme-variables",match(e,t){if(ri(e))return{matcher:e,handle(n,r){return r({...n,entries:JSON.parse(oi(JSON.stringify(n.entries),t.theme))})}}}},Ma=[J("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],_a={name:"implicit-group",match(e,t){const n=X("in-",e,t.generator.config.separators);if(n){const[r,o]=n,i=f.bracket(r)??r;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${i})) &`})}}}},ar=/^-?[0-9.]+(?:[a-z]+|%)?$/,sr=/-?[0-9.]+(?:[a-z]+|%)?/,Fa=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function La(e){const t=e.match(Lt)||e.match(er);if(t){const[n,r]=Qe(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(n)return`calc(${t[1]}${n} * -1)${r?` ${r}`:""}`}}const Na=/\b(hue-rotate)\s*(\(.*)/;function Wa(e){const t=e.match(Na);if(t){const[n,r]=Qe(t[2],"(",")"," ")??[];if(n){const o=ar.test(n.slice(1,-1))?n.replace(sr,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${n} * -1))`;return`${t[1]}${o}${r?` ${r}`:""}`}}}const Ta={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(r=>r[0]===Ct))return;let n=!1;return t.forEach(r=>{if(M(r[2]).includes(Ct))return;const o=r[1]?.toString();if(!o||o==="0"||Fa.some(s=>s.test(r[0])))return;const i=La(o);if(i){r[1]=i,n=!0;return}const a=Wa(o);if(a){r[1]=a,n=!0;return}ar.test(o)&&(r[1]=o.replace(sr,s=>s.startsWith("-")?s.slice(1):`-${s}`),n=!0)}),n?t:[]}}}},Va=(e,{theme:t})=>{const n=e.match(/^(.*)\b(placeholder-)(.+)$/);if(n){const[,r="",o,i]=n;if(_e(i,t)||Ua(i))return{matcher:`${r}placeholder-$ ${o}${i}`}}};function Ua(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?f.bracket.percent(t[1])!=null:!1}function Ba(){return ui({h:f})}function Ia(){return fi({getBracket:_t,h:f})}function Da(e={}){return di(e,{h:f,variantGetBracket:Fe})}const Ha=hi(),qa={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,n)=>n({...t,parent:"@starting-style"})}}},Ya={name:"supports",match(e,t){const n=X("supports-",e,t.generator.config.separators);if(n){const[r,o]=n;let i=f.bracket(r)??"";if(i===""&&(i=t.theme.supports?.[r]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Xa(e){return[ia,ha,za,ja,Aa,Ta,qa,ba(),Ya,ka,$a,va,xa,...wa,...Sa,...Ea,...Ca,sa(),...ca,...ua,Va,...Ba(),Ia(),...Da(e),Ha,...da(e),...pa,...ga,Ra,...la,ya,fa,Oa,...ma,...aa,Pa,...Ma,_a].flat()}const lr={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(lr).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const Ga={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Ka={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Za={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Ja={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(",")},Qa={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},es={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},ts={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},ns={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},rs={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},os={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},is={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},as={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},ss={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},ls={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},cs={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},us={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},fs={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},ds={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},ps={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},cr={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},hs={...cr},ms={grid:"(display: grid)"},gs={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},bs={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},ys={font:Ja,colors:lr,spacing:is,breakpoint:cr,verticalBreakpoint:hs,text:Qa,fontWeight:es,tracking:ts,leading:ns,textStrokeWidth:rs,radius:as,shadow:ss,insetShadow:ls,dropShadow:cs,textShadow:us,ease:gs,animation:Ga,blur:Za,perspective:fs,property:bs,default:ds,container:ps,aria:Ka,media:os,supports:ms},ks=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],$s=/@media \(min-width: (.+)\)/,vs=[[/^__container$/,(e,t)=>{const{theme:n,variantHandlers:r}=t,o=n.containers?.padding;let i;N(o)?i=o:i=o?.DEFAULT;const a=n.containers?.maxWidth;let s;for(const c of r){const u=c.handle?.({},d=>d)?.parent;if(N(u)){const d=u.match($s)?.[1];if(d){const h=(rt(t)??[]).find(g=>g.size===d)?.point;a?h&&(s=a?.[h]):s=d,h&&!N(o)&&(i=o?.[h]??i)}}}const l={"max-width":s};return r.length||(l.width="100%"),n.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),o&&(l["padding-left"]=i,l["padding-right"]=i),l},{internal:!0}]],xs=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let n=(rt(t)??[]).map(o=>o.point);if(e){if(!n.includes(e))return;n=n.slice(n.indexOf(e))}const r=n.map(o=>`${o}:__container`);return e||r.unshift("__container"),r}]],ws=[...xs],kn={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(T.map(e=>[e,e]))},Ss=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":kn[e]??f.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(kn).join("|")})`,"(vertical|align|v)-<percentage>"]}]],$n=["center","left","right","justify","start","end"],Es=[...$n.map(e=>[`text-${e}`,{"text-align":e}]),...[...T,...$n].map(e=>[`text-align-${e}`,{"text-align":e}])],Cs=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n)return[`@keyframes ${e}${n}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const n=t.animation?.keyframes?.[e];if(n){const r=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${n}`,{animation:`${e} ${r} ${o} ${i}`,...a}]}return{animation:f.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":f.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??f.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??f.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?T:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?T:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":f.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?T:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...A("animate","animation")],ur={"gradient-position":x("--un-gradient-position"),"gradient-from":x("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":x("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":x("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":x("--un-gradient-stops"),"gradient-via-stops":x("--un-gradient-via-stops"),"gradient-from-position":x("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":x("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":x("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function vn(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function js(){return function*([,e,t],{theme:n}){const r={},o=nt(t,n);if(o){const{color:i,keys:a,alpha:s}=o;if(i){if(Object.values(et).includes(i))r[`--un-gradient-${e}`]=i;else{r[`--un-${e}-opacity`]=s;const l=a?W("colors",a):i;r[`--un-gradient-${e}`]=`color-mix(in oklab, ${l} var(--un-${e}-opacity), transparent)`,yield x(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&z("colors",a),n&&ot(i,n)}}else r[`--un-gradient-${e}`]=f.bracket.cssvar(t);if(r[`--un-gradient-${e}`]){switch(e){case"from":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...r,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...r,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...r};break}for(const i of Object.values(ur))yield i}}}function zs(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${f.bracket.cssvar.percent(t)}`};for(const n of Object.values(ur))yield n}}const As=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,n])=>{let r;if(f.number(t)!=null?r=`from ${f.number(t)}deg ${vn(n)};`:r=f.bracket(t),r)return{"--un-gradient-position":r,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,js()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:f.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,zs()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,n])=>({"--un-gradient-position":`${t in I?`to ${I[t]} `:" "}${vn(n)}`,"background-image":`${e==="gradient"?"linear":e}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(e=>`bg-${e}-to-(${Object.keys(I).filter(t=>t.length<=2&&Array.from(t).every(n=>"rltb".includes(n))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...A("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":f.bracket.cssvar(e)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...T.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":I[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...A("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...A("bg-origin","background-origin")],xn=[[/^outline-(?:width-|size-)?(.+)$/,fr,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Rs,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":f.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},x("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[U.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...T].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*fr([,e]){const t=f.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield x("--un-outline-style",{initialValue:"solid"}))}function*Rs(e,t){if(Le(f.bracket(e[1])))yield*fr(e);else{const n=V("outline-color","outline")(e,t);if(n)for(const r of n)yield r}}const Os=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Ps(e){const t=f.bracket(e);return t&&f.properties(t)?t:f.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const wn=[[/^will-change-(.+)/,([,e])=>({"will-change":Ps(e)})]],pt={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Ms=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const n=pt[e];if(n)return t?{"list-style-position":t,"list-style-type":n}:{"list-style-type":n}},{autocomplete:[`list-(${Object.keys(pt).join("|")})`,`list-(${Object.keys(pt).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":f.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...A("list","list-style-type")],_s=[[/^accent-(.+)$/,V("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":f.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Fs=[[/^caret-(.+)$/,V("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":f.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ls=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],Ns=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...A("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...A("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...A("overscroll-y","overscroll-behavior-y")],Ws=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...A("scroll","scroll-behavior")],ce=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...T],Ts=[[/^(?:border|b)()(?:-(.+))?$/,Z,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Z],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Z],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Z],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Z],[/^(?:border|b)-()(?:width|size)-(.+)$/,Z,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Z],[/^(?:border|b)-()(?:color-)?(.+)$/,Ee,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ee],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Ce,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Ce],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Ce],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,je,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,je],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,je],[/^(?:border|b)-(?:style-)?()(.+)$/,ze,{autocomplete:["(border|b)-style",`(border|b)-(${ce.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${ce.join("|")})`,`(border|b)-<directions>-style-(${ce.join("|")})`,`(border|b)-style-(${ce.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,ze],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,ze],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,ze],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,ze]];function Vs(e){return([,t],n)=>{const r=nt(t,n.theme),o=or(r,`border${e}-color`,`border${e}`,n);if(o){const i=o[0];return r?.color&&!Object.values(et).includes(r.color)&&!r.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}function Z([,e="",t="1"]){const n=f.bracket.cssvar.global.px(t);if(e in Q&&n!=null)return Q[e].map(r=>[`border${r}-width`,n])}function Ee([,e="",t],n){if(e in Q){if(Le(f.bracket(t)))return Z(["",e,t]);if(_e(t,n.theme)){const r=Q[e].map(o=>Vs(o)(["",t],n)).filter(De);return[r.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...r.flatMap(o=>o.slice(1))]}}}function Ce([,e="",t]){const n=f.bracket.percent.cssvar(t);if(e in Q&&n!=null)return Q[e].map(r=>[`--un-border${r}-opacity`,n])}function je([,e="",t="DEFAULT"],{theme:n}){if(e in qe){if(t==="full")return qe[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const r=n.radius?.[t]??f.bracket.cssvar.global.fraction.rem(t);if(r!=null){const o=n.radius&&t in n.radius;return o&&z("radius",t),qe[e].map(i=>[`border${i}-radius`,o?W("radius",t):r])}}}function ze([,e="",t]){if(ce.includes(t)&&e in Q)return[["--un-border-style",t],...Q[e].map(n=>[`border${n}-style`,t])]}const Us=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:f.bracket.percent.cssvar(e)})]],Bs=/^\[url\(.+\)\]$/,Is=/^\[(?:length|size):.+\]$/,Ds=/^\[position:.+\]$/,Hs=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,qs=/^\[image:.+\]$/,Ys=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(Bs.test(t))return{"--un-url":f.bracket(t),"background-image":"var(--un-url)"};if(Is.test(t)&&f.bracketOfLength(t)!=null)return{"background-size":f.bracketOfLength(t).split(" ").map(n=>f.fraction.auto.px.cssvar(n)??n).join(" ")};if((ea(t)||Ds.test(t))&&f.bracketOfPosition(t)!=null)return{"background-position":f.bracketOfPosition(t).split(" ").map(n=>f.position.fraction.auto.px.cssvar(n)??n).join(" ")};if(Hs.test(t)||qs.test(t)){const n=f.bracket(t);if(n)return{"background-image":(n.startsWith("http")?`url(${n})`:f.cssvar(n))??n}}return V("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Xs=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Gs=[[/^columns-(.+)$/,([,e])=>({columns:f.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...A("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...A("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...A("break-after")],Sn=["solid","double","dotted","dashed","wavy",...T],Ks=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,dr,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Zs,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":f.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Sn.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Sn.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function dr([,e]){return{"text-decoration-thickness":f.bracket.cssvar.global.px(e)}}function Zs(e,t){if(Le(f.bracket(e[1])))return dr(e);const n=V("text-decoration-color","line")(e,t);if(n){const r=n[0];return r["-webkit-text-decoration-color"]=r["text-decoration-color"],n}}const Js=[[/^pa?()-?(.+)$/,P("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,P("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,P("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,P("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,P("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,P("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Qs=[[/^ma?()-?(.+)$/,P("margin")],[/^m-?xy()()$/,P("margin")],[/^m-?([xy])(?:-?(.+))?$/,P("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,P("margin")],[/^m-(block|inline)(?:-(.+))?$/,P("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,P("margin")]],el=[[/^space-([xy])-(.+)$/,tl,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,[`--un-space-${e}-reverse`]:"1"},yield x(`--un-space-${e}-reverse`,{initialValue:0})}]];function ue(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*tl([,e,t],{theme:n,symbols:r}){let o;const i=Y(t);if(i!=null?(z("spacing"),o=`calc(var(--spacing) * ${i})`):o=n.spacing?.[t]??f.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const a=Q[e==="x"?"inline":"block"].map((s,l)=>{const c=`margin${s}`,u=` calc(${o} * ${l===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[c,u]});a&&(yield{[r.selector]:ue,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield x(`--un-space-${e}-reverse`,{initialValue:0}))}}const nl=[[/^divide-(.+)$/,function*(e,t){const n=V("border-color","divide")(e,t);n&&(yield{[t.symbols.selector]:ue,...n[0]},yield n[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,"--un-divide-opacity":f.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,En,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,En],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:ue,[`--un-divide-${e}-reverse`]:"1"},yield x(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${ce.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:ue,"border-style":e}},{autocomplete:ce.map(e=>`divide-${e}`)}]];function*En([,e,t],{symbols:n}){let r=f.bracket.cssvar.px(t||"1");if(r!=null){r==="0"&&(r="0px");const i={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{const s=a.endsWith("left")||a.endsWith("top")?`calc(${r} * var(--un-divide-${e}-reverse))`:`calc(${r} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,s],[`border${a}-style`,"var(--un-border-style)"]]});i&&(yield{[n.selector]:ue,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(i.flat())},yield x(`--un-divide-${e}-reverse`,{initialValue:0}),yield x("--un-border-style",{initialValue:"solid"}))}}const pr=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],zt=pr.map(e=>x(`--un-${e}`)),Ke=pr.map(e=>`var(--un-${e},)`).join(" "),hr=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],rl=hr.map(e=>x(`--un-${e}`)),Ze=hr.map(e=>`var(--un-${e},)`).join(" ");function ht(e){let t=f.bracket.cssvar(e||"");if(t!=null||(t=e?f.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function oe(e,t){return([,n,r],{theme:o})=>{const i=t(r,o)??(r==="none"?"0":"");if(i!=="")return n?[{[`--un-${n}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":Ze,"backdrop-filter":Ze},...rl]:[{[`--un-${e}`]:`${e}(${i})`,filter:Ke},...zt]}}function ol([,e],{theme:t}){let n=t.dropShadow?.[e||"DEFAULT"];if(n!=null)return[{"--un-drop-shadow":`drop-shadow(${Wt(n,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Ke},...zt];if(n=f.bracket.cssvar(e)??(e==="none"?"":void 0),n!=null)return[{"--un-drop-shadow":n&&`drop-shadow(${n})`,filter:Ke},...zt]}const il=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,oe("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||f.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,oe("brightness",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,oe("contrast",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,ol,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,V("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":f.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,oe("grayscale",ht),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,oe("hue-rotate",e=>f.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,oe("invert",ht),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,oe("opacity",e=>f.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,oe("saturate",e=>f.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,oe("sepia",ht),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Ke}],["backdrop-filter",{"-webkit-backdrop-filter":Ze,"backdrop-filter":Ze}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...T.map(e=>[`filter-${e}`,{filter:e}]),...T.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],al=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:f.bracket(e)!=null?f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" "):f.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":f.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Y(e);return t!=null?(z("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":f.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],mt={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},sl=[[/^(?:flex-|grid-)?gap-?()(.+)$/,P("gap",mt,(e,t)=>`${t}${e}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,P("gap",mt,(e,t)=>`${t}${e}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,P("gap",mt,(e,t)=>`${t}${e}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function ne(e){return e.replace("col","column")}function ll(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return f.bracket.cssvar.auto.rem(e)}const cl=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${ne(e)}`]:f.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${ne(e)}`]:"1/-1"};const n=f.bracket.number.cssvar(t);if(n!=null)return{[`grid-${ne(e)}`]:`span ${n}/span ${n}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${ne(e)}-start`]:f.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${ne(e)}-end`]:f.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${ne(e)}`]:ll(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":f.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":ne(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${ne(e)}`]:f.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${ne(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${ne(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":f.cssvar(t)??t.split("-").map(n=>`"${f.bracket(n)}"`).join(" ")}:{"grid-area":f.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Ve=["auto","hidden","clip","visible","scroll","overlay",...T],ul=[[/^(?:overflow|of)-(.+)$/,([,e])=>Ve.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Ve.join("|")})`,`(overflow|of)-(x|y)-(${Ve.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Ve.includes(t)?{[`overflow-${e}`]:t}:void 0]],fl=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],At={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Cn="linear-gradient(#fff, #fff)",dl={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function jn([,e=""]){if(e in qe)return{"mask-position":e.split("").flatMap(r=>At[r]).join(" ")};const t=f.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function gt([e,t="",n,r],o){const i={...dl},a=[];if(a.push(...["linear","radial","conic"].map(s=>x(`--un-mask-${s}`,{initialValue:Cn}))),t in At){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const s of At[t]){if(i[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,Y(r)!=null?(z("spacing"),i[`--un-mask-${s}-${n}-position`]=`calc(var(--spacing) * ${f.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${s}-${n}-position`]=f.bracket.cssvar.fraction.rem(r),_e(r,o.theme)){const l=V(`--un-mask-${s}-${n}-color`,jt("colors"))([e,r],o);if(l){const[c,...u]=l;Object.assign(i,c),a.push(...u)}}a.push(...["from","to"].flatMap(l=>[x(`--un-mask-${s}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),x(`--un-mask-${s}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(s=>x(`--un-mask-${s}`,{initialValue:Cn})))}else{if(n==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=f.bracket.cssvar.rem(r)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Y(r)?`calc(1deg * ${f.bracket.cssvar.number(r)})`:f.bracket.cssvar.fraction(r));else{const s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${s[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,_e(r,o.theme)){const l=V(`--un-mask-${t}-${n}-color`,jt("colors"))([e,r],o);if(l){const[c,...u]=l;Object.assign(i,c),a.push(...u)}}else Y(r)!=null?(z("spacing"),i[`--un-mask-${t}-${n}-position`]=`calc(var(--spacing) * ${f.bracket.cssvar.fraction.number(r)})`):i[`--un-mask-${t}-${n}-position`]=f.bracket.cssvar.fraction.rem(r)}t==="radial"&&a.push(x("--un-mask-radial-shape",{initialValue:"ellipse"}),x("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(s=>[x(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),x(`--un-mask-${t}-${s}-position`,{syntax:"<length-percentage>",initialValue:s==="from"?"0%":"100%"}),x(`--un-mask-${t}-${s}-color`,{syntax:"<color>",initialValue:s==="from"?"black":"transparent"})]))}return[i,...a]}function pl([,e=""]){const t=f.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const hl=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":f.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,gt,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,gt],[/^mask-([trblxy])-(from|to)-(.*)$/,gt],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":I[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(I).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,jn],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":I[e]})],[/^mask-(?:position-|pos-)(.+)$/,jn],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,pl],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],ml=[[/^\$ placeholder-(.+)$/,V("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":f.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],gl=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>T.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],mr=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...A("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...A("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...A("justify-self")],bl=[[/^order-(.+)$/,([,e])=>({order:f.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],gr=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...A("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...A("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...A("self","align-self")],br=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...A("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...A("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...A("place-self")],yl=[...mr,...gr,...br].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function Rt(e){const t=Y(e);return t!=null?(z("spacing"),`calc(var(--spacing) * ${t})`):f.bracket.cssvar.global.auto.fraction.rem(e)}function Ae([,e,t]){const n=Rt(t);if(n!=null&&e in hn)return hn[e].map(r=>[r.slice(1),n])}const kl=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:Rt(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ae],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ae],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ae],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:Rt(t)})]],$l=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...A("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...A("clear")],vl=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":f.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":f.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],xl=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...A("box","box-sizing")],wl=[[/^(where|\?)$/,(e,{constructCSS:t,generator:n})=>{if(n.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Ot={shadow:x("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:x("--un-shadow-color"),insetShadow:x("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:x("--un-inset-shadow-color"),ringColor:x("--un-ring-color"),ringShadow:x("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:x("--un-inset-ring-color"),insetRingShadow:x("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:x("--un-ring-inset"),ringOffsetWidth:x("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:x("--un-ring-offset-color"),ringOffsetShadow:x("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Sl=[[/^shadow(?:-(.+))?$/,zn("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,zn("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function zn(e){return(t,n)=>{const[,r]=t,{theme:o}=n,i=o[e]?.[r||"DEFAULT"],a=r?f.bracket.cssvar(r):void 0,s=jt(e);return(i!=null||a!=null)&&!_e(a,o)?[{[`--un-${s}`]:Wt(i||a,`--un-${s}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ot)]:V(`--un-${s}-color`,s)(t,n)}}const El=[[/^ring(?:-(.+))?$/,([,e])=>{const t=f.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ot)]}],[/^ring-(.+)$/,V("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=f.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Ot)]}],[/^inset-ring-(.+)$/,V("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=f.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,V("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Cl=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},x("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},x("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,P("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,P("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,P("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,P("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,P("scroll-margin")],[/^scroll-pa?()-?(.+)$/,P("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,P("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,P("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,P("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,P("scroll-padding")]],jl={h:"height",w:"width",inline:"inline-size",block:"block-size"};function me(e,t){return`${e||""}${jl[t]}`}function Ue(e,t,n){let r;const o=["container","spacing"];for(const i of o)if(e[i]?.[n]){z(i,n),r=W(i,n);break}if(!r)switch(n){case"fit":case"max":case"min":r=`${n}-content`;break;case"screen":r=t==="w"?"100vw":"100vh";break}return!r&&f.number(n)!=null&&(z("spacing"),r=`calc(var(--spacing) * ${f.number(n)})`),r??f.bracket.cssvar.global.auto.none.fraction.rem(n)}const zl=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:n})=>({[me(e,"w")]:Ue(n,"w",t),[me(e,"h")]:Ue(n,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,n],{theme:r})=>({[me(e,t)]:Ue(r,t,n)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,n],{theme:r})=>({[me(e,t)]:Ue(r,t,n)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,n],r)=>({[me(e,t)]:An(r,n,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,n],r)=>({[me(e,t)]:An(r,n)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function An(e,t,n="breakpoint"){const r=rt(e,n);if(r)return r.find(o=>o.point===t)?.size}function Al(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return f.bracket.cssvar.global.auto.number(e)}const Rl=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Al(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Ol=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],bt=["size","layout","paint","style"],Pl=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:f.bracket.cssvar.global(e)})]],Ml=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...A("backface","backface-visibility")],_l=[[/^cursor-(.+)$/,([,e])=>({cursor:f.bracket.cssvar.global(e)})],...Ol.map(e=>[`cursor-${e}`,{cursor:e}])],Fl=[[/^contain-(.*)$/,([,e])=>f.bracket(e)!=null?{contain:f.bracket(e).split(" ").map(t=>f.cssvar.fraction(t)??t).join(" ")}:bt.includes(e)?[{"--un-contain-size":e,contain:bt.map(t=>`var(--un-contain-${t})`).join(" ")},...bt.map(t=>x(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],Ll=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...A("pointer-events")],Nl=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...A("resize")],Wl=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...A("select","user-select")],Tl=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...T].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Vl=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":f.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...A("content-visibility")],Ul=[[/^content-(.+)$/,([,e])=>{if(f.bracket.cssvar(e)!=null)return[{"--un-content":f.bracket.cssvar(e),content:"var(--un-content)"},x("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Bl=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],Il=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Dl=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Hl=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...A("case","text-transform")],ql=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Yl=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Xl=[...["manual","auto","none",...T].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Gl=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...A("write","writing-mode")],Kl=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...A("write-orient","text-orientation")],Zl=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Jl=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ql=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(I[e])return{"object-position":I[e]};if(f.bracketOfPosition(e)!=null)return{"object-position":f.bracketOfPosition(e).split(" ").map(t=>f.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(I).join("|")})`}]],ec=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...A("bg-blend","background-blend")],tc=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...A("mix-blend")],nc=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],rc=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],oc=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],ic=[[/^fill-(.+)$/,V("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,yr],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":f.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":f.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,ac,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function yr([,e]){return{"stroke-width":f.bracket.cssvar.fraction.px.number(e)}}function ac(e,t){return Le(f.bracket(e[1]))?yr(e):V("stroke","stroke")(e,t)}const sc=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const n=Rn(e,t);if(n!=null){yield{"--un-border-spacing-x":n,"--un-border-spacing-y":n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const r of["x","y"])yield x(`--un-border-spacing-${r}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:n}){const r=Rn(t,n);if(r!=null){yield{[`--un-border-spacing-${e}`]:r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield x(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Rn(e,t){let n=t.spacing?.[e];if(!n){const r=Y(e);r!=null?(z("spacing"),n=`calc(var(--spacing) * ${r})`):n=f.bracket.cssvar.global.auto.fraction.rem(e)}return n}const yt="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",kt=["pan-x","pan-y","pinch-zoom"].map(e=>x(`--un-${e}`)),lc=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":yt};for(const t of kt)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":yt};for(const t of kt)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":yt};for(const e of kt)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...A("touch","touch-action")],Be=["translate","rotate","scale"],Tt=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Vt=Tt,cc=["translateZ(0)",Tt].join(" "),uc=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":I[e]??f.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(I).join("|")})`,`origin-(${Object.keys(I).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let n;if(t.perspective?.[e]?(z("perspective",e),n=W("perspective",e)):n=f.bracket.cssvar.px.numberWithUnit(e),n!=null)return{perspective:n}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=f.bracket.cssvar(e)??(e.length>=3?I[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,On],[/^(?:transform-)?translate-([xyz])-(.+)$/,On],[/^(?:transform-)?rotate-()(.+)$/,Mn],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Mn],[/^(?:transform-)?skew-()(.+)$/,_n],[/^(?:transform-)?skew-([xy])-(.+)$/,_n,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Pn],[/^(?:transform-)?scale-([xyz])-(.+)$/,Pn,{autocomplete:[`transform-(${Be.join("|")})-<percent>`,`transform-(${Be.join("|")})-(x|y|z)-<percent>`,`(${Be.join("|")})-<percent>`,`(${Be.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:Vt}],["transform-cpu",{transform:Tt}],["transform-gpu",{transform:cc}],["transform-none",{transform:"none"}],...A("transform")];function On([,e,t]){const n=Y(t)??f.bracket.cssvar.none.fraction.rem(t);if(n!=null)return n==="none"?{translate:"none"}:(z("spacing"),[[...Ut(e,typeof n=="number"?`calc(var(--spacing) * ${n})`:n,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,Ct]],...["x","y","z"].map(r=>x(`--un-translate-${r}`,{initialValue:0}))])}function Pn([,e,t]){const n=f.bracket.cssvar.none.fraction.percent(t);if(n!=null)return n==="none"?{scale:"none"}:[[...Ut(e,n,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(r=>x(`--un-scale-${r}`,{initialValue:1}))]}function Mn([,e="",t]){const n=f.bracket.cssvar.none.degree(t);if(n!=null)return n==="none"?{rotate:"none"}:e?[[...Ut(e,n.endsWith("deg")?`rotate${e.toUpperCase()}(${n})`:n,"rotate"),["transform",Vt]],...["x","y","z"].map(r=>x(`--un-rotate-${r}`,{initialValue:`rotate${r.toUpperCase()}(0)`})),...["x","y"].map(r=>x(`--un-skew-${r}`,{initialValue:`skew${r.toUpperCase()}(0)`}))]:{rotate:f.bracket.cssvar.degree(t)}}function _n([,e,t]){const n=f.bracket.cssvar.degree(t),r=Qn[e];if(n!=null&&r)return[[...r.map(o=>[`--un-skew${o}`,n.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${n})`:n]),["transform",Vt]],...["x","y","z"].map(o=>x(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>x(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Ut(e,t,n){const r=t.split(Oi);return e||!e&&r.length===1?Qn[e].map(o=>[`--un-${n}${o}`,t]):r.map((o,i)=>[`--un-${n}-${Ai[i]}`,o])}function Fn(e,t){let n;if(f.cssvar(e)!=null)n=f.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const r=e.split(",").map(o=>t.property?.[o]??f.properties(o));r.every(Boolean)&&(n=r.join(","))}return n}const fc=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:n})=>{z("default",["transition","timingFunction"]),z("default",["transition","duration"]);const r={"transition-property":n.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${W("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${W("default",["transition","duration"])})`};if(!e&&!t)return{...r};if(e!=null){const o=Fn(e,n);if(o)return{"--un-duration":t&&f.time(t),...r,"transition-property":o}}else if(t!=null)return{"--un-duration":f.time(t),...r}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":f.bracket.cssvar.time(e),"transition-duration":f.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":f.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let n;return t.ease?.[e]?(z("ease",e),n=W("ease",e)):n=f.bracket.cssvar(e),[{"--un-ease":n,"transition-timing-function":n},x("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const n=f.global(e)||Fn(e,t);if(n)return{"transition-property":n}},{autocomplete:[`transition-property-(${[...T].join("|")})`]}],["transition-none",{transition:"none"}],...A("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],dc=[[/^text-(.+)$/,yc,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,kr,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,kc,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,V("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>T.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${T.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let n;return t.fontWeight?.[e]?(z("fontWeight",e),n=W("fontWeight",e)):n=f.bracket.cssvar.global.number(e),{"--un-font-weight":n,"font-weight":n}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let n;if(t.leading?.[e]?(z("leading",e),n=W("leading",e)):Y(e)?(z("spacing"),n=`calc(var(--spacing) * ${Y(e)})`):n=f.bracket.cssvar.global.rem(e),n!=null)return[{"--un-leading":n,"line-height":n},x("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":f.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let n;return t.tracking?.[e]?(z("tracking",e),n=W("tracking",e)):n=f.bracket.cssvar.global.rem(e),{"--un-tracking":n,"letter-spacing":n}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const n=t.tracking?.[e]?W("tracking",e):f.bracket.cssvar.global.rem(e);return{"--un-word-spacing":n,"word-spacing":n}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":f.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let n;if(t.font?.[e])return z("font",e),n=W("font",e),{"font-family":n};if(t.fontWeight?.[e])return z("fontWeight",e),n=W("fontWeight",e),{"--un-font-weight":n,"font-weight":n};if(n=f.number(e),n!=null)return{"--un-font-weight":n,"font-weight":n};if(n=f.bracketOfFamily(e),n!=null&&f.number(n)==null)return n=f.cssvar(n)??n,{"font-family":n};if(n=f.bracketOfNumber(e),n!=null)return n=f.cssvar.number(n),{"--un-font-weight":n,"font-weight":n};if(n=f.bracket(e),n!=null&&f.number(n)!=null){const r=f.number(n);return{"--un-font-weight":r,"font-weight":r}}if(n=f.bracket.cssvar.global(e),n!=null)return{"font-family":n}},{autocomplete:["font-$font","font-$fontWeight"]}]],pc=[[/^tab(?:-(.+))?$/,([,e])=>{const t=f.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],hc=[[/^indent-(.+)$/,([,e])=>{let t=Y(e);if(t!=null)return z("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=f.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],mc=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&z("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?W("textStrokeWidth",e):f.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,V("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Ln=/op(?:acity)?-/,gc=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{const[n,r="DEFAULT"]=e,o=t.theme.textShadow?.[r];return o!=null?{"--un-text-shadow":Wt(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:Ln.test(r)?{"--un-text-shadow-opacity":f.bracket.percent.cssvar(r.replace(Ln,""))}:V("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":f.bracket.cssvar.global(r)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,V("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":f.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],ae=[x("--un-ordinal"),x("--un-slashed-zero"),x("--un-numeric-figure"),x("--un-numeric-spacing"),x("--un-numeric-fraction")],se={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},bc=[["ordinal",[{"--un-ordinal":"ordinal",...se},...ae]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...se},...ae]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...se},...ae]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...se},...ae]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...se},...ae]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...se},...ae]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...se},...ae]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...se},...ae]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function yc([,e="base"],{theme:t}){const n=$c(e,"length");if(!n)return;const[r,o]=n,i=t.text?.[r];let a;if(o&&(t.leading?.[o]?(z("leading",o),a=W("leading",o)):a=f.bracket.cssvar.global.rem(o)),i)return z("text",[r,"fontSize"]),z("text",[r,"lineHeight"]),i.letterSpacing&&z("text",[r,"letterSpacing"]),{"font-size":W("text",[r,"fontSize"]),"line-height":a??`var(--un-leading, ${W("text",[r,"lineHeight"])})`,"letter-spacing":i.letterSpacing?W("text",[r,"letterSpacing"]):void 0};const s=f.bracketOfLength.rem(r);return a&&s?{"font-size":s,"line-height":a}:{"font-size":f.bracketOfLength.rem(e)}}function kr([,e],{theme:t}){if(t.text?.[e]!=null)return z("text",[e,"fontSize"]),z("text",[e,"lineHeight"]),{"font-size":W("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${W("text",[e,"lineHeight"])})`};{const n=f.bracket.cssvar.global.rem(e);if(n)return{"font-size":n}}}function kc(e,t){return Le(f.bracket(e[1]))?kr(e,t):V("color","text")(e,t)}function $c(e,t){const[n,r]=Qe(e,"[","]",["/",":"])??[];if(n!=null){const o=(n.match(Nt)??[])[1];if(o==null||o===t)return[n,r]}}const vc={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},xc=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const n=vc[e];if(n)return{[n]:f.cssvar(t)}}]],wc=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[n,...r]=t.split(":"),o=r.join(":");if(!Ec(t)&&/^[\w-]+$/.test(n)&&Sc(o)){const i=f.bracket(`[${o}]`);if(i)return{[n]:i}}}]];function Sc(e){let t=0;function n(r){for(;t<e.length;)if(t+=1,e[t]===r)return!0;return!1}for(t=0;t<e.length;t++){const r=e[t];if("\"`'".includes(r)){if(!n(r))return!1}else if(r==="("){if(!n(")"))return!1}else if("[]{}:".includes(r))return!1}return!0}function Ec(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const Cc=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],jc=[dc,pc,hc,mc,gc,Qs,Js,Es,Ss,Os,xn,wn,Ms,_s,Fs,Ls,Ns,xn,Ws,wn,Ts,Ys,Us,Xs,vs,ks,Ks,al,sl,cl,zl,Rl,Pl,Ml,_l,Fl,Ll,Nl,Wl,Tl,Vl,Ul,Bl,Il,Dl,Hl,ql,Yl,El,Sl,uc,fc,xc,wc,gr,xl,yl,$l,kl,mr,bl,br,gl,vl,ul,ic,Cs,As,Xl,Gl,Kl,rc,Zl,Jl,Ql,ec,tc,nc,hl,Gs,il,fl,ml,Cl,sc,lc,bc,Cc,el,nl,oc,wl].flat();function zc(){return{getCSS:()=>{if(ke.size>0){const e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",n=Array.from(ke.entries()).map(([r,o])=>`${r}:${o};`).join("");return`${e}{${t}{${n}}}`}},layer:"properties"}}const Ac=`
18
+ /*
19
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
20
+ 2. Remove default margins and padding
21
+ 3. Reset all borders.
22
+ */
23
+
24
+ *,
25
+ ::after,
26
+ ::before,
27
+ ::backdrop,
28
+ ::file-selector-button {
29
+ box-sizing: border-box; /* 1 */
30
+ margin: 0; /* 2 */
31
+ padding: 0; /* 2 */
32
+ border: 0 solid; /* 3 */
33
+ }
34
+
35
+ /*
36
+ 1. Use a consistent sensible line-height in all browsers.
37
+ 2. Prevent adjustments of font size after orientation changes in iOS.
38
+ 3. Use a more readable tab size.
39
+ 4. Use the user's configured \`sans\` font-family by default.
40
+ 5. Use the user's configured \`sans\` font-feature-settings by default.
41
+ 6. Use the user's configured \`sans\` font-variation-settings by default.
42
+ 7. Disable tap highlights on iOS.
43
+ */
44
+
45
+ html,
46
+ :host {
47
+ line-height: 1.5; /* 1 */
48
+ -webkit-text-size-adjust: 100%; /* 2 */
49
+ tab-size: 4; /* 3 */
50
+ font-family: var(
51
+ --default-font-family,
52
+ ui-sans-serif,
53
+ system-ui,
54
+ sans-serif,
55
+ 'Apple Color Emoji',
56
+ 'Segoe UI Emoji',
57
+ 'Segoe UI Symbol',
58
+ 'Noto Color Emoji'
59
+ ); /* 4 */
60
+ font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
61
+ font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
62
+ -webkit-tap-highlight-color: transparent; /* 7 */
63
+ }
64
+
65
+ /*
66
+ 1. Add the correct height in Firefox.
67
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
68
+ 3. Reset the default border style to a 1px solid border.
69
+ */
70
+
71
+ hr {
72
+ height: 0; /* 1 */
73
+ color: inherit; /* 2 */
74
+ border-top-width: 1px; /* 3 */
75
+ }
76
+
77
+ /*
78
+ Add the correct text decoration in Chrome, Edge, and Safari.
79
+ */
80
+
81
+ abbr:where([title]) {
82
+ -webkit-text-decoration: underline dotted;
83
+ text-decoration: underline dotted;
84
+ }
85
+
86
+ /*
87
+ Remove the default font size and weight for headings.
88
+ */
89
+
90
+ h1,
91
+ h2,
92
+ h3,
93
+ h4,
94
+ h5,
95
+ h6 {
96
+ font-size: inherit;
97
+ font-weight: inherit;
98
+ }
99
+
100
+ /*
101
+ Reset links to optimize for opt-in styling instead of opt-out.
102
+ */
103
+
104
+ a {
105
+ color: inherit;
106
+ -webkit-text-decoration: inherit;
107
+ text-decoration: inherit;
108
+ }
109
+
110
+ /*
111
+ Add the correct font weight in Edge and Safari.
112
+ */
113
+
114
+ b,
115
+ strong {
116
+ font-weight: bolder;
117
+ }
118
+
119
+ /*
120
+ 1. Use the user's configured \`mono\` font-family by default.
121
+ 2. Use the user's configured \`mono\` font-feature-settings by default.
122
+ 3. Use the user's configured \`mono\` font-variation-settings by default.
123
+ 4. Correct the odd \`em\` font sizing in all browsers.
124
+ */
125
+
126
+ code,
127
+ kbd,
128
+ samp,
129
+ pre {
130
+ font-family: var(
131
+ --default-monoFont-family,
132
+ ui-monospace,
133
+ SFMono-Regular,
134
+ Menlo,
135
+ Monaco,
136
+ Consolas,
137
+ 'Liberation Mono',
138
+ 'Courier New',
139
+ monospace
140
+ ); /* 1 */
141
+ font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
142
+ font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
143
+ font-size: 1em; /* 4 */
144
+ }
145
+
146
+ /*
147
+ Add the correct font size in all browsers.
148
+ */
149
+
150
+ small {
151
+ font-size: 80%;
152
+ }
153
+
154
+ /*
155
+ Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
156
+ */
157
+
158
+ sub,
159
+ sup {
160
+ font-size: 75%;
161
+ line-height: 0;
162
+ position: relative;
163
+ vertical-align: baseline;
164
+ }
165
+
166
+ sub {
167
+ bottom: -0.25em;
168
+ }
169
+
170
+ sup {
171
+ top: -0.5em;
172
+ }
173
+
174
+ /*
175
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
176
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
177
+ 3. Remove gaps between table borders by default.
178
+ */
179
+
180
+ table {
181
+ text-indent: 0; /* 1 */
182
+ border-color: inherit; /* 2 */
183
+ border-collapse: collapse; /* 3 */
184
+ }
185
+
186
+ /*
187
+ Use the modern Firefox focus style for all focusable elements.
188
+ */
189
+
190
+ :-moz-focusring {
191
+ outline: auto;
192
+ }
193
+
194
+ /*
195
+ Add the correct vertical alignment in Chrome and Firefox.
196
+ */
197
+
198
+ progress {
199
+ vertical-align: baseline;
200
+ }
201
+
202
+ /*
203
+ Add the correct display in Chrome and Safari.
204
+ */
205
+
206
+ summary {
207
+ display: list-item;
208
+ }
209
+
210
+ /*
211
+ Make lists unstyled by default.
212
+ */
213
+
214
+ ol,
215
+ ul,
216
+ menu {
217
+ list-style: none;
218
+ }
219
+
220
+ /*
221
+ 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
222
+ 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
223
+ This can trigger a poorly considered lint error in some tools but is included by design.
224
+ */
225
+
226
+ img,
227
+ svg,
228
+ video,
229
+ canvas,
230
+ audio,
231
+ iframe,
232
+ embed,
233
+ object {
234
+ display: block; /* 1 */
235
+ vertical-align: middle; /* 2 */
236
+ }
237
+
238
+ /*
239
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
240
+ */
241
+
242
+ img,
243
+ video {
244
+ max-width: 100%;
245
+ height: auto;
246
+ }
247
+
248
+ /*
249
+ 1. Inherit font styles in all browsers.
250
+ 2. Remove border radius in all browsers.
251
+ 3. Remove background color in all browsers.
252
+ 4. Ensure consistent opacity for disabled states in all browsers.
253
+ */
254
+
255
+ button,
256
+ input,
257
+ select,
258
+ optgroup,
259
+ textarea,
260
+ ::file-selector-button {
261
+ font: inherit; /* 1 */
262
+ font-feature-settings: inherit; /* 1 */
263
+ font-variation-settings: inherit; /* 1 */
264
+ letter-spacing: inherit; /* 1 */
265
+ color: inherit; /* 1 */
266
+ border-radius: 0; /* 2 */
267
+ background-color: transparent; /* 3 */
268
+ opacity: 1; /* 4 */
269
+ }
270
+
271
+ /*
272
+ Restore default font weight.
273
+ */
274
+
275
+ :where(select:is([multiple], [size])) optgroup {
276
+ font-weight: bolder;
277
+ }
278
+
279
+ /*
280
+ Restore indentation.
281
+ */
282
+
283
+ :where(select:is([multiple], [size])) optgroup option {
284
+ padding-inline-start: 20px;
285
+ }
286
+
287
+ /*
288
+ Restore space after button.
289
+ */
290
+
291
+ ::file-selector-button {
292
+ margin-inline-end: 4px;
293
+ }
294
+
295
+ /*
296
+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
297
+ */
298
+
299
+ ::placeholder {
300
+ opacity: 1;
301
+ }
302
+
303
+ /*
304
+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
305
+ crash when using \`color-mix(…)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
306
+ */
307
+
308
+ @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
309
+ (contain-intrinsic-size: 1px) /* Safari 17+ */ {
310
+ ::placeholder {
311
+ color: color-mix(in oklab, currentcolor 50%, transparent);
312
+ }
313
+ }
314
+
315
+ /*
316
+ Prevent resizing textareas horizontally by default.
317
+ */
318
+
319
+ textarea {
320
+ resize: vertical;
321
+ }
322
+
323
+ /*
324
+ Remove the inner padding in Chrome and Safari on macOS.
325
+ */
326
+
327
+ ::-webkit-search-decoration {
328
+ -webkit-appearance: none;
329
+ }
330
+
331
+ /*
332
+ 1. Ensure date/time inputs have the same height when empty in iOS Safari.
333
+ 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
334
+ */
335
+
336
+ ::-webkit-date-and-time-value {
337
+ min-height: 1lh; /* 1 */
338
+ text-align: inherit; /* 2 */
339
+ }
340
+
341
+ /*
342
+ Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
343
+ */
344
+
345
+ ::-webkit-datetime-edit {
346
+ display: inline-flex;
347
+ }
348
+
349
+ /*
350
+ Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
351
+ */
352
+
353
+ ::-webkit-datetime-edit-fields-wrapper {
354
+ padding: 0;
355
+ }
356
+
357
+ ::-webkit-datetime-edit,
358
+ ::-webkit-datetime-edit-year-field,
359
+ ::-webkit-datetime-edit-month-field,
360
+ ::-webkit-datetime-edit-day-field,
361
+ ::-webkit-datetime-edit-hour-field,
362
+ ::-webkit-datetime-edit-minute-field,
363
+ ::-webkit-datetime-edit-second-field,
364
+ ::-webkit-datetime-edit-millisecond-field,
365
+ ::-webkit-datetime-edit-meridiem-field {
366
+ padding-block: 0;
367
+ }
368
+
369
+ /*
370
+ Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
371
+ */
372
+
373
+ ::-webkit-calendar-picker-indicator {
374
+ line-height: 1;
375
+ }
376
+
377
+ /*
378
+ Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
379
+ */
380
+
381
+ :-moz-ui-invalid {
382
+ box-shadow: none;
383
+ }
384
+
385
+ /*
386
+ Correct the inability to style the border radius in iOS Safari.
387
+ */
388
+
389
+ button,
390
+ input:where([type='button'], [type='reset'], [type='submit']),
391
+ ::file-selector-button {
392
+ appearance: button;
393
+ }
394
+
395
+ /*
396
+ Correct the cursor style of increment and decrement buttons in Safari.
397
+ */
398
+
399
+ ::-webkit-inner-spin-button,
400
+ ::-webkit-outer-spin-button {
401
+ height: auto;
402
+ }
403
+
404
+ /*
405
+ Make elements with the HTML hidden attribute stay hidden by default.
406
+ */
407
+
408
+ [hidden]:where(:not([hidden='until-found'])) {
409
+ display: none !important;
410
+ }
411
+ `;function Rc(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(z("font","sans"),z("font","mono"),z("default",["font","family"]),z("default",["monoFont","family"]),ir(Ac,t.config.envMode==="dev")),layer:"base"}}const Oc=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function Pc(e,t){const n=new Map([["--spacing",e.spacing.DEFAULT]]),r=i=>i.replace(Xn,"1");function o(i,a){for(const s in i)Array.isArray(i[s])?n.set(`--${a}-${s}`,r(i[s].join(","))):typeof i[s]=="object"?o(i[s],`${a}-${s}`):n.set(`--${a}-${s}`,r(i[s]))}for(const i in e)t.includes(i)&&o(e[i],i);return n}function Mc(e){return{layer:"theme",getCSS(t){const{theme:n,generator:r}=t,o=re(r.config.safelist.flatMap(c=>typeof c=="function"?c(t):c)),{mode:i,process:a}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const c of o){const[u,...d]=c.trim().split(":");if(u in n&&d.length<=1){const p=d.length===0?["DEFAULT"]:d[0].split("-"),h=Ge(n,u,p);typeof h=="string"&&(z(u,p),ot(h,n))}}let s;const l=c=>{if(a)for(const p of c)for(const h of M(a))h(p,t);const u=c.map(([p,h])=>p&&h?`${p}: ${h};`:void 0).filter(Boolean);if(u.length===0)return;const d=u.join(`
412
+ `);return ir(`
413
+ :root, :host {
414
+ ${d}
415
+ }`,r.config.envMode==="dev")};if(i==="on-demand"){if(ye.size===0)return;s=Array.from(ye).map(c=>{const[u,d]=c.split(":"),p=Ge(n,u,d.split("-"));if(typeof p=="string")return[`--${u}${`${u==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,p]}).filter(Boolean)}else{const c=Object.keys(n).filter(u=>!Oc.includes(u));s=Array.from(Pc(n,c))}return l(s)}}}const _c=e=>[Rc(e),Mc(e),zc()].filter(Boolean),Fc={position:["relative","absolute","fixed","sticky","static"],globalKeyword:T},Bc=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:zi,rules:jc,shortcuts:ws,theme:ys,layers:{properties:-200,theme:-150,base:-100},preflights:_c(e),variants:Xa(e),prefix:e.prefix,postprocess:oa(e),extractorDefault:e.arbitraryVariants===!1?void 0:ji(),autocomplete:{shorthands:Fc},options:e,configResolved(){ye.clear(),ke.clear()},meta:{themeDeps:ye,propertyDeps:ke}}};export{xr as _,Uc as a,Vc as b,Tc as c,Lc as d,Nc as e,Wc as i,Bc as p,Br as w};