@nuxt/devtools-nightly 3.1.0-29394938.bc1d11c → 3.1.1-29401019.1035580

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 (119) hide show
  1. package/dist/chunks/module-main.mjs +52 -52
  2. package/dist/chunks/vscode.mjs +1 -1
  3. package/dist/client/200.html +1 -1
  4. package/dist/client/404.html +1 -1
  5. package/dist/client/_nuxt/__blank-lxstpk89.js +1 -0
  6. package/dist/client/_nuxt/{analyze-build-kh1reua7.js → analyze-build-fb5io86k.js} +1 -1
  7. package/dist/client/_nuxt/{assets-b7oqoqew.js → assets-m7ml1ico.js} +3 -3
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/84bc711e-8b5d-48a0-8c8f-ec7a19df54b9.json +1 -0
  10. package/dist/client/_nuxt/{client-c7ye0k5n.js → client-c6aoxv2l.js} +1 -1
  11. package/dist/client/_nuxt/{code-diff-injlkjgq.js → code-diff-li4lnfub.js} +3 -3
  12. package/dist/client/_nuxt/{code-snippets-m6659svv.js → code-snippets-gyl3bqgb.js} +1 -1
  13. package/dist/client/_nuxt/components-pftu73sh.js +1 -0
  14. package/dist/client/_nuxt/{composable-item-fx38xsht.js → composable-item-gqqnydns.js} +1 -1
  15. package/dist/client/_nuxt/{custom-_name_-k1aynmvq.js → custom-_name_-i763zgri.js} +1 -1
  16. package/dist/client/_nuxt/{data-schema-button-n4i5g8zd.js → data-schema-button-euw6cc96.js} +1 -1
  17. package/dist/client/_nuxt/data-schema-drawer-ih3n7drc.js +2 -0
  18. package/dist/client/_nuxt/debug-hz66kc1n.js +1 -0
  19. package/dist/client/_nuxt/default-cp5bp6iy.js +1 -0
  20. package/dist/client/_nuxt/duration-display-f44008lc.js +1 -0
  21. package/dist/client/_nuxt/{error-404-g850e3ag.js → error-404-ksg0sk2t.js} +1 -1
  22. package/dist/client/_nuxt/error-404.css-fede2tas.css +1 -0
  23. package/dist/client/_nuxt/{error-500-b1u3qwf0.js → error-500-d0whpe9i.js} +1 -1
  24. package/dist/client/_nuxt/error-500.css-m89l6mhd.css +1 -0
  25. package/dist/client/_nuxt/{error-kayaahpn.js → error-jwg2dczk.js} +2 -2
  26. package/dist/client/_nuxt/filepath-item-f2iy8phl.js +1 -0
  27. package/dist/client/_nuxt/full-orl0g7q9.js +1 -0
  28. package/dist/client/_nuxt/help-fab-izt1nioe.js +1 -0
  29. package/dist/client/_nuxt/{hooks-j4jm8cxf.js → hooks-ix1uihqe.js} +1 -1
  30. package/dist/client/_nuxt/{imports-b882dmai.js → imports-iip8t65m.js} +1 -1
  31. package/dist/client/_nuxt/{index-f6gsrt8e.js → index-g9pv3m5n.js} +1 -1
  32. package/dist/client/_nuxt/launch-page-gkflizue.js +1 -0
  33. package/dist/client/_nuxt/modules-79vyj70s.js +1 -0
  34. package/dist/client/_nuxt/nbadge-dv1e6eny.js +1 -0
  35. package/dist/client/_nuxt/ncheckbox-dg5nbt1d.js +1 -0
  36. package/dist/client/_nuxt/{ncode-block-j34pr9ay.js → ncode-block-esxkr86l.js} +2 -2
  37. package/dist/client/_nuxt/ndrawer-j5h6fmbh.js +1 -0
  38. package/dist/client/_nuxt/ndropdown-gskb7sy5.js +1 -0
  39. package/dist/client/_nuxt/nicon-title-n11g9rad.js +1 -0
  40. package/dist/client/_nuxt/nlink-cmgg7q58.js +1 -0
  41. package/dist/client/_nuxt/{nmarkdown-nigjp7j4.js → nmarkdown-pb9g5o14.js} +1 -1
  42. package/dist/client/_nuxt/nnavbar-eqdsa2v0.js +1 -0
  43. package/dist/client/_nuxt/none-iraqfrdn.js +1 -0
  44. package/dist/client/_nuxt/nsection-block-owu5vx1c.js +1 -0
  45. package/dist/client/_nuxt/nselect-h7b4tp2d.js +1 -0
  46. package/dist/client/_nuxt/nselect-tabs-b4x1017q.js +1 -0
  47. package/dist/client/_nuxt/nswitch-ikgdy16r.js +1 -0
  48. package/dist/client/_nuxt/omanf44t.js +5 -0
  49. package/dist/client/_nuxt/{open-graph-bzjkgtlq.js → open-graph-fa7tfb6v.js} +2 -2
  50. package/dist/client/_nuxt/{overview-bu8j3ysa.js → overview-hzj2nkg8.js} +1 -1
  51. package/dist/client/_nuxt/{pages-cu9m7yws.js → pages-lzhdozcx.js} +1 -1
  52. package/dist/client/_nuxt/payload-fdp7swwu.js +1 -0
  53. package/dist/client/_nuxt/{pinia-ms5glvf6.js → pinia-kzsvlh7m.js} +1 -1
  54. package/dist/client/_nuxt/plugins-mp8jy844.js +1 -0
  55. package/dist/client/_nuxt/render-tree-ldgz2hsh.js +1 -0
  56. package/dist/client/_nuxt/{runtime-configs-j90mlite.js → runtime-configs-dnemi7eu.js} +1 -1
  57. package/dist/client/_nuxt/{server-discovery-hzkw8v5u.js → server-discovery-n725d9zg.js} +1 -1
  58. package/dist/client/_nuxt/server-route-inputs-ewvvpkab.js +1 -0
  59. package/dist/client/_nuxt/server-routes-fqapweg5.js +9 -0
  60. package/dist/client/_nuxt/server-tasks-lvbubaf7.js +1 -0
  61. package/dist/client/_nuxt/{settings-bqg9ark9.js → settings-izqzwfj1.js} +1 -1
  62. package/dist/client/_nuxt/stacktrace-list-hxyb5x3b.js +1 -0
  63. package/dist/client/_nuxt/{state-components-fc2pwsp2.js → state-components-jdafqa4i.js} +1 -1
  64. package/dist/client/_nuxt/state-editor-baqu4p5i.js +1 -0
  65. package/dist/client/_nuxt/state-modules-kxdkrymq.js +1 -0
  66. package/dist/client/_nuxt/{storage-fojtun8d.js → storage-jpfh7yqg.js} +1 -1
  67. package/dist/client/_nuxt/{terminals-ekxokcf3.js → terminals-bzc4fsy3.js} +1 -1
  68. package/dist/client/_nuxt/{timeline-orhzj0rd.js → timeline-dfd8dv27.js} +1 -1
  69. package/dist/client/_nuxt/{unocss-runtime-jbnso4iq.js → unocss-runtime-om1xvo0e.js} +1 -1
  70. package/dist/client/_nuxt/vendor/{json-editor-vue-gjlsq8io.js → json-editor-vue-ho2zu772.js} +99 -99
  71. package/dist/client/_nuxt/vendor/{quicktype-core-bmjj6ua7.js → quicktype-core-jsgpnknz.js} +46 -46
  72. package/dist/client/_nuxt/vendor/{unocss-fw2uvwtg.js → unocss-czq6idj6.js} +3 -3
  73. package/dist/client/_nuxt/{virtual-files-hee0b5vz.js → virtual-files-nbh29ke4.js} +1 -1
  74. package/dist/client/_nuxt/vue-devtools-eqo8l0nw.js +2 -0
  75. package/dist/client/_nuxt/{vue-virtual-scroller.esm-uia1jucn.js → vue-virtual-scroller.esm-c1c6kquq.js} +2 -2
  76. package/dist/client/discovery/index.html +80 -80
  77. package/dist/client/index.html +1 -1
  78. package/dist/module.json +1 -1
  79. package/dist/module.mjs +1 -1
  80. package/dist/shared/{devtools-nightly.Dlu0WIXO.mjs → devtools-nightly.DuFZOCNN.mjs} +2 -2
  81. package/dist/webcomponents/index.mjs +1 -1
  82. package/package.json +20 -20
  83. package/dist/client/_nuxt/__blank-jhf8n41f.js +0 -1
  84. package/dist/client/_nuxt/builds/meta/90331f69-d7e3-4c89-ac73-34bb3fde4f13.json +0 -1
  85. package/dist/client/_nuxt/components-itvtakyx.js +0 -1
  86. package/dist/client/_nuxt/data-schema-drawer-gkn4sc3w.js +0 -2
  87. package/dist/client/_nuxt/debug-ctlexf0w.js +0 -1
  88. package/dist/client/_nuxt/default-fph7azfr.js +0 -1
  89. package/dist/client/_nuxt/duration-display-jckntkny.js +0 -1
  90. package/dist/client/_nuxt/error-404.css-comgjw6y.css +0 -1
  91. package/dist/client/_nuxt/error-500.css-mrt4j707.css +0 -1
  92. package/dist/client/_nuxt/filepath-item-i5bipy7o.js +0 -1
  93. package/dist/client/_nuxt/full-j4mfippe.js +0 -1
  94. package/dist/client/_nuxt/g9ft9ky3.js +0 -5
  95. package/dist/client/_nuxt/help-fab-9epbigv8.js +0 -1
  96. package/dist/client/_nuxt/launch-page-hs2f7bb3.js +0 -1
  97. package/dist/client/_nuxt/modules-h6wp0xrw.js +0 -1
  98. package/dist/client/_nuxt/nbadge-b5jyufiz.js +0 -1
  99. package/dist/client/_nuxt/ncheckbox-dhpz73wm.js +0 -1
  100. package/dist/client/_nuxt/ndrawer-drb8l4me.js +0 -1
  101. package/dist/client/_nuxt/ndropdown-nmlejt8k.js +0 -1
  102. package/dist/client/_nuxt/nicon-title-d35s6mci.js +0 -1
  103. package/dist/client/_nuxt/nlink-c419gh8c.js +0 -1
  104. package/dist/client/_nuxt/nnavbar-l4xos9kw.js +0 -1
  105. package/dist/client/_nuxt/none-b5no966s.js +0 -1
  106. package/dist/client/_nuxt/nsection-block-egbswicp.js +0 -1
  107. package/dist/client/_nuxt/nselect-ioi0seuc.js +0 -1
  108. package/dist/client/_nuxt/nselect-tabs-g53jlfar.js +0 -1
  109. package/dist/client/_nuxt/nswitch-fe63il2r.js +0 -1
  110. package/dist/client/_nuxt/payload-c6eeghas.js +0 -1
  111. package/dist/client/_nuxt/plugins-dil8aepe.js +0 -1
  112. package/dist/client/_nuxt/render-tree-n8w5jnmy.js +0 -1
  113. package/dist/client/_nuxt/server-route-inputs-b67yt8gz.js +0 -1
  114. package/dist/client/_nuxt/server-routes-ow5yd99m.js +0 -9
  115. package/dist/client/_nuxt/server-tasks-d3frd8d2.js +0 -1
  116. package/dist/client/_nuxt/stacktrace-list-bcj6vnom.js +0 -1
  117. package/dist/client/_nuxt/state-editor-dk0l27xr.js +0 -1
  118. package/dist/client/_nuxt/state-modules-kznlrvp3.js +0 -1
  119. package/dist/client/_nuxt/vue-devtools-f6dfrqr1.js +0 -2
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../g9ft9ky3.js","./json-editor-vue-gjlsq8io.js","./json-editor-vue.css-f8ezrn37.css","./shiki-g7cm1eew.js","../entry.css-isd0m9wk.css"])))=>i.map(i=>d[i]);
2
- import{a as Ue,_ as We}from"./json-editor-vue-gjlsq8io.js";const Ge=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Me=Object.freeze({...Ge,...Y}),He=Object.freeze({...Me,body:"",hidden:!1}),qe=Object.freeze({width:null,height:null}),_e=Object.freeze({...qe,...Y});function Ye(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}function le(t,e){const r=Ye(t,e);for(const n in He)n in Y?n in t&&!(n in r)&&(r[n]=Y[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function Ze(t,e){const r=t.icons,n=t.aliases||Object.create(null),s=Object.create(null);function i(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const f=n[l]&&n[l].parent,u=f&&i(f);u&&(s[l]=[f].concat(u))}return s[l]}return(e||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function ue(t,e,r){const n=t.icons,s=t.aliases||Object.create(null);let i={};function l(f){i=le(n[f]||s[f],i)}return l(e),r.forEach(l),le(t,i)}function Ke(t,e){if(t.icons[e])return ue(t,e,[]);const r=Ze(t,[e])[e];return r?ue(t,e,r):null}const Je=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Xe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const n=t.split(Je);if(n===null||!n.length)return t;const s=[];let i=n.shift(),l=Xe.test(i);for(;;){if(l){const f=parseFloat(i);isNaN(f)?s.push(i):s.push(Math.ceil(f*e*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");l=!l}}function Qe(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const s=t.indexOf(">",n),i=t.indexOf("</"+e);if(s===-1||i===-1)break;const l=t.indexOf(">",i);if(l===-1)break;r+=t.slice(s+1,i).trim(),t=t.slice(0,n).trim()+t.slice(l+1)}return{defs:r,content:t}}function et(t,e){return t?"<defs>"+t+"</defs>"+e:e}function tt(t,e,r){const n=Qe(t);return et(n.defs,e+n.content+r)}const ae=t=>t==="unset"||t==="undefined"||t==="none";function nt(t,e){const r={...Me,...t},n={..._e,...e},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(g=>{const p=[],x=g.hFlip,b=g.vFlip;let w=g.rotate;x?b?w+=2:(p.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),p.push("scale(-1 1)"),s.top=s.left=0):b&&(p.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),p.push("scale(1 -1)"),s.top=s.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=s.height/2+s.top,p.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:p.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:S=s.width/2+s.left,p.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(s.left!==s.top&&(S=s.left,s.left=s.top,s.top=S),s.width!==s.height&&(S=s.width,s.width=s.height,s.height=S)),p.length&&(i=tt(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const l=n.width,f=n.height,u=s.width,a=s.height;let o,c;l===null?(c=f===null?"1em":f==="auto"?a:f,o=Z(c,u/a)):(o=l==="auto"?u:l,c=f===null?Z(o,a/u):f==="auto"?a:f);const d={},h=(g,p)=>{ae(p)||(d[g]=p.toString())};h("width",o),h("height",c);const y=[s.left,s.top,u,a];return d.viewBox=y.join(" "),{attributes:d,viewBox:y,body:i}}function rt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function fe(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),rt(e)}function st(t){return t.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ot=/\swidth\s*=\s*["']([\w.]+)["']/,it=/\sheight\s*=\s*["']([\w.]+)["']/,Q=/<svg\s+/;function at(t,e,r){const n=t.slice(0,t.indexOf(">")),s=(i,l)=>{const f=l.exec(n),u=f!=null,a=e[i];return!a&&!ae(a)&&(typeof r=="number"?r>0&&(e[i]=Z(f?.[1]??"1em",r)):f&&(e[i]=f[1])),u};return[s("width",ot),s("height",it)]}async function Ee(t,e,r,n,s,i){const{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:u={},iconCustomizer:a}=n?.customizations??{},o=await s?.()??{};await a?.(e,r,o),Object.keys(u).forEach(g=>{const p=u[g];p!=null&&(o[g]=p)}),i?.(o);const[c,d]=at(t,o,l);f&&(!t.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const h=Object.keys(o).map(g=>g==="width"&&c||g==="height"&&d?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(h.length&&(t=t.replace(Q,`<svg ${h.join(" ")} `)),n){const{defaultStyle:g,defaultClass:p}=n;p&&!t.includes("class=")&&(t=t.replace(Q,`<svg class="${p}" `)),g&&!t.includes("style=")&&(t=t.replace(Q,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(u).forEach(g=>{const p=o[g];p!=null&&(y[g]=p)}),typeof o.width<"u"&&o.width!==null&&(y.width=o.width),typeof o.height<"u"&&o.height!==null&&(y.height=o.height)),t}var U={exports:{}},ee,de;function ct(){if(de)return ee;de=1;var t=1e3,e=t*60,r=e*60,n=r*24,s=n*7,i=n*365.25;ee=function(o,c){c=c||{};var d=typeof o;if(d==="string"&&o.length>0)return l(o);if(d==="number"&&isFinite(o))return c.long?u(o):f(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function l(o){if(o=String(o),!(o.length>100)){var c=/^(-?(?:\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(c){var d=parseFloat(c[1]),h=(c[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function f(o){var c=Math.abs(o);return c>=n?Math.round(o/n)+"d":c>=r?Math.round(o/r)+"h":c>=e?Math.round(o/e)+"m":c>=t?Math.round(o/t)+"s":o+"ms"}function u(o){var c=Math.abs(o);return c>=n?a(o,c,n,"day"):c>=r?a(o,c,r,"hour"):c>=e?a(o,c,e,"minute"):c>=t?a(o,c,t,"second"):o+" ms"}function a(o,c,d,h){var y=c>=d*1.5;return Math.round(o/d)+" "+h+(y?"s":"")}return ee}var te,he;function lt(){if(he)return te;he=1;function t(e){n.debug=n,n.default=n,n.coerce=a,n.disable=f,n.enable=i,n.enabled=u,n.humanize=ct(),n.destroy=o,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function r(c){let d=0;for(let h=0;h<c.length;h++)d=(d<<5)-d+c.charCodeAt(h),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(c){let d,h=null,y,g;function p(...x){if(!p.enabled)return;const b=p,w=Number(new Date),S=w-(d||w);b.diff=S,b.prev=d,b.curr=w,d=w,x[0]=n.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let m=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";m++;const A=n.formatters[v];if(typeof A=="function"){const L=x[m];C=A.call(b,L),x.splice(m,1),m--}return C}),n.formatArgs.call(b,x),(b.log||n.log).apply(b,x)}return p.namespace=c,p.useColors=n.useColors(),p.color=n.selectColor(c),p.extend=s,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:x=>{h=x}}),typeof n.init=="function"&&n.init(p),p}function s(c,d){const h=n(this.namespace+(typeof d>"u"?":":d)+c);return h.log=this.log,h}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];const d=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of d)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function l(c,d){let h=0,y=0,g=-1,p=0;for(;h<c.length;)if(y<d.length&&(d[y]===c[h]||d[y]==="*"))d[y]==="*"?(g=y,p=h,y++):(h++,y++);else if(g!==-1)y=g+1,p++,h=p;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}function f(){const c=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),c}function u(c){for(const d of n.skips)if(l(c,d))return!1;for(const d of n.names)if(l(c,d))return!0;return!1}function a(c){return c instanceof Error?c.stack||c.message:c}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 te=t,te}var pe;function ut(){return pe||(pe=1,(function(t,e){var r={};e.formatArgs=s,e.save=i,e.load=l,e.useColors=n,e.storage=f(),e.destroy=(()=>{let a=!1;return()=>{a||(a=!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`."))}})(),e.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 a;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&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;a.splice(1,0,o,"color: inherit");let c=0,d=0;a[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(c++,h==="%c"&&(d=c))}),a.splice(d,0,o)}e.log=console.debug||console.log||(()=>{});function i(a){try{a?e.storage.setItem("debug",a):e.storage.removeItem("debug")}catch{}}function l(){let a;try{a=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=r.DEBUG),a}function f(){try{return localStorage}catch{}}t.exports=lt()(e);const{formatters:u}=t.exports;u.j=function(a){try{return JSON.stringify(a)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}})(U,U.exports)),U.exports}var ft=ut();const je=Ue(ft),dt=je("@iconify-loader:custom");async function me(t,e,r,n){let s;dt(`${e}:${r}`);try{if(typeof t=="function")s=await t(r);else{const i=t[r];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${e}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,e,r):s,s.startsWith("<svg")?await Ee(n?.customizations?.trimCustomSvg===!0?st(s):s,e,r,n,void 0):(console.warn(`Custom icon "${r}" in "${e}" is not a valid SVG`),s)}}const ht=je("@iconify-loader:icon");async function Oe(t,e,r,n){let s;const{customize:i}=n?.customizations??{};for(const l of r)if(s=Ke(t,l),s){ht(`${e}:${l}`);let f={..._e};typeof i=="function"&&(s=Object.assign({},s),f=i(f,s,`${e}:${l}`)??f);const{attributes:{width:u,height:a,...o},body:c}=nt(s,f),d=n?.scale;return await Ee(`<svg >${c}</svg>`,e,l,n,()=>({...o}),h=>{const y=(g,p)=>{const x=h[g];let b;if(!ae(x)){if(x)return;typeof d=="number"?d&&(b=Z(p??"1em",d)):b=p}b?h[g]=b:delete h[g]};y("width",u),y("height",a)})}}const Le=async(t,e,r)=>{const n=r?.customCollections?.[t];if(n)if(typeof n=="function"){let s;try{s=await n(e)}catch(i){console.warn(`Failed to load custom icon "${e}" in "${t}":`,i);return}if(s){if(typeof s=="string")return await me(()=>s,t,e,r);if("icons"in s){const i=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await Oe(s,t,i,r)}}}else return await me(n,t,e,r)},H="default",ie="preflights",pt="shortcuts",mt="imports",gt={[mt]:-200,[ie]:-100,[pt]:-10,[H]:0},yt=/[\\:]?[\s'"`;{}]+/g;function wt(t){return t.split(yt)}const Ct={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return wt(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function D(t){return Array.from(new Set(t))}function ge(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function j(t){return typeof t=="string"}class Ie extends Set{_map=new Map;constructor(e){if(super(),e)for(const r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}}function ne(t){return t instanceof Ie}function bt(t){const e=t.length;let r=-1,n,s="";const i=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&e===1&&n===45){s+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=t.charAt(r);continue}s+=`\\${t.charAt(r)}`}return s}const re=bt;function vt(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}function xt(t){return typeof t=="function"?{match:t}:t}function ye(t){return t.length===3}function se(t){return t!=null}function St(){}class $t{_map=new Map;get(e,r){const n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.has(r)||s.set(r,n),s.get(r)}set(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,i])=>e(i,r,s)))}}class Ft extends Map{getFallback(e,r){const n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){const r=[];return this.forEach((n,s)=>{r.push(e(n,s))}),r}flatMap(e){const r=[];return this.forEach((n,s)=>{r.push(...e(n,s))}),r}}function K(t){return j(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function At(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>K(e)):[t]:[K(t)]}function kt(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(t[s][0]===e&&t[s][1]===r)return!1;return!0})}const Pe="__virtual_key__";function oe(t){return t==null?"":kt(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Pe?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function W(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Re(t,e,r=!1){const n=t,s=e;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const i={...n};return W(n)&&W(s)&&Object.keys(s).forEach(l=>{W(n[l])&&W(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?i[l]=Re(n[l],s[l],r):Object.assign(i,{[l]:s[l]})}),i}function q(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:q(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}return t}function Mt(t){return j(t[0])}function _t(t){return j(t[0])}const G={};function Et(t=["-",":"]){const e=t.join("|");return G[e]||(G[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),G[e].lastIndex=0,G[e]}function jt(t,e=["-",":"],r=5){const n=Et(e);let s,i=t.toString();const l=new Set,f=new Map;do s=!1,i=i.replace(n,(a,o,c,d,h)=>{if(!e.includes(c))return a;s=!0,l.add(o+c);const y=h+o.length+c.length+1,g={length:a.length,items:[]};f.set(h,g);for(const p of[...d.matchAll(/\S+/g)]){const x=y+p.index;let b=f.get(x)?.items;b?f.delete(x):b=[{offset:x,length:p[0].length,className:p[0]}];for(const w of b)w.className=w.className==="~"?o:w.className.replace(/^(!?)(.*)/,`$1${o}${c}$2`),g.items.push(w)}return"$".repeat(a.length)}),r-=1;while(s&&r);let u;if(typeof t=="string"){u="";let a=0;for(const[o,c]of f)u+=t.slice(a,o),u+=c.items.map(d=>d.className).join(" "),a=o+c.length;u+=t.slice(a)}else{u=t;for(const[a,o]of f)u.overwrite(a,a+o.length,o.items.map(c=>c.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:f,get expanded(){return u.toString()}}}function Ot(t,e=["-",":"],r=5){const n=jt(t,e,r);return typeof t=="string"?n.expanded:t}const we=new Set;function Te(t){we.has(t)||(console.warn("[unocss]",t),we.add(t))}function ze(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const Ce="_uno_resolved";async function Lt(t){let e=typeof t=="function"?await t():await t;if(Ce in e)return e;e={...e},Object.defineProperty(e,Ce,{value:!0,enumerable:!1});const r=e.shortcuts?ze(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){const n=s=>{s[2]||(s[2]={});const i=s[2];i.prefix==null&&e.prefix&&(i.prefix=O(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Ne(t){const e=await Lt(t);if(!e.presets)return[e];const r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(Ne))).flat();return[e,...r]}function It(t){if(t.length===0)return{};const e=[],r=[];let n=!1;const s=[],i=[];for(const f of t){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&e.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&i.push(f.inline)}const l={pipeline:n?!1:{include:D(ve(...e)),exclude:D(ve(...r))}};return s.length&&(l.filesystem=D(s.flat())),i.length&&(l.inline=D(i.flat())),l}async function be(t={},e={}){const r=Object.assign({},e,t),n=ge((await Promise.all((r.presets||[]).flatMap(O).flatMap(Ne))).flat(),(m,$)=>m.name===$.name),s=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],i=[...s,r],l=[...i].reverse(),f=Object.assign({},gt,...i.map(m=>m.layers));function u(m){return D(i.flatMap($=>O($[m]||[])))}const a=u("extractors");let o=l.find(m=>m.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Ct),o&&!a.includes(o)&&a.unshift(o),a.sort((m,$)=>(m.order||0)-($.order||0));const c=u("rules"),d=c.length,h={},y=[];for(const[m,$]of c.entries()){const C=$[2]??($[2]={});C.__index=m,Mt($)?O(C.prefix??"").forEach(A=>{h[A+$[0]]=$}):y.unshift($)}const g={templates:D(i.flatMap(m=>O(m.autocomplete?.templates))),extractors:i.flatMap(m=>O(m.autocomplete?.extractors)).sort((m,$)=>(m.order||0)-($.order||0)),shorthands:Rt(i.map(m=>m.autocomplete?.shorthands||{}))};let p=u("separators");p.length||(p=[":","-"]);const x=u("content"),b=It(x),w={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:u("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:f,theme:Pt(i.map(m=>m.theme)),rules:c,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:g,variants:u("variants").map(xt).sort((m,$)=>(m.order||0)-($.order||0)),shortcuts:ze(u("shortcuts")).reverse(),extractors:a,safelist:u("safelist"),separators:p,details:r.details??r.envMode==="dev",content:b,transformers:ge(u("transformers"),(m,$)=>m.name===$.name)},S=u("extendTheme");for(const m of S)w.theme=m(w.theme,w)||w.theme;for(const m of i)m?.configResolved?.(w);return w}function Pt(t){return t.map(e=>e?q(e):{}).reduce((e,r)=>Re(e,r),{})}function Rt(t){return t.reduce((e,r)=>{const n={};for(const s in r){const i=r[s];Array.isArray(i)?n[s]=`(${i.join("|")})`:n[s]=i}return{...e,...n}},{})}function ve(...t){return t.flatMap(Tt)}function Tt(t){return Array.isArray(t)?t:t?[t]:[]}const zt="66.5.5",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"};class ce{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=zt;events=vt();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){const n=new ce(e,r);return n.config=await be(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await be(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){const s={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const l=await i.extract?.(s);if(l)if(ne(l)&&ne(n))for(const f of l)n.setCount(f,n.getCount(f)+l.getCount(f));else for(const f of l)n.add(f)}return n}makeContext(e,r){const n={rawSelector:e,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(e,r){if(this.blocked.has(e))return;const n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const s=this.config.preprocess.reduce((u,a)=>a(u)??u,e);if(this.isBlocked(s)){this.blocked.add(e),this.cache.set(n,null);return}const i=await this.matchVariants(e,s);if(i.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}const l=async u=>{const a=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(a.variants=[...u[3]]);const o=await this.expandShortcut(a.currentSelector,a);return o?await this.stringifyShortcuts(a.variantMatch,a,o[0],o[1]):(await this.parseUtil(a.variantMatch,a))?.map(d=>this.stringifyUtil(d,a)).filter(se)},f=(await Promise.all(i.map(u=>l(u)))).flat().filter(u=>!!u);if(f?.length)return this.cache.set(n,f),f;this.cache.set(n,null)}async generate(e,r={}){const{id:n,scope:s,preflights:i=!0,safelist:l=!0,minify:f=!1,extendedInfo:u=!1}=r,a=j(e)?await this.applyExtractors(e,n,u?new Ie:new Set):Array.isArray(e)?new Set(e):e;if(l){const C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(C):v).forEach(v=>{const A=v.trim();A&&!a.has(A)&&a.add(A)})}const o=f?"":`
3
- `,c=new Set([H]),d=u?new Map:new Set,h=new Map;let y={};const g=Array.from(a).map(async C=>{if(d.has(C))return;const v=await this.parseToken(C);if(v!=null){d instanceof Map?d.set(C,{data:v,count:ne(a)?a.getCount(C):-1}):d.add(C);for(const A of v){const L=A[3]||"",P=A[4]?.layer;h.has(L)||h.set(L,[]),h.get(L).push(A),P&&c.add(P)}}});await Promise.all(g),await(async()=>{if(!i)return;const C={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=ie})=>{c.add(A),v.add(A)}),y=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const P=(await Promise.all(this.config.preflights.filter(R=>(R.layer||ie)===A).map(async R=>await R.getCSS(C)))).filter(Boolean).join(o);return[A,P]})))})();const p=this.config.sortLayers(Array.from(c).sort((C,v)=>(this.config.layers[C]??0)-(this.config.layers[v]??0)||C.localeCompare(v))),x={},b=this.config.outputToCssLayers,w=C=>{let v=C;return typeof b=="object"&&(v=b.cssLayerName?.(C)),v===null?null:v??C},S=(C=H)=>{if(x[C])return x[C];let v=Array.from(h).sort((P,R)=>(this.parentOrders.get(P[0])??0)-(this.parentOrders.get(R[0])??0)||P[0]?.localeCompare(R[0]||"")||0).map(([P,R])=>{const F=R.length,k=R.filter(_=>(_[4]?.layer||H)===C).sort((_,T)=>_[0]-T[0]||(_[4]?.sort||0)-(T[4]?.sort||0)||_[5]?.currentSelector?.localeCompare(T[5]?.currentSelector??"")||_[1]?.localeCompare(T[1]||"")||_[2]?.localeCompare(T[2]||"")||0).map(([,_,T,,B,,J])=>[[[(_&&Vt(_,s))??"",B?.sort??0]],T,!!(J??B?.noMerge)]);if(!k.length)return;const M=k.reverse().map(([_,T,B],J)=>{if(!B&&this.config.mergeSelectors)for(let V=J+1;V<F;V++){const N=k[V];if(N&&!N[2]&&(_&&N[0]||_==null&&N[0]==null)&&N[1]===T)return _&&N[0]&&N[0].push(..._),null}const X=_?D(_.sort((V,N)=>V[1]-N[1]||V[0]?.localeCompare(N[0]||"")||0).map(V=>V[0]).filter(Boolean)):[];return X.length?`${X.join(`,${o}`)}{${T}}`:T}).filter(Boolean),E=Array.from(new Set(M)).reverse().join(o);if(!P)return E;const I=P.split(" $$ ");return`${I.join("{")}{${o}${E}${o}${"}".repeat(I.length)}`}).filter(Boolean).join(o);i&&(v=[y[C],v].filter(Boolean).join(o));let A;b&&v&&(A=w(C),A!==null&&(v=`@layer ${A}{${o}${v}${o}}`));const L=f?"":`/* layer: ${C}${A&&A!==C?`, alias: ${A}`:""} */${o}`;return x[C]=v?L+v:""},m=(C=p,v)=>{const A=C.filter(L=>!v?.includes(L));return[b&&A.length>0?`@layer ${A.map(w).filter(se).join(", ")};`:void 0,...A.map(L=>S(L)||"")].filter(Boolean).join(o)};return{get css(){return m()},layers:p,matched:d,getLayers:m,getLayer:S,setLayer:async(C,v)=>{const A=await v(S(C));return x[C]=A,A}}}async matchVariants(e,r){const n={rawSelector:e,theme:this.config.theme,generator:this},s=async i=>{let l=!0;const[,,f,u]=i;for(;l;){l=!1;const a=i[1];for(const o of this.config.variants){if(!o.multiPass&&u.has(o))continue;let c=await o.match(a,n);if(c){if(j(c)){if(c===a)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=c.map(h=>{const y=h.matcher??a,g=[h,...f],p=new Set(u);return p.add(o),[i[0],y,g,p]});return(await Promise.all(d.map(h=>s(h)))).flat()}}i[1]=c.matcher??a,f.unshift(c),u.add(o),l=!0;break}}if(!l)break;if(f.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await s([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){const i=r.slice().sort((a,o)=>(a.order||0)-(o.order||0)).reduceRight((a,o)=>c=>{const d=o.body?.(c.entries)||c.entries,h=Array.isArray(o.parent)?o.parent:[o.parent,void 0],y=o.selector?.(c.selector,d);return(o.handle??Ut)({...c,entries:d,selector:y||c.selector,parent:h[0]||c.parent,parentOrder:h[1]||c.parentOrder,layer:o.layer||c.layer,sort:o.sort||c.sort},a)},a=>a)({prefix:"",selector:Bt(n),pseudo:"",entries:e[2]}),{parent:l,parentOrder:f}=i;l!=null&&f!=null&&this.parentOrders.set(l,f);const u={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:l,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const a of this.config.postprocess)a(u);return u}constructCustomCSS(e,r,n){const s=K(r);if(j(s))return s;const{selector:i,entries:l,parent:f}=this.applyVariants([0,n||e.rawSelector,s,void 0,e.variantHandlers]),u=`${i}{${oe(l)}}`;return f?`${f}{${u}}`:u}async parseUtil(e,r,n=!1,s){const i=j(e)?await this.matchVariants(e):[e],l=async([u,a,o])=>{this.config.details&&(r.rules=r.rules??[]);const c={...r,variantHandlers:o},d=this.config.rulesStaticMap[a];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(u,d[1],d,c);for(const h of this.config.rulesDynamic){const[y,g,p]=h;if(p?.internal&&!n)continue;let x=a;if(p?.prefix){const m=O(p.prefix);if(s){const $=O(s);if(!m.some(C=>$.includes(C)))continue}else{const $=m.find(C=>a.startsWith(C));if($==null)continue;x=a.slice($.length)}}const b=x.match(y);if(!b)continue;let w=await g(b,c);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){const m=[];for await(const $ of w)$&&m.push($);w=m}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const S=this.resolveCSSResult(u,w,h,c);if(S)return S}},f=(await Promise.all(i.map(u=>l(u)))).flat().filter(u=>!!u);if(f.length)return f}resolveCSSResult=(e,r,n,s)=>{const i=At(r).filter(l=>l.length);if(i.length){this.config.details&&s.rules.push(n),s.generator.activatedRules.add(n);const l=n[2];return i.map(f=>{if(j(f))return[l.__index,f,l];let u=s.variantHandlers,a=l;for(const o of f)o[0]===z.variants?typeof o[1]=="function"?u=o[1](u)||u:u=[...O(o[1]),...u]:o[0]===z.parent?u=[{parent:o[1]},...u]:o[0]===z.selector?u=[{selector:o[1]},...u]:o[0]===z.layer?u=[{layer:o[1]},...u]:o[0]===z.sort?a={...a,sort:o[1]}:o[0]===z.noMerge?a={...a,noMerge:o[1]}:o[0]===z.body&&(o[0]=Pe);return[l.__index,e,f,a,u]})}};stringifyUtil(e,r){if(!e)return;if(ye(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:i,layer:l,sort:f,noMerge:u}=this.applyVariants(e),a=oe(s);if(!a)return;const{layer:o,sort:c,...d}=e[3]??{},h={...d,layer:l??o,sort:f??c};return[e[0],n,a,i,h,this.config.details?r:void 0,u]}async expandShortcut(e,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:St;let i,l,f,u;for(const a of this.config.shortcuts){let o=e;if(a[2]?.prefix){const d=O(a[2].prefix).find(h=>e.startsWith(h));if(d==null)continue;o=e.slice(d.length)}if(_t(a)){if(a[0]===o){i=i||a[2],l=a[1],s(a);break}}else{const c=o.match(a[0]);if(c&&(l=a[1](c,r)),l){i=i||a[2],s(a);break}}}if(l&&(f=D(O(l).filter(j).map(a=>Ot(a.trim()).split(/\s+/g)).flat()),u=O(l).filter(a=>!j(a)).map(a=>({handles:[],value:a}))),!l){const a=j(e)?await this.matchVariants(e):[e];for(const o of a){const[c,d,h]=o;if(c!==d){const y=await this.expandShortcut(d,r,n-1);y&&(f=y[0].filter(j).map(g=>c.replace(d,g)),u=y[0].filter(g=>!j(g)).map(g=>({handles:[...g.handles,...h],value:g.value})))}}}if(!(!f?.length&&!u?.length))return[[await Promise.all(O(f).map(async a=>(await this.expandShortcut(a,r,n-1))?.[0]||[a])),u].flat(2).filter(a=>!!a),i]}async stringifyShortcuts(e,r,n,s={layer:this.config.shortcutsLayer}){const i=new Ft,l=(await Promise.all(D(n).map(async o=>{const c=j(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",K(o.value),void 0,o.handles]];return!c&&this.config.warn&&Te(`unmatched utility "${o}" in shortcut "${e[1]}"`),c||[]}))).flat(1).filter(Boolean).sort((o,c)=>o[0]-c[0]),[f,,u]=e,a=[];for(const o of l){if(ye(o)){a.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const c=Object.fromEntries(o[2])[z.shortcutsNoMerge],d=[...o[4],...c?[]:u],{selector:h,entries:y,parent:g,sort:p,noMerge:x,layer:b}=this.applyVariants(o,d,f);i.getFallback(b??s.layer,new $t).getFallback(h,g,[[],o[0]])[0].push([y,!!(x??o[3]?.noMerge),p??0])}return a.concat(i.flatMap((o,c)=>o.map(([d,h],y,g)=>{const p=(b,w,S)=>{const m=Math.max(...S.map(C=>C[1])),$=S.map(C=>C[0]);return(b?[$.flat(1)]:$).map(C=>{const v=oe(C);if(v)return[h,y,v,g,{...s,noMerge:w,sort:m,layer:c},r,void 0]})};return[[d.filter(([,b])=>b).map(([b,,w])=>[b,w]),!0],[d.filter(([,b])=>!b).map(([b,,w])=>[b,w]),!1]].map(([b,w])=>[...p(!1,w,b.filter(([S])=>S.some(m=>m[0]===z.shortcutsNoMerge))),...p(!0,w,b.filter(([S])=>S.every(m=>m[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):j(r)?r===e:r.test(e))}getBlocked(e){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(e):j(s)?s===e:s.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Nt(t,e){return await ce.create(t,e)}const De=/\s\$\$\s+/g;function Dt(t){return De.test(t)}function Vt(t,e){return Dt(t)?t.replace(De,e?` ${e} `:" "):e?`${e} ${t}`:t}const xe=/^\[(.+?)(~?=)"(.*)"\]$/;function Bt(t){return xe.test(t)?t.replace(xe,(e,r,n,s)=>`[${re(r)}${n}"${re(s)}"]`):`.${re(t)}`}function Ut(t,e){return e(t)}var Se={};function Wt(){const t=typeof process<"u"&&process.stdout,e=t&&!!Se.VSCODE_CWD,r=t&&!!Se.ESLINT;return{isNode:t,isVSCode:e,isESLint:r}}const Ve=["academicons","akar-icons","ant-design","arcticons","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","dinkie-icons","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","fa7-brands","fa7-regular","fa7-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-icon-theme","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","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],Gt=3;function Ht(t){return(e={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:l,collections:f,extraProperties:u={},customizations:a={},autoInstall:o=!1,collectionsNodeResolvePath:c,layer:d="icons",unit:h,processor:y}=e,g=Wt(),p={addXmlNs:!0,scale:r,customCollections:f,autoInstall:o,cwd:c,warn:void 0,customizations:{...a,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(b,w,S){await a.iconCustomizer?.(b,w,S),h&&(S.width||(S.width=`${r}${h}`),S.height||(S.height=`${r}${h}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:fe,parseIconWithLoader:$e},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[w,S,m=n]=b;x=x||await t(e);const $={},C=await $e(S,x,{...p,usedProps:$},l);if(!C){i&&!g.isESLint&&Te(`failed to load icon "${w}"`);return}let v;const A=`url("data:image/svg+xml;utf8,${fe(C.svg)}")`;return m==="auto"&&(m=C.svg.includes("currentColor")?"mask":"bg"),m==="mask"?v={"--un-icon":A,"-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",...$}:v={background:`${A} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...$},y?.(v,{...C,icon:C.name,mode:m}),v},{layer:d,prefix:s}]]}}}function Be(t,e,r=new Map){function n(s){if(Ve.includes(s))return r.has(s)||r.set(s,t(`${e}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,l)=>{let f=await Le(s,i,l);if(f)return f;const u=await n(s);if(u){const a=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Oe(u,s,a,l)}return f}}async function $e(t,e,r={},n=[]){let s="",i="",l;const f=new Set([...Ve,...n,...Object.keys(r.customCollections||{})]);if(t.includes(":")){if([s,i]=t.split(":"),!f.has(s))return;l=await e(s,i,r)}else{const u=t.split(/-/g);for(let a=Gt;a>=1&&(s=u.slice(0,a).join("-"),!(!!f.has(s)&&(i=u.slice(a).join("-"),l=await e(s,i,r),l)));a--);}if(l)return{collection:s,name:i,svg:l}}async function qt(t){const{$fetch:e}=await We(async()=>{const{$fetch:r}=await import("../g9ft9ky3.js").then(n=>n.bp);return{$fetch:r}},__vite__mapDeps([0,1,2,3,4]),import.meta.url);return Be(e,t)}const Qt=Ht(async t=>{const e=t?.customFetch,r=t?.cdn;return e&&r?Be(e,r):r?await qt(r):Le});function Yt(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function Fe(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ae(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ke=["Webkit","Moz","ms"];function Zt(t){const e={};function r(n){const s=e[n];if(s)return s;let i=Yt(n);if(i!=="filter"&&i in t)return e[n]=Ae(i);i=Fe(i);for(let l=0;l<ke.length;l++){const f=`${ke[l]}${i}`;if(f in t)return e[n]=Ae(Fe(f))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function Kt(t){return t.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function en(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,r=window.document,n=()=>r.documentElement,s=e.__unocss||{},i=Object.assign({},t,s.runtime),l=i.defaults||{},f=i.cloakAttribute??"un-cloak";i.autoPrefix&&(l.postprocess=O(l.postprocess)).unshift(Zt(r.createElement("div").style)),i.configResolved?.(s,l);const u=await Nt(s,l),a=F=>i.inject?i.inject(F):n().prepend(F),o=()=>i.rootElement?i.rootElement():r.body,c=new Map;let d=!0;const h=new Set;let y,g,p=[];const x=()=>new Promise(F=>{p.push(F),g!=null&&clearTimeout(g),g=setTimeout(()=>S().then(()=>{const k=p;p=[],k.forEach(M=>M())}),0)});function b(F,k=!1){if(F.nodeType!==1)return;const M=F;M.hasAttribute(f)&&M.removeAttribute(f),k&&M.querySelectorAll(`[${f}]`).forEach(E=>{E.removeAttribute(f)})}function w(F,k){let M=c.get(F);if(!M)if(M=r.createElement("style"),M.setAttribute("data-unocss-runtime-layer",F),c.set(F,M),k==null)a(M);else{const E=w(k),I=E.parentNode;I?I.insertBefore(M,E.nextSibling):a(M)}return M}async function S(){const F=[...h],k=await u.generate(F);return k.layers.reduce((E,I)=>(w(I,E).innerHTML=k.getLayer(I)??"",I),void 0),F.filter(E=>!k.matched.has(E)).forEach(E=>h.delete(E)),{...k,getStyleElement:E=>c.get(E),getStyleElements:()=>c}}async function m(F){const k=h.size;await u.applyExtractors(F,void 0,h),k!==h.size&&await x()}async function $(F=o()){const k=F&&F.outerHTML;k&&(await m(`${k} ${Kt(k)}`),b(n()),b(F,!0))}const C=new MutationObserver(F=>{d||F.forEach(async k=>{if(k.target.nodeType!==1)return;const M=k.target;for(const E of c)if(M===E[1])return;if(k.type==="childList")k.addedNodes.forEach(async E=>{if(E.nodeType!==1)return;const I=E;y&&!y(I)||(await m(I.outerHTML),b(I))});else{if(y&&!y(M))return;if(k.attributeName!==f){const E=Array.from(M.attributes).map(_=>_.value?`${_.name}="${_.value}"`:_.name).join(" "),I=`<${M.tagName.toLowerCase()} ${E}>`;await m(I)}b(M)}})});let v=!1;function A(){if(v)return;const F=i.observer?.target?i.observer.target():o();F&&(C.observe(F,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),v=!0)}function L(){i.bypassDefined&&Jt(u.blocked),$(),A()}function P(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",L):L()}const R=e.__unocss_runtime=e.__unocss_runtime={version:u.version,uno:u,async extract(F){j(F)||(F.forEach(k=>h.add(k)),F=""),await m(F)},extractAll:$,inspect(F){y=F},toggleObserver(F){F===void 0?d=!d:d=!!F,!v&&!d&&P()},update:S,presets:e.__unocss_runtime?.presets??{}};i.ready?.(R)!==!1&&(d=!1,P())}function Jt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const r=document.styleSheets[e];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)),t.add(s))})}catch{continue}}return t}export{en as i,Qt as p};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../omanf44t.js","./json-editor-vue-ho2zu772.js","./json-editor-vue.css-f8ezrn37.css","./shiki-g7cm1eew.js","../entry.css-isd0m9wk.css"])))=>i.map(i=>d[i]);
2
+ import{a as Ue,_ as We}from"./json-editor-vue-ho2zu772.js";const Ge=Object.freeze({left:0,top:0,width:16,height:16}),Y=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Me=Object.freeze({...Ge,...Y}),He=Object.freeze({...Me,body:"",hidden:!1}),qe=Object.freeze({width:null,height:null}),_e=Object.freeze({...qe,...Y});function Ye(t,e){const r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);const n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}function le(t,e){const r=Ye(t,e);for(const n in He)n in Y?n in t&&!(n in r)&&(r[n]=Y[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function Ze(t,e){const r=t.icons,n=t.aliases||Object.create(null),s=Object.create(null);function i(l){if(r[l])return s[l]=[];if(!(l in s)){s[l]=null;const f=n[l]&&n[l].parent,u=f&&i(f);u&&(s[l]=[f].concat(u))}return s[l]}return(e||Object.keys(r).concat(Object.keys(n))).forEach(i),s}function ue(t,e,r){const n=t.icons,s=t.aliases||Object.create(null);let i={};function l(f){i=le(n[f]||s[f],i)}return l(e),r.forEach(l),le(t,i)}function Ke(t,e){if(t.icons[e])return ue(t,e,[]);const r=Ze(t,[e])[e];return r?ue(t,e,r):null}const Je=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Xe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z(t,e,r){if(e===1)return t;if(r=r||100,typeof t=="number")return Math.ceil(t*e*r)/r;if(typeof t!="string")return t;const n=t.split(Je);if(n===null||!n.length)return t;const s=[];let i=n.shift(),l=Xe.test(i);for(;;){if(l){const f=parseFloat(i);isNaN(f)?s.push(i):s.push(Math.ceil(f*e*r)/r)}else s.push(i);if(i=n.shift(),i===void 0)return s.join("");l=!l}}function Qe(t,e="defs"){let r="";const n=t.indexOf("<"+e);for(;n>=0;){const s=t.indexOf(">",n),i=t.indexOf("</"+e);if(s===-1||i===-1)break;const l=t.indexOf(">",i);if(l===-1)break;r+=t.slice(s+1,i).trim(),t=t.slice(0,n).trim()+t.slice(l+1)}return{defs:r,content:t}}function et(t,e){return t?"<defs>"+t+"</defs>"+e:e}function tt(t,e,r){const n=Qe(t);return et(n.defs,e+n.content+r)}const ae=t=>t==="unset"||t==="undefined"||t==="none";function nt(t,e){const r={...Me,...t},n={..._e,...e},s={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(g=>{const p=[],x=g.hFlip,b=g.vFlip;let w=g.rotate;x?b?w+=2:(p.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),p.push("scale(-1 1)"),s.top=s.left=0):b&&(p.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),p.push("scale(1 -1)"),s.top=s.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=s.height/2+s.top,p.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:p.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:S=s.width/2+s.left,p.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(s.left!==s.top&&(S=s.left,s.left=s.top,s.top=S),s.width!==s.height&&(S=s.width,s.width=s.height,s.height=S)),p.length&&(i=tt(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const l=n.width,f=n.height,u=s.width,a=s.height;let o,c;l===null?(c=f===null?"1em":f==="auto"?a:f,o=Z(c,u/a)):(o=l==="auto"?u:l,c=f===null?Z(o,a/u):f==="auto"?a:f);const d={},h=(g,p)=>{ae(p)||(d[g]=p.toString())};h("width",o),h("height",c);const y=[s.left,s.top,u,a];return d.viewBox=y.join(" "),{attributes:d,viewBox:y,body:i}}function rt(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function fe(t){let e=t.startsWith("<svg>")?t.replace("<svg>","<svg >"):t;return!e.includes(" xmlns:xlink=")&&e.includes(" xlink:")&&(e=e.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),e.includes(" xmlns=")||(e=e.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),rt(e)}function st(t){return t.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ot=/\swidth\s*=\s*["']([\w.]+)["']/,it=/\sheight\s*=\s*["']([\w.]+)["']/,Q=/<svg\s+/;function at(t,e,r){const n=t.slice(0,t.indexOf(">")),s=(i,l)=>{const f=l.exec(n),u=f!=null,a=e[i];return!a&&!ae(a)&&(typeof r=="number"?r>0&&(e[i]=Z(f?.[1]??"1em",r)):f&&(e[i]=f[1])),u};return[s("width",ot),s("height",it)]}async function Ee(t,e,r,n,s,i){const{scale:l,addXmlNs:f=!1}=n??{},{additionalProps:u={},iconCustomizer:a}=n?.customizations??{},o=await s?.()??{};await a?.(e,r,o),Object.keys(u).forEach(g=>{const p=u[g];p!=null&&(o[g]=p)}),i?.(o);const[c,d]=at(t,o,l);f&&(!t.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!t.includes("xmlns:xlink=")&&t.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const h=Object.keys(o).map(g=>g==="width"&&c||g==="height"&&d?null:`${g}="${o[g]}"`).filter(g=>g!=null);if(h.length&&(t=t.replace(Q,`<svg ${h.join(" ")} `)),n){const{defaultStyle:g,defaultClass:p}=n;p&&!t.includes("class=")&&(t=t.replace(Q,`<svg class="${p}" `)),g&&!t.includes("style=")&&(t=t.replace(Q,`<svg style="${g}" `))}const y=n?.usedProps;return y&&(Object.keys(u).forEach(g=>{const p=o[g];p!=null&&(y[g]=p)}),typeof o.width<"u"&&o.width!==null&&(y.width=o.width),typeof o.height<"u"&&o.height!==null&&(y.height=o.height)),t}var U={exports:{}},ee,de;function ct(){if(de)return ee;de=1;var t=1e3,e=t*60,r=e*60,n=r*24,s=n*7,i=n*365.25;ee=function(o,c){c=c||{};var d=typeof o;if(d==="string"&&o.length>0)return l(o);if(d==="number"&&isFinite(o))return c.long?u(o):f(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))};function l(o){if(o=String(o),!(o.length>100)){var c=/^(-?(?:\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(c){var d=parseFloat(c[1]),h=(c[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*i;case"weeks":case"week":case"w":return d*s;case"days":case"day":case"d":return d*n;case"hours":case"hour":case"hrs":case"hr":case"h":return d*r;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function f(o){var c=Math.abs(o);return c>=n?Math.round(o/n)+"d":c>=r?Math.round(o/r)+"h":c>=e?Math.round(o/e)+"m":c>=t?Math.round(o/t)+"s":o+"ms"}function u(o){var c=Math.abs(o);return c>=n?a(o,c,n,"day"):c>=r?a(o,c,r,"hour"):c>=e?a(o,c,e,"minute"):c>=t?a(o,c,t,"second"):o+" ms"}function a(o,c,d,h){var y=c>=d*1.5;return Math.round(o/d)+" "+h+(y?"s":"")}return ee}var te,he;function lt(){if(he)return te;he=1;function t(e){n.debug=n,n.default=n,n.coerce=a,n.disable=f,n.enable=i,n.enabled=u,n.humanize=ct(),n.destroy=o,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function r(c){let d=0;for(let h=0;h<c.length;h++)d=(d<<5)-d+c.charCodeAt(h),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=r;function n(c){let d,h=null,y,g;function p(...x){if(!p.enabled)return;const b=p,w=Number(new Date),S=w-(d||w);b.diff=S,b.prev=d,b.curr=w,d=w,x[0]=n.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let m=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(C,v)=>{if(C==="%%")return"%";m++;const A=n.formatters[v];if(typeof A=="function"){const L=x[m];C=A.call(b,L),x.splice(m,1),m--}return C}),n.formatArgs.call(b,x),(b.log||n.log).apply(b,x)}return p.namespace=c,p.useColors=n.useColors(),p.color=n.selectColor(c),p.extend=s,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:x=>{h=x}}),typeof n.init=="function"&&n.init(p),p}function s(c,d){const h=n(this.namespace+(typeof d>"u"?":":d)+c);return h.log=this.log,h}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];const d=(typeof c=="string"?c:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const h of d)h[0]==="-"?n.skips.push(h.slice(1)):n.names.push(h)}function l(c,d){let h=0,y=0,g=-1,p=0;for(;h<c.length;)if(y<d.length&&(d[y]===c[h]||d[y]==="*"))d[y]==="*"?(g=y,p=h,y++):(h++,y++);else if(g!==-1)y=g+1,p++,h=p;else return!1;for(;y<d.length&&d[y]==="*";)y++;return y===d.length}function f(){const c=[...n.names,...n.skips.map(d=>"-"+d)].join(",");return n.enable(""),c}function u(c){for(const d of n.skips)if(l(c,d))return!1;for(const d of n.names)if(l(c,d))return!0;return!1}function a(c){return c instanceof Error?c.stack||c.message:c}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 te=t,te}var pe;function ut(){return pe||(pe=1,(function(t,e){var r={};e.formatArgs=s,e.save=i,e.load=l,e.useColors=n,e.storage=f(),e.destroy=(()=>{let a=!1;return()=>{a||(a=!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`."))}})(),e.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 a;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&&(a=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(a[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function s(a){if(a[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+a[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;a.splice(1,0,o,"color: inherit");let c=0,d=0;a[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(c++,h==="%c"&&(d=c))}),a.splice(d,0,o)}e.log=console.debug||console.log||(()=>{});function i(a){try{a?e.storage.setItem("debug",a):e.storage.removeItem("debug")}catch{}}function l(){let a;try{a=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!a&&typeof process<"u"&&"env"in process&&(a=r.DEBUG),a}function f(){try{return localStorage}catch{}}t.exports=lt()(e);const{formatters:u}=t.exports;u.j=function(a){try{return JSON.stringify(a)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}}})(U,U.exports)),U.exports}var ft=ut();const je=Ue(ft),dt=je("@iconify-loader:custom");async function me(t,e,r,n){let s;dt(`${e}:${r}`);try{if(typeof t=="function")s=await t(r);else{const i=t[r];s=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${e}":`,i);return}if(s){const i=s.indexOf("<svg");i>0&&(s=s.slice(i));const{transform:l}=n?.customizations??{};return s=typeof l=="function"?await l(s,e,r):s,s.startsWith("<svg")?await Ee(n?.customizations?.trimCustomSvg===!0?st(s):s,e,r,n,void 0):(console.warn(`Custom icon "${r}" in "${e}" is not a valid SVG`),s)}}const ht=je("@iconify-loader:icon");async function Oe(t,e,r,n){let s;const{customize:i}=n?.customizations??{};for(const l of r)if(s=Ke(t,l),s){ht(`${e}:${l}`);let f={..._e};typeof i=="function"&&(s=Object.assign({},s),f=i(f,s,`${e}:${l}`)??f);const{attributes:{width:u,height:a,...o},body:c}=nt(s,f),d=n?.scale;return await Ee(`<svg >${c}</svg>`,e,l,n,()=>({...o}),h=>{const y=(g,p)=>{const x=h[g];let b;if(!ae(x)){if(x)return;typeof d=="number"?d&&(b=Z(p??"1em",d)):b=p}b?h[g]=b:delete h[g]};y("width",u),y("height",a)})}}const Le=async(t,e,r)=>{const n=r?.customCollections?.[t];if(n)if(typeof n=="function"){let s;try{s=await n(e)}catch(i){console.warn(`Failed to load custom icon "${e}" in "${t}":`,i);return}if(s){if(typeof s=="string")return await me(()=>s,t,e,r);if("icons"in s){const i=[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")];return await Oe(s,t,i,r)}}}else return await me(n,t,e,r)},H="default",ie="preflights",pt="shortcuts",mt="imports",gt={[mt]:-200,[ie]:-100,[pt]:-10,[H]:0},yt=/[\\:]?[\s'"`;{}]+/g;function wt(t){return t.split(yt)}const Ct={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return wt(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function D(t){return Array.from(new Set(t))}function ge(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function j(t){return typeof t=="string"}class Ie extends Set{_map=new Map;constructor(e){if(super(),e)for(const r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}}function ne(t){return t instanceof Ie}function bt(t){const e=t.length;let r=-1,n,s="";const i=t.charCodeAt(0);for(;++r<e;){if(n=t.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&&e===1&&n===45){s+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=t.charAt(r);continue}s+=`\\${t.charAt(r)}`}return s}const re=bt;function vt(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}function xt(t){return typeof t=="function"?{match:t}:t}function ye(t){return t.length===3}function se(t){return t!=null}function St(){}class Ft{_map=new Map;get(e,r){const n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.has(r)||s.set(r,n),s.get(r)}set(e,r,n){let s=this._map.get(e);return s||(s=new Map,this._map.set(e,s)),s.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([s,i])=>e(i,r,s)))}}class $t extends Map{getFallback(e,r){const n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){const r=[];return this.forEach((n,s)=>{r.push(e(n,s))}),r}flatMap(e){const r=[];return this.forEach((n,s)=>{r.push(...e(n,s))}),r}}function K(t){return j(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function At(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>K(e)):[t]:[K(t)]}function kt(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let s=n-1;s>=0;s--)if(t[s][0]===e&&t[s][1]===r)return!1;return!0})}const Pe="__virtual_key__";function oe(t){return t==null?"":kt(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Pe?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function W(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Re(t,e,r=!1){const n=t,s=e;if(Array.isArray(s))return r&&Array.isArray(s)?[...n,...s]:[...s];const i={...n};return W(n)&&W(s)&&Object.keys(s).forEach(l=>{W(n[l])&&W(s[l])||Array.isArray(n[l])&&Array.isArray(s[l])?i[l]=Re(n[l],s[l],r):Object.assign(i,{[l]:s[l]})}),i}function q(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:q(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?q(n):n;return r}return t}function Mt(t){return j(t[0])}function _t(t){return j(t[0])}const G={};function Et(t=["-",":"]){const e=t.join("|");return G[e]||(G[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),G[e].lastIndex=0,G[e]}function jt(t,e=["-",":"],r=5){const n=Et(e);let s,i=t.toString();const l=new Set,f=new Map;do s=!1,i=i.replace(n,(a,o,c,d,h)=>{if(!e.includes(c))return a;s=!0,l.add(o+c);const y=h+o.length+c.length+1,g={length:a.length,items:[]};f.set(h,g);for(const p of[...d.matchAll(/\S+/g)]){const x=y+p.index;let b=f.get(x)?.items;b?f.delete(x):b=[{offset:x,length:p[0].length,className:p[0]}];for(const w of b)w.className=w.className==="~"?o:w.className.replace(/^(!?)(.*)/,`$1${o}${c}$2`),g.items.push(w)}return"$".repeat(a.length)}),r-=1;while(s&&r);let u;if(typeof t=="string"){u="";let a=0;for(const[o,c]of f)u+=t.slice(a,o),u+=c.items.map(d=>d.className).join(" "),a=o+c.length;u+=t.slice(a)}else{u=t;for(const[a,o]of f)u.overwrite(a,a+o.length,o.items.map(c=>c.className).join(" "))}return{prefixes:Array.from(l),hasChanged:s,groupsByOffset:f,get expanded(){return u.toString()}}}function Ot(t,e=["-",":"],r=5){const n=jt(t,e,r);return typeof t=="string"?n.expanded:t}const we=new Set;function Te(t){we.has(t)||(console.warn("[unocss]",t),we.add(t))}function ze(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}const Ce="_uno_resolved";async function Lt(t){let e=typeof t=="function"?await t():await t;if(Ce in e)return e;e={...e},Object.defineProperty(e,Ce,{value:!0,enumerable:!1});const r=e.shortcuts?ze(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){const n=s=>{s[2]||(s[2]={});const i=s[2];i.prefix==null&&e.prefix&&(i.prefix=O(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Ne(t){const e=await Lt(t);if(!e.presets)return[e];const r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(Ne))).flat();return[e,...r]}function It(t){if(t.length===0)return{};const e=[],r=[];let n=!1;const s=[],i=[];for(const f of t){if(f.pipeline===!1){n=!0;break}else f.pipeline?.include&&e.push(f.pipeline.include),f.pipeline?.exclude&&r.push(f.pipeline.exclude);f.filesystem&&s.push(f.filesystem),f.inline&&i.push(f.inline)}const l={pipeline:n?!1:{include:D(ve(...e)),exclude:D(ve(...r))}};return s.length&&(l.filesystem=D(s.flat())),i.length&&(l.inline=D(i.flat())),l}async function be(t={},e={}){const r=Object.assign({},e,t),n=ge((await Promise.all((r.presets||[]).flatMap(O).flatMap(Ne))).flat(),(m,F)=>m.name===F.name),s=[...n.filter(m=>m.enforce==="pre"),...n.filter(m=>!m.enforce),...n.filter(m=>m.enforce==="post")],i=[...s,r],l=[...i].reverse(),f=Object.assign({},gt,...i.map(m=>m.layers));function u(m){return D(i.flatMap(F=>O(F[m]||[])))}const a=u("extractors");let o=l.find(m=>m.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Ct),o&&!a.includes(o)&&a.unshift(o),a.sort((m,F)=>(m.order||0)-(F.order||0));const c=u("rules"),d=c.length,h={},y=[];for(const[m,F]of c.entries()){const C=F[2]??(F[2]={});C.__index=m,Mt(F)?O(C.prefix??"").forEach(A=>{h[A+F[0]]=F}):y.unshift(F)}const g={templates:D(i.flatMap(m=>O(m.autocomplete?.templates))),extractors:i.flatMap(m=>O(m.autocomplete?.extractors)).sort((m,F)=>(m.order||0)-(F.order||0)),shorthands:Rt(i.map(m=>m.autocomplete?.shorthands||{}))};let p=u("separators");p.length||(p=[":","-"]);const x=u("content"),b=It(x),w={mergeSelectors:!0,warn:!0,sortLayers:m=>m,...r,blocklist:u("blocklist"),presets:s,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:f,theme:Pt(i.map(m=>m.theme)),rules:c,rulesSize:d,rulesDynamic:y,rulesStaticMap:h,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:g,variants:u("variants").map(xt).sort((m,F)=>(m.order||0)-(F.order||0)),shortcuts:ze(u("shortcuts")).reverse(),extractors:a,safelist:u("safelist"),separators:p,details:r.details??r.envMode==="dev",content:b,transformers:ge(u("transformers"),(m,F)=>m.name===F.name)},S=u("extendTheme");for(const m of S)w.theme=m(w.theme,w)||w.theme;for(const m of i)m?.configResolved?.(w);return w}function Pt(t){return t.map(e=>e?q(e):{}).reduce((e,r)=>Re(e,r),{})}function Rt(t){return t.reduce((e,r)=>{const n={};for(const s in r){const i=r[s];Array.isArray(i)?n[s]=`(${i.join("|")})`:n[s]=i}return{...e,...n}},{})}function ve(...t){return t.flatMap(Tt)}function Tt(t){return Array.isArray(t)?t:t?[t]:[]}const zt="66.5.9",z={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"};class ce{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=zt;events=vt();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){const n=new ce(e,r);return n.config=await be(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await be(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){const s={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const l=await i.extract?.(s);if(l)if(ne(l)&&ne(n))for(const f of l)n.setCount(f,n.getCount(f)+l.getCount(f));else for(const f of l)n.add(f)}return n}makeContext(e,r){const n={rawSelector:e,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(e,r){if(this.blocked.has(e))return;const n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const s=this.config.preprocess.reduce((u,a)=>a(u)??u,e);if(this.isBlocked(s)){this.blocked.add(e),this.cache.set(n,null);return}const i=await this.matchVariants(e,s);if(i.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(e),this.cache.set(n,null);return}const l=async u=>{const a=this.makeContext(e,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(a.variants=[...u[3]]);const o=await this.expandShortcut(a.currentSelector,a);return o?await this.stringifyShortcuts(a.variantMatch,a,o[0],o[1]):(await this.parseUtil(a.variantMatch,a))?.map(d=>this.stringifyUtil(d,a)).filter(se)},f=(await Promise.all(i.map(u=>l(u)))).flat().filter(u=>!!u);if(f?.length)return this.cache.set(n,f),f;this.cache.set(n,null)}async generate(e,r={}){const{id:n,scope:s,preflights:i=!0,safelist:l=!0,minify:f=!1,extendedInfo:u=!1}=r,a=j(e)?await this.applyExtractors(e,n,u?new Ie:new Set):Array.isArray(e)?new Set(e):e;if(l){const C={generator:this,theme:this.config.theme};this.config.safelist.flatMap(v=>typeof v=="function"?v(C):v).forEach(v=>{const A=v.trim();A&&!a.has(A)&&a.add(A)})}const o=f?"":`
3
+ `,c=new Set([H]),d=u?new Map:new Set,h=new Map;let y={};const g=Array.from(a).map(async C=>{if(d.has(C))return;const v=await this.parseToken(C);if(v!=null){d instanceof Map?d.set(C,{data:v,count:ne(a)?a.getCount(C):-1}):d.add(C);for(const A of v){const L=A[3]||"",P=A[4]?.layer;h.has(L)||h.set(L,[]),h.get(L).push(A),P&&c.add(P)}}});await Promise.all(g),await(async()=>{if(!i)return;const C={generator:this,theme:this.config.theme},v=new Set([]);this.config.preflights.forEach(({layer:A=ie})=>{c.add(A),v.add(A)}),y=Object.fromEntries(await Promise.all(Array.from(v).map(async A=>{const P=(await Promise.all(this.config.preflights.filter(R=>(R.layer||ie)===A).map(async R=>await R.getCSS(C)))).filter(Boolean).join(o);return[A,P]})))})();const p=this.config.sortLayers(Array.from(c).sort((C,v)=>(this.config.layers[C]??0)-(this.config.layers[v]??0)||C.localeCompare(v))),x={},b=this.config.outputToCssLayers,w=C=>{let v=C;return typeof b=="object"&&(v=b.cssLayerName?.(C)),v===null?null:v??C},S=(C=H)=>{if(x[C])return x[C];let v=Array.from(h).sort((P,R)=>(this.parentOrders.get(P[0])??0)-(this.parentOrders.get(R[0])??0)||P[0]?.localeCompare(R[0]||"")||0).map(([P,R])=>{const $=R.length,k=R.filter(_=>(_[4]?.layer||H)===C).sort((_,T)=>_[0]-T[0]||(_[4]?.sort||0)-(T[4]?.sort||0)||_[5]?.currentSelector?.localeCompare(T[5]?.currentSelector??"")||_[1]?.localeCompare(T[1]||"")||_[2]?.localeCompare(T[2]||"")||0).map(([,_,T,,B,,J])=>[[[(_&&Vt(_,s))??"",B?.sort??0]],T,!!(J??B?.noMerge)]);if(!k.length)return;const M=k.reverse().map(([_,T,B],J)=>{if(!B&&this.config.mergeSelectors)for(let V=J+1;V<$;V++){const N=k[V];if(N&&!N[2]&&(_&&N[0]||_==null&&N[0]==null)&&N[1]===T)return _&&N[0]&&N[0].push(..._),null}const X=_?D(_.sort((V,N)=>V[1]-N[1]||V[0]?.localeCompare(N[0]||"")||0).map(V=>V[0]).filter(Boolean)):[];return X.length?`${X.join(`,${o}`)}{${T}}`:T}).filter(Boolean),E=Array.from(new Set(M)).reverse().join(o);if(!P)return E;const I=P.split(" $$ ");return`${I.join("{")}{${o}${E}${o}${"}".repeat(I.length)}`}).filter(Boolean).join(o);i&&(v=[y[C],v].filter(Boolean).join(o));let A;b&&v&&(A=w(C),A!==null&&(v=`@layer ${A}{${o}${v}${o}}`));const L=f?"":`/* layer: ${C}${A&&A!==C?`, alias: ${A}`:""} */${o}`;return x[C]=v?L+v:""},m=(C=p,v)=>{const A=C.filter(L=>!v?.includes(L));return[b&&A.length>0?`@layer ${A.map(w).filter(se).join(", ")};`:void 0,...A.map(L=>S(L)||"")].filter(Boolean).join(o)};return{get css(){return m()},layers:p,matched:d,getLayers:m,getLayer:S,setLayer:async(C,v)=>{const A=await v(S(C));return x[C]=A,A}}}async matchVariants(e,r){const n={rawSelector:e,theme:this.config.theme,generator:this},s=async i=>{let l=!0;const[,,f,u]=i;for(;l;){l=!1;const a=i[1];for(const o of this.config.variants){if(!o.multiPass&&u.has(o))continue;let c=await o.match(a,n);if(c){if(j(c)){if(c===a)continue;c={matcher:c}}if(Array.isArray(c)){if(!c.length)continue;if(c.length===1)c=c[0];else{if(o.multiPass)throw new Error("multiPass can not be used together with array return variants");const d=c.map(h=>{const y=h.matcher??a,g=[h,...f],p=new Set(u);return p.add(o),[i[0],y,g,p]});return(await Promise.all(d.map(h=>s(h)))).flat()}}i[1]=c.matcher??a,f.unshift(c),u.add(o),l=!0;break}}if(!l)break;if(f.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await s([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){const i=r.slice().sort((a,o)=>(a.order||0)-(o.order||0)).reduceRight((a,o)=>c=>{const d=o.body?.(c.entries)||c.entries,h=Array.isArray(o.parent)?o.parent:[o.parent,void 0],y=o.selector?.(c.selector,d);return(o.handle??Ut)({...c,entries:d,selector:y||c.selector,parent:h[0]||c.parent,parentOrder:h[1]||c.parentOrder,layer:o.layer||c.layer,sort:o.sort||c.sort},a)},a=>a)({prefix:"",selector:Bt(n),pseudo:"",entries:e[2]}),{parent:l,parentOrder:f}=i;l!=null&&f!=null&&this.parentOrders.set(l,f);const u={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:l,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const a of this.config.postprocess)a(u);return u}constructCustomCSS(e,r,n){const s=K(r);if(j(s))return s;const{selector:i,entries:l,parent:f}=this.applyVariants([0,n||e.rawSelector,s,void 0,e.variantHandlers]),u=`${i}{${oe(l)}}`;return f?`${f}{${u}}`:u}async parseUtil(e,r,n=!1,s){const i=j(e)?await this.matchVariants(e):[e],l=async([u,a,o])=>{this.config.details&&(r.rules=r.rules??[]);const c={...r,variantHandlers:o},d=this.config.rulesStaticMap[a];if(d&&d[1]&&(n||!d[2]?.internal))return this.resolveCSSResult(u,d[1],d,c);for(const h of this.config.rulesDynamic){const[y,g,p]=h;if(p?.internal&&!n)continue;let x=a;if(p?.prefix){const m=O(p.prefix);if(s){const F=O(s);if(!m.some(C=>F.includes(C)))continue}else{const F=m.find(C=>a.startsWith(C));if(F==null)continue;x=a.slice(F.length)}}const b=x.match(y);if(!b)continue;let w=await g(b,c);if(!w)continue;if(typeof w!="string")if(Symbol.asyncIterator in w){const m=[];for await(const F of w)F&&m.push(F);w=m}else Symbol.iterator in w&&!Array.isArray(w)&&(w=Array.from(w).filter(se));const S=this.resolveCSSResult(u,w,h,c);if(S)return S}},f=(await Promise.all(i.map(u=>l(u)))).flat().filter(u=>!!u);if(f.length)return f}resolveCSSResult=(e,r,n,s)=>{const i=At(r).filter(l=>l.length);if(i.length){this.config.details&&s.rules.push(n),s.generator.activatedRules.add(n);const l=n[2];return i.map(f=>{if(j(f))return[l.__index,f,l];let u=s.variantHandlers,a=l;for(const o of f)o[0]===z.variants?typeof o[1]=="function"?u=o[1](u)||u:u=[...O(o[1]),...u]:o[0]===z.parent?u=[{parent:o[1]},...u]:o[0]===z.selector?u=[{selector:o[1]},...u]:o[0]===z.layer?u=[{layer:o[1]},...u]:o[0]===z.sort?a={...a,sort:o[1]}:o[0]===z.noMerge?a={...a,noMerge:o[1]}:o[0]===z.body&&(o[0]=Pe);return[l.__index,e,f,a,u]})}};stringifyUtil(e,r){if(!e)return;if(ye(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];const{selector:n,entries:s,parent:i,layer:l,sort:f,noMerge:u}=this.applyVariants(e),a=oe(s);if(!a)return;const{layer:o,sort:c,...d}=e[3]??{},h={...d,layer:l??o,sort:f??c};return[e[0],n,a,i,h,this.config.details?r:void 0,u]}async expandShortcut(e,r,n=5){if(n===0)return;const s=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:St;let i,l,f,u;for(const a of this.config.shortcuts){let o=e;if(a[2]?.prefix){const d=O(a[2].prefix).find(h=>e.startsWith(h));if(d==null)continue;o=e.slice(d.length)}if(_t(a)){if(a[0]===o){i=i||a[2],l=a[1],s(a);break}}else{const c=o.match(a[0]);if(c&&(l=a[1](c,r)),l){i=i||a[2],s(a);break}}}if(l&&(f=D(O(l).filter(j).map(a=>Ot(a.trim()).split(/\s+/g)).flat()),u=O(l).filter(a=>!j(a)).map(a=>({handles:[],value:a}))),!l){const a=j(e)?await this.matchVariants(e):[e];for(const o of a){const[c,d,h]=o;if(c!==d){const y=await this.expandShortcut(d,r,n-1);y&&(f=y[0].filter(j).map(g=>c.replace(d,g)),u=y[0].filter(g=>!j(g)).map(g=>({handles:[...g.handles,...h],value:g.value})))}}}if(!(!f?.length&&!u?.length))return[[await Promise.all(O(f).map(async a=>(await this.expandShortcut(a,r,n-1))?.[0]||[a])),u].flat(2).filter(a=>!!a),i]}async stringifyShortcuts(e,r,n,s={layer:this.config.shortcutsLayer}){const i=new $t,l=(await Promise.all(D(n).map(async o=>{const c=j(o)?await this.parseUtil(o,r,!0,s.prefix):[[Number.POSITIVE_INFINITY,"{inline}",K(o.value),void 0,o.handles]];return!c&&this.config.warn&&Te(`unmatched utility "${o}" in shortcut "${e[1]}"`),c||[]}))).flat(1).filter(Boolean).sort((o,c)=>o[0]-c[0]),[f,,u]=e,a=[];for(const o of l){if(ye(o)){a.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const c=Object.fromEntries(o[2])[z.shortcutsNoMerge],d=[...o[4],...c?[]:u],{selector:h,entries:y,parent:g,sort:p,noMerge:x,layer:b}=this.applyVariants(o,d,f);i.getFallback(b??s.layer,new Ft).getFallback(h,g,[[],o[0]])[0].push([y,!!(x??o[3]?.noMerge),p??0])}return a.concat(i.flatMap((o,c)=>o.map(([d,h],y,g)=>{const p=(b,w,S)=>{const m=Math.max(...S.map(C=>C[1])),F=S.map(C=>C[0]);return(b?[F.flat(1)]:F).map(C=>{const v=oe(C);if(v)return[h,y,v,g,{...s,noMerge:w,sort:m,layer:c},r,void 0]})};return[[d.filter(([,b])=>b).map(([b,,w])=>[b,w]),!0],[d.filter(([,b])=>!b).map(([b,,w])=>[b,w]),!1]].map(([b,w])=>[...p(!1,w,b.filter(([S])=>S.some(m=>m[0]===z.shortcutsNoMerge))),...p(!0,w,b.filter(([S])=>S.every(m=>m[0]!==z.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):j(r)?r===e:r.test(e))}getBlocked(e){const r=this.config.blocklist.find(n=>{const s=Array.isArray(n)?n[0]:n;return typeof s=="function"?s(e):j(s)?s===e:s.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function Nt(t,e){return await ce.create(t,e)}const De=/\s\$\$\s+/g;function Dt(t){return De.test(t)}function Vt(t,e){return Dt(t)?t.replace(De,e?` ${e} `:" "):e?`${e} ${t}`:t}const xe=/^\[(.+?)(~?=)"(.*)"\]$/;function Bt(t){return xe.test(t)?t.replace(xe,(e,r,n,s)=>`[${re(r)}${n}"${re(s)}"]`):`.${re(t)}`}function Ut(t,e){return e(t)}var Se={};function Wt(){const t=typeof process<"u"&&process.stdout,e=t&&!!Se.VSCODE_CWD,r=t&&!!Se.ESLINT;return{isNode:t,isVSCode:e,isESLint:r}}const Ve=["academicons","akar-icons","ant-design","arcticons","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","dinkie-icons","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","fa7-brands","fa7-regular","fa7-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-icon-theme","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","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si-glyph","si","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],Gt=3;function Ht(t){return(e={})=>{const{scale:r=1,mode:n="auto",prefix:s="i-",warn:i=!1,iconifyCollectionsNames:l,collections:f,extraProperties:u={},customizations:a={},autoInstall:o=!1,collectionsNodeResolvePath:c,layer:d="icons",unit:h,processor:y}=e,g=Wt(),p={addXmlNs:!0,scale:r,customCollections:f,autoInstall:o,cwd:c,warn:void 0,customizations:{...a,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(b,w,S){await a.iconCustomizer?.(b,w,S),h&&(S.width||(S.width=`${r}${h}`),S.height||(S.height=`${r}${h}`))}}};let x;return{name:"@unocss/preset-icons",enforce:"pre",options:e,layers:{icons:-30},api:{encodeSvgForCss:fe,parseIconWithLoader:Fe},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async b=>{let[w,S,m=n]=b;x=x||await t(e);const F={},C=await Fe(S,x,{...p,usedProps:F},l);if(!C){i&&!g.isESLint&&Te(`failed to load icon "${w}"`);return}let v;const A=`url("data:image/svg+xml;utf8,${fe(C.svg)}")`;return m==="auto"&&(m=C.svg.includes("currentColor")?"mask":"bg"),m==="mask"?v={"--un-icon":A,"-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",...F}:v={background:`${A} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...F},y?.(v,{...C,icon:C.name,mode:m}),v},{layer:d,prefix:s}]]}}}function Be(t,e,r=new Map){function n(s){if(Ve.includes(s))return r.has(s)||r.set(s,t(`${e}@iconify-json/${s}/icons.json`)),r.get(s)}return async(s,i,l)=>{let f=await Le(s,i,l);if(f)return f;const u=await n(s);if(u){const a=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];f=await Oe(u,s,a,l)}return f}}async function Fe(t,e,r={},n=[]){let s="",i="",l;const f=new Set([...Ve,...n,...Object.keys(r.customCollections||{})]);if(t.includes(":")){if([s,i]=t.split(":"),!f.has(s))return;l=await e(s,i,r)}else{const u=t.split(/-/g);for(let a=Gt;a>=1&&(s=u.slice(0,a).join("-"),!(!!f.has(s)&&(i=u.slice(a).join("-"),l=await e(s,i,r),l)));a--);}if(l)return{collection:s,name:i,svg:l}}async function qt(t){const{$fetch:e}=await We(async()=>{const{$fetch:r}=await import("../omanf44t.js").then(n=>n.bp);return{$fetch:r}},__vite__mapDeps([0,1,2,3,4]),import.meta.url);return Be(e,t)}const Qt=Ht(async t=>{const e=t?.customFetch,r=t?.cdn;return e&&r?Be(e,r):r?await qt(r):Le});function Yt(t){return t.replace(/-(\w)/g,(e,r)=>r?r.toUpperCase():"")}function $e(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ae(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var ke=["Webkit","Moz","ms"];function Zt(t){const e={};function r(n){const s=e[n];if(s)return s;let i=Yt(n);if(i!=="filter"&&i in t)return e[n]=Ae(i);i=$e(i);for(let l=0;l<ke.length;l++){const f=`${ke[l]}${i}`;if(f in t)return e[n]=Ae($e(f))}return n}return({entries:n})=>n.forEach(s=>{s[0].startsWith("--")||(s[0]=r(s[0]))})}function Kt(t){return t.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function en(t={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const e=window,r=window.document,n=()=>r.documentElement,s=e.__unocss||{},i=Object.assign({},t,s.runtime),l=i.defaults||{},f=i.cloakAttribute??"un-cloak";i.autoPrefix&&(l.postprocess=O(l.postprocess)).unshift(Zt(r.createElement("div").style)),i.configResolved?.(s,l);const u=await Nt(s,l),a=$=>i.inject?i.inject($):n().prepend($),o=()=>i.rootElement?i.rootElement():r.body,c=new Map;let d=!0;const h=new Set;let y,g,p=[];const x=()=>new Promise($=>{p.push($),g!=null&&clearTimeout(g),g=setTimeout(()=>S().then(()=>{const k=p;p=[],k.forEach(M=>M())}),0)});function b($,k=!1){if($.nodeType!==1)return;const M=$;M.hasAttribute(f)&&M.removeAttribute(f),k&&M.querySelectorAll(`[${f}]`).forEach(E=>{E.removeAttribute(f)})}function w($,k){let M=c.get($);if(!M)if(M=r.createElement("style"),M.setAttribute("data-unocss-runtime-layer",$),c.set($,M),k==null)a(M);else{const E=w(k),I=E.parentNode;I?I.insertBefore(M,E.nextSibling):a(M)}return M}async function S(){const $=[...h],k=await u.generate($);return k.layers.reduce((E,I)=>(w(I,E).innerHTML=k.getLayer(I)??"",I),void 0),$.filter(E=>!k.matched.has(E)).forEach(E=>h.delete(E)),{...k,getStyleElement:E=>c.get(E),getStyleElements:()=>c}}async function m($){const k=h.size;await u.applyExtractors($,void 0,h),k!==h.size&&await x()}async function F($=o()){const k=$&&$.outerHTML;k&&(await m(`${k} ${Kt(k)}`),b(n()),b($,!0))}const C=new MutationObserver($=>{d||$.forEach(async k=>{if(k.target.nodeType!==1)return;const M=k.target;for(const E of c)if(M===E[1])return;if(k.type==="childList")k.addedNodes.forEach(async E=>{if(E.nodeType!==1)return;const I=E;y&&!y(I)||(await m(I.outerHTML),b(I))});else{if(y&&!y(M))return;if(k.attributeName!==f){const E=Array.from(M.attributes).map(_=>_.value?`${_.name}="${_.value}"`:_.name).join(" "),I=`<${M.tagName.toLowerCase()} ${E}>`;await m(I)}b(M)}})});let v=!1;function A(){if(v)return;const $=i.observer?.target?i.observer.target():o();$&&(C.observe($,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),v=!0)}function L(){i.bypassDefined&&Jt(u.blocked),F(),A()}function P(){r.readyState==="loading"?e.addEventListener("DOMContentLoaded",L):L()}const R=e.__unocss_runtime=e.__unocss_runtime={version:u.version,uno:u,async extract($){j($)||($.forEach(k=>h.add(k)),$=""),await m($)},extractAll:F,inspect($){y=$},toggleObserver($){$===void 0?d=!d:d=!!$,!v&&!d&&P()},update:S,presets:e.__unocss_runtime?.presets??{}};i.ready?.(R)!==!1&&(d=!1,P())}function Jt(t=new Set){for(let e=0;e<document.styleSheets.length;e++){const r=document.styleSheets[e];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)),t.add(s))})}catch{continue}}return t}export{en as i,Qt as p};
@@ -1 +1 @@
1
- import{_ as V}from"./nnavbar-l4xos9kw.js";import{_ as D}from"./ncode-block-j34pr9ay.js";import{b as S,bl as B,bm as j,S as P,i as E,n as I,a8 as U}from"#entry";import{J as c,Y as l,a3 as n,p as W,k as f,w as q,q as p,a1 as s,$ as u,X as z,ab as v,F as d,ah as G,a7 as H}from"./vendor/json-editor-vue-gjlsq8io.js";import{_ as J}from"./help-fab-9epbigv8.js";import"./client-c7ye0k5n.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-fw2uvwtg.js";const L={},R={class:"markdown-body"};function X(x,o){return l(),c("div",R,[...o[0]||(o[0]=[n("template",null,[n("div",{class:"markdown-body"},[n("h1",null,"Virtual Files"),n("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.")])],-1)])])}const Y=S(L,[["render",X]]),A=["onClick"],K={key:0,"h-full":"","of-hidden":"",flex:"~ col"},M={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},re=W({__name:"virtual-files",setup(x){const o=f(""),a=B(),_=j(),i=f();q(()=>{if(!_.value)return;const e=`/_vfs.json/${encodeURIComponent(_.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>i.value=t.current)});function h(e){if(a.value?.rootDir)return e.startsWith(a.value?.rootDir)?e.slice(a.value.rootDir.length):e}const m=p(()=>a.value?a.value.entries.filter(e=>!e.id.startsWith(`${a.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=p(()=>new P(m.value,{keys:["id","path"]})),k=p(()=>o.value?b.value.search(o.value).map(e=>e.item):m.value);return(e,t)=>{const y=V,g=D,C=I,F=E,w=U,N=Y,$=J;return l(),c(d,null,[s(w,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[s(y,{search:o.value,"onUpdate:search":t[0]||(t[0]=r=>o.value=r),"no-padding":"",p3:""},null,8,["search"]),(l(!0),c(d,null,G(k.value,r=>(l(),c(d,{key:r.id},[n("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:H(r.id===i.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:O=>_.value=r.id},v(h(r.id)),11,A),t[1]||(t[1]=n("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[i.value?.content?(l(),c("div",K,[n("div",M,[n("code",null,v(i.value.id),1)]),s(g,{"h-full":"","of-auto":"","text-sm":"",code:i.value.content,lang:"typescript"},null,8,["code"])])):(l(),z(F,{key:1},{default:u(()=>[s(C,{px6:"",py2:""},{default:u(()=>[...t[2]||(t[2]=[n("span",{op75:""},"Select a file to start",-1)])]),_:1})]),_:1}))]),_:1}),s($,null,{default:u(()=>[s(N)]),_:1})],64)}}});export{re as default};
1
+ import{_ as $}from"./nnavbar-eqdsa2v0.js";import{_ as D}from"./ncode-block-esxkr86l.js";import{b as S,bl as B,bm as j,S as P,i as W,n as E,a8 as I}from"#entry";import{J as c,X as l,a2 as n,p as U,k as f,w as q,q as p,a0 as s,Z as u,W as z,aa as v,F as d,ag as G,a6 as H}from"./vendor/json-editor-vue-ho2zu772.js";import{_ as J}from"./help-fab-izt1nioe.js";import"./client-c6aoxv2l.js";import"./vendor/shiki-g7cm1eew.js";import"./vendor/unocss-czq6idj6.js";const L={},R={class:"markdown-body"};function X(x,o){return l(),c("div",R,[...o[0]||(o[0]=[n("template",null,[n("div",{class:"markdown-body"},[n("h1",null,"Virtual Files"),n("p",null,"Virtual files are generated on the fly to support the conventions of the framework, and to provide a better developer experience.")])],-1)])])}const Z=S(L,[["render",X]]),A=["onClick"],K={key:0,"h-full":"","of-hidden":"",flex:"~ col"},M={border:"b base","flex-none":"",px4:"",py2:"","text-sm":"",op75:""},re=U({__name:"virtual-files",setup(x){const o=f(""),a=B(),_=j(),i=f();q(()=>{if(!_.value)return;const e=`/_vfs.json/${encodeURIComponent(_.value)}`;fetch(e,{headers:{accept:"application/json"}}).then(t=>t.json()).then(t=>i.value=t.current)});function h(e){if(a.value?.rootDir)return e.startsWith(a.value?.rootDir)?e.slice(a.value.rootDir.length):e}const m=p(()=>a.value?a.value.entries.filter(e=>!e.id.startsWith(`${a.value?.rootDir||""}/.nuxt/`)).sort((e,t)=>e.id.localeCompare(t.id)):[]),b=p(()=>new P(m.value,{keys:["id","path"]})),k=p(()=>o.value?b.value.search(o.value).map(e=>e.item):m.value);return(e,t)=>{const y=$,g=D,C=E,F=W,w=I,N=Z,V=J;return l(),c(d,null,[s(w,{class:"virtual-files","storage-key":"tab-virtual-files"},{left:u(()=>[s(y,{search:o.value,"onUpdate:search":t[0]||(t[0]=r=>o.value=r),"no-padding":"",p3:""},null,8,["search"]),(l(!0),c(d,null,G(k.value,r=>(l(),c(d,{key:r.id},[n("button",{block:"","w-full":"","select-none":"",truncate:"",px2:"",py1:"","text-start":"","text-sm":"","font-mono":"",class:H(r.id===i.value?.id?"text-primary n-bg-active":"text-secondary hover:n-bg-hover"),onClick:O=>_.value=r.id},v(h(r.id)),11,A),t[1]||(t[1]=n("div",{"x-divider":""},null,-1))],64))),128))]),right:u(()=>[i.value?.content?(l(),c("div",K,[n("div",M,[n("code",null,v(i.value.id),1)]),s(g,{"h-full":"","of-auto":"","text-sm":"",code:i.value.content,lang:"typescript"},null,8,["code"])])):(l(),z(F,{key:1},{default:u(()=>[s(C,{px6:"",py2:""},{default:u(()=>[...t[2]||(t[2]=[n("span",{op75:""},"Select a file to start",-1)])]),_:1})]),_:1}))]),_:1}),s(V,null,{default:u(()=>[s(N)]),_:1})],64)}}});export{re as default};