@nuxt/devtools 1.3.0 → 1.3.2
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 +2 -2
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +16 -16
- package/dist/client/404.html +16 -16
- package/dist/client/_nuxt/{DlPmnnjb.js → 4DrMDvOf.js} +1 -1
- package/dist/client/_nuxt/{CgrD3_g7.js → 73fsk-_M.js} +1 -1
- package/dist/client/_nuxt/{CFIIwO5G.js → 8icePJ4I.js} +1 -1
- package/dist/client/_nuxt/{BXJ3NTXl.js → B-HJZUhU.js} +1 -1
- package/dist/client/_nuxt/{BPX3fYES.js → B-hub2K2.js} +1 -1
- package/dist/client/_nuxt/{BwUXge7D.js → BL_hfvyy.js} +1 -1
- package/dist/client/_nuxt/{BFJB92M1.js → BO-iudyo.js} +1 -1
- package/dist/client/_nuxt/{BJbhmoX6.js → BVCgwITN.js} +1 -1
- package/dist/client/_nuxt/{B90Ttd7o.js → BVJlJdda.js} +1 -1
- package/dist/client/_nuxt/{DOshYgbb.js → BVT_pDx1.js} +1 -1
- package/dist/client/_nuxt/{YHaOe1r2.js → BX8u6kVi.js} +1 -1
- package/dist/client/_nuxt/{CMxQOWd6.js → BYLmgL12.js} +1 -1
- package/dist/client/_nuxt/{CZS3fKwr.js → BZAoIDF4.js} +1 -1
- package/dist/client/_nuxt/{C378twlw.js → BZrBobni.js} +1 -1
- package/dist/client/_nuxt/{IlsTwlBb.js → BeLKwQPd.js} +1 -1
- package/dist/client/_nuxt/{CZ3WyNik.js → BfqSh0jD.js} +1 -1
- package/dist/client/_nuxt/{CiSNQgOw.js → BhuDhIKJ.js} +1 -1
- package/dist/client/_nuxt/{Coatggmz.js → Bwpf36Bl.js} +1 -1
- package/dist/client/_nuxt/{B3uyMCCv.js → BxZrC5KW.js} +1 -1
- package/dist/client/_nuxt/{lLn-RhM6.js → C41DfgCv.js} +1 -1
- package/dist/client/_nuxt/{jWDo8Ezs.js → C49LnR7I.js} +1 -1
- package/dist/client/_nuxt/{DJ6PyLfz.js → C71Avik8.js} +1 -1
- package/dist/client/_nuxt/{BCaU9car.js → C8GUE1SK.js} +1 -1
- package/dist/client/_nuxt/{DxuiyCFU.js → CAWcj-Fr.js} +1 -1
- package/dist/client/_nuxt/{BdrRW8OO.js → CBxMqsuL.js} +1 -1
- package/dist/client/_nuxt/{B0ueYKyn.js → CI_a6Yq_.js} +1 -1
- package/dist/client/_nuxt/{Bvxqhl9x.js → CJ4574JA.js} +1 -1
- package/dist/client/_nuxt/{DLnTPeai.js → CJU5ujxD.js} +1 -1
- package/dist/client/_nuxt/{BaKCaZGk.js → CQ0ZKsih.js} +1 -1
- package/dist/client/_nuxt/{DYSjJb82.js → CQhVfK23.js} +1 -1
- package/dist/client/_nuxt/{C6qnkm2z.js → CYVTKYED.js} +1 -1
- package/dist/client/_nuxt/{SP_cIGIP.js → CYpIh8Vy.js} +1 -1
- package/dist/client/_nuxt/{BKiZzkRj.js → C_mHwna3.js} +1 -1
- package/dist/client/_nuxt/{Cuq04cZp.js → C_vNhPYi.js} +1 -1
- package/dist/client/_nuxt/{DyeV3m0g.js → CfjSiY3T.js} +1 -1
- package/dist/client/_nuxt/{Co1NnsNe.js → CnDX42ER.js} +1 -1
- package/dist/client/_nuxt/{BNQxZ_tm.js → Cri_jq9f.js} +1 -1
- package/dist/client/_nuxt/{Bm0NU4n7.js → D1Dg62su.js} +1 -1
- package/dist/client/_nuxt/{DKAZQnAj.js → D26FlHPL.js} +1 -1
- package/dist/client/_nuxt/{Cw_HWDDb.js → D2pUCviE.js} +1 -1
- package/dist/client/_nuxt/{Bki9ESx2.js → D44vw0ad.js} +1 -1
- package/dist/client/_nuxt/{BJ65-qNi.js → D7gBCge-.js} +1 -1
- package/dist/client/_nuxt/{BvWK-VK_.js → D847XyuR.js} +1 -1
- package/dist/client/_nuxt/{BLnLeUd3.js → D9bWLJbD.js} +1 -1
- package/dist/client/_nuxt/{iAfmkGIi.js → DGIjOFdj.js} +1 -1
- package/dist/client/_nuxt/{V55AckNm.js → DGmtW0X_.js} +1 -1
- package/dist/client/_nuxt/{DtL8m2Aq.js → DQm4bOV6.js} +1 -1
- package/dist/client/_nuxt/{DGsSg8Yx.js → DTf74veE.js} +1 -1
- package/dist/client/_nuxt/{ClXd2J8B.js → DTjbdWHx.js} +1 -1
- package/dist/client/_nuxt/{PO8p82Rr.js → DW2rdoo9.js} +5 -5
- package/dist/client/_nuxt/{B0KOo1ba.js → DZg4WwSa.js} +1 -1
- package/dist/client/_nuxt/{Dnoo7cyQ.js → D_ZAQadg.js} +1 -1
- package/dist/client/_nuxt/{BaRB0bpe.js → Dm8mUwGL.js} +1 -1
- package/dist/client/_nuxt/{B9CZjm2z.js → Ds6yAegc.js} +1 -1
- package/dist/client/_nuxt/{BvDxtYhR.js → DxtaXLVv.js} +1 -1
- package/dist/client/_nuxt/{CwVYEx0b.js → Dyh3t1OB.js} +1 -1
- package/dist/client/_nuxt/{B6pd2ymi.js → WIBjn-aJ.js} +1 -1
- package/dist/client/_nuxt/{tWSQ6YIe.js → _hj05-RZ.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/923994c1-a7bd-4c91-b02b-513548587468.json +1 -0
- package/dist/client/_nuxt/entry.C09IdXcP.css +1 -0
- package/dist/client/_nuxt/{DI84-lg6.js → hXtXgLSE.js} +1 -1
- package/dist/client/_nuxt/{CqLfaAGq.js → l2Y-wpZG.js} +1 -1
- package/dist/client/_nuxt/{BjA0kRNM.js → nd9mx79B.js} +1 -1
- package/dist/client/_nuxt/{HBanA1tG.js → s0KB5W3i.js} +1 -1
- package/dist/client/index.html +16 -16
- package/dist/module.json +1 -1
- package/dist/runtime/plugins/view/FrameBox.vue +8 -8
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/d37e84e4-7cd9-41ae-8568-7d4b1d04caa2.json +0 -1
- package/dist/client/_nuxt/entry.CyP5HdOH.css +0 -1
- package/dist/client/_nuxt/index.BeOv1PgR.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as r,u as s,a2 as c,I as i,o as p,h as _,_ as u}from"./
|
|
1
|
+
import{d as r,u as s,a2 as c,I as i,o as p,h as _,_ as u}from"./DW2rdoo9.js";const f=r({__name:"DataSchemaButton",props:{getter:{type:Function}},setup(l){const t=s();return(n,e)=>{const o=u,a=c("tooltip");return i((p(),_(o,{title:"Generate Data Schema",icon:"carbon:container-services",border:!1,onClick:e[0]||(e[0]=m=>t.value=n.getter())},null,512)),[[a,"Generate Data Schema"]])}}});export{f as _};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as q,an as $,r as A,a as g,ay as j,az as B,aq as D,aA as E,aB as b,aC as M,aD as N,m as I,o as s,aE as L,P,aF as V,aG as C,aH as W,f as a,h as c,j as y,ax as O,A as R,k as u,v as w,t as T,L as S,i as F,ar as U,aI as G}from"./
|
|
1
|
+
import{d as q,an as $,r as A,a as g,ay as j,az as B,aq as D,aA as E,aB as b,aC as M,aD as N,m as I,o as s,aE as L,P,aF as V,aG as C,aH as W,f as a,h as c,j as y,ax as O,A as R,k as u,v as w,t as T,L as S,i as F,ar as U,aI as G}from"./DW2rdoo9.js";import{_ as z}from"./D847XyuR.js";import"./BL_hfvyy.js";import"./_hj05-RZ.js";const x=new Map,H=q({__name:"IframeView",props:{tab:{}},setup(f){const m=f,r=$(),v=A(),i=g(()=>m.tab.name),e=A(),t=j(B(v));D(()=>{const n=m.tab.view,l=n.persistent!==!1,h=["clipboard-write","clipboard-read"];if(x.get(i.value)&&l)e.value=x.get(i.value),e.value.style.visibility="visible";else{e.value=document.createElement("iframe"),e.value.setAttribute("allow",h.join("; ")),e.value.setAttribute("aria-label","Nuxt Devtools"),l&&x.set(i.value,e.value),e.value.src=n.src;try{e.value.style.opacity="0.01",e.value.onload=()=>{d(),o(),e.value.style.opacity="1"}}catch{e.value.style.opacity="1"}document.body.appendChild(e.value),E(_)}setTimeout(o,100)}),b(_),b(o),b(d),M(()=>{e.value&&(e.value.style.visibility="hidden")});function o(){if(!(!e.value||!e.value.contentWindow))try{const n=e.value.contentWindow.document.querySelector("html");n?.classList.toggle("dark",r.value==="dark"),n?.classList.toggle("light",r.value==="dark"),new MutationObserver(()=>{r.value=e.value?.contentWindow?.document.querySelector("html")?.classList.contains("dark")?"dark":"light"}).observe(n,{attributes:!0,attributeFilter:["class"]})}catch{}}const p=N();function d(){if(!(!e.value||!e.value.contentWindow))try{e.value.contentWindow.__NUXT_DEVTOOLS__=p.value}catch{}}function _(){e.value&&Object.assign(e.value.style,{position:"fixed",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`,outline:"none"})}return(n,l)=>(s(),I("div",{ref_key:"anchor",ref:v,"h-full":"","w-full":""},null,512))}}),X={flex:"~ col gap2",mxa:"","items-center":""},J=u("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1),K={"text-xl":""},Q={"text-rose":""},Y=u("p",{op50:""}," It might because the module contributing this tab is not installed or enabled ",-1),Z=u("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1),oe=q({__name:"custom-[name]",props:{name:{}},setup(f){const m=f,r=L(),v=P(),i=g(()=>m.name??r.params.name),e=V(),t=g(()=>e.value.find(o=>o.name===i.value));return D(()=>{t.value?t.value.requireAuth&&!C.value&&W():setTimeout(()=>{t.value||v.push("/modules/overview")},2e3)}),(o,p)=>{const d=R,_=G,n=H,l=z,h=U;return a(t)?a(t).requireAuth&&!("isDevAuthed"in o?o.isDevAuthed:a(C))?(s(),c(_,{key:1})):a(t).view.type==="iframe"?(s(),c(n,{key:2,tab:a(t)},null,8,["tab"])):a(t).view.type==="vnode"?(s(),c(O(a(t).view.vnode),{key:3})):a(t).view.type==="launch"?(s(),c(l,{key:4,name:`custom-${a(t).name}`,icon:a(t).view.icon||a(t).icon,title:a(t).view.title||a(t).title,description:a(t).view.description,actions:a(t).view.actions,onAction:p[0]||(p[0]=k=>("rpc"in o?o.rpc:a(S)).customTabAction(a(t).name,k))},null,8,["name","icon","title","description","actions"])):(s(),c(d,{key:5},{default:y(()=>[F(h,{flex:"~ col","h-full":"","items-center":"","justify-center":""},{default:y(()=>[w(" Unknown tab type "+T(a(t).view),1)]),_:1})]),_:1})):(s(),c(d,{key:0},{default:y(()=>[u("div",X,[J,u("p",K,[w(" Tab "),u("code",Q,T(a(i)),1),w(" not found ")]),Y,Z])]),_:1}))}}});export{oe as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as n,o,m as s,aa as t}from"./
|
|
1
|
+
import{q as n,o,m as s,aa as t}from"./DW2rdoo9.js";const a={},c={class:"n-badge"};function _(e,r){return o(),s("span",c,[t(e.$slots,"default")])}const d=n(a,[["render",_]]);export{d as _};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$ as Ce}from"./PO8p82Rr.js";function Ae(t){const e=t.length;let n=-1,s,r="";const i=t.charCodeAt(0);for(;++n<e;){if(s=t.charCodeAt(n),s===0){r+="�";continue}if(s===37){r+="\\%";continue}if(s===44){r+="\\,";continue}if(s>=1&&s<=31||s===127||n===0&&s>=48&&s<=57||n===1&&s>=48&&s<=57&&i===45){r+=`\\${s.toString(16)} `;continue}if(n===0&&e===1&&s===45){r+=`\\${t.charAt(n)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){r+=t.charAt(n);continue}r+=`\\${t.charAt(n)}`}return r}const Y=Ae;function L(t=[]){return Array.isArray(t)?t:[t]}function G(t){return Array.from(new Set(t))}function Oe(t,e){return t.reduce((n,s)=>(n.findIndex(i=>e(s,i))===-1&&n.push(s),n),[])}function E(t){return typeof t=="string"}function D(t){return E(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Me(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>D(e)):[t]:[D(t)]}function Ee(t){return t.filter(([e,n],s)=>{if(e.startsWith("$$"))return!1;for(let r=s-1;r>=0;r--)if(t[r][0]===e&&t[r][1]===n)return!1;return!0})}function q(t){return t==null?"":Ee(t).map(([e,n])=>n!=null?`${e}:${n};`:void 0).filter(Boolean).join("")}function V(t){return t&&typeof t=="object"&&!Array.isArray(t)}function de(t,e,n=!1){const s=t,r=e;if(Array.isArray(r))return n&&Array.isArray(r)?[...s,...r]:[...r];const i={...s};return V(s)&&V(r)&&Object.keys(r).forEach(o=>{V(s[o])&&V(r[o])||Array.isArray(s[o])&&Array.isArray(r[o])?i[o]=de(s[o],r[o],n):Object.assign(i,{[o]:r[o]})}),i}function U(t){let e,n,s;if(Array.isArray(t)){for(n=Array(e=t.length);e--;)n[e]=(s=t[e])&&typeof s=="object"?U(s):s;return n}if(Object.prototype.toString.call(t)==="[object Object]"){n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:U(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=(s=t[e])&&typeof s=="object"?U(s):s;return n}return t}function ke(t){return E(t[0])}function je(t){return E(t[0])}const Q="$$shortcut-no-merge";function Le(t){return typeof t=="function"?{match:t}:t}function ee(t){return t.length===3}function Pe(t){return t!=null}function Te(){}var ze=Object.defineProperty,Fe=(t,e,n)=>e in t?ze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ie=(t,e,n)=>(Fe(t,e+"",n),n);class Ne{constructor(){Ie(this,"_map",new Map)}get(e,n){const s=this._map.get(e);if(s)return s.get(n)}getFallback(e,n,s){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(n)||r.set(n,s),r.get(n)}set(e,n,s){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(n,s),this}has(e,n){return this._map.get(e)?.has(n)}delete(e,n){return this._map.get(e)?.delete(n)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([n,s])=>Array.from(s.entries()).map(([r,i])=>e(i,n,r)))}}class Re extends Map{getFallback(e,n){const s=this.get(e);return s===void 0?(this.set(e,n),n):s}map(e){const n=[];return this.forEach((s,r)=>{n.push(e(s,r))}),n}flatMap(e){const n=[];return this.forEach((s,r)=>{n.push(...e(s,r))}),n}}var De=Object.defineProperty,Ve=(t,e,n)=>e in t?De(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Be=(t,e,n)=>(Ve(t,e+"",n),n);class pe 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,n){return this._map.set(e,n),super.add(e)}}function K(t){return t instanceof pe}const B={};function Ue(t=["-",":"]){const e=t.join("|");return B[e]||(B[e]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),B[e].lastIndex=0,B[e]}function He(t,e=["-",":"],n=5){const s=Ue(e);let r,i=t.toString();const o=new Set,a=new Map;do r=!1,i=i.replace(s,(f,c,h,y,v)=>{if(!e.includes(h))return f;r=!0,o.add(c+h);const _=v+c.length+h.length+1,p={length:f.length,items:[]};a.set(v,p);for(const m of[...y.matchAll(/\S+/g)]){const O=_+m.index;let g=a.get(O)?.items;g?a.delete(O):g=[{offset:O,length:m[0].length,className:m[0]}];for(const w of g)w.className=w.className==="~"?c:w.className.replace(/^(!?)(.*)/,`$1${c}${h}$2`),p.items.push(w)}return"$".repeat(f.length)}),n-=1;while(r&&n);let l;if(typeof t=="string"){l="";let f=0;for(const[c,h]of a)l+=t.slice(f,c),l+=h.items.map(y=>y.className).join(" "),f=c+h.length;l+=t.slice(f)}else{l=t;for(const[f,c]of a)l.overwrite(f,f+c.length,c.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(o),hasChanged:r,groupsByOffset:a,get expanded(){return l.toString()}}}function Ge(t,e=["-",":"],n=5){const s=He(t,e,n);return typeof t=="string"?s.expanded:t}const te=new Set;function me(t){te.has(t)||(console.warn("[unocss]",t),te.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(n=>n(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(n=>n!==e)}}}const H="default",Z="preflights",Xe="shortcuts",Ze="imports",Je={[Ze]:-200,[Z]:-100,[Xe]:-10,[H]:0};function ge(t){return L(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 n=e.shortcuts?ge(e.shortcuts):void 0;if(e.shortcuts=n,e.prefix||e.layer){const s=r=>{r[2]||(r[2]={});const i=r[2];i.prefix==null&&e.prefix&&(i.prefix=L(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};n?.forEach(s),e.rules?.forEach(s)}return e}function ye(t){const e=Qe(t);if(!e.presets)return[e];const n=(e.presets||[]).flatMap(L).flatMap(ye);return[e,...n]}function re(t={},e={}){const n=Object.assign({},e,t),s=Oe((n.presets||[]).flatMap(L).flatMap(ye),(u,d)=>u.name===d.name),r=[...s.filter(u=>u.enforce==="pre"),...s.filter(u=>!u.enforce),...s.filter(u=>u.enforce==="post")],i=[...r,n],o=[...i].reverse(),a=Object.assign({},Je,...i.map(u=>u.layers));function l(u){return G(i.flatMap(d=>L(d[u]||[])))}const f=l("extractors");let c=o.find(u=>u.extractorDefault!==void 0)?.extractorDefault;c===void 0&&(c=qe),c&&!f.includes(c)&&f.unshift(c),f.sort((u,d)=>(u.order||0)-(d.order||0));const h=l("rules"),y={},v=h.length,_=h.map((u,d)=>{if(ke(u)){L(u[2]?.prefix||"").forEach(C=>{y[C+u[0]]=[d,u[1],u[2],u]});return}return[d,...u]}).filter(Boolean).reverse();let p=et(i.map(u=>u.theme));const m=l("extendTheme");for(const u of m)p=u(p)||p;const O={templates:G(i.flatMap(u=>L(u.autocomplete?.templates))),extractors:i.flatMap(u=>L(u.autocomplete?.extractors)).sort((u,d)=>(u.order||0)-(d.order||0)),shorthands:tt(i.map(u=>u.autocomplete?.shorthands||{}))};let g=l("separators");g.length||(g=[":","-"]);const w={mergeSelectors:!0,warn:!0,sortLayers:u=>u,...n,blocklist:l("blocklist"),presets:r,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:a,theme:p,rulesSize:v,rulesDynamic:_,rulesStaticMap:y,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:O,variants:l("variants").map(Le).sort((u,d)=>(u.order||0)-(d.order||0)),shortcuts:ge(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:g,details:n.details??n.envMode==="dev"};for(const u of i)u?.configResolved?.(w);return w}function et(t){return t.map(e=>e?U(e):{}).reduce((e,n)=>de(e,n),{})}function tt(t){return t.reduce((e,n)=>{const s={};for(const r in n){const i=n[r];Array.isArray(i)?s[r]=`(${i.join("|")})`:s[r]=i}return{...e,...s}},{})}const nt="0.60.0";var rt=Object.defineProperty,st=(t,e,n)=>e in t?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(st(t,typeof e!="symbol"?e+"":e,n),n);class it{constructor(e={},n={}){this.userConfig=e,this.defaults=n,R(this,"version",nt),R(this,"_cache",new Map),R(this,"config"),R(this,"blocked",new Set),R(this,"parentOrders",new Map),R(this,"events",Ke()),this.config=re(e,n),this.events.emit("config",this.config)}setConfig(e,n){e&&(n&&(this.defaults=n),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=re(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,n,s=new Set){const r={original:e,code:e,id:n,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const o=await i.extract?.(r);if(o)if(K(o)&&K(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,n){const s={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...r)=>this.constructCustomCSS(s,...r),variantMatch:n};return s}async parseToken(e,n){if(this.blocked.has(e))return;const s=`${e}${n?` ${n}`:""}`;if(this._cache.has(s))return this._cache.get(s);let r=e;for(const f of this.config.preprocess)r=f(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(s,null);return}const i=await this.matchVariants(e,r);if(!i||this.isBlocked(i[1])){this.blocked.add(e),this._cache.set(s,null);return}const o=this.makeContext(e,[n||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(f=>this.stringifyUtil(f,o)).filter(Pe);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(e,n={}){const{id:s,scope:r,preflights:i=!0,safelist:o=!0,minify:a=!1,extendedInfo:l=!1}=n,f=this.config.outputToCssLayers,c=E(e)?await this.applyExtractors(e,s,l?new pe:new Set):Array.isArray(e)?new Set(e):e;if(o){const d={generator:this,theme:this.config.theme};this.config.safelist.flatMap(x=>typeof x=="function"?x(d):x).forEach(x=>{c.has(x)||c.add(x)})}const h=a?"":`
|
|
1
|
+
import{$ as Ce}from"./DW2rdoo9.js";function Ae(t){const e=t.length;let n=-1,s,r="";const i=t.charCodeAt(0);for(;++n<e;){if(s=t.charCodeAt(n),s===0){r+="�";continue}if(s===37){r+="\\%";continue}if(s===44){r+="\\,";continue}if(s>=1&&s<=31||s===127||n===0&&s>=48&&s<=57||n===1&&s>=48&&s<=57&&i===45){r+=`\\${s.toString(16)} `;continue}if(n===0&&e===1&&s===45){r+=`\\${t.charAt(n)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){r+=t.charAt(n);continue}r+=`\\${t.charAt(n)}`}return r}const Y=Ae;function L(t=[]){return Array.isArray(t)?t:[t]}function G(t){return Array.from(new Set(t))}function Oe(t,e){return t.reduce((n,s)=>(n.findIndex(i=>e(s,i))===-1&&n.push(s),n),[])}function E(t){return typeof t=="string"}function D(t){return E(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Me(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>D(e)):[t]:[D(t)]}function Ee(t){return t.filter(([e,n],s)=>{if(e.startsWith("$$"))return!1;for(let r=s-1;r>=0;r--)if(t[r][0]===e&&t[r][1]===n)return!1;return!0})}function q(t){return t==null?"":Ee(t).map(([e,n])=>n!=null?`${e}:${n};`:void 0).filter(Boolean).join("")}function V(t){return t&&typeof t=="object"&&!Array.isArray(t)}function de(t,e,n=!1){const s=t,r=e;if(Array.isArray(r))return n&&Array.isArray(r)?[...s,...r]:[...r];const i={...s};return V(s)&&V(r)&&Object.keys(r).forEach(o=>{V(s[o])&&V(r[o])||Array.isArray(s[o])&&Array.isArray(r[o])?i[o]=de(s[o],r[o],n):Object.assign(i,{[o]:r[o]})}),i}function U(t){let e,n,s;if(Array.isArray(t)){for(n=Array(e=t.length);e--;)n[e]=(s=t[e])&&typeof s=="object"?U(s):s;return n}if(Object.prototype.toString.call(t)==="[object Object]"){n={};for(e in t)e==="__proto__"?Object.defineProperty(n,e,{value:U(t[e]),configurable:!0,enumerable:!0,writable:!0}):n[e]=(s=t[e])&&typeof s=="object"?U(s):s;return n}return t}function ke(t){return E(t[0])}function je(t){return E(t[0])}const Q="$$shortcut-no-merge";function Le(t){return typeof t=="function"?{match:t}:t}function ee(t){return t.length===3}function Pe(t){return t!=null}function Te(){}var ze=Object.defineProperty,Fe=(t,e,n)=>e in t?ze(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ie=(t,e,n)=>(Fe(t,e+"",n),n);class Ne{constructor(){Ie(this,"_map",new Map)}get(e,n){const s=this._map.get(e);if(s)return s.get(n)}getFallback(e,n,s){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.has(n)||r.set(n,s),r.get(n)}set(e,n,s){let r=this._map.get(e);return r||(r=new Map,this._map.set(e,r)),r.set(n,s),this}has(e,n){return this._map.get(e)?.has(n)}delete(e,n){return this._map.get(e)?.delete(n)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([n,s])=>Array.from(s.entries()).map(([r,i])=>e(i,n,r)))}}class Re extends Map{getFallback(e,n){const s=this.get(e);return s===void 0?(this.set(e,n),n):s}map(e){const n=[];return this.forEach((s,r)=>{n.push(e(s,r))}),n}flatMap(e){const n=[];return this.forEach((s,r)=>{n.push(...e(s,r))}),n}}var De=Object.defineProperty,Ve=(t,e,n)=>e in t?De(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Be=(t,e,n)=>(Ve(t,e+"",n),n);class pe 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,n){return this._map.set(e,n),super.add(e)}}function K(t){return t instanceof pe}const B={};function Ue(t=["-",":"]){const e=t.join("|");return B[e]||(B[e]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),B[e].lastIndex=0,B[e]}function He(t,e=["-",":"],n=5){const s=Ue(e);let r,i=t.toString();const o=new Set,a=new Map;do r=!1,i=i.replace(s,(f,c,h,y,v)=>{if(!e.includes(h))return f;r=!0,o.add(c+h);const _=v+c.length+h.length+1,p={length:f.length,items:[]};a.set(v,p);for(const m of[...y.matchAll(/\S+/g)]){const O=_+m.index;let g=a.get(O)?.items;g?a.delete(O):g=[{offset:O,length:m[0].length,className:m[0]}];for(const w of g)w.className=w.className==="~"?c:w.className.replace(/^(!?)(.*)/,`$1${c}${h}$2`),p.items.push(w)}return"$".repeat(f.length)}),n-=1;while(r&&n);let l;if(typeof t=="string"){l="";let f=0;for(const[c,h]of a)l+=t.slice(f,c),l+=h.items.map(y=>y.className).join(" "),f=c+h.length;l+=t.slice(f)}else{l=t;for(const[f,c]of a)l.overwrite(f,f+c.length,c.items.map(h=>h.className).join(" "))}return{prefixes:Array.from(o),hasChanged:r,groupsByOffset:a,get expanded(){return l.toString()}}}function Ge(t,e=["-",":"],n=5){const s=He(t,e,n);return typeof t=="string"?s.expanded:t}const te=new Set;function me(t){te.has(t)||(console.warn("[unocss]",t),te.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(n=>n(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(n=>n!==e)}}}const H="default",Z="preflights",Xe="shortcuts",Ze="imports",Je={[Ze]:-200,[Z]:-100,[Xe]:-10,[H]:0};function ge(t){return L(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 n=e.shortcuts?ge(e.shortcuts):void 0;if(e.shortcuts=n,e.prefix||e.layer){const s=r=>{r[2]||(r[2]={});const i=r[2];i.prefix==null&&e.prefix&&(i.prefix=L(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};n?.forEach(s),e.rules?.forEach(s)}return e}function ye(t){const e=Qe(t);if(!e.presets)return[e];const n=(e.presets||[]).flatMap(L).flatMap(ye);return[e,...n]}function re(t={},e={}){const n=Object.assign({},e,t),s=Oe((n.presets||[]).flatMap(L).flatMap(ye),(u,d)=>u.name===d.name),r=[...s.filter(u=>u.enforce==="pre"),...s.filter(u=>!u.enforce),...s.filter(u=>u.enforce==="post")],i=[...r,n],o=[...i].reverse(),a=Object.assign({},Je,...i.map(u=>u.layers));function l(u){return G(i.flatMap(d=>L(d[u]||[])))}const f=l("extractors");let c=o.find(u=>u.extractorDefault!==void 0)?.extractorDefault;c===void 0&&(c=qe),c&&!f.includes(c)&&f.unshift(c),f.sort((u,d)=>(u.order||0)-(d.order||0));const h=l("rules"),y={},v=h.length,_=h.map((u,d)=>{if(ke(u)){L(u[2]?.prefix||"").forEach(C=>{y[C+u[0]]=[d,u[1],u[2],u]});return}return[d,...u]}).filter(Boolean).reverse();let p=et(i.map(u=>u.theme));const m=l("extendTheme");for(const u of m)p=u(p)||p;const O={templates:G(i.flatMap(u=>L(u.autocomplete?.templates))),extractors:i.flatMap(u=>L(u.autocomplete?.extractors)).sort((u,d)=>(u.order||0)-(d.order||0)),shorthands:tt(i.map(u=>u.autocomplete?.shorthands||{}))};let g=l("separators");g.length||(g=[":","-"]);const w={mergeSelectors:!0,warn:!0,sortLayers:u=>u,...n,blocklist:l("blocklist"),presets:r,envMode:n.envMode||"build",shortcutsLayer:n.shortcutsLayer||"shortcuts",layers:a,theme:p,rulesSize:v,rulesDynamic:_,rulesStaticMap:y,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:O,variants:l("variants").map(Le).sort((u,d)=>(u.order||0)-(d.order||0)),shortcuts:ge(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:g,details:n.details??n.envMode==="dev"};for(const u of i)u?.configResolved?.(w);return w}function et(t){return t.map(e=>e?U(e):{}).reduce((e,n)=>de(e,n),{})}function tt(t){return t.reduce((e,n)=>{const s={};for(const r in n){const i=n[r];Array.isArray(i)?s[r]=`(${i.join("|")})`:s[r]=i}return{...e,...s}},{})}const nt="0.60.0";var rt=Object.defineProperty,st=(t,e,n)=>e in t?rt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e,n)=>(st(t,typeof e!="symbol"?e+"":e,n),n);class it{constructor(e={},n={}){this.userConfig=e,this.defaults=n,R(this,"version",nt),R(this,"_cache",new Map),R(this,"config"),R(this,"blocked",new Set),R(this,"parentOrders",new Map),R(this,"events",Ke()),this.config=re(e,n),this.events.emit("config",this.config)}setConfig(e,n){e&&(n&&(this.defaults=n),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=re(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,n,s=new Set){const r={original:e,code:e,id:n,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const o=await i.extract?.(r);if(o)if(K(o)&&K(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,n){const s={rawSelector:e,currentSelector:n[1],theme:this.config.theme,generator:this,variantHandlers:n[2],constructCSS:(...r)=>this.constructCustomCSS(s,...r),variantMatch:n};return s}async parseToken(e,n){if(this.blocked.has(e))return;const s=`${e}${n?` ${n}`:""}`;if(this._cache.has(s))return this._cache.get(s);let r=e;for(const f of this.config.preprocess)r=f(e);if(this.isBlocked(r)){this.blocked.add(e),this._cache.set(s,null);return}const i=await this.matchVariants(e,r);if(!i||this.isBlocked(i[1])){this.blocked.add(e),this._cache.set(s,null);return}const o=this.makeContext(e,[n||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(f=>this.stringifyUtil(f,o)).filter(Pe);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(e,n={}){const{id:s,scope:r,preflights:i=!0,safelist:o=!0,minify:a=!1,extendedInfo:l=!1}=n,f=this.config.outputToCssLayers,c=E(e)?await this.applyExtractors(e,s,l?new pe:new Set):Array.isArray(e)?new Set(e):e;if(o){const d={generator:this,theme:this.config.theme};this.config.safelist.flatMap(x=>typeof x=="function"?x(d):x).forEach(x=>{c.has(x)||c.add(x)})}const h=a?"":`
|
|
2
2
|
`,y=new Set([H]),v=l?new Map:new Set,_=new Map;let p={};const m=Array.from(c).map(async d=>{if(v.has(d))return;const x=await this.parseToken(d);if(x!=null){v instanceof Map?v.set(d,{data:x,count:K(c)?c.getCount(d):-1}):v.add(d);for(const C of x){const A=C[3]||"",M=C[4]?.layer;_.has(A)||_.set(A,[]),_.get(A).push(C),M&&y.add(M)}}});await Promise.all(m),await(async()=>{if(!i)return;const d={generator:this,theme:this.config.theme},x=new Set([]);this.config.preflights.forEach(({layer:C=Z})=>{y.add(C),x.add(C)}),p=Object.fromEntries(await Promise.all(Array.from(x).map(async C=>{const M=(await Promise.all(this.config.preflights.filter(P=>(P.layer||Z)===C).map(async P=>await P.getCSS(d)))).filter(Boolean).join(h);return[C,M]})))})();const O=this.config.sortLayers(Array.from(y).sort((d,x)=>(this.config.layers[d]??0)-(this.config.layers[x]??0)||d.localeCompare(x))),g={},w=(d=H)=>{if(g[d])return g[d];let x=Array.from(_).sort((A,M)=>(this.parentOrders.get(A[0])??0)-(this.parentOrders.get(M[0])??0)||A[0]?.localeCompare(M[0]||"")||0).map(([A,M])=>{const P=M.length,z=M.filter(b=>(b[4]?.layer||H)===d).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,,j])=>[[[(b&&ct(b,r))??"",k?.sort??0]],$,!!(j??k?.noMerge)]);if(!z.length)return;const F=z.reverse().map(([b,$,k],j)=>{if(!k&&this.config.mergeSelectors)for(let N=j+1;N<P;N++){const T=z[N];if(T&&!T[2]&&(b&&T[0]||b==null&&T[0]==null)&&T[1]===$)return b&&T[0]&&T[0].push(...b),null}const I=b?G(b.sort((N,T)=>N[1]-T[1]||N[0]?.localeCompare(T[0]||"")||0).map(N=>N[0]).filter(Boolean)):[];return I.length?`${I.join(`,${h}`)}{${$}}`:$}).filter(Boolean).reverse().join(h);if(!A)return F;const S=A.split(" $$ ");return`${S.join("{")}{${h}${F}${h}${"}".repeat(S.length)}`}).filter(Boolean).join(h);if(i&&(x=[p[d],x].filter(Boolean).join(h)),f&&x){let A=typeof f=="object"?f.cssLayerName?.(d):void 0;A!==null&&(A||(A=d),x=`@layer ${A}{${h}${x}${h}}`)}const C=a?"":`/* layer: ${d} */${h}`;return g[d]=x?C+x:""},u=(d=O,x)=>d.filter(C=>!x?.includes(C)).map(C=>w(C)||"").filter(Boolean).join(h);return{get css(){return u()},layers:O,matched:v,getLayers:u,getLayer:w}}async matchVariants(e,n){const s=new Set,r=[];let i=n||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 f=await l.match(i,a);if(f){if(E(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,r.unshift(f),s.add(l),o=!0;break}}if(!o)break;if(r.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[e,i,r,s]}applyVariants(e,n=e[4],s=e[1]){const i=n.slice().sort((f,c)=>(f.order||0)-(c.order||0)).reduceRight((f,c)=>h=>{const y=c.body?.(h.entries)||h.entries,v=Array.isArray(c.parent)?c.parent:[c.parent,void 0];return(c.handle??ft)({...h,entries:y,selector:c.selector?.(h.selector,y)||h.selector,parent:v[0]||h.parent,parentOrder:v[1]||h.parentOrder,layer:c.layer||h.layer,sort:c.sort||h.sort},f)},f=>f)({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 f of this.config.postprocess)f(l);return l}constructCustomCSS(e,n,s){const r=D(n);if(E(r))return r;const{selector:i,entries:o,parent:a}=this.applyVariants([0,s||e.rawSelector,r,void 0,e.variantHandlers]),l=`${i}{${q(o)}}`;return a?`${a}{${l}}`:l}async parseUtil(e,n,s=!1,r){const[i,o,a]=E(e)?await this.matchVariants(e):e;this.config.details&&(n.rules=n.rules??[]);const l=this.config.rulesStaticMap[o];if(l&&l[1]&&(s||!l[2]?.internal)){this.config.details&&n.rules.push(l[3]);const c=l[0],h=D(l[1]),y=l[2];return E(h)?[[c,h,y]]:[[c,i,h,y,a]]}n.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[c,h,y,v]of f){if(v?.internal&&!s)continue;let _=o;if(v?.prefix){const g=L(v.prefix);if(r){const w=L(r);if(!g.some(u=>w.includes(u)))continue}else{const w=g.find(u=>o.startsWith(u));if(w==null)continue;_=o.slice(w.length)}}const p=_.match(h);if(!p)continue;const m=await y(p,n);if(!m)continue;this.config.details&&n.rules.push([h,y,v]);const O=Me(m).filter(g=>g.length);if(O.length)return O.map(g=>E(g)?[c,g,v]:[c,i,g,v,a])}}stringifyUtil(e,n){if(!e)return;if(ee(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?n:void 0,void 0];const{selector:s,entries:r,parent:i,layer:o,sort:a,noMerge:l}=this.applyVariants(e),f=q(r);if(!f)return;const{layer:c,sort:h,...y}=e[3]??{},v={...y,layer:o??c,sort:a??h};return[e[0],s,f,i,v,this.config.details?n:void 0,l]}async expandShortcut(e,n,s=5){if(s===0)return;const r=this.config.details?a=>{n.shortcuts=n.shortcuts??[],n.shortcuts.push(a)}:Te;let i,o;for(const a of this.config.shortcuts){let l=e;if(a[2]?.prefix){const c=L(a[2].prefix).find(h=>e.startsWith(h));if(c==null)continue;l=e.slice(c.length)}if(je(a)){if(a[0]===l){i=i||a[2],o=a[1],r(a);break}}else{const f=l.match(a[0]);if(f&&(o=a[1](f,n)),o){i=i||a[2],r(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 f=await this.expandShortcut(l,n,s-1);f&&(o=f[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,n,s-1))?.[0]:void 0)||[a]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(e,n,s,r={layer:this.config.shortcutsLayer}){const i=new Re,o=(await Promise.all(G(s).map(async c=>{const h=E(c)?await this.parseUtil(c,n,!0,r.prefix):[[Number.POSITIVE_INFINITY,"{inline}",D(c),void 0,[]]];return!h&&this.config.warn&&me(`unmatched utility "${c}" in shortcut "${e[1]}"`),h||[]}))).flat(1).filter(Boolean).sort((c,h)=>c[0]-h[0]),[a,,l]=e,f=[];for(const c of o){if(ee(c)){f.push([c[0],void 0,c[1],void 0,c[2],n,void 0]);continue}const{selector:h,entries:y,parent:v,sort:_,noMerge:p,layer:m}=this.applyVariants(c,[...c[4],...l],a);i.getFallback(m??r.layer,new Ne).getFallback(h,v,[[],c[0]])[0].push([y,!!(p??c[3]?.noMerge),_??0])}return f.concat(i.flatMap((c,h)=>c.map(([y,v],_,p)=>{const m=(g,w,u)=>{const d=Math.max(...u.map(C=>C[1])),x=u.map(C=>C[0]);return(g?[x.flat(1)]:x).map(C=>{const A=q(C);if(A)return[v,_,A,p,{...r,noMerge:w,sort:d,layer:h},n,void 0]})};return[[y.filter(([,g])=>g).map(([g,,w])=>[g,w]),!0],[y.filter(([,g])=>!g).map(([g,,w])=>[g,w]),!1]].map(([g,w])=>[...m(!1,w,g.filter(([u])=>u.some(d=>d[0]===Q))),...m(!0,w,g.filter(([u])=>u.every(d=>d[0]!==Q)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.some(n=>typeof n=="function"?n(e):E(n)?n===e:n.test(e))}}function ot(t,e){return new it(t,e)}const we=/\s\$\$\s+/g;function at(t){return we.test(t)}function ct(t,e){return at(t)?t.replace(we,e?` ${e} `:" "):e?`${e} ${t}`:t}const se=/^\[(.+?)(~?=)"(.*)"\]$/;function lt(t){return se.test(t)?t.replace(se,(e,n,s,r)=>`[${Y(n)}${s}"${Y(r)}"]`):`.${Y(t)}`}function ft(t,e){return e(t)}var ie={};const ut=Object.freeze({left:0,top:0,width:16,height:16}),W=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ve=Object.freeze({...ut,...W}),ht=Object.freeze({...ve,body:"",hidden:!1}),dt=Object.freeze({width:null,height:null}),be=Object.freeze({...dt,...W});function pt(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const s=((t.rotate||0)+(e.rotate||0))%4;return s&&(n.rotate=s),n}function oe(t,e){const n=pt(t,e);for(const s in ht)s in W?s in t&&!(s in n)&&(n[s]=W[s]):s in e?n[s]=e[s]:s in t&&(n[s]=t[s]);return n}function mt(t,e){const n=t.icons,s=t.aliases||Object.create(null),r=Object.create(null);function i(o){if(n[o])return r[o]=[];if(!(o in r)){r[o]=null;const a=s[o]&&s[o].parent,l=a&&i(a);l&&(r[o]=[a].concat(l))}return r[o]}return(e||Object.keys(n).concat(Object.keys(s))).forEach(i),r}function ae(t,e,n){const s=t.icons,r=t.aliases||Object.create(null);let i={};function o(a){i=oe(s[a]||r[a],i)}return o(e),n.forEach(o),oe(t,i)}function gt(t,e){if(t.icons[e])return ae(t,e,[]);const n=mt(t,[e])[e];return n?ae(t,e,n):null}const yt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,wt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ce(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const s=t.split(yt);if(s===null||!s.length)return t;const r=[];let i=s.shift(),o=wt.test(i);for(;;){if(o){const a=parseFloat(i);isNaN(a)?r.push(i):r.push(Math.ceil(a*e*n)/n)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");o=!o}}function vt(t,e="defs"){let n="";const s=t.indexOf("<"+e);for(;s>=0;){const r=t.indexOf(">",s),i=t.indexOf("</"+e);if(r===-1||i===-1)break;const o=t.indexOf(">",i);if(o===-1)break;n+=t.slice(r+1,i).trim(),t=t.slice(0,s).trim()+t.slice(o+1)}return{defs:n,content:t}}function bt(t,e){return t?"<defs>"+t+"</defs>"+e:e}function St(t,e,n){const s=vt(t);return bt(s.defs,e+s.content+n)}const J=t=>t==="unset"||t==="undefined"||t==="none";function xt(t,e){const n={...ve,...t},s={...be,...e},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,s].forEach(p=>{const m=[],O=p.hFlip,g=p.vFlip;let w=p.rotate;O?g?w+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):g&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let u;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:u=r.height/2+r.top,m.unshift("rotate(90 "+u.toString()+" "+u.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:u=r.width/2+r.left,m.unshift("rotate(-90 "+u.toString()+" "+u.toString()+")");break}w%2===1&&(r.left!==r.top&&(u=r.left,r.left=r.top,r.top=u),r.width!==r.height&&(u=r.width,r.width=r.height,r.height=u)),m.length&&(i=St(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const o=s.width,a=s.height,l=r.width,f=r.height;let c,h;o===null?(h=a===null?"1em":a==="auto"?f:a,c=ce(h,l/f)):(c=o==="auto"?l:o,h=a===null?ce(c,f/l):a==="auto"?f:a);const y={},v=(p,m)=>{J(m)||(y[p]=m.toString())};v("width",c),v("height",h);const _=[r.left,r.top,l,f];return y.viewBox=_.join(" "),{attributes:y,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 Ct(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 At=/\swidth\s*=\s*["']([\w.]+)["']/,Ot=/\sheight\s*=\s*["']([\w.]+)["']/,X=/<svg\s+/;function Mt(t,e,n){const s=t.slice(0,t.indexOf(">")),r=(i,o)=>{const a=o.exec(s),l=a!=null,f=e[i];return!f&&!J(f)&&(typeof n=="number"?n>0&&(e[i]=`${n}em`):a&&(e[i]=a[1])),l};return[r("width",At),r("height",Ot)]}async function Se(t,e,n,s,r,i){const{scale:o,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},c=await r?.()??{};await f?.(e,n,c),Object.keys(l).forEach(p=>{const m=l[p];m!=null&&(c[p]=m)}),i?.(c);const[h,y]=Mt(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(p=>p==="width"&&h||p==="height"&&y?null:`${p}="${c[p]}"`).filter(p=>p!=null);if(v.length&&(t=t.replace(X,`<svg ${v.join(" ")} `)),s){const{defaultStyle:p,defaultClass:m}=s;m&&!t.includes("class=")&&(t=t.replace(X,`<svg class="${m}" `)),p&&!t.includes("style=")&&(t=t.replace(X,`<svg style="${p}" `))}const _=s?.usedProps;return _&&(Object.keys(l).forEach(p=>{const m=c[p];m!=null&&(_[p]=m)}),typeof c.width<"u"&&c.width!==null&&(_.width=c.width),typeof c.height<"u"&&c.height!==null&&(_.height=c.height)),t}async function le(t,e,n,s){let r;try{if(typeof t=="function")r=await t(n);else{const i=t[n];r=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${n}" in "${e}":`,i);return}if(r){const i=r.indexOf("<svg");i>0&&(r=r.slice(i));const{transform:o}=s?.customizations??{};return r=typeof o=="function"?await o(r,e,n):r,r.startsWith("<svg")?await Se(s?.customizations?.trimCustomSvg===!0?Ct(r):r,e,n,s,void 0):(console.warn(`Custom icon "${n}" in "${e}" is not a valid SVG`),r)}}async function xe(t,e,n,s){let r;const{customize:i}=s?.customizations??{};for(const o of n)if(r=gt(t,o),r){let a={...be};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:f,...c},body:h}=xt(r,a),y=s?.scale;return await Se(`<svg >${h}</svg>`,e,o,s,()=>({...c}),v=>{const _=(p,m)=>{const O=v[p];let g;if(!J(O)){if(O)return;typeof y=="number"?y&&(g=`${y}em`):g=m}g?v[p]=g:delete v[p]};_("width",l),_("height",f)})}}const $e=async(t,e,n)=>{const s=n?.customCollections?.[t];if(s)if(typeof s=="function"){let r;try{r=await s(e)}catch(i){console.warn(`Failed to load custom icon "${e}" in "${t}":`,i);return}if(r){if(typeof r=="string")return await le(()=>r,t,e,n);if("icons"in r){const i=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await xe(r,t,i,n)}}}else return await le(s,t,e,n)};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","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:n=1,mode:s="auto",prefix:r="i-",warn:i=!1,collections:o,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:c,layer:h="icons",unit:y,processor:v}=e,_=Tt(),p={addXmlNs:!0,scale:n,customCollections:o,autoInstall:f,cwd:c,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(O,g,w){await l.iconCustomizer?.(O,g,w),y&&(w.width||(w.width=`${n}${y}`),w.height||(w.height=`${n}${y}`))}}};let m;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async O=>{let[g,w,u=s]=O,d="",x="",C;m=m||await t(e);const A={};if(w.includes(":"))[d,x]=w.split(":"),C=await m(d,x,{...p,usedProps:A});else{const z=w.split(/-/g);for(let F=Lt;F>=1&&(d=z.slice(0,F).join("-"),x=z.slice(F).join("-"),C=await m(d,x,{...p,usedProps:A}),!C);F--);}if(!C){i&&!_.isESLint&&me(`failed to load icon "${g}"`);return}let M;const P=`url("data:image/svg+xml;utf8,${_t(C)}")`;return u==="auto"&&(u=C.includes("currentColor")?"mask":"bg"),u==="mask"?M={"--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",...A}:M={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...A},v?.(M,{collection:d,icon:x,svg:C,mode:u}),M},{layer:h,prefix:r}]]}}}function _e(t,e){const n=new Map;function s(r){if(jt.includes(r))return n.has(r)||n.set(r,t(`${e}@iconify-json/${r}/icons.json`)),n.get(r)}return async(r,i,o)=>{let a=await $e(r,i,o);if(a)return a;const l=await s(r);if(l){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await xe(l,r,f,o)}return a}}function Tt(){const t=typeof process<"u"&&process.stdout&&!process.versions.deno,e=t&&!!ie.VSCODE_CWD,n=t&&!!ie.ESLINT;return{isNode:t,isVSCode:e,isESLint:n}}function zt(t){return _e(Ce,t)}const Ft=Pt(async t=>{const e=t?.customFetch,n=t?.cdn;return e&&n?_e(e,n):n?zt(n):$e});function It(t){return t.replace(/-(\w)/g,(e,n)=>n?n.toUpperCase():"")}function fe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function ue(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var he=["Webkit","Moz","ms"];function Nt(t){const e={};function n(s){const r=e[s];if(r)return r;let i=It(s);if(i!=="filter"&&i in t)return e[s]=ue(i);i=fe(i);for(let o=0;o<he.length;o++){const a=`${he[o]}${i}`;if(a in t)return e[s]=ue(fe(a))}return s}return({entries:s})=>s.forEach(r=>{r[0].startsWith("--")||(r[0]=n(r[0]))})}function Rt(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}function Dt(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,n=window.document,s=()=>n.documentElement,r=e.__unocss||{},i=Object.assign({},t,r.runtime),o=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(o.postprocess=L(o.postprocess)).unshift(Nt(n.createElement("div").style)),i.configResolved?.(r,o);const l=ot(r,o),f=S=>i.inject?i.inject(S):s().prepend(S),c=()=>i.rootElement?i.rootElement():n.body,h=new Map;let y=!0,v=new Set,_,p,m=[];const O=()=>new Promise(S=>{m.push(S),p!=null&&clearTimeout(p),p=setTimeout(()=>u().then(()=>{const b=m;m=[],b.forEach($=>$())}),0)});function g(S){if(S.nodeType!==1)return;const b=S;b.hasAttribute(a)&&b.removeAttribute(a),b.querySelectorAll(`[${a}]`).forEach($=>{$.removeAttribute(a)})}function w(S,b){let $=h.get(S);if(!$)if($=n.createElement("style"),$.setAttribute("data-unocss-runtime-layer",S),h.set(S,$),b==null)f($);else{const k=w(b),j=k.parentNode;j?j.insertBefore($,k.nextSibling):f($)}return $}async function u(){const S=await l.generate(v);return S.layers.reduce((b,$)=>(w($,b).innerHTML=S.getLayer($)??"",$),void 0),v=S.matched,{...S,getStyleElement:b=>h.get(b),getStyleElements:()=>h}}async function d(S){const b=v.size;await l.applyExtractors(S,void 0,v),b!==v.size&&await O()}async function x(S=c()){const b=S&&S.outerHTML;b&&(await d(`${b} ${Rt(b)}`),g(s()),g(S))}const C=new MutationObserver(S=>{y||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 j=k;_&&!_(j)||(await d(j.outerHTML),g(j))});else{if(_&&!_($))return;if(b.attributeName!==a){const k=Array.from($.attributes).map(I=>I.value?`${I.name}="${I.value}"`:I.name).join(" "),j=`<${$.tagName.toLowerCase()} ${k}>`;await d(j)}$.hasAttribute(a)&&$.removeAttribute(a)}})});let A=!1;function M(){if(A)return;const S=i.observer?.target?i.observer.target():c();S&&(C.observe(S,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),A=!0)}function P(){i.bypassDefined&&Vt(l.blocked),x(),M()}function z(){n.readyState==="loading"?e.addEventListener("DOMContentLoaded",P):P()}const F=e.__unocss_runtime=e.__unocss_runtime={version:l.version,uno:l,async extract(S){E(S)||(S.forEach(b=>v.add(b)),S=""),await d(S)},extractAll:x,inspect(S){_=S},toggleObserver(S){S===void 0?y=!y:y=!!S,!A&&!y&&z()},update:u,presets:e.__unocss_runtime?.presets??{}};i.ready?.(F)!==!1&&(y=!1,z())}function Vt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const n=document.styleSheets[e];let s;try{if(s=n.cssRules||n.rules,!s)continue;Array.from(s).flatMap(r=>r.selectorText?.split(/,/g)||[]).forEach(r=>{r&&(r=r.trim(),r.startsWith(".")&&(r=r.slice(1)),t.add(r))})}catch{continue}}return t}Dt({defaults:{presets:[Ft({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d,al as i,ac as m,m as f,f as n,h as l,j as _,am as v,o,v as C}from"./
|
|
1
|
+
import{d,al as i,ac as m,m as f,f as n,h as l,j as _,am as v,o,v as C}from"./DW2rdoo9.js";import{y as E,u as I}from"./BZAoIDF4.js";const k={class:"h-full w-full"},y=d({__name:"components-tree",setup(x){const{connected:c}=I(),t=i(),r=m();function s(a){a?t.value.devtools.open():t.value.devtools.close()}return(a,e)=>{const p=v;return o(),f("div",k,[n(c)?(o(),l(n(E),{key:0,onOnInspectComponentStart:e[0]||(e[0]=u=>s(!1)),onOnInspectComponentEnd:e[1]||(e[1]=u=>s(!0)),onOpenInEditor:n(r)},null,8,["onOpenInEditor"])):(o(),l(p,{key:1},{default:_(()=>[C(" Connecting.... ")]),_:1}))])}}});export{y as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as s,s as a,o as i,m as u,k as e,t as o,i as c,j as d,v as l,x as p,y as b,z as h}from"./
|
|
1
|
+
import{q as s,s as a,o as i,m as u,k as e,t as o,i as c,j as d,v as l,x as p,y as b,z as h}from"./DW2rdoo9.js";const g=t=>(b("data-v-11bb7187"),t=t(),h(),t),f={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},x=g(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),m={class:"max-w-520px text-center z-20"},y=["textContent"],k=["textContent"],_={class:"w-full flex items-center justify-center"},w={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return a({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[],style:[{children:'*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--un-default-border-color, #e5e7eb)}:before,:after{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(z,v)=>{const r=p;return i(),u("div",f,[x,e("div",m,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:o(t.statusCode)},null,8,y),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:o(t.description)},null,8,k),e("div",_,[c(r,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:d(()=>[l(o(t.backHome),1)]),_:1})])])])}}},C=s(w,[["__scopeId","data-v-11bb7187"]]);export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as k}from"./
|
|
1
|
+
import{_ as k}from"./CAWcj-Fr.js";import{d as v,o as e,m as c,F as x,n as C,h as f,j as a,aa as N,aw as B,k as $,al as w,a as F,a2 as O,f as r,i as o,p as u,v as V,I as j,_ as E}from"./DW2rdoo9.js";import{_ as P}from"./B-hub2K2.js";import{_ as R}from"./BX8u6kVi.js";import"./DZg4WwSa.js";import"./CQhVfK23.js";import"./BVJlJdda.js";const A={key:0,flex:"~ col gap-1"},G={key:1,mt2:"",px4:"",italic:"",op35:""},H=v({__name:"StateGroup",props:{state:{},prefix:{default:""}},setup(m){return(t,n)=>{const i=k;return e(),c("div",null,[t.state&&Object.keys(t.state).length>0?(e(),c("div",A,[(e(!0),c(x,null,C(t.state,(l,s)=>(e(),f(i,{key:s,state:l,name:s.startsWith(t.prefix)?s.slice(t.prefix.length):s},{actions:a(_=>[N(t.$slots,"actions",B({ref_for:!0},_))]),_:2},1032,["state","name"]))),128))])):(e(),c("div",G," No data "))])}}}),K={class:"markdown-body"},T=$("h1",null,"State & Async Data",-1),I=$("p",null,"// TODO",-1),L=[T,I],W={__name:"payload",setup(m,{expose:t}){return t({frontmatter:{}}),(i,l)=>(e(),c("div",K,L))}},q={key:0},tt=v({__name:"payload",setup(m){const t=w(),n=F(()=>t.value?.nuxt.payload);async function i(l){await t.value?.nuxt.hooks.callHookParallel("app:data:refresh",l)}return(l,s)=>{const _=H,d=P,h=E,b=k,S=W,g=R,D=O("tooltip");return e(),c(x,null,[r(t)?(e(),c("div",q,[o(d,{icon:"carbon-data-set",text:"State",description:"Keyed state from `useState`",padding:!1},{default:a(()=>[o(_,{state:r(n).state,prefix:"$s"},null,8,["state"])]),_:1}),o(d,{icon:"carbon-data-blob",text:"Data",description:"Keyed state from `useAsyncData`",padding:!1},{actions:a(()=>[o(h,{n:"xs primary","self-start":"",icon:"i-carbon-recycle",onClick:s[0]||(s[0]=y=>i())},{default:a(()=>[V(" Re-fetch all data ")]),_:1})]),default:a(()=>[o(_,{state:r(n).data},{actions:a(({isOpen:y,name:p})=>[y&&p?j((e(),f(h,{key:0,title:`Re-fetch '${p}'`,icon:"carbon-recycle",border:!1,onClick:z=>i([p])},null,8,["title","onClick"])),[[D,`Re-fetch '${p}'`,void 0,{bottom:!0}]]):u("",!0)]),_:1},8,["state"])]),_:1}),r(n).functions&&Object.keys(r(n).functions).length?(e(),f(d,{key:0,icon:"carbon-function",text:"Functions",description:"State for functions"},{default:a(()=>[o(b,{"ml--6":"",state:r(n).functions},null,8,["state"])]),_:1})):u("",!0)])):u("",!0),o(g,null,{default:a(()=>[o(S)]),_:1})],64)}}});export{tt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bl as f,c0 as r}from"./
|
|
1
|
+
import{bl as f,c0 as r}from"./DW2rdoo9.js";let o;const n=[];function s(i){if(n.push(i),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&n.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&n.forEach(t=>t(e))},get(){return o.value},configurable:!0}),()=>{n.splice(n.indexOf(i),1)}}function u(){o||(o=f(),s(e));function i(){r(o)}function e(t){o.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",i)}return o}const c=u();export{c as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"923994c1-a7bd-4c91-b02b-513548587468","timestamp":1716805540691}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"923994c1-a7bd-4c91-b02b-513548587468","timestamp":1716805540691,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|