@nuxt/devtools 1.3.8 → 1.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +526 -5
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +27 -27
- package/dist/client/404.html +27 -27
- package/dist/client/_nuxt/{C7cYo4YF.js → 2tJW9cKr.js} +1 -1
- package/dist/client/_nuxt/{CbM9OHn3.js → B-wfK0SS.js} +1 -1
- package/dist/client/_nuxt/B2TuRHFi.js +1 -0
- package/dist/client/_nuxt/{DKSts1V4.js → BEKXAodE.js} +1 -1
- package/dist/client/_nuxt/{Ckn823xU.js → BF_UD7ZT.js} +114 -114
- package/dist/client/_nuxt/{Cuq1Z6bh.js → BHBvn5Xs.js} +1 -1
- package/dist/client/_nuxt/BLmvGqlk.js +1 -0
- package/dist/client/_nuxt/{DX-YUedo.js → BMUgLter.js} +9 -9
- package/dist/client/_nuxt/BMbUeBqv.js +1 -1
- package/dist/client/_nuxt/{BjYCaXNT.js → BO314c-_.js} +1 -1
- package/dist/client/_nuxt/{GdB9kz-4.js → BWPbreBU.js} +1 -1
- package/dist/client/_nuxt/BYelj_cE.js +1 -0
- package/dist/client/_nuxt/{BLxIf9BH.js → BZZpaKJQ.js} +1 -1
- package/dist/client/_nuxt/{CPUwo9Dx.js → BZvh3yot.js} +2 -2
- package/dist/client/_nuxt/BcJweaq3.js +9 -0
- package/dist/client/_nuxt/{CH-roGkP.js → Bi99gj7u.js} +1 -1
- package/dist/client/_nuxt/{DETXY6Xa.js → BkmSFWMo.js} +1 -1
- package/dist/client/_nuxt/{DvDu1JUs.js → Bl8OBrwH.js} +1 -1
- package/dist/client/_nuxt/BrzmMRQX.js +2 -0
- package/dist/client/_nuxt/{8q1pCtVS.js → C4OO6w_e.js} +1 -1
- package/dist/client/_nuxt/{DuFGBY9A.js → C8RrL2-P.js} +1 -1
- package/dist/client/_nuxt/{BnXFHUk0.js → CA5wVMK1.js} +1 -1
- package/dist/client/_nuxt/{Dslz6rss.js → CE84j0J9.js} +1 -1
- package/dist/client/_nuxt/{o8QbmO42.js → CLVHkiJk.js} +1 -1
- package/dist/client/_nuxt/{DE5e3ZuV.js → CPWqrNrA.js} +1 -1
- package/dist/client/_nuxt/{C8N9kWh2.js → CPr4CZHz.js} +1 -1
- package/dist/client/_nuxt/CTKqK4eG.js +1 -1
- package/dist/client/_nuxt/CVW-sDYN.js +1 -0
- package/dist/client/_nuxt/{D0h9jATl.js → CWyKSuRn.js} +1 -1
- package/dist/client/_nuxt/CbViG2Xw.js +1 -1
- package/dist/client/_nuxt/{fwfpIEej.js → Cb_ad2sg.js} +1 -1
- package/dist/client/_nuxt/{dXjzJhiW.js → CcKfWHXB.js} +2 -2
- package/dist/client/_nuxt/{BG5RUyXI.js → CfVBzxeB.js} +1 -1
- package/dist/client/_nuxt/Cic6Ln_D.js +98 -0
- package/dist/client/_nuxt/{B_lF4o9u.js → CjFkCrIW.js} +1 -1
- package/dist/client/_nuxt/{D7m39p-9.js → CmbkPMjd.js} +1 -1
- package/dist/client/_nuxt/CnW1WPg6.js +1 -0
- package/dist/client/_nuxt/CsgBhI1g.js +16 -0
- package/dist/client/_nuxt/Cvo3JE8Q.js +1 -0
- package/dist/client/_nuxt/{DJdrWIcn.js → CxLTb5RC.js} +1 -1
- package/dist/client/_nuxt/{DVk2I1gO.js → CyS6YlEb.js} +1 -1
- package/dist/client/_nuxt/{mQFKENXH.js → CyvuMq07.js} +1 -1
- package/dist/client/_nuxt/D-a-w6CR.js +9 -0
- package/dist/client/_nuxt/{Xpd7UJs5.js → D4Ks82zD.js} +1 -1
- package/dist/client/_nuxt/{DdjW6vu9.js → D8XE2BC8.js} +1 -1
- package/dist/client/_nuxt/DDMtKJxh.js +1 -1
- package/dist/client/_nuxt/{C5gCGmDW.js → DK4oFTHQ.js} +1 -1
- package/dist/client/_nuxt/{C3FSKLnj.js → DKlNNSWk.js} +1 -1
- package/dist/client/_nuxt/{Cda7aUrs.js → DN0HCnq5.js} +1 -1
- package/dist/client/_nuxt/{H6yjxI9R.js → DOv5BRyJ.js} +1 -1
- package/dist/client/_nuxt/{Bxh-fvdv.js → DVZAdofw.js} +1 -1
- package/dist/client/_nuxt/{DeSj8VZN.js → DYx1ZwvQ.js} +1 -1
- package/dist/client/_nuxt/Di9lD2rK.js +1 -0
- package/dist/client/_nuxt/{BM3cCZms.js → DoQHeYxB.js} +3 -3
- package/dist/client/_nuxt/{ix9IAXj6.js → DpYuRYxj.js} +92 -22
- package/dist/client/_nuxt/{B04hL9Ab.js → Dv0NFAnW.js} +1 -1
- package/dist/client/_nuxt/{DEkvPDn8.js → DwVKZd3-.js} +1 -1
- package/dist/client/_nuxt/{QBzUTbSD.js → DwdKwQHN.js} +1 -1
- package/dist/client/_nuxt/{BRFlSxxW.js → JMx2uAI6.js} +1 -1
- package/dist/client/_nuxt/{BS5FcDmG.js → VNvxalkE.js} +1 -1
- package/dist/client/_nuxt/W2Tyz6z1.js +9 -0
- package/dist/client/_nuxt/{QQ7YbgtC.js → awWHqjli.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/a69820c2-31c2-48f6-8161-842a62467079.json +1 -0
- package/dist/client/_nuxt/ciodjZaS.js +43 -0
- package/dist/client/_nuxt/entry.Gpl6Gx6M.css +1 -0
- package/dist/client/_nuxt/error-404.Bssqox27.css +1 -0
- package/dist/client/_nuxt/error-500.D3oXMFZl.css +1 -0
- package/dist/client/_nuxt/{Csl1JfEo.js → ewAh1ZiX.js} +1 -1
- package/dist/client/_nuxt/{CHQglk26.js → gXK6hV6W.js} +8 -8
- package/dist/client/_nuxt/pl_4MfI2.js +1 -0
- package/dist/client/_nuxt/{BTj8T8Us.js → rLudNEh9.js} +1 -1
- package/dist/client/_nuxt/terminals.BIEho_Pa.css +1 -0
- package/dist/client/_nuxt/timeline.BVVcTKn-.css +1 -0
- package/dist/client/_nuxt/{BdSLTmjP.js → viHXAOJs.js} +1 -1
- package/dist/client/_nuxt/yFeWtr-M.js +1 -0
- package/dist/client/_nuxt/{CyiHZscW.js → z0xAc3RC.js} +1 -1
- package/dist/client/_nuxt/{_OFeGLwh.js → zLQhdF7m.js} +1 -1
- package/dist/client/_nuxt/{CGZO0Dbu.js → zjxoDR5L.js} +1 -1
- package/dist/client/index.html +27 -27
- package/dist/module.json +1 -1
- package/dist/runtime/auth/index.html +2 -12
- package/dist/runtime/function-metrics-helpers.mjs +1 -1
- package/dist/runtime/plugins/view/Main.vue +1 -1
- package/dist/runtime/plugins/view/client.mjs +7 -5
- package/dist/runtime/plugins/view/utils.mjs +10 -6
- package/package.json +37 -37
- package/dist/client/_nuxt/B6TDWpKk.js +0 -1
- package/dist/client/_nuxt/BvHZCDLj.js +0 -9
- package/dist/client/_nuxt/BwKcIQOa.js +0 -16
- package/dist/client/_nuxt/C2c19bzT.js +0 -1
- package/dist/client/_nuxt/C9duD8Qg.js +0 -1
- package/dist/client/_nuxt/CCEQErg8.js +0 -1
- package/dist/client/_nuxt/CSGOJSAd.js +0 -1
- package/dist/client/_nuxt/CZLRDnsa.js +0 -1
- package/dist/client/_nuxt/CfkdovQd.js +0 -98
- package/dist/client/_nuxt/CssX2CxZ.js +0 -2
- package/dist/client/_nuxt/CwTcTc2N.js +0 -43
- package/dist/client/_nuxt/D5ctTtkd.js +0 -1
- package/dist/client/_nuxt/DJS8TjB-.js +0 -1
- package/dist/client/_nuxt/DluxqTUE.js +0 -1
- package/dist/client/_nuxt/builds/meta/8ac9da91-0524-4abf-a805-60b3d6199fe9.json +0 -1
- package/dist/client/_nuxt/entry.hxdKUDpu.css +0 -1
- package/dist/client/_nuxt/error-404.C4UNnO0a.css +0 -1
- package/dist/client/_nuxt/error-500.BbJ9e2Fk.css +0 -1
- package/dist/client/_nuxt/pA_iBoe4.js +0 -9
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +0 -1
- package/dist/client/_nuxt/timeline.DvDJbalt.css +0 -1
- package/dist/client/_nuxt/wGyJxDW5.js +0 -9
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ as Ce}from"./CwTcTc2N.js";function Me(t){const e=t.length;let r=-1,s,n="";const i=t.charCodeAt(0);for(;++r<e;){if(s=t.charCodeAt(r),s===0){n+="�";continue}if(s===37){n+="\\%";continue}if(s===44){n+="\\,";continue}if(s>=1&&s<=31||s===127||r===0&&s>=48&&s<=57||r===1&&s>=48&&s<=57&&i===45){n+=`\\${s.toString(16)} `;continue}if(r===0&&e===1&&s===45){n+=`\\${t.charAt(r)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=t.charAt(r);continue}n+=`\\${t.charAt(r)}`}return n}const q=Me;function j(t=[]){return Array.isArray(t)?t:[t]}function W(t){return Array.from(new Set(t))}function Oe(t,e){return t.reduce((r,s)=>(r.findIndex(i=>e(s,i))===-1&&r.push(s),r),[])}function E(t){return typeof t=="string"}function V(t){return E(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ee(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>V(e)):[t]:[V(t)]}function ke(t){return t.filter(([e,r],s)=>{if(e.startsWith("$$"))return!1;for(let n=s-1;n>=0;n--)if(t[n][0]===e&&t[n][1]===r)return!1;return!0})}function K(t){return t==null?"":ke(t).map(([e,r])=>r!=null?`${e}:${r};`:void 0).filter(Boolean).join("")}function B(t){return t&&typeof t=="object"&&!Array.isArray(t)}function pe(t,e,r=!1){const s=t,n=e;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const i={...s};return B(s)&&B(n)&&Object.keys(n).forEach(o=>{B(s[o])&&B(n[o])||Array.isArray(s[o])&&Array.isArray(n[o])?i[o]=pe(s[o],n[o],r):Object.assign(i,{[o]:n[o]})}),i}function H(t){let e,r,s;if(Array.isArray(t)){for(r=Array(e=t.length);e--;)r[e]=(s=t[e])&&typeof s=="object"?H(s):s;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:H(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(s=t[e])&&typeof s=="object"?H(s):s;return r}return t}function je(t){return E(t[0])}function Le(t){return E(t[0])}function Pe(t){return typeof t=="function"?{match:t}:t}function ee(t){return t.length===3}function te(t){return t!=null}function ze(){}var Fe=Object.defineProperty,Te=(t,e,r)=>e in t?Fe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ie=(t,e,r)=>(Te(t,e+"",r),r);class Ne{constructor(){Ie(this,"_map",new Map)}get(e,r){const s=this._map.get(e);if(s)return s.get(r)}getFallback(e,r,s){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.has(r)||n.set(r,s),n.get(r)}set(e,r,s){let n=this._map.get(e);return n||(n=new Map,this._map.set(e,n)),n.set(r,s),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,s])=>Array.from(s.entries()).map(([n,i])=>e(i,r,n)))}}class De extends Map{getFallback(e,r){const s=this.get(e);return s===void 0?(this.set(e,r),r):s}map(e){const r=[];return this.forEach((s,n)=>{r.push(e(s,n))}),r}flatMap(e){const r=[];return this.forEach((s,n)=>{r.push(...e(s,n))}),r}}var Re=Object.defineProperty,Ve=(t,e,r)=>e in t?Re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Be=(t,e,r)=>(Ve(t,e+"",r),r);class me extends Set{constructor(e){super(e),Be(this,"_map"),this._map??(this._map=new Map)}add(e){return this._map??(this._map=new Map),this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.delete(e),super.delete(e)}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}}function X(t){return t instanceof me}const U={};function Ue(t=["-",":"]){const e=t.join("|");return U[e]||(U[e]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),U[e].lastIndex=0,U[e]}function He(t,e=["-",":"],r=5){const s=Ue(e);let n,i=t.toString();const o=new Set,a=new Map;do n=!1,i=i.replace(s,(u,c,h,w,v)=>{if(!e.includes(h))return u;n=!0,o.add(c+h);const _=v+c.length+h.length+1,y={length:u.length,items:[]};a.set(v,y);for(const d of[...w.matchAll(/\S+/g)]){const M=_+d.index;let m=a.get(M)?.items;m?a.delete(M):m=[{offset:M,length:d[0].length,className:d[0]}];for(const p of m)p.className=p.className==="~"?c:p.className.replace(/^(!?)(.*)/,`$1${c}${h}$2`),y.items.push(p)}return"$".repeat(u.length)}),r-=1;while(n&&r);let l;if(typeof t=="string"){l="";let u=0;for(const[c,h]of a)l+=t.slice(u,c),l+=h.items.map(w=>w.className).join(" "),u=c+h.length;l+=t.slice(u)}else{l=t;for(const[u,c]of a)l.overwrite(u,u+c.length,c.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(o),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function Ge(t,e=["-",":"],r=5){const s=He(t,e,r);return typeof t=="string"?s.expanded:t}const re=new Set;function ge(t){re.has(t)||(console.warn("[unocss]",t),re.add(t))}const We=/[\\:]?[\s'"`;{}]+/g;function Ye(t){return t.split(We)}const qe={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Ye(t)}};function Ke(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}const G="default",J="preflights",Xe="shortcuts",Ze="imports",Je={[Ze]:-200,[J]:-100,[Xe]:-10,[G]:0};function ye(t){return j(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const ne="_uno_resolved";function Qe(t){let e=typeof t=="function"?t():t;if(ne in e)return e;e={...e},Object.defineProperty(e,ne,{value:!0,enumerable:!1});const r=e.shortcuts?ye(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){const s=n=>{n[2]||(n[2]={});const i=n[2];i.prefix==null&&e.prefix&&(i.prefix=j(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(s),e.rules?.forEach(s)}return e}function we(t){const e=Qe(t);if(!e.presets)return[e];const r=(e.presets||[]).flatMap(j).flatMap(we);return[e,...r]}function se(t={},e={}){const r=Object.assign({},e,t),s=Oe((r.presets||[]).flatMap(j).flatMap(we),(f,g)=>f.name===g.name),n=[...s.filter(f=>f.enforce==="pre"),...s.filter(f=>!f.enforce),...s.filter(f=>f.enforce==="post")],i=[...n,r],o=[...i].reverse(),a=Object.assign({},Je,...i.map(f=>f.layers));function l(f){return W(i.flatMap(g=>j(g[f]||[])))}const u=l("extractors");let c=o.find(f=>f.extractorDefault!==void 0)?.extractorDefault;c===void 0&&(c=qe),c&&!u.includes(c)&&u.unshift(c),u.sort((f,g)=>(f.order||0)-(g.order||0));const h=l("rules"),w={},v=h.length,_=h.map((f,g)=>{if(je(f)){j(f[2]?.prefix||"").forEach(A=>{w[A+f[0]]=[g,f[1],f[2],f]});return}return[g,...f]}).filter(Boolean).reverse();let y=et(i.map(f=>f.theme));const d=l("extendTheme");for(const f of d)y=f(y)||y;const M={templates:W(i.flatMap(f=>j(f.autocomplete?.templates))),extractors:i.flatMap(f=>j(f.autocomplete?.extractors)).sort((f,g)=>(f.order||0)-(g.order||0)),shorthands:tt(i.map(f=>f.autocomplete?.shorthands||{}))};let m=l("separators");m.length||(m=[":","-"]);const p={mergeSelectors:!0,warn:!0,sortLayers:f=>f,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:y,rulesSize:v,rulesDynamic:_,rulesStaticMap:w,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:M,variants:l("variants").map(Pe).sort((f,g)=>(f.order||0)-(g.order||0)),shortcuts:ye(l("shortcuts")).reverse(),extractors:u,safelist:l("safelist"),separators:m,details:r.details??r.envMode==="dev"};for(const f of i)f?.configResolved?.(p);return p}function et(t){return t.map(e=>e?H(e):{}).reduce((e,r)=>pe(e,r),{})}function tt(t){return t.reduce((e,r)=>{const s={};for(const n in r){const i=r[n];Array.isArray(i)?s[n]=`(${i.join("|")})`:s[n]=i}return{...e,...s}},{})}const rt="0.61.0";var nt=Object.defineProperty,st=(t,e,r)=>e in t?nt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e,r)=>(st(t,typeof e!="symbol"?e+"":e,r),r);const R={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector"};class it{constructor(e={},r={}){this.userConfig=e,this.defaults=r,D(this,"version",rt),D(this,"_cache",new Map),D(this,"config"),D(this,"blocked",new Set),D(this,"parentOrders",new Map),D(this,"events",Ke()),this.config=se(e,r),this.events.emit("config",this.config)}setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=se(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,s=new Set){const n={original:e,code:e,id:r,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const o=await i.extract?.(n);if(o)if(X(o)&&X(s))for(const a of o)s.setCount(a,s.getCount(a)+o.getCount(a));else for(const a of o)s.add(a)}return s}makeContext(e,r){const s={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:R,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(s,...n),variantMatch:r};return s}async parseToken(e,r){if(this.blocked.has(e))return;const s=`${e}${r?` ${r}`:""}`;if(this._cache.has(s))return this._cache.get(s);let n=e;for(const u of this.config.preprocess)n=u(e);if(this.isBlocked(n)){this.blocked.add(e),this._cache.set(s,null);return}const i=await this.matchVariants(e,n);if(!i||this.isBlocked(i[1])){this.blocked.add(e),this._cache.set(s,null);return}const o=this.makeContext(e,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(o.variants=[...i[3]]);const a=await this.expandShortcut(o.currentSelector,o),l=a?await this.stringifyShortcuts(o.variantMatch,o,a[0],a[1]):(await this.parseUtil(o.variantMatch,o))?.map(u=>this.stringifyUtil(u,o)).filter(te);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(e,r={}){const{id:s,scope:n,preflights:i=!0,safelist:o=!0,minify:a=!1,extendedInfo:l=!1}=r,u=this.config.outputToCssLayers,c=E(e)?await this.applyExtractors(e,s,l?new me:new Set):Array.isArray(e)?new Set(e):e;if(o){const g={generator:this,theme:this.config.theme};this.config.safelist.flatMap(x=>typeof x=="function"?x(g):x).forEach(x=>{c.has(x)||c.add(x)})}const h=a?"":`
|
|
2
|
-
`,w=new Set([G]),v=l?new Map:new Set,_=new Map;let y={};const d=Array.from(c).map(async g=>{if(v.has(g))return;const x=await this.parseToken(g);if(x!=null){v instanceof Map?v.set(g,{data:x,count:X(c)?c.getCount(g):-1}):v.add(g);for(const A of x){const C=A[3]||"",O=A[4]?.layer;_.has(C)||_.set(C,[]),_.get(C).push(A),O&&w.add(O)}}});await Promise.all(d),await(async()=>{if(!i)return;const g={generator:this,theme:this.config.theme},x=new Set([]);this.config.preflights.forEach(({layer:A=J})=>{w.add(A),x.add(A)}),y=Object.fromEntries(await Promise.all(Array.from(x).map(async A=>{const O=(await Promise.all(this.config.preflights.filter(P=>(P.layer||J)===A).map(async P=>await P.getCSS(g)))).filter(Boolean).join(h);return[A,O]})))})();const M=this.config.sortLayers(Array.from(w).sort((g,x)=>(this.config.layers[g]??0)-(this.config.layers[x]??0)||g.localeCompare(x))),m={},p=(g=G)=>{if(m[g])return m[g];let x=Array.from(_).sort((C,O)=>(this.parentOrders.get(C[0])??0)-(this.parentOrders.get(O[0])??0)||C[0]?.localeCompare(O[0]||"")||0).map(([C,O])=>{const P=O.length,F=O.filter(b=>(b[4]?.layer||G)===g).sort((b,$)=>b[0]-$[0]||(b[4]?.sort||0)-($[4]?.sort||0)||b[5]?.currentSelector?.localeCompare($[5]?.currentSelector??"")||b[1]?.localeCompare($[1]||"")||b[2]?.localeCompare($[2]||"")||0).map(([,b,$,,k,,L])=>[[[(b&&ct(b,n))??"",k?.sort??0]],$,!!(L??k?.noMerge)]);if(!F.length)return;const T=F.reverse().map(([b,$,k],L)=>{if(!k&&this.config.mergeSelectors)for(let N=L+1;N<P;N++){const z=F[N];if(z&&!z[2]&&(b&&z[0]||b==null&&z[0]==null)&&z[1]===$)return b&&z[0]&&z[0].push(...b),null}const I=b?W(b.sort((N,z)=>N[1]-z[1]||N[0]?.localeCompare(z[0]||"")||0).map(N=>N[0]).filter(Boolean)):[];return I.length?`${I.join(`,${h}`)}{${$}}`:$}).filter(Boolean).reverse().join(h);if(!C)return T;const S=C.split(" $$ ");return`${S.join("{")}{${h}${T}${h}${"}".repeat(S.length)}`}).filter(Boolean).join(h);if(i&&(x=[y[g],x].filter(Boolean).join(h)),u&&x){let C=typeof u=="object"?u.cssLayerName?.(g):void 0;C!==null&&(C||(C=g),x=`@layer ${C}{${h}${x}${h}}`)}const A=a?"":`/* layer: ${g} */${h}`;return m[g]=x?A+x:""},f=(g=M,x)=>g.filter(A=>!x?.includes(A)).map(A=>p(A)||"").filter(Boolean).join(h);return{get css(){return f()},layers:M,matched:v,getLayers:f,getLayer:p}}async matchVariants(e,r){const s=new Set,n=[];let i=r||e,o=!0;const a={rawSelector:e,theme:this.config.theme,generator:this};for(;o;){o=!1;for(const l of this.config.variants){if(!l.multiPass&&s.has(l))continue;let u=await l.match(i,a);if(u){if(E(u)){if(u===i)continue;u={matcher:u}}i=u.matcher??i,n.unshift(u),s.add(l),o=!0;break}}if(!o)break;if(n.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,i,n,s]}applyVariants(e,r=e[4],s=e[1]){const i=r.slice().sort((u,c)=>(u.order||0)-(c.order||0)).reduceRight((u,c)=>h=>{const w=c.body?.(h.entries)||h.entries,v=Array.isArray(c.parent)?c.parent:[c.parent,void 0];return(c.handle??ft)({...h,entries:w,selector:c.selector?.(h.selector,w)||h.selector,parent:v[0]||h.parent,parentOrder:v[1]||h.parentOrder,layer:c.layer||h.layer,sort:c.sort||h.sort},u)},u=>u)({prefix:"",selector:lt(s),pseudo:"",entries:e[2]}),{parent:o,parentOrder:a}=i;o!=null&&a!=null&&this.parentOrders.set(o,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:o,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(l);return l}constructCustomCSS(e,r,s){const n=V(r);if(E(n))return n;const{selector:i,entries:o,parent:a}=this.applyVariants([0,s||e.rawSelector,n,void 0,e.variantHandlers]),l=`${i}{${K(o)}}`;return a?`${a}{${l}}`:l}async parseUtil(e,r,s=!1,n){const[i,o,a]=E(e)?await this.matchVariants(e):e;this.config.details&&(r.rules=r.rules??[]);const l=this.config.rulesStaticMap[o];if(l&&l[1]&&(s||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);const c=l[0],h=V(l[1]),w=l[2];return E(h)?[[c,h,w]]:[[c,i,h,w,a]]}r.variantHandlers=a;const{rulesDynamic:u}=this.config;for(const[c,h,w,v]of u){if(v?.internal&&!s)continue;let _=o;if(v?.prefix){const m=j(v.prefix);if(n){const p=j(n);if(!m.some(f=>p.includes(f)))continue}else{const p=m.find(f=>o.startsWith(f));if(p==null)continue;_=o.slice(p.length)}}const y=_.match(h);if(!y)continue;let d=await w(y,r);if(!d)continue;if(this.config.details&&r.rules.push([h,w,v]),typeof d!="string")if(Symbol.asyncIterator in d){const m=[];for await(const p of d)p&&m.push(p);d=m}else Symbol.iterator in d&&!Array.isArray(d)&&(d=Array.from(d).filter(te));const M=Ee(d).filter(m=>m.length);if(M.length)return M.map(m=>{if(E(m))return[c,m,v];let p=a;for(const f of m)f[0]===R.variants?p=[...j(f[1]),...p]:f[0]===R.parent?p=[{parent:f[1]},...p]:f[0]===R.selector&&(p=[{selector:f[1]},...p]);return[c,i,m,v,p]})}}stringifyUtil(e,r){if(!e)return;if(ee(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];const{selector:s,entries:n,parent:i,layer:o,sort:a,noMerge:l}=this.applyVariants(e),u=K(n);if(!u)return;const{layer:c,sort:h,...w}=e[3]??{},v={...w,layer:o??c,sort:a??h};return[e[0],s,u,i,v,this.config.details?r:void 0,l]}async expandShortcut(e,r,s=5){if(s===0)return;const n=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:ze;let i,o;for(const a of this.config.shortcuts){let l=e;if(a[2]?.prefix){const c=j(a[2].prefix).find(h=>e.startsWith(h));if(c==null)continue;l=e.slice(c.length)}if(Le(a)){if(a[0]===l){i=i||a[2],o=a[1],n(a);break}}else{const u=l.match(a[0]);if(u&&(o=a[1](u,r)),o){i=i||a[2],n(a);break}}}if(E(o)&&(o=Ge(o.trim()).split(/\s+/g)),!o){const[a,l]=E(e)?await this.matchVariants(e):e;if(a!==l){const u=await this.expandShortcut(l,r,s-1);u&&(o=u[0].map(c=>E(c)?a.replace(l,c):c))}}if(o)return[(await Promise.all(o.map(async a=>(E(a)?(await this.expandShortcut(a,r,s-1))?.[0]:void 0)||[a]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(e,r,s,n={layer:this.config.shortcutsLayer}){const i=new De,o=(await Promise.all(W(s).map(async c=>{const h=E(c)?await this.parseUtil(c,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",V(c),void 0,[]]];return!h&&this.config.warn&&ge(`unmatched utility "${c}" in shortcut "${e[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((c,h)=>c[0]-h[0]),[a,,l]=e,u=[];for(const c of o){if(ee(c)){u.push([c[0],void 0,c[1],void 0,c[2],r,void 0]);continue}const{selector:h,entries:w,parent:v,sort:_,noMerge:y,layer:d}=this.applyVariants(c,[...c[4],...l],a);i.getFallback(d??n.layer,new Ne).getFallback(h,v,[[],c[0]])[0].push([w,!!(y??c[3]?.noMerge),_??0])}return u.concat(i.flatMap((c,h)=>c.map(([w,v],_,y)=>{const d=(m,p,f)=>{const g=Math.max(...f.map(A=>A[1])),x=f.map(A=>A[0]);return(m?[x.flat(1)]:x).map(A=>{const C=K(A);if(C)return[v,_,C,y,{...n,noMerge:p,sort:g,layer:h},r,void 0]})};return[[w.filter(([,m])=>m).map(([m,,p])=>[m,p]),!0],[w.filter(([,m])=>!m).map(([m,,p])=>[m,p]),!1]].map(([m,p])=>[...d(!1,p,m.filter(([f])=>f.some(g=>g[0]===R.shortcutsNoMerge))),...d(!0,p,m.filter(([f])=>f.every(g=>g[0]!==R.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):E(r)?r===e:r.test(e))}getBlocked(e){const r=this.config.blocklist.find(s=>{const n=Array.isArray(s)?s[0]:s;return typeof n=="function"?n(e):E(n)?n===e:n.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}function ot(t,e){return new it(t,e)}const ve=/\s\$\$\s+/g;function at(t){return ve.test(t)}function ct(t,e){return at(t)?t.replace(ve,e?` ${e} `:" "):e?`${e} ${t}`:t}const ie=/^\[(.+?)(~?=)"(.*)"\]$/;function lt(t){return ie.test(t)?t.replace(ie,(e,r,s,n)=>`[${q(r)}${s}"${q(n)}"]`):`.${q(t)}`}function ft(t,e){return e(t)}var oe={};const ut=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),be=Object.freeze({...ut,...Y}),ht=Object.freeze({...be,body:"",hidden:!1}),dt=Object.freeze({width:null,height:null}),Se=Object.freeze({...dt,...Y});function pt(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const s=((t.rotate||0)+(e.rotate||0))%4;return s&&(r.rotate=s),r}function ae(t,e){const r=pt(t,e);for(const s in ht)s in Y?s in t&&!(s in r)&&(r[s]=Y[s]):s in e?r[s]=e[s]:s in t&&(r[s]=t[s]);return r}function mt(t,e){const r=t.icons,s=t.aliases||Object.create(null),n=Object.create(null);function i(o){if(r[o])return n[o]=[];if(!(o in n)){n[o]=null;const a=s[o]&&s[o].parent,l=a&&i(a);l&&(n[o]=[a].concat(l))}return n[o]}return(e||Object.keys(r).concat(Object.keys(s))).forEach(i),n}function ce(t,e,r){const s=t.icons,n=t.aliases||Object.create(null);let i={};function o(a){i=ae(s[a]||n[a],i)}return o(e),r.forEach(o),ae(t,i)}function gt(t,e){if(t.icons[e])return ce(t,e,[]);const r=mt(t,[e])[e];return r?ce(t,e,r):null}const yt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,wt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function le(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const s=t.split(yt);if(s===null||!s.length)return t;const n=[];let i=s.shift(),o=wt.test(i);for(;;){if(o){const a=parseFloat(i);isNaN(a)?n.push(i):n.push(Math.ceil(a*e*r)/r)}else n.push(i);if(i=s.shift(),i===void 0)return n.join("");o=!o}}function vt(t,e="defs"){let r="";const s=t.indexOf("<"+e);for(;s>=0;){const n=t.indexOf(">",s),i=t.indexOf("</"+e);if(n===-1||i===-1)break;const o=t.indexOf(">",i);if(o===-1)break;r+=t.slice(n+1,i).trim(),t=t.slice(0,s).trim()+t.slice(o+1)}return{defs:r,content:t}}function bt(t,e){return t?"<defs>"+t+"</defs>"+e:e}function St(t,e,r){const s=vt(t);return bt(s.defs,e+s.content+r)}const Q=t=>t==="unset"||t==="undefined"||t==="none";function xt(t,e){const r={...be,...t},s={...Se,...e},n={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(y=>{const d=[],M=y.hFlip,m=y.vFlip;let p=y.rotate;M?m?p+=2:(d.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),d.push("scale(-1 1)"),n.top=n.left=0):m&&(d.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),d.push("scale(1 -1)"),n.top=n.left=0);let f;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:f=n.height/2+n.top,d.unshift("rotate(90 "+f.toString()+" "+f.toString()+")");break;case 2:d.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:f=n.width/2+n.left,d.unshift("rotate(-90 "+f.toString()+" "+f.toString()+")");break}p%2===1&&(n.left!==n.top&&(f=n.left,n.left=n.top,n.top=f),n.width!==n.height&&(f=n.width,n.width=n.height,n.height=f)),d.length&&(i=St(i,'<g transform="'+d.join(" ")+'">',"</g>"))});const o=s.width,a=s.height,l=n.width,u=n.height;let c,h;o===null?(h=a===null?"1em":a==="auto"?u:a,c=le(h,l/u)):(c=o==="auto"?l:o,h=a===null?le(c,u/l):a==="auto"?u:a);const w={},v=(y,d)=>{Q(d)||(w[y]=d.toString())};v("width",c),v("height",h);const _=[n.left,n.top,l,u];return w.viewBox=_.join(" "),{attributes:w,viewBox:_,body:i}}function $t(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function _t(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),$t(e)}function At(t){return t.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const Ct=/\swidth\s*=\s*["']([\w.]+)["']/,Mt=/\sheight\s*=\s*["']([\w.]+)["']/,Z=/<svg\s+/;function Ot(t,e,r){const s=t.slice(0,t.indexOf(">")),n=(i,o)=>{const a=o.exec(s),l=a!=null,u=e[i];return!u&&!Q(u)&&(typeof r=="number"?r>0&&(e[i]=`${r}em`):a&&(e[i]=a[1])),l};return[n("width",Ct),n("height",Mt)]}async function xe(t,e,r,s,n,i){const{scale:o,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:u}=s?.customizations??{},c=await n?.()??{};await u?.(e,r,c),Object.keys(l).forEach(y=>{const d=l[y];d!=null&&(c[y]=d)}),i?.(c);const[h,w]=Ot(t,c,o);a&&(!t.includes("xmlns=")&&!c.xmlns&&(c.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!c["xmlns:xlink"]&&(c["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const v=Object.keys(c).map(y=>y==="width"&&h||y==="height"&&w?null:`${y}="${c[y]}"`).filter(y=>y!=null);if(v.length&&(t=t.replace(Z,`<svg ${v.join(" ")} `)),s){const{defaultStyle:y,defaultClass:d}=s;d&&!t.includes("class=")&&(t=t.replace(Z,`<svg class="${d}" `)),y&&!t.includes("style=")&&(t=t.replace(Z,`<svg style="${y}" `))}const _=s?.usedProps;return _&&(Object.keys(l).forEach(y=>{const d=c[y];d!=null&&(_[y]=d)}),typeof c.width<"u"&&c.width!==null&&(_.width=c.width),typeof c.height<"u"&&c.height!==null&&(_.height=c.height)),t}async function fe(t,e,r,s){let n;try{if(typeof t=="function")n=await t(r);else{const i=t[r];n=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${e}":`,i);return}if(n){const i=n.indexOf("<svg");i>0&&(n=n.slice(i));const{transform:o}=s?.customizations??{};return n=typeof o=="function"?await o(n,e,r):n,n.startsWith("<svg")?await xe(s?.customizations?.trimCustomSvg===!0?At(n):n,e,r,s,void 0):(console.warn(`Custom icon "${r}" in "${e}" is not a valid SVG`),n)}}async function $e(t,e,r,s){let n;const{customize:i}=s?.customizations??{};for(const o of r)if(n=gt(t,o),n){let a={...Se};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:u,...c},body:h}=xt(n,a),w=s?.scale;return await xe(`<svg >${h}</svg>`,e,o,s,()=>({...c}),v=>{const _=(y,d)=>{const M=v[y];let m;if(!Q(M)){if(M)return;typeof w=="number"?w&&(m=`${w}em`):m=d}m?v[y]=m:delete v[y]};_("width",l),_("height",u)})}}const _e=async(t,e,r)=>{const s=r?.customCollections?.[t];if(s)if(typeof s=="function"){let n;try{n=await s(e)}catch(i){console.warn(`Failed to load custom icon "${e}" in "${t}":`,i);return}if(n){if(typeof n=="string")return await fe(()=>n,t,e,r);if("icons"in n){const i=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await $e(n,t,i,r)}}}else return await fe(s,t,e,r)};function Et(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var kt=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];const jt=Et(kt),Lt=3;function Pt(t){return(e={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:i=!1,collections:o,extraProperties:a={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:c,layer:h="icons",unit:w,processor:v}=e,_=zt(),y={addXmlNs:!0,scale:r,customCollections:o,autoInstall:u,cwd:c,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(M,m,p){await l.iconCustomizer?.(M,m,p),w&&(p.width||(p.width=`${r}${w}`),p.height||(p.height=`${r}${w}`))}}};let d;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async M=>{let[m,p,f=s]=M,g="",x="",A;d=d||await t(e);const C={};if(p.includes(":"))[g,x]=p.split(":"),A=await d(g,x,{...y,usedProps:C});else{const F=p.split(/-/g);for(let T=Lt;T>=1&&(g=F.slice(0,T).join("-"),x=F.slice(T).join("-"),A=await d(g,x,{...y,usedProps:C}),!A);T--);}if(!A){i&&!_.isESLint&&ge(`failed to load icon "${m}"`);return}let O;const P=`url("data:image/svg+xml;utf8,${_t(A)}")`;return f==="auto"&&(f=A.includes("currentColor")?"mask":"bg"),f==="mask"?O={"--un-icon":P,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...C}:O={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...C},v?.(O,{collection:g,icon:x,svg:A,mode:f}),O},{layer:h,prefix:n}]]}}}function Ae(t,e){const r=new Map;function s(n){if(jt.includes(n))return r.has(n)||r.set(n,t(`${e}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,i,o)=>{let a=await _e(n,i,o);if(a)return a;const l=await s(n);if(l){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await $e(l,n,u,o)}return a}}function zt(){const t=typeof process<"u"&&process.stdout&&!process.versions.deno,e=t&&!!oe.VSCODE_CWD,r=t&&!!oe.ESLINT;return{isNode:t,isVSCode:e,isESLint:r}}function Ft(t){return Ae(Ce,t)}const Tt=Pt(async t=>{const e=t?.customFetch,r=t?.cdn;return e&&r?Ae(e,r):r?Ft(r):_e});function It(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function ue(t){return t.charAt(0).toUpperCase()+t.slice(1)}function he(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var de=["Webkit","Moz","ms"];function Nt(t){const e={};function r(s){const n=e[s];if(n)return n;let i=It(s);if(i!=="filter"&&i in t)return e[s]=he(i);i=ue(i);for(let o=0;o<de.length;o++){const a=`${de[o]}${i}`;if(a in t)return e[s]=he(ue(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function Dt(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}function Rt(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,r=window.document,s=()=>r.documentElement,n=e.__unocss||{},i=Object.assign({},t,n.runtime),o=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(o.postprocess=j(o.postprocess)).unshift(Nt(r.createElement("div").style)),i.configResolved?.(n,o);const l=ot(n,o),u=S=>i.inject?i.inject(S):s().prepend(S),c=()=>i.rootElement?i.rootElement():r.body,h=new Map;let w=!0,v=new Set,_,y,d=[];const M=()=>new Promise(S=>{d.push(S),y!=null&&clearTimeout(y),y=setTimeout(()=>f().then(()=>{const b=d;d=[],b.forEach($=>$())}),0)});function m(S){if(S.nodeType!==1)return;const b=S;b.hasAttribute(a)&&b.removeAttribute(a),b.querySelectorAll(`[${a}]`).forEach($=>{$.removeAttribute(a)})}function p(S,b){let $=h.get(S);if(!$)if($=r.createElement("style"),$.setAttribute("data-unocss-runtime-layer",S),h.set(S,$),b==null)u($);else{const k=p(b),L=k.parentNode;L?L.insertBefore($,k.nextSibling):u($)}return $}async function f(){const S=await l.generate(v);return S.layers.reduce((b,$)=>(p($,b).innerHTML=S.getLayer($)??"",$),void 0),v=S.matched,{...S,getStyleElement:b=>h.get(b),getStyleElements:()=>h}}async function g(S){const b=v.size;await l.applyExtractors(S,void 0,v),b!==v.size&&await M()}async function x(S=c()){const b=S&&S.outerHTML;b&&(await g(`${b} ${Dt(b)}`),m(s()),m(S))}const A=new MutationObserver(S=>{w||S.forEach(async b=>{if(b.target.nodeType!==1)return;const $=b.target;for(const k of h)if($===k[1])return;if(b.type==="childList")b.addedNodes.forEach(async k=>{if(k.nodeType!==1)return;const L=k;_&&!_(L)||(await g(L.outerHTML),m(L))});else{if(_&&!_($))return;if(b.attributeName!==a){const k=Array.from($.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),L=`<${$.tagName.toLowerCase()} ${k}>`;await g(L)}$.hasAttribute(a)&&$.removeAttribute(a)}})});let C=!1;function O(){if(C)return;const S=i.observer?.target?i.observer.target():c();S&&(A.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),C=!0)}function P(){i.bypassDefined&&Vt(l.blocked),x(),O()}function F(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",P):P()}const T=e.__unocss_runtime=e.__unocss_runtime={version:l.version,uno:l,async extract(S){E(S)||(S.forEach(b=>v.add(b)),S=""),await g(S)},extractAll:x,inspect(S){_=S},toggleObserver(S){S===void 0?w=!w:w=!!S,!C&&!w&&F()},update:f,presets:e.__unocss_runtime?.presets??{}};i.ready?.(T)!==!1&&(w=!1,F())}function Vt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const r=document.styleSheets[e];let s;try{if(s=r.cssRules||r.rules,!s)continue;Array.from(s).flatMap(n=>n.selectorText?.split(/,/g)||[]).forEach(n=>{n&&(n=n.trim(),n.startsWith(".")&&(n=n.slice(1)),t.add(n))})}catch{continue}}return t}Rt({defaults:{presets:[Tt({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
|