@nuxt/devtools 3.2.2 → 3.2.4

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 (176) hide show
  1. package/dist/chunks/module-main.mjs +142 -53
  2. package/dist/chunks/plugin-metrics.mjs +4 -2
  3. package/dist/chunks/timeline.mjs +2 -1
  4. package/dist/chunks/vite-inspect.mjs +7 -4
  5. package/dist/chunks/vscode.mjs +1 -1
  6. package/dist/client/200.html +1 -1
  7. package/dist/client/404.html +1 -1
  8. package/dist/client/_nuxt/__blank-cpzbm3dn.js +1 -0
  9. package/dist/client/_nuxt/analyze-build-isc8qyt9.js +1 -0
  10. package/dist/client/_nuxt/assets-k3ya1y6b.js +6 -0
  11. package/dist/client/_nuxt/builds/latest.json +1 -1
  12. package/dist/client/_nuxt/builds/meta/c954ff6d-891d-44ef-873b-bed085186c32.json +1 -0
  13. package/dist/client/_nuxt/{client-lfu9nb62.js → client-im47u3kz.js} +1 -1
  14. package/dist/client/_nuxt/client-nwyjxodt.js +2 -0
  15. package/dist/client/_nuxt/{code-diff-otsxuk81.js → code-diff-hjtd937u.js} +3 -3
  16. package/dist/client/_nuxt/{code-snippets-c0ulfayj.js → code-snippets-cptms1t1.js} +1 -1
  17. package/dist/client/_nuxt/components-h8jl0r8x.js +1 -0
  18. package/dist/client/_nuxt/composable-item-m56sdpbk.js +1 -0
  19. package/dist/client/_nuxt/composables-b2ccklz4.js +1 -0
  20. package/dist/client/_nuxt/constants-mq2c9hze.js +1 -0
  21. package/dist/client/_nuxt/custom-_name_-oczf7kge.js +1 -0
  22. package/dist/client/_nuxt/d479ufk9.js +4 -0
  23. package/dist/client/_nuxt/{data-schema-button-fk6ozqve.js → data-schema-button-n0xmsouw.js} +1 -1
  24. package/dist/client/_nuxt/data-schema-drawer-le08obah.js +2 -0
  25. package/dist/client/_nuxt/debug-hbdh85ek.js +1 -0
  26. package/dist/client/_nuxt/{default-n9xykcpp.js → default-jvhm51ri.js} +1 -1
  27. package/dist/client/_nuxt/dev-auth-he0eye7r.js +1 -0
  28. package/dist/client/_nuxt/{dist-jq34z2yz.js → dist-duc3zu0y.js} +1 -1
  29. package/dist/client/_nuxt/{duration-display-k6iuyk4f.js → duration-display-h5sffkps.js} +1 -1
  30. package/dist/client/_nuxt/{entry.css-gx482m17.css → entry.css-hn1q325i.css} +1 -1
  31. package/dist/client/_nuxt/error-404-mzw240fb.js +1 -0
  32. package/dist/client/_nuxt/error-404.css-b4qk08da.css +1 -0
  33. package/dist/client/_nuxt/error-500-l89qfgc9.js +1 -0
  34. package/dist/client/_nuxt/error-500.css-awwhwbzo.css +1 -0
  35. package/dist/client/_nuxt/error-owd7hxtu.js +9 -0
  36. package/dist/client/_nuxt/{filepath-item-e4nchqwg.js → filepath-item-h3i1tz3s.js} +1 -1
  37. package/dist/client/_nuxt/full-et0weok9.js +1 -0
  38. package/dist/client/_nuxt/{help-fab-hk76lwiw.js → help-fab-oeo4c53s.js} +1 -1
  39. package/dist/client/_nuxt/hooks-lapcgs2a.js +1 -0
  40. package/dist/client/_nuxt/imports-lb64tt5j.js +1 -0
  41. package/dist/client/_nuxt/{launch-page-k1lwfnm2.js → launch-page-h3hu9uqw.js} +1 -1
  42. package/dist/client/_nuxt/mitt.es-ey5n86su.js +1 -0
  43. package/dist/client/_nuxt/modules-isjfof47.js +1 -0
  44. package/dist/client/_nuxt/nbadge-f1bvtlf5.js +1 -0
  45. package/dist/client/_nuxt/{nbutton-m0kqfedx.js → nbutton-gygn07c2.js} +1 -1
  46. package/dist/client/_nuxt/ncard-ludmyw2u.js +1 -0
  47. package/dist/client/_nuxt/{ncheckbox-knbe2cxv.js → ncheckbox-ep01n5y1.js} +1 -1
  48. package/dist/client/_nuxt/{ncode-block-o9sq6td7.js → ncode-block-figzf35k.js} +1 -1
  49. package/dist/client/_nuxt/{ndrawer-ufyhcx08.js → ndrawer-hos2o4rf.js} +1 -1
  50. package/dist/client/_nuxt/{ndropdown-lkmzobqs.js → ndropdown-knvt4ccq.js} +1 -1
  51. package/dist/client/_nuxt/{nicon-j0r9gdjm.js → nicon-m1crov2l.js} +1 -1
  52. package/dist/client/_nuxt/{nicon-title-ggx25xp9.js → nicon-title-kbrt9te7.js} +1 -1
  53. package/dist/client/_nuxt/{nlink-hz4zwb3c.js → nlink-od4lllbl.js} +1 -1
  54. package/dist/client/_nuxt/{nmarkdown-nsbirjtv.js → nmarkdown-ciogo2e3.js} +1 -1
  55. package/dist/client/_nuxt/{nnavbar-b0i34u17.js → nnavbar-n7gfocyu.js} +1 -1
  56. package/dist/client/_nuxt/none-bdxkqeml.js +1 -0
  57. package/dist/client/_nuxt/npanel-grids-onrho735.js +1 -0
  58. package/dist/client/_nuxt/{nsection-block-dzbgwc4z.js → nsection-block-ibsk9arc.js} +1 -1
  59. package/dist/client/_nuxt/{nselect-ne66fzrs.js → nselect-gyaplrph.js} +1 -1
  60. package/dist/client/_nuxt/{nselect-tabs-jgvac6a8.js → nselect-tabs-fslk8qg5.js} +1 -1
  61. package/dist/client/_nuxt/{nswitch-abl34kow.js → nswitch-ke379yjx.js} +1 -1
  62. package/dist/client/_nuxt/{ntext-input-ozkk5xro.js → ntext-input-e8iut2en.js} +1 -1
  63. package/dist/client/_nuxt/nuxt-link-bumooa9d.js +1 -0
  64. package/dist/client/_nuxt/nuxt-otp6bp04.js +1 -0
  65. package/dist/client/_nuxt/open-graph-iihpwnih.js +3 -0
  66. package/dist/client/_nuxt/overview-hir7dg5h.js +1 -0
  67. package/dist/client/_nuxt/pages-etzxihfh.js +1 -0
  68. package/dist/client/_nuxt/pages-okkqwdpu.js +1 -0
  69. package/dist/client/_nuxt/payload-hmxfri1t.js +1 -0
  70. package/dist/client/_nuxt/pinia-bfcvuvfi.js +1 -0
  71. package/dist/client/_nuxt/plugins-ehtddhxd.js +1 -0
  72. package/dist/client/_nuxt/ready-dadbdj5i.js +1 -0
  73. package/dist/client/_nuxt/render-tree-ke02si46.js +1 -0
  74. package/dist/client/_nuxt/runtime-configs-ft5vi88d.js +1 -0
  75. package/dist/client/_nuxt/server-discovery-k9u6ss6f.js +1 -0
  76. package/dist/client/_nuxt/server-route-inputs-fhqv0c7q.js +1 -0
  77. package/dist/client/_nuxt/server-routes-dy0m6wq4.js +7 -0
  78. package/dist/client/_nuxt/server-tasks-naz2m1n0.js +1 -0
  79. package/dist/client/_nuxt/settings-io1tvmdq.js +1 -0
  80. package/dist/client/_nuxt/{splitpanes.es-gcrxxdgy.js → splitpanes.es-gcsn48te.js} +1 -1
  81. package/dist/client/_nuxt/stacktrace-list-ir6dwfsw.js +1 -0
  82. package/dist/client/_nuxt/state-components-ii0yssci.js +1 -0
  83. package/dist/client/_nuxt/{state-editor-egz1k0a8.js → state-editor-m7poh4fc.js} +1 -1
  84. package/dist/client/_nuxt/{state-modules-dyb3mv6i.js → state-modules-m990wfjb.js} +1 -1
  85. package/dist/client/_nuxt/{state-routes-ovtjymzc.js → state-routes-jownks2o.js} +1 -1
  86. package/dist/client/_nuxt/{state-tabs-jkd7jbwg.js → state-tabs-mtxv3h6t.js} +1 -1
  87. package/dist/client/_nuxt/storage-nebfhfwp.js +1 -0
  88. package/dist/client/_nuxt/storage-options-nzog3hhp.js +1 -0
  89. package/dist/client/_nuxt/telemetry-c77tnag3.js +1 -0
  90. package/dist/client/_nuxt/terminals-j3f24tml.js +1 -0
  91. package/dist/client/_nuxt/timeline-cg7nhorz.js +31 -0
  92. package/dist/client/_nuxt/unocss-runtime-g9wlule9.js +1 -0
  93. package/dist/client/_nuxt/utils-jupbrzo6.js +1 -0
  94. package/dist/client/_nuxt/vendor/{json-editor-vue-jlmu1vk1.js → json-editor-vue-eojr4v24.js} +5 -5
  95. package/dist/client/_nuxt/vendor/{markdown-it-ocmvh7ju.js → markdown-it-ckeo8pwp.js} +1 -1
  96. package/dist/client/_nuxt/vendor/shiki-lqo1hg2n.js +153 -0
  97. package/dist/client/_nuxt/vendor/unocss-k727ub0h.js +3 -0
  98. package/dist/client/_nuxt/vendor/unocss.css-3gd0e2sv.css +1 -0
  99. package/dist/client/_nuxt/vendor/{vis-p9fufs7k.js → vis-gf06uk37.js} +1 -1
  100. package/dist/client/_nuxt/virtual-files-bkiu19oo.js +1 -0
  101. package/dist/client/_nuxt/vue-devtools-fdei7bct.js +4 -0
  102. package/dist/client/_nuxt/{vue-router-fwt4i0j8.js → vue-router-jbnxw7nb.js} +1 -1
  103. package/dist/client/index.html +1 -1
  104. package/dist/dirs.mjs +2 -1
  105. package/dist/module.json +1 -1
  106. package/dist/module.mjs +1 -1
  107. package/dist/runtime/plugins/view/client.js +2 -1
  108. package/dist/shared/devtools.CT6XRG-F.mjs +122 -0
  109. package/dist/webcomponents/index.mjs +36 -32
  110. package/package.json +34 -34
  111. package/dist/client/_nuxt/__blank-jnbqrgps.js +0 -1
  112. package/dist/client/_nuxt/analyze-build-c3vdx12p.js +0 -1
  113. package/dist/client/_nuxt/assets-myudvi12.js +0 -6
  114. package/dist/client/_nuxt/builds/meta/e62b39f7-ec98-459c-8392-819e51e75af5.json +0 -1
  115. package/dist/client/_nuxt/client-ea5fdhj9.js +0 -2
  116. package/dist/client/_nuxt/components-dwnwjv62.js +0 -1
  117. package/dist/client/_nuxt/composable-item-jjp1tvft.js +0 -1
  118. package/dist/client/_nuxt/composables-k2ak4j8d.js +0 -1
  119. package/dist/client/_nuxt/constants-ihoovckn.js +0 -1
  120. package/dist/client/_nuxt/custom-_name_-k9wxhx5t.js +0 -1
  121. package/dist/client/_nuxt/data-schema-drawer-mi3x7oeb.js +0 -2
  122. package/dist/client/_nuxt/debug-jzrj2rrq.js +0 -1
  123. package/dist/client/_nuxt/dev-auth-jrf61eu0.js +0 -1
  124. package/dist/client/_nuxt/drhywpwy.js +0 -4
  125. package/dist/client/_nuxt/error-404-b375yxaj.js +0 -1
  126. package/dist/client/_nuxt/error-404.css-k620a6z0.css +0 -1
  127. package/dist/client/_nuxt/error-500-marpmos8.js +0 -1
  128. package/dist/client/_nuxt/error-500.css-j1xt9kl6.css +0 -1
  129. package/dist/client/_nuxt/error-f0x29wdg.js +0 -9
  130. package/dist/client/_nuxt/full-ix5b85yu.js +0 -1
  131. package/dist/client/_nuxt/head-k6pu038r.js +0 -1
  132. package/dist/client/_nuxt/hooks-oamlzps1.js +0 -1
  133. package/dist/client/_nuxt/imports-rq4f924m.js +0 -1
  134. package/dist/client/_nuxt/modules-fev9bjof.js +0 -1
  135. package/dist/client/_nuxt/nbadge-h59v1exj.js +0 -1
  136. package/dist/client/_nuxt/ncard-qqqgbjy9.js +0 -1
  137. package/dist/client/_nuxt/none-bfunqbwh.js +0 -1
  138. package/dist/client/_nuxt/npanel-grids-m4ogaoh1.js +0 -1
  139. package/dist/client/_nuxt/nuxt-h34yfo3l.js +0 -1
  140. package/dist/client/_nuxt/nuxt-link-lrojf3ui.js +0 -1
  141. package/dist/client/_nuxt/open-graph-jokpmi3z.js +0 -3
  142. package/dist/client/_nuxt/overview-gfox82io.js +0 -1
  143. package/dist/client/_nuxt/pages-heq5sr3n.js +0 -1
  144. package/dist/client/_nuxt/pages-nev63916.js +0 -1
  145. package/dist/client/_nuxt/payload-cwkdgfbg.js +0 -1
  146. package/dist/client/_nuxt/pinia-cmp1aao2.js +0 -1
  147. package/dist/client/_nuxt/plugins-h6nd4bpq.js +0 -1
  148. package/dist/client/_nuxt/ready-mmkdpbhg.js +0 -1
  149. package/dist/client/_nuxt/render-tree-c25vnw9j.js +0 -1
  150. package/dist/client/_nuxt/runtime-configs-oyvmfkja.js +0 -1
  151. package/dist/client/_nuxt/server-discovery-k4kknv5h.js +0 -1
  152. package/dist/client/_nuxt/server-route-inputs-heqgxrjl.js +0 -1
  153. package/dist/client/_nuxt/server-routes-bgud29n1.js +0 -7
  154. package/dist/client/_nuxt/server-tasks-kx1cj481.js +0 -1
  155. package/dist/client/_nuxt/settings-iudhxqb4.js +0 -1
  156. package/dist/client/_nuxt/stacktrace-list-ivp3f076.js +0 -1
  157. package/dist/client/_nuxt/state-b65zn1p8.js +0 -1
  158. package/dist/client/_nuxt/state-components-gdb1hu1j.js +0 -1
  159. package/dist/client/_nuxt/storage-noqjkcnn.js +0 -1
  160. package/dist/client/_nuxt/storage-options-os0x8zby.js +0 -1
  161. package/dist/client/_nuxt/telemetry-pccqt90w.js +0 -1
  162. package/dist/client/_nuxt/terminals-jwh8xdao.js +0 -1
  163. package/dist/client/_nuxt/timeline-nj0c9ow3.js +0 -31
  164. package/dist/client/_nuxt/unocss-runtime-mfhoy4ux.js +0 -1
  165. package/dist/client/_nuxt/vendor/shiki-jnavg768.js +0 -152
  166. package/dist/client/_nuxt/vendor/unocss-o75ihzkt.js +0 -3
  167. package/dist/client/_nuxt/virtual-files-nyi1q55e.js +0 -1
  168. package/dist/client/_nuxt/vue-devtools-b8p76ncm.js +0 -3
  169. package/dist/client/_nuxt/vue-virtual-scroller.esm-hq850jog.js +0 -2
  170. package/dist/shared/devtools.DuFZOCNN.mjs +0 -122
  171. /package/dist/client/_nuxt/{_plugin-vue_export-helper-myijwyyb.js → _plugin-vue_export-helper-n58akrbk.js} +0 -0
  172. /package/dist/client/_nuxt/{color-m9fh6h3t.js → color-l56csnpd.js} +0 -0
  173. /package/dist/client/_nuxt/{dist-h291wass.js → dist-mnod32r1.js} +0 -0
  174. /package/dist/client/_nuxt/{dist-9xqq72tk.js → dist-og16nf4d.js} +0 -0
  175. /package/dist/client/_nuxt/vendor/{quicktype-core-jebn1o7i.js → quicktype-core-k4qx3809.js} +0 -0
  176. /package/dist/client/_nuxt/vendor/{xterm-du7kv949.js → xterm-k45lhqgb.js} +0 -0
@@ -1 +1 @@
1
- import{A as e,Ct as t,E as n,Et as r,F as i,K as a,M as o,Mt as s,ct as c,m as l,wt as u,xt as d}from"./vendor/json-editor-vue-jlmu1vk1.js";var f=typeof document<`u`;function p(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function m(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&p(e.default)}var h=Object.assign;function g(e,t){let n={};for(let r in t){let i=t[r];n[r]=v(i)?i.map(e):e(i)}return n}var _=()=>{},v=Array.isArray;function ee(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var y=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),b=Symbol(``);y.MATCHER_NOT_FOUND,y.NAVIGATION_GUARD_REDIRECT,y.NAVIGATION_ABORTED,y.NAVIGATION_CANCELLED,y.NAVIGATION_DUPLICATED;function x(e,t){return h(Error(),{type:e,[b]:!0},t)}function S(e,t){return e instanceof Error&&b in e&&(t==null||!!(e.type&t))}var te=Symbol(``),ne=Symbol(``),re=Symbol(``),ie=Symbol(``),ae=Symbol(``);function oe(e){return o(ie)}var se=/#/g,ce=/&/g,C=/\//g,w=/=/g,T=/\?/g,E=/\+/g,le=/%5B/g,D=/%5D/g,O=/%5E/g,ue=/%60/g,k=/%7B/g,de=/%7C/g,A=/%7D/g,fe=/%20/g;function j(e){return e==null?``:encodeURI(``+e).replace(de,`|`).replace(le,`[`).replace(D,`]`)}function pe(e){return j(e).replace(k,`{`).replace(A,`}`).replace(O,`^`)}function M(e){return j(e).replace(E,`%2B`).replace(fe,`+`).replace(se,`%23`).replace(ce,`%26`).replace(ue,"`").replace(k,`{`).replace(A,`}`).replace(O,`^`)}function N(e){return M(e).replace(w,`%3D`)}function P(e){return j(e).replace(se,`%23`).replace(T,`%3F`)}function me(e){return P(e).replace(C,`%2F`)}function F(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var I=/\/$/,L=e=>e.replace(I,``);function R(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=W(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:F(o)}}function he(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function z(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function ge(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&B(t.matched[r],n.matched[i])&&V(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function B(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function V(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!H(e[n],t[n]))return!1;return!0}function H(e,t){return v(e)?U(e,t):v(t)?U(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function U(e,t){return v(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function W(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var G={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},_e=function(e){return e.pop=`pop`,e.push=`push`,e}({}),K=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function q(e){if(!e)if(f){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),L(e)}var ve=/^[^#]+#/;function ye(e,t){return e.replace(ve,`#`)+t}function be(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var J=()=>({left:window.scrollX,top:window.scrollY});function xe(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=be(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Se(e,t){return(history.state?history.state.position-t:-1)+e}var Ce=new Map;function we(e,t){Ce.set(e,t)}function Te(e){let t=Ce.get(e);return Ce.delete(e),t}function Ee(e){return typeof e==`string`||e&&typeof e==`object`}function De(e){return typeof e==`string`||typeof e==`symbol`}function Oe(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(E,` `),i=r.indexOf(`=`),a=F(i<0?r:r.slice(0,i)),o=i<0?null:F(r.slice(i+1));if(a in t){let e=t[a];v(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function ke(e){let t=``;for(let n in e){let r=e[n];if(n=N(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(v(r)?r.map(e=>e&&M(e)):[r&&M(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ae(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=v(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(x(y.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Ee(e)?c(x(y.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function je(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(p(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=m(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Me(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>B(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>B(e,s))||i.push(s))}return[n,r,i]}var Ne=()=>location.protocol+`//`+location.host;function Pe(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),z(n,``)}return z(n,e)+r+i}function Fe(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Pe(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:_e.pop,direction:u?u>0?K.forward:K.back:K.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(h({},e.state,{scroll:J()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Ie(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?J():null}}function Le(e){let{history:t,location:n}=window,r={value:Pe(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ne()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,h({},t.state,Ie(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=h({},i.value,t.state,{forward:e,scroll:J()});a(o.current,o,!0),a(e,h({},Ie(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Re(e){e=q(e);let t=Le(e),n=Fe(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=h({location:``,base:e,go:r,createHref:ye.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function ze(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),Re(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),Be={type:Z.Static,value:``},Ve=/[a-zA-Z0-9_]/;function He(e){if(!e)return[[]];if(e===`/`)return[[Be]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:Ve.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Ue=`[^/]+?`,We={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),Ge=/[.+*?^${}()[\]/\\]/g;function Ke(e,t){let n=h({},We,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(Ge,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Ue;if(u!==Ue){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(v(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=v(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function qe(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function Je(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=qe(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Ye(r))return 1;if(Ye(i))return-1}return i.length-r.length}function Ye(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Xe={strict:!1,end:!0,sensitive:!1};function Ze(e,t,n){let r=h(Ke(He(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Qe(e,t){let n=[],r=new Map;t=ee(Xe,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=et(e);s.aliasOf=r&&r.record;let l=ee(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(et(h({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Ze(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!nt(d)&&o(e.name)),ot(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:_}function o(e){if(De(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=it(e,n);n.splice(t,0,e),e.record.name&&!nt(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw x(y.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=h($e(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&$e(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw x(y.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=h({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:rt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function $e(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function et(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tt(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function tt(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function nt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rt(e){return e.reduce((e,t)=>h(e,t.meta),{})}function it(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Je(e,t[i])<0?r=i:n=i+1}let i=at(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function at(e){let t=e;for(;t=t.parent;)if(ot(t)&&Je(e,t)===0)return t}function ot({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function st(e){let t=o(re),n=o(ie),r=l(()=>{let n=s(e.to);return t.resolve(n)}),i=l(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(B.bind(null,i));if(o>-1)return o;let s=ft(e[t-2]);return t>1&&ft(i)===s&&a[a.length-1].path!==s?a.findIndex(B.bind(null,e[t-2])):o}),a=l(()=>i.value>-1&&dt(n.params,r.value.params)),c=l(()=>i.value>-1&&i.value===n.matched.length-1&&V(n.params,r.value.params));function u(n={}){if(ut(n)){let n=t[s(e.replace)?`replace`:`push`](s(e.to)).catch(_);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:l(()=>r.value.href),isActive:a,isExactActive:c,navigate:u}}function ct(e){return e.length===1?e[0]:e}var lt=n({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:st,setup(t,{slots:n}){let r=d(st(t)),{options:i}=o(re),a=l(()=>({[pt(t.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[pt(t.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let i=n.default&&ct(n.default(r));return t.custom?i:e(`a`,{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},i)}}});function ut(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!v(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function ft(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var pt=(e,t,n)=>e??t??n,mt=n({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:i}){let u=o(ae),d=l(()=>n.route||u.value),f=o(ne,0),p=l(()=>{let e=s(f),{matched:t}=d.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),m=l(()=>d.value.matched[p.value]);a(ne,l(()=>p.value+1)),a(te,m),a(ae,d);let g=t();return c(()=>[g.value,m.value,n.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!B(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=d.value,a=n.name,o=m.value,s=o&&o.components[a];if(!s)return ht(i.default,{Component:s,route:t});let c=o.props[a],l=e(s,h({},c?c===!0?t.params:typeof c==`function`?c(t):c:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:g}));return ht(i.default,{Component:l,route:t})||l}}});function ht(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var gt=mt;function _t(e){let t=Qe(e.routes,e),n=e.parseQuery||Oe,a=e.stringifyQuery||ke,o=e.history,c=Y(),l=Y(),d=Y(),p=r(G),m=G;f&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let ee=g.bind(null,e=>``+e),b=g.bind(null,me),te=g.bind(null,F);function ne(e,n){let r,i;return De(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function oe(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function se(){return t.getRoutes().map(e=>e.record)}function ce(e){return!!t.getRecordMatcher(e)}function C(e,r){if(r=h({},r||p.value),typeof e==`string`){let i=R(n,e,r.path),a=t.resolve({path:i.path},r),s=o.createHref(i.fullPath);return h(i,a,{params:te(a.params),hash:F(i.hash),redirectedFrom:void 0,href:s})}let i;if(e.path!=null)i=h({},e,{path:R(n,e.path,r.path).path});else{let t=h({},e.params);for(let e in t)t[e]??delete t[e];i=h({},e,{params:b(t)}),r.params=b(r.params)}let s=t.resolve(i,r),c=e.hash||``;s.params=ee(te(s.params));let l=he(a,h({},e,{hash:pe(c),path:s.path})),u=o.createHref(l);return h({fullPath:l,hash:c,query:a===ke?Ae(e.query):e.query||{}},s,{redirectedFrom:void 0,href:u})}function w(e){return typeof e==`string`?R(n,e,p.value.path):h({},e)}function T(e,t){if(m!==e)return x(y.NAVIGATION_CANCELLED,{from:t,to:e})}function E(e){return O(e)}function le(e){return E(h(w(e),{replace:!0}))}function D(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=w(i):{path:i},i.params={}),h({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function O(e,t){let n=m=C(e),r=p.value,i=e.state,o=e.force,s=e.replace===!0,c=D(n,r);if(c)return O(h(w(c),{state:typeof c==`object`?h({},i,c.state):i,force:o,replace:s}),t||n);let l=n;l.redirectedFrom=t;let u;return!o&&ge(a,r,n)&&(u=x(y.NAVIGATION_DUPLICATED,{to:l,from:r}),V(r,r,!0,!1)),(u?Promise.resolve(u):de(l,r)).catch(e=>S(e)?S(e,y.NAVIGATION_GUARD_REDIRECT)?e:B(e):L(e,l,r)).then(e=>{if(e){if(S(e,y.NAVIGATION_GUARD_REDIRECT))return O(h({replace:s},w(e.to),{state:typeof e.to==`object`?h({},i,e.to.state):i,force:o}),t||l)}else e=fe(l,r,!0,s,i);return A(l,r,e),e})}function ue(e,t){let n=T(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e){let t=W.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function de(e,t){let n,[r,i,a]=Me(e,t);n=je(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let o=ue.bind(null,e,t);return n.push(o),q(n).then(()=>{n=[];for(let r of c.list())n.push(X(r,e,t));return n.push(o),q(n)}).then(()=>{n=je(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(o),q(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(v(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(o),q(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=je(a,`beforeRouteEnter`,e,t,k),n.push(o),q(n))).then(()=>{n=[];for(let r of l.list())n.push(X(r,e,t));return n.push(o),q(n)}).catch(e=>S(e,y.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function A(e,t,n){d.list().forEach(r=>k(()=>r(e,t,n)))}function fe(e,t,n,r,i){let a=T(e,t);if(a)return a;let s=t===G,c=f?history.state:{};n&&(r||s?o.replace(e.fullPath,h({scroll:s&&c&&c.scroll},i)):o.push(e.fullPath,i)),p.value=e,V(e,t,n,s),B()}let j;function M(){j||=o.listen((e,t,n)=>{if(!K.listening)return;let r=C(e),i=D(r,K.currentRoute.value);if(i){O(h(i,{replace:!0,force:!0}),r).catch(_);return}m=r;let a=p.value;f&&we(Se(a.fullPath,n.delta),J()),de(r,a).catch(e=>S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_CANCELLED)?e:S(e,y.NAVIGATION_GUARD_REDIRECT)?(O(h(w(e.to),{force:!0}),r).then(e=>{S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===_e.pop&&o.go(-1,!1)}).catch(_),Promise.reject()):(n.delta&&o.go(-n.delta,!1),L(e,r,a))).then(e=>{e||=fe(r,a,!1),e&&(n.delta&&!S(e,y.NAVIGATION_CANCELLED)?o.go(-n.delta,!1):n.type===_e.pop&&S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),A(r,a,e)}).catch(_)})}let N=Y(),P=Y(),I;function L(e,t,n){B(e);let r=P.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function z(){return I&&p.value!==G?Promise.resolve():new Promise((e,t)=>{N.add([e,t])})}function B(e){return I||(I=!e,M(),N.list().forEach(([t,n])=>e?n(e):t()),N.reset()),e}function V(t,n,r,a){let{scrollBehavior:o}=e;if(!f||!o)return Promise.resolve();let s=!r&&Te(Se(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return i().then(()=>o(t,n,s)).then(e=>e&&xe(e)).catch(e=>L(e,t,n))}let H=e=>o.go(e),U,W=new Set,K={currentRoute:p,listening:!0,addRoute:ne,removeRoute:oe,clearRoutes:t.clearRoutes,hasRoute:ce,getRoutes:se,resolve:C,options:e,push:E,replace:le,go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:c.add,beforeResolve:l.add,afterEach:d.add,onError:P.add,isReady:z,install(e){e.component(`RouterLink`,lt),e.component(`RouterView`,gt),e.config.globalProperties.$router=K,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>s(p)}),f&&!U&&p.value===G&&(U=!0,E(o.location).catch(e=>{}));let t={};for(let e in G)Object.defineProperty(t,e,{get:()=>p.value[e],enumerable:!0});e.provide(re,K),e.provide(ie,u(t)),e.provide(ae,p);let n=e.unmount;W.add(e),e.unmount=function(){W.delete(e),W.size<1&&(m=G,j&&j(),j=null,p.value=G,U=!1,I=!1),n()}}};function q(e){return e.reduce((e,t)=>e.then(()=>k(t)),Promise.resolve())}return K}export{G as a,Re as i,_t as n,oe as o,ze as r,gt as t};
1
+ import{A as e,Ct as t,E as n,Et as r,F as i,K as a,M as o,Mt as s,ct as c,m as l,wt as u,xt as d}from"./vendor/json-editor-vue-eojr4v24.js";var f=typeof document<`u`;function p(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function m(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&p(e.default)}var h=Object.assign;function g(e,t){let n={};for(let r in t){let i=t[r];n[r]=v(i)?i.map(e):e(i)}return n}var _=()=>{},v=Array.isArray;function ee(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var y=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),b=Symbol(``);y.MATCHER_NOT_FOUND,y.NAVIGATION_GUARD_REDIRECT,y.NAVIGATION_ABORTED,y.NAVIGATION_CANCELLED,y.NAVIGATION_DUPLICATED;function x(e,t){return h(Error(),{type:e,[b]:!0},t)}function S(e,t){return e instanceof Error&&b in e&&(t==null||!!(e.type&t))}var te=Symbol(``),ne=Symbol(``),re=Symbol(``),ie=Symbol(``),ae=Symbol(``);function oe(e){return o(ie)}var se=/#/g,ce=/&/g,C=/\//g,w=/=/g,T=/\?/g,E=/\+/g,le=/%5B/g,D=/%5D/g,O=/%5E/g,ue=/%60/g,k=/%7B/g,de=/%7C/g,A=/%7D/g,fe=/%20/g;function j(e){return e==null?``:encodeURI(``+e).replace(de,`|`).replace(le,`[`).replace(D,`]`)}function pe(e){return j(e).replace(k,`{`).replace(A,`}`).replace(O,`^`)}function M(e){return j(e).replace(E,`%2B`).replace(fe,`+`).replace(se,`%23`).replace(ce,`%26`).replace(ue,"`").replace(k,`{`).replace(A,`}`).replace(O,`^`)}function N(e){return M(e).replace(w,`%3D`)}function P(e){return j(e).replace(se,`%23`).replace(T,`%3F`)}function me(e){return P(e).replace(C,`%2F`)}function F(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var I=/\/$/,L=e=>e.replace(I,``);function R(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=W(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:F(o)}}function he(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function z(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function ge(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&B(t.matched[r],n.matched[i])&&V(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function B(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function V(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!H(e[n],t[n]))return!1;return!0}function H(e,t){return v(e)?U(e,t):v(t)?U(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function U(e,t){return v(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function W(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var G={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},_e=function(e){return e.pop=`pop`,e.push=`push`,e}({}),K=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function q(e){if(!e)if(f){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),L(e)}var ve=/^[^#]+#/;function ye(e,t){return e.replace(ve,`#`)+t}function be(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var J=()=>({left:window.scrollX,top:window.scrollY});function xe(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=be(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Se(e,t){return(history.state?history.state.position-t:-1)+e}var Ce=new Map;function we(e,t){Ce.set(e,t)}function Te(e){let t=Ce.get(e);return Ce.delete(e),t}function Ee(e){return typeof e==`string`||e&&typeof e==`object`}function De(e){return typeof e==`string`||typeof e==`symbol`}function Oe(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(E,` `),i=r.indexOf(`=`),a=F(i<0?r:r.slice(0,i)),o=i<0?null:F(r.slice(i+1));if(a in t){let e=t[a];v(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function ke(e){let t=``;for(let n in e){let r=e[n];if(n=N(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(v(r)?r.map(e=>e&&M(e)):[r&&M(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Ae(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=v(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(x(y.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Ee(e)?c(x(y.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function je(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(p(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=m(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Me(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>B(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>B(e,s))||i.push(s))}return[n,r,i]}var Ne=()=>location.protocol+`//`+location.host;function Pe(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),z(n,``)}return z(n,e)+r+i}function Fe(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Pe(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:_e.pop,direction:u?u>0?K.forward:K.back:K.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(h({},e.state,{scroll:J()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function Ie(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?J():null}}function Le(e){let{history:t,location:n}=window,r={value:Pe(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ne()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,h({},t.state,Ie(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=h({},i.value,t.state,{forward:e,scroll:J()});a(o.current,o,!0),a(e,h({},Ie(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Re(e){e=q(e);let t=Le(e),n=Fe(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=h({location:``,base:e,go:r,createHref:ye.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function ze(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),Re(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),Be={type:Z.Static,value:``},Ve=/[a-zA-Z0-9_]/;function He(e){if(!e)return[[]];if(e===`/`)return[[Be]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:Ve.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Ue=`[^/]+?`,We={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),Ge=/[.+*?^${}()[\]/\\]/g;function Ke(e,t){let n=h({},We,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(Ge,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Ue;if(u!==Ue){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(v(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=v(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function qe(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function Je(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=qe(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Ye(r))return 1;if(Ye(i))return-1}return i.length-r.length}function Ye(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Xe={strict:!1,end:!0,sensitive:!1};function Ze(e,t,n){let r=h(Ke(He(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Qe(e,t){let n=[],r=new Map;t=ee(Xe,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=et(e);s.aliasOf=r&&r.record;let l=ee(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(et(h({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Ze(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!nt(d)&&o(e.name)),ot(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:_}function o(e){if(De(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=it(e,n);n.splice(t,0,e),e.record.name&&!nt(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw x(y.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=h($e(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&$e(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw x(y.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=h({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:rt(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function $e(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function et(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tt(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function tt(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function nt(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rt(e){return e.reduce((e,t)=>h(e,t.meta),{})}function it(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Je(e,t[i])<0?r=i:n=i+1}let i=at(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function at(e){let t=e;for(;t=t.parent;)if(ot(t)&&Je(e,t)===0)return t}function ot({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function st(e){let t=o(re),n=o(ie),r=l(()=>{let n=s(e.to);return t.resolve(n)}),i=l(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(B.bind(null,i));if(o>-1)return o;let s=ft(e[t-2]);return t>1&&ft(i)===s&&a[a.length-1].path!==s?a.findIndex(B.bind(null,e[t-2])):o}),a=l(()=>i.value>-1&&dt(n.params,r.value.params)),c=l(()=>i.value>-1&&i.value===n.matched.length-1&&V(n.params,r.value.params));function u(n={}){if(ut(n)){let n=t[s(e.replace)?`replace`:`push`](s(e.to)).catch(_);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:l(()=>r.value.href),isActive:a,isExactActive:c,navigate:u}}function ct(e){return e.length===1?e[0]:e}var lt=n({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:st,setup(t,{slots:n}){let r=d(st(t)),{options:i}=o(re),a=l(()=>({[pt(t.activeClass,i.linkActiveClass,`router-link-active`)]:r.isActive,[pt(t.exactActiveClass,i.linkExactActiveClass,`router-link-exact-active`)]:r.isExactActive}));return()=>{let i=n.default&&ct(n.default(r));return t.custom?i:e(`a`,{"aria-current":r.isExactActive?t.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},i)}}});function ut(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dt(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!v(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function ft(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var pt=(e,t,n)=>e??t??n,mt=n({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(n,{attrs:r,slots:i}){let u=o(ae),d=l(()=>n.route||u.value),f=o(ne,0),p=l(()=>{let e=s(f),{matched:t}=d.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),m=l(()=>d.value.matched[p.value]);a(ne,l(()=>p.value+1)),a(te,m),a(ae,d);let g=t();return c(()=>[g.value,m.value,n.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!B(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let t=d.value,a=n.name,o=m.value,s=o&&o.components[a];if(!s)return ht(i.default,{Component:s,route:t});let c=o.props[a],l=e(s,h({},c?c===!0?t.params:typeof c==`function`?c(t):c:null,r,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:g}));return ht(i.default,{Component:l,route:t})||l}}});function ht(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var gt=mt;function _t(e){let t=Qe(e.routes,e),n=e.parseQuery||Oe,a=e.stringifyQuery||ke,o=e.history,c=Y(),l=Y(),d=Y(),p=r(G),m=G;f&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let ee=g.bind(null,e=>``+e),b=g.bind(null,me),te=g.bind(null,F);function ne(e,n){let r,i;return De(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function oe(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function se(){return t.getRoutes().map(e=>e.record)}function ce(e){return!!t.getRecordMatcher(e)}function C(e,r){if(r=h({},r||p.value),typeof e==`string`){let i=R(n,e,r.path),a=t.resolve({path:i.path},r),s=o.createHref(i.fullPath);return h(i,a,{params:te(a.params),hash:F(i.hash),redirectedFrom:void 0,href:s})}let i;if(e.path!=null)i=h({},e,{path:R(n,e.path,r.path).path});else{let t=h({},e.params);for(let e in t)t[e]??delete t[e];i=h({},e,{params:b(t)}),r.params=b(r.params)}let s=t.resolve(i,r),c=e.hash||``;s.params=ee(te(s.params));let l=he(a,h({},e,{hash:pe(c),path:s.path})),u=o.createHref(l);return h({fullPath:l,hash:c,query:a===ke?Ae(e.query):e.query||{}},s,{redirectedFrom:void 0,href:u})}function w(e){return typeof e==`string`?R(n,e,p.value.path):h({},e)}function T(e,t){if(m!==e)return x(y.NAVIGATION_CANCELLED,{from:t,to:e})}function E(e){return O(e)}function le(e){return E(h(w(e),{replace:!0}))}function D(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=w(i):{path:i},i.params={}),h({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function O(e,t){let n=m=C(e),r=p.value,i=e.state,o=e.force,s=e.replace===!0,c=D(n,r);if(c)return O(h(w(c),{state:typeof c==`object`?h({},i,c.state):i,force:o,replace:s}),t||n);let l=n;l.redirectedFrom=t;let u;return!o&&ge(a,r,n)&&(u=x(y.NAVIGATION_DUPLICATED,{to:l,from:r}),V(r,r,!0,!1)),(u?Promise.resolve(u):de(l,r)).catch(e=>S(e)?S(e,y.NAVIGATION_GUARD_REDIRECT)?e:B(e):L(e,l,r)).then(e=>{if(e){if(S(e,y.NAVIGATION_GUARD_REDIRECT))return O(h({replace:s},w(e.to),{state:typeof e.to==`object`?h({},i,e.to.state):i,force:o}),t||l)}else e=fe(l,r,!0,s,i);return A(l,r,e),e})}function ue(e,t){let n=T(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e){let t=W.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function de(e,t){let n,[r,i,a]=Me(e,t);n=je(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let o=ue.bind(null,e,t);return n.push(o),q(n).then(()=>{n=[];for(let r of c.list())n.push(X(r,e,t));return n.push(o),q(n)}).then(()=>{n=je(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(o),q(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(v(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(o),q(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=je(a,`beforeRouteEnter`,e,t,k),n.push(o),q(n))).then(()=>{n=[];for(let r of l.list())n.push(X(r,e,t));return n.push(o),q(n)}).catch(e=>S(e,y.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function A(e,t,n){d.list().forEach(r=>k(()=>r(e,t,n)))}function fe(e,t,n,r,i){let a=T(e,t);if(a)return a;let s=t===G,c=f?history.state:{};n&&(r||s?o.replace(e.fullPath,h({scroll:s&&c&&c.scroll},i)):o.push(e.fullPath,i)),p.value=e,V(e,t,n,s),B()}let j;function M(){j||=o.listen((e,t,n)=>{if(!K.listening)return;let r=C(e),i=D(r,K.currentRoute.value);if(i){O(h(i,{replace:!0,force:!0}),r).catch(_);return}m=r;let a=p.value;f&&we(Se(a.fullPath,n.delta),J()),de(r,a).catch(e=>S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_CANCELLED)?e:S(e,y.NAVIGATION_GUARD_REDIRECT)?(O(h(w(e.to),{force:!0}),r).then(e=>{S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===_e.pop&&o.go(-1,!1)}).catch(_),Promise.reject()):(n.delta&&o.go(-n.delta,!1),L(e,r,a))).then(e=>{e||=fe(r,a,!1),e&&(n.delta&&!S(e,y.NAVIGATION_CANCELLED)?o.go(-n.delta,!1):n.type===_e.pop&&S(e,y.NAVIGATION_ABORTED|y.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),A(r,a,e)}).catch(_)})}let N=Y(),P=Y(),I;function L(e,t,n){B(e);let r=P.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function z(){return I&&p.value!==G?Promise.resolve():new Promise((e,t)=>{N.add([e,t])})}function B(e){return I||(I=!e,M(),N.list().forEach(([t,n])=>e?n(e):t()),N.reset()),e}function V(t,n,r,a){let{scrollBehavior:o}=e;if(!f||!o)return Promise.resolve();let s=!r&&Te(Se(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return i().then(()=>o(t,n,s)).then(e=>e&&xe(e)).catch(e=>L(e,t,n))}let H=e=>o.go(e),U,W=new Set,K={currentRoute:p,listening:!0,addRoute:ne,removeRoute:oe,clearRoutes:t.clearRoutes,hasRoute:ce,getRoutes:se,resolve:C,options:e,push:E,replace:le,go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:c.add,beforeResolve:l.add,afterEach:d.add,onError:P.add,isReady:z,install(e){e.component(`RouterLink`,lt),e.component(`RouterView`,gt),e.config.globalProperties.$router=K,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>s(p)}),f&&!U&&p.value===G&&(U=!0,E(o.location).catch(e=>{}));let t={};for(let e in G)Object.defineProperty(t,e,{get:()=>p.value[e],enumerable:!0});e.provide(re,K),e.provide(ie,u(t)),e.provide(ae,p);let n=e.unmount;W.add(e),e.unmount=function(){W.delete(e),W.size<1&&(m=G,j&&j(),j=null,p.value=G,U=!1,I=!1),n()}}};function q(e){return e.reduce((e,t)=>e.then(()=>k(t)),Promise.resolve())}return K}export{G as a,Re as i,_t as n,oe as o,ze as r,gt as t};
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/drhywpwy.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-gx482m17.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-lkbe0qhh.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/drhywpwy.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/_plugin-vue_export-helper-myijwyyb.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rolldown-runtime-oipoa1or.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-jlmu1vk1.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/state-b65zn1p8.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ready-mmkdpbhg.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-h291wass.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-h34yfo3l.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-router-fwt4i0j8.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-ea5fdhj9.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-jnavg768.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/head-k6pu038r.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dev-auth-jrf61eu0.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-link-lrojf3ui.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-jq34z2yz.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/splitpanes.es-gcrxxdgy.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nbutton-m0kqfedx.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nicon-j0r9gdjm.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncard-qqqgbjy9.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/npanel-grids-m4ogaoh1.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ntext-input-ozkk5xro.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/state-routes-ovtjymzc.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/state-tabs-jkd7jbwg.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/storage-options-os0x8zby.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/telemetry-pccqt90w.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/drhywpwy.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"e62b39f7-ec98-459c-8392-819e51e75af5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1771981506656,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__NUXT_DEVTOOLS_BASE__/_nuxt/d479ufk9.js"}}</script><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/entry.css-hn1q325i.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue.css-lkbe0qhh.css" crossorigin><link rel="stylesheet" href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss.css-3gd0e2sv.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/d479ufk9.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/_plugin-vue_export-helper-n58akrbk.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/rolldown-runtime-oipoa1or.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/json-editor-vue-eojr4v24.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/utils-jupbrzo6.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ready-dadbdj5i.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-mnod32r1.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-otp6bp04.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vue-router-jbnxw7nb.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/client-nwyjxodt.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/shiki-lqo1hg2n.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/vendor/unocss-k727ub0h.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nuxt-link-bumooa9d.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dist-duc3zu0y.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/splitpanes.es-gcsn48te.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/dev-auth-he0eye7r.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nbutton-gygn07c2.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/nicon-m1crov2l.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ncard-ludmyw2u.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/npanel-grids-onrho735.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/ntext-input-e8iut2en.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/state-routes-jownks2o.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/state-tabs-mtxv3h6t.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/storage-options-nzog3hhp.js"><link rel="modulepreload" as="script" crossorigin href="/__NUXT_DEVTOOLS_BASE__/_nuxt/telemetry-c77tnag3.js"><script type="module" src="/__NUXT_DEVTOOLS_BASE__/_nuxt/d479ufk9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__NUXT_DEVTOOLS_BASE__/",buildId:"c954ff6d-891d-44ef-873b-bed085186c32",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1773713005121,false]</script></body></html>
package/dist/dirs.mjs CHANGED
@@ -4,6 +4,7 @@ import isInstalledGlobally from 'is-installed-globally';
4
4
 
5
5
  const packageDir = resolve(fileURLToPath(import.meta.url), "../..");
6
6
  const distDir = resolve(fileURLToPath(import.meta.url), "..");
7
+ const BACKSLASH_RE = /\\/g;
7
8
  const runtimeDir = resolve(distDir, "runtime");
8
9
  const clientDir = resolve(distDir, "client");
9
10
  const globalInstallMatch = [
@@ -21,7 +22,7 @@ const globalInstallMatch = [
21
22
  function isGlobalInstall() {
22
23
  if (isInstalledGlobally === true || isInstalledGlobally.default === true)
23
24
  return true;
24
- const dir = packageDir.replace(/\\/g, "/");
25
+ const dir = packageDir.replace(BACKSLASH_RE, "/");
25
26
  return globalInstallMatch.some((i) => dir.includes(i));
26
27
  }
27
28
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/devtools",
3
3
  "configKey": "devtools",
4
- "version": "3.2.2",
4
+ "version": "3.2.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@nuxt/kit';
2
- export { m as default } from './shared/devtools.DuFZOCNN.mjs';
2
+ export { m as default } from './shared/devtools.CT6XRG-F.mjs';
3
3
  import './dirs.mjs';
4
4
  import 'node:path';
5
5
  import 'node:url';
@@ -8,6 +8,7 @@ import { computed, markRaw, nextTick, reactive, ref, shallowReactive, shallowRef
8
8
  import { initTimelineMetrics } from "../../function-metrics-helpers.js";
9
9
  import { settings } from "../../settings.js";
10
10
  import { popupWindow, state } from "./state.js";
11
+ const MULTIPLE_SLASHES_RE = /\/+/g;
11
12
  const clientRef = shallowRef();
12
13
  export { clientRef as client };
13
14
  export async function setupDevToolsClient({
@@ -97,7 +98,7 @@ export async function setupDevToolsClient({
97
98
  if (!iframe) {
98
99
  const runtimeConfig = useRuntimeConfig();
99
100
  const CLIENT_BASE = "/__nuxt_devtools__/client";
100
- const CLIENT_PATH = `${runtimeConfig.app.baseURL.replace(CLIENT_BASE, "/")}${CLIENT_BASE}`.replace(/\/+/g, "/");
101
+ const CLIENT_PATH = `${runtimeConfig.app.baseURL.replace(CLIENT_BASE, "/")}${CLIENT_BASE}`.replace(MULTIPLE_SLASHES_RE, "/");
101
102
  const initialUrl = CLIENT_PATH + state.value.route;
102
103
  iframe = document.createElement("iframe");
103
104
  for (const [key, value] of Object.entries(runtimeConfig.app.devtools?.iframeProps || {}))
@@ -0,0 +1,122 @@
1
+ import { defineNuxtModule } from '@nuxt/kit';
2
+ import { isGlobalInstall } from '../dirs.mjs';
3
+
4
+ const e=globalThis.process?.env||Object.create(null),t=globalThis.process||{env:e},n=t!==void 0&&t.env&&t.env.NODE_ENV||void 0,r=[[`claude`,[`CLAUDECODE`,`CLAUDE_CODE`]],[`replit`,[`REPL_ID`]],[`gemini`,[`GEMINI_CLI`]],[`codex`,[`CODEX_SANDBOX`,`CODEX_THREAD_ID`]],[`opencode`,[`OPENCODE`]],[`pi`,[i(`PATH`,/\.pi[\\/]agent/)]],[`auggie`,[`AUGMENT_AGENT`]],[`goose`,[`GOOSE_PROVIDER`]],[`devin`,[i(`EDITOR`,/devin/)]],[`cursor`,[`CURSOR_AGENT`]],[`kiro`,[i(`TERM_PROGRAM`,/kiro/)]]];function i(t,n){return ()=>{let r=e[t];return r?n.test(r):false}}function a(){let t=e.AI_AGENT;if(t)return {name:t.toLowerCase()};for(let[t,n]of r)for(let r of n)if(typeof r==`string`?e[r]:r())return {name:t};return {}}const o=a();o.name;!!o.name;const l=[[`APPVEYOR`],[`AWS_AMPLIFY`,`AWS_APP_ID`,{ci:true}],[`AZURE_PIPELINES`,`SYSTEM_TEAMFOUNDATIONCOLLECTIONURI`],[`AZURE_STATIC`,`INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN`],[`APPCIRCLE`,`AC_APPCIRCLE`],[`BAMBOO`,`bamboo_planKey`],[`BITBUCKET`,`BITBUCKET_COMMIT`],[`BITRISE`,`BITRISE_IO`],[`BUDDY`,`BUDDY_WORKSPACE_ID`],[`BUILDKITE`],[`CIRCLE`,`CIRCLECI`],[`CIRRUS`,`CIRRUS_CI`],[`CLOUDFLARE_PAGES`,`CF_PAGES`,{ci:true}],[`CLOUDFLARE_WORKERS`,`WORKERS_CI`,{ci:true}],[`GOOGLE_CLOUDRUN`,`K_SERVICE`],[`GOOGLE_CLOUDRUN_JOB`,`CLOUD_RUN_JOB`],[`CODEBUILD`,`CODEBUILD_BUILD_ARN`],[`CODEFRESH`,`CF_BUILD_ID`],[`DRONE`],[`DRONE`,`DRONE_BUILD_EVENT`],[`DSARI`],[`GITHUB_ACTIONS`],[`GITLAB`,`GITLAB_CI`],[`GITLAB`,`CI_MERGE_REQUEST_ID`],[`GOCD`,`GO_PIPELINE_LABEL`],[`LAYERCI`],[`JENKINS`,`JENKINS_URL`],[`HUDSON`,`HUDSON_URL`],[`MAGNUM`],[`NETLIFY`],[`NETLIFY`,`NETLIFY_LOCAL`,{ci:false}],[`NEVERCODE`],[`RENDER`],[`SAIL`,`SAILCI`],[`SEMAPHORE`],[`SCREWDRIVER`],[`SHIPPABLE`],[`SOLANO`,`TDDIUM`],[`STRIDER`],[`TEAMCITY`,`TEAMCITY_VERSION`],[`TRAVIS`],[`VERCEL`,`NOW_BUILDER`],[`VERCEL`,`VERCEL`,{ci:false}],[`VERCEL`,`VERCEL_ENV`,{ci:false}],[`APPCENTER`,`APPCENTER_BUILD_ID`],[`CODESANDBOX`,`CODESANDBOX_SSE`,{ci:false}],[`CODESANDBOX`,`CODESANDBOX_HOST`,{ci:false}],[`STACKBLITZ`],[`STORMKIT`],[`CLEAVR`],[`ZEABUR`],[`CODESPHERE`,`CODESPHERE_APP_ID`,{ci:true}],[`RAILWAY`,`RAILWAY_PROJECT_ID`],[`RAILWAY`,`RAILWAY_SERVICE_ID`],[`DENO-DEPLOY`,`DENO_DEPLOY`],[`DENO-DEPLOY`,`DENO_DEPLOYMENT_ID`],[`FIREBASE_APP_HOSTING`,`FIREBASE_APP_HOSTING`,{ci:true}]];function u(){for(let t of l)if(e[t[1]||t[0]])return {name:t[0].toLowerCase(),...t[2]};return e.SHELL===`/bin/jsh`&&t.versions?.webcontainer?{name:`stackblitz`,ci:false}:{name:``,ci:false}}const d=u(),f=d.name,p=t.platform||``,m=!!e.CI||d.ci!==false,h=!!t.stdout?.isTTY;!!e.DEBUG;const v=n===`test`||!!e.TEST;n===`production`||e.MODE===`production`;n===`dev`||n===`development`||e.MODE===`development`;!!e.MINIMAL||m||v||!h;const S=/^win/i.test(p);!e.NO_COLOR&&(!!e.FORCE_COLOR||(h||S)&&e.TERM!==`dumb`||m);const E=(t.versions?.node||``).replace(/^v/,``)||null;Number(E?.split(`.`)[0])||null;const O=!!t?.versions?.node,k=`Bun`in globalThis,A=`Deno`in globalThis,j=`fastly`in globalThis,M=`Netlify`in globalThis,N=`EdgeRuntime`in globalThis,P=globalThis.navigator?.userAgent===`Cloudflare-Workers`,F=[[M,`netlify`],[N,`edge-light`],[P,`workerd`],[j,`fastly`],[A,`deno`],[k,`bun`],[O,`node`]];function I(){let e=F.find(e=>e[0]);if(e)return {name:e[1]}}const L=I();L?.name||``;
5
+
6
+ const WS_EVENT_NAME = "nuxt:devtools:rpc";
7
+ const isSandboxed = f === "stackblitz" || f === "codesandbox";
8
+ const defaultOptions = {
9
+ enabled: void 0,
10
+ // determine multiple conditions
11
+ componentInspector: true,
12
+ viteInspect: true,
13
+ vscode: {
14
+ enabled: true,
15
+ startOnBoot: false,
16
+ port: 3080,
17
+ reuseExistingServer: true
18
+ },
19
+ disableAuthorization: isSandboxed
20
+ };
21
+ const defaultTabOptions = {
22
+ behavior: {
23
+ telemetry: null,
24
+ openInEditor: void 0
25
+ },
26
+ ui: {
27
+ componentsView: "list",
28
+ componentsGraphShowNodeModules: false,
29
+ componentsGraphShowGlobalComponents: true,
30
+ componentsGraphShowPages: false,
31
+ componentsGraphShowLayouts: false,
32
+ componentsGraphShowWorkspace: true,
33
+ interactionCloseOnOutsideClick: false,
34
+ showExperimentalFeatures: false,
35
+ showHelpButtons: true,
36
+ showPanel: true,
37
+ scale: 1,
38
+ minimizePanelInactive: 5e3,
39
+ hiddenTabs: [],
40
+ pinnedTabs: [],
41
+ hiddenTabCategories: [],
42
+ sidebarExpanded: false,
43
+ sidebarScrollable: false
44
+ },
45
+ serverRoutes: {
46
+ selectedRoute: null,
47
+ view: "tree",
48
+ inputDefaults: {
49
+ query: [],
50
+ body: [],
51
+ headers: []
52
+ },
53
+ sendFrom: "app"
54
+ },
55
+ serverTasks: {
56
+ enabled: false,
57
+ selectedTask: null,
58
+ view: "list",
59
+ inputDefaults: {
60
+ query: [],
61
+ body: [],
62
+ headers: [{ active: true, key: "Content-Type", value: "application/json", type: "string" }]
63
+ }
64
+ },
65
+ assets: {
66
+ view: "grid"
67
+ }
68
+ };
69
+ const defaultAllowedExtensions = [
70
+ "png",
71
+ "jpg",
72
+ "jpeg",
73
+ "gif",
74
+ "svg",
75
+ "webp",
76
+ "ico",
77
+ "mp4",
78
+ "ogg",
79
+ "mp3",
80
+ "wav",
81
+ "mov",
82
+ "mkv",
83
+ "mpg",
84
+ "txt",
85
+ "ttf",
86
+ "woff",
87
+ "woff2",
88
+ "eot",
89
+ "json",
90
+ "js",
91
+ "jsx",
92
+ "ts",
93
+ "tsx",
94
+ "md",
95
+ "mdx",
96
+ "vue",
97
+ "webm"
98
+ ];
99
+
100
+ const module$1 = defineNuxtModule({
101
+ meta: {
102
+ name: "@nuxt/devtools",
103
+ configKey: "devtools"
104
+ },
105
+ defaults: defaultOptions,
106
+ setup(options, nuxt) {
107
+ if (process.env.VITEST || process.env.TEST)
108
+ return;
109
+ if (typeof options === "boolean")
110
+ options = { enabled: options };
111
+ if (options.enabled === false)
112
+ return;
113
+ if (isGlobalInstall()) {
114
+ const globalOptions = nuxt.options.devtoolsGlobal || {};
115
+ if (options.enabled !== true && !globalOptions.projects?.includes(nuxt.options.rootDir))
116
+ return;
117
+ }
118
+ return import('../chunks/module-main.mjs').then(function (n) { return n.m; }).then(({ enableModule }) => enableModule(options, nuxt));
119
+ }
120
+ });
121
+
122
+ export { WS_EVENT_NAME as W, defaultTabOptions as a, defaultAllowedExtensions as d, module$1 as m };
@@ -1,4 +1,4 @@
1
- import { isRef, toRefs as toRefs$1, customRef, toValue, onMounted, nextTick, watch, getCurrentInstance, getCurrentScope, onScopeDispose, shallowRef, computed, ref, unref, defineComponent, useModel, watchEffect, mergeModels, withDirectives, openBlock, createElementBlock, createCommentVNode, createElementVNode, withModifiers, vShow, reactive, useTemplateRef, normalizeClass, normalizeStyle, toDisplayString, Fragment, createVNode, defineCustomElement, mergeProps, createTextVNode } from 'vue';
1
+ import { isRef, toRefs as toRefs$1, customRef, toValue, onMounted, nextTick, watch, getCurrentInstance, getCurrentScope, onScopeDispose, shallowRef, computed, ref, unref, defineComponent, useModel, watchEffect, mergeModels, withDirectives, openBlock, createElementBlock, createCommentVNode, createElementVNode, withModifiers, vShow, reactive, useTemplateRef, normalizeClass, normalizeStyle, toDisplayString, Fragment, createVNode, defineCustomElement, createTextVNode } from 'vue';
2
2
 
3
3
  const css = `*{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:before{--un-content:""}:after{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button{-webkit-appearance:button;background-color:transparent;background-image:none}[type=button]{-webkit-appearance:button;background-color:transparent;background-image:none}[type=reset]{-webkit-appearance:button;background-color:transparent;background-image:none}[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}button{cursor:pointer}[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--un-text-opacity:100%}@property --nuxt-devtools-inspect-border-angle{syntax:"<angle>";inherits:false;initial-value:90deg}.nuxt-devtools-inspect-running-border{filter:blur(10px);--nuxt-devtools-inspect-border-angle:0deg;background:conic-gradient(from var(--nuxt-devtools-inspect-border-angle), #00dc82, #00e6e8, #42e200, #0086e2, #00dc82) border-box;-webkit-mask:linear-gradient(#fff 0,#fff 0) padding-box,linear-gradient(#fff 0,#fff 0);-webkit-mask-composite:destination-out;transition:all .5s;animation:1s linear infinite color-rotate-background;mask-image:linear-gradient(#fff 0,#fff 0),linear-gradient(#fff 0,#fff 0);mask-position:0 0,0 0;mask-size:auto,auto;mask-repeat:repeat,repeat;mask-clip:padding-box,border-box;mask-origin:padding-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}.nuxt-devtools-inspect-neon{background-image:linear-gradient(90deg,#00dc82,#00e6e8,#42e200,#00dc82,#00e6e8,#42e200,#00dc82,#00e6e8,#42e200);background-position:0;background-size:400% 400%}.nuxt-devtools-inspect-neon.running{animation:3s linear infinite neon-background}@keyframes neon-background{0%{background-position:0%}50%{background-position:100%}to{background-position:0%}}.nuxt-devtools-frame{z-index:2147483645;-webkit-font-smoothing:antialiased;width:100%;height:100%;position:fixed}.nuxt-devtools-frame iframe{background:var(--nuxt-devtools-widget-bg);border:1px solid rgba(125,125,125,.2);-webkit-border-radius:10px;border-radius:10px;outline:none;width:100%;height:100%}.nuxt-devtools-resize-handle-horizontal{cursor:ns-resize;-webkit-border-radius:5px;border-radius:5px;height:10px;margin:-5px 0;position:absolute;left:6px;right:6px}.nuxt-devtools-resize-handle-vertical{cursor:ew-resize;-webkit-border-radius:5px;border-radius:5px;width:10px;margin:0 -5px;position:absolute;top:6px;bottom:0}.nuxt-devtools-resize-handle-corner{-webkit-border-radius:6px;border-radius:6px;width:14px;height:14px;margin:-6px;position:absolute}.nuxt-devtools-resize-handle:hover{background:rgba(125,125,125,.1)}#nuxt-devtools-anchor{z-index:2147483645;transform-origin:50%;box-sizing:border-box;width:0;font-family:Arial,Helvetica,sans-serif;position:fixed;transform:translate(-50%,-50%)rotate(0);font-size:15px!important}#nuxt-devtools-anchor *{box-sizing:border-box}#nuxt-devtools-anchor button{cursor:pointer;color:inherit;background:0 0;border:none;outline:none;margin:0;padding:0}#nuxt-devtools-anchor .nuxt-devtools-label{align-items:center;justify-items:center;gap:3px;padding:0 7px 0 8px;font-size:.8em;line-height:1em;display:flex}#nuxt-devtools-anchor .nuxt-devtools-label .nuxt-devtools-label-main{opacity:.8;white-space:nowrap}#nuxt-devtools-anchor .nuxt-devtools-label .nuxt-devtools-label-secondary{opacity:.5;white-space:nowrap;font-size:.8em;line-height:.6em}#nuxt-devtools-anchor .nuxt-devtools-nuxt-button{flex:none}#nuxt-devtools-anchor.nuxt-devtools-vertical .nuxt-devtools-nuxt-button{transform:rotate(-90deg)}#nuxt-devtools-anchor.nuxt-devtools-vertical .nuxt-devtools-label{flex-direction:column;gap:2px;padding:0 10px;transform:rotate(-90deg)}#nuxt-devtools-anchor .nuxt-devtools-panel{border:1px solid var(--nuxt-devtools-widget-border);background-color:var(--nuxt-devtools-widget-bg);backdrop-filter:blur(10px);height:30px;color:var(--nuxt-devtools-widget-fg);box-shadow:2px 2px 8px var(--nuxt-devtools-widget-shadow);user-select:none;touch-action:none;-webkit-border-radius:100px;border-radius:100px;justify-content:flex-start;align-items:center;gap:2px;max-width:150px;padding:2px 2px 2px 2.5px;transition:all .6s,max-width .6s,padding .5s,transform .4s,opacity .2s;display:flex;position:absolute;top:0;left:0;overflow:hidden;transform:translate(-50%,-50%)}#nuxt-devtools-anchor.nuxt-devtools-hide .nuxt-devtools-panel{max-width:32px;padding:2px 0}#nuxt-devtools-anchor.nuxt-devtools-vertical .nuxt-devtools-panel{box-shadow:2px -2px 8px var(--nuxt-devtools-widget-shadow);transform:translate(-50%,-50%)rotate(90deg)}#nuxt-devtools-anchor .nuxt-devtools-panel-content{transition:opacity .4s}#nuxt-devtools-anchor.nuxt-devtools-hide .nuxt-devtools-panel-content{opacity:0}#nuxt-devtools-anchor .nuxt-devtools-icon-button{opacity:.8;border-width:0;-webkit-border-radius:100%;border-radius:100%;justify-content:center;align-items:center;width:30px;height:30px;transition:opacity .2s ease-in-out;display:flex}#nuxt-devtools-anchor .nuxt-devtools-icon-button:hover{opacity:1}#nuxt-devtools-anchor:hover .nuxt-devtools-glowing{opacity:.6}#nuxt-devtools-anchor .nuxt-devtools-glowing{opacity:0;pointer-events:none;z-index:-1;filter:blur(60px);background-image:linear-gradient(45deg,#00dc82,#00dc82,#00dc82);-webkit-border-radius:9999px;border-radius:9999px;width:160px;height:160px;transition:all 1s;position:absolute;top:0;left:0;transform:translate(-50%,-50%)}@media print{#nuxt-devtools-anchor{display:none}}*{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-ph-arrow-bend-left-up-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M152 80H56l48-48Z' opacity='.2'/%3E%3Cpath d='M200 216a88.1 88.1 0 0 1-88-88V88h40a8 8 0 0 0 5.66-13.66l-48-48a8 8 0 0 0-11.32 0l-48 48A8 8 0 0 0 56 88h40v40a104.11 104.11 0 0 0 104 104a8 8 0 0 0 0-16M104 43.31L132.69 72H75.31Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-arrow-up-right-light{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M198 64v104a6 6 0 0 1-12 0V78.48L68.24 196.24a6 6 0 0 1-8.48-8.48L177.52 70H88a6 6 0 0 1 0-12h104a6 6 0 0 1 6 6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-check-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-copy-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 40v128h-48V88H88V40Z' opacity='.2'/%3E%3Cpath d='M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8m-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-file-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 88h-56V32Z' opacity='.2'/%3E%3Cpath d='m213.66 82.34l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31L188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-tree-view-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M104 32v32a8 8 0 0 1-8 8H64a8 8 0 0 1-8-8V32a8 8 0 0 1 8-8h32a8 8 0 0 1 8 8m104 64h-32a8 8 0 0 0-8 8v32a8 8 0 0 0 8 8h32a8 8 0 0 0 8-8v-32a8 8 0 0 0-8-8m0 88h-32a8 8 0 0 0-8 8v32a8 8 0 0 0 8 8h32a8 8 0 0 0 8-8v-32a8 8 0 0 0-8-8' opacity='.2'/%3E%3Cpath d='M176 152h32a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v8H88V80h8a16 16 0 0 0 16-16V32a16 16 0 0 0-16-16H64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h8v112a24 24 0 0 0 24 24h64v8a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v8H96a8 8 0 0 1-8-8v-64h72v8a16 16 0 0 0 16 16M64 32h32v32H64Zm112 160h32v32h-32Zm0-88h32v32h-32Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.i-ph-x{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128L50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;mask-size:100% 100%}.container{width:100%}.border-base{--un-border-opacity:.13;border-color:rgba(136,136,136,var(--un-border-opacity))}.bg-glass{--un-backdrop-blur:blur(5px);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);background-color:rgba(255,255,255,.75)}.color-base{--un-text-opacity:1;color:rgba(38,38,38,var(--un-text-opacity))}.ring-base{--un-ring-opacity:.13;--un-ring-color:rgba(136,136,136,var(--un-ring-opacity))}@media (prefers-color-scheme:dark){.bg-glass{background-color:rgba(17,17,17,.75)}.color-base{--un-text-opacity:1;color:rgba(229,229,229,var(--un-text-opacity))}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{top:0;bottom:0;left:0;right:0}.bottom-20px{bottom:20px}.right-20px{right:20px}.z-10{z-index:10}.z-9999999{z-index:9999999}.z-99999999{z-index:99999999}.grid{display:grid}.grid-cols-\\[max-content_1fr\\]{grid-template-columns:max-content 1fr}.ms:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:1rem}.ms:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:1rem}.mt-2{margin-top:.5rem}.max-h-200px{max-height:200px}.max-w-500px{max-width:500px}.w-400px{width:400px}.flex{display:flex}.flex-auto{flex:auto}.flex-none{flex:none}.flex-col{flex-direction:column}.translate-y-0{--un-translate-y:0;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-10{--un-translate-y:2.5rem;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.resize{resize:both}.items-center{align-items:center}.gap-2{gap:.5rem}.of-auto{overflow:auto}.of-hidden{overflow:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.border-1{border-width:1px}.border-1\\.5{border-width:1.5px}.border-transparent{border-color:transparent}.rounded{-webkit-border-radius:.25rem;border-radius:.25rem}.rounded-lg{-webkit-border-radius:.5rem;border-radius:.5rem}.bg-black{--un-bg-opacity:1;background-color:rgba(0,0,0,var(--un-bg-opacity))}.bg-op-20{--un-bg-opacity:.2}.p2{padding:.5rem}.p4{padding:1rem}.px{padding-left:1rem;padding-right:1rem}.px1{padding-left:.25rem;padding-right:.25rem}.py0\\.5{padding-top:.125rem;padding-bottom:.125rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-green6{--un-text-opacity:1;color:rgba(22,163,74,var(--un-text-opacity))}.hover\\:text-green6:hover{--un-text-opacity:1;color:rgba(22,163,74,var(--un-text-opacity))}.font-semibold{font-weight:600}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.op0{opacity:0}.op100{opacity:1}.op50{opacity:.5}.hover\\:op100:hover{opacity:1}.disabled\\:op10\\!:disabled{opacity:.1!important}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color,rgba(0,0,0,.1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color,rgba(0,0,0,.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color,rgba(0,0,0,.1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color,rgba(0,0,0,.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)}.ring-1{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)}.backdrop-blur{--un-backdrop-blur:blur(8px);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.transition-none{transition:none}`;
4
4
 
@@ -810,7 +810,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
810
810
  return;
811
811
  iframe.style.pointerEvents = isResizing.value || props.isDragging || props.client.inspector?.isEnabled.value ? "none" : "auto";
812
812
  if (!popupWindow.value) {
813
- if (Array.from(container.value.children).every((el) => el !== iframe))
813
+ if ([...container.value.children].every((el) => el !== iframe))
814
814
  container.value.appendChild(iframe);
815
815
  }
816
816
  }
@@ -831,7 +831,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
831
831
  return;
832
832
  const matched = e.composedPath().find((_el) => {
833
833
  const el = _el;
834
- return Array.from(el.classList || []).some((c) => c.startsWith("nuxt-devtools-")) || el.tagName?.toLowerCase() === "iframe";
834
+ return [...el.classList || []].some((c) => c.startsWith("nuxt-devtools-")) || el.tagName?.toLowerCase() === "iframe";
835
835
  });
836
836
  if (!matched)
837
837
  state.value.open = false;
@@ -1557,35 +1557,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1557
1557
  setup(__props, { expose: __expose, emit: __emit }) {
1558
1558
  __expose();
1559
1559
  const emit = __emit;
1560
+ const WHITESPACE_RE = /\s+/;
1561
+ const FILE_EXT_RE = /\.\w+$/;
1560
1562
  const showToast = ref(false);
1561
1563
  const toastContent = ref("");
1562
1564
  let toastTimer;
1563
1565
  const initX = ref(0);
1564
1566
  const initY = ref(0);
1565
- watch(
1566
- () => [__props.props.matched, __props.props.mouse],
1567
- ([matched, mouse]) => {
1568
- if (!matched || !mouse)
1569
- return;
1570
- initX.value = Math.max(PANEL_MARGIN, Math.min(mouse.x, window.innerWidth - PANEL_WIDTH - PANEL_MARGIN));
1571
- initY.value = Math.max(PANEL_MARGIN, Math.min(mouse.y, window.innerHeight - PANEL_HEIGHT - PANEL_MARGIN));
1572
- }
1573
- );
1574
1567
  const el = useTemplateRef("el");
1575
1568
  const draggingEl = useTemplateRef("draggingEl");
1576
- const { x, y, style, isDragging } = useDraggable(el, {
1569
+ const { x, y, style: panelStyle, isDragging } = useDraggable(el, {
1577
1570
  initialValue: {
1578
1571
  x: initX.value,
1579
1572
  y: initY.value
1580
1573
  },
1574
+ preventDefault: true,
1575
+ stopPropagation: true,
1581
1576
  handle: draggingEl
1582
1577
  });
1583
- watch([initX, initY], () => {
1584
- if (!__props.props.matched)
1585
- return;
1586
- x.value = initX.value;
1587
- y.value = initY.value;
1588
- });
1578
+ const rect = computed(() => __props.props.matched?.rect || __props.props.matched?.el?.getBoundingClientRect());
1579
+ watch(
1580
+ () => rect.value,
1581
+ (rect2) => {
1582
+ if (!rect2)
1583
+ return;
1584
+ const preferredX = rect2.left;
1585
+ const preferredY = rect2.bottom + PANEL_MARGIN / 2;
1586
+ const fitsBelow = preferredY + PANEL_HEIGHT + PANEL_MARGIN < window.innerHeight;
1587
+ initX.value = Math.max(PANEL_MARGIN, Math.min(preferredX, window.innerWidth - PANEL_WIDTH - PANEL_MARGIN));
1588
+ initY.value = fitsBelow ? Math.max(PANEL_MARGIN, preferredY) : Math.max(PANEL_MARGIN, rect2.top - PANEL_HEIGHT - PANEL_MARGIN / 2);
1589
+ x.value = initX.value;
1590
+ y.value = initY.value;
1591
+ }
1592
+ );
1589
1593
  const hasMoved = computed(() => x.value !== initX.value || y.value !== initY.value);
1590
1594
  onClickOutside(el, () => {
1591
1595
  nextTick(() => {
@@ -1621,13 +1625,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1621
1625
  break;
1622
1626
  }
1623
1627
  if (current.className && typeof current.className === "string") {
1624
- const classes = current.className.trim().split(/\s+/).filter(Boolean);
1628
+ const classes = current.className.trim().split(WHITESPACE_RE).filter(Boolean);
1625
1629
  if (classes.length > 0)
1626
1630
  selector += `.${classes.map((c) => CSS.escape(c)).join(".")}`;
1627
1631
  }
1628
1632
  const parent = current.parentElement;
1629
1633
  if (parent) {
1630
- const siblings = Array.from(parent.children).filter(
1634
+ const siblings = [...parent.children].filter(
1631
1635
  (child) => child.tagName === current.tagName
1632
1636
  );
1633
1637
  if (siblings.length > 1) {
@@ -1656,7 +1660,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1656
1660
  componentName = vnode.type;
1657
1661
  } else if (typeof vnode.type === "object") {
1658
1662
  const typeObj = vnode.type;
1659
- componentName = typeObj.name || typeObj.__name || typeObj.__file?.split("/").pop()?.replace(/\.\w+$/, "") || "AnonymousComponent";
1663
+ componentName = typeObj.name || typeObj.__name || typeObj.__file?.split("/").pop()?.replace(FILE_EXT_RE, "") || "AnonymousComponent";
1660
1664
  } else if (typeof vnode.type === "function") {
1661
1665
  componentName = vnode.type.name || "FunctionalComponent";
1662
1666
  }
@@ -1672,7 +1676,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1672
1676
  return components.join(" > ");
1673
1677
  }
1674
1678
  async function copyAgentInfo() {
1675
- if (!__props.props.matched)
1679
+ if (!rect.value || !__props.props.matched)
1676
1680
  return;
1677
1681
  try {
1678
1682
  const pageUrl = window.location.href;
@@ -1704,11 +1708,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1704
1708
  console.error("Failed to copy agent info:", error);
1705
1709
  }
1706
1710
  }
1707
- const __returned__ = { emit, PANEL_WIDTH, PANEL_HEIGHT, PANEL_MARGIN, showToast, toastContent, get toastTimer() {
1711
+ const __returned__ = { emit, WHITESPACE_RE, FILE_EXT_RE, PANEL_WIDTH, PANEL_HEIGHT, PANEL_MARGIN, showToast, toastContent, get toastTimer() {
1708
1712
  return toastTimer;
1709
1713
  }, set toastTimer(v) {
1710
1714
  toastTimer = v;
1711
- }, initX, initY, el, draggingEl, x, y, style, isDragging, hasMoved, close, selectParent, openInEditor, generateUniqueSelector, buildComponentTree, copyAgentInfo };
1715
+ }, initX, initY, el, draggingEl, x, y, panelStyle, isDragging, rect, hasMoved, close, selectParent, openInEditor, generateUniqueSelector, buildComponentTree, copyAgentInfo };
1712
1716
  Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
1713
1717
  return __returned__;
1714
1718
  }
@@ -1734,14 +1738,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1734
1738
  Fragment,
1735
1739
  null,
1736
1740
  [
1737
- $props.props.matched ? (openBlock(), createElementBlock(
1741
+ $setup.rect && $props.props.matched ? (openBlock(), createElementBlock(
1738
1742
  "div",
1739
- mergeProps({
1743
+ {
1740
1744
  key: 0,
1741
1745
  ref: "el",
1742
- class: ["fixed relative z-9999999 w-400px flex flex-col of-hidden rounded-lg bg-glass text-sm color-base shadow-lg ring-1 ring-base backdrop-blur duration-200", [$setup.isDragging ? "transition-none" : "transition-opacity", $props.props.matched ? "op100" : "op0 pointer-events-none"]],
1743
- style: $setup.style
1744
- }, _ctx.$attrs),
1746
+ class: normalizeClass(["fixed relative z-9999999 w-400px flex flex-col of-hidden rounded-lg bg-glass text-sm color-base shadow-lg ring-1 ring-base backdrop-blur duration-200", [$setup.isDragging ? "transition-none" : "transition-opacity", $props.props.matched ? "op100" : "op0 pointer-events-none"]]),
1747
+ style: normalizeStyle($setup.panelStyle)
1748
+ },
1745
1749
  [createCommentVNode(" <div\n class=\"pointer-events-none absolute inset-0 z-10 transition-opacity duration-300\"\n >\n <div class=\"nuxt-devtools-inspect-running-border pointer-events-none absolute inset-0 z-10 border-1.5 border-transparent rounded-lg\" />\n </div> "), createElementVNode(
1746
1750
  "div",
1747
1751
  _hoisted_1,
@@ -1851,8 +1855,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1851
1855
  512
1852
1856
  /* NEED_PATCH */
1853
1857
  )],
1854
- 16
1855
- /* FULL_PROPS */
1858
+ 6
1859
+ /* CLASS, STYLE */
1856
1860
  )) : createCommentVNode("v-if", true),
1857
1861
  createCommentVNode(" Toast notification "),
1858
1862
  withDirectives(createElementVNode(