site-panzai/node_modules/@nuxt/devtools/dist/client/_nuxt/utils-ivfwadyv.js

1 line
18 KiB
JavaScript
Raw Normal View History

2026-11-13 13:57:04 +01:00
import{_ as e,a as t,d as n,g as r,u as i,v as a}from"./nuxt-l2zm4y7d.js";import{At as o,Ct as s,E as c,Et as l,F as u,H as d,J as f,K as p,L as m,Mt as h,Ot as g,T as _,V as v,Wt as y,_ as b,bt as x,ct as S,f as C,gt as w,j as T,jt as E,k as D,p as O,vt as k,xt as A}from"./vendor/json-editor-vue-9tyg6b65.js";import{u as j,vt as ee}from"./ready-e441jhq2.js";import{a as M}from"./dist-oig3mfzy.js";import{t as te}from"./dist-mm0tu78r.js";import"./head-hqcgxe55.js";import{U as ne,h as N,l as P,o as re,r as ie,u as ae,w as oe}from"./client-kfvz1zfh.js";var se=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config,F=()=>se().app,ce=()=>F().baseURL,le=()=>F().buildAssetsDir,I=(...e)=>M(L(),le(),...e),L=(...e)=>{let t=F(),n=t.cdnURL||t.baseURL;return e.length?M(n,...e):n};globalThis.__buildAssetsURL=I,globalThis.__publicAssetsURL=L,globalThis.$fetch||(globalThis.$fetch=te.create({baseURL:ce()}));var R=globalThis.$fetch,ue=/^[A-Za-z]:\//;function de(e=``){return e&&e.replace(/\\/g,`/`).replace(ue,e=>e.toUpperCase())}var fe=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,z=/^\/([A-Za-z]:)?$/;function pe(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}var B=function(...e){e=e.map(e=>de(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:pe();i&&i.length!==0&&(t=`${i}/${t}`,n=V(i))}return t=me(t,!n),n&&!V(t)?`/${t}`:t.length>0?t:`.`};function me(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(i!==s-1&&a!==1){if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1}i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var V=function(e){return fe.test(e)},he=function(e,t){let n=B(e).replace(z,`$1`).split(`/`),r=B(t).replace(z,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)};function H(e=c()){let t=e;t&&!t.sp&&(t.sp=[])}function ge(e){let t=e.length,n=0,r=0,i=8997,a=0,o=33826,s=0,c=40164,l=0,u=52210;for(;n<t;)i^=e.charCodeAt(n++),r=i*435,a=o*435,s=c*435,l=u*435,s+=i<<8,l+=o<<8,a+=r>>>16,i=r&65535,s+=a>>>16,o=a&65535,u=l+(s>>>16)&65535,c=s&65535;return{high:(u<<16|c)>>>0,low:(o<<16|i)>>>0}}function _e(e){let{high:t,low:n}=ge(e);return BigInt(t)<<32n|BigInt(n)}var U=`0123456789abcdef`;Array.from({length:256},(e,t)=>U.charAt(t>>4)+U.charAt(t&15));function ve(e){return _e(e).toString(36)}function W(e,t){if(e===null)return`L`;let n,r=0,i=e,a=typeof e;if(a!==`object`)return a===`number`?e-e===0?`n`+e:`L`:a===`string`?`s`+e:a===`bigint`?`n`+e:a===`boolean`?e?`T`:`F`:void 0;let o=Array.isArray(e);if(!o){if(e instanceof Date)return`d`+ +e;if(e instanceof RegExp)return`r`+e.source+e.flags}if(a=t.indexOf(e),~a)return`~`+(a+1);if(typeof e.toJSON==`function`&&!ArrayBuffer.isView(e)){if(e=e.toJSON(),typeof e!=`object`||!e)return W(e,t);if(a=t.indexOf(e),~a)return`~`+(a+1);o=Array.isArray(e)}if(t.push(i),o)for(n=`a`;r<e.length;n+=(a=W(e[r++],t))===void 0?`L`:a);else if(e instanceof Set){n=`e`;for(let r of e)n+=(a=W(r,t))===void 0?`L`:a}else if(e instanceof Map)for(i=[...e.keys()],i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=W(e.get(i[r]),t))!==void 0&&(n+=i[r]+a);else if(e[Symbol.toStringTag]===void 0||ArrayBuffer.isView(e))for(i=Object.keys(e),i.length>1&&i.sort(),n=`o`;r<i.length;r++)(a=W(e[i[r]],t))!==void 0&&(n+=i[r]+a);else throw Error(`Unsupported value`);return t.pop(),n}function ye(e){return W(e,[])??`U`}function G(e){return ve(ye(e))}function be(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=xe(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,f(()=>{r=!1;let