@nuxt/devtools-nightly 2.3.0-29030700.4e9da7f → 2.3.1-29049449.84e96a6

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.
Files changed (110) hide show
  1. package/dist/chunks/module-main.mjs +34 -25
  2. package/dist/chunks/vue-devtools.mjs +1 -0
  3. package/dist/client/200.html +21 -21
  4. package/dist/client/404.html +21 -21
  5. package/dist/client/_nuxt/__blank-mlfs714t.js +1 -0
  6. package/dist/client/_nuxt/analyze-build-l4u9vngr.js +1 -0
  7. package/dist/client/_nuxt/{assets-bol0psb8.js → assets-cya9ut8s.js} +3 -3
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/972fd647-8b28-4590-b53f-e511b82a966b.json +1 -0
  10. package/dist/client/_nuxt/{client-depgvswg.js → client-bqg1k5yt.js} +1 -1
  11. package/dist/client/_nuxt/{code-diff.vue-c2k4tt95.js → code-diff.vue-l37hbopl.js} +1 -1
  12. package/dist/client/_nuxt/{code-snippets.vue-ffujbfa1.js → code-snippets.vue-kphwmbok.js} +1 -1
  13. package/dist/client/_nuxt/components-f9g35efg.js +1 -0
  14. package/dist/client/_nuxt/composable-item.vue-fa4o8i1w.js +1 -0
  15. package/dist/client/_nuxt/custom-_name_-kud935h1.js +1 -0
  16. package/dist/client/_nuxt/{data-schema-button.vue-dndx7s2b.js → data-schema-button.vue-owkxziqe.js} +1 -1
  17. package/dist/client/_nuxt/{data-schema-drawer-cki7ange.js → data-schema-drawer-fxe24vza.js} +1 -1
  18. package/dist/client/_nuxt/debug-dwci872u.js +1 -0
  19. package/dist/client/_nuxt/{default-or8uzb2q.js → default-gyp6xcrp.js} +1 -1
  20. package/dist/client/_nuxt/{duration-display.vue-nwmxglh9.js → duration-display.vue-lb5nc1xj.js} +1 -1
  21. package/dist/client/_nuxt/{error-404-g23y711d.js → error-404-ivdr62t0.js} +1 -1
  22. package/dist/client/_nuxt/error-404.css-lr4x8rvs.css +1 -0
  23. package/dist/client/_nuxt/{error-500-h3hold74.js → error-500-cilmhs3z.js} +1 -1
  24. package/dist/client/_nuxt/error-500.css-k7guqst3.css +1 -0
  25. package/dist/client/_nuxt/{error-dmn8eenl.js → error-dhp600iy.js} +3 -3
  26. package/dist/client/_nuxt/{filepath-item.vue-e3mw6ihu.js → filepath-item.vue-k4a0mond.js} +1 -1
  27. package/dist/client/_nuxt/full-uvupzezn.js +1 -0
  28. package/dist/client/_nuxt/{help-fab.vue-ih4klrti.js → help-fab.vue-i4cbi170.js} +1 -1
  29. package/dist/client/_nuxt/hooks-o4a5f76f.js +1 -0
  30. package/dist/client/_nuxt/imports-bqpfk3t7.js +1 -0
  31. package/dist/client/_nuxt/{index-fogrfcrv.js → index-fc3ln0cj.js} +1 -1
  32. package/dist/client/_nuxt/{g6w16mwm.js → iqvenqyt.js} +7 -7
  33. package/dist/client/_nuxt/launch-page.vue-mko9c0yg.js +1 -0
  34. package/dist/client/_nuxt/modules-oseb196y.js +1 -0
  35. package/dist/client/_nuxt/nbadge-d2jfne2x.js +1 -0
  36. package/dist/client/_nuxt/{ncheckbox.vue-g46xga2z.js → ncheckbox.vue-c1ajbv0t.js} +1 -1
  37. package/dist/client/_nuxt/{ncode-block.vue-b8i8bs30.js → ncode-block.vue-h2q9yyre.js} +1 -1
  38. package/dist/client/_nuxt/{ndrawer.vue-necxfx94.js → ndrawer.vue-fxx19iyw.js} +1 -1
  39. package/dist/client/_nuxt/{ndropdown.vue-dfk99om4.js → ndropdown.vue-44hzetpc.js} +1 -1
  40. package/dist/client/_nuxt/{nicon-title.vue-j53icbz7.js → nicon-title.vue-oyhtd7jm.js} +1 -1
  41. package/dist/client/_nuxt/{nlink.vue-kmsl6pb2.js → nlink.vue-ngoq980d.js} +1 -1
  42. package/dist/client/_nuxt/{nmarkdown.vue-du6y1w8i.js → nmarkdown.vue-io3ubke7.js} +1 -1
  43. package/dist/client/_nuxt/{nnavbar.vue-jvh7fbv3.js → nnavbar.vue-bwg2euf2.js} +1 -1
  44. package/dist/client/_nuxt/none-b2nry902.js +1 -0
  45. package/dist/client/_nuxt/nsection-block-gfrcu8rt.js +1 -0
  46. package/dist/client/_nuxt/{nselect-tabs.vue-jfaeh8pr.js → nselect-tabs.vue-d8ehppwi.js} +1 -1
  47. package/dist/client/_nuxt/{nselect.vue-opjqwijx.js → nselect.vue-pfvee7y8.js} +1 -1
  48. package/dist/client/_nuxt/{nswitch.vue-b6shko7o.js → nswitch.vue-fl7pkx4a.js} +1 -1
  49. package/dist/client/_nuxt/{open-graph-pa9pq1qr.js → open-graph-ikmd0ho7.js} +2 -2
  50. package/dist/client/_nuxt/{overview-jhyvbe3c.js → overview-hohfrpf6.js} +1 -1
  51. package/dist/client/_nuxt/pages-ixkelo3v.js +1 -0
  52. package/dist/client/_nuxt/{payload-c3chiawh.js → payload-khtf05ho.js} +1 -1
  53. package/dist/client/_nuxt/pinia-cb8gug6o.js +1 -0
  54. package/dist/client/_nuxt/plugins-l6v6mk5w.js +1 -0
  55. package/dist/client/_nuxt/render-tree-oi5zjyn8.js +1 -0
  56. package/dist/client/_nuxt/{runtime-configs-cltz42gv.js → runtime-configs-eztdtakc.js} +1 -1
  57. package/dist/client/_nuxt/server-discovery-hc3olej4.js +1 -0
  58. package/dist/client/_nuxt/{server-route-inputs.vue-ji6lf974.js → server-route-inputs.vue-hr8dty3m.js} +1 -1
  59. package/dist/client/_nuxt/server-routes-kv3oef8u.js +9 -0
  60. package/dist/client/_nuxt/server-tasks-ib29kkg7.js +1 -0
  61. package/dist/client/_nuxt/settings-exw11d0g.js +1 -0
  62. package/dist/client/_nuxt/{stacktrace-list.vue-bjfe0xq3.js → stacktrace-list.vue-cwat1djs.js} +1 -1
  63. package/dist/client/_nuxt/{state-components-c3s0t274.js → state-components-d05ai5jc.js} +1 -1
  64. package/dist/client/_nuxt/state-editor.vue-lfrj58p2.js +1 -0
  65. package/dist/client/_nuxt/state-modules-n04tp7bp.js +1 -0
  66. package/dist/client/_nuxt/storage-b83iamtk.js +1 -0
  67. package/dist/client/_nuxt/{terminals-if5ocl8m.js → terminals-hirtnjgz.js} +1 -1
  68. package/dist/client/_nuxt/timeline-jrssow4w.js +31 -0
  69. package/dist/client/_nuxt/{unocss-runtime-ovsm21fl.js → unocss-runtime-bag0aauk.js} +1 -1
  70. package/dist/client/_nuxt/vendor/{json-editor-vue-j95m40pi.js → json-editor-vue-huf8dypo.js} +25 -25
  71. package/dist/client/_nuxt/vendor/{quicktype-core-eilmqyuc.js → quicktype-core-klbd9u2j.js} +1 -1
  72. package/dist/client/_nuxt/vendor/{unocss-k3376dad.js → unocss-e7oqigho.js} +2 -2
  73. package/dist/client/_nuxt/virtual-files-cppbk82w.js +1 -0
  74. package/dist/client/_nuxt/vue-devtools-c1ih9dap.js +2 -0
  75. package/dist/client/_nuxt/{vue-virtual-scroller.esm-hp3a40lw.js → vue-virtual-scroller.esm-bjuzk3oj.js} +1 -1
  76. package/dist/client/discovery/index.html +2 -2
  77. package/dist/client/index.html +21 -21
  78. package/dist/module.json +1 -1
  79. package/package.json +15 -15
  80. package/dist/client/_nuxt/__blank-gnbkcaj6.js +0 -1
  81. package/dist/client/_nuxt/analyze-build-disuv9nz.js +0 -1
  82. package/dist/client/_nuxt/builds/meta/93e96002-53ee-435d-a786-291071f13d10.json +0 -1
  83. package/dist/client/_nuxt/components-j46hsiw6.js +0 -1
  84. package/dist/client/_nuxt/composable-item.vue-cuunc6tb.js +0 -1
  85. package/dist/client/_nuxt/custom-_name_-m8tbyr3m.js +0 -1
  86. package/dist/client/_nuxt/debug-lynjvm10.js +0 -1
  87. package/dist/client/_nuxt/error-404.css-gqth5ww7.css +0 -1
  88. package/dist/client/_nuxt/error-500.css-n3cvcfas.css +0 -1
  89. package/dist/client/_nuxt/full-ec5mvazg.js +0 -1
  90. package/dist/client/_nuxt/hooks-hwn6jk4a.js +0 -1
  91. package/dist/client/_nuxt/imports-efj7xgz0.js +0 -1
  92. package/dist/client/_nuxt/launch-page.vue-f6hj2bc3.js +0 -1
  93. package/dist/client/_nuxt/modules-hftfxvci.js +0 -1
  94. package/dist/client/_nuxt/nbadge-i5wffxg9.js +0 -1
  95. package/dist/client/_nuxt/none-ntgsy5tv.js +0 -1
  96. package/dist/client/_nuxt/nsection-block-bhn7y6bo.js +0 -1
  97. package/dist/client/_nuxt/pages-fxnclk3t.js +0 -1
  98. package/dist/client/_nuxt/pinia-kmdpc7ln.js +0 -1
  99. package/dist/client/_nuxt/plugins-lb7qytta.js +0 -1
  100. package/dist/client/_nuxt/render-tree-wziqd59x.js +0 -1
  101. package/dist/client/_nuxt/server-discovery-o0ldqsnp.js +0 -1
  102. package/dist/client/_nuxt/server-routes-fehe38cs.js +0 -9
  103. package/dist/client/_nuxt/server-tasks-kncc9k4m.js +0 -1
  104. package/dist/client/_nuxt/settings-o6lsd2bc.js +0 -1
  105. package/dist/client/_nuxt/state-editor.vue-cq4ztvym.js +0 -1
  106. package/dist/client/_nuxt/state-modules-lthv67yt.js +0 -1
  107. package/dist/client/_nuxt/storage-fwtb7h5r.js +0 -1
  108. package/dist/client/_nuxt/timeline-jdllc5o8.js +0 -31
  109. package/dist/client/_nuxt/virtual-files-nqyqxb02.js +0 -1
  110. package/dist/client/_nuxt/vue-devtools-g0ipgwgp.js +0 -2
@@ -1,2 +1,2 @@
1
- import{a as ot}from"./json-editor-vue-j95m40pi.js";const it=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,at=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ct=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function lt(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ft(e);return}return t}function ft(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ut(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!ct.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(it.test(e)||at.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,lt)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const ht=/#/g,dt=/&/g,pt=/\//g,mt=/=/g,pe=/\+/g,gt=/%5e/gi,yt=/%60/gi,wt=/%7c/gi,Ct=/%20/gi;function bt(e){return encodeURI(""+e).replace(wt,"|")}function fe(e){return bt(typeof e=="string"?e:JSON.stringify(e)).replace(pe,"%2B").replace(Ct,"+").replace(ht,"%23").replace(dt,"%26").replace(yt,"`").replace(gt,"^").replace(pt,"%2F")}function te(e){return fe(e).replace(mt,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vt(e){return Q(e.replace(pe," "))}function St(e){return Q(e.replace(pe," "))}function Et(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=vt(n[1]);if(s==="__proto__"||s==="constructor")continue;const i=St(n[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function $t(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${te(e)}=${fe(r)}`).join("&"):`${te(e)}=${fe(t)}`:te(e)}function At(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>$t(t,e[t])).filter(Boolean).join("&")}const xt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ft=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_t=/^([/\\]\s*){2,}[^/\\]/,Ot=/^[\s\0]*(blob|data|javascript|vbscript):$/i,jt=/\/$|\/\?|\/#/,Rt=/^\.?\//;function me(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xt.test(e):Ft.test(e)||(t.acceptRelative?_t.test(e):!1)}function dn(e){return!!e&&Ot.test(e)}function ue(e="",t){return t?jt.test(e):e.endsWith("/")}function qe(e="",t){if(!t)return(ue(e)?e.slice(0,-1):e)||"/";if(!ue(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");s>=0&&(r=e.slice(0,s),n=e.slice(s));const[i,...u]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(u.length>0?`?${u.join("?")}`:"")+n}function he(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ue(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");if(s>=0&&(r=e.slice(0,s),n=e.slice(s),!r))return n;const[i,...u]=r.split("?");return i+"/"+(u.length>0?`?${u.join("?")}`:"")+n}function kt(e=""){return e.startsWith("/")}function we(e=""){return kt(e)?e:"/"+e}function Tt(e,t){if(Be(t)||me(e))return e;const r=qe(t);return e.startsWith(r)?e:It(r,e)}function pn(e,t){if(Be(t))return e;const r=qe(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function Mt(e,t){const r=Pt(e),n={...Et(r.search),...t};return r.search=At(n),Nt(r)}function Be(e){return!e||e==="/"}function Lt(e){return e&&e!=="/"}function It(e,...t){let r=e||"";for(const n of t.filter(s=>Lt(s)))if(r){const s=n.replace(Rt,"");r=he(r)+s}else r=n;return r}function mn(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let s=0;for(const u of r)if(!(!u||u==="/")){for(const[l,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(n.length===1&&me(n[0]))continue;n.pop(),s--;continue}if(l===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+f;continue}n.push(f),s++}}let i=n.join("/");return s>=0?r[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:r[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,r[r.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function gn(e,t,r={}){return r.trailingSlash||(e=he(e),t=he(t)),r.leadingSlash||(e=we(e),t=we(t)),r.encoding||(e=Q(e),t=Q(t)),e===t}const Ue=Symbol.for("ufo:protocolRelative");function Pt(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,a,h=""]=r;return{protocol:a.toLowerCase(),pathname:h,href:a+h,auth:"",host:"",search:"",hash:""}}if(!me(e,{acceptRelative:!0}))return Ce(e);const[,n="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:f,search:c,hash:o}=Ce(l);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:u,pathname:f,search:c,hash:o,[Ue]:!n}}function Ce(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Nt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Ue]?(e.protocol||"")+"//":"")+s+i+t+r+n}class Dt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function zt(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",s=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",u=`${s}: ${i}${t?` ${t}`:""}`,l=new Dt(u,e.error?{cause:e.error}:void 0);for(const f of["request","options","response"])Object.defineProperty(l,f,{get(){return e[f]}});for(const[f,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,f,{get(){return e.response&&e.response[c]}});return l}const qt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function be(e="GET"){return qt.has(e.toUpperCase())}function Bt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Ut=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Wt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vt.test(t)?"json":Ut.has(t)||t.startsWith("text/")?"text":"blob"}function Ht(e,t,r,n){const s=Gt(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:s}}function Gt(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(s,i);return n}async function U(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Jt=new Set([408,409,425,429,500,502,503,504]),Qt=new Set([101,204,205,304]);function Ve(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function s(l){const f=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!f){let o;typeof l.options.retry=="number"?o=l.options.retry:o=be(l.options.method)?0:1;const a=l.response&&l.response.status||500;if(o>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(a):Jt.has(a))){const h=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),i(l.request,{...l.options,retry:o-1})}}const c=zt(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(f,c={}){const o={request:f,options:Ht(f,c,e.defaults,r),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await U(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Tt(o.request,o.options.baseURL)),o.options.query&&(o.request=Mt(o.request,o.options.query),delete o.options.query),"query"in o.options&&delete o.options.query,"params"in o.options&&delete o.options.params),o.options.body&&be(o.options.method)&&(Bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let a;if(!o.options.signal&&o.options.timeout){const d=new n;a=setTimeout(()=>{const y=new Error("[TimeoutError]: The operation was aborted due to timeout");y.name="TimeoutError",y.code=23,d.abort(y)},o.options.timeout),o.options.signal=d.signal}try{o.response=await t(o.request,o.options)}catch(d){return o.error=d,o.options.onRequestError&&await U(o,o.options.onRequestError),await s(o)}finally{a&&clearTimeout(a)}if((o.response.body||o.response._bodyInit)&&!Qt.has(o.response.status)&&o.options.method!=="HEAD"){const d=(o.options.parseResponse?"json":o.options.responseType)||Wt(o.response.headers.get("content-type")||"");switch(d){case"json":{const y=await o.response.text(),g=o.options.parseResponse||ut;o.response._data=g(y);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[d]()}}return o.options.onResponse&&await U(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await U(o,o.options.onResponseError),await s(o)):o.response},u=async function(f,c){return(await i(f,c))._data};return u.raw=i,u.native=(...l)=>t(...l),u.create=(l={},f={})=>Ve({...e,...f,defaults:{...e.defaults,...f.defaults,...l}}),u}const K=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Kt=K.fetch?(...e)=>K.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Yt=K.Headers,Xt=K.AbortController,Zt=Ve({fetch:Kt,Headers:Yt,AbortController:Xt}),er=Zt,tr=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),We=Object.freeze({...tr,...Y}),rr=Object.freeze({...We,body:"",hidden:!1}),nr=Object.freeze({width:null,height:null}),He=Object.freeze({...nr,...Y});function sr(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ve(e,t){const r=sr(e,t);for(const n in rr)n in Y?n in e&&!(n in r)&&(r[n]=Y[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function or(e,t){const r=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);function i(u){if(r[u])return s[u]=[];if(!(u in s)){s[u]=null;const l=n[u]&&n[u].parent,f=l&&i(l);f&&(s[u]=[l].concat(f))}return s[u]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function Se(e,t,r){const n=e.icons,s=e.aliases||Object.create(null);let i={};function u(l){i=ve(n[l]||s[l],i)}return u(t),r.forEach(u),ve(e,i)}function ir(e,t){if(e.icons[t])return Se(e,t,[]);const r=or(e,[t])[t];return r?Se(e,t,r):null}const ar=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function X(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(ar);if(n===null||!n.length)return e;const s=[];let i=n.shift(),u=cr.test(i);for(;;){if(u){const l=parseFloat(i);isNaN(l)?s.push(i):s.push(Math.ceil(l*t*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");u=!u}}function lr(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const s=e.indexOf(">",n),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const u=e.indexOf(">",i);if(u===-1)break;r+=e.slice(s+1,i).trim(),e=e.slice(0,n).trim()+e.slice(u+1)}return{defs:r,content:e}}function fr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function ur(e,t,r){const n=lr(e);return fr(n.defs,t+n.content+r)}const ge=e=>e==="unset"||e==="undefined"||e==="none";function hr(e,t){const r={...We,...e},n={...He,...t},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(g=>{const m=[],E=g.hFlip,C=g.vFlip;let v=g.rotate;E?C?v+=2:(m.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),m.push("scale(-1 1)"),s.top=s.left=0):C&&(m.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),m.push("scale(1 -1)"),s.top=s.left=0);let $;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:$=s.height/2+s.top,m.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:m.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:$=s.width/2+s.left,m.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}v%2===1&&(s.left!==s.top&&($=s.left,s.left=s.top,s.top=$),s.width!==s.height&&($=s.width,s.width=s.height,s.height=$)),m.length&&(i=ur(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const u=n.width,l=n.height,f=s.width,c=s.height;let o,a;u===null?(a=l===null?"1em":l==="auto"?c:l,o=X(a,f/c)):(o=u==="auto"?f:u,a=l===null?X(o,c/f):l==="auto"?c:l);const h={},d=(g,m)=>{ge(m)||(h[g]=m.toString())};d("width",o),d("height",a);const y=[s.left,s.top,f,c];return h.viewBox=y.join(" "),{attributes:h,viewBox:y,body:i}}function dr(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ee(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),dr(t)}function pr(e){return e.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 mr=/\swidth\s*=\s*["']([\w.]+)["']/,gr=/\sheight\s*=\s*["']([\w.]+)["']/,re=/<svg\s+/;function yr(e,t,r){const n=e.slice(0,e.indexOf(">")),s=(i,u)=>{const l=u.exec(n),f=l!=null,c=t[i];return!c&&!ge(c)&&(typeof r=="number"?r>0&&(t[i]=X(l?.[1]??"1em",r)):l&&(t[i]=l[1])),f};return[s("width",mr),s("height",gr)]}async function Ge(e,t,r,n,s,i){const{scale:u,addXmlNs:l=!1}=n??{},{additionalProps:f={},iconCustomizer:c}=n?.customizations??{},o=await s?.()??{};await c?.(t,r,o),Object.keys(f).forEach(g=>{const m=f[g];m!=null&&(o[g]=m)}),i?.(o);const[a,h]=yr(e,o,u);l&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(o).map(g=>g==="width"&&a||g==="height"&&h?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(d.length&&(e=e.replace(re,`<svg ${d.join(" ")} `)),n){const{defaultStyle:g,defaultClass:m}=n;m&&!e.includes("class=")&&(e=e.replace(re,`<svg class="${m}" `)),g&&!e.includes("style=")&&(e=e.replace(re,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(f).forEach(g=>{const m=o[g];m!=null&&(y[g]=m)}),typeof o.width<"u"&&o.width!==null&&(y.width=o.width),typeof o.height<"u"&&o.height!==null&&(y.height=o.height)),e}var V={exports:{}},ne,$e;function wr(){if($e)return ne;$e=1;var e=1e3,t=e*60,r=t*60,n=r*24,s=n*7,i=n*365.25;ne=function(o,a){a=a||{};var h=typeof o;if(h==="string"&&o.length>0)return u(o);if(h==="number"&&isFinite(o))return a.long?f(o):l(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function u(o){if(o=String(o),!(o.length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(a){var h=parseFloat(a[1]),d=(a[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return h*i;case"weeks":case"week":case"w":return h*s;case"days":case"day":case"d":return h*n;case"hours":case"hour":case"hrs":case"hr":case"h":return h*r;case"minutes":case"minute":case"mins":case"min":case"m":return h*t;case"seconds":case"second":case"secs":case"sec":case"s":return h*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function l(o){var a=Math.abs(o);return a>=n?Math.round(o/n)+"d":a>=r?Math.round(o/r)+"h":a>=t?Math.round(o/t)+"m":a>=e?Math.round(o/e)+"s":o+"ms"}function f(o){var a=Math.abs(o);return a>=n?c(o,a,n,"day"):a>=r?c(o,a,r,"hour"):a>=t?c(o,a,t,"minute"):a>=e?c(o,a,e,"second"):o+" ms"}function c(o,a,h,d){var y=a>=h*1.5;return Math.round(o/h)+" "+d+(y?"s":"")}return ne}var se,Ae;function Cr(){if(Ae)return se;Ae=1;function e(t){n.debug=n,n.default=n,n.coerce=c,n.disable=l,n.enable=i,n.enabled=f,n.humanize=wr(),n.destroy=o,Object.keys(t).forEach(a=>{n[a]=t[a]}),n.names=[],n.skips=[],n.formatters={};function r(a){let h=0;for(let d=0;d<a.length;d++)h=(h<<5)-h+a.charCodeAt(d),h|=0;return n.colors[Math.abs(h)%n.colors.length]}n.selectColor=r;function n(a){let h,d=null,y,g;function m(...E){if(!m.enabled)return;const C=m,v=Number(new Date),$=v-(h||v);C.diff=$,C.prev=h,C.curr=v,h=v,E[0]=n.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let x=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(p,b)=>{if(p==="%%")return"%";x++;const S=n.formatters[b];if(typeof S=="function"){const M=E[x];p=S.call(C,M),E.splice(x,1),x--}return p}),n.formatArgs.call(C,E),(C.log||n.log).apply(C,E)}return m.namespace=a,m.useColors=n.useColors(),m.color=n.selectColor(a),m.extend=s,m.destroy=n.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(a)),g),set:E=>{d=E}}),typeof n.init=="function"&&n.init(m),m}function s(a,h){const d=n(this.namespace+(typeof h>"u"?":":h)+a);return d.log=this.log,d}function i(a){n.save(a),n.namespaces=a,n.names=[],n.skips=[];const h=(typeof a=="string"?a:"").trim().replace(" ",",").split(",").filter(Boolean);for(const d of h)d[0]==="-"?n.skips.push(d.slice(1)):n.names.push(d)}function u(a,h){let d=0,y=0,g=-1,m=0;for(;d<a.length;)if(y<h.length&&(h[y]===a[d]||h[y]==="*"))h[y]==="*"?(g=y,m=d,y++):(d++,y++);else if(g!==-1)y=g+1,m++,d=m;else return!1;for(;y<h.length&&h[y]==="*";)y++;return y===h.length}function l(){const a=[...n.names,...n.skips.map(h=>"-"+h)].join(",");return n.enable(""),a}function f(a){for(const h of n.skips)if(u(a,h))return!1;for(const h of n.names)if(u(a,h))return!0;return!1}function c(a){return a instanceof Error?a.stack||a.message:a}function o(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return se=e,se}var xe;function br(){return xe||(xe=1,function(e,t){var r={};t.formatArgs=s,t.save=i,t.load=u,t.useColors=n,t.storage=l(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;c.splice(1,0,o,"color: inherit");let a=0,h=0;c[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(a++,d==="%c"&&(h=a))}),c.splice(h,0,o)}t.log=console.debug||console.log||(()=>{});function i(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function u(){let c;try{c=t.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}function l(){try{return localStorage}catch{}}e.exports=Cr()(t);const{formatters:f}=e.exports;f.j=function(c){try{return JSON.stringify(c)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}}(V,V.exports)),V.exports}var vr=br();const Je=ot(vr),Sr=Je("@iconify-loader:custom");async function Fe(e,t,r,n){let s;Sr(`${t}:${r}`);try{if(typeof e=="function")s=await e(r);else{const i=e[r];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:u}=n?.customizations??{};return s=typeof u=="function"?await u(s,t,r):s,s.startsWith("<svg")?await Ge(n?.customizations?.trimCustomSvg===!0?pr(s):s,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),s)}}const Er=Je("@iconify-loader:icon");async function Qe(e,t,r,n){let s;const{customize:i}=n?.customizations??{};for(const u of r)if(s=ir(e,u),s){Er(`${t}:${u}`);let l={...He};typeof i=="function"&&(s=Object.assign({},s),l=i(l,s,`${t}:${u}`)??l);const{attributes:{width:f,height:c,...o},body:a}=hr(s,l),h=n?.scale;return await Ge(`<svg >${a}</svg>`,t,u,n,()=>({...o}),d=>{const y=(g,m)=>{const E=d[g];let C;if(!ge(E)){if(E)return;typeof h=="number"?h&&(C=X(m??"1em",h)):C=m}C?d[g]=C:delete d[g]};y("width",f),y("height",c)})}}const Ke=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let s;try{s=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(s){if(typeof s=="string")return await Fe(()=>s,e,t,r);if("icons"in s){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Qe(s,e,i,r)}}}else return await Fe(n,e,t,r)},G="default",de="preflights",$r="shortcuts",Ar="imports",xr={[Ar]:-200,[de]:-100,[$r]:-10,[G]:0},Fr=/[\\:]?[\s'"`;{}]+/g;function _r(e){return e.split(Fr)}const Or={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return _r(e)}};function T(e=[]){return Array.isArray(e)?e:[e]}function N(e){return Array.from(new Set(e))}function _e(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function R(e){return typeof e=="string"}class Ye extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function oe(e){return e instanceof Ye}function jr(e){const t=e.length;let r=-1,n,s="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){s+="�";continue}if(n===37){s+="\\%";continue}if(n===44){s+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){s+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){s+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=e.charAt(r);continue}s+=`\\${e.charAt(r)}`}return s}const ie=jr;function Rr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function kr(e){return typeof e=="function"?{match:e}:e}function Oe(e){return e.length===3}function ae(e){return e!=null}function Tr(){}class Mr{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(r)||s.set(r,n),s.get(r)}set(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,i])=>t(i,r,s)))}}class Lr extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,s)=>{r.push(t(n,s))}),r}flatMap(t){const r=[];return this.forEach((n,s)=>{r.push(...t(n,s))}),r}}function q(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ir(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function Pr(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(e[s][0]===t&&e[s][1]===r)return!1;return!0})}function ce(e){return e==null?"":Pr(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function W(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Xe(e,t,r=!1){const n=e,s=t;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const i={...n};return W(n)&&W(s)&&Object.keys(s).forEach(u=>{W(n[u])&&W(s[u])||Array.isArray(n[u])&&Array.isArray(s[u])?i[u]=Xe(n[u],s[u],r):Object.assign(i,{[u]:s[u]})}),i}function J(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:J(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}return e}function Nr(e){return R(e[0])}function Dr(e){return R(e[0])}const H={};function zr(e=["-",":"]){const t=e.join("|");return H[t]||(H[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),H[t].lastIndex=0,H[t]}function qr(e,t=["-",":"],r=5){const n=zr(t);let s,i=e.toString();const u=new Set,l=new Map;do s=!1,i=i.replace(n,(c,o,a,h,d)=>{if(!t.includes(a))return c;s=!0,u.add(o+a);const y=d+o.length+a.length+1,g={length:c.length,items:[]};l.set(d,g);for(const m of[...h.matchAll(/\S+/g)]){const E=y+m.index;let C=l.get(E)?.items;C?l.delete(E):C=[{offset:E,length:m[0].length,className:m[0]}];for(const v of C)v.className=v.className==="~"?o:v.className.replace(/^(!?)(.*)/,`$1${o}${a}$2`),g.items.push(v)}return"$".repeat(c.length)}),r-=1;while(s&&r);let f;if(typeof e=="string"){f="";let c=0;for(const[o,a]of l)f+=e.slice(c,o),f+=a.items.map(h=>h.className).join(" "),c=o+a.length;f+=e.slice(c)}else{f=e;for(const[c,o]of l)f.overwrite(c,c+o.length,o.items.map(a=>a.className).join(" "))}return{prefixes:Array.from(u),hasChanged:s,groupsByOffset:l,get expanded(){return f.toString()}}}function Br(e,t=["-",":"],r=5){const n=qr(e,t,r);return typeof e=="string"?n.expanded:e}const je=new Set;function Ze(e){je.has(e)||(console.warn("[unocss]",e),je.add(e))}function et(e){return T(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const Re="_uno_resolved";async function Ur(e){let t=typeof e=="function"?await e():await e;if(Re in t)return t;t={...t},Object.defineProperty(t,Re,{value:!0,enumerable:!1});const r=t.shortcuts?et(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=s=>{s[2]||(s[2]={});const i=s[2];i.prefix==null&&t.prefix&&(i.prefix=T(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function tt(e){const t=await Ur(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(T).flatMap(tt))).flat();return[t,...r]}function Vr(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const s=[],i=[],u=[];for(const f of e){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&t.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&i.push(f.inline),f.plain&&u.push(f.plain)}const l={pipeline:n?!1:{include:N(Te(...t)),exclude:N(Te(...r))}};return s.length&&(l.filesystem=N(s.flat())),i.length&&(l.inline=N(i.flat())),u.length&&(l.plain=N(u.flat())),l}async function ke(e={},t={}){const r=Object.assign({},t,e),n=_e((await Promise.all((r.presets||[]).flatMap(T).flatMap(tt))).flat(),(w,p)=>w.name===p.name),s=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...s,r],u=[...i].reverse(),l=Object.assign({},xr,...i.map(w=>w.layers));function f(w){return N(i.flatMap(p=>T(p[w]||[])))}const c=f("extractors");let o=u.find(w=>w.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Or),o&&!c.includes(o)&&c.unshift(o),c.sort((w,p)=>(w.order||0)-(p.order||0));const a=f("rules"),h={},d=a.length,y=a.filter(w=>Nr(w)?(T(w[2]?.prefix||"").forEach(b=>{h[b+w[0]]=w}),!1):!0).reverse();let g=Wr(i.map(w=>w.theme));const m=f("extendTheme");for(const w of m)g=w(g)||g;const E={templates:N(i.flatMap(w=>T(w.autocomplete?.templates))),extractors:i.flatMap(w=>T(w.autocomplete?.extractors)).sort((w,p)=>(w.order||0)-(p.order||0)),shorthands:Hr(i.map(w=>w.autocomplete?.shorthands||{}))};let C=f("separators");C.length||(C=[":","-"]);const v=f("content"),$=Vr(v),x={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:f("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:l,theme:g,rules:a,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:f("preprocess"),postprocess:f("postprocess"),preflights:f("preflights"),autocomplete:E,variants:f("variants").map(kr).sort((w,p)=>(w.order||0)-(p.order||0)),shortcuts:et(f("shortcuts")).reverse(),extractors:c,safelist:f("safelist"),separators:C,details:r.details??r.envMode==="dev",content:$,transformers:_e(f("transformers"),(w,p)=>w.name===p.name)};for(const w of i)w?.configResolved?.(x);return x}function Wr(e){return e.map(t=>t?J(t):{}).reduce((t,r)=>Xe(t,r),{})}function Hr(e){return e.reduce((t,r)=>{const n={};for(const s in r){const i=r[s];Array.isArray(i)?n[s]=`(${i.join("|")})`:n[s]=i}return{...t,...n}},{})}function Te(...e){return e.flatMap(Gr)}function Gr(e){return Array.isArray(e)?e:e?[e]:[]}const Jr="66.0.0",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class ye{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=Jr;events=Rr();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new ye(t,r);return n.config=await ke(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await ke(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const s={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const u=await i.extract?.(s);if(u)if(oe(u)&&oe(n))for(const l of u)n.setCount(l,n.getCount(l)+u.getCount(l));else for(const l of u)n.add(l)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:z,variantHandlers:r[2],constructCSS:(...s)=>this.constructCustomCSS(n,...s),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let s=t;for(const f of this.config.preprocess)s=f(t);if(this.isBlocked(s)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,s);if(i.every(f=>!f||this.isBlocked(f[1]))){this.blocked.add(t),this.cache.set(n,null);return}const u=async f=>{const c=this.makeContext(t,[r||f[0],f[1],f[2],f[3]]);this.config.details&&(c.variants=[...f[3]]);const o=await this.expandShortcut(c.currentSelector,c);return o?await this.stringifyShortcuts(c.variantMatch,c,o[0],o[1]):(await this.parseUtil(c.variantMatch,c))?.map(h=>this.stringifyUtil(h,c)).filter(ae)},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l?.length)return this.cache.set(n,l),l;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:s,preflights:i=!0,safelist:u=!0,minify:l=!1,extendedInfo:f=!1}=r,c=R(t)?await this.applyExtractors(t,n,f?new Ye:new Set):Array.isArray(t)?new Set(t):t;if(u){const p={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(p):b).forEach(b=>{c.has(b)||c.add(b)})}const o=l?"":`
2
- `,a=new Set([G]),h=f?new Map:new Set,d=new Map;let y={};const g=Array.from(c).map(async p=>{if(h.has(p))return;const b=await this.parseToken(p);if(b!=null){h instanceof Map?h.set(p,{data:b,count:oe(c)?c.getCount(p):-1}):h.add(p);for(const S of b){const M=S[3]||"",L=S[4]?.layer;d.has(M)||d.set(M,[]),d.get(M).push(S),L&&a.add(L)}}});await Promise.all(g),await(async()=>{if(!i)return;const p={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:S=de})=>{a.add(S),b.add(S)}),y=Object.fromEntries(await Promise.all(Array.from(b).map(async S=>{const L=(await Promise.all(this.config.preflights.filter(I=>(I.layer||de)===S).map(async I=>await I.getCSS(p)))).filter(Boolean).join(o);return[S,L]})))})();const m=this.config.sortLayers(Array.from(a).sort((p,b)=>(this.config.layers[p]??0)-(this.config.layers[b]??0)||p.localeCompare(b))),E={},C=this.config.outputToCssLayers,v=p=>{let b=p;return typeof C=="object"&&(b=C.cssLayerName?.(p)),b===null?null:b??p},$=(p=G)=>{if(E[p])return E[p];let b=Array.from(d).sort((L,I)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(I[0])??0)||L[0]?.localeCompare(I[0]||"")||0).map(([L,I])=>{const A=I.length,_=I.filter(F=>(F[4]?.layer||G)===p).sort((F,k)=>F[0]-k[0]||(F[4]?.sort||0)-(k[4]?.sort||0)||F[5]?.currentSelector?.localeCompare(k[5]?.currentSelector??"")||F[1]?.localeCompare(k[1]||"")||F[2]?.localeCompare(k[2]||"")||0).map(([,F,k,,B,,Z])=>[[[(F&&Yr(F,s))??"",B?.sort??0]],k,!!(Z??B?.noMerge)]);if(!_.length)return;const O=_.reverse().map(([F,k,B],Z)=>{if(!B&&this.config.mergeSelectors)for(let D=Z+1;D<A;D++){const P=_[D];if(P&&!P[2]&&(F&&P[0]||F==null&&P[0]==null)&&P[1]===k)return F&&P[0]&&P[0].push(...F),null}const ee=F?N(F.sort((D,P)=>D[1]-P[1]||D[0]?.localeCompare(P[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return ee.length?`${ee.join(`,${o}`)}{${k}}`:k}).filter(Boolean).reverse().join(o);if(!L)return O;const j=L.split(" $$ ");return`${j.join("{")}{${o}${O}${o}${"}".repeat(j.length)}`}).filter(Boolean).join(o);i&&(b=[y[p],b].filter(Boolean).join(o));let S;C&&b&&(S=v(p),S!==null&&(b=`@layer ${S}{${o}${b}${o}}`));const M=l?"":`/* layer: ${p}${S&&S!==p?`, alias: ${S}`:""} */${o}`;return E[p]=b?M+b:""},x=(p=m,b)=>{const S=p.filter(M=>!b?.includes(M));return[C&&S.length>0?`@layer ${S.map(v).filter(ae).join(", ")};`:void 0,...S.map(M=>$(M)||"")].filter(Boolean).join(o)};return{get css(){return x()},layers:m,matched:h,getLayers:x,getLayer:$,setLayer:async(p,b)=>{const S=await b($(p));return E[p]=S,S}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let u=!0;const[,,l,f]=i;for(;u;){u=!1;const c=i[1];for(const o of this.config.variants){if(!o.multiPass&&f.has(o))continue;let a=await o.match(c,n);if(a){if(R(a)){if(a===c)continue;a={matcher:a}}if(Array.isArray(a)){if(!a.length)continue;if(a.length===1)a=a[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const h=a.map(d=>{const y=d.matcher??c,g=[d,...l],m=new Set(f);return m.add(o),[i[0],y,g,m]});return(await Promise.all(h.map(d=>s(d)))).flat()}}i[1]=a.matcher??c,l.unshift(a),f.add(o),u=!0;break}}if(!u)break;if(l.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await s([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((c,o)=>(c.order||0)-(o.order||0)).reduceRight((c,o)=>a=>{const h=o.body?.(a.entries)||a.entries,d=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??Zr)({...a,entries:h,selector:o.selector?.(a.selector,h)||a.selector,parent:d[0]||a.parent,parentOrder:d[1]||a.parentOrder,layer:o.layer||a.layer,sort:o.sort||a.sort},c)},c=>c)({prefix:"",selector:Xr(n),pseudo:"",entries:t[2]}),{parent:u,parentOrder:l}=i;u!=null&&l!=null&&this.parentOrders.set(u,l);const f={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:u,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const c of this.config.postprocess)c(f);return f}constructCustomCSS(t,r,n){const s=q(r);if(R(s))return s;const{selector:i,entries:u,parent:l}=this.applyVariants([0,n||t.rawSelector,s,void 0,t.variantHandlers]),f=`${i}{${ce(u)}}`;return l?`${l}{${f}}`:f}async parseUtil(t,r,n=!1,s){const i=R(t)?await this.matchVariants(t):[t],u=async([f,c,o])=>{this.config.details&&(r.rules=r.rules??[]);const a=this.config.rulesStaticMap[c];if(a&&a[1]&&(n||!a[2]?.internal)){r.generator.activatedRules.add(a),this.config.details&&r.rules.push(a);const d=this.config.rules.indexOf(a),y=q(a[1]),g=a[2];return R(y)?[[d,y,g]]:[[d,f,y,g,o]]}r.variantHandlers=o;const{rulesDynamic:h}=this.config;for(const d of h){const[y,g,m]=d;if(m?.internal&&!n)continue;let E=c;if(m?.prefix){const x=T(m.prefix);if(s){const w=T(s);if(!x.some(p=>w.includes(p)))continue}else{const w=x.find(p=>c.startsWith(p));if(w==null)continue;E=c.slice(w.length)}}const C=E.match(y);if(!C)continue;let v=await g(C,r);if(!v)continue;if(r.generator.activatedRules.add(d),this.config.details&&r.rules.push(d),typeof v!="string")if(Symbol.asyncIterator in v){const x=[];for await(const w of v)w&&x.push(w);v=x}else Symbol.iterator in v&&!Array.isArray(v)&&(v=Array.from(v).filter(ae));const $=Ir(v).filter(x=>x.length);if($.length){const x=this.config.rules.indexOf(d);return $.map(w=>{if(R(w))return[x,w,m];let p=o,b=m;for(const S of w)S[0]===z.variants?p=[...T(S[1]),...p]:S[0]===z.parent?p=[{parent:S[1]},...p]:S[0]===z.selector?p=[{selector:S[1]},...p]:S[0]===z.layer?p=[{layer:S[1]},...p]:S[0]===z.sort&&(b={...b,sort:S[1]});return[x,f,w,b,p]})}}},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l.length)return l}stringifyUtil(t,r){if(!t)return;if(Oe(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:i,layer:u,sort:l,noMerge:f}=this.applyVariants(t),c=ce(s);if(!c)return;const{layer:o,sort:a,...h}=t[3]??{},d={...h,layer:u??o,sort:l??a};return[t[0],n,c,i,d,this.config.details?r:void 0,f]}async expandShortcut(t,r,n=5){if(n===0)return;const s=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Tr;let i,u,l,f;for(const c of this.config.shortcuts){let o=t;if(c[2]?.prefix){const h=T(c[2].prefix).find(d=>t.startsWith(d));if(h==null)continue;o=t.slice(h.length)}if(Dr(c)){if(c[0]===o){i=i||c[2],u=c[1],s(c);break}}else{const a=o.match(c[0]);if(a&&(u=c[1](a,r)),u){i=i||c[2],s(c);break}}}if(u&&(l=N(T(u).filter(R).map(c=>Br(c.trim()).split(/\s+/g)).flat()),f=T(u).filter(c=>!R(c)).map(c=>({handles:[],value:c}))),!u){const c=R(t)?await this.matchVariants(t):[t];for(const o of c){const[a,h,d]=o;if(a!==h){const y=await this.expandShortcut(h,r,n-1);y&&(l=y[0].filter(R).map(g=>a.replace(h,g)),f=y[0].filter(g=>!R(g)).map(g=>({handles:[...g.handles,...d],value:g.value})))}}}if(!(!l?.length&&!f?.length))return[[await Promise.all(T(l).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),f].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,r,n,s={layer:this.config.shortcutsLayer}){const i=new Lr,u=(await Promise.all(N(n).map(async o=>{const a=R(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",q(o.value),void 0,o.handles]];return!a&&this.config.warn&&Ze(`unmatched utility "${o}" in shortcut "${t[1]}"`),a||[]}))).flat(1).filter(Boolean).sort((o,a)=>o[0]-a[0]),[l,,f]=t,c=[];for(const o of u){if(Oe(o)){c.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:a,entries:h,parent:d,sort:y,noMerge:g,layer:m}=this.applyVariants(o,[...o[4],...f],l);i.getFallback(m??s.layer,new Mr).getFallback(a,d,[[],o[0]])[0].push([h,!!(g??o[3]?.noMerge),y??0])}return c.concat(i.flatMap((o,a)=>o.map(([h,d],y,g)=>{const m=(C,v,$)=>{const x=Math.max(...$.map(p=>p[1])),w=$.map(p=>p[0]);return(C?[w.flat(1)]:w).map(p=>{const b=ce(p);if(b)return[d,y,b,g,{...s,noMerge:v,sort:x,layer:a},r,void 0]})};return[[h.filter(([,C])=>C).map(([C,,v])=>[C,v]),!0],[h.filter(([,C])=>!C).map(([C,,v])=>[C,v]),!1]].map(([C,v])=>[...m(!1,v,C.filter(([$])=>$.some(x=>x[0]===z.shortcutsNoMerge))),...m(!0,v,C.filter(([$])=>$.every(x=>x[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):R(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(t):R(s)?s===t:s.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Qr(e,t){return await ye.create(e,t)}const rt=/\s\$\$\s+/g;function Kr(e){return rt.test(e)}function Yr(e,t){return Kr(e)?e.replace(rt,t?` ${t} `:" "):t?`${t} ${e}`:e}const Me=/^\[(.+?)(~?=)"(.*)"\]$/;function Xr(e){return Me.test(e)?e.replace(Me,(t,r,n,s)=>`[${ie(r)}${n}"${ie(s)}"]`):`.${ie(e)}`}function Zr(e,t){return t(e)}var Le={};function en(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le,Ie;function tn(){return Ie||(Ie=1,le=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","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","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","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","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","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","weui","whh","wi","wpf","zmdi","zondicons"]),le}var rn=tn();const nt=en(rn),nn=3;function sn(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:u,collections:l,extraProperties:f={},customizations:c={},autoInstall:o=!1,collectionsNodeResolvePath:a,layer:h="icons",unit:d,processor:y}=t,g=on(),m={addXmlNs:!0,scale:r,customCollections:l,autoInstall:o,cwd:a,warn:void 0,customizations:{...c,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(C,v,$){await c.iconCustomizer?.(C,v,$),d&&($.width||($.width=`${r}${d}`),$.height||($.height=`${r}${d}`))}}};let E;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Ee,parseIconWithLoader:Pe},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async C=>{let[v,$,x=n]=C;E=E||await e(t);const w={},p=await Pe($,E,{...m,usedProps:w},u);if(!p){i&&!g.isESLint&&Ze(`failed to load icon "${v}"`);return}let b;const S=`url("data:image/svg+xml;utf8,${Ee(p.svg)}")`;return x==="auto"&&(x=p.svg.includes("currentColor")?"mask":"bg"),x==="mask"?b={"--un-icon":S,"-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",...w}:b={background:`${S} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...w},y?.(b,{...p,icon:p.name,mode:x}),b},{layer:h,prefix:s}]]}}}function st(e,t){const r=new Map;function n(s){if(nt.includes(s))return r.has(s)||r.set(s,e(`${t}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,u)=>{let l=await Ke(s,i,u);if(l)return l;const f=await n(s);if(f){const c=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];l=await Qe(f,s,c,u)}return l}}function on(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Le.VSCODE_CWD,r=e&&!!Le.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function Pe(e,t,r={},n=[]){let s="",i="",u;const l=new Set([...nt,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!l.has(s))return;u=await t(s,i,r)}else{const f=e.split(/-/g);for(let c=nn;c>=1&&(s=f.slice(0,c).join("-"),!(!!l.has(s)&&(i=f.slice(c).join("-"),u=await t(s,i,r),u)));c--);}if(u)return{collection:s,name:i,svg:u}}function an(e){return st(er,e)}const yn=sn(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?st(t,r):r?an(r):Ke});function cn(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}function De(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ze=["Webkit","Moz","ms"];function ln(e){const t={};function r(n){const s=t[n];if(s)return s;let i=cn(n);if(i!=="filter"&&i in e)return t[n]=De(i);i=Ne(i);for(let u=0;u<ze.length;u++){const l=`${ze[u]}${i}`;if(l in e)return t[n]=De(Ne(l))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function fn(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function wn(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,s=t.__unocss||{},i=Object.assign({},e,s.runtime),u=i.defaults||{},l=i.cloakAttribute??"un-cloak";i.autoPrefix&&(u.postprocess=T(u.postprocess)).unshift(ln(r.createElement("div").style)),i.configResolved?.(s,u);const f=await Qr(s,u),c=A=>i.inject?i.inject(A):n().prepend(A),o=()=>i.rootElement?i.rootElement():r.body,a=new Map;let h=!0;const d=new Set;let y,g,m=[];const E=()=>new Promise(A=>{m.push(A),g!=null&&clearTimeout(g),g=setTimeout(()=>$().then(()=>{const _=m;m=[],_.forEach(O=>O())}),0)});function C(A,_=!1){if(A.nodeType!==1)return;const O=A;O.hasAttribute(l)&&O.removeAttribute(l),_&&O.querySelectorAll(`[${l}]`).forEach(j=>{j.removeAttribute(l)})}function v(A,_){let O=a.get(A);if(!O)if(O=r.createElement("style"),O.setAttribute("data-unocss-runtime-layer",A),a.set(A,O),_==null)c(O);else{const j=v(_),F=j.parentNode;F?F.insertBefore(O,j.nextSibling):c(O)}return O}async function $(){const A=[...d],_=await f.generate(A);return _.layers.reduce((j,F)=>(v(F,j).innerHTML=_.getLayer(F)??"",F),void 0),A.filter(j=>!_.matched.has(j)).forEach(j=>d.delete(j)),{..._,getStyleElement:j=>a.get(j),getStyleElements:()=>a}}async function x(A){const _=d.size;await f.applyExtractors(A,void 0,d),_!==d.size&&await E()}async function w(A=o()){const _=A&&A.outerHTML;_&&(await x(`${_} ${fn(_)}`),C(n()),C(A,!0))}const p=new MutationObserver(A=>{h||A.forEach(async _=>{if(_.target.nodeType!==1)return;const O=_.target;for(const j of a)if(O===j[1])return;if(_.type==="childList")_.addedNodes.forEach(async j=>{if(j.nodeType!==1)return;const F=j;y&&!y(F)||(await x(F.outerHTML),C(F))});else{if(y&&!y(O))return;if(_.attributeName!==l){const j=Array.from(O.attributes).map(k=>k.value?`${k.name}="${k.value}"`:k.name).join(" "),F=`<${O.tagName.toLowerCase()} ${j}>`;await x(F)}C(O)}})});let b=!1;function S(){if(b)return;const A=i.observer?.target?i.observer.target():o();A&&(p.observe(A,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function M(){i.bypassDefined&&un(f.blocked),w(),S()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",M):M()}const I=t.__unocss_runtime=t.__unocss_runtime={version:f.version,uno:f,async extract(A){R(A)||(A.forEach(_=>d.add(_)),A=""),await x(A)},extractAll:w,inspect(A){y=A},toggleObserver(A){A===void 0?h=!h:h=!!A,!b&&!h&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(h=!1,L())}function un(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(s=>s.selectorText?.split(/,/g)||[]).forEach(s=>{s&&(s=s.trim(),s.startsWith(".")&&(s=s.slice(1)),e.add(s))})}catch{continue}}return e}export{er as $,Et as a,It as b,qe as c,ut as d,pn as e,gn as f,he as g,me as h,dn as i,mn as j,wn as k,yn as l,Pt as p,Mt as w};
1
+ import{a as ot}from"./json-editor-vue-huf8dypo.js";const it=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,at=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ct=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function lt(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ft(e);return}return t}function ft(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ut(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!ct.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(it.test(e)||at.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,lt)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const ht=/#/g,dt=/&/g,pt=/\//g,mt=/=/g,pe=/\+/g,gt=/%5e/gi,yt=/%60/gi,wt=/%7c/gi,Ct=/%20/gi;function bt(e){return encodeURI(""+e).replace(wt,"|")}function fe(e){return bt(typeof e=="string"?e:JSON.stringify(e)).replace(pe,"%2B").replace(Ct,"+").replace(ht,"%23").replace(dt,"%26").replace(yt,"`").replace(gt,"^").replace(pt,"%2F")}function te(e){return fe(e).replace(mt,"%3D")}function Q(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vt(e){return Q(e.replace(pe," "))}function St(e){return Q(e.replace(pe," "))}function Et(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const s=vt(n[1]);if(s==="__proto__"||s==="constructor")continue;const i=St(n[2]||"");t[s]===void 0?t[s]=i:Array.isArray(t[s])?t[s].push(i):t[s]=[t[s],i]}return t}function $t(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${te(e)}=${fe(r)}`).join("&"):`${te(e)}=${fe(t)}`:te(e)}function At(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>$t(t,e[t])).filter(Boolean).join("&")}const xt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Ft=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_t=/^([/\\]\s*){2,}[^/\\]/,Ot=/^[\s\0]*(blob|data|javascript|vbscript):$/i,jt=/\/$|\/\?|\/#/,Rt=/^\.?\//;function me(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?xt.test(e):Ft.test(e)||(t.acceptRelative?_t.test(e):!1)}function dn(e){return!!e&&Ot.test(e)}function ue(e="",t){return t?jt.test(e):e.endsWith("/")}function qe(e="",t){if(!t)return(ue(e)?e.slice(0,-1):e)||"/";if(!ue(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");s>=0&&(r=e.slice(0,s),n=e.slice(s));const[i,...u]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(u.length>0?`?${u.join("?")}`:"")+n}function he(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ue(e,!0))return e||"/";let r=e,n="";const s=e.indexOf("#");if(s>=0&&(r=e.slice(0,s),n=e.slice(s),!r))return n;const[i,...u]=r.split("?");return i+"/"+(u.length>0?`?${u.join("?")}`:"")+n}function kt(e=""){return e.startsWith("/")}function we(e=""){return kt(e)?e:"/"+e}function Tt(e,t){if(Be(t)||me(e))return e;const r=qe(t);return e.startsWith(r)?e:It(r,e)}function pn(e,t){if(Be(t))return e;const r=qe(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function Mt(e,t){const r=Pt(e),n={...Et(r.search),...t};return r.search=At(n),Nt(r)}function Be(e){return!e||e==="/"}function Lt(e){return e&&e!=="/"}function It(e,...t){let r=e||"";for(const n of t.filter(s=>Lt(s)))if(r){const s=n.replace(Rt,"");r=he(r)+s}else r=n;return r}function mn(...e){const t=/\/(?!\/)/,r=e.filter(Boolean),n=[];let s=0;for(const u of r)if(!(!u||u==="/")){for(const[l,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(n.length===1&&me(n[0]))continue;n.pop(),s--;continue}if(l===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+f;continue}n.push(f),s++}}let i=n.join("/");return s>=0?r[0]?.startsWith("/")&&!i.startsWith("/")?i="/"+i:r[0]?.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*s)+i,r[r.length-1]?.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function gn(e,t,r={}){return r.trailingSlash||(e=he(e),t=he(t)),r.leadingSlash||(e=we(e),t=we(t)),r.encoding||(e=Q(e),t=Q(t)),e===t}const Ue=Symbol.for("ufo:protocolRelative");function Pt(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,a,h=""]=r;return{protocol:a.toLowerCase(),pathname:h,href:a+h,auth:"",host:"",search:"",hash:""}}if(!me(e,{acceptRelative:!0}))return Ce(e);const[,n="",s,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,u="",l=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:f,search:c,hash:o}=Ce(l);return{protocol:n.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:u,pathname:f,search:c,hash:o,[Ue]:!n}}function Ce(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Nt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",s=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Ue]?(e.protocol||"")+"//":"")+s+i+t+r+n}class Dt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function zt(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",s=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",u=`${s}: ${i}${t?` ${t}`:""}`,l=new Dt(u,e.error?{cause:e.error}:void 0);for(const f of["request","options","response"])Object.defineProperty(l,f,{get(){return e[f]}});for(const[f,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,f,{get(){return e.response&&e.response[c]}});return l}const qt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function be(e="GET"){return qt.has(e.toUpperCase())}function Bt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Ut=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vt=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Wt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vt.test(t)?"json":Ut.has(t)||t.startsWith("text/")?"text":"blob"}function Ht(e,t,r,n){const s=Gt(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:s}}function Gt(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[s,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(s,i);return n}async function U(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const Jt=new Set([408,409,425,429,500,502,503,504]),Qt=new Set([101,204,205,304]);function Ve(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function s(l){const f=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!f){let o;typeof l.options.retry=="number"?o=l.options.retry:o=be(l.options.method)?0:1;const a=l.response&&l.response.status||500;if(o>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(a):Jt.has(a))){const h=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),i(l.request,{...l.options,retry:o-1})}}const c=zt(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(f,c={}){const o={request:f,options:Ht(f,c,e.defaults,r),response:void 0,error:void 0};o.options.method&&(o.options.method=o.options.method.toUpperCase()),o.options.onRequest&&await U(o,o.options.onRequest),typeof o.request=="string"&&(o.options.baseURL&&(o.request=Tt(o.request,o.options.baseURL)),o.options.query&&(o.request=Mt(o.request,o.options.query),delete o.options.query),"query"in o.options&&delete o.options.query,"params"in o.options&&delete o.options.params),o.options.body&&be(o.options.method)&&(Bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let a;if(!o.options.signal&&o.options.timeout){const d=new n;a=setTimeout(()=>{const y=new Error("[TimeoutError]: The operation was aborted due to timeout");y.name="TimeoutError",y.code=23,d.abort(y)},o.options.timeout),o.options.signal=d.signal}try{o.response=await t(o.request,o.options)}catch(d){return o.error=d,o.options.onRequestError&&await U(o,o.options.onRequestError),await s(o)}finally{a&&clearTimeout(a)}if((o.response.body||o.response._bodyInit)&&!Qt.has(o.response.status)&&o.options.method!=="HEAD"){const d=(o.options.parseResponse?"json":o.options.responseType)||Wt(o.response.headers.get("content-type")||"");switch(d){case"json":{const y=await o.response.text(),g=o.options.parseResponse||ut;o.response._data=g(y);break}case"stream":{o.response._data=o.response.body||o.response._bodyInit;break}default:o.response._data=await o.response[d]()}}return o.options.onResponse&&await U(o,o.options.onResponse),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await U(o,o.options.onResponseError),await s(o)):o.response},u=async function(f,c){return(await i(f,c))._data};return u.raw=i,u.native=(...l)=>t(...l),u.create=(l={},f={})=>Ve({...e,...f,defaults:{...e.defaults,...f.defaults,...l}}),u}const K=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Kt=K.fetch?(...e)=>K.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Yt=K.Headers,Xt=K.AbortController,Zt=Ve({fetch:Kt,Headers:Yt,AbortController:Xt}),er=Zt,tr=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),We=Object.freeze({...tr,...Y}),rr=Object.freeze({...We,body:"",hidden:!1}),nr=Object.freeze({width:null,height:null}),He=Object.freeze({...nr,...Y});function sr(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ve(e,t){const r=sr(e,t);for(const n in rr)n in Y?n in e&&!(n in r)&&(r[n]=Y[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function or(e,t){const r=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);function i(u){if(r[u])return s[u]=[];if(!(u in s)){s[u]=null;const l=n[u]&&n[u].parent,f=l&&i(l);f&&(s[u]=[l].concat(f))}return s[u]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function Se(e,t,r){const n=e.icons,s=e.aliases||Object.create(null);let i={};function u(l){i=ve(n[l]||s[l],i)}return u(t),r.forEach(u),ve(e,i)}function ir(e,t){if(e.icons[t])return Se(e,t,[]);const r=or(e,[t])[t];return r?Se(e,t,r):null}const ar=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cr=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function X(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(ar);if(n===null||!n.length)return e;const s=[];let i=n.shift(),u=cr.test(i);for(;;){if(u){const l=parseFloat(i);isNaN(l)?s.push(i):s.push(Math.ceil(l*t*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");u=!u}}function lr(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const s=e.indexOf(">",n),i=e.indexOf("</"+t);if(s===-1||i===-1)break;const u=e.indexOf(">",i);if(u===-1)break;r+=e.slice(s+1,i).trim(),e=e.slice(0,n).trim()+e.slice(u+1)}return{defs:r,content:e}}function fr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function ur(e,t,r){const n=lr(e);return fr(n.defs,t+n.content+r)}const ge=e=>e==="unset"||e==="undefined"||e==="none";function hr(e,t){const r={...We,...e},n={...He,...t},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(g=>{const m=[],E=g.hFlip,C=g.vFlip;let v=g.rotate;E?C?v+=2:(m.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),m.push("scale(-1 1)"),s.top=s.left=0):C&&(m.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),m.push("scale(1 -1)"),s.top=s.left=0);let $;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:$=s.height/2+s.top,m.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:m.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:$=s.width/2+s.left,m.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}v%2===1&&(s.left!==s.top&&($=s.left,s.left=s.top,s.top=$),s.width!==s.height&&($=s.width,s.width=s.height,s.height=$)),m.length&&(i=ur(i,'<g transform="'+m.join(" ")+'">',"</g>"))});const u=n.width,l=n.height,f=s.width,c=s.height;let o,a;u===null?(a=l===null?"1em":l==="auto"?c:l,o=X(a,f/c)):(o=u==="auto"?f:u,a=l===null?X(o,c/f):l==="auto"?c:l);const h={},d=(g,m)=>{ge(m)||(h[g]=m.toString())};d("width",o),d("height",a);const y=[s.left,s.top,f,c];return h.viewBox=y.join(" "),{attributes:h,viewBox:y,body:i}}function dr(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ee(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),dr(t)}function pr(e){return e.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 mr=/\swidth\s*=\s*["']([\w.]+)["']/,gr=/\sheight\s*=\s*["']([\w.]+)["']/,re=/<svg\s+/;function yr(e,t,r){const n=e.slice(0,e.indexOf(">")),s=(i,u)=>{const l=u.exec(n),f=l!=null,c=t[i];return!c&&!ge(c)&&(typeof r=="number"?r>0&&(t[i]=X(l?.[1]??"1em",r)):l&&(t[i]=l[1])),f};return[s("width",mr),s("height",gr)]}async function Ge(e,t,r,n,s,i){const{scale:u,addXmlNs:l=!1}=n??{},{additionalProps:f={},iconCustomizer:c}=n?.customizations??{},o=await s?.()??{};await c?.(t,r,o),Object.keys(f).forEach(g=>{const m=f[g];m!=null&&(o[g]=m)}),i?.(o);const[a,h]=yr(e,o,u);l&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(o).map(g=>g==="width"&&a||g==="height"&&h?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(d.length&&(e=e.replace(re,`<svg ${d.join(" ")} `)),n){const{defaultStyle:g,defaultClass:m}=n;m&&!e.includes("class=")&&(e=e.replace(re,`<svg class="${m}" `)),g&&!e.includes("style=")&&(e=e.replace(re,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(f).forEach(g=>{const m=o[g];m!=null&&(y[g]=m)}),typeof o.width<"u"&&o.width!==null&&(y.width=o.width),typeof o.height<"u"&&o.height!==null&&(y.height=o.height)),e}var V={exports:{}},ne,$e;function wr(){if($e)return ne;$e=1;var e=1e3,t=e*60,r=t*60,n=r*24,s=n*7,i=n*365.25;ne=function(o,a){a=a||{};var h=typeof o;if(h==="string"&&o.length>0)return u(o);if(h==="number"&&isFinite(o))return a.long?f(o):l(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function u(o){if(o=String(o),!(o.length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(a){var h=parseFloat(a[1]),d=(a[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return h*i;case"weeks":case"week":case"w":return h*s;case"days":case"day":case"d":return h*n;case"hours":case"hour":case"hrs":case"hr":case"h":return h*r;case"minutes":case"minute":case"mins":case"min":case"m":return h*t;case"seconds":case"second":case"secs":case"sec":case"s":return h*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}}}function l(o){var a=Math.abs(o);return a>=n?Math.round(o/n)+"d":a>=r?Math.round(o/r)+"h":a>=t?Math.round(o/t)+"m":a>=e?Math.round(o/e)+"s":o+"ms"}function f(o){var a=Math.abs(o);return a>=n?c(o,a,n,"day"):a>=r?c(o,a,r,"hour"):a>=t?c(o,a,t,"minute"):a>=e?c(o,a,e,"second"):o+" ms"}function c(o,a,h,d){var y=a>=h*1.5;return Math.round(o/h)+" "+d+(y?"s":"")}return ne}var se,Ae;function Cr(){if(Ae)return se;Ae=1;function e(t){n.debug=n,n.default=n,n.coerce=c,n.disable=l,n.enable=i,n.enabled=f,n.humanize=wr(),n.destroy=o,Object.keys(t).forEach(a=>{n[a]=t[a]}),n.names=[],n.skips=[],n.formatters={};function r(a){let h=0;for(let d=0;d<a.length;d++)h=(h<<5)-h+a.charCodeAt(d),h|=0;return n.colors[Math.abs(h)%n.colors.length]}n.selectColor=r;function n(a){let h,d=null,y,g;function m(...E){if(!m.enabled)return;const C=m,v=Number(new Date),$=v-(h||v);C.diff=$,C.prev=h,C.curr=v,h=v,E[0]=n.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let x=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(p,b)=>{if(p==="%%")return"%";x++;const S=n.formatters[b];if(typeof S=="function"){const M=E[x];p=S.call(C,M),E.splice(x,1),x--}return p}),n.formatArgs.call(C,E),(C.log||n.log).apply(C,E)}return m.namespace=a,m.useColors=n.useColors(),m.color=n.selectColor(a),m.extend=s,m.destroy=n.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(a)),g),set:E=>{d=E}}),typeof n.init=="function"&&n.init(m),m}function s(a,h){const d=n(this.namespace+(typeof h>"u"?":":h)+a);return d.log=this.log,d}function i(a){n.save(a),n.namespaces=a,n.names=[],n.skips=[];const h=(typeof a=="string"?a:"").trim().replace(" ",",").split(",").filter(Boolean);for(const d of h)d[0]==="-"?n.skips.push(d.slice(1)):n.names.push(d)}function u(a,h){let d=0,y=0,g=-1,m=0;for(;d<a.length;)if(y<h.length&&(h[y]===a[d]||h[y]==="*"))h[y]==="*"?(g=y,m=d,y++):(d++,y++);else if(g!==-1)y=g+1,m++,d=m;else return!1;for(;y<h.length&&h[y]==="*";)y++;return y===h.length}function l(){const a=[...n.names,...n.skips.map(h=>"-"+h)].join(",");return n.enable(""),a}function f(a){for(const h of n.skips)if(u(a,h))return!1;for(const h of n.names)if(u(a,h))return!0;return!1}function c(a){return a instanceof Error?a.stack||a.message:a}function o(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return se=e,se}var xe;function br(){return xe||(xe=1,function(e,t){var r={};t.formatArgs=s,t.save=i,t.load=u,t.useColors=n,t.storage=l(),t.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;c.splice(1,0,o,"color: inherit");let a=0,h=0;c[0].replace(/%[a-zA-Z%]/g,d=>{d!=="%%"&&(a++,d==="%c"&&(h=a))}),c.splice(h,0,o)}t.log=console.debug||console.log||(()=>{});function i(c){try{c?t.storage.setItem("debug",c):t.storage.removeItem("debug")}catch{}}function u(){let c;try{c=t.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=r.DEBUG),c}function l(){try{return localStorage}catch{}}e.exports=Cr()(t);const{formatters:f}=e.exports;f.j=function(c){try{return JSON.stringify(c)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}}(V,V.exports)),V.exports}var vr=br();const Je=ot(vr),Sr=Je("@iconify-loader:custom");async function Fe(e,t,r,n){let s;Sr(`${t}:${r}`);try{if(typeof e=="function")s=await e(r);else{const i=e[r];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:u}=n?.customizations??{};return s=typeof u=="function"?await u(s,t,r):s,s.startsWith("<svg")?await Ge(n?.customizations?.trimCustomSvg===!0?pr(s):s,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),s)}}const Er=Je("@iconify-loader:icon");async function Qe(e,t,r,n){let s;const{customize:i}=n?.customizations??{};for(const u of r)if(s=ir(e,u),s){Er(`${t}:${u}`);let l={...He};typeof i=="function"&&(s=Object.assign({},s),l=i(l,s,`${t}:${u}`)??l);const{attributes:{width:f,height:c,...o},body:a}=hr(s,l),h=n?.scale;return await Ge(`<svg >${a}</svg>`,t,u,n,()=>({...o}),d=>{const y=(g,m)=>{const E=d[g];let C;if(!ge(E)){if(E)return;typeof h=="number"?h&&(C=X(m??"1em",h)):C=m}C?d[g]=C:delete d[g]};y("width",f),y("height",c)})}}const Ke=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let s;try{s=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(s){if(typeof s=="string")return await Fe(()=>s,e,t,r);if("icons"in s){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Qe(s,e,i,r)}}}else return await Fe(n,e,t,r)},G="default",de="preflights",$r="shortcuts",Ar="imports",xr={[Ar]:-200,[de]:-100,[$r]:-10,[G]:0},Fr=/[\\:]?[\s'"`;{}]+/g;function _r(e){return e.split(Fr)}const Or={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return _r(e)}};function T(e=[]){return Array.isArray(e)?e:[e]}function N(e){return Array.from(new Set(e))}function _e(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function R(e){return typeof e=="string"}class Ye extends Set{_map;constructor(t){super(t),this._map??=new Map}add(t){return this._map??=new Map,this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function oe(e){return e instanceof Ye}function jr(e){const t=e.length;let r=-1,n,s="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){s+="�";continue}if(n===37){s+="\\%";continue}if(n===44){s+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){s+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){s+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=e.charAt(r);continue}s+=`\\${e.charAt(r)}`}return s}const ie=jr;function Rr(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function kr(e){return typeof e=="function"?{match:e}:e}function Oe(e){return e.length===3}function ae(e){return e!=null}function Tr(){}class Mr{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.has(r)||s.set(r,n),s.get(r)}set(t,r,n){let s=this._map.get(t);return s||(s=new Map,this._map.set(t,s)),s.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,i])=>t(i,r,s)))}}class Lr extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,s)=>{r.push(t(n,s))}),r}flatMap(t){const r=[];return this.forEach((n,s)=>{r.push(...t(n,s))}),r}}function q(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Ir(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>q(t)):[e]:[q(e)]}function Pr(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(e[s][0]===t&&e[s][1]===r)return!1;return!0})}function ce(e){return e==null?"":Pr(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function W(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Xe(e,t,r=!1){const n=e,s=t;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const i={...n};return W(n)&&W(s)&&Object.keys(s).forEach(u=>{W(n[u])&&W(s[u])||Array.isArray(n[u])&&Array.isArray(s[u])?i[u]=Xe(n[u],s[u],r):Object.assign(i,{[u]:s[u]})}),i}function J(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:J(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?J(n):n;return r}return e}function Nr(e){return R(e[0])}function Dr(e){return R(e[0])}const H={};function zr(e=["-",":"]){const t=e.join("|");return H[t]||(H[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),H[t].lastIndex=0,H[t]}function qr(e,t=["-",":"],r=5){const n=zr(t);let s,i=e.toString();const u=new Set,l=new Map;do s=!1,i=i.replace(n,(c,o,a,h,d)=>{if(!t.includes(a))return c;s=!0,u.add(o+a);const y=d+o.length+a.length+1,g={length:c.length,items:[]};l.set(d,g);for(const m of[...h.matchAll(/\S+/g)]){const E=y+m.index;let C=l.get(E)?.items;C?l.delete(E):C=[{offset:E,length:m[0].length,className:m[0]}];for(const v of C)v.className=v.className==="~"?o:v.className.replace(/^(!?)(.*)/,`$1${o}${a}$2`),g.items.push(v)}return"$".repeat(c.length)}),r-=1;while(s&&r);let f;if(typeof e=="string"){f="";let c=0;for(const[o,a]of l)f+=e.slice(c,o),f+=a.items.map(h=>h.className).join(" "),c=o+a.length;f+=e.slice(c)}else{f=e;for(const[c,o]of l)f.overwrite(c,c+o.length,o.items.map(a=>a.className).join(" "))}return{prefixes:Array.from(u),hasChanged:s,groupsByOffset:l,get expanded(){return f.toString()}}}function Br(e,t=["-",":"],r=5){const n=qr(e,t,r);return typeof e=="string"?n.expanded:e}const je=new Set;function Ze(e){je.has(e)||(console.warn("[unocss]",e),je.add(e))}function et(e){return T(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const Re="_uno_resolved";async function Ur(e){let t=typeof e=="function"?await e():await e;if(Re in t)return t;t={...t},Object.defineProperty(t,Re,{value:!0,enumerable:!1});const r=t.shortcuts?et(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=s=>{s[2]||(s[2]={});const i=s[2];i.prefix==null&&t.prefix&&(i.prefix=T(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function tt(e){const t=await Ur(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(T).flatMap(tt))).flat();return[t,...r]}function Vr(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const s=[],i=[],u=[];for(const f of e){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&t.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&i.push(f.inline),f.plain&&u.push(f.plain)}const l={pipeline:n?!1:{include:N(Te(...t)),exclude:N(Te(...r))}};return s.length&&(l.filesystem=N(s.flat())),i.length&&(l.inline=N(i.flat())),u.length&&(l.plain=N(u.flat())),l}async function ke(e={},t={}){const r=Object.assign({},t,e),n=_e((await Promise.all((r.presets||[]).flatMap(T).flatMap(tt))).flat(),(w,p)=>w.name===p.name),s=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...s,r],u=[...i].reverse(),l=Object.assign({},xr,...i.map(w=>w.layers));function f(w){return N(i.flatMap(p=>T(p[w]||[])))}const c=f("extractors");let o=u.find(w=>w.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Or),o&&!c.includes(o)&&c.unshift(o),c.sort((w,p)=>(w.order||0)-(p.order||0));const a=f("rules"),h={},d=a.length,y=a.filter(w=>Nr(w)?(T(w[2]?.prefix||"").forEach(b=>{h[b+w[0]]=w}),!1):!0).reverse();let g=Wr(i.map(w=>w.theme));const m=f("extendTheme");for(const w of m)g=w(g)||g;const E={templates:N(i.flatMap(w=>T(w.autocomplete?.templates))),extractors:i.flatMap(w=>T(w.autocomplete?.extractors)).sort((w,p)=>(w.order||0)-(p.order||0)),shorthands:Hr(i.map(w=>w.autocomplete?.shorthands||{}))};let C=f("separators");C.length||(C=[":","-"]);const v=f("content"),$=Vr(v),x={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:f("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:l,theme:g,rules:a,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:f("preprocess"),postprocess:f("postprocess"),preflights:f("preflights"),autocomplete:E,variants:f("variants").map(kr).sort((w,p)=>(w.order||0)-(p.order||0)),shortcuts:et(f("shortcuts")).reverse(),extractors:c,safelist:f("safelist"),separators:C,details:r.details??r.envMode==="dev",content:$,transformers:_e(f("transformers"),(w,p)=>w.name===p.name)};for(const w of i)w?.configResolved?.(x);return x}function Wr(e){return e.map(t=>t?J(t):{}).reduce((t,r)=>Xe(t,r),{})}function Hr(e){return e.reduce((t,r)=>{const n={};for(const s in r){const i=r[s];Array.isArray(i)?n[s]=`(${i.join("|")})`:n[s]=i}return{...t,...n}},{})}function Te(...e){return e.flatMap(Gr)}function Gr(e){return Array.isArray(e)?e:e?[e]:[]}const Jr="66.0.0",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class ye{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=Jr;events=Rr();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new ye(t,r);return n.config=await ke(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await ke(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const s={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const u=await i.extract?.(s);if(u)if(oe(u)&&oe(n))for(const l of u)n.setCount(l,n.getCount(l)+u.getCount(l));else for(const l of u)n.add(l)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:z,variantHandlers:r[2],constructCSS:(...s)=>this.constructCustomCSS(n,...s),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let s=t;for(const f of this.config.preprocess)s=f(t);if(this.isBlocked(s)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,s);if(i.every(f=>!f||this.isBlocked(f[1]))){this.blocked.add(t),this.cache.set(n,null);return}const u=async f=>{const c=this.makeContext(t,[r||f[0],f[1],f[2],f[3]]);this.config.details&&(c.variants=[...f[3]]);const o=await this.expandShortcut(c.currentSelector,c);return o?await this.stringifyShortcuts(c.variantMatch,c,o[0],o[1]):(await this.parseUtil(c.variantMatch,c))?.map(h=>this.stringifyUtil(h,c)).filter(ae)},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l?.length)return this.cache.set(n,l),l;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:s,preflights:i=!0,safelist:u=!0,minify:l=!1,extendedInfo:f=!1}=r,c=R(t)?await this.applyExtractors(t,n,f?new Ye:new Set):Array.isArray(t)?new Set(t):t;if(u){const p={generator:this,theme:this.config.theme};this.config.safelist.flatMap(b=>typeof b=="function"?b(p):b).forEach(b=>{c.has(b)||c.add(b)})}const o=l?"":`
2
+ `,a=new Set([G]),h=f?new Map:new Set,d=new Map;let y={};const g=Array.from(c).map(async p=>{if(h.has(p))return;const b=await this.parseToken(p);if(b!=null){h instanceof Map?h.set(p,{data:b,count:oe(c)?c.getCount(p):-1}):h.add(p);for(const S of b){const M=S[3]||"",L=S[4]?.layer;d.has(M)||d.set(M,[]),d.get(M).push(S),L&&a.add(L)}}});await Promise.all(g),await(async()=>{if(!i)return;const p={generator:this,theme:this.config.theme},b=new Set([]);this.config.preflights.forEach(({layer:S=de})=>{a.add(S),b.add(S)}),y=Object.fromEntries(await Promise.all(Array.from(b).map(async S=>{const L=(await Promise.all(this.config.preflights.filter(I=>(I.layer||de)===S).map(async I=>await I.getCSS(p)))).filter(Boolean).join(o);return[S,L]})))})();const m=this.config.sortLayers(Array.from(a).sort((p,b)=>(this.config.layers[p]??0)-(this.config.layers[b]??0)||p.localeCompare(b))),E={},C=this.config.outputToCssLayers,v=p=>{let b=p;return typeof C=="object"&&(b=C.cssLayerName?.(p)),b===null?null:b??p},$=(p=G)=>{if(E[p])return E[p];let b=Array.from(d).sort((L,I)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(I[0])??0)||L[0]?.localeCompare(I[0]||"")||0).map(([L,I])=>{const A=I.length,_=I.filter(F=>(F[4]?.layer||G)===p).sort((F,k)=>F[0]-k[0]||(F[4]?.sort||0)-(k[4]?.sort||0)||F[5]?.currentSelector?.localeCompare(k[5]?.currentSelector??"")||F[1]?.localeCompare(k[1]||"")||F[2]?.localeCompare(k[2]||"")||0).map(([,F,k,,B,,Z])=>[[[(F&&Yr(F,s))??"",B?.sort??0]],k,!!(Z??B?.noMerge)]);if(!_.length)return;const O=_.reverse().map(([F,k,B],Z)=>{if(!B&&this.config.mergeSelectors)for(let D=Z+1;D<A;D++){const P=_[D];if(P&&!P[2]&&(F&&P[0]||F==null&&P[0]==null)&&P[1]===k)return F&&P[0]&&P[0].push(...F),null}const ee=F?N(F.sort((D,P)=>D[1]-P[1]||D[0]?.localeCompare(P[0]||"")||0).map(D=>D[0]).filter(Boolean)):[];return ee.length?`${ee.join(`,${o}`)}{${k}}`:k}).filter(Boolean).reverse().join(o);if(!L)return O;const j=L.split(" $$ ");return`${j.join("{")}{${o}${O}${o}${"}".repeat(j.length)}`}).filter(Boolean).join(o);i&&(b=[y[p],b].filter(Boolean).join(o));let S;C&&b&&(S=v(p),S!==null&&(b=`@layer ${S}{${o}${b}${o}}`));const M=l?"":`/* layer: ${p}${S&&S!==p?`, alias: ${S}`:""} */${o}`;return E[p]=b?M+b:""},x=(p=m,b)=>{const S=p.filter(M=>!b?.includes(M));return[C&&S.length>0?`@layer ${S.map(v).filter(ae).join(", ")};`:void 0,...S.map(M=>$(M)||"")].filter(Boolean).join(o)};return{get css(){return x()},layers:m,matched:h,getLayers:x,getLayer:$,setLayer:async(p,b)=>{const S=await b($(p));return E[p]=S,S}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},s=async i=>{let u=!0;const[,,l,f]=i;for(;u;){u=!1;const c=i[1];for(const o of this.config.variants){if(!o.multiPass&&f.has(o))continue;let a=await o.match(c,n);if(a){if(R(a)){if(a===c)continue;a={matcher:a}}if(Array.isArray(a)){if(!a.length)continue;if(a.length===1)a=a[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const h=a.map(d=>{const y=d.matcher??c,g=[d,...l],m=new Set(f);return m.add(o),[i[0],y,g,m]});return(await Promise.all(h.map(d=>s(d)))).flat()}}i[1]=a.matcher??c,l.unshift(a),f.add(o),u=!0;break}}if(!u)break;if(l.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await s([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((c,o)=>(c.order||0)-(o.order||0)).reduceRight((c,o)=>a=>{const h=o.body?.(a.entries)||a.entries,d=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??Zr)({...a,entries:h,selector:o.selector?.(a.selector,h)||a.selector,parent:d[0]||a.parent,parentOrder:d[1]||a.parentOrder,layer:o.layer||a.layer,sort:o.sort||a.sort},c)},c=>c)({prefix:"",selector:Xr(n),pseudo:"",entries:t[2]}),{parent:u,parentOrder:l}=i;u!=null&&l!=null&&this.parentOrders.set(u,l);const f={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:u,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const c of this.config.postprocess)c(f);return f}constructCustomCSS(t,r,n){const s=q(r);if(R(s))return s;const{selector:i,entries:u,parent:l}=this.applyVariants([0,n||t.rawSelector,s,void 0,t.variantHandlers]),f=`${i}{${ce(u)}}`;return l?`${l}{${f}}`:f}async parseUtil(t,r,n=!1,s){const i=R(t)?await this.matchVariants(t):[t],u=async([f,c,o])=>{this.config.details&&(r.rules=r.rules??[]);const a=this.config.rulesStaticMap[c];if(a&&a[1]&&(n||!a[2]?.internal)){r.generator.activatedRules.add(a),this.config.details&&r.rules.push(a);const d=this.config.rules.indexOf(a),y=q(a[1]),g=a[2];return R(y)?[[d,y,g]]:[[d,f,y,g,o]]}r.variantHandlers=o;const{rulesDynamic:h}=this.config;for(const d of h){const[y,g,m]=d;if(m?.internal&&!n)continue;let E=c;if(m?.prefix){const x=T(m.prefix);if(s){const w=T(s);if(!x.some(p=>w.includes(p)))continue}else{const w=x.find(p=>c.startsWith(p));if(w==null)continue;E=c.slice(w.length)}}const C=E.match(y);if(!C)continue;let v=await g(C,r);if(!v)continue;if(r.generator.activatedRules.add(d),this.config.details&&r.rules.push(d),typeof v!="string")if(Symbol.asyncIterator in v){const x=[];for await(const w of v)w&&x.push(w);v=x}else Symbol.iterator in v&&!Array.isArray(v)&&(v=Array.from(v).filter(ae));const $=Ir(v).filter(x=>x.length);if($.length){const x=this.config.rules.indexOf(d);return $.map(w=>{if(R(w))return[x,w,m];let p=o,b=m;for(const S of w)S[0]===z.variants?p=[...T(S[1]),...p]:S[0]===z.parent?p=[{parent:S[1]},...p]:S[0]===z.selector?p=[{selector:S[1]},...p]:S[0]===z.layer?p=[{layer:S[1]},...p]:S[0]===z.sort&&(b={...b,sort:S[1]});return[x,f,w,b,p]})}}},l=(await Promise.all(i.map(f=>u(f)))).flat().filter(f=>!!f);if(l.length)return l}stringifyUtil(t,r){if(!t)return;if(Oe(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:i,layer:u,sort:l,noMerge:f}=this.applyVariants(t),c=ce(s);if(!c)return;const{layer:o,sort:a,...h}=t[3]??{},d={...h,layer:u??o,sort:l??a};return[t[0],n,c,i,d,this.config.details?r:void 0,f]}async expandShortcut(t,r,n=5){if(n===0)return;const s=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Tr;let i,u,l,f;for(const c of this.config.shortcuts){let o=t;if(c[2]?.prefix){const h=T(c[2].prefix).find(d=>t.startsWith(d));if(h==null)continue;o=t.slice(h.length)}if(Dr(c)){if(c[0]===o){i=i||c[2],u=c[1],s(c);break}}else{const a=o.match(c[0]);if(a&&(u=c[1](a,r)),u){i=i||c[2],s(c);break}}}if(u&&(l=N(T(u).filter(R).map(c=>Br(c.trim()).split(/\s+/g)).flat()),f=T(u).filter(c=>!R(c)).map(c=>({handles:[],value:c}))),!u){const c=R(t)?await this.matchVariants(t):[t];for(const o of c){const[a,h,d]=o;if(a!==h){const y=await this.expandShortcut(h,r,n-1);y&&(l=y[0].filter(R).map(g=>a.replace(h,g)),f=y[0].filter(g=>!R(g)).map(g=>({handles:[...g.handles,...d],value:g.value})))}}}if(!(!l?.length&&!f?.length))return[[await Promise.all(T(l).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),f].flat(2).filter(c=>!!c),i]}async stringifyShortcuts(t,r,n,s={layer:this.config.shortcutsLayer}){const i=new Lr,u=(await Promise.all(N(n).map(async o=>{const a=R(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",q(o.value),void 0,o.handles]];return!a&&this.config.warn&&Ze(`unmatched utility "${o}" in shortcut "${t[1]}"`),a||[]}))).flat(1).filter(Boolean).sort((o,a)=>o[0]-a[0]),[l,,f]=t,c=[];for(const o of u){if(Oe(o)){c.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:a,entries:h,parent:d,sort:y,noMerge:g,layer:m}=this.applyVariants(o,[...o[4],...f],l);i.getFallback(m??s.layer,new Mr).getFallback(a,d,[[],o[0]])[0].push([h,!!(g??o[3]?.noMerge),y??0])}return c.concat(i.flatMap((o,a)=>o.map(([h,d],y,g)=>{const m=(C,v,$)=>{const x=Math.max(...$.map(p=>p[1])),w=$.map(p=>p[0]);return(C?[w.flat(1)]:w).map(p=>{const b=ce(p);if(b)return[d,y,b,g,{...s,noMerge:v,sort:x,layer:a},r,void 0]})};return[[h.filter(([,C])=>C).map(([C,,v])=>[C,v]),!0],[h.filter(([,C])=>!C).map(([C,,v])=>[C,v]),!1]].map(([C,v])=>[...m(!1,v,C.filter(([$])=>$.some(x=>x[0]===z.shortcutsNoMerge))),...m(!0,v,C.filter(([$])=>$.every(x=>x[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):R(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(t):R(s)?s===t:s.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Qr(e,t){return await ye.create(e,t)}const rt=/\s\$\$\s+/g;function Kr(e){return rt.test(e)}function Yr(e,t){return Kr(e)?e.replace(rt,t?` ${t} `:" "):t?`${t} ${e}`:e}const Me=/^\[(.+?)(~?=)"(.*)"\]$/;function Xr(e){return Me.test(e)?e.replace(Me,(t,r,n,s)=>`[${ie(r)}${n}"${ie(s)}"]`):`.${ie(e)}`}function Zr(e,t){return t(e)}var Le={};function en(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var le,Ie;function tn(){return Ie||(Ie=1,le=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","duo-icons","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","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","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","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","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","weui","whh","wi","wpf","zmdi","zondicons"]),le}var rn=tn();const nt=en(rn),nn=3;function sn(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:u,collections:l,extraProperties:f={},customizations:c={},autoInstall:o=!1,collectionsNodeResolvePath:a,layer:h="icons",unit:d,processor:y}=t,g=on(),m={addXmlNs:!0,scale:r,customCollections:l,autoInstall:o,cwd:a,warn:void 0,customizations:{...c,additionalProps:{...f},trimCustomSvg:!0,async iconCustomizer(C,v,$){await c.iconCustomizer?.(C,v,$),d&&($.width||($.width=`${r}${d}`),$.height||($.height=`${r}${d}`))}}};let E;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:Ee,parseIconWithLoader:Pe},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async C=>{let[v,$,x=n]=C;E=E||await e(t);const w={},p=await Pe($,E,{...m,usedProps:w},u);if(!p){i&&!g.isESLint&&Ze(`failed to load icon "${v}"`);return}let b;const S=`url("data:image/svg+xml;utf8,${Ee(p.svg)}")`;return x==="auto"&&(x=p.svg.includes("currentColor")?"mask":"bg"),x==="mask"?b={"--un-icon":S,"-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",...w}:b={background:`${S} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...w},y?.(b,{...p,icon:p.name,mode:x}),b},{layer:h,prefix:s}]]}}}function st(e,t){const r=new Map;function n(s){if(nt.includes(s))return r.has(s)||r.set(s,e(`${t}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,u)=>{let l=await Ke(s,i,u);if(l)return l;const f=await n(s);if(f){const c=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];l=await Qe(f,s,c,u)}return l}}function on(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!Le.VSCODE_CWD,r=e&&!!Le.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function Pe(e,t,r={},n=[]){let s="",i="",u;const l=new Set([...nt,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([s,i]=e.split(":"),!l.has(s))return;u=await t(s,i,r)}else{const f=e.split(/-/g);for(let c=nn;c>=1&&(s=f.slice(0,c).join("-"),!(!!l.has(s)&&(i=f.slice(c).join("-"),u=await t(s,i,r),u)));c--);}if(u)return{collection:s,name:i,svg:u}}function an(e){return st(er,e)}const yn=sn(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?st(t,r):r?an(r):Ke});function cn(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}function De(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ze=["Webkit","Moz","ms"];function ln(e){const t={};function r(n){const s=t[n];if(s)return s;let i=cn(n);if(i!=="filter"&&i in e)return t[n]=De(i);i=Ne(i);for(let u=0;u<ze.length;u++){const l=`${ze[u]}${i}`;if(l in e)return t[n]=De(Ne(l))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function fn(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function wn(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,s=t.__unocss||{},i=Object.assign({},e,s.runtime),u=i.defaults||{},l=i.cloakAttribute??"un-cloak";i.autoPrefix&&(u.postprocess=T(u.postprocess)).unshift(ln(r.createElement("div").style)),i.configResolved?.(s,u);const f=await Qr(s,u),c=A=>i.inject?i.inject(A):n().prepend(A),o=()=>i.rootElement?i.rootElement():r.body,a=new Map;let h=!0;const d=new Set;let y,g,m=[];const E=()=>new Promise(A=>{m.push(A),g!=null&&clearTimeout(g),g=setTimeout(()=>$().then(()=>{const _=m;m=[],_.forEach(O=>O())}),0)});function C(A,_=!1){if(A.nodeType!==1)return;const O=A;O.hasAttribute(l)&&O.removeAttribute(l),_&&O.querySelectorAll(`[${l}]`).forEach(j=>{j.removeAttribute(l)})}function v(A,_){let O=a.get(A);if(!O)if(O=r.createElement("style"),O.setAttribute("data-unocss-runtime-layer",A),a.set(A,O),_==null)c(O);else{const j=v(_),F=j.parentNode;F?F.insertBefore(O,j.nextSibling):c(O)}return O}async function $(){const A=[...d],_=await f.generate(A);return _.layers.reduce((j,F)=>(v(F,j).innerHTML=_.getLayer(F)??"",F),void 0),A.filter(j=>!_.matched.has(j)).forEach(j=>d.delete(j)),{..._,getStyleElement:j=>a.get(j),getStyleElements:()=>a}}async function x(A){const _=d.size;await f.applyExtractors(A,void 0,d),_!==d.size&&await E()}async function w(A=o()){const _=A&&A.outerHTML;_&&(await x(`${_} ${fn(_)}`),C(n()),C(A,!0))}const p=new MutationObserver(A=>{h||A.forEach(async _=>{if(_.target.nodeType!==1)return;const O=_.target;for(const j of a)if(O===j[1])return;if(_.type==="childList")_.addedNodes.forEach(async j=>{if(j.nodeType!==1)return;const F=j;y&&!y(F)||(await x(F.outerHTML),C(F))});else{if(y&&!y(O))return;if(_.attributeName!==l){const j=Array.from(O.attributes).map(k=>k.value?`${k.name}="${k.value}"`:k.name).join(" "),F=`<${O.tagName.toLowerCase()} ${j}>`;await x(F)}C(O)}})});let b=!1;function S(){if(b)return;const A=i.observer?.target?i.observer.target():o();A&&(p.observe(A,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),b=!0)}function M(){i.bypassDefined&&un(f.blocked),w(),S()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",M):M()}const I=t.__unocss_runtime=t.__unocss_runtime={version:f.version,uno:f,async extract(A){R(A)||(A.forEach(_=>d.add(_)),A=""),await x(A)},extractAll:w,inspect(A){y=A},toggleObserver(A){A===void 0?h=!h:h=!!A,!b&&!h&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(I)!==!1&&(h=!1,L())}function un(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(s=>s.selectorText?.split(/,/g)||[]).forEach(s=>{s&&(s=s.trim(),s.startsWith(".")&&(s=s.slice(1)),e.add(s))})}catch{continue}}return e}export{er as $,Et as a,qe as b,It as c,ut as d,pn as e,gn as f,he as g,me as h,dn as i,mn as j,wn as k,yn as l,Pt as p,Mt as w};
@@ -0,0 +1 @@
1
+ import{_ as V}from"./nnavbar.vue-bwg2euf2.js";import{_ as D}from"./ncode-block.vue-h2q9yyre.js";import{bl as S,bm as B,S as P,i as j,n as W,a8 as E}from"./iqvenqyt.js";import{O as c,a0 as i,P as a,q as I,k as f,w as R,u as d,a2 as l,a1 as u,R as U,a7 as v,F as _,ad as q,W as z}from"./vendor/json-editor-vue-huf8dypo.js";import{_ as G}from"./help-fab.vue-i4cbi170.js";import"./client-bqg1k5yt.js";import"./vendor/unocss-e7oqigho.js";import"./vendor/shiki-jv02kgzv.js";const H={class:"markdown-body"},L={__name:"virtual-files",setup(h,{expose:r}){return r({frontmatter:{}}),(p,o)=>(i(),c("div",H,o[0]||(o[0]=[a("h1",null,"Virtual Files",-1),a("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.",-1)])))}},O=["onClick"],A={key:0,"h-full":"","of-hidden":"",flex:"~ col"},J={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},oe=I({__name:"virtual-files",setup(h){const r=f(""),n=S(),p=B(),o=f();R(()=>{if(!p.value)return;const e=`/_vfs.json/${encodeURIComponent(p.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>o.value=t.current)});function x(e){if(n.value?.rootDir)return e.startsWith(n.value?.rootDir)?e.slice(n.value.rootDir.length):e}const m=d(()=>n.value?n.value.entries.filter(e=>!e.id.startsWith(`${n.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),k=d(()=>new P(m.value,{keys:["id","path"]})),b=d(()=>r.value?k.value.search(r.value).map(e=>e.item):m.value);return(e,t)=>{const y=V,g=D,C=W,F=j,$=E,N=L,w=G;return i(),c(_,null,[l($,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[l(y,{search:r.value,"onUpdate:search":t[0]||(t[0]=s=>r.value=s),"no-padding":"",p3:""},null,8,["search"]),(i(!0),c(_,null,q(b.value,s=>(i(),c(_,{key:s.id},[a("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:z(s.id===o.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:K=>p.value=s.id},v(x(s.id)),11,O),t[1]||(t[1]=a("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[o.value?.content?(i(),c("div",A,[a("div",J,[a("code",null,v(o.value.id),1)]),l(g,{"h-full":"","of-auto":"","text-sm":"",code:o.value.content,lang:"typescript"},null,8,["code"])])):(i(),U(F,{key:1},{default:u(()=>[l(C,{px6:"",py2:""},{default:u(()=>t[2]||(t[2]=[a("span",{op75:""},"Select a file to start",-1)])),_:1})]),_:1}))]),_:1}),l(w,null,{default:u(()=>[l(N)]),_:1})],64)}}});export{oe as default};