@nuxt/devtools 3.2.3 → 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 (161) hide show
  1. package/dist/chunks/module-main.mjs +2 -2
  2. package/dist/chunks/vscode.mjs +1 -1
  3. package/dist/client/200.html +1 -1
  4. package/dist/client/404.html +1 -1
  5. package/dist/client/_nuxt/__blank-cpzbm3dn.js +1 -0
  6. package/dist/client/_nuxt/analyze-build-isc8qyt9.js +1 -0
  7. package/dist/client/_nuxt/{assets-fjp0hrmh.js → assets-k3ya1y6b.js} +2 -2
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/c954ff6d-891d-44ef-873b-bed085186c32.json +1 -0
  10. package/dist/client/_nuxt/{client-lh91kcpv.js → client-im47u3kz.js} +1 -1
  11. package/dist/client/_nuxt/client-nwyjxodt.js +2 -0
  12. package/dist/client/_nuxt/{code-diff-cb7twqkt.js → code-diff-hjtd937u.js} +1 -1
  13. package/dist/client/_nuxt/{code-snippets-ho13b87l.js → code-snippets-cptms1t1.js} +1 -1
  14. package/dist/client/_nuxt/components-h8jl0r8x.js +1 -0
  15. package/dist/client/_nuxt/composable-item-m56sdpbk.js +1 -0
  16. package/dist/client/_nuxt/composables-b2ccklz4.js +1 -0
  17. package/dist/client/_nuxt/constants-mq2c9hze.js +1 -0
  18. package/dist/client/_nuxt/custom-_name_-oczf7kge.js +1 -0
  19. package/dist/client/_nuxt/d479ufk9.js +4 -0
  20. package/dist/client/_nuxt/{data-schema-button-ke4komn6.js → data-schema-button-n0xmsouw.js} +1 -1
  21. package/dist/client/_nuxt/data-schema-drawer-le08obah.js +2 -0
  22. package/dist/client/_nuxt/debug-hbdh85ek.js +1 -0
  23. package/dist/client/_nuxt/{default-bunv5fnq.js → default-jvhm51ri.js} +1 -1
  24. package/dist/client/_nuxt/dev-auth-he0eye7r.js +1 -0
  25. package/dist/client/_nuxt/{duration-display-20xlusue.js → duration-display-h5sffkps.js} +1 -1
  26. package/dist/client/_nuxt/{entry.css-ckq2wff8.css → entry.css-hn1q325i.css} +1 -1
  27. package/dist/client/_nuxt/error-404-mzw240fb.js +1 -0
  28. package/dist/client/_nuxt/error-404.css-b4qk08da.css +1 -0
  29. package/dist/client/_nuxt/error-500-l89qfgc9.js +1 -0
  30. package/dist/client/_nuxt/error-500.css-awwhwbzo.css +1 -0
  31. package/dist/client/_nuxt/{error-isnb18yz.js → error-owd7hxtu.js} +1 -1
  32. package/dist/client/_nuxt/{filepath-item-fnp9jxof.js → filepath-item-h3i1tz3s.js} +1 -1
  33. package/dist/client/_nuxt/full-et0weok9.js +1 -0
  34. package/dist/client/_nuxt/{help-fab-oc1qudll.js → help-fab-oeo4c53s.js} +1 -1
  35. package/dist/client/_nuxt/hooks-lapcgs2a.js +1 -0
  36. package/dist/client/_nuxt/imports-lb64tt5j.js +1 -0
  37. package/dist/client/_nuxt/{launch-page-kf0w74wk.js → launch-page-h3hu9uqw.js} +1 -1
  38. package/dist/client/_nuxt/mitt.es-ey5n86su.js +1 -0
  39. package/dist/client/_nuxt/modules-isjfof47.js +1 -0
  40. package/dist/client/_nuxt/nbadge-f1bvtlf5.js +1 -0
  41. package/dist/client/_nuxt/{nbutton-oi1rfqiz.js → nbutton-gygn07c2.js} +1 -1
  42. package/dist/client/_nuxt/ncard-ludmyw2u.js +1 -0
  43. package/dist/client/_nuxt/{ncheckbox-k9nxqa1w.js → ncheckbox-ep01n5y1.js} +1 -1
  44. package/dist/client/_nuxt/{ncode-block-coc4sua0.js → ncode-block-figzf35k.js} +1 -1
  45. package/dist/client/_nuxt/{ndrawer-ijwn9421.js → ndrawer-hos2o4rf.js} +1 -1
  46. package/dist/client/_nuxt/{ndropdown-moy416uy.js → ndropdown-knvt4ccq.js} +1 -1
  47. package/dist/client/_nuxt/{nicon-m5br9nvg.js → nicon-m1crov2l.js} +1 -1
  48. package/dist/client/_nuxt/{nicon-title-e35pdr21.js → nicon-title-kbrt9te7.js} +1 -1
  49. package/dist/client/_nuxt/{nlink-dmk2d6qc.js → nlink-od4lllbl.js} +1 -1
  50. package/dist/client/_nuxt/{nmarkdown-nct1w6kn.js → nmarkdown-ciogo2e3.js} +1 -1
  51. package/dist/client/_nuxt/{nnavbar-n3j7iul1.js → nnavbar-n7gfocyu.js} +1 -1
  52. package/dist/client/_nuxt/none-bdxkqeml.js +1 -0
  53. package/dist/client/_nuxt/npanel-grids-onrho735.js +1 -0
  54. package/dist/client/_nuxt/{nsection-block-l0c6dpg8.js → nsection-block-ibsk9arc.js} +1 -1
  55. package/dist/client/_nuxt/{nselect-kgjpj17v.js → nselect-gyaplrph.js} +1 -1
  56. package/dist/client/_nuxt/{nselect-tabs-if6er1us.js → nselect-tabs-fslk8qg5.js} +1 -1
  57. package/dist/client/_nuxt/{nswitch-b36trghq.js → nswitch-ke379yjx.js} +1 -1
  58. package/dist/client/_nuxt/{ntext-input-ngomk0u2.js → ntext-input-e8iut2en.js} +1 -1
  59. package/dist/client/_nuxt/nuxt-link-bumooa9d.js +1 -0
  60. package/dist/client/_nuxt/nuxt-otp6bp04.js +1 -0
  61. package/dist/client/_nuxt/{open-graph-m7wd1sxi.js → open-graph-iihpwnih.js} +2 -2
  62. package/dist/client/_nuxt/overview-hir7dg5h.js +1 -0
  63. package/dist/client/_nuxt/pages-etzxihfh.js +1 -0
  64. package/dist/client/_nuxt/pages-okkqwdpu.js +1 -0
  65. package/dist/client/_nuxt/payload-hmxfri1t.js +1 -0
  66. package/dist/client/_nuxt/pinia-bfcvuvfi.js +1 -0
  67. package/dist/client/_nuxt/plugins-ehtddhxd.js +1 -0
  68. package/dist/client/_nuxt/ready-dadbdj5i.js +1 -0
  69. package/dist/client/_nuxt/render-tree-ke02si46.js +1 -0
  70. package/dist/client/_nuxt/runtime-configs-ft5vi88d.js +1 -0
  71. package/dist/client/_nuxt/server-discovery-k9u6ss6f.js +1 -0
  72. package/dist/client/_nuxt/{server-route-inputs-lqwnul2k.js → server-route-inputs-fhqv0c7q.js} +1 -1
  73. package/dist/client/_nuxt/server-routes-dy0m6wq4.js +7 -0
  74. package/dist/client/_nuxt/server-tasks-naz2m1n0.js +1 -0
  75. package/dist/client/_nuxt/settings-io1tvmdq.js +1 -0
  76. package/dist/client/_nuxt/{splitpanes.es-ceqv8417.js → splitpanes.es-gcsn48te.js} +1 -1
  77. package/dist/client/_nuxt/{stacktrace-list-m1sv2uvd.js → stacktrace-list-ir6dwfsw.js} +1 -1
  78. package/dist/client/_nuxt/state-components-ii0yssci.js +1 -0
  79. package/dist/client/_nuxt/{state-editor-epijodsw.js → state-editor-m7poh4fc.js} +1 -1
  80. package/dist/client/_nuxt/{state-modules-ehax0fup.js → state-modules-m990wfjb.js} +1 -1
  81. package/dist/client/_nuxt/{state-routes-m6gv5n9v.js → state-routes-jownks2o.js} +1 -1
  82. package/dist/client/_nuxt/{state-tabs-mo8r9nzk.js → state-tabs-mtxv3h6t.js} +1 -1
  83. package/dist/client/_nuxt/storage-nebfhfwp.js +1 -0
  84. package/dist/client/_nuxt/storage-options-nzog3hhp.js +1 -0
  85. package/dist/client/_nuxt/telemetry-c77tnag3.js +1 -0
  86. package/dist/client/_nuxt/terminals-j3f24tml.js +1 -0
  87. package/dist/client/_nuxt/timeline-cg7nhorz.js +31 -0
  88. package/dist/client/_nuxt/unocss-runtime-g9wlule9.js +1 -0
  89. package/dist/client/_nuxt/utils-jupbrzo6.js +1 -0
  90. package/dist/client/_nuxt/vendor/{json-editor-vue-hkofgjf7.js → json-editor-vue-eojr4v24.js} +3 -3
  91. package/dist/client/_nuxt/vendor/{markdown-it-bcxn77q6.js → markdown-it-ckeo8pwp.js} +1 -1
  92. package/dist/client/_nuxt/vendor/{shiki-niqic03h.js → shiki-lqo1hg2n.js} +3 -3
  93. package/dist/client/_nuxt/vendor/{unocss-bj3ln324.js → unocss-k727ub0h.js} +1 -1
  94. package/dist/client/_nuxt/virtual-files-bkiu19oo.js +1 -0
  95. package/dist/client/_nuxt/vue-devtools-fdei7bct.js +4 -0
  96. package/dist/client/_nuxt/{vue-router-dxks01bs.js → vue-router-jbnxw7nb.js} +1 -1
  97. package/dist/client/index.html +1 -1
  98. package/dist/module.json +1 -1
  99. package/dist/module.mjs +1 -1
  100. package/dist/shared/devtools.CT6XRG-F.mjs +122 -0
  101. package/dist/webcomponents/index.mjs +28 -26
  102. package/package.json +21 -21
  103. package/dist/client/_nuxt/__blank-gayjf0ih.js +0 -1
  104. package/dist/client/_nuxt/analyze-build-bnq2cil8.js +0 -1
  105. package/dist/client/_nuxt/builds/meta/f343c68e-9061-4942-a0df-50170dc001bd.json +0 -1
  106. package/dist/client/_nuxt/client-s5g5n0ac.js +0 -2
  107. package/dist/client/_nuxt/components-peth8amc.js +0 -1
  108. package/dist/client/_nuxt/composable-item-b09pj4ca.js +0 -1
  109. package/dist/client/_nuxt/composables-cwesk2q8.js +0 -1
  110. package/dist/client/_nuxt/constants-lof1c7kz.js +0 -1
  111. package/dist/client/_nuxt/custom-_name_-lfwzilnd.js +0 -1
  112. package/dist/client/_nuxt/data-schema-drawer-dqe6w00i.js +0 -2
  113. package/dist/client/_nuxt/debug-itzra6gt.js +0 -1
  114. package/dist/client/_nuxt/dev-auth-j4vxv6a1.js +0 -1
  115. package/dist/client/_nuxt/error-404-c73bftho.js +0 -1
  116. package/dist/client/_nuxt/error-404.css-pazrj6fo.css +0 -1
  117. package/dist/client/_nuxt/error-500-75llnfh8.js +0 -1
  118. package/dist/client/_nuxt/error-500.css-hlldh6hu.css +0 -1
  119. package/dist/client/_nuxt/full-h8pokapo.js +0 -1
  120. package/dist/client/_nuxt/head-c2jgvqd9.js +0 -1
  121. package/dist/client/_nuxt/hooks-i5p6cuw0.js +0 -1
  122. package/dist/client/_nuxt/imports-ia8eldh8.js +0 -1
  123. package/dist/client/_nuxt/l471sqq0.js +0 -4
  124. package/dist/client/_nuxt/modules-obwfskfp.js +0 -1
  125. package/dist/client/_nuxt/nbadge-hpznun17.js +0 -1
  126. package/dist/client/_nuxt/ncard-ech06vlh.js +0 -1
  127. package/dist/client/_nuxt/none-bs12srzp.js +0 -1
  128. package/dist/client/_nuxt/npanel-grids-bl37sfq7.js +0 -1
  129. package/dist/client/_nuxt/nuxt-bfozs29x.js +0 -1
  130. package/dist/client/_nuxt/nuxt-link-mev16ngd.js +0 -1
  131. package/dist/client/_nuxt/overview-dbrpdvvy.js +0 -1
  132. package/dist/client/_nuxt/pages-gnfgydad.js +0 -1
  133. package/dist/client/_nuxt/pages-izgjpbm4.js +0 -1
  134. package/dist/client/_nuxt/payload-hc17espa.js +0 -1
  135. package/dist/client/_nuxt/pinia-ns87k5yi.js +0 -1
  136. package/dist/client/_nuxt/plugins-mswypwe4.js +0 -1
  137. package/dist/client/_nuxt/ready-szdlhgcr.js +0 -1
  138. package/dist/client/_nuxt/render-tree-hec27xi7.js +0 -1
  139. package/dist/client/_nuxt/runtime-configs-chx5ggf0.js +0 -1
  140. package/dist/client/_nuxt/server-discovery-cjcj8emm.js +0 -1
  141. package/dist/client/_nuxt/server-routes-e0uqj8di.js +0 -7
  142. package/dist/client/_nuxt/server-tasks-izz5mcrk.js +0 -1
  143. package/dist/client/_nuxt/settings-dhxjcakv.js +0 -1
  144. package/dist/client/_nuxt/state-components-mnfvrbtw.js +0 -1
  145. package/dist/client/_nuxt/state-dkywakbf.js +0 -1
  146. package/dist/client/_nuxt/storage-hdyfvofj.js +0 -1
  147. package/dist/client/_nuxt/storage-options-owy2vf04.js +0 -1
  148. package/dist/client/_nuxt/telemetry-bagjjni2.js +0 -1
  149. package/dist/client/_nuxt/terminals-hem69799.js +0 -1
  150. package/dist/client/_nuxt/timeline-luryae8h.js +0 -31
  151. package/dist/client/_nuxt/unocss-runtime-jcr8lucj.js +0 -1
  152. package/dist/client/_nuxt/virtual-files-o2l5arel.js +0 -1
  153. package/dist/client/_nuxt/vue-devtools-na2nb82m.js +0 -3
  154. package/dist/client/_nuxt/vue-virtual-scroller.esm-d0igfpwe.js +0 -2
  155. package/dist/shared/devtools.DuFZOCNN.mjs +0 -122
  156. /package/dist/client/_nuxt/{_plugin-vue_export-helper-dp8rxgcg.js → _plugin-vue_export-helper-n58akrbk.js} +0 -0
  157. /package/dist/client/_nuxt/{color-b9xoe9j2.js → color-l56csnpd.js} +0 -0
  158. /package/dist/client/_nuxt/{dist-m49wlq01.js → dist-og16nf4d.js} +0 -0
  159. /package/dist/client/_nuxt/vendor/{quicktype-core-f8dnflnv.js → quicktype-core-k4qx3809.js} +0 -0
  160. /package/dist/client/_nuxt/vendor/{vis-id8udisj.js → vis-gf06uk37.js} +0 -0
  161. /package/dist/client/_nuxt/vendor/{xterm-ed0pys2e.js → xterm-k45lhqgb.js} +0 -0
@@ -0,0 +1,31 @@
1
+ import{C as e,Ct as t,E as n,F as r,Mt as i,P as a,Qt as o,W as s,Y as c,Z as l,_ as u,c as d,ct as f,dt as p,en as m,g as h,h as g,m as _,t as v,tn as y,v as b,w as x}from"./vendor/json-editor-vue-eojr4v24.js";import"./ready-dadbdj5i.js";import{P as S,S as C,v as w,w as T}from"./utils-jupbrzo6.js";import{D as E,N as D,_ as O,l as k,r as A,t as j}from"./client-nwyjxodt.js";import{c as M}from"./dev-auth-he0eye7r.js";import"./vendor/shiki-lqo1hg2n.js";import"./storage-options-nzog3hhp.js";import"./nuxt-link-bumooa9d.js";import{t as N}from"./_plugin-vue_export-helper-n58akrbk.js";import"./nicon-m1crov2l.js";import{t as P}from"./nbutton-gygn07c2.js";import"./ncard-ludmyw2u.js";import"./state-routes-jownks2o.js";import"./telemetry-c77tnag3.js";import{t as ee}from"./npanel-grids-onrho735.js";import{d as te,f as F,u as I}from"#entry";import"./client-im47u3kz.js";import"./ncode-block-figzf35k.js";import{t as L}from"./ndrawer-hos2o4rf.js";import{t as R}from"./composables-b2ccklz4.js";import{t as z}from"./nlink-od4lllbl.js";import"./filepath-item-h3i1tz3s.js";import{t as B}from"./help-fab-oeo4c53s.js";import{t as V}from"./nbadge-f1bvtlf5.js";import"./nmarkdown-ciogo2e3.js";import{t as H}from"./launch-page-h3hu9uqw.js";import{t as U}from"./color-l56csnpd.js";import{t as W}from"./stacktrace-list-ir6dwfsw.js";import{t as G}from"./duration-display-h5sffkps.js";import{t as K}from"./composable-item-m56sdpbk.js";import{t as q}from"./code-diff-hjtd937u.js";var J=n({__name:`TimelineItemFunction`,props:{item:{}},setup(e){let t=e,n=/_op_/,r=_(()=>U(t.item.name,50,60,`_op_`)),i=_(()=>r.value.replace(n,`1`)),a=_(()=>U(t.item.name,50,40)),o=_(()=>r.value.replace(n,`0.2`));return(t,n)=>(s(),b(`button`,{class:`group`,style:m({color:i.value,borderLeft:`2px solid ${i.value}`}),relative:``,"bg-base":``,"text-sm":``,transition:``,"hover:z-1000":``},[g(`div`,{style:m({backgroundColor:o.value}),absolute:``,"bottom-0":``,"left--1px":``,"top-0":``,"w-full":``,"text-sm":``,"transition-all":``,"duration-300":``},null,4),g(`div`,{style:m({color:a.value,"--c":i.value}),border:`r-2 t-2 y-2 transparent`,"min-w-max":``,px1:``,"text-left":``,"group-hover":`border-$c`},y(e.item.name),5)],4))}}),Y=Object.assign(J,{__name:`TimelineItemFunction`}),X={relative:``,"h-full":``},Z={absolute:``,"left-2":``,"top-2.3em":``,"text-xs":``,op50:``},Q=n({__name:`TimelineSegment`,props:{segment:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,a=D(()=>n.segment.start,{updateInterval:1e3,showSecond:!0,controls:!1,messages:{justNow:``,past:e=>e,future:e=>e,invalid:`-`,second:e=>e?`${e}s`:``,minute:e=>`${e}m`,hour:e=>`${e}h`,week:e=>`${e}w`,day:e=>`${e}d`,month:e=>`${e}mo`,year:e=>`${e}y`}});return(t,n)=>{let o=Y;return s(),b(`div`,X,[g(`button`,{absolute:``,"left-0":``,"right-0":``,"top-0":``,"bg-green:5":``,px2:``,py1:``,"text-left":``,"text-xs":``,"text-green6":``,"font-mono":``,onClick:n[0]||=t=>e.segment.route?r(`select`,e.segment.route):void 0},y(e.segment.route?.event.to),1),g(`div`,Z,y(i(a))+` ago `,1),g(`div`,null,[(s(!0),b(d,null,c(e.segment.functions,(e,t)=>(s(),h(o,{key:t,item:e.event,style:m({position:`absolute`,minWidth:`${e.relativeWidth*100}%`,maxWidth:`${e.relativeWidth*100}%`,top:`${4+e.layer*1.6}em`,left:`${e.relativeStart*100}%`}),onClick:t=>r(`select`,e)},null,8,[`item`,`style`,`onClick`]))),128))])])}}}),ne=Object.assign(Q,{__name:`TimelineSegment`}),re=3e3,ie=50;function ae(e){let t=[],n={start:0,end:0,events:[],functions:[],duration:0};for(let r of e){let e=r.end||r.start;(r.start-n.end>re||r.type===`route`)&&(n={start:r.start,end:e,events:[],functions:[],duration:0},t.push(n)),n.events.push(r),n.end=e+ie}return t.forEach((e,n)=>{let r=e.end-e.start,i=[];e.duration=r,e.previousGap=n>0?e.start-t[n-1].end:0,e.events.forEach(t=>{let n=t.end||t.start,a=0;t.type!==`route`&&(a=i.findIndex(e=>e<=t.start),a===-1?(a=i.length,i.push(n+1e3)):i[a]=n+1e3);let o={event:t,segment:e,relativeStart:(t.start-e.start)/r,relativeWidth:(n-t.start)/r,layer:a};t.type===`function`?e.functions.push(o):e.route=o})}),t}var oe={relative:``},se={key:0,border:`x base`,"h-full":``,"flex-inline":``,"bg-true-gray-1":``,py15:``,"text-xs":``,"write-vertical-left":``,op50:``,"dark:bg-true-gray-9":``},ce=n({__name:`TimelineTable`,props:{data:{}},emits:[`select`],setup(e,{emit:n}){let a=e,l=n,p=t(),h=t(),v=t(),y=t(),C=t(!0),w=t(1.5),T=_(()=>ae(a.data.events)),D=_(()=>(a.data.events.length,p.value?.scrollWidth||window.innerWidth));function O(){y.value&&(y.value.style.width=`${D.value}px`)}function k(){C.value&&p.value&&(p.value.scrollTo({left:p.value.scrollWidth-p.value.clientWidth,behavior:`smooth`}),v.value.scrollTo({left:p.value.scrollWidth-p.value.clientWidth,behavior:`smooth`}))}return f(()=>a.data.events.length,async()=>{await r(),O(),k()},{flush:`post`}),E(p,`scroll`,()=>{v.value.scrollLeft!==p.value.scrollLeft&&(O(),v.value.scrollLeft=p.value.scrollLeft,C.value=p.value.scrollLeft>=p.value.scrollWidth-p.value.clientWidth)}),E(v,`scroll`,()=>{v.value.scrollLeft!==p.value.scrollLeft&&(O(),p.value.scrollLeft=v.value.scrollLeft)}),E(p,`wheel`,e=>{e.altKey?(w.value=S(w.value+e.deltaY/200,.5,3),O()):p.value.scrollLeft+=e.deltaY}),(e,t)=>{let n=G,r=ne;return s(),b(d,null,[g(`div`,oe,[g(`div`,{ref_key:`minimap`,ref:h,border:`t b base`,relative:``,"h-50px":``,"ws-nowrap":``,"border-base":``},[(s(!0),b(d,null,c(T.value,(t,n)=>(s(),b(`div`,{key:n,relative:``,"h-full":``,"flex-inline":``,style:m({width:`${Math.max(100,t.duration/10)/D.value*100}%`})},[(s(!0),b(d,null,c(t.functions,(t,n)=>(s(),b(`div`,{key:n,"h-3px":``,rounded:``,style:m({width:`max(${t.relativeWidth*100}%, 10px)`,position:`absolute`,top:`${t.layer*4}px`,left:`${t.relativeStart*100}%`,backgroundColor:(`getHslColorFromStringHash`in e?e.getHslColorFromStringHash:i(U))(t.event.name,50,60)})},null,4))),128)),t.route?(s(),b(`div`,{key:0,absolute:``,"top-0":``,"h-full":``,"w-px":``,"border-l":``,"border-green6":``,op10:``,style:m({left:`${t.route.relativeStart*100}%`})},null,4)):u(``,!0)],4))),128))],512),g(`div`,{ref_key:`minimapScroller`,ref:v,class:`timeline-scroller`,absolute:``,"inset-0":``,"h-full":``,"w-full":``,"of-x-scroll":``},[g(`div`,{ref_key:`minimapScrollerInner`,ref:y,"h-1px":``},null,512)],512)]),g(`div`,{ref_key:`scroller`,ref:p,relative:``,"h-full":``,"w-full":``,"of-x-scroll":``,"of-y-hidden":``,"ws-nowrap":``,"n-panel-grids":``},[(s(!0),b(d,null,c(T.value,(e,i)=>(s(),b(d,{key:i},[e.previousGap&&e.previousGap>=200?(s(),b(`div`,se,[x(n,{op50:``,duration:e.previousGap,color:!1},null,8,[`duration`])])):u(``,!0),x(r,{"flex-inline":``,"of-x-hidden":``,"bg-base":``,"hover:of-x-visible":``,class:o(i===T.value.length-1?`border-r border-base`:``),segment:e,style:m({width:`${Math.max(50,e.duration/10)*w.value}px`}),onSelect:t[0]||=e=>l(`select`,e)},null,8,[`class`,`segment`,`style`])],64))),128))],512)],64)}}}),le=Object.assign(N(ce,[[`__scopeId`,`data-v-da163089`]]),{__name:`TimelineTable`}),ue={border:`t base`,flex:`~ col`,"h-full":``,"of-y-auto":``,"text-sm":``},de=[`onClick`],fe={flex:`~`,"ml--1":``,"font-mono":``},pe={key:0,mr2:``,op30:``},me={op75:``},he={flex:`~ col items-start`},ge={"text-xs":``,"font-mono":``,op30:``},_e={"text-green":``,"font-bold":``,"font-mono":``},ve=n({__name:`TimelineList`,props:{data:{}},emits:[`select`],setup(e,{emit:t}){let n=t;return(t,r)=>{let a=G;return s(),b(`div`,ue,[(s(!0),b(d,null,c(e.data.events,(e,o)=>(s(),b(`button`,{key:o,border:`b base`,px3:``,py2:``,flex:`~ items-center gap-2`,hover:`bg-active`,onClick:t=>n(`select`,e)},[e.type===`function`?(s(),b(d,{key:0},[r[2]||=g(`div`,{"i-carbon-function":``,op50:``},null,-1),g(`div`,{"font-mono":``,style:m({color:e.type===`function`?(`getHslColorFromStringHash`in t?t.getHslColorFromStringHash:i(U))(e.name,50,60):``})},y(e.name),5),g(`div`,fe,[r[0]||=g(`div`,{op30:``},` ( `,-1),(s(!0),b(d,null,c(e.args,(e,t)=>(s(),b(d,{key:t},[t?(s(),b(`div`,pe,` , `)):u(``,!0),g(`div`,me,y(e===null?`null`:e===void 0?`undefined`:typeof e==`function`?`[function]`:Array.isArray(e)?`[Array]`:typeof e==`object`?`[object]`:JSON.stringify(e)),1)],64))),128)),r[1]||=g(`div`,{op30:``},` ) `,-1)])],64)):(s(),b(d,{key:1},[r[3]||=g(`div`,{"mr-1":``,"h-7":``,"w-7":``,flex:``,"rounded-lg":``,"bg-primary:5":``,p1:``,"text-green6":``},[g(`div`,{"i-carbon-direction-rotary-right":``,ma:``,"text-lg":``})],-1),g(`div`,he,[g(`div`,ge,y(e.from),1),g(`div`,_e,y(e.to),1)])],64)),r[4]||=g(`div`,{"flex-auto":``},null,-1),e.end?(s(),h(a,{key:2,duration:e.end-e.start,color:e.type===`function`},null,8,[`duration`,`color`])):u(``,!0)],8,de))),128)),r[5]||=g(`div`,{"min-h-100":``},null,-1)])}}}),ye=Object.assign(ve,{__name:`TimelineList`}),be={key:0,"text-blue":``},xe={key:1,"text-purple":``},Se={key:2,"text-green":``},Ce={key:3,"text-gray":``},we={key:4,"text-gray":``},Te={key:5,"text-gray":``},Ee={key:0,"bg-red:10":``,px2:``,py1:``,"text-red":``},De={key:1},Oe={p2:``,"text-sm":``,border:`t base`},ke=n({__name:`TimelineArgumentView`,props:{value:{}},setup(r){let c=r,d=t(),f=t();function m(){try{d.value=JSON.parse(JSON.stringify(c.value))}catch(e){console.error(e),f.value=e}}let _=n({emits:[`setup`],setup(e,{emit:t}){return t(`setup`),()=>null}}),S=j(),C=I();return(t,n)=>{let c=P,w=l(`VMenu`);return typeof r.value==`string`?(s(),b(`div`,be,y(JSON.stringify(r.value)),1)):typeof r.value==`number`?(s(),b(`div`,xe,y(r.value),1)):typeof r.value==`boolean`?(s(),b(`div`,Se,y(r.value),1)):r.value===void 0?(s(),b(`div`,Ce,` undefined `)):typeof r.value==`function`?(s(),b(`div`,we,` [Function`+y(r.value.name?`: ${r.value.name}`:``)+`] `,1)):r.value===null?(s(),b(`div`,Te,` null `)):(s(),h(w,{key:6,placement:`top`},{popper:p(()=>[x(i(_),{onSetup:m}),f.value?(s(),b(`div`,Ee,` Failed to display object: `+y(f.value),1)):d.value?(s(),b(`div`,De,[x(i(v),a({"model-value":d.value},t.$attrs,{class:[`json-editor-vue`,[i(S)===`dark`?`jse-theme-dark`:``]],"main-menu-bar":!1,"navigation-bar":!1,"status-bar":!1,"read-only":!0,indentation:2,"tab-size":2}),null,16,[`model-value`,`class`]),g(`div`,Oe,[x(c,{title:`Copy to clipboard`,icon:`carbon-copy`,onClick:n[0]||=e=>i(C)(JSON.stringify(d.value,null,2),`timeline-argument`)},{default:p(()=>[...n[1]||=[e(` Copy `,-1)]]),_:1})])])):u(``,!0)]),default:p(()=>[g(`span`,{"rounded-sm":``,px1:``,"py0.5":``,"text-sm":``,class:o([Array.isArray(r.value)?`text-amber bg-amber:10`:`text-orange bg-orange:10`])},y(Array.isArray(r.value)?`[Array(${r.value.length})]`:`[Object]`),3)]),_:1}))}}}),Ae=Object.assign(ke,{__name:`TimelineArgumentView`}),je={key:0,"p-4":``,flex:`~ col gap-2`,"text-base":``},Me={"mx--1":``},Ne={flex:`~ gap-1`,"font-mono":``},Pe={key:1},Fe={key:0,op30:``},Ie={flex:`~ gap-1`,"text-sm":``},Le={class:`text-sm text-gray-400`},Re=n({__name:`TimelineDetailsFunction`,props:{record:{}},setup(e){let t=e,n=D(()=>t.record.start,{showSecond:!0}),r=w(),a=_(()=>r.value?.metadata),o=_(()=>r.value?.imports.find(e=>e.as===t.record.name));return(t,r)=>{let l=V,f=K,p=Ae,m=G,_=W;return e.record?(s(),b(`div`,je,[g(`div`,Me,[x(l,{n:`yellow`,textContent:`Function call`})]),g(`div`,Ne,[o.value?(s(),h(f,{key:0,item:o.value,metadata:a.value,counter:!1,classes:`px2 py1`,"mx--2":``},null,8,[`item`,`metadata`])):(s(),b(`span`,Pe,y(e.record.name),1)),r[0]||=g(`span`,{ml1:``,op30:``},`(`,-1),(s(!0),b(d,null,c(e.record.args,(e,t)=>(s(),b(d,{key:t},[t?(s(),b(`span`,Fe,`, `)):u(``,!0),x(p,{value:e},null,8,[`value`])],64))),128)),r[1]||=g(`span`,{op30:``},`)`,-1)]),g(`div`,Ie,[e.record.end?(s(),h(m,{key:0,duration:e.record.end-e.record.start},null,8,[`duration`])):u(``,!0),r[2]||=g(`span`,{mx1:``,op50:``},`·`,-1),g(`div`,Le,y(i(n)),1)]),e.record.stacktrace?(s(),h(_,{key:0,stacktrace:e.record.stacktrace,class:`text-xs text-gray-400`},null,8,[`stacktrace`])):u(``,!0)])):u(``,!0)}}}),ze=Object.assign(Re,{__name:`TimelineDetailsFunction`}),Be={key:0,"p-4":``,flex:`~ col gap-2`},Ve={"mx--1":``},He={flex:`~ gap-1 items-center`,"font-mono":``},Ue={op50:``},We={flex:`~ gap-1`,"text-sm":``},Ge={class:`text-sm text-gray-400`},Ke=n({__name:`TimelineDetailsRoute`,props:{record:{}},setup(e){let t=e,n=D(()=>t.record.start,{showSecond:!0});return(t,r)=>{let a=V,o=G;return e.record?(s(),b(`div`,Be,[g(`div`,Ve,[x(a,{n:`green`,textContent:`Route Change`})]),g(`div`,He,[g(`span`,Ue,y(e.record.from),1),r[0]||=g(`span`,{"i-carbon-arrow-right":``,op50:``},null,-1),g(`span`,null,y(e.record.to),1)]),g(`div`,We,[e.record.end?(s(),h(o,{key:0,duration:e.record.end-e.record.start},null,8,[`duration`])):u(``,!0),r[1]||=g(`span`,{mx1:``,op50:``},`·`,-1),g(`div`,Ge,y(i(n)),1)])])):u(``,!0)}}}),qe=Object.assign(Ke,{__name:`TimelineDetailsRoute`}),Je={key:0,"h-screen":``,"of-hidden":``},$={"h-screen":``,"w-full":``,flex:``,"flex-col":``},Ye={"h-10":``,flex:`~ gap-2 items-center justify-end`,p2:``,px3:``},Xe={"text-sm":``},Ze={"min-h-50":``,px3:``,py2:``},Qe=n({__name:`TimelineView`,setup(n){let r=A(),i=t(`table`),a=t(),c=_(()=>r.value?.metrics.clientTimeline());function d(){c.value&&(c.value.events=[])}function f(){i.value=i.value===`table`?`list`:`table`}return(t,n)=>{let r=l(`VTooltip`),m=P,_=le,v=ye,S=ze,C=qe,w=L;return c.value?(s(),b(`div`,Je,[g(`div`,$,[g(`div`,Ye,[x(r,{flex:``},{popper:p(()=>[g(`div`,Xe,y(c.value.options.enabled?`Recording...`:`Paused`),1)]),default:p(()=>[g(`div`,{"text-lg":``,class:o(c.value.options.enabled?`i-carbon-radio-button-checked text-primary animate-pulse`:`i-carbon-pause-outline op30`)},null,2)]),_:1}),c.value.options.enabled?(s(),h(m,{key:1,size:`small`,ml1:``,"text-sm":``,n:`orange`,icon:`i-carbon-stop`,onClick:n[1]||=e=>c.value.options.enabled=!1},{default:p(()=>[...n[6]||=[e(` Stop Tracking `,-1)]]),_:1})):(s(),h(m,{key:0,size:`small`,ml1:``,"text-sm":``,n:`primary`,icon:`i-carbon-play`,onClick:n[0]||=e=>c.value.options.enabled=!0},{default:p(()=>[...n[5]||=[e(` Start Tracking `,-1)]]),_:1})),n[7]||=g(`div`,{"flex-auto":``},null,-1),x(m,{icon:i.value===`table`?`i-carbon-roadmap`:`i-carbon-list`,class:`ml-2`,title:`Toggle View`,border:!1,onClick:f},null,8,[`icon`]),x(m,{icon:`i-carbon-trash-can`,"hover-text-red":``,class:`ml-2`,border:!1,onClick:d})]),i.value===`table`?(s(),h(_,{key:0,data:{...c.value},onSelect:n[2]||=e=>a.value=e.event},null,8,[`data`])):(s(),h(v,{key:1,data:{...c.value},onSelect:n[3]||=e=>a.value=e},null,8,[`data`]))]),x(w,{"model-value":!!a.value,"auto-close":``,transition:`bottom`,left:`#nuxt-devtools-side-nav`,onClose:n[4]||=e=>a.value=void 0},{default:p(()=>[g(`div`,Ze,[a.value?.type===`function`?(s(),h(S,{key:0,record:a.value},null,8,[`record`])):a.value?.type===`route`?(s(),h(C,{key:1,record:a.value},null,8,[`record`])):u(``,!0)])]),_:1},8,[`model-value`])])):u(``,!0)}}}),$e=Object.assign(Qe,{__name:`TimelineView`}),et={},tt={class:`markdown-body`};function nt(t,n){return s(),b(`div`,tt,[...n[0]||=[g(`template`,null,[g(`div`,{class:`markdown-body`},[g(`h1`,null,`Timeline`),g(`blockquote`,{"text-orange":``,"bg-orange:10":``,py1:``},` This is an experimental feature `),g(`p`,null,`Timeline tracks your route navigations and functions calls in your Nuxt application. It can be used to debug performance issues and to understand how your application works.`),g(`h2`,null,`Function calls`),g(`p`,null,[e(`Nuxt DevTools tracks function calls by wrapping them in the build time. It works for functions referenced by auto-imports, or explicit imports through `),g(`code`,{"v-pre":``},`import {} from '#imports'`),e(`.`)]),g(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"background-color":`#ffffff`,"--shiki-dark-bg":`#121212`,color:`#393a34`,"--shiki-dark":`#dbd7caee`},tabindex:`0`},[g(`code`,{"v-pre":``},[g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`<`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`script`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` setup`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`>`)]),e(`
2
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useRoute`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`#app/composables/router`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
3
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useNuxtApp`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`#imports`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
4
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`import`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` useMouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` from`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`@vueuse/core`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
5
+ `),g(`span`,{class:`line`}),e(`
6
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` route`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useRoute`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`),g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // tracked`)]),e(`
7
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` app`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useNuxtApp`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`),g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // tracked`)]),e(`
8
+ `),g(`span`,{class:`line`}),e(`
9
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},`// NOT tracked because it's directly imported`)]),e(`
10
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},`const`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` mouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` useMouse`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`()`)]),e(`
11
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`</`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`script`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`>`)]),e(`
12
+ `),g(`span`,{class:`line`})])]),g(`p`,null,[e(`By default, it tracks Nuxt provided composables as well as user defined functions. You can include/exclude functions by using the `),g(`code`,{"v-pre":``},`include`),e(` and `),g(`code`,{"v-pre":``},`exclude`),e(` options in the `),g(`code`,{"v-pre":``},`nuxt.config.js`),e(` file.`)]),g(`pre`,{class:`shiki shiki-themes vitesse-light vitesse-dark`,style:{"background-color":`#ffffff`,"--shiki-dark-bg":`#121212`,color:`#393a34`,"--shiki-dark":`#dbd7caee`},tabindex:`0`},[g(`code`,{"v-pre":``},[g(`span`,{class:`line`},[g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`export`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},` default`),g(`span`,{style:{color:`#59873A`,"--shiki-dark":`#80A665`}},` defineNuxtConfig`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`({`)]),e(`
13
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` devtools`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
14
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` timeline`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
15
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` functions`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` {`)]),e(`
16
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` include`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` [`)]),e(`
17
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}}," // track `useMouse`")]),e(`
18
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`useMouse`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
19
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}}," // track all functions starting with `use`")]),e(`
20
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` /`),g(`span`,{style:{color:`#1E754F`,"--shiki-dark":`#4D9375`}},`^`),g(`span`,{style:{color:`#AB5E3F`,"--shiki-dark":`#C4704F`}},`use`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`[`),g(`span`,{style:{color:`#A65E2B`,"--shiki-dark":`#C99076`}},`A-Z`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`]`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`/`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
21
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#A0ADA0`,"--shiki-dark":`#758575DD`}},` // track all functions from @vueuse/core`)]),e(`
22
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` entry`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` =>`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},` entry`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`.`),g(`span`,{style:{color:`#B07D48`,"--shiki-dark":`#BD976A`}},`from`),g(`span`,{style:{color:`#AB5959`,"--shiki-dark":`#CB7676`}},` ===`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`@vueuse/core`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`,`)]),e(`
23
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` ],`)]),e(`
24
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#998418`,"--shiki-dark":`#B8A965`}},` exclude`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`:`),g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` [`)]),e(`
25
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},` '`),g(`span`,{style:{color:`#B56959`,"--shiki-dark":`#C98A7D`}},`useRouter`),g(`span`,{style:{color:`#B5695977`,"--shiki-dark":`#C98A7D77`}},`'`)]),e(`
26
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` ]`)]),e(`
27
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
28
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
29
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},` }`)]),e(`
30
+ `),g(`span`,{class:`line`},[g(`span`,{style:{color:`#999999`,"--shiki-dark":`#666666`}},`})`)]),e(`
31
+ `),g(`span`,{class:`line`})])])])],-1)]])}var rt=N(et,[[`render`,nt]]),it={flex:`~ col gap-2`,"w-150":``,p4:``,border:`t base`},at={op50:``},ot={flex:`~ gap-3`,mt2:``,"justify-end":``},st=n({__name:`timeline`,setup(t){R({icon:`i-carbon-roadmap`,title:`Timeline`,category:`analyze`});let n=C(),r=T(),a=O(),o=te();async function c(){try{let[e,t]=await k.enableTimeline(!0);if(!await a.start(e,t))return;await k.enableTimeline(!1)}catch{M({message:`Failed to enable timeline automatically. Check the terminal for more details.`,icon:`i-carbon-warning`,classes:`text-red`})}}return(t,l)=>{let u=$e,f=H,m=ee,_=z,v=q,y=P,S=F,C=rt,w=B;return s(),b(d,null,[i(n)?.timeline?.enabled?(s(),h(u,{key:0})):(s(),b(d,{key:1},[x(m,null,{default:p(()=>[x(f,{icon:`i-carbon-roadmap`,name:`feature-timeline`,title:`Timeline`,description:`Timeline enables the inspection of when composable being executed and the route changes.`,actions:[{label:`Enable`}],onAction:c})]),_:1}),x(i(a),null,{default:p(({resolve:t,args:n})=>[x(S,{"model-value":!0,onClose:e=>t(!1)},{default:p(()=>[g(`div`,it,[l[5]||=g(`h2`,{"text-xl":``},[g(`span`,{capitalize:``},`Enable Timeline?`)],-1),g(`p`,at,[l[1]||=e(` Your `,-1),x(_,{role:`button`,n:`primary`,underline:``,onClick:l[0]||=e=>i(o)(i(r)?._nuxtConfigFile),textContent:`Nuxt config`}),l[2]||=e(` will be updated as: `,-1)]),x(v,{from:n[0],to:n[1],"max-h-80":``,"of-auto":``,py2:``,border:`~ base rounded`,lang:`ts`},null,8,[`from`,`to`]),l[6]||=g(`p`,null,[g(`span`,{op50:``},`Then Nuxt will `),g(`span`,{"text-orange":``},`restart automatically`),e(`. `)],-1),g(`div`,ot,[x(y,{onClick:e=>t(!1)},{default:p(()=>[...l[3]||=[e(` Cancel `,-1)]]),_:1},8,[`onClick`]),x(y,{n:`solid primary`,capitalize:``,onClick:e=>t(!0)},{default:p(()=>[...l[4]||=[e(` Enable `,-1)]]),_:1},8,[`onClick`])])])]),_:2},1032,[`onClose`])]),_:1})],64)),x(w,null,{default:p(()=>[x(C)]),_:1})],64)}}});export{st as default};
@@ -0,0 +1 @@
1
+ import"./vendor/json-editor-vue-eojr4v24.js";import{n as e,t}from"./vendor/unocss-k727ub0h.js";t({defaults:{presets:[e({prefix:[`i-`,``],collections:{},cdn:`https://esm.sh/`,scale:1.2,extraProperties:{display:`inline-block`,"vertical-align":`middle`}})]},bypassDefined:!0});
@@ -0,0 +1 @@
1
+ import{A as e,At as t,Ct as n,D as r,E as i,Et as a,F as o,H as s,J as c,K as l,L as u,M as d,Mt as f,Ot as p,V as m,Wt as h,bt as g,ct as _,gt as v,jt as y,m as b,p as x,v as S,vt as C,xt as w}from"./vendor/json-editor-vue-eojr4v24.js";import{c as T}from"./ready-dadbdj5i.js";import{c as ee,i as E,l as D}from"./nuxt-otp6bp04.js";import{j as te,l as O,m as ne,o as re,r as ie}from"./client-nwyjxodt.js";var ae={trailing:!0};function k(e,t=25,n={}){if(n={...ae,...n},!Number.isFinite(t))throw TypeError("Expected `wait` to be a finite number");let r,i,a=[],o,s,c=(t,r)=>(o=oe(e,t,r),o.finally(()=>{if(o=null,n.trailing&&s&&!i){let e=c(t,s);return s=null,e}}),o),l=function(...e){return n.trailing&&(s=e),o||new Promise(o=>{let l=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;let t=n.leading?r:c(this,e);s=null;for(let e of a)e(t);a=[]},t),l?(r=c(this,e),o(r)):a.push(o)})},u=e=>{e&&(clearTimeout(e),i=null)};return l.isPending=()=>!!i,l.cancel=()=>{u(i),a=[],s=null},l.flush=()=>{if(u(i),!s||o)return;let e=s;return s=null,c(this,e)},l}async function oe(e,t,n){return await e.apply(t,n)}function A(e){return typeof e==`string`?`'${e}'`:new se().serialize(e)}var se=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}();function ce(e,t){return e===t||A(e)===A(t)}var le=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ue=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],de=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,j=[],fe=class{_data=new M;_hash=new M([...le]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)j[n]=e[t+n]|0;else{let e=j[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=j[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;j[n]=t+j[n-7]+i+j[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+ue[n]+j[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=M.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new M(t,i)}},M=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(de.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function pe(e){return new fe().finalize(e).toBase64()}function N(e){return pe(A(e))}i({name:`ServerPlaceholder`,render(){return S(`div`)}});var P=Symbol.for(`nuxt:client-only`),me=i({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(t,{slots:n,attrs:i}){let o=a(!1);m(()=>{o.value=!0});let s=r();return s&&(s._nuxtClientOnly=!0),l(P,!0),()=>{if(o.value){let e=n.default?.();return e&&e.length===1?[x(e[0],i)]:e}let r=n.fallback||n.placeholder;if(r)return e(r);let a=t.fallback||t.placeholder||``;return S(t.fallbackTag||t.placeholderTag||`span`,i,a)}}});function F(e){return Object.defineProperty(function(){throw Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},`__nuxt_factory`,{enumerable:!1,get:()=>e.factory})}var I=F({name:`createUseAsyncData`,factory(e={}){function n(...n){let i=typeof n[n.length-1]==`string`?n.pop():void 0;he(n[0],n[1])&&n.unshift(i);let[a,o,l={}]=n,f=!1,p=b(()=>t(a));if(typeof p.value!=`string`)throw TypeError(`[nuxt] [useAsyncData] key must be a string.`);if(typeof o!=`function`)throw TypeError(`[nuxt] [useAsyncData] handler must be a function.`);let m=typeof e==`function`,h=E(),y=m?e(l):e;if(!m)for(let e in y)y[e]!==void 0&&l[e]===void 0&&(l[e]=y[e]);if(l.server??=!0,l.default??=_e,l.getCachedData??=V,l.lazy??=!1,l.immediate??=!0,l.deep??=ee.deep,l.dedupe??=`cancel`,m)for(let e in y)y[e]!==void 0&&(l[e]=y[e]);h._asyncData[p.value];function x(){let e={cause:`initial`,dedupe:l.dedupe};return h._asyncData[p.value]?._init||(e.cachedData=l.getCachedData(p.value,h,{cause:`initial`}),h._asyncData[p.value]=B(h,p.value,o,l,e.cachedData)),()=>h._asyncData[p.value].execute(e)}let S=x(),C=h._asyncData[p.value];C._deps++;let w=l.server!==!1&&h.payload.serverRendered;{let e=function(e){let t=h._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())},t=r();if(t&&w&&l.immediate&&!t.sp&&(t.sp=[]),t&&!t._nuxtOnBeforeMountCbs){t._nuxtOnBeforeMountCbs=[];let e=t._nuxtOnBeforeMountCbs;u(()=>{e.forEach(e=>{e()}),e.splice(0,e.length)}),s(()=>e.splice(0,e.length))}let n=t&&(t._nuxtClientOnly||d(P,!1));w&&h.isHydrating&&(C.error.value||C.data.value!==void 0)?C.status.value=C.error.value?`error`:`success`:t&&(!n&&h.payload.serverRendered&&h.isHydrating||l.lazy)&&l.immediate?t._nuxtOnBeforeMountCbs.push(S):l.immediate&&C.status.value!==`success`&&S();let i=v(),a=_(p,(t,n)=>{if((t||n)&&t!==n){f=!0;let r=h._asyncData[n]?.data.value!==void 0,i=h._asyncDataPromises[n]!==void 0,a={cause:`initial`,dedupe:l.dedupe};if(!h._asyncData[t]?._init){let e;n&&r?e=h._asyncData[n].data.value:(e=l.getCachedData(t,h,{cause:`initial`}),a.cachedData=e),h._asyncData[t]=B(h,t,o,l,e)}h._asyncData[t]._deps++,n&&e(n),(l.immediate||r||i)&&h._asyncData[t].execute(a),c(()=>{f=!1})}},{flush:`sync`}),m=l.watch?_(l.watch,()=>{f||(h._asyncData[p.value]?._execute.isPending()&&c(()=>{h._asyncData[p.value]?._execute.flush()}),h._asyncData[p.value]?._execute({cause:`watch`,dedupe:l.dedupe}))}):()=>{};i&&g(()=>{a(),m(),e(p.value)})}let T={data:R(()=>h._asyncData[p.value]?.data),pending:R(()=>h._asyncData[p.value]?.pending),status:R(()=>h._asyncData[p.value]?.status),error:R(()=>h._asyncData[p.value]?.error),refresh:(...e)=>h._asyncData[p.value]?._init?h._asyncData[p.value].execute(...e):x()(),execute:(...e)=>T.refresh(...e),clear:()=>{let e=h._asyncData[p.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}z(h,p.value)}},D=Promise.resolve(h._asyncDataPromises[p.value]).then(()=>T);return Object.assign(D,T),Object.defineProperties(D,{then:{enumerable:!0,value:D.then.bind(D)},catch:{enumerable:!0,value:D.catch.bind(D)},finally:{enumerable:!0,value:D.finally.bind(D)}}),D}return n}}),L=I.__nuxt_factory();I.__nuxt_factory({lazy:!0,_functionName:`useLazyAsyncData`});function R(e){return b({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}})}function he(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function z(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=f(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function ge(e,t){let n={};for(let r of t)n[r]=e[r];return n}function B(e,t,r,i,s){e.payload._errors[t]??=void 0;let c=i.getCachedData!==V,l=r,u=i.deep?n:a,d=s!==void 0,m=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await h.execute({cause:`refresh:hook`})}),h={data:u(d?s:i.default()),pending:b(()=>h.status.value===`pending`),error:p(e.payload._errors,t),status:a(`idle`),execute:(...n)=>{let[r,a=void 0]=n,o=r&&a===void 0&&typeof r==`object`?r:{};if(e._asyncDataPromises[t]&&(o.dedupe??i.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in o?o.cachedData:i.getCachedData(t,e,{cause:o.cause??`refresh:manual`});if(n!==void 0)return e.payload.data[t]=h.data.value=n,h.error.value=void 0,h.status.value=`success`,Promise.resolve(n)}h._abortController&&h._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),h._abortController=new AbortController,h.status.value=`pending`;let s=new AbortController,c=new Promise((t,n)=>{try{let r=o.timeout??i.timeout,a=ve([h._abortController?.signal,o?.signal],s.signal,r);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}return a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:s.signal}),Promise.resolve(l(e,{signal:a})).then(t,n)}catch(e){n(e)}}).then(async n=>{let r=n;i.transform&&(r=await i.transform(n)),i.pick&&(r=ge(r,i.pick)),e.payload.data[t]=r,h.data.value=r,h.error.value=void 0,h.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==c||h._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return h.status.value=`idle`,e._asyncDataPromises[t];h.error.value=T(n),h.data.value=f(i.default()),h.status.value=`error`}).finally(()=>{s.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=c,e._asyncDataPromises[t]},_execute:k((...e)=>h.execute(...e),0,{leading:!0}),_default:i.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{m(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),c||o(()=>{e._asyncData[t]?._init||(z(e,t),h.execute=()=>Promise.resolve())})}};return h}var _e=()=>void 0,V=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function ve(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var ye=/^[A-Za-z]:\//;function be(e=``){return e&&e.replace(/\\/g,`/`).replace(ye,e=>e.toUpperCase())}var xe=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,H=/^\/([A-Za-z]:)?$/;function Se(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}var U=function(...e){e=e.map(e=>be(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:Se();!i||i.length===0||(t=`${i}/${t}`,n=W(i))}return t=Ce(t,!n),n&&!W(t)?`/${t}`:t.length>0?t:`.`};function Ce(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(!(i===s-1||a===1))if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}else if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var W=function(e){return xe.test(e)},we=function(e,t){let n=U(e).replace(H,`$1`).split(`/`),r=U(t).replace(H,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)};function Te(e){let n=[t(e.method)?.toUpperCase()||`GET`,t(e.baseURL)];for(let r of[e.query||e.params]){let e=t(r);if(!e)continue;let i={};for(let[n,r]of Object.entries(e))i[t(n)]=t(r);n.push(i)}if(e.body){let r=t(e.body);if(!r)n.push(N(r));else if(r instanceof ArrayBuffer)n.push(N(Object.fromEntries([...new Uint8Array(r).entries()].map(([e,t])=>[e,t.toString()]))));else if(r instanceof FormData){let e={};for(let t of r.entries()){let[n,r]=t;e[n]=r instanceof File?r.name:r}n.push(N(e))}else if(h(r))n.push(N(w(r)));else try{n.push(N(r))}catch{console.warn(`[useFetch] Failed to hash body`,r)}}return n}var G=F({name:`createUseFetch`,factory(e={}){function n(n,r,i){let[a={},o]=typeof r==`string`?[{},r]:[r,i],s=b(()=>t(n)),c=b(()=>t(a.key)||`$f`+N([o,typeof s.value==`string`?s.value:``,...Te(a)]));if(!a.baseURL&&typeof s.value==`string`&&s.value[0]===`/`&&s.value[1]===`/`)throw Error(`[nuxt] [useFetch] the request URL must not start with "//".`);let l=typeof e==`function`?e(a):e,{server:u,lazy:d,default:f,transform:p,pick:m,watch:h,immediate:g,getCachedData:_,deep:v,dedupe:y,timeout:x,...S}={...typeof e==`function`?{}:l,...a,...typeof e==`function`?l:{}},C=w({...D,...S,cache:typeof S.cache==`boolean`?void 0:S.cache}),T={server:u,lazy:d,default:f,transform:p,pick:m,immediate:g,getCachedData:_,deep:v,dedupe:y,timeout:x,watch:h===!1?[]:[...h||[],C]};return L(h===!1?c.value:c,(e,{signal:t})=>(a.$fetch||globalThis.$fetch)(s.value,{signal:t,...C}),T)}return n}}),Ee=G.__nuxt_factory();G.__nuxt_factory({lazy:!0,_functionName:`useLazyFetch`});function De(e,t,n){return Math.min(n,Math.max(t,e))}var Oe=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function ke(e=16,t=Oe){let n=``,r=e,i=t.length;for(;r--;)n+=t[Math.random()*i|0];return n}function K(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(!n||e[r]!==void 0)&&(t[r]=e[r]),t),{})}function q(){return $(`getServerPages`,()=>O.getServerPages())}function Ae(){return $(`getServerRoutes`,()=>O.getServerRoutes())}function je(){return $(`getServerTasks`,()=>O.getServerTasks())}function Me(){return $(`getServerHooks`,()=>O.getServerHooks())}function Ne(){return $(`getServerLayouts`,()=>O.getServerLayouts())}function Pe(){return $(`getAutoImports`,()=>O.getAutoImports())}function Fe(){return $(`getStaticAssets`,()=>O.getStaticAssets())}function J(){return $(`getServerConfig`,()=>O.getServerConfig())}function Ie(){return $(`getServerDebugContext`,()=>O.getServerDebugContext())}function Le(){return $(`getServerRuntimeConfig`,()=>O.getServerRuntimeConfig())}function Re(){return $(`getModuleOptions`,()=>O.getModuleOptions())}function ze(){return $(`getServerApp`,()=>O.getServerApp())}function Be(){return $(`getCustomTabs`,()=>O.getCustomTabs())}function Ve(){return $(`getTerminals`,()=>O.getTerminals())}function He(){return $(`getAnalyzeBuildInfo`,()=>O.getAnalyzeBuildInfo())}function Ue(){let{data:e}=Ee(`/_vfs.json`,{key:`vfs-list`,baseURL:`/`,responseType:`json`},`$2gLbxsrny1`);return e}function We(){let e=q(),t=re();return b(()=>(t.value?.getRoutes()||[]).map(e=>K(e,[`path`,`name`,`meta`,`props`,`children`])).map(t=>({...e.value?.find(e=>e.name&&e.name===t.name),...t})))}var Ge=/[/\\]node_modules[/\\]/,Ke=/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/,Y=/\\/g,X=/.*\/node_modules\/(.*)$/;function qe(e){return!!e.match(Ge)||Z(e)}function Z(e){return e[0]===`#`||!!e.match(Ke)}function Q(e){if(Z(e))return e;let t=e.replace(Y,`/`).match(X)?.[1];if(t)return t.startsWith(`@`)?t.split(`/`).slice(0,2).join(`/`):t.split(`/`)[0]}function Je(e){let t=e.match(X)?.[1];if(t)return t}function Ye(e){if(e)return[`nuxt`,`#app`,`#head`,`vue`].includes(e)}function Xe(e,t){if(e=e.replace(Y,`/`),Z(e))return{moduleName:e,path:e};let n=Q(e),r=Je(e);if(n&&r)return{moduleName:n,path:r};try{let n=we(t,e);return!n.startsWith(`./`)&&!n.startsWith(`../`)&&(n=`./${n}`),n.startsWith(`./.nuxt/`)&&(n=`#build${n.slice(7)}`),{path:n}}catch{return{path:e}}}function $(e,t,n){let r=E(),i=r.payload.unique=r.payload.unique||{};return i[e]||(i[e]=L(e,t,n)),i[e].data}function Ze(){return typeof navigator<`u`&&navigator.platform.toLowerCase().includes(`mac`)}var Qe={get:`n-green`,post:`n-blue`,put:`n-orange`,delete:`n-red`,patch:`n-purple`,head:`n-teal`,default:`n-gray`};function $e(e){return Qe[e.toLowerCase()]||Qe.default}function et(e,t){let n={};for(let[r,i]of Object.entries(t))for(let t of i){let i=e.find(e=>e.tag===t.tag&&(t.name?e.name===t.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function tt(e){return e=Number(e),Number.isNaN(e)||e<0?`-`:e<1?`<1ms`:e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function nt(e,t){return ne(e,()=>te(e,t,{listenToStorageChanges:!1}))}function rt(e,t){return{component:e,dependencies:t?.find(t=>t.id===e.filePath)?.deps?.map(e=>t?.find(t=>t.id===e)?.id).filter(Boolean),dependents:t?.filter(t=>t.deps.includes(e.filePath)).map(e=>e.id)}}function it(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function at(){let e=ie(),t=E();t.hooks.callHookParallel(`app:data:refresh`,Object.keys(t.payload.data)),y(e),e.value.revision.value+=1}function ot(){location.reload()}function st(e){let t=[];return JSON.stringify(e,(e,n)=>{if(typeof n==`function`)return n.toString();if(C(n)&&(n=n.value),typeof n==`object`&&n){if(e===`devServer`)return;let r=t.indexOf(n);if(r>=0)return`<Circular #${r}>`;t.push(n)}return n})}function ct(){return J().value?.future.compatibilityVersion}export{je as A,ce as B,ze as C,q as D,Me as E,K as F,ke as I,L,Ve as M,Ue as N,Ae as O,De as P,me as R,Re as S,Ie as T,k as V,He as _,$e as a,Ne as b,qe as c,it as d,at as f,nt as g,ct as h,Q as i,Fe as j,Le as k,st as l,$ as m,rt as n,et as o,ot as p,Ze as r,Ye as s,tt as t,Xe as u,Pe as v,J as w,We as x,Be as y,N as z};