@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.
- package/dist/chunks/module-main.mjs +2 -2
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/__blank-cpzbm3dn.js +1 -0
- package/dist/client/_nuxt/analyze-build-isc8qyt9.js +1 -0
- package/dist/client/_nuxt/{assets-fjp0hrmh.js → assets-k3ya1y6b.js} +2 -2
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/c954ff6d-891d-44ef-873b-bed085186c32.json +1 -0
- package/dist/client/_nuxt/{client-lh91kcpv.js → client-im47u3kz.js} +1 -1
- package/dist/client/_nuxt/client-nwyjxodt.js +2 -0
- package/dist/client/_nuxt/{code-diff-cb7twqkt.js → code-diff-hjtd937u.js} +1 -1
- package/dist/client/_nuxt/{code-snippets-ho13b87l.js → code-snippets-cptms1t1.js} +1 -1
- package/dist/client/_nuxt/components-h8jl0r8x.js +1 -0
- package/dist/client/_nuxt/composable-item-m56sdpbk.js +1 -0
- package/dist/client/_nuxt/composables-b2ccklz4.js +1 -0
- package/dist/client/_nuxt/constants-mq2c9hze.js +1 -0
- package/dist/client/_nuxt/custom-_name_-oczf7kge.js +1 -0
- package/dist/client/_nuxt/d479ufk9.js +4 -0
- package/dist/client/_nuxt/{data-schema-button-ke4komn6.js → data-schema-button-n0xmsouw.js} +1 -1
- package/dist/client/_nuxt/data-schema-drawer-le08obah.js +2 -0
- package/dist/client/_nuxt/debug-hbdh85ek.js +1 -0
- package/dist/client/_nuxt/{default-bunv5fnq.js → default-jvhm51ri.js} +1 -1
- package/dist/client/_nuxt/dev-auth-he0eye7r.js +1 -0
- package/dist/client/_nuxt/{duration-display-20xlusue.js → duration-display-h5sffkps.js} +1 -1
- package/dist/client/_nuxt/{entry.css-ckq2wff8.css → entry.css-hn1q325i.css} +1 -1
- package/dist/client/_nuxt/error-404-mzw240fb.js +1 -0
- package/dist/client/_nuxt/error-404.css-b4qk08da.css +1 -0
- package/dist/client/_nuxt/error-500-l89qfgc9.js +1 -0
- package/dist/client/_nuxt/error-500.css-awwhwbzo.css +1 -0
- package/dist/client/_nuxt/{error-isnb18yz.js → error-owd7hxtu.js} +1 -1
- package/dist/client/_nuxt/{filepath-item-fnp9jxof.js → filepath-item-h3i1tz3s.js} +1 -1
- package/dist/client/_nuxt/full-et0weok9.js +1 -0
- package/dist/client/_nuxt/{help-fab-oc1qudll.js → help-fab-oeo4c53s.js} +1 -1
- package/dist/client/_nuxt/hooks-lapcgs2a.js +1 -0
- package/dist/client/_nuxt/imports-lb64tt5j.js +1 -0
- package/dist/client/_nuxt/{launch-page-kf0w74wk.js → launch-page-h3hu9uqw.js} +1 -1
- package/dist/client/_nuxt/mitt.es-ey5n86su.js +1 -0
- package/dist/client/_nuxt/modules-isjfof47.js +1 -0
- package/dist/client/_nuxt/nbadge-f1bvtlf5.js +1 -0
- package/dist/client/_nuxt/{nbutton-oi1rfqiz.js → nbutton-gygn07c2.js} +1 -1
- package/dist/client/_nuxt/ncard-ludmyw2u.js +1 -0
- package/dist/client/_nuxt/{ncheckbox-k9nxqa1w.js → ncheckbox-ep01n5y1.js} +1 -1
- package/dist/client/_nuxt/{ncode-block-coc4sua0.js → ncode-block-figzf35k.js} +1 -1
- package/dist/client/_nuxt/{ndrawer-ijwn9421.js → ndrawer-hos2o4rf.js} +1 -1
- package/dist/client/_nuxt/{ndropdown-moy416uy.js → ndropdown-knvt4ccq.js} +1 -1
- package/dist/client/_nuxt/{nicon-m5br9nvg.js → nicon-m1crov2l.js} +1 -1
- package/dist/client/_nuxt/{nicon-title-e35pdr21.js → nicon-title-kbrt9te7.js} +1 -1
- package/dist/client/_nuxt/{nlink-dmk2d6qc.js → nlink-od4lllbl.js} +1 -1
- package/dist/client/_nuxt/{nmarkdown-nct1w6kn.js → nmarkdown-ciogo2e3.js} +1 -1
- package/dist/client/_nuxt/{nnavbar-n3j7iul1.js → nnavbar-n7gfocyu.js} +1 -1
- package/dist/client/_nuxt/none-bdxkqeml.js +1 -0
- package/dist/client/_nuxt/npanel-grids-onrho735.js +1 -0
- package/dist/client/_nuxt/{nsection-block-l0c6dpg8.js → nsection-block-ibsk9arc.js} +1 -1
- package/dist/client/_nuxt/{nselect-kgjpj17v.js → nselect-gyaplrph.js} +1 -1
- package/dist/client/_nuxt/{nselect-tabs-if6er1us.js → nselect-tabs-fslk8qg5.js} +1 -1
- package/dist/client/_nuxt/{nswitch-b36trghq.js → nswitch-ke379yjx.js} +1 -1
- package/dist/client/_nuxt/{ntext-input-ngomk0u2.js → ntext-input-e8iut2en.js} +1 -1
- package/dist/client/_nuxt/nuxt-link-bumooa9d.js +1 -0
- package/dist/client/_nuxt/nuxt-otp6bp04.js +1 -0
- package/dist/client/_nuxt/{open-graph-m7wd1sxi.js → open-graph-iihpwnih.js} +2 -2
- package/dist/client/_nuxt/overview-hir7dg5h.js +1 -0
- package/dist/client/_nuxt/pages-etzxihfh.js +1 -0
- package/dist/client/_nuxt/pages-okkqwdpu.js +1 -0
- package/dist/client/_nuxt/payload-hmxfri1t.js +1 -0
- package/dist/client/_nuxt/pinia-bfcvuvfi.js +1 -0
- package/dist/client/_nuxt/plugins-ehtddhxd.js +1 -0
- package/dist/client/_nuxt/ready-dadbdj5i.js +1 -0
- package/dist/client/_nuxt/render-tree-ke02si46.js +1 -0
- package/dist/client/_nuxt/runtime-configs-ft5vi88d.js +1 -0
- package/dist/client/_nuxt/server-discovery-k9u6ss6f.js +1 -0
- package/dist/client/_nuxt/{server-route-inputs-lqwnul2k.js → server-route-inputs-fhqv0c7q.js} +1 -1
- package/dist/client/_nuxt/server-routes-dy0m6wq4.js +7 -0
- package/dist/client/_nuxt/server-tasks-naz2m1n0.js +1 -0
- package/dist/client/_nuxt/settings-io1tvmdq.js +1 -0
- package/dist/client/_nuxt/{splitpanes.es-ceqv8417.js → splitpanes.es-gcsn48te.js} +1 -1
- package/dist/client/_nuxt/{stacktrace-list-m1sv2uvd.js → stacktrace-list-ir6dwfsw.js} +1 -1
- package/dist/client/_nuxt/state-components-ii0yssci.js +1 -0
- package/dist/client/_nuxt/{state-editor-epijodsw.js → state-editor-m7poh4fc.js} +1 -1
- package/dist/client/_nuxt/{state-modules-ehax0fup.js → state-modules-m990wfjb.js} +1 -1
- package/dist/client/_nuxt/{state-routes-m6gv5n9v.js → state-routes-jownks2o.js} +1 -1
- package/dist/client/_nuxt/{state-tabs-mo8r9nzk.js → state-tabs-mtxv3h6t.js} +1 -1
- package/dist/client/_nuxt/storage-nebfhfwp.js +1 -0
- package/dist/client/_nuxt/storage-options-nzog3hhp.js +1 -0
- package/dist/client/_nuxt/telemetry-c77tnag3.js +1 -0
- package/dist/client/_nuxt/terminals-j3f24tml.js +1 -0
- package/dist/client/_nuxt/timeline-cg7nhorz.js +31 -0
- package/dist/client/_nuxt/unocss-runtime-g9wlule9.js +1 -0
- package/dist/client/_nuxt/utils-jupbrzo6.js +1 -0
- package/dist/client/_nuxt/vendor/{json-editor-vue-hkofgjf7.js → json-editor-vue-eojr4v24.js} +3 -3
- package/dist/client/_nuxt/vendor/{markdown-it-bcxn77q6.js → markdown-it-ckeo8pwp.js} +1 -1
- package/dist/client/_nuxt/vendor/{shiki-niqic03h.js → shiki-lqo1hg2n.js} +3 -3
- package/dist/client/_nuxt/vendor/{unocss-bj3ln324.js → unocss-k727ub0h.js} +1 -1
- package/dist/client/_nuxt/virtual-files-bkiu19oo.js +1 -0
- package/dist/client/_nuxt/vue-devtools-fdei7bct.js +4 -0
- package/dist/client/_nuxt/{vue-router-dxks01bs.js → vue-router-jbnxw7nb.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/shared/devtools.CT6XRG-F.mjs +122 -0
- package/dist/webcomponents/index.mjs +28 -26
- package/package.json +21 -21
- package/dist/client/_nuxt/__blank-gayjf0ih.js +0 -1
- package/dist/client/_nuxt/analyze-build-bnq2cil8.js +0 -1
- package/dist/client/_nuxt/builds/meta/f343c68e-9061-4942-a0df-50170dc001bd.json +0 -1
- package/dist/client/_nuxt/client-s5g5n0ac.js +0 -2
- package/dist/client/_nuxt/components-peth8amc.js +0 -1
- package/dist/client/_nuxt/composable-item-b09pj4ca.js +0 -1
- package/dist/client/_nuxt/composables-cwesk2q8.js +0 -1
- package/dist/client/_nuxt/constants-lof1c7kz.js +0 -1
- package/dist/client/_nuxt/custom-_name_-lfwzilnd.js +0 -1
- package/dist/client/_nuxt/data-schema-drawer-dqe6w00i.js +0 -2
- package/dist/client/_nuxt/debug-itzra6gt.js +0 -1
- package/dist/client/_nuxt/dev-auth-j4vxv6a1.js +0 -1
- package/dist/client/_nuxt/error-404-c73bftho.js +0 -1
- package/dist/client/_nuxt/error-404.css-pazrj6fo.css +0 -1
- package/dist/client/_nuxt/error-500-75llnfh8.js +0 -1
- package/dist/client/_nuxt/error-500.css-hlldh6hu.css +0 -1
- package/dist/client/_nuxt/full-h8pokapo.js +0 -1
- package/dist/client/_nuxt/head-c2jgvqd9.js +0 -1
- package/dist/client/_nuxt/hooks-i5p6cuw0.js +0 -1
- package/dist/client/_nuxt/imports-ia8eldh8.js +0 -1
- package/dist/client/_nuxt/l471sqq0.js +0 -4
- package/dist/client/_nuxt/modules-obwfskfp.js +0 -1
- package/dist/client/_nuxt/nbadge-hpznun17.js +0 -1
- package/dist/client/_nuxt/ncard-ech06vlh.js +0 -1
- package/dist/client/_nuxt/none-bs12srzp.js +0 -1
- package/dist/client/_nuxt/npanel-grids-bl37sfq7.js +0 -1
- package/dist/client/_nuxt/nuxt-bfozs29x.js +0 -1
- package/dist/client/_nuxt/nuxt-link-mev16ngd.js +0 -1
- package/dist/client/_nuxt/overview-dbrpdvvy.js +0 -1
- package/dist/client/_nuxt/pages-gnfgydad.js +0 -1
- package/dist/client/_nuxt/pages-izgjpbm4.js +0 -1
- package/dist/client/_nuxt/payload-hc17espa.js +0 -1
- package/dist/client/_nuxt/pinia-ns87k5yi.js +0 -1
- package/dist/client/_nuxt/plugins-mswypwe4.js +0 -1
- package/dist/client/_nuxt/ready-szdlhgcr.js +0 -1
- package/dist/client/_nuxt/render-tree-hec27xi7.js +0 -1
- package/dist/client/_nuxt/runtime-configs-chx5ggf0.js +0 -1
- package/dist/client/_nuxt/server-discovery-cjcj8emm.js +0 -1
- package/dist/client/_nuxt/server-routes-e0uqj8di.js +0 -7
- package/dist/client/_nuxt/server-tasks-izz5mcrk.js +0 -1
- package/dist/client/_nuxt/settings-dhxjcakv.js +0 -1
- package/dist/client/_nuxt/state-components-mnfvrbtw.js +0 -1
- package/dist/client/_nuxt/state-dkywakbf.js +0 -1
- package/dist/client/_nuxt/storage-hdyfvofj.js +0 -1
- package/dist/client/_nuxt/storage-options-owy2vf04.js +0 -1
- package/dist/client/_nuxt/telemetry-bagjjni2.js +0 -1
- package/dist/client/_nuxt/terminals-hem69799.js +0 -1
- package/dist/client/_nuxt/timeline-luryae8h.js +0 -31
- package/dist/client/_nuxt/unocss-runtime-jcr8lucj.js +0 -1
- package/dist/client/_nuxt/virtual-files-o2l5arel.js +0 -1
- package/dist/client/_nuxt/vue-devtools-na2nb82m.js +0 -3
- package/dist/client/_nuxt/vue-virtual-scroller.esm-d0igfpwe.js +0 -2
- package/dist/shared/devtools.DuFZOCNN.mjs +0 -122
- /package/dist/client/_nuxt/{_plugin-vue_export-helper-dp8rxgcg.js → _plugin-vue_export-helper-n58akrbk.js} +0 -0
- /package/dist/client/_nuxt/{color-b9xoe9j2.js → color-l56csnpd.js} +0 -0
- /package/dist/client/_nuxt/{dist-m49wlq01.js → dist-og16nf4d.js} +0 -0
- /package/dist/client/_nuxt/vendor/{quicktype-core-f8dnflnv.js → quicktype-core-k4qx3809.js} +0 -0
- /package/dist/client/_nuxt/vendor/{vis-id8udisj.js → vis-gf06uk37.js} +0 -0
- /package/dist/client/_nuxt/vendor/{xterm-ed0pys2e.js → xterm-k45lhqgb.js} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor/markdown-it-bcxn77q6.js","./rolldown-runtime-oipoa1or.js","./vendor/shiki-niqic03h.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{A as e,At as t,Ct as n,D as r,Dt as i,E as a,Et as o,F as s,M as c,Mt as l,Ot as u,St as d,Tt as f,V as p,a as m,bt as h,c as g,ct as _,gt as v,j as y,lt as b,m as x,mt as S,vt as C,wt as w,xt as T}from"./vendor/json-editor-vue-hkofgjf7.js";import{x as E}from"./ready-szdlhgcr.js";import{i as D}from"./nuxt-bfozs29x.js";import{D as O,O as ee,k as te}from"./vendor/shiki-niqic03h.js";function k(e,t){return v()?(h(e,t),!0):!1}var A=new WeakMap,ne=(...e)=>{let t=e[0],n=r()?.proxy??v();if(n==null&&!y())throw Error(`injectLocal must be called in setup`);return n&&A.has(n)&&t in A.get(n)?A.get(n)[t]:c(...e)},j=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var re=e=>e!==void 0,ie=e=>e!=null,ae=Object.prototype.toString,oe=e=>ae.call(e)===`[object Object]`,M=()=>{},se=ce();function ce(){var e,t;return j&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function le(...e){if(e.length!==1)return u(...e);let t=e[0];return typeof t==`function`?d(S(()=>({get:t,set:M}))):n(t)}function ue(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var de=e=>e();function fe(e,n={}){let r,i,a=M,o=e=>{clearTimeout(e),a(),a=M},s;return c=>{let l=t(e),u=t(n.maxWait);return r&&o(r),l<=0||u!==void 0&&u<=0?(i&&=(o(i),void 0),Promise.resolve(c())):new Promise((e,t)=>{a=n.rejectOnCancel?t:e,s=c,u&&!i&&(i=setTimeout(()=>{r&&o(r),i=void 0,e(s())},u)),r=setTimeout(()=>{i&&o(i),i=void 0,e(c())},l)})}}function pe(e=de,t={}){let{initialState:n=`active`}=t,r=le(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:d(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function me(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function he(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function ge(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function _e(e){return Object.entries(e)}function N(e){return Array.isArray(e)?e:[e]}function ve(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}var ye=/-(\w)/g,be=ve(e=>e.replace(ye,(e,t)=>t?t.toUpperCase():``));function xe(e){return e||r()}function Se(e,t){if(typeof Symbol<`u`){let n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}else return Object.assign([...t],e)}function Ce(e){return C(e)?T(new Proxy({},{get(t,n,r){return l(Reflect.get(e.value,n,r))},set(t,n,r){return C(e.value[n])&&!C(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):T(e)}function we(e){return Ce(x(e))}function Te(e,t=200,n={}){return ue(fe(t,n),e)}function Ee(e,r=200,i={}){let a=n(t(e)),o=Te(()=>{a.value=e.value},r,i);return _(e,()=>o()),f(a)}var De=Ee;function Oe(e,t,n={}){let{eventFilter:r=de,...i}=n;return _(e,ue(r,t),i)}function ke(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=pe(r,{initialState:i});return{stop:Oe(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function P(e,t=!0,n){xe(n)?p(e,n):t?e():s(e)}function Ae(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:c}={}){let l=null,u=[new Promise(t=>{l=_(e,e=>{r(e)!==n&&(l?l():s(()=>l?.()),t(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&u.push(me(o,c).then(()=>t(e)).finally(()=>l?.())),Promise.race(u)}function i(i,a){if(!C(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:c=!1,timeout:l,throwOnTimeout:u}=a??{},d=null,f=[new Promise(t=>{d=_([e,i],([e,r])=>{n!==(e===r)&&(d?d():s(()=>d?.()),t(e))},{flush:o,deep:c,immediate:!0})})];return l!=null&&f.push(me(l,u).then(()=>t(e)).finally(()=>(d?.(),t(e)))),Promise.race(f)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function c(e){return i(void 0,e)}function l(e){return r(Number.isNaN,e)}function u(e,n){return r(n=>{let r=Array.from(n);return r.includes(e)||r.includes(t(e))},n)}function d(e){return f(1,e)}function f(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray(t(e))?{toMatch:r,toContains:u,changed:d,changedTimes:f,get not(){return Ae(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:l,toBeUndefined:c,changed:d,changedTimes:f,get not(){return Ae(e,!n)}}}function je(e){return Ae(e)}var Me=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Ne=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|z{1,4}|SSS/g;function Pe(e,t,n,r){let i=e<12?`AM`:`PM`;return r&&(i=i.split(``).reduce((e,t)=>e+=`${t}.`,``)),n?i.toLowerCase():i}function F(e){let t=[`th`,`st`,`nd`,`rd`],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function Fe(e,n,r={}){let i=e.getFullYear(),a=e.getMonth(),o=e.getDate(),s=e.getHours(),c=e.getMinutes(),l=e.getSeconds(),u=e.getMilliseconds(),d=e.getDay(),f=r.customMeridiem??Pe,p=e=>e.split(` `)[1]??``,m={Yo:()=>F(i),YY:()=>String(i).slice(-2),YYYY:()=>i,M:()=>a+1,Mo:()=>F(a+1),MM:()=>`${a+1}`.padStart(2,`0`),MMM:()=>e.toLocaleDateString(t(r.locales),{month:`short`}),MMMM:()=>e.toLocaleDateString(t(r.locales),{month:`long`}),D:()=>String(o),Do:()=>F(o),DD:()=>`${o}`.padStart(2,`0`),H:()=>String(s),Ho:()=>F(s),HH:()=>`${s}`.padStart(2,`0`),h:()=>`${s%12||12}`.padStart(1,`0`),ho:()=>F(s%12||12),hh:()=>`${s%12||12}`.padStart(2,`0`),m:()=>String(c),mo:()=>F(c),mm:()=>`${c}`.padStart(2,`0`),s:()=>String(l),so:()=>F(l),ss:()=>`${l}`.padStart(2,`0`),SSS:()=>`${u}`.padStart(3,`0`),d:()=>d,dd:()=>e.toLocaleDateString(t(r.locales),{weekday:`narrow`}),ddd:()=>e.toLocaleDateString(t(r.locales),{weekday:`short`}),dddd:()=>e.toLocaleDateString(t(r.locales),{weekday:`long`}),A:()=>f(s,c),AA:()=>f(s,c,!1,!0),a:()=>f(s,c,!0),aa:()=>f(s,c,!0,!0),z:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zzz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`shortOffset`})),zzzz:()=>p(e.toLocaleDateString(t(r.locales),{timeZoneName:`longOffset`}))};return n.replace(Ne,(e,t)=>t??m[e]?.call(m)??e)}function Ie(e){if(e===null)return new Date(NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e==`string`&&!/Z$/i.test(e)){let t=e.match(Me);if(t){let e=t[2]-1||0,n=(t[7]||`0`).substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)}function Le(e,n=`HH:mm:ss`,r={}){return x(()=>Fe(Ie(t(e)),t(n),r))}function Re(e,n=1e3,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,s=null,c=o(!1);function l(){s&&=(clearInterval(s),null)}function u(){c.value=!1,l()}function d(){let r=t(n);r<=0||(c.value=!0,a&&e(),l(),c.value&&(s=setInterval(e,r)))}return i&&j&&d(),(C(n)||typeof n==`function`)&&k(_(n,()=>{c.value&&j&&d()})),k(u),{isActive:f(c),pause:u,resume:d}}function ze(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,s=o(!1),c;function l(){c&&=(clearTimeout(c),void 0)}function u(){s.value=!1,l()}function d(...r){a&&e(),l(),s.value=!0,c=setTimeout(()=>{s.value=!1,c=void 0,e(...r)},t(n))}return i&&(s.value=!0,j&&d()),k(u),{isPending:f(s),start:d,stop:u}}function Be(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return Oe(e,t,{...a,eventFilter:fe(r,{maxWait:i})})}function Ve(e,t,n){return _(e,t,{...n,immediate:!0})}function He(e,t,r){let i;i=C(r)?{evaluating:r}:r||{};let{lazy:a=!1,flush:s=`sync`,evaluating:c=void 0,shallow:l=!0,onError:u=globalThis.reportError??M}=i,d=o(!a),f=l?o(t):n(t),p=0;return b(async t=>{if(!d.value)return;p++;let n=p,r=!1;c&&Promise.resolve().then(()=>{c.value=!0});try{let i=await e(e=>{t(()=>{c&&(c.value=!1),r||e()})});n===p&&(f.value=i)}catch(e){u(e)}finally{c&&n===p&&(c.value=!1),r=!0}},{flush:s}),a?x(()=>(d.value=!0,f.value)):f}function Ue(e={}){let{inheritAttrs:t=!0}=e,n=o(),r=a({setup(e,{slots:t}){return()=>{n.value=t.default}}}),i=a({inheritAttrs:t,props:e.props,setup(r,{attrs:i,slots:a}){return()=>{if(!n.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=n.value?.call(n,{...e.props==null?We(i):r,$slots:a});return t&&o?.length===1?o[0]:o}}});return Se({define:r,reuse:i},[r,i])}function We(e){let t={};for(let n in e)t[be(n)]=e[n];return t}function Ge(t={}){let r=0,i=n([]);function o(...e){let n=w({key:r++,args:e,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:t});return i.value.push(n),n.promise=new Promise((e,t)=>{n.resolve=t=>(n.isResolving=!0,e(t)),n.reject=t}).finally(()=>{n.promise=void 0;let e=i.value.indexOf(n);e!==-1&&i.value.splice(e,1)}),n.promise}function s(...e){return t.singleton&&i.value.length>0?i.value[0].promise:o(...e)}let c=a((n,{slots:r})=>{let a=()=>i.value.map(t=>e(g,{key:t.key},r.default?.call(r,t)));return t.transition?()=>e(E,t.transition,a):a});return c.start=s,c}var I=j?window:void 0,Ke=j?window.document:void 0,qe=j?window.navigator:void 0;j&&window.location;function L(e){let n=t(e);return n?.$el??n}function R(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=x(()=>{let n=N(t(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return Ve(()=>[r.value?.map(e=>L(e))??[I].filter(e=>e!=null),N(t(r.value?e[1]:e[0])),N(l(r.value?e[2]:e[1])),t(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=oe(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Je=!1;function Ye(e,n,r={}){let{window:i=I,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:M,cancel:M,trigger:M}:M;if(se&&!Je){Je=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,M,e)),i.document.documentElement.addEventListener(`click`,M,e)}let l=!0,u=e=>t(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=L(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=t(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=t(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=L(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&!(!r||r===t.target||t.composedPath().includes(r))){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[R(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),R(i,`pointerdown`,t=>{let n=L(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&R(i,`blur`,t=>{setTimeout(()=>{let r=L(e);i.document.activeElement?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function Xe(){let e=o(!1),t=r();return t&&p(()=>{e.value=!0},t),e}function z(e){let t=Xe();return x(()=>(t.value,!!e()))}function Ze(e,n,r={}){let{window:i=I,...a}=r,o,s=z(()=>i&&`MutationObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=_(x(()=>{let n=N(t(e)).map(L).filter(ie);return new Set(n)}),e=>{c(),s.value&&e.size&&(o=new MutationObserver(n),e.forEach(e=>o.observe(e,a)))},{immediate:!0,flush:`post`}),u=()=>o?.takeRecords(),d=()=>{l(),c()};return k(d),{isSupported:s,stop:d,takeRecords:u}}function Qe(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $e(...e){let n,r,i={};e.length===3?(n=e[0],r=e[1],i=e[2]):e.length===2?typeof e[1]==`object`?(n=!0,r=e[0],i=e[1]):(n=e[0],r=e[1]):(n=!0,r=e[0]);let{target:a=I,eventName:o=`keydown`,passive:s=!1,dedupe:c=!1}=i,l=Qe(n);return R(a,o,e=>{e.repeat&&t(c)||l(e)&&r(e)},s)}function et(e,t,n={}){return $e(e,t,{...n,eventName:`keydown`})}function tt(e,n={}){let{immediate:r=!0,fpsLimit:i=null,window:a=I,once:s=!1}=n,c=o(!1),l=x(()=>{let e=t(i);return e?1e3/e:null}),u=0,f=null;function p(t){if(!c.value||!a)return;u||=t;let n=t-u;if(l.value&&n<l.value){f=a.requestAnimationFrame(p);return}if(u=t,e({delta:n,timestamp:t}),s){c.value=!1,f=null;return}f=a.requestAnimationFrame(p)}function m(){!c.value&&a&&(c.value=!0,u=0,f=a.requestAnimationFrame(p))}function h(){c.value=!1,f!=null&&a&&(a.cancelAnimationFrame(f),f=null)}return r&&m(),k(h),{isActive:d(c),pause:h,resume:m}}var nt=Symbol(`vueuse-ssr-width`);function rt(){let e=y()?ne(nt,null):null;return typeof e==`number`?e:void 0}function it(e,n={}){let{window:r=I,ssrWidth:i=rt()}=n,a=z(()=>r&&`matchMedia`in r&&typeof r.matchMedia==`function`),s=o(typeof i==`number`),c=o(),l=o(!1);return b(()=>{if(s.value){s.value=!a.value,l.value=t(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),r=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||r);return n&&a&&(a=i>=ge(n[1])),r&&a&&(a=i<=ge(r[1])),t?!a:a});return}a.value&&(c.value=r.matchMedia(t(e)),l.value=c.value.matches)}),R(c,`change`,e=>{l.value=e.matches},{passive:!0}),x(()=>l.value)}var at=[`hash`,`host`,`hostname`,`href`,`pathname`,`port`,`protocol`,`search`];function ot(e={}){let{window:t=I}=e,r=Object.fromEntries(at.map(e=>[e,n()]));for(let[e,n]of _e(r))_(n,n=>{!t?.location||t.location[e]===n||(t.location[e]=n)});let i=e=>{var n;let{state:i,length:a}=t?.history||{},{origin:o}=t?.location||{};for(let e of at)r[e].value=t==null||(n=t.location)==null?void 0:n[e];return T({trigger:e,state:i,length:a,origin:o,...r})},a=n(i(`load`));if(t){let e={passive:!0};R(t,`popstate`,()=>a.value=i(`popstate`),e),R(t,`hashchange`,()=>a.value=i(`hashchange`),e)}return a}function st(e,t={}){let{controls:n=!1,navigator:r=qe}=t,a=z(()=>r&&`permissions`in r),s=o(),c=typeof e==`string`?{name:e}:e,l=o(),u=()=>{l.value=s.value?.state??`prompt`};R(s,`change`,u,{passive:!0});let d=he(async()=>{if(a.value){if(!s.value)try{s.value=await r.permissions.query(c)}catch{s.value=void 0}finally{u()}if(n)return i(s.value)}});return d(),n?{state:l,isSupported:a,query:d}:l}function ct(e={}){let{navigator:n=qe,read:r=!1,source:i,copiedDuring:a=1500,legacy:s=!1}=e,c=z(()=>n&&`clipboard`in n),l=st(`clipboard-read`),u=st(`clipboard-write`),f=x(()=>c.value||s),p=o(``),m=o(!1),h=ze(()=>m.value=!1,a,{immediate:!1});async function g(){let e=!(c.value&&b(l.value));if(!e)try{p.value=await n.clipboard.readText()}catch{e=!0}e&&(p.value=y())}f.value&&r&&R([`copy`,`cut`],g,{passive:!0});async function _(e=t(i)){if(f.value&&e!=null){let t=!(c.value&&b(u.value));if(!t)try{await n.clipboard.writeText(e)}catch{t=!0}t&&v(e),p.value=e,m.value=!0,h.start()}}function v(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function y(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function b(e){return e===`granted`||e===`prompt`}return{isSupported:f,text:d(p),copied:d(m),copy:_}}function lt(e){return JSON.parse(JSON.stringify(e))}var B=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},V=`__vueuse_ssr_handlers__`,ut=dt();function dt(){return V in B||(B[V]=B[V]||{}),B[V]}function ft(e,t){return ut[e]||t}function pt(e){return it(`(prefers-color-scheme: dark)`,e)}function mt(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var ht={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},gt=`vueuse-storage`;function H(e,r,i,a={}){let{flush:c=`pre`,deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=I,eventFilter:h,onError:g=e=>{console.error(e)},initOnMounted:v}=a,y=(p?o:n)(typeof r==`function`?r():r),b=x(()=>t(e));if(!i)try{i=ft(`getDefaultStorage`,()=>I?.localStorage)()}catch(e){g(e)}if(!i)return y;let S=t(r),C=mt(S),w=a.serializer??ht[C],{pause:T,resume:E}=ke(y,e=>ee(e),{flush:c,deep:l,eventFilter:h});_(b,()=>k(),{flush:c});let D=!1;m&&u&&(i instanceof Storage?R(m,`storage`,e=>{v&&!D||k(e)},{passive:!0}):R(m,gt,e=>{v&&!D||A(e)})),v?P(()=>{D=!0,k()}):k();function O(e,t){if(m){let n={key:b.value,oldValue:e,newValue:t,storageArea:i};m.dispatchEvent(i instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(gt,{detail:n}))}}function ee(e){try{let t=i.getItem(b.value);if(e==null)O(t,null),i.removeItem(b.value);else{let n=w.write(e);t!==n&&(i.setItem(b.value,n),O(t,n))}}catch(e){g(e)}}function te(e){let t=e?e.newValue:i.getItem(b.value);if(t==null)return d&&S!=null&&i.setItem(b.value,w.write(S)),S;if(!e&&f){let e=w.read(t);return typeof f==`function`?f(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function k(e){if(!(e&&e.storageArea!==i)){if(e&&e.key==null){y.value=S;return}if(!(e&&e.key!==b.value)){T();try{let t=w.write(y.value);(e===void 0||e?.newValue!==t)&&(y.value=te(e))}catch(e){g(e)}finally{e?s(E):E()}}}}function A(e){k(e.detail)}return y}var _t=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function vt(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=I,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:s=!0,storageRef:c,emitAuto:l,disableTransition:u=!0}=e,d={auto:``,light:`light`,dark:`dark`,...e.modes||{}},f=pt({window:i}),p=x(()=>f.value?`dark`:`light`),m=c||(o==null?le(r):H(o,r,a,{window:i,listenToStorageChanges:s})),h=x(()=>m.value===`auto`?p.value:m.value),g=ft(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):L(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(d).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;u&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(_t)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),u&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function v(e){g(t,n,d[e]??e)}function y(t){e.onChanged?e.onChanged(t,v):v(t)}_(h,y,{flush:`post`,immediate:!0}),P(()=>y(h.value));let b=x({get(){return l?m.value:h.value},set(e){m.value=e}});return Object.assign(b,{store:m,system:p,state:h})}function yt(e,n,r={}){let{window:i=I,...a}=r,o,s=z(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=_(x(()=>{let n=t(e);return Array.isArray(n)?n.map(e=>L(e)):[L(n)]}),e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t&&o.observe(t,a)}},{immediate:!0,flush:`post`}),u=()=>{c(),l()};return k(u),{isSupported:s,stop:u}}function bt(e,t={}){let{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:a=!0,updateTiming:s=`sync`}=t,c=o(0),l=o(0),u=o(0),d=o(0),f=o(0),p=o(0),m=o(0),h=o(0);function g(){let t=L(e);if(!t){n&&(c.value=0,l.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,h.value=0);return}let r=t.getBoundingClientRect();c.value=r.height,l.value=r.bottom,u.value=r.left,d.value=r.right,f.value=r.top,p.value=r.width,m.value=r.x,h.value=r.y}function v(){s===`sync`?g():s===`next-frame`&&requestAnimationFrame(()=>g())}return yt(e,v),_(()=>L(e),e=>!e&&v()),Ze(e,v,{attributeFilter:[`style`,`class`]}),i&&R(`scroll`,v,{capture:!0,passive:!0}),r&&R(`resize`,v,{passive:!0}),P(()=>{a&&v()}),{height:c,bottom:l,left:u,right:d,top:f,width:p,x:m,y:h,update:v}}function xt(e,t={width:0,height:0},n={}){let{window:r=I,box:i=`content-box`}=n,a=x(()=>{var t;return(t=L(e))==null||(t=t.namespaceURI)==null?void 0:t.includes(`svg`)}),s=o(t.width),c=o(t.height),{stop:l}=yt(e,([t])=>{let n=i===`border-box`?t.borderBoxSize:i===`content-box`?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&a.value){let t=L(e);if(t){let e=t.getBoundingClientRect();s.value=e.width,c.value=e.height}}else if(n){let e=N(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,c.value=t.contentRect.height},n);P(()=>{let n=L(e);n&&(s.value=`offsetWidth`in n?n.offsetWidth:t.width,c.value=`offsetHeight`in n?n.offsetHeight:t.height)});let u=_(()=>L(e),e=>{s.value=e?t.width:0,c.value=e?t.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function St(e={}){let{initialValue:t=``}=e,n=z(()=>typeof window<`u`&&`EyeDropper`in window),r=o(t);async function i(e){if(!n.value)return;let t=await new window.EyeDropper().open(e);return r.value=t.sRGBHex,t}return{isSupported:n,sRGBHex:r,open:i}}function Ct(e,t,n={}){let{window:r=I}=n;return H(e,t,r?.localStorage,n)}function wt(e){if(`interval`in e||`immediate`in e){let{interval:t=`requestAnimationFrame`,immediate:n=!0}=e;return t===`requestAnimationFrame`?e=>tt(e,{immediate:n}):n=>Re(n,t,e)}return tt}function Tt(e={}){let{controls:t=!1,scheduler:r=wt(e)}=e,i=n(new Date),a=r(()=>i.value=new Date);return t?{now:i,...a}:i}function Et(e,t,n={}){let{window:r=I}=n;return H(e,t,r?.sessionStorage,n)}var Dt=0;function Ot(e,t={}){let n=o(!1),{document:r=Ke,immediate:i=!0,manual:a=!1,id:s=`vueuse_styletag_${++Dt}`}=t,c=o(e),l=()=>{},u=()=>{if(!r)return;let e=r.getElementById(s)||r.createElement(`style`);e.isConnected||(e.id=s,t.nonce&&(e.nonce=t.nonce),t.media&&(e.media=t.media),r.head.appendChild(e)),!n.value&&(l=_(c,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},f=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return i&&!a&&P(u),a||k(f),{id:s,css:c,unload:f,load:u,isLoaded:d(n)}}var kt=[{max:6e4,value:1e3,name:`second`},{max:276e4,value:6e4,name:`minute`},{max:72e6,value:36e5,name:`hour`},{max:5184e5,value:864e5,name:`day`},{max:24192e5,value:6048e5,name:`week`},{max:28512e6,value:2592e6,name:`month`},{max:1/0,value:31536e6,name:`year`}],At={justNow:`just now`,past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?`last month`:`next month`:`${e} month${e>1?`s`:``}`,year:(e,t)=>e===1?t?`last year`:`next year`:`${e} year${e>1?`s`:``}`,day:(e,t)=>e===1?t?`yesterday`:`tomorrow`:`${e} day${e>1?`s`:``}`,week:(e,t)=>e===1?t?`last week`:`next week`:`${e} week${e>1?`s`:``}`,hour:e=>`${e} hour${e>1?`s`:``}`,minute:e=>`${e} minute${e>1?`s`:``}`,second:e=>`${e} second${e>1?`s`:``}`,invalid:``};function jt(e){return e.toISOString().slice(0,10)}function Mt(e){if(`updateInterval`in e){let{updateInterval:t=3e4}=e;return e=>Re(e,t)}return e=>Re(e,3e4)}function Nt(e,n={}){let{controls:r=!1,scheduler:i=Mt(n)}=n,{now:a,...o}=Tt({scheduler:i,controls:!0}),s=x(()=>Pt(new Date(t(e)),n,t(a)));return r?{timeAgo:s,...o}:s}function Pt(e,t={},n=Date.now()){let{max:r,messages:i=At,fullDateFormatter:a=jt,units:o=kt,showSecond:s=!1,rounding:c=`round`}=t,l=typeof c==`number`?e=>+e.toFixed(c):Math[c],u=n-+e,d=Math.abs(u);function f(e,t){return l(Math.abs(e)/t.value)}function p(e,t){let n=f(e,t),r=e>0,i=m(t.name,n,r);return m(r?`past`:`future`,i,r)}function m(e,t,n){let r=i[e];return typeof r==`function`?r(t,n):r.replace(`{0}`,t.toString())}if(d<6e4&&!s)return i.justNow;if(typeof r==`number`&&d>r)return a(new Date(e));if(typeof r==`string`){let t=o.find(e=>e.name===r)?.max;if(t&&d>t)return a(new Date(e))}for(let[e,t]of o.entries()){if(f(u,t)<=0&&o[e-1])return p(u,o[e-1]);if(d<t.max)return p(u,t)}return i.invalid}function Ft(e,t,i,a={}){var o,c;let{clone:l=!1,passive:u=!1,eventName:d,deep:f=!1,defaultValue:p,shouldEmit:m}=a,h=r(),g=i||h?.emit||(h==null||(o=h.$emit)==null?void 0:o.bind(h))||(h==null||(c=h.proxy)==null||(c=c.$emit)==null?void 0:c.bind(h?.proxy)),v=d;t||=`modelValue`,v||=`update:${t.toString()}`;let y=e=>l?typeof l==`function`?l(e):lt(e):e,b=()=>re(e[t])?y(e[t]):p,S=e=>{m?m(e)&&g(v,e):g(v,e)};if(u){let r=n(b()),i=!1;return _(()=>e[t],e=>{i||(i=!0,r.value=y(e),s(()=>i=!1))}),_(r,n=>{!i&&(n!==e[t]||f)&&S(n)},{deep:f}),r}else return x({get(){return b()},set(e){S(e)}})}function It(e={}){let{window:t=I,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:a=!0,type:s=`inner`}=e,c=o(n),l=o(r),u=()=>{if(t)if(s===`outer`)c.value=t.outerWidth,l.value=t.outerHeight;else if(s===`visual`&&t.visualViewport){let{width:e,height:n,scale:r}=t.visualViewport;c.value=Math.round(e*r),l.value=Math.round(n*r)}else a?(c.value=t.innerWidth,l.value=t.innerHeight):(c.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),P(u);let d={passive:!0};return R(`resize`,u,d),t&&s===`visual`&&t.visualViewport&&R(t.visualViewport,`resize`,u,d),i&&_(it(`(orientation: portrait)`),()=>u()),{width:c,height:l}}var U=o(),Lt;function Rt(){Lt||=(async()=>{let{default:e}=await m(async()=>{let{default:e}=await import(`./vendor/markdown-it-bcxn77q6.js`).then(e=>e.t);return{default:e}},__vite__mapDeps([0,1]),import.meta.url);U.value=new e({html:!0,linkify:!0,breaks:!0})})()}function zt(e){return Rt(),U.value?U.value.render(e):e}var Bt={json:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.S),__vite__mapDeps([2,1]),import.meta.url),yaml:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e._),__vite__mapDeps([2,1]),import.meta.url),yml:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e._),__vite__mapDeps([2,1]),import.meta.url),css:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.E),__vite__mapDeps([2,1]),import.meta.url),javascript:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),js:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),cjs:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),mjs:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.w),__vite__mapDeps([2,1]),import.meta.url),typescript:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),ts:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),cts:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),mts:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.b),__vite__mapDeps([2,1]),import.meta.url),vue:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.v),__vite__mapDeps([2,1]),import.meta.url),"vue-html":()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.y),__vite__mapDeps([2,1]),import.meta.url),html:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.C),__vite__mapDeps([2,1]),import.meta.url),diff:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.T),__vite__mapDeps([2,1]),import.meta.url),shellscript:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),bash:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),sh:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),shell:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url),zsh:()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.x),__vite__mapDeps([2,1]),import.meta.url)},Vt={"vitesse-dark":()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.g),__vite__mapDeps([2,1]),import.meta.url),"vitesse-light":()=>m(()=>import(`./vendor/shiki-niqic03h.js`).then(e=>e.h),__vite__mapDeps([2,1]),import.meta.url)},Ht=ee({langs:Bt,themes:Vt,engine:()=>O()}),{codeToHtml:Ut,codeToHast:Wt,codeToTokensBase:Gt,codeToTokens:Kt,codeToTokensWithThemes:qt,getSingletonHighlighter:Jt,getLastGrammarState:Yt}=te(Ht);const W=o();var Xt=null;function Zt(e,t=`text`,n){!Xt&&!W.value&&(Xt=Ht({langs:Object.keys(Bt),themes:Object.keys(Vt)}).then(e=>{W.value=e}));let r=W.value?.getLoadedLanguages().includes(t);return r?{code:W.value.codeToHtml(e,{...n,lang:t,themes:{dark:`vitesse-dark`,light:`vitesse-light`},transformers:[{root(e){return{type:`root`,children:e.children[0].children[0].children}}}]}),supported:!0}:{code:e,supported:r}}var Qt=`q`,$t=`s`;function en(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var tn=Math.random.bind(Math),nn=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function rn(e=21){let t=``,n=e;for(;n--;)t+=nn[tn()*64|0];return t}var an=6e4,on=e=>e,sn=on,{clearTimeout:cn,setTimeout:ln}=globalThis;function un(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=on,deserialize:s=sn,resolver:c,bind:l=`rpc`,timeout:u=an,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:Qt};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=en(),_=rn();s.i=_;let v;async function y(n=s){return u>=0&&(v=ln(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof v==`object`&&(v=v.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:v,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,y,d):await y()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{cn(v),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:y,get $closed(){return f},get $meta(){return t.meta},$close:v,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function v(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(b)}function y(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function b(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===Qt){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:$t,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:$t,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(cn(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(b),h}var dn=-1,G=0,K=1,q=2,J=3,fn=4,pn=5,mn=6,hn=7,gn=8,_n=typeof self==`object`?self:globalThis,vn=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case G:case dn:return n(o,i);case K:{let e=n([],i);for(let t of o)e.push(r(t));return e}case q:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case J:return n(new Date(o),i);case fn:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case pn:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case mn:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case hn:{let{name:e,message:t}=o;return n(new _n[e](t),i)}case gn:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new _n[a](o),i)};return r},yn=e=>vn(new Map,e)(0),Y=``,{toString:bn}={},{keys:xn}=Object,X=e=>{let t=typeof e;if(t!==`object`||!e)return[G,t];let n=bn.call(e).slice(8,-1);switch(n){case`Array`:return[K,Y];case`Object`:return[q,Y];case`Date`:return[J,Y];case`RegExp`:return[fn,Y];case`Map`:return[pn,Y];case`Set`:return[mn,Y]}return n.includes(`Array`)?[K,n]:n.includes(`Error`)?[hn,n]:[q,n]},Z=([e,t])=>e===G&&(t===`function`||t===`symbol`),Sn=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=X(r);switch(o){case G:{let t=r;switch(s){case`bigint`:o=gn,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([dn],r)}return i([o,t],r)}case K:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case q:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of xn(r))(e||!Z(X(r[t])))&&n.push([a(t),a(r[t])]);return c}case J:return i([o,r.toISOString()],r);case fn:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case pn:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Z(X(n))||Z(X(i))))&&t.push([a(n),a(i)]);return n}case mn:{let t=[],n=i([o,t],r);for(let n of r)(e||!Z(X(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},Cn=(e,{json:t,lossy:n}={})=>{let r=[];return Sn(!(t||n),!!t,new Map,r)(e),r},{parse:wn,stringify:Tn}=JSON,En={json:!0,lossy:!0},Dn=e=>yn(wn(e)),On=e=>Tn(Cn(e,En)),kn=Dn;async function An(e=`/`,t=!0){try{let t=`${e}@vite/client`,n=await fetch(t);if((await n.text()).startsWith(`<`)||!n.headers.get(`content-type`)?.includes(`javascript`))throw Error(`Not javascript`);return await m(()=>import(t),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function jn(e=window.location.pathname){return e.split(`/`).map((e,t,n)=>n.slice(0,t+1).join(`/`)||`/`)}async function Mn(e=`/___`,t){t??=jn();for(let n of t){let t=(await An(n,!1))?.createHotContext(e);if(t)return t}console.error(`[vite-hot-client] Failed to import vite client, tried with:`,t)}const Nn=`nuxt:devtools:rpc`,Pn={behavior:{telemetry:null,openInEditor:void 0},ui:{componentsView:`list`,componentsGraphShowNodeModules:!1,componentsGraphShowGlobalComponents:!0,componentsGraphShowPages:!1,componentsGraphShowLayouts:!1,componentsGraphShowWorkspace:!0,interactionCloseOnOutsideClick:!1,showExperimentalFeatures:!1,showHelpButtons:!0,showPanel:!0,scale:1,minimizePanelInactive:5e3,hiddenTabs:[],pinnedTabs:[],hiddenTabCategories:[],sidebarExpanded:!1,sidebarScrollable:!1},serverRoutes:{selectedRoute:null,view:`tree`,inputDefaults:{query:[],body:[],headers:[]},sendFrom:`app`},serverTasks:{enabled:!1,selectedTask:null,view:`list`,inputDefaults:{query:[],body:[],headers:[{active:!0,key:`Content-Type`,value:`application/json`,type:`string`}]}},assets:{view:`grid`}};var Fn=/^\/|\/$/g,In=/\/__nuxt_devtools__\/client\/.*$/;const Q=n(!1),Ln=o(),Rn=De(Q,2e3);var zn=Wn(),Bn=()=>{};const Vn={},Hn=new Map,Un=un(Vn,{post:async e=>{(await zn).send(Nn,e)},on:e=>{Bn=e},serialize:On,deserialize:kn,resolver(e,t){if(t)return t;if(!e.includes(`:`))return;let[n,r]=e.split(`:`);return Hn.get(n)?.[r]},onFunctionError(e,t){return console.error(`[nuxt-devtools] RPC error on executing "${t}":`),console.error(e),!0},onGeneralError(e){return console.error(`[nuxt-devtools] RPC error:`),console.error(e),!0},timeout:12e4});async function Wn(){let e=window.parent?.__NUXT__?.config?.app??window.parent?.useNuxtApp?.()?.payload?.config?.app,t=e?.baseURL??`/`,n=e?.buildAssetsDir?.replace(Fn,``)??`_nuxt`;t&&!t.endsWith(`/`)&&(t+=`/`);let r=window.location.href.replace(In,`/`),i=await Mn(void 0,[...new Set([`${t}${n}/`,`${t}_nuxt/`,t,`${r}${n}/`,`${r}_nuxt/`,r])]);if(!i)throw Q.value=!0,console.error(`[Nuxt DevTools] Unable to find Vite HMR context`),Error(`[Nuxt DevTools] Unable to connect to devtools`);return i.on(Nn,e=>{Q.value=!1,Bn(e)}),Q.value=!0,i.on(`vite:ws:connect`,()=>{console.log(`[nuxt-devtools] Connected to WebSocket`),Q.value=!1}),i.on(`vite:ws:disconnect`,()=>{console.log(`[nuxt-devtools] Disconnected from WebSocket`),Q.value=!0}),i}var Gn=`$s`;function Kn(...e){let t=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(t);let[n,r]=e;if(!n||typeof n!=`string`)throw TypeError(`[nuxt] [useState] key must be a string: `+n);if(r!==void 0&&typeof r!=`function`)throw Error(`[nuxt] [useState] init must be a function: `+r);let i=Gn+n,a=D(),o=u(a.payload.state,i);if(o.value===void 0&&r){let e=r();if(C(e))return a.payload.state[i]=e,e;o.value=e}return o}function $(){return Kn(`devtools-client`)}function qn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Jn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function Yn(){let e=$();return x(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}var Xn=n(!1);setTimeout(()=>{Xn.value=!0},2e3);const Zn=x(()=>Xn.value&&!$().value);function Qn(){return vt({storageKey:`nuxt-devtools-color-mode`})}function $n(){let e=$(),t=Qn();return x(()=>({host:e.value,devtools:{rpc:Un,colorMode:t.value,renderCodeHighlight(e,t){return Zt(e,t)},renderMarkdown(e){return zt(e)},extendClientRpc(e,t){return Hn.set(e,t),new Proxy({},{get(t,n){if(typeof n==`string`)return Un[`${e}:${n}`]}})}}}))}export{Tt as A,je as B,ct as C,R as D,xt as E,It as F,De as H,ie as I,we as L,Ot as M,Nt as N,St as O,Ft as P,N as R,ot as S,bt as T,Be as U,Le as V,Ge as _,qn as a,et as b,Kn as c,Q as d,Rn as f,Ue as g,He as h,Yn as i,Et as j,Ct as k,Vn as l,Pn as m,Zn as n,Jn as o,Ln as p,$ as r,$n as s,Qn as t,Un as u,Pt as v,vt as w,L as x,Ye as y,k as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,C as t,Ct as n,E as r,Et as i,Mt as a,P as o,Q as s,Qt as c,V as l,W as u,X as d,Y as f,Z as p,_ as m,c as h,ct as g,dt as _,ft as v,g as y,h as b,m as x,tn as S,v as C,vt as w,w as T}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import{T as E,c as ee,d as te,i as ne,x as D,y as O}from"./state-dkywakbf.js";import{H as k,r as A,t as re}from"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import{t as j}from"./storage-options-owy2vf04.js";import"./dev-auth-j4vxv6a1.js";import"./nuxt-link-mev16ngd.js";import{t as M}from"./_plugin-vue_export-helper-dp8rxgcg.js";import{t as N}from"./nicon-m5br9nvg.js";import{t as P}from"./nbutton-oi1rfqiz.js";import{t as F}from"./ncard-ech06vlh.js";import"./state-routes-m6gv5n9v.js";import"./telemetry-bagjjni2.js";import"./ntext-input-ngomk0u2.js";import{s as I,u as L}from"#entry";import{t as R}from"./ndrawer-ijwn9421.js";import{t as z}from"./composables-cwesk2q8.js";import{t as ie}from"./ncheckbox-k9nxqa1w.js";import{t as B}from"./filepath-item-fnp9jxof.js";import{t as V}from"./help-fab-oc1qudll.js";import{t as H}from"./nnavbar-n3j7iul1.js";import{t as U}from"./nicon-title-e35pdr21.js";import{t as W}from"./nsection-block-l0c6dpg8.js";import{n as G}from"./dist-m49wlq01.js";import{t as K}from"./nbadge-hpznun17.js";import{n as q,t as J}from"./vendor/vis-id8udisj.js";import{t as Y}from"./nselect-tabs-if6er1us.js";import{n as X,t as ae}from"./state-components-mnfvrbtw.js";var oe={},se={class:`markdown-body`};function ce(e,t){return u(),C(`div`,se,[...t[0]||=[b(`template`,null,[b(`div`,{class:`markdown-body`},[b(`h1`,null,`Components`),b(`p`,null,`Vue Components allow us to split the UI into independent and reusable pieces, and think about each piece in isolation. This is very similar to how we nest native HTML elements, but Vue implements its own component model that allow us to encapsulate custom content and logic in each component.`),b(`p`,null,`Components placed in the components/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.`),b(`p`,null,[b(`a`,{href:`https://nuxt.com/docs/guide/directory-structure/components`,target:`_blank`,rel:`noopener`},`Learn more in the documentation`)])])],-1)]])}var le=M(oe,[[`render`,ce]]),ue={"text-sm":``,"font-mono":``},de=r({__name:`ComponentName`,props:{component:{}},setup(e){let n=e,r=x(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||``));return(e,n)=>(u(),C(`code`,ue,[n[0]||=b(`span`,{mr1:``,op20:``},`<`,-1),t(S(r.value),1),n[1]||=b(`span`,{ml1:``,op20:``},`/>`,-1)]))}}),Z=Object.assign(de,{__name:`ComponentName`}),Q={flex:`~ col gap1`,"items-start":``,"of-hidden":``},fe={flex:`~ gap2 items-center`,px3:``},pe={px3:``,pb2:``},me={key:0,border:`t base`,"max-h-60":``,"w-full":``,"of-auto":``,px3:``,py3:``},he={"text-sm":``},ge={"text-primary":``},_e={key:0,flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},ve={key:1,border:`t base`,"max-h-60":``,"w-full":``,"of-auto":``,px3:``,py3:``},ye={"text-sm":``},be={"text-primary":``},xe={key:0,flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},Se=r({__name:`ComponentDetails`,props:{component:{},dependencies:{},dependents:{}},setup(e){let n=e,r=x(()=>n.component.pascalName||G(n.component.name||n.component.__name||n.component.kebabName||``)),i=x(()=>n.component.filePath||n.component.file||n.component.__file||``),o=L();return(n,s)=>{let c=Z,l=P,p=K,g=B;return u(),C(`div`,Q,[b(`div`,fe,[T(c,{component:e.component},null,8,[`component`]),e.component.meta?.docs&&typeof e.component.meta.docs==`string`?(u(),y(l,{key:0,title:`Open docs`,"flex-none":``,n:`xs`,to:e.component.meta.docs,target:`_blank`,icon:`carbon-catalog`},{default:_(()=>[...s[1]||=[t(` Docs `,-1)]]),_:1},8,[`to`])):m(``,!0),T(l,{title:`Copy name`,"flex-none":``,n:`xs`,icon:`carbon-copy`,onClick:s[0]||=e=>a(o)(`<${r.value}></${r.value}>`,`component-name`)},{default:_(()=>[...s[2]||=[t(` Copy `,-1)]]),_:1}),e.component.global?(u(),y(p,{key:1,n:`green`,title:`Registered at runtime as a global component`,textContent:`runtime`})):m(``,!0)]),b(`div`,pe,[i.value?(u(),y(g,{key:0,filepath:i.value,"w-full":``,"text-sm":``,op40:``,"group-hover:op75":``},null,8,[`filepath`])):m(``,!0)]),e.dependents?(u(),C(`div`,me,[b(`div`,he,[b(`strong`,ge,S(e.dependents.length),1),s[3]||=b(`span`,{op50:``},` references`,-1)]),e.dependents.length?(u(),C(`div`,_e,[(u(!0),C(h,null,f(e.dependents,e=>(u(),y(g,{key:e,filepath:e},null,8,[`filepath`]))),128))])):m(``,!0)])):m(``,!0),e.dependencies?(u(),C(`div`,ve,[b(`div`,ye,[b(`strong`,be,S(e.dependencies.length),1),s[4]||=b(`span`,{op50:``},` dependencies`,-1)]),e.dependencies.length?(u(),C(`div`,xe,[(u(!0),C(h,null,f(e.dependencies,e=>(u(),y(g,{key:e,filepath:e},null,8,[`filepath`]))),128))])):m(``,!0)])):m(``,!0),d(n.$slots,`default`)])}}}),$=Object.assign(Se,{__name:`ComponentDetails`}),Ce={flex:`~ gap-x-3 gap-y-1 wrap`,"w-full":``},we={relative:``,"h-full":``,"w-full":``},Te={key:0,py4:``,pt3:``,flex:`~ col`},Ee={border:`t base`,p4:``},De=r({__name:`ComponentsGraph`,props:{components:{},relationships:{}},setup(e){let r=e,o=n(),s=n(),c=re(),f=i(),p=te(),v=ee(),y=ne(),{componentsGraphShowNodeModules:S,componentsGraphShowGlobalComponents:E,componentsGraphShowPages:D,componentsGraphShowLayouts:O,componentsGraphShowWorkspace:A}=j(`ui`),M=n(),N=n(``),I=k(N,300),L=x(()=>{let e=r.relationships||[];if(M.value){let t=new Set;function n(r){!r||t.has(r)||(t.add(r),r.deps.forEach(t=>{n(e.find(e=>e.id===t))}))}return n(M.value),[...t]}return e}),z=x(()=>{let e=L.value.map(e=>{let t=r.components.find(t=>t.filePath===e.id),n=p.value?.find(t=>t.file===e.id),i=y.value?.find(t=>t.file===e.id),a=e.id.includes(`/node_modules/`)?`lib`:t?t.global?`global`:`user`:i?`layout`:n?`page`:`unknown`;if(!S.value&&a===`lib`||!D.value&&a===`page`||!O.value&&a===`layout`||!A.value&&a===`user`&&v.value&&!e.id.startsWith(v.value.rootDir)||!E.value&&a===`global`)return null;let o=a===`layout`?`hexagon`:a===`page`?`square`:`dot`,s=I.value&&!e.id.toLowerCase().includes(I.value.toLowerCase());return{id:e.id,label:Y(e.id),group:a,shape:o,size:15+Math.min(e.deps.length/2,8),font:{color:s?`#8885`:c.value===`dark`?`white`:`black`},color:s?`#8885`:M.value?.id===e.id?`#82c742`:void 0,extra:{id:e.id,component:t,page:n,layout:i,relationship:e}}}).filter(e=>!!e),t=L.value.flatMap(e=>e.deps.map(t=>({from:e.id,to:t,arrows:{to:{enabled:!0,scaleFactor:.8}}})));return{nodes:new q(e),edges:t}}),B=x(()=>f.value?.component?(r.relationships?.find(e=>e.id===f.value?.component?.filePath)?.deps)?.map(e=>r.relationships?.find(t=>t.id===e)?.id).filter(Boolean):[]),V=x(()=>f.value?.component?(r.relationships?.filter(e=>e.deps.includes(f.value.component.filePath)))?.map(e=>r.relationships?.find(t=>t.id===e.id)?.id).filter(Boolean):[]);l(()=>{let e=new J(o.value,z.value,{nodes:{shape:`dot`,size:16},physics:{repulsion:{centralGravity:.7,springLength:100,springConstant:.01},maxVelocity:146,solver:`forceAtlas2Based`,timestep:.35,stabilization:{enabled:!0,iterations:200}},groups:{user:{color:`#42b883`},unknown:{color:`#b86542`},lib:{color:`#b4b842`},page:{color:`#42b2b8`},layout:{color:`#4256b8`}}});e.on(`click`,e=>{let t=e.nodes?.[0];f.value=z.value.nodes.get(t).extra}),g(z,()=>{e.setData(z.value)})});function U(){f.value=void 0}let W=/.*\/components\//,G=/\.vue$/,K=/\/index$/;function Y(e){let t=r.components.find(t=>t.filePath===e);return t?t.pascalName:e.replace(W,``).replace(G,``).replace(K,``).split(`/`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)}function X(){M.value=f.value?.relationship,f.value=void 0}return(e,n)=>{let r=ie,i=H,c=F,l=$,p=P,g=R;return u(),C(h,null,[T(i,{ref_key:`navbar`,ref:s,search:N.value,"onUpdate:search":n[6]||=e=>N.value=e,absolute:``,"left-0":``,"right-0":``,"top-0":``},{actions:_(()=>[b(`div`,Ce,[T(r,{modelValue:a(D),"onUpdate:modelValue":n[0]||=e=>w(D)?D.value=e:null,n:`primary sm`},{default:_(()=>[...n[8]||=[b(`span`,{op75:``},`Show pages`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(O),"onUpdate:modelValue":n[1]||=e=>w(O)?O.value=e:null,n:`primary sm`},{default:_(()=>[...n[9]||=[b(`span`,{op75:``},`Show layouts`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(A),"onUpdate:modelValue":n[2]||=e=>w(A)?A.value=e:null,n:`primary sm`},{default:_(()=>[...n[10]||=[b(`span`,{op75:``},`Show workspace`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(S),"onUpdate:modelValue":n[3]||=e=>w(S)?S.value=e:null,n:`primary sm`},{default:_(()=>[...n[11]||=[b(`span`,{op75:``},`Show node_modules`,-1)]]),_:1},8,[`modelValue`]),T(r,{modelValue:a(E),"onUpdate:modelValue":n[4]||=e=>w(E)?E.value=e:null,n:`primary sm`},{default:_(()=>[...n[12]||=[b(`span`,{op75:``},`Show global components`,-1)]]),_:1},8,[`modelValue`])]),M.value?(u(),C(`button`,{key:0,flex:`~ gap-1`,"flex-none":``,"items-center":``,"rounded-full":``,"bg-gray:20":``,py1:``,pl3:``,pr2:``,"text-xs":``,op50:``,"hover:op100":``,onClick:n[5]||=e=>M.value=void 0},[...n[13]||=[t(` Clear filter `,-1),b(`div`,{"i-carbon-close":``},null,-1)]])):m(``,!0),n[14]||=b(`div`,{"flex-auto":``},null,-1),d(e.$slots,`default`)]),_:3},8,[`search`]),b(`div`,we,[b(`div`,{ref_key:`container`,ref:o,"h-full":``,"w-full":``},null,512),T(c,{absolute:``,"bottom-3":``,"left-3":``,"border-0":``,"n-glass-effect":``,p2:``,px3:``,"text-sm":``},{default:_(()=>[...n[15]||=[b(`div`,{grid:`~ cols-[20px_1fr] items-center gap-y-1`},[b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-42b883":``}),b(`div`,{op50:``},` Component `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-97c2fc":``}),b(`div`,{op50:``},` Global Component `),b(`div`,{"h-3":``,"w-3":``,"bg-hex-42b2b8":``}),b(`div`,{op50:``},` Page `),b(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 726 628`,"ml--1px":``,"h-3":``},[b(`path`,{fill:`#4256b8`,"stroke-width":`4`,d:`M723 314 543 625.8H183L3 314 183 2.2h360L723 314z`})]),b(`div`,{op50:``},` Layout `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-b4b842":``}),b(`div`,{op50:``},` Library Component `),b(`div`,{"h-3":``,"w-3":``,"rounded-full":``,"bg-hex-b86542":``}),b(`div`,{op50:``},` Unknown `)],-1)]]),_:1}),T(g,{"model-value":!!(f.value&&f.value.component),top:s.value,border:`t l base`,"w-80":``,onClose:U},{default:_(()=>[f.value&&f.value.component?(u(),C(`div`,Te,[T(l,{component:f.value.component,dependencies:B.value,dependents:V.value},null,8,[`component`,`dependencies`,`dependents`]),b(`div`,Ee,[T(p,{n:`primary solid`,onClick:n[7]||=e=>X()},{default:_(()=>[...n[16]||=[t(` Filter to this component `,-1)]]),_:1})])])):m(``,!0)]),_:1},8,[`model-value`,`top`])])],64)}}}),Oe=Object.assign(De,{__name:`ComponentsGraph`}),ke={hover:`bg-active`,class:`group`,flex:`~ gap2`,"w-full":``,"items-center":``,rounded:``,px2:``,py1:``},Ae={key:0,"ml--1":``,"text-primary":``},je=r({__name:`ComponentItem`,props:{component:{},dependencies:{},dependents:{}},setup(e){let t=e,n=x(()=>t.component.filePath||t.component.file||t.component.__file||``);return(t,r)=>{let i=Z,a=$,o=p(`VDropdown`),s=K,l=B;return u(),C(`div`,ke,[T(o,null,{popper:_(()=>[T(a,{component:e.component,dependencies:e.dependencies,dependents:e.dependents,"w-100":``,pt3:``},null,8,[`component`,`dependencies`,`dependents`])]),default:_(()=>[b(`button`,{"hover:text-primary":``,class:c(e.dependents&&e.dependents.length===0?`op50`:``)},[T(i,{component:e.component},null,8,[`component`])],2)]),_:1}),e.dependents?.length?(u(),C(`sup`,Ae,` x`+S(e.dependents?.length),1)):m(``,!0),e.component.global?(u(),y(s,{key:1,n:`green`,title:`Registered at runtime as a global component`,textContent:`runtime`})):m(``,!0),d(t.$slots,`default`),n.value?(u(),y(l,{key:2,filepath:n.value,"text-sm":``,op25:``,"group-hover:op75":``},null,8,[`filepath`])):m(``,!0)])}}}),Me=Object.assign(je,{__name:`ComponentItem`}),Ne={flex:`~ gap-2 items-center`},Pe={pl4:``},Fe=r({__name:`ComponentsList`,props:{components:{},relationships:{}},setup(e){let t=e,r=n(``),i=n(`all`),s=x(()=>{let e=t.components.map(e=>O(e,t.relationships));return i.value===`using`?e.filter(e=>e.dependents?.length):i.value===`not-used`?e.filter(e=>!e.dependents?.length):e}),c={ClientOnly:`https://nuxt.com/docs/api/components/client-only`,DevOnly:`https://nuxt.com/docs/api/components/dev-only`,NuxtClientFallback:`https://nuxt.com/docs/api/components/nuxt-client-fallback`,NuxtPicture:`https://nuxt.com/docs/api/components/nuxt-picture`,NuxtRouteAnnouncer:`https://nuxt.com/docs/api/components/nuxt-route-announcer`,NuxtTime:`https://nuxt.com/docs/api/components/nuxt-time`,NuxtPage:`https://nuxt.com/docs/api/components/nuxt-page`,NuxtLayout:`https://nuxt.com/docs/api/components/nuxt-layout`,NuxtLink:`https://nuxt.com/docs/api/components/nuxt-link`,NuxtLoadingIndicator:`https://nuxt.com/docs/api/components/nuxt-loading-indicator`,NuxtErrorBoundary:`https://nuxt.com/docs/api/components/nuxt-error-boundary`,NuxtWelcome:`https://nuxt.com/docs/api/components/nuxt-welcome`,NuxtIsland:`https://nuxt.com/docs/api/components/nuxt-island`,NuxtImg:`https://nuxt.com/docs/api/components/nuxt-img`},l=x(()=>new I(s.value,{keys:[`component.pascalName`,`component.filePath`,`component.kebabName`]})),p=x(()=>{let e=[],t=new Map,n=[],i=[],a={user:0,lib:0,builtin:0,runtime:0};return(r.value?l.value.search(r.value).map(e=>e.item):s.value).forEach(r=>{let o=r.component;if(o.filePath&&E(o.filePath)){let e=D(o.filePath);if(!e)return;e===`nuxt`?(o.meta??={},o.meta.docs??=c?.[o.pascalName],n.push(r),a.builtin++):(t.has(e)||t.set(e,[]),t.get(e).push(r),a.lib++)}else o.global&&!o.filePath?(i.push(r),a.runtime++):(e.push(r),a.user++)}),{count:a,user:e,builtin:n,lib:t,runtime:i}});return(e,t)=>{let n=N,s=Y,c=H,l=Me,g=W,v=U;return u(),C(h,null,[T(c,{search:r.value,"onUpdate:search":t[1]||=e=>r.value=e,pb3:``},{actions:_(()=>[d(e.$slots,`default`)]),default:_(()=>[b(`div`,Ne,[T(n,{icon:`carbon-filter`,op50:``}),T(s,{modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,n:`primary sm`,options:[{label:`All`,value:`all`},{label:`Using`,value:`using`},{label:`Not used`,value:`not-used`}]},null,8,[`modelValue`])])]),_:3},8,[`search`]),p.value.user.length?(u(),y(g,{key:0,icon:`carbon-nominal`,text:`User components`,open:p.value.user.length<=a(50),description:`Total components: ${p.value.count.user}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.user,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`open`,`description`])):m(``,!0),p.value.runtime.length?(u(),y(g,{key:1,icon:`carbon-load-balancer-global`,open:p.value.runtime.length<=a(50),text:`Runtime components`,description:`Total components: ${p.value.count.runtime}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.runtime,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`open`,`description`])):m(``,!0),p.value.builtin.length?(u(),y(g,{key:2,icon:`simple-icons-nuxtdotjs`,text:`Built-in components`,description:`Total components: ${p.value.count.builtin}`},{default:_(()=>[(u(!0),C(h,null,f(p.value.builtin,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))]),_:1},8,[`description`])):m(``,!0),p.value.lib.size?(u(),y(g,{key:3,open:p.value.count.lib<=a(50),icon:`carbon-3d-mpr-toggle`,text:`Components from libraries`,description:`${p.value.count.lib} components from ${p.value.lib.size} packages`},{default:_(()=>[(u(!0),C(h,null,f(p.value.lib.entries(),([e,t])=>(u(),C(`div`,{key:e,"ml-2":``},[T(v,{text:`${e} (${t.length})`,py1:``,op50:``},null,8,[`text`]),b(`div`,Pe,[(u(!0),C(h,null,f(t,e=>(u(),y(l,o({key:e.component.filePath},{ref_for:!0},e),null,16))),128))])]))),128))]),_:1},8,[`open`,`description`])):m(``,!0)],64)}}}),Ie=Object.assign(Fe,{__name:`ComponentsList`}),Le={relative:``,"h-full":``,"of-auto":``},Re={"flex-none":``,flex:`~ gap3`},ze=r({__name:`components`,setup(t){z({icon:`i-carbon-assembly-cluster`,title:`Components`,order:2});let n=A(),r=ae(),i=X(),{componentsView:o}=j(`ui`);function c(){n.value?.inspector?.enable()}function l(){o.value=o.value===`list`?`graph`:`list`}return(t,d)=>{let f=P,p=le,g=V,x=s(`tooltip`);return u(),C(h,null,[b(`div`,Le,[(u(),y(e(a(o)===`list`?Ie:Oe),{components:a(r),relationships:a(i)},{default:_(()=>[b(`div`,Re,[v(T(f,{"text-lg":``,border:!1,icon:a(o)===`graph`?`i-carbon-list`:`i-carbon-network-4`,title:`Toggle view`,onClick:l},null,8,[`icon`]),[[x,`Toggle View`,void 0,{"bottom-end":!0}]]),a(n)?.inspector?.isAvailable?v((u(),y(f,{key:0,"text-lg":``,border:!1,icon:`i-tabler-focus-2`,title:`Inspect Vue components`,onClick:c},null,512)),[[x,`Inspect Vue components`,void 0,{"bottom-end":!0}]]):m(``,!0)])]),_:1},8,[`components`,`relationships`]))]),T(g,null,{default:_(()=>[T(p)]),_:1})],64)}}});export{ze as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as e,E as t,Mt as n,Qt as r,W as i,Y as a,Z as o,_ as s,c,dt as l,g as u,h as d,m as f,tn as p,v as m,w as h}from"./vendor/json-editor-vue-hkofgjf7.js";import{t as g}from"./nicon-m5br9nvg.js";import{t as _}from"./nbutton-oi1rfqiz.js";import{d as v,u as y}from"#entry";import{t as b}from"./filepath-item-fnp9jxof.js";import{t as x}from"./constants-lof1c7kz.js";import{t as S}from"./dist-m49wlq01.js";import{t as C}from"./nmarkdown-nct1w6kn.js";var w={rounded:``,"font-mono":``},T={key:0,"text-primary":``},E={key:0},D={title:`Vue Directive`},O={"max-w-100":``},k={px4:``,py3:``,"text-sm":``},A={flex:`~ gap2`,n:`primary xs`},j={border:`t base`,"max-h-60":``,"of-auto":``,px4:``,py3:``},M={"text-sm":``},N={"text-primary":``},P={flex:`~ col gap-2`,"items-start":``,pt3:``,"text-sm":``,op75:``},F={key:1,"text-sm":``,op50:``},I=t({__name:`ComposableItem`,props:{item:{},isDirective:{type:Boolean,default:!1},metadata:{},filepath:{},counter:{type:Boolean,default:!0},classes:{default:`px2 py1 text-sm bg-gray:5 `}},setup(t){let I=t,L=y(),R=v(),z=f(()=>I.item.as||I.item.name),B=f(()=>{let e=z.value;return I.isDirective&&(e[0]!==`v`&&(e=`v${e}`),e=S(e)),e}),V=f(()=>I.metadata?.injectionUsage?.[z.value]?.count||0),H=f(()=>(I.metadata?.injectionUsage?.[z.value]?.moduleIds||[]).filter(e=>!e.endsWith(`?macro=true`))),U=f(()=>I.item.meta?.docsUrl?I.item.meta.docsUrl:[`nuxt`,`#app`,`nuxt3`].includes(I.item.from)?x.nuxt[I.item.name]:I.item.from===`vue`?x.vue[I.item.name]:null);return(f,v)=>{let y=g,x=C,S=_,W=b,G=o(`VDropdown`);return i(),u(G,{disabled:!I.metadata},{popper:l(()=>[d(`div`,O,[d(`div`,k,[t.item.meta?.description?(i(),u(x,{key:0,tag:`div`,pb3:``,"text-sm":``,markdown:t.item.meta.description},null,8,[`markdown`])):s(``,!0),d(`div`,A,[h(S,{icon:`carbon-copy`,onClick:v[0]||=e=>n(L)(B.value,`imports-name`)},{default:l(()=>[...v[2]||=[e(` Copy `,-1)]]),_:1}),t.filepath?(i(),u(S,{key:0,icon:`carbon-code`,onClick:v[1]||=e=>t.filepath&&n(R)(t.filepath)},{default:l(()=>[...v[3]||=[e(` Source `,-1)]]),_:1})):s(``,!0),U.value?(i(),u(S,{key:1,icon:`carbon-catalog`,to:U.value,target:`_blank`},{default:l(()=>[...v[4]||=[e(` Docs `,-1)]]),_:1},8,[`to`])):s(``,!0)])]),d(`div`,j,[V.value?(i(),m(c,{key:0},[d(`div`,M,[v[5]||=d(`span`,{op50:``},`It has been referenced `,-1),d(`strong`,N,p(V.value),1),v[6]||=d(`span`,{op50:``},` times by:`,-1)]),d(`div`,P,[(i(!0),m(c,null,a(H.value,e=>(i(),u(W,{key:e,filepath:e},null,8,[`filepath`]))),128))])],64)):(i(),m(`div`,F,` Not in use via auto import. `))])])]),default:l(()=>[d(`button`,{"hover:text-primary":``,class:r([t.metadata&&!V.value?`op30 hover:op100`:``,t.classes])},[d(`code`,w,[e(p(z.value)+` `,1),V.value&&t.counter?(i(),m(`sup`,T,`x`+p(V.value),1)):s(``,!0)]),t.isDirective?(i(),m(`sup`,E,[d(`abbr`,D,[h(y,{icon:`tabler:hexagon-letter-d`})])])):s(``,!0)],2)]),_:1},8,[`disabled`])}}}),L=Object.assign(I,{__name:`ComposableItem`});export{L as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>{};export{e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={nuxt:{useAppConfig:`https://nuxt.com/docs/api/composables/use-app-config`,useAsyncData:`https://nuxt.com/docs/api/composables/use-async-data`,useCookie:`https://nuxt.com/docs/api/composables/use-cookie`,useError:`https://nuxt.com/docs/api/composables/use-error`,useFetch:`https://nuxt.com/docs/api/composables/use-fetch`,useHead:`https://nuxt.com/docs/api/composables/use-head`,useHeadSafe:`https://nuxt.com/docs/api/composables/use-head-safe`,useLazyAsyncData:`https://nuxt.com/docs/api/composables/use-lazy-async-data`,useLazyFetch:`https://nuxt.com/docs/api/composables/use-lazy-fetch`,useNuxtApp:`https://nuxt.com/docs/api/composables/use-nuxt-app`,useRoute:`https://nuxt.com/docs/api/composables/use-route`,useRouter:`https://nuxt.com/docs/api/composables/use-router`,useRuntimeConfig:`https://nuxt.com/docs/api/composables/use-runtime-config`,useState:`https://nuxt.com/docs/api/composables/use-state`,$fetch:`https://nuxt.com/docs/api/utils/dollarfetch`,abortNavigation:`https://nuxt.com/docs/api/utils/abort-navigation`,createError:`https://nuxt.com/docs/api/utils/create-error`,defineNuxtComponent:`https://nuxt.com/docs/api/utils/define-nuxt-component`,definePageMeta:`https://nuxt.com/docs/api/utils/define-page-meta`,navigateTo:`https://nuxt.com/docs/api/utils/navigate-to#navigateto`,onBeforeRouteLeave:`https://nuxt.com/docs/api/utils/on-before-route-leave`,onBeforeRouteUpdate:`https://nuxt.com/docs/api/utils/on-before-route-update`,updateAppConfig:`https://nuxt.com/docs/api/utils/update-app-config`},vue:{ref:`https://vuejs.org/api/reactivity-core.html#ref`,computed:`https://vuejs.org/api/reactivity-core.html#computed`,reactive:`https://vuejs.org/api/reactivity-core.html#reactive`,watch:`https://vuejs.org/api/reactivity-core.html#watch`,watchEffect:`https://vuejs.org/api/reactivity-core.html#watcheffect`,watchPostEffect:`https://vuejs.org/api/reactivity-core.html#watchposteffect`,watchSyncEffect:`https://vuejs.org/api/reactivity-core.html#watchsynceffect`,onMounted:`https://vuejs.org/api/composition-api-lifecycle.html#onmounted`,onUnmounted:`https://vuejs.org/api/composition-api-lifecycle.html#onunmounted`,onActivated:`https://vuejs.org/api/composition-api-lifecycle.html#onactivated`,onDeactivated:`https://vuejs.org/api/composition-api-lifecycle.html#ondeactivated`,onBeforeMount:`https://vuejs.org/api/composition-api-lifecycle.html#onbeforemount`,onBeforeUnmount:`https://vuejs.org/api/composition-api-lifecycle.html#onbeforeunmount`,onUpdated:`https://vuejs.org/api/composition-api-lifecycle.html#onupdated`,onBeforeUpdate:`https://vuejs.org/api/composition-api-lifecycle.html#onbeforeupdate`,nextTick:`https://vuejs.org/api/general.html#nexttick`}},t={snippet:`i-carbon-code`,headers:`i-carbon-html-reference`,cookies:`i-carbon-cookie`,params:`i-carbon-text-selection`,query:`i-carbon-help`,body:`i-carbon-document`};export{t as n,e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,C as t,Ct as n,E as r,F as i,H as a,Mt as o,V as s,W as c,dt as l,g as u,h as d,lt as f,m as p,tn as m,v as h,w as g,xt as _}from"./vendor/json-editor-vue-hkofgjf7.js";import{g as v,h as y}from"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import"./state-dkywakbf.js";import{T as b,s as x,t as S,u as C}from"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import"./storage-options-owy2vf04.js";import{i as w,r as T}from"./dev-auth-j4vxv6a1.js";import"./nuxt-link-mev16ngd.js";import"./nicon-m5br9nvg.js";import"./nbutton-oi1rfqiz.js";import{t as E}from"./ncard-ech06vlh.js";import"./telemetry-bagjjni2.js";import{r as D}from"./state-tabs-mo8r9nzk.js";import{t as O}from"./npanel-grids-bl37sfq7.js";import"./ntext-input-ngomk0u2.js";import{a as k}from"#entry";import"./client-lh91kcpv.js";import{t as A}from"./composables-cwesk2q8.js";import"./nmarkdown-nct1w6kn.js";import{t as j}from"./launch-page-kf0w74wk.js";var M=new Map,N=r({__name:`IframeView`,props:{tab:{}},setup(e){let t=e,r=S(),o=n(),l=p(()=>t.tab.name),u=n(),d=_(b(o));s(()=>{let e=t.tab.view,n=e.persistent!==!1,r=[`clipboard-write`,`clipboard-read`,...e.permissions||[]];if(M.get(l.value)&&n)u.value=M.get(l.value),u.value.style.visibility=`visible`;else{u.value=document.createElement(`iframe`),u.value.setAttribute(`allow`,r.join(`; `)),u.value.setAttribute(`aria-label`,`Nuxt Devtools`),n&&M.set(l.value,u.value),u.value.src=e.src;try{u.value.style.opacity=`0.01`,u.value.onload=()=>{v(),m(),u.value.style.opacity=`1`}}catch{u.value.style.opacity=`1`}document.body.appendChild(u.value),i(y)}setTimeout(m,100)}),f(y),f(m),f(v),a(()=>{u.value&&(u.value.style.visibility=`hidden`)});function m(){if(!(!u.value||!u.value.contentWindow))try{let e=u.value.contentWindow.document.querySelector(`html`);e?.classList.toggle(`dark`,r.value===`dark`),e?.classList.toggle(`light`,r.value===`dark`),new MutationObserver(()=>{r.value=u.value?.contentWindow?.document.querySelector(`html`)?.classList.contains(`dark`)?`dark`:`light`}).observe(e,{attributes:!0,attributeFilter:[`class`]})}catch{}}let g=x();function v(){if(!(!u.value||!u.value.contentWindow))try{u.value.contentWindow.__NUXT_DEVTOOLS__=g.value}catch{}}function y(){u.value&&Object.assign(u.value.style,{position:`fixed`,left:`${d.left}px`,top:`${d.top}px`,width:`${d.width}px`,height:`${d.height}px`,outline:`none`})}return(e,t)=>(c(),h(`div`,{ref_key:`anchor`,ref:o,"h-full":``,"w-full":``},null,512))}}),P=Object.assign(N,{__name:`IframeView`}),F={flex:`~ col gap2`,mxa:``,"items-center":``},I={"text-xl":``},L={"text-rose":``},R=r({__name:`custom-[name]`,props:{name:{}},setup(n){let r=n;A({layout:`full`});let i=y(),a=v(),f=p(()=>r.name??i.params.name),h=D(),_=p(()=>h.value.find(e=>e.name===f.value));return s(()=>{_.value?_.value.requireAuth&&!T.value&&w():setTimeout(()=>{_.value||a.push(`/modules/overview`)},2e3)}),(n,r)=>{let i=O,a=k,s=P,p=j,h=E;return _.value?_.value.requireAuth&&!o(T)?(c(),u(a,{key:1})):_.value.view.type===`iframe`?(c(),u(s,{key:2,tab:_.value},null,8,[`tab`])):_.value.view.type===`vnode`?(c(),u(e(_.value.view.vnode),{key:3})):_.value.view.type===`launch`?(c(),u(p,{key:4,name:`custom-${_.value.name}`,icon:_.value.view.icon||_.value.icon,title:_.value.view.title||_.value.title,description:_.value.view.description,actions:_.value.view.actions,onAction:r[0]||=e=>o(C).customTabAction(_.value.name,e)},null,8,[`name`,`icon`,`title`,`description`,`actions`])):(c(),u(i,{key:5},{default:l(()=>[g(h,{flex:`~ col`,"h-full":``,"items-center":``,"justify-center":``},{default:l(()=>[t(` Unknown tab type `+m(_.value.view),1)]),_:1})]),_:1})):(c(),u(i,{key:0},{default:l(()=>[d(`div`,F,[r[3]||=d(`div`,{"i-carbon-queued":``,mb2:``,"text-5xl":``,op50:``},null,-1),d(`p`,I,[r[1]||=t(` Tab `,-1),d(`code`,L,m(f.value),1),r[2]||=t(` not found `,-1)]),r[4]||=d(`p`,{op50:``},` It might because the module contributing this tab is not installed or enabled `,-1),r[5]||=d(`p`,{mt8:``,"animate-pulse":``},` Redirecting to overview page... `,-1)])]),_:1}))}}});export{R as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ct as e,E as t,Mt as n,W as r,Y as i,_ as a,c as o,ct as s,d as c,dt as l,g as u,h as d,m as f,tn as p,v as m,w as h}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import"./state-dkywakbf.js";import{h as g}from"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import"./storage-options-owy2vf04.js";import"./dev-auth-j4vxv6a1.js";import"./nuxt-link-mev16ngd.js";import"./nicon-m5br9nvg.js";import{t as _}from"./nbutton-oi1rfqiz.js";import"./state-routes-m6gv5n9v.js";import"./telemetry-bagjjni2.js";import{r as v,u as y}from"#entry";import{t as b}from"./nselect-kgjpj17v.js";import{t as x}from"./nswitch-b36trghq.js";import{t as S}from"./ndropdown-moy416uy.js";import"./client-lh91kcpv.js";import{t as C}from"./ncode-block-coc4sua0.js";import{t as w}from"./ndrawer-ijwn9421.js";import{n as T,t as E}from"./vendor/quicktype-core-f8dnflnv.js";var D=E(),O=T(),k={border:`b base`,flex:`~ items-center gap-2`,sticky:``,"left-0":``,"right-0":``,"top-0":``,"z-1":``,"bg-base":``,p3:``},A={key:0,flex:`~ items-center justify-center`,absolute:``,"bottom--1":``,"right--2":``,"h-4":``,"w-4":``,"rounded-full":``,"bg-lime:30":``,"text-8px":``},j={flex:`~ col`,"w-100":``,"of-auto":``,py2:``},M={"text-xs":``,capitalize:``,op75:``},N=t({__name:`DataSchemaDrawer`,setup(t){let T=v(),E=e(0),N=e(`TypeScript`),P=f(()=>O.all.find(e=>e.displayName===N.value)),F=e(P.value?.optionDefinitions.filter(e=>typeof e.defaultValue==`boolean`)),I=g(async()=>{if(E.value,!T.value)return``;let e=(0,D.jsonInputForTargetLanguage)(N.value);await e.addSource({name:T.value.name??`Data`,samples:[T.value.input]});let t=new D.InputData;return t.addInput(e),(await(0,D.quicktype)({inputData:t,lang:N.value,rendererOptions:F.value?.reduce((e,t)=>(e[t.name]=t.defaultValue,e),{})})).lines.join(`
|
|
2
|
-
`)}),L=f(()=>{let e=N.value.toLocaleLowerCase();return e.startsWith(`javascript`)?`javascript`:e.startsWith(`json`)?`json`:e.startsWith(`typescript`)?`typescript`:e});s(F,()=>{E.value++},{deep:!0}),s(N,()=>{F.value=P.value?.optionDefinitions.filter(e=>typeof e.defaultValue==`boolean`)});let R=y();function z(){R(I.value||``)}return(e,t)=>{let s=b,f=_,g=x,v=S,y=C,E=w;return P.value?(r(),u(c,{key:0,to:`body`},[h(E,{"model-value":!!n(T)?.input,"auto-close":``,"max-w-screen":``,"w-2xl":``,"n-code-block":``,onClose:t[2]||=e=>T.value=null},{default:l(()=>[d(`div`,k,[t[3]||=d(`p`,{"mr-2":``},` Schema `,-1),h(s,{modelValue:N.value,"onUpdate:modelValue":t[0]||=e=>N.value=e,n:`xs primary`},{default:l(()=>[(r(!0),m(o,null,i(n(O.all),e=>(r(),m(`option`,{key:e.displayName},p(e.displayName),1))),128))]),_:1},8,[`modelValue`]),F.value?.length?(r(),u(v,{key:0,n:`sm lime`},{trigger:l(({click:e})=>[h(f,{icon:`carbon-settings`,"h-full":``,onClick:t=>e()},null,8,[`onClick`]),F.value?(r(),m(`span`,A,p(F.value.length),1)):a(``,!0)]),default:l(()=>[d(`div`,j,[(r(!0),m(o,null,i(F.value,(e,t)=>(r(),u(g,{key:e.name,modelValue:F.value[t].defaultValue,"onUpdate:modelValue":e=>F.value[t].defaultValue=e,flex:`~ gap-2`,rounded:``,px2:``,py2:``},{default:l(()=>[d(`span`,M,p(e.description),1)]),_:2},1032,[`modelValue`,`onUpdate:modelValue`]))),128))])]),_:1})):a(``,!0),t[4]||=d(`div`,{"flex-auto":``},null,-1),h(f,{icon:`carbon-copy`,"mr-6":``,"h-full":``,onClick:t[1]||=e=>z()})]),n(I)?(r(),u(y,{key:0,lang:L.value,code:n(I)},null,8,[`lang`,`code`])):a(``,!0)]),_:1},8,[`model-value`])])):a(``,!0)}}}),P=Object.assign(N,{__name:`DataSchemaDrawer`});export{P as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as e,Ct as t,E as n,Mt as r,Qt as i,W as a,X as o,Y as s,_ as c,c as l,dt as u,en as d,g as f,h as p,m,tn as h,v as g,w as _}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import{l as v}from"./state-dkywakbf.js";import"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import"./storage-options-owy2vf04.js";import"./dev-auth-j4vxv6a1.js";import"./nuxt-link-mev16ngd.js";import"./nicon-m5br9nvg.js";import{t as y}from"./nbutton-oi1rfqiz.js";import"./state-routes-m6gv5n9v.js";import"./telemetry-bagjjni2.js";import"./client-lh91kcpv.js";import{t as b}from"./ncode-block-coc4sua0.js";import{t as x}from"./composables-cwesk2q8.js";import{t as S}from"./ncheckbox-k9nxqa1w.js";import{t as C}from"./filepath-item-fnp9jxof.js";import"./nicon-title-e35pdr21.js";import{t as w}from"./nsection-block-l0c6dpg8.js";import{t as T}from"./nbadge-hpznun17.js";import{t as E}from"./color-b9xoe9j2.js";var D=n({__name:`NBadgeHashed`,props:{text:{}},setup(t){let n=t,r=m(()=>({color:E(n.text,50,60),background:E(n.text,50,60,.05)}));return(n,i)=>(a(),f(T,{style:d(r.value)},{default:u(()=>[e(h(t.text),1),o(n.$slots,`default`)]),_:3},8,[`style`]))}}),O=Object.assign(D,{__name:`NBadgeHashed`}),k={flex:`~ gap-2 col`,mb4:``},A={flex:`~ gap-3 items-center`},j={key:0,flex:`~ gap-1`,"items-center":``,p1:``,border:`~ base rounded`},M={"max-w-full":``,"of-auto":``},N={"text-center":``,op50:``},P={flex:`~`,px4:``},F={key:0,op50:``},I={px2:``,"text-center":``},L={"of-auto":``},R=n({__name:`DebugModuleMutationRecords`,props:{moduleMutationRecords:{}},setup(e){let n=e,r=/^[a-z]:[\\/]/i;function o(e){return e.startsWith(`/`)||e.match(r)}let d=t(!1),v=t(!1),x=t(!1),w=t(!1),T=t(!1),E=t(``),D=m(()=>{let e=n.moduleMutationRecords;return d.value||(e=e.filter(e=>!e.name.startsWith(`nuxt:`)&&e.name!==`@nuxt/devtools`)),v.value||(e=e.filter(e=>e.keys.join(`.`)!==`build.templates`)),x.value||(e=e.filter(e=>e.keys.join(`.`)!==`build.transpile`)),w.value||(e=e.filter(e=>e.keys.join(`.`)!==`plugins`)),T.value||(e=e.filter(e=>e.method||e.value!==`[]`&&e.value!==`{}`)),E.value&&(e=e.filter(e=>e.name===E.value)),e});return(t,n)=>{let r=S,m=O,R=y,z=C,B=b;return a(),g(l,null,[p(`div`,k,[p(`div`,A,[_(r,{modelValue:d.value,"onUpdate:modelValue":n[0]||=e=>d.value=e,n:`primary`},{default:u(()=>[...n[6]||=[p(`span`,{"ws-nowrap":``,op75:``},`Builtin Modules`,-1)]]),_:1},8,[`modelValue`]),_(r,{modelValue:v.value,"onUpdate:modelValue":n[1]||=e=>v.value=e,n:`primary`},{default:u(()=>[...n[7]||=[p(`span`,{"ws-nowrap":``,op75:``},`Templates`,-1)]]),_:1},8,[`modelValue`]),_(r,{modelValue:x.value,"onUpdate:modelValue":n[2]||=e=>x.value=e,n:`primary`},{default:u(()=>[...n[8]||=[p(`span`,{"ws-nowrap":``,op75:``},`Transpile`,-1)]]),_:1},8,[`modelValue`]),_(r,{modelValue:w.value,"onUpdate:modelValue":n[3]||=e=>w.value=e,n:`primary`},{default:u(()=>[...n[9]||=[p(`span`,{"ws-nowrap":``,op75:``},`Plugins`,-1)]]),_:1},8,[`modelValue`]),_(r,{modelValue:T.value,"onUpdate:modelValue":n[4]||=e=>T.value=e,n:`primary`},{default:u(()=>[...n[10]||=[p(`span`,{"ws-nowrap":``,op75:``},`Empty Initial`,-1)]]),_:1},8,[`modelValue`]),E.value?(a(),g(`div`,j,[_(m,{"font-mono":``,text:E.value},null,8,[`text`]),_(R,{icon:`carbon-close`,border:!1,onClick:n[5]||=e=>E.value=``})])):c(``,!0)])]),p(`table`,M,[n[11]||=p(`thead`,{border:`b base`},[p(`tr`,null,[p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Index `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Module `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Key Path `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Method `),p(`th`,{"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},` Value `)])],-1),p(`tbody`,null,[(a(!0),g(l,null,s(D.value,t=>(a(),g(`tr`,{key:e.moduleMutationRecords.indexOf(t),border:`b dashed transparent hover:base`},[p(`td`,N,[p(`div`,null,h(e.moduleMutationRecords.indexOf(t)+1),1)]),p(`td`,null,[t.name&&o(t.name)?(a(),f(z,{key:0,filepath:t.name},null,8,[`filepath`])):(a(),f(m,{key:1,role:`button`,"font-mono":``,text:t.name,onClick:e=>E.value=t.name},null,8,[`text`,`onClick`]))]),p(`td`,null,[p(`code`,P,[(a(!0),g(l,null,s(t.keys,(e,n)=>(a(),g(l,{key:n},[p(`span`,null,h(e),1),n<t.keys.length-1?(a(),g(`span`,F,` . `)):c(``,!0)],64))),128))])]),p(`td`,I,[_(m,{"font-mono":``,text:t.method||`=`,class:i(t.method?``:`saturate-0`)},null,8,[`text`,`class`])]),p(`td`,L,[_(B,{code:String(t.value),lang:`ts`,"grammar-context-code":`let a = `,"ws-normal":``,"break-all":``,py1:``,lines:!1,inline:!0},null,8,[`code`])])]))),128))])])],64)}}}),z=Object.assign(R,{__name:`DebugModuleMutationRecords`}),B={key:0,p6:``},V={key:1},H=n({__name:`debug`,setup(e){x({icon:`i-carbon-debug`,title:`Debug`,category:`advanced`});let t=v();return(e,n)=>{let i=w;return r(t)?(a(),g(`div`,V,[_(i,{icon:`carbon-container-image-push-pull`,text:`Module Mutation Records`,description:`Records of module mutations to nuxt options`},{default:u(()=>[_(z,{"module-mutation-records":r(t).moduleMutationRecords||[]},null,8,[`module-mutation-records`])]),_:1})])):(a(),g(`div`,B,[...n[0]||=[p(`div`,null,`No Debug Context Found`,-1),p(`div`,null,"Set `debug: true` in your nuxt.config.ts to enable this panel",-1)]]))}}});export{H as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-oipoa1or.js";import{Ct as t}from"./vendor/json-editor-vue-hkofgjf7.js";import{B as n,_ as r,c as i,u as a}from"./client-s5g5n0ac.js";var o=e(((e,t)=>{(function(n,r){var i=``,a=`?`,o=`function`,s=`undefined`,c=`object`,l=`string`,u=`major`,d=`model`,f=`name`,p=`type`,m=`vendor`,h=`version`,g=`architecture`,_=`console`,v=`mobile`,y=`tablet`,b=`smarttv`,x=`wearable`,S=`embedded`,C=500,w=`Amazon`,T=`Apple`,E=`ASUS`,D=`BlackBerry`,O=`Browser`,k=`Chrome`,ee=`Edge`,A=`Firefox`,j=`Google`,M=`Huawei`,N=`LG`,P=`Microsoft`,F=`Motorola`,I=`Opera`,L=`Samsung`,R=`Sharp`,z=`Sony`,B=`Xiaomi`,V=`Zebra`,H=`Facebook`,U=`Chromium OS`,W=`Mac OS`,te=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},K=function(e,t){return typeof e===l?q(t).indexOf(q(e))!==-1:!1},q=function(e){return e.toLowerCase()},ne=function(e){return typeof e===l?e.replace(/[^\d\.]/g,i).split(`.`)[0]:r},J=function(e,t){if(typeof e===l)return e=e.replace(/^\s\s*/,i),typeof t===s?e:e.substring(0,C)},Y=function(e,t){for(var n=0,i,a,s,l,u,d;n<t.length&&!u;){var f=t[n],p=t[n+1];for(i=a=0;i<f.length&&!u&&f[i];)if(u=f[i++].exec(e),u)for(s=0;s<p.length;s++)d=u[++a],l=p[s],typeof l===c&&l.length>0?l.length===2?typeof l[1]==o?this[l[0]]=l[1].call(this,d):this[l[0]]=l[1]:l.length===3?typeof l[1]===o&&!(l[1].exec&&l[1].test)?this[l[0]]=d?l[1].call(this,d,l[2]):r:this[l[0]]=d?d.replace(l[1],l[2]):r:l.length===4&&(this[l[0]]=d?l[3].call(this,d.replace(l[1],l[2])):r):this[l]=d||r;n+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(K(t[n][i],e))return n===a?r:n}else if(K(t[n],e))return n===a?r:n;return e},re={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},ie={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},ae={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[f,`Chrome`]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[f,`Edge`]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,h],[/opios[\/ ]+([\w\.]+)/i],[h,[f,I+` Mini`]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[f,I+` GX`]],[/\bopr\/([\w\.]+)/i],[h,[f,I]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[f,`Baidu`]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,h],[/\bddg\/([\w\.]+)/i],[h,[f,`DuckDuckGo`]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[f,`UC`+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[f,`WeChat`]],[/konqueror\/([\w\.]+)/i],[h,[f,`Konqueror`]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[f,`IE`]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[f,`Yandex`]],[/slbrowser\/([\w\.]+)/i],[h,[f,`Smart Lenovo `+O]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,`$1 Secure `+O],h],[/\bfocus\/([\w\.]+)/i],[h,[f,A+` Focus`]],[/\bopt\/([\w\.]+)/i],[h,[f,I+` Touch`]],[/coc_coc\w+\/([\w\.]+)/i],[h,[f,`Coc Coc`]],[/dolfin\/([\w\.]+)/i],[h,[f,`Dolphin`]],[/coast\/([\w\.]+)/i],[h,[f,I+` Coast`]],[/miuibrowser\/([\w\.]+)/i],[h,[f,`MIUI `+O]],[/fxios\/([-\w\.]+)/i],[h,[f,A]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,`360 `+O]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,`$1 `+O],h],[/samsungbrowser\/([\w\.]+)/i],[h,[f,L+` Internet`]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g,` `],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[f,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,`Sogou Mobile`],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,h],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,H],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[f,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[f,`TikTok`]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[f,k+` Headless`]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,k+` WebView`],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[f,`Android `+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[f,`Mobile Safari`]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[h,X,re]],[/(webkit|khtml)\/([\w\.]+)/i],[f,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,`Netscape`],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[f,A+` Reality`]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,h],[/(cobalt)\/([\w\.]+)/i],[f,[h,/master.|lts./,``]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,`amd64`]],[/(ia32(?=;))/i],[[g,q]],[/((?:i[346]|x)86)[;\)]/i],[[g,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,`armhf`]],[/windows (ce|mobile); ppc;/i],[[g,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,i,q]],[/(sun4\w)[;\)]/i],[[g,`sparc`]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[m,L],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,L],[p,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,T],[p,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,T],[p,y]],[/(macintosh);/i],[d,[m,T]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,R],[p,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,M],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,M],[p,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g,` `],[m,B],[p,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g,` `],[m,B],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[m,`OPPO`],[p,v]],[/\b(opd2\d{3}a?) bui/i],[d,[m,`OPPO`],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,`Vivo`],[p,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[m,`Realme`],[p,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[m,F],[p,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,F],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,N],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,N],[p,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,`Lenovo`],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g,` `],[m,`Nokia`],[p,v]],[/(pixel c)\b/i],[d,[m,j],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,j],[p,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[m,z],[p,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,`Xperia Tablet`],[m,z],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,`OnePlus`],[p,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,w],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,`Fire Phone $1`],[m,w],[p,v]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,D],[p,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,E],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,E],[p,v]],[/(nexus 9)/i],[d,[m,`HTC`],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g,` `],[p,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,`Acer`],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,`Meizu`],[p,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[m,`Ulefone`],[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,d,[p,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,d,[p,y]],[/(surface duo)/i],[d,[m,P],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,`Fairphone`],[p,v]],[/(u304aa)/i],[d,[m,`AT&T`],[p,v]],[/\bsie-(\w*)/i],[d,[m,`Siemens`],[p,v]],[/\b(rct\w+) b/i],[d,[m,`RCA`],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,`Dell`],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,`Verizon`],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,`Barnes & Noble`],[p,y]],[/\b(tm\d{3}\w+) b/i],[d,[m,`NuVision`],[p,y]],[/\b(k88) b/i],[d,[m,`ZTE`],[p,y]],[/\b(nx\d{3}j) b/i],[d,[m,`ZTE`],[p,v]],[/\b(gen\d{3}) b.+49h/i],[d,[m,`Swiss`],[p,v]],[/\b(zur\d{3}) b/i],[d,[m,`Swiss`],[p,y]],[/\b((zeki)?tb.*\b) b/i],[d,[m,`Zeki`],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,`Dragon Touch`],d,[p,y]],[/\b(ns-?\w{0,9}) b/i],[d,[m,`Insignia`],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,`NextBook`],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,`Voice`],d,[p,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,`LvTel`],d,[p,v]],[/\b(ph-1) /i],[d,[m,`Essential`],[p,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,`Envizen`],[p,y]],[/\b(trio[-\w\. ]+) b/i],[d,[m,`MachSpeed`],[p,y]],[/\btu_(1491) b/i],[d,[m,`Rotor`],[p,y]],[/(shield[\w ]+) b/i],[d,[m,`Nvidia`],[p,y]],[/(sprint) (\w+)/i],[m,d,[p,v]],[/(kin\.[onetw]{3})/i],[[d,/\./g,` `],[m,P],[p,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,V],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,V],[p,v]],[/smart-tv.+(samsung)/i],[m,[p,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,`SmartTV`],[m,L],[p,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,N],[p,b]],[/(apple) ?tv/i],[m,[d,T+` TV`],[p,b]],[/crkey/i],[[d,k+`cast`],[m,j],[p,b]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,w],[p,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,R],[p,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,z],[p,b]],[/(mitv-\w{5}) bui/i],[d,[m,B],[p,b]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[p,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,J],[d,J],[p,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[p,_]],[/droid.+; (shield) bui/i],[d,[m,`Nvidia`],[p,_]],[/(playstation [345portablevi]+)/i],[d,[m,z],[p,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,P],[p,_]],[/((pebble))app/i],[m,d,[p,x]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,T],[p,x]],[/droid.+; (glass) \d/i],[d,[m,j],[p,x]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,V],[p,x]],[/(quest( \d| pro)?)/i],[d,[m,H],[p,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[p,S]],[/(aeobc)\b/i],[d,[m,w],[p,S]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,v]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,`Generic`]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[f,ee+`HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[f,`Blink`]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[h,X,ie]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,X,ie],[f,`Windows`]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,`.`],[f,`iOS`]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[h,/_/g,`.`]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,h],[/\(bb(10);/i],[h,[f,D]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[f,`Symbian`]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[f,A+` OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[f,`webOS`]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[f,`watchOS`]],[/crkey\/([\d\.]+)/i],[h,[f,k+`cast`]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,U],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,h],[/(sunos) ?([\w\.\d]*)/i],[[f,`Solaris`],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,h]]},Z=function(e,t){if(typeof e===c&&(t=e,e=r),!(this instanceof Z))return new Z(e,t).getResult();var a=typeof n!==s&&n.navigator?n.navigator:r,_=e||(a&&a.userAgent?a.userAgent:i),b=a&&a.userAgentData?a.userAgentData:r,x=t?te(ae,t):ae,S=a&&a.userAgent==_;return this.getBrowser=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.browser),e[u]=ne(e[h]),S&&a&&a.brave&&typeof a.brave.isBrave==o&&(e[f]=`Brave`),e},this.getCPU=function(){var e={};return e[g]=r,Y.call(e,_,x.cpu),e},this.getDevice=function(){var e={};return e[m]=r,e[d]=r,e[p]=r,Y.call(e,_,x.device),S&&!e[p]&&b&&b.mobile&&(e[p]=v),S&&e[d]==`Macintosh`&&a&&typeof a.standalone!==s&&a.maxTouchPoints&&a.maxTouchPoints>2&&(e[d]=`iPad`,e[p]=y),e},this.getEngine=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.engine),e},this.getOS=function(){var e={};return e[f]=r,e[h]=r,Y.call(e,_,x.os),S&&!e[f]&&b&&b.platform&&b.platform!=`Unknown`&&(e[f]=b.platform.replace(/chrome os/i,U).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return _},this.setUA=function(e){return _=typeof e===l&&e.length>C?J(e,C):e,this},this.setUA(_),this};Z.BROWSER=G([f,h,u]),Z.CPU=G([g]),Z.DEVICE=G([d,m,p,_,v,b,y,x,S]),Z.ENGINE=Z.OS=G([f,h]),typeof e===s?typeof define===o&&define.amd?define(function(){return Z}):typeof n!==s&&(n.UAParser=Z):(typeof t!==s&&t.exports&&(e=t.exports=Z),e.UAParser=Z);var Q=typeof n!==s&&(n.jQuery||n.Zepto);if(Q&&!Q.ua){var $=new Z;Q.ua=$.getResult(),Q.ua.get=function(){return $.getUA()},Q.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)Q.ua[n]=t[n]}}})(typeof window==`object`?window:e)}));const s=r(),c=r();function l(){return i(`devtools:restart-dialogs`,()=>[])}var u;function d(e){u?.(e)}function f(e){u=e}var p=o();const m=t(localStorage.getItem(`__nuxt_dev_token__`)),h=t(!1);var g=new BroadcastChannel(`__nuxt_dev_token__`);g.addEventListener(`message`,e=>{if(e.data.event===`new-token`){if(e.data.data===m.value)return;let t=e.data.data;a.verifyAuthToken(t).then(e=>{m.value=e?t:null,h.value=e})}});function _(e){m.value=e,h.value=!0,localStorage.setItem(`__nuxt_dev_token__`,e),g.postMessage({event:`new-token`,data:e})}async function v(){if(h.value)return m.value;if(m.value||await x(),h.value=await a.verifyAuthToken(m.value),!h.value)throw m.value=null,d({message:`Invalid auth token, action canceled`,icon:`i-carbon-warning-alt`,classes:`text-red`}),await x(),Error(`[Nuxt DevTools] Invalid auth token`);return m.value}const y=new p.UAParser(navigator.userAgent).getResult();async function b(){let e=[y.browser.name,y.browser.version,`|`,y.os.name,y.os.version,y.device.type].filter(e=>e).join(` `);return await a.requestForAuth(e,window.location.origin)}async function x(){if(m.value||b(),await Promise.race([c.start(),n(m.value).toBeTruthy()])===!1)throw d({message:`Action canceled`,icon:`carbon-close`,classes:`text-orange`}),Error(`[Nuxt DevTools] User canceled auth`)}export{_ as a,d as c,l as d,b as i,c as l,v as n,y as o,h as r,f as s,m as t,s as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as e,W as t,dt as n,h as r,tn as i,v as a,w as o}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import{t as s}from"./head-c2jgvqd9.js";import{t as c}from"./nuxt-link-mev16ngd.js";import{t as l}from"./_plugin-vue_export-helper-dp8rxgcg.js";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=l({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(l){let g=l;return s({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,: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: }`}]}),(s,g)=>{let _=c;return t(),a(`div`,u,[r(`div`,d,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:i(l.status)},null,8,f),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:i(l.statusText)},null,8,p),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:i(l.description)},null,8,m),r(`div`,h,[o(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:n(()=>[e(i(l.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-8aed55ef`]]);export{g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-8aed55ef]{display:grid}.mb-2[data-v-8aed55ef]{margin-bottom:.5rem}.mb-4[data-v-8aed55ef]{margin-bottom:1rem}.max-w-520px[data-v-8aed55ef]{max-width:520px}.min-h-screen[data-v-8aed55ef]{min-height:100vh}.w-full[data-v-8aed55ef]{width:100%}.flex[data-v-8aed55ef]{display:flex}.place-content-center[data-v-8aed55ef]{place-content:center}.items-center[data-v-8aed55ef]{align-items:center}.justify-center[data-v-8aed55ef]{justify-content:center}.overflow-hidden[data-v-8aed55ef]{overflow:hidden}.bg-white[data-v-8aed55ef]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-8aed55ef]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-8aed55ef]{text-align:center}.text-\[80px\][data-v-8aed55ef]{font-size:80px}.text-2xl[data-v-8aed55ef]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-8aed55ef]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-8aed55ef]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-8aed55ef]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-8aed55ef]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-8aed55ef]{font-weight:500}.font-semibold[data-v-8aed55ef]{font-weight:600}.leading-none[data-v-8aed55ef]{line-height:1}.tracking-wide[data-v-8aed55ef]{letter-spacing:.025em}.font-sans[data-v-8aed55ef]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-8aed55ef]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-8aed55ef]{text-decoration-line:underline}.underline-offset-3[data-v-8aed55ef]{text-underline-offset:3px}.antialiased[data-v-8aed55ef]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-8aed55ef]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-8aed55ef]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (width>=640px){.sm\:text-\[110px\][data-v-8aed55ef]{font-size:110px}.sm\:text-3xl[data-v-8aed55ef]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{W as e,h as t,tn as n,v as r}from"./vendor/json-editor-vue-hkofgjf7.js";import"./nuxt-bfozs29x.js";import{t as i}from"./head-c2jgvqd9.js";import{t as a}from"./_plugin-vue_export-helper-dp8rxgcg.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,: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: }`}]}),(i,d)=>(e(),r(`div`,o,[t(`div`,s,[t(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(a.status)},null,8,c),t(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(a.statusText)},null,8,l),t(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-009b917f`]]);export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.grid[data-v-009b917f]{display:grid}.mb-2[data-v-009b917f]{margin-bottom:.5rem}.mb-4[data-v-009b917f]{margin-bottom:1rem}.max-w-520px[data-v-009b917f]{max-width:520px}.min-h-screen[data-v-009b917f]{min-height:100vh}.place-content-center[data-v-009b917f]{place-content:center}.overflow-hidden[data-v-009b917f]{overflow:hidden}.bg-white[data-v-009b917f]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-009b917f]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-009b917f]{text-align:center}.text-\[80px\][data-v-009b917f]{font-size:80px}.text-2xl[data-v-009b917f]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-009b917f]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-009b917f]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-009b917f]{font-weight:600}.leading-none[data-v-009b917f]{line-height:1}.tracking-wide[data-v-009b917f]{letter-spacing:.025em}.font-sans[data-v-009b917f]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-009b917f]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-009b917f]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-009b917f]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-009b917f]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (width>=640px){.sm\:text-\[110px\][data-v-009b917f]{font-size:110px}.sm\:text-3xl[data-v-009b917f]{font-size:1.875rem;line-height:2.25rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{W as e,X as t,v as n}from"./vendor/json-editor-vue-hkofgjf7.js";import{t as r}from"./_plugin-vue_export-helper-dp8rxgcg.js";var i={},a={"h-full":``,"of-auto":``};function o(r,i){return e(),n(`div`,a,[t(r.$slots,`default`)])}var s=r(i,[[`render`,o]]);export{s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{At as e,Ct as t,D as n,I as r,M as i,R as a,j as o,lt as s,vt as c,z as l}from"./vendor/json-editor-vue-hkofgjf7.js";import{i as u}from"./nuxt-bfozs29x.js";var d=new Set([`link`,`style`,`script`,`noscript`]),f=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),p=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),m=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),h=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),g=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),_=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),v=new Set([`theme-color`,`google-site-verification`,`og`,`article`,`book`,`profile`,`twitter`,`author`]),y=[`name`,`property`,`http-equiv`],b=new Set([`viewport`,`description`,`keywords`,`robots`]);function x(e){let t=e.split(`:`);return t.length?v.has(t[1]):!1}function S(e){let{props:t,tag:n}=e;if(h.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;let r=t.hreflang||t.type;if(n===`link`&&t.rel===`alternate`&&r)return`alternate:${r}`;if(t.charset)return`charset`;if(e.tag===`meta`){for(let r of y)if(t[r]!==void 0){let i=t[r],a=i&&typeof i==`string`&&i.includes(`:`),o=i&&b.has(i);return`${n}:${i}${!(a||o)&&e.key?`:key:${e.key}`:``}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(f.has(n)){let t=e.textContent||e.innerHTML;if(t)return`${n}:content:${t}`}}function C(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(`,`)}`}function w(e,t,n){typeof e==`function`&&(!n||n!==`titleTemplate`&&!(n[0]===`o`&&n[1]===`n`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r))return r.map(e=>w(e,t));if(r?.constructor===Object){let e={};for(let n of Object.keys(r))e[n]=w(r[n],t,n);return e}return r}function T(e,t){let n=e===`style`?new Map:new Set;function r(t){if(t==null||t===void 0)return;let r=String(t).trim();if(r)if(e===`style`){let[e,...t]=r.split(`:`).map(e=>e?e.trim():``);e&&t.length&&n.set(e,t.join(`:`))}else r.split(` `).filter(Boolean).forEach(e=>n.add(e))}return typeof t==`string`?e===`style`?t.split(`;`).forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&typeof t==`object`&&Object.entries(t).forEach(([t,i])=>{i&&i!==`false`&&(e===`style`?n.set(String(t).trim(),String(i)):r(t))}),n}function E(e,t){return e.props=e.props||{},t?e.tag===`templateParams`?(e.props=t,e):(Object.entries(t).forEach(([n,r])=>{if(r===null){e.props[n]=null;return}if(n===`class`||n===`style`){e.props[n]=T(n,r);return}if(g.has(n)){if([`textContent`,`innerHTML`].includes(n)&&typeof r==`object`){let i=t.type;if(t.type||(i=`application/json`),!i?.endsWith(`json`)&&i!==`speculationrules`)return;t.type=i,e.props.type=i,e[n]=JSON.stringify(r)}else e[n]=r;return}let i=String(r),a=n.startsWith(`data-`),o=e.tag===`meta`&&n===`content`;i===`true`||i===``?e.props[n]=a||o?i:!0:!r&&a&&i===`false`?e.props[n]=`false`:r!==void 0&&(e.props[n]=r)}),e):e}function D(e,t){let n=E({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});return n.key&&d.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)?n.props.content.map(e=>({...n,props:{...n.props,content:e}})):n}function O(e,t){if(!e)return[];typeof e==`function`&&(e=e());let n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n};e=n(void 0,e);let r=[];return e=w(e,n),Object.entries(e||{}).forEach(([e,t])=>{if(t!==void 0)for(let n of Array.isArray(t)?t:[t])r.push(D(e,n))}),r.flat()}var k=(t,n)=>c(n)?e(n):n,A=`usehead`;function j(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(A,e)}}.install}function M(){if(o()){let e=i(A);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function N(e,t={}){let n=t.head||M();return n.ssr?n.push(e||{},t):P(n,e,t)}function P(e,i,o={}){let c=t(!1),u;return s(()=>{let t=c.value?{}:w(i,k);u?u.patch(t):u=e.push(t,o)}),n()&&(a(()=>{u.dispose()}),l(()=>{c.value=!0}),r(()=>{c.value=!1})),u}function F(e){let t=e||u();return t.ssrContext?.head||t.runWithContext(()=>{if(o()){let e=i(`usehead`);if(!e)throw Error(`[nuxt] [unhead] Missing Unhead instance.`);return e}})}function I(e,t={}){return N(e,{head:t.head||F(t.nuxt),...t})}export{x as a,p as c,C as i,_ as l,j as n,O as o,S as r,E as s,I as t,m as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as e,Ct as t,E as n,Mt as r,Qt as i,W as a,Y as o,_ as s,c,dt as l,en as u,g as d,h as f,m as p,tn as m,v as h,w as g}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import{u as _}from"./state-dkywakbf.js";import{r as v}from"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import"./storage-options-owy2vf04.js";import"./nuxt-link-mev16ngd.js";import{t as y}from"./_plugin-vue_export-helper-dp8rxgcg.js";import"./nicon-m5br9nvg.js";import"./nbutton-oi1rfqiz.js";import{t as b}from"./composables-cwesk2q8.js";import{t as x}from"./help-fab-oc1qudll.js";import"./nicon-title-e35pdr21.js";import{t as S}from"./nsection-block-l0c6dpg8.js";import{t as C}from"./color-b9xoe9j2.js";import{t as w}from"./duration-display-20xlusue.js";var T={"w-full":``},E={border:`b base`},D={"select-none":``,"ws-nowrap":``,p1:``,"text-right":``,"font-bold":``},O={colspan:`2`,p1:``,pl5:``,"text-left":``,"font-bold":``},k={"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},A={"ws-nowrap":``,p1:``,"text-center":``,"font-bold":``},j={"ws-nowrap":``,p1:``,"text-right":``,"font-bold":``},M={"w-0":``,"ws-nowrap":``,"text-center":``,"text-sm":``,op25:``},N={"text-sm":``},P={"ws-nowrap":``},F={"text-sm":``},I={"w-0":``,"text-center":``,"text-sm":``},L={"w-0":``,"text-center":``,"text-sm":``},R={"w-0":``,"text-right":``,"text-sm":``},z=n({__name:`HooksTable`,props:{hooks:{}},setup(n){let s=n,l=t(`duration`),d=t(`asc`),_={duration:(e,t)=>(t.duration??1/0)-(e.duration??1/0),name:(e,t)=>e.name.localeCompare(t.name),listener:(e,t)=>t.listeners-e.listeners,start:(e,t)=>t.start-e.start,executions:(e,t)=>t.executions.length-e.executions.length},v=p(()=>s.hooks.map(e=>e.start).sort((e,t)=>e-t)),y=p(()=>{let e=_[l.value],t=s.hooks.toSorted(e);return d.value===`desc`&&t.reverse(),t});function b(e){let t=e.split(`:`);return t.length===1?``:`${t[0]}:`}function x(e){let t=e.split(`:`);return t.length===1?e:t.slice(1).join(`:`)}function S(e){l.value===e?d.value=d.value===`asc`?`desc`:`asc`:l.value=e}return(t,n)=>{let s=w;return a(),h(`table`,T,[f(`thead`,E,[f(`tr`,null,[f(`th`,D,[f(`button`,{onClick:n[0]||=e=>S(`start`)},[n[5]||=e(` Order `,-1),f(`div`,{"ml--1":``,"text-xs":``,class:i([l.value===`start`?`op50`:`op0`,d.value===`asc`?`carbon-arrow-down`:`carbon-arrow-up`])},null,2)])]),f(`th`,O,[f(`button`,{onClick:n[1]||=e=>S(`name`)},[n[6]||=e(` Hook name `,-1),f(`div`,{"ml--1":``,"text-xs":``,class:i([l.value===`name`?`op50`:`op0`,d.value===`asc`?`carbon-arrow-down`:`carbon-arrow-up`])},null,2)])]),f(`th`,k,[f(`button`,{onClick:n[2]||=e=>S(`listener`)},[n[7]||=e(` Listeners `,-1),f(`div`,{"ml--1":``,"text-xs":``,class:i([l.value===`listener`?`op50`:`op0`,d.value===`asc`?`carbon-arrow-down`:`carbon-arrow-up`])},null,2)])]),f(`th`,A,[f(`button`,{onClick:n[3]||=e=>S(`executions`)},[n[8]||=e(` Executions `,-1),f(`div`,{"ml--1":``,"text-xs":``,class:i([l.value===`executions`?`op50`:`op0`,d.value===`asc`?`carbon-arrow-down`:`carbon-arrow-up`])},null,2)])]),f(`th`,j,[f(`button`,{onClick:n[4]||=e=>S(`duration`)},[n[9]||=e(` Duration `,-1),f(`div`,{"ml--1":``,"text-xs":``,class:i([l.value===`duration`?`op50`:`op0`,d.value===`asc`?`carbon-arrow-down`:`carbon-arrow-up`])},null,2)])])])]),f(`tbody`,null,[(a(!0),h(c,null,o(y.value,e=>(a(),h(`tr`,{key:e.name,border:`b dashed transparent hover:base`},[f(`td`,M,m(v.value.indexOf(e.start)),1),f(`td`,{"w-0":``,"ws-nowrap":``,"text-right":``,style:u({color:(`getHslColorFromStringHash`in t?t.getHslColorFromStringHash:r(C))(b(e.name))})},[f(`code`,N,m(b(e.name)),1)],4),f(`td`,P,[f(`code`,F,m(x(e.name)),1)]),f(`td`,I,m(e.listeners),1),f(`td`,L,m(e.executions.length+1),1),f(`td`,R,[g(s,{duration:e.duration},null,8,[`duration`])])]))),128))])])}}}),B=Object.assign(z,{__name:`HooksTable`}),V={},H={class:`markdown-body`};function U(t,n){return a(),h(`div`,H,[...n[0]||=[f(`template`,null,[f(`div`,{class:`markdown-body`},[f(`h1`,null,`Hooks`),f(`p`,null,[e(`Hooks are an advanced API which can be used for module development or other advanced use cases. The hooking API can be used to expand almost every aspect of Nuxt. Under the hood it is powered by `),f(`a`,{href:`https://github.com/unjs/hookable`,target:`_blank`,rel:`noopener`},`unjs/hookable`),e(`.`)]),f(`p`,null,[f(`a`,{href:`https://nuxt.com/docs/guide/going-further/hooks`,target:`_blank`,rel:`noopener`},`Learn more about hooks`),e(`.`)])])],-1)]])}var W=y(V,[[`render`,U]]),G=n({__name:`hooks`,setup(e){b({icon:`carbon-ibm-cloud-direct-link-2-connect`,title:`Hooks`,category:`advanced`});let t=_(),n=v(),i=p(()=>n.value?.metrics.clientHooks());return(e,n)=>{let o=B,u=S,p=W,m=x;return a(),h(c,null,[f(`div`,null,[i.value?.length?(a(),d(u,{key:0,icon:`carbon-ibm-cloud-direct-link-1-dedicated-hosting`,text:`Client Hooks`,description:`Total hooks: ${i.value.length}`,padding:`pl4 pr6`},{default:l(()=>[g(o,{hooks:i.value},null,8,[`hooks`])]),_:1},8,[`description`])):s(``,!0),r(t)?.length?(a(),d(u,{key:1,icon:`carbon-ibm-cloud-direct-link-2-dedicated`,text:`Server Hooks`,description:`Total hooks: ${r(t)?.length}`,padding:`pl4 pr6`},{default:l(()=>[g(o,{hooks:r(t)},null,8,[`hooks`])]),_:1},8,[`description`])):s(``,!0)]),g(m,null,{default:l(()=>[g(p)]),_:1})],64)}}});export{G as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ct as e,E as t,Mt as n,W as r,Y as i,_ as a,c as o,dt as s,g as c,h as l,m as u,tn as d,v as f,w as p}from"./vendor/json-editor-vue-hkofgjf7.js";import"./ready-szdlhgcr.js";import"./nuxt-bfozs29x.js";import"./head-c2jgvqd9.js";import{T as m,c as h,n as g,w as _,x as v}from"./state-dkywakbf.js";import"./client-s5g5n0ac.js";import"./vendor/shiki-niqic03h.js";import"./storage-options-owy2vf04.js";import"./dev-auth-j4vxv6a1.js";import"./nuxt-link-mev16ngd.js";import{t as y}from"./_plugin-vue_export-helper-dp8rxgcg.js";import{t as b}from"./nicon-m5br9nvg.js";import"./nbutton-oi1rfqiz.js";import"./state-routes-m6gv5n9v.js";import"./telemetry-bagjjni2.js";import"./ntext-input-ngomk0u2.js";import{s as x}from"#entry";import"./client-lh91kcpv.js";import{t as S}from"./composables-cwesk2q8.js";import{t as C}from"./filepath-item-fnp9jxof.js";import{t as w}from"./help-fab-oc1qudll.js";import{t as T}from"./nnavbar-n3j7iul1.js";import"./nicon-title-e35pdr21.js";import{t as E}from"./nsection-block-l0c6dpg8.js";import{t as D}from"./nselect-tabs-if6er1us.js";import"./nmarkdown-nct1w6kn.js";import{t as O}from"./composable-item-b09pj4ca.js";var k={flex:`~ wrap gap2`,p2:``,pl4:``},A=t({__name:`ComposableTree`,props:{map:{},root:{},metadata:{}},setup(e){return(t,n)=>{let a=C,s=O;return r(),f(`div`,null,[(r(!0),f(o,null,i(e.map.entries(),([t,n])=>(r(),f(`div`,{key:t},[p(a,{filepath:t,op50:``,"hover:underline":``},null,8,[`filepath`]),l(`div`,k,[(r(!0),f(o,null,i(n,n=>(r(),c(s,{key:n.as,item:n,metadata:e.metadata,"is-directive":n.meta?.vueDirective===!0,filepath:t.match(/^[\w@]/)?void 0:t},null,8,[`item`,`metadata`,`is-directive`,`filepath`]))),128))])]))),128))])}}}),j=Object.assign(A,{__name:`ComposableTree`}),M={key:0,flex:`~ col gap-2 items-start`},N=t({__name:`HelpImportsDirs`,setup(e){let t=g();return(e,s)=>{let l=C;return n(t)?.dirs?(r(),f(`div`,M,[(r(!0),f(o,null,i(n(t).dirs,e=>(r(),c(l,{key:e,filepath:e,"text-primary":``},null,8,[`filepath`]))),128))])):a(``,!0)}}}),P=Object.assign(N,{__name:`HelpImportsDirs`}),F={flex:`~ gap-2 wrap`,mb6:``},I=t({__name:`HelpImportsModules`,setup(e){let t=g(),n=u(()=>[...new Set(t.value?.imports.map(e=>v(e.from)).filter(e=>!!e&&!_(e)))]);return(e,t)=>(r(),f(`div`,F,[(r(!0),f(o,null,i(n.value,e=>(r(),f(`code`,{key:e,rounded:``,"bg-primary:5":``,p:`x2 y0.5`,"text-primary":``},d(e),1))),128))]))}}),L=Object.assign(I,{__name:`HelpImportsModules`}),R={},z={class:`markdown-body`},B={class:`markdown-body`};function V(e,t){let n=P,i=L;return r(),f(`div`,z,[l(`template`,null,[l(`div`,B,[t[0]||=l(`h1`,null,`Auto imports`,-1),t[1]||=l(`p`,null,`Nuxt auto-imports helper functions, composables and Vue APIs to be used across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own components, composables and plugins. Components, composables or plugins can use these functions.`,-1),t[2]||=l(`hr`,null,null,-1),t[3]||=l(`p`,null,`According to your config, exports of files under the following folders will be registed as auto-imports entry:`,-1),p(n),t[4]||=l(`p`,null,`Meanwhile, modules could also provide auto-imports for their own components. You have auto-imports from the following modules as well:`,-1),p(i),t[5]||=l(`hr`,null,null,-1),t[6]||=l(`p`,null,[l(`a`,{href:`https://nuxt.com/docs/guide/concepts/auto-imports`,target:`_blank`,rel:`noopener`},`Learn more in the documentation`)],-1),t[7]||=l(`h2`,null,`Directives`,-1),t[8]||=l(`p`,null,`Directives placed in the directives/ directory are automatically registered by Nuxt. They can be used in your templates without importing them.`,-1),t[9]||=l(`p`,null,[l(`a`,{href:`https://nuxt.com/docs/guide/directory-structure/directives`,target:`_blank`,rel:`noopener`},`Learn more in the documentation`)],-1)])])])}var H=y(R,[[`render`,V]]),U={key:0,relative:``,"h-full":``,"of-auto":``},W={key:0,flex:`~ gap-2 items-center lt-sm:col lt-sm:items-start`},G=t({__name:`imports`,setup(t){S({icon:`carbon-function`,title:`Imports`,order:4});let i=h(),l=e(`all`),d=e(`all`),y=e(``),C=g(),O=u(()=>C.value?.metadata),k=u(()=>C.value?.imports.filter(e=>e.as||e.name).sort((e,t)=>(e.as||e.name).localeCompare(t.as||t.name))||[]),A=u(()=>new x(k.value,{keys:[`from`,`as`,`name`]})),M=u(()=>{let e=new Map,t=new Map,n=new Map,r=y.value?A.value.search(y.value).map(e=>e.item):k.value,i=d.value;i===`composables`?r=r.filter(e=>e.meta?.vueDirective!==!0):i===`directives`&&(r=r.filter(e=>e.meta?.vueDirective===!0)),l.value===`using`&&O.value?r=r.filter(e=>(e.as||e.name)in O.value.injectionUsage):l.value===`not-used`&&O.value&&(r=r.filter(e=>!((e.as||e.name)in O.value.injectionUsage)));let a={user:0,lib:0,builtin:0};return r.forEach(r=>{let i=m(r.from)?_(v(r.from))?n:t:e;i.has(r.from)||i.set(r.from,[]),i.get(r.from).push(r),a[i===e?`user`:i===t?`lib`:`builtin`]++}),{user:e,lib:t,builtin:n,count:a}}),N=u(()=>d.value===`directives`?`${M.value.count.user} directives from ${M.value.user.size} modules`:`${M.value.count.user} composables from ${M.value.user.size} modules`),P=u(()=>d.value===`directives`?`${M.value.count.builtin} directives`:`${M.value.count.builtin} composables`),F=u(()=>d.value===`directives`?`${M.value.count.lib} directives from ${M.value.lib.size} packages`:`${M.value.count.lib} composables from ${M.value.lib.size} packages`);return(e,t)=>{let u=b,m=D,h=T,g=j,_=E,v=H,x=w;return r(),f(o,null,[n(i)?(r(),f(`div`,U,[p(h,{search:y.value,"onUpdate:search":t[2]||=e=>y.value=e,pb3:``},{default:s(()=>[O.value?(r(),f(`div`,W,[p(u,{icon:`carbon-filter`,op50:``}),p(m,{modelValue:l.value,"onUpdate:modelValue":t[0]||=e=>l.value=e,n:`primary sm`,options:[{label:`All`,value:`all`},{label:`Using`,value:`using`},{label:`Not used`,value:`not-used`}]},null,8,[`modelValue`]),p(m,{modelValue:d.value,"onUpdate:modelValue":t[1]||=e=>d.value=e,n:`primary sm`,options:[{label:`All`,value:`all`},{label:`Composables`,value:`composables`},{label:`Directives`,value:`directives`}]},null,8,[`modelValue`])])):a(``,!0)]),_:1},8,[`search`]),M.value.user.size?(r(),c(_,{key:0,open:M.value.count.user<=n(50),icon:d.value===`directives`?`tabler:hexagon-letter-d`:`carbon-function`,text:`User ${d.value===`directives`?`directives`:`composables`}`,description:N.value},{default:s(()=>[p(g,{map:M.value.user,root:n(i).rootDir,metadata:O.value},null,8,[`map`,`root`,`metadata`])]),_:1},8,[`open`,`icon`,`text`,`description`])):a(``,!0),M.value.builtin.size?(r(),c(_,{key:1,open:M.value.count.builtin<=n(50),icon:`simple-icons-nuxtdotjs`,text:`Built-in ${d.value===`directives`?`directives`:`composables`}`,description:P.value},{default:s(()=>[p(g,{map:M.value.builtin,root:n(i).rootDir,metadata:O.value},null,8,[`map`,`root`,`metadata`])]),_:1},8,[`open`,`text`,`description`])):a(``,!0),M.value.lib.size?(r(),c(_,{key:2,open:M.value.count.lib<=n(50),icon:`carbon-3d-mpr-toggle`,text:`${d.value===`directives`?`Directives`:`Composables`} from libraries`,description:F.value},{default:s(()=>[p(g,{map:M.value.lib,root:n(i).rootDir,metadata:O.value},null,8,[`map`,`root`,`metadata`])]),_:1},8,[`open`,`text`,`description`])):a(``,!0)])):a(``,!0),p(x,null,{default:s(()=>[p(v)]),_:1})],64)}}});export{G as default};
|