diff --git a/404.html b/404.html index 20f6e35..b25955a 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ Dependency Analyzer - + diff --git a/assets/app-14ea5fb5.js b/assets/app-608daff4.js similarity index 99% rename from assets/app-14ea5fb5.js rename to assets/app-608daff4.js index c60caca..4be3b1a 100644 --- a/assets/app-14ea5fb5.js +++ b/assets/app-608daff4.js @@ -1 +1 @@ -import{B as ae,r as P,C as Me,D as ke,u as xe,E as Le,G as oe,H as Ve,m as Se,I as Fe,J as Ee,K as M,e as I,l as ze,k as Q,L as Be}from"./index-bcef41cf.js";function q(e){return Me()?(ke(e),!0):!1}function te(){const e=new Set,n=r=>{e.delete(r)};return{on:r=>{e.add(r);const o=()=>n(r);return q(o),{off:o}},off:n,trigger:r=>Promise.all(Array.from(e).map(o=>o(r)))}}function T(e){return typeof e=="function"?e():xe(e)}const le=typeof window<"u",$e=()=>{};function He(e,n){function t(...a){return new Promise((r,o)=>{Promise.resolve(e(()=>n.apply(this,a),{fn:n,thisArg:this,args:a})).then(r).catch(o)})}return t}const Te=e=>e();function Re(e=Te){const n=P(!0);function t(){n.value=!1}function a(){n.value=!0}const r=(...o)=>{n.value&&e(...o)};return{isActive:oe(n),pause:t,resume:a,eventFilter:r}}function ue(e,n=!1,t="Timeout"){return new Promise((a,r)=>{setTimeout(n?()=>r(t):a,e)})}function We(e,...n){return n.some(t=>t in e)}function Y(...e){if(e.length!==1)return Le(...e);const n=e[0];return typeof n=="function"?oe(Ve(()=>({get:n,set:$e}))):P(n)}function je(e,n=!0){Se()?Fe(e):n?e():Ee(e)}function re(e,n=!1){function t(s,{flush:v="sync",deep:d=!1,timeout:p,throwOnTimeout:y}={}){let _=null;const j=[new Promise(S=>{_=M(e,g=>{s(g)!==n&&(_==null||_(),S(g))},{flush:v,deep:d,immediate:!0})})];return p!=null&&j.push(ue(p,y).then(()=>T(e)).finally(()=>_==null?void 0:_())),Promise.race(j)}function a(s,v){if(!ae(s))return t(g=>g===s,v);const{flush:d="sync",deep:p=!1,timeout:y,throwOnTimeout:_}=v??{};let i=null;const S=[new Promise(g=>{i=M([e,s],([O,C])=>{n!==(O===C)&&(i==null||i(),g(O))},{flush:d,deep:p,immediate:!0})})];return y!=null&&S.push(ue(y,_).then(()=>T(e)).finally(()=>(i==null||i(),T(e)))),Promise.race(S)}function r(s){return t(v=>!!v,s)}function o(s){return a(null,s)}function l(s){return a(void 0,s)}function u(s){return t(Number.isNaN,s)}function f(s,v){return t(d=>{const p=Array.from(d);return p.includes(s)||p.includes(T(s))},v)}function m(s){return h(1,s)}function h(s=1,v){let d=-1;return t(()=>(d+=1,d>=s),v)}return Array.isArray(T(e))?{toMatch:t,toContains:f,changed:m,changedTimes:h,get not(){return re(e,!n)}}:{toMatch:t,toBe:a,toBeTruthy:r,toBeNull:o,toBeNaN:u,toBeUndefined:l,changed:m,changedTimes:h,get not(){return re(e,!n)}}}function qe(e){return re(e)}function Je(e,n,t={}){const{immediate:a=!0}=t,r=P(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function u(){r.value=!1,l()}function f(...m){l(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...m)},T(n))}return a&&(r.value=!0,le&&f()),q(u),{isPending:oe(r),start:f,stop:u}}function Ue(e=!1,n={}){const{truthyValue:t=!0,falsyValue:a=!1}=n,r=ae(e),o=P(e);function l(u){if(arguments.length)return o.value=u,o.value;{const f=T(t);return o.value=o.value===f?T(a):f,o.value}}return r?l:[o,l]}var ce=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Qe=(e,n)=>{var t={};for(var a in e)Ge.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&ce)for(var a of ce(e))n.indexOf(a)<0&&Ke.call(e,a)&&(t[a]=e[a]);return t};function Ye(e,n,t={}){const a=t,{eventFilter:r=Te}=a,o=Qe(a,["eventFilter"]);return M(e,He(r,n),o)}var Xe=Object.defineProperty,Ze=Object.defineProperties,et=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,fe=(e,n,t)=>n in e?Xe(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,tt=(e,n)=>{for(var t in n||(n={}))Ce.call(n,t)&&fe(e,t,n[t]);if(X)for(var t of X(n))Ae.call(n,t)&&fe(e,t,n[t]);return e},nt=(e,n)=>Ze(e,et(n)),rt=(e,n)=>{var t={};for(var a in e)Ce.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&X)for(var a of X(e))n.indexOf(a)<0&&Ae.call(e,a)&&(t[a]=e[a]);return t};function at(e,n,t={}){const a=t,{eventFilter:r}=a,o=rt(a,["eventFilter"]),{eventFilter:l,pause:u,resume:f,isActive:m}=Re(r);return{stop:Ye(e,n,nt(tt({},o),{eventFilter:l})),pause:u,resume:f,isActive:m}}function Z(e){var n;const t=T(e);return(n=t==null?void 0:t.$el)!=null?n:t}const V=le?window:void 0,ot=le?window.document:void 0;function W(...e){let n,t,a,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,a,r]=e,n=V):[n,t,a,r]=e,!n)return $e;Array.isArray(t)||(t=[t]),Array.isArray(a)||(a=[a]);const o=[],l=()=>{o.forEach(h=>h()),o.length=0},u=(h,s,v,d)=>(h.addEventListener(s,v,d),()=>h.removeEventListener(s,v,d)),f=M(()=>[Z(n),T(r)],([h,s])=>{l(),h&&o.push(...t.flatMap(v=>a.map(d=>u(h,v,d,s))))},{immediate:!0,flush:"post"}),m=()=>{f(),l()};return q(m),m}function lt(){const e=P(!1);return Se()&&Fe(()=>{e.value=!0}),e}function De(e){const n=lt();return I(()=>(n.value,!!e()))}function Ne(e,n={}){const{window:t=V}=n,a=De(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let r;const o=P(!1),l=m=>{o.value=m.matches},u=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",l):r.removeListener(l))},f=ze(()=>{a.value&&(u(),r=t.matchMedia(T(e)),"addEventListener"in r?r.addEventListener("change",l):r.addListener(l),o.value=r.matches)});return q(()=>{f(),u(),r=void 0}),o}const G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},K="__vueuse_ssr_handlers__",it=st();function st(){return K in G||(G[K]=G[K]||{}),G[K]}function Ie(e,n){return it[e]||n}function ut(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 ct=Object.defineProperty,de=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,pe=(e,n,t)=>n in e?ct(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ve=(e,n)=>{for(var t in n||(n={}))ft.call(n,t)&&pe(e,t,n[t]);if(de)for(var t of de(n))dt.call(n,t)&&pe(e,t,n[t]);return e};const pt={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()}},me="vueuse-storage";function vt(e,n,t,a={}){var r;const{flush:o="pre",deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:f=!0,mergeDefaults:m=!1,shallow:h,window:s=V,eventFilter:v,onError:d=c=>{console.error(c)}}=a,p=(h?Q:P)(n);if(!t)try{t=Ie("getDefaultStorage",()=>{var c;return(c=V)==null?void 0:c.localStorage})()}catch(c){d(c)}if(!t)return p;const y=T(n),_=ut(y),i=(r=a.serializer)!=null?r:pt[_],{pause:j,resume:S}=at(p,()=>g(p.value),{flush:o,deep:l,eventFilter:v});return s&&u&&(W(s,"storage",A),W(s,me,C)),A(),p;function g(c){try{if(c==null)t.removeItem(e);else{const w=i.write(c),b=t.getItem(e);b!==w&&(t.setItem(e,w),s&&s.dispatchEvent(new CustomEvent(me,{detail:{key:e,oldValue:b,newValue:w,storageArea:t}})))}}catch(w){d(w)}}function O(c){const w=c?c.newValue:t.getItem(e);if(w==null)return f&&y!==null&&t.setItem(e,i.write(y)),y;if(!c&&m){const b=i.read(w);return typeof m=="function"?m(b,y):_==="object"&&!Array.isArray(b)?ve(ve({},y),b):b}else return typeof w!="string"?w:i.read(w)}function C(c){A(c.detail)}function A(c){if(!(c&&c.storageArea!==t)){if(c&&c.key==null){p.value=y;return}if(!(c&&c.key!==e)){j();try{p.value=O(c)}catch(w){d(w)}finally{c?Ee(S):S()}}}}}function mt(e){return Ne("(prefers-color-scheme: dark)",e)}var ht=Object.defineProperty,he=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,ye=(e,n,t)=>n in e?ht(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,wt=(e,n)=>{for(var t in n||(n={}))yt.call(n,t)&&ye(e,t,n[t]);if(he)for(var t of he(n))gt.call(n,t)&&ye(e,t,n[t]);return e};function _t(e={}){const{selector:n="html",attribute:t="class",initialValue:a="auto",window:r=V,storage:o,storageKey:l="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:f,emitAuto:m,disableTransition:h=!0}=e,s=wt({auto:"",light:"light",dark:"dark"},e.modes||{}),v=mt({window:r}),d=I(()=>v.value?"dark":"light"),p=f||(l==null?Y(a):vt(l,a,o,{window:r,listenToStorageChanges:u})),y=I(()=>p.value==="auto"?d.value:p.value),_=Ie("updateHTMLAttrs",(g,O,C)=>{const A=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Z(g);if(!A)return;let c;if(h){c=r.document.createElement("style");const w="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";c.appendChild(document.createTextNode(w)),r.document.head.appendChild(c)}if(O==="class"){const w=C.split(/\s/g);Object.values(s).flatMap(b=>(b||"").split(/\s/g)).filter(Boolean).forEach(b=>{w.includes(b)?A.classList.add(b):A.classList.remove(b)})}else A.setAttribute(O,C);h&&(r.getComputedStyle(c).opacity,document.head.removeChild(c))});function i(g){var O;_(n,t,(O=s[g])!=null?O:g)}function j(g){e.onChanged?e.onChanged(g,i):i(g)}M(y,j,{flush:"post",immediate:!0}),je(()=>j(y.value));const S=I({get(){return m?p.value:y.value},set(g){p.value=g}});try{return Object.assign(S,{store:p,system:d,state:y})}catch{return S}}var Ot=Object.defineProperty,bt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,we=(e,n,t)=>n in e?Ot(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Et=(e,n)=>{for(var t in n||(n={}))St.call(n,t)&&we(e,t,n[t]);if(ge)for(var t of ge(n))Ft.call(n,t)&&we(e,t,n[t]);return e},$t=(e,n)=>bt(e,Pt(n));function Mt(e={}){const{valueDark:n="dark",valueLight:t=""}=e,a=_t($t(Et({},e),{onChanged:(o,l)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,o==="dark",l,o):l(o)},modes:{dark:n,light:t}}));return I({get(){return a.value==="dark"},set(o){const l=o?"dark":"light";a.system.value===l?a.value="auto":a.value=l}})}var Tt=Object.defineProperty,jt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Oe=(e,n,t)=>n in e?Tt(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,$=(e,n)=>{for(var t in n||(n={}))At.call(n,t)&&Oe(e,t,n[t]);if(_e)for(var t of _e(n))Dt.call(n,t)&&Oe(e,t,n[t]);return e},R=(e,n)=>jt(e,Ct(n));const Nt={json:"application/json",text:"text/plain"};function be(e){return e&&We(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function ne(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries([...e.entries()]):e}function kt(e,...n){var t;const a=typeof AbortController=="function";let r={},o={immediate:!0,refetch:!1,timeout:0};const l={method:"GET",type:"text",payload:void 0};n.length>0&&(be(n[0])?o=$($({},o),n[0]):r=n[0]),n.length>1&&be(n[1])&&(o=$($({},o),n[1]));const{fetch:u=(t=V)==null?void 0:t.fetch,initialData:f,timeout:m}=o,h=te(),s=te(),v=te(),d=P(!1),p=P(!1),y=P(!1),_=P(null),i=Q(null),j=Q(null),S=Q(f||null),g=I(()=>a&&p.value);let O,C;const A=()=>{a&&(O==null||O.abort(),O=new AbortController,O.signal.onabort=()=>y.value=!0,r=R($({},r),{signal:O.signal}))},c=F=>{p.value=F,d.value=!F};m&&(C=Je(A,m,{immediate:!1}));const w=async(F=!1)=>{var N;A(),c(!0),j.value=null,_.value=null,y.value=!1;const D={method:l.method,headers:{}};if(l.payload){const U=ne(D.headers),L=T(l.payload);!l.payloadType&&L&&Object.getPrototypeOf(L)===Object.prototype&&!(L instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(U["Content-Type"]=(N=Nt[l.payloadType])!=null?N:l.payloadType),D.body=l.payloadType==="json"?JSON.stringify(L):L}let z=!1;const x={url:T(e),options:$($({},D),r),cancel:()=>{z=!0}};if(o.beforeFetch&&Object.assign(x,await o.beforeFetch(x)),z||!u)return c(!1),Promise.resolve(null);let H=null;return C&&C.start(),new Promise((U,L)=>{var ie;u(x.url,R($($({},D),x.options),{headers:$($({},ne(D.headers)),ne((ie=x.options)==null?void 0:ie.headers))})).then(async E=>{if(i.value=E,_.value=E.status,H=await E[l.type](),!E.ok)throw S.value=f||null,new Error(E.statusText);return o.afterFetch&&({data:H}=await o.afterFetch({data:H,response:E})),S.value=H,h.trigger(E),U(E)}).catch(async E=>{let se=E.message||E.name;return o.onFetchError&&({error:se}=await o.onFetchError({data:H,error:E,response:i.value})),j.value=se,s.trigger(E),F?L(E):U(null)}).finally(()=>{c(!1),C&&C.stop(),v.trigger(null)})})},b=Y(o.refetch);M([b,Y(e)],([F])=>F&&w(),{deep:!0});const J={isFinished:d,statusCode:_,response:i,error:j,data:S,isFetching:p,canAbort:g,aborted:y,abort:A,execute:w,onFetchResponse:h.on,onFetchError:s.on,onFetchFinally:v.on,get:k("GET"),put:k("PUT"),post:k("POST"),delete:k("DELETE"),patch:k("PATCH"),head:k("HEAD"),options:k("OPTIONS"),json:B("json"),text:B("text"),blob:B("blob"),arrayBuffer:B("arrayBuffer"),formData:B("formData")};function k(F){return(N,D)=>{if(!p.value)return l.method=F,l.payload=N,l.payloadType=D,ae(l.payload)&&M([b,Y(l.payload)],([z])=>z&&w(),{deep:!0}),R($({},J),{then(z,x){return ee().then(z,x)}})}}function ee(){return new Promise((F,N)=>{qe(d).toBe(!0).then(()=>F(J)).catch(D=>N(D))})}function B(F){return()=>{if(!p.value)return l.type=F,R($({},J),{then(N,D){return ee().then(N,D)}})}}return o.immediate&&Promise.resolve().then(()=>w()),R($({},J),{then(F,N){return ee().then(F,N)}})}const Pe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function xt(e,n={}){const{document:t=ot,autoExit:a=!1}=n,r=I(()=>{var i;return(i=Z(e))!=null?i:t==null?void 0:t.querySelector("html")}),o=P(!1),l=I(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(i=>t&&i in t||r.value&&i in r.value)),u=I(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(i=>t&&i in t||r.value&&i in r.value)),f=I(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(i=>t&&i in t||r.value&&i in r.value)),m=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(i=>t&&i in t),h=De(()=>r.value&&t&&l.value!==void 0&&u.value!==void 0&&f.value!==void 0),s=()=>m?(t==null?void 0:t[m])===r.value:!1,v=()=>{if(f.value){if(t&&t[f.value]!=null)return t[f.value];{const i=r.value;if((i==null?void 0:i[f.value])!=null)return!!i[f.value]}}return!1};async function d(){if(!(!h.value||!o.value)){if(u.value)if((t==null?void 0:t[u.value])!=null)await t[u.value]();else{const i=r.value;(i==null?void 0:i[u.value])!=null&&await i[u.value]()}o.value=!1}}async function p(){if(!h.value||o.value)return;v()&&await d();const i=r.value;l.value&&(i==null?void 0:i[l.value])!=null&&(await i[l.value](),o.value=!0)}async function y(){await(o.value?d():p())}const _=()=>{const i=v();(!i||i&&s())&&(o.value=i)};return W(t,Pe,_,!1),W(()=>Z(r),Pe,_,!1),a&&q(d),{isSupported:h,isFullscreen:o,enter:p,exit:d,toggle:y}}function Lt(e={}){const{window:n=V,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,l=P(t),u=P(a),f=()=>{n&&(o?(l.value=n.innerWidth,u.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,u.value=n.document.documentElement.clientHeight))};if(f(),je(f),W("resize",f,{passive:!0}),r){const m=Ne("(orientation: portrait)");M(m,()=>f())}return{width:l,height:u}}const Vt=Be("app",()=>{const e=["https://registry.npmmirror.com/","https://registry.npmjs.cf/","https://registry.npmjs.org/"],n=P(e[0]),t=P(!1),a=Ue(t);return{currentRegistry:n,npmRegistryURLs:e,toggleFixedNailModel:a,fixedNailModel:t}});export{Mt as a,Ue as b,xt as c,Lt as d,kt as e,Vt as u}; +import{B as ae,r as P,C as Me,D as ke,u as xe,E as Le,G as oe,H as Ve,m as Se,I as Fe,J as Ee,K as M,e as I,l as ze,k as Q,L as Be}from"./index-d97ebcaf.js";function q(e){return Me()?(ke(e),!0):!1}function te(){const e=new Set,n=r=>{e.delete(r)};return{on:r=>{e.add(r);const o=()=>n(r);return q(o),{off:o}},off:n,trigger:r=>Promise.all(Array.from(e).map(o=>o(r)))}}function T(e){return typeof e=="function"?e():xe(e)}const le=typeof window<"u",$e=()=>{};function He(e,n){function t(...a){return new Promise((r,o)=>{Promise.resolve(e(()=>n.apply(this,a),{fn:n,thisArg:this,args:a})).then(r).catch(o)})}return t}const Te=e=>e();function Re(e=Te){const n=P(!0);function t(){n.value=!1}function a(){n.value=!0}const r=(...o)=>{n.value&&e(...o)};return{isActive:oe(n),pause:t,resume:a,eventFilter:r}}function ue(e,n=!1,t="Timeout"){return new Promise((a,r)=>{setTimeout(n?()=>r(t):a,e)})}function We(e,...n){return n.some(t=>t in e)}function Y(...e){if(e.length!==1)return Le(...e);const n=e[0];return typeof n=="function"?oe(Ve(()=>({get:n,set:$e}))):P(n)}function je(e,n=!0){Se()?Fe(e):n?e():Ee(e)}function re(e,n=!1){function t(s,{flush:v="sync",deep:d=!1,timeout:p,throwOnTimeout:y}={}){let _=null;const j=[new Promise(S=>{_=M(e,g=>{s(g)!==n&&(_==null||_(),S(g))},{flush:v,deep:d,immediate:!0})})];return p!=null&&j.push(ue(p,y).then(()=>T(e)).finally(()=>_==null?void 0:_())),Promise.race(j)}function a(s,v){if(!ae(s))return t(g=>g===s,v);const{flush:d="sync",deep:p=!1,timeout:y,throwOnTimeout:_}=v??{};let i=null;const S=[new Promise(g=>{i=M([e,s],([O,C])=>{n!==(O===C)&&(i==null||i(),g(O))},{flush:d,deep:p,immediate:!0})})];return y!=null&&S.push(ue(y,_).then(()=>T(e)).finally(()=>(i==null||i(),T(e)))),Promise.race(S)}function r(s){return t(v=>!!v,s)}function o(s){return a(null,s)}function l(s){return a(void 0,s)}function u(s){return t(Number.isNaN,s)}function f(s,v){return t(d=>{const p=Array.from(d);return p.includes(s)||p.includes(T(s))},v)}function m(s){return h(1,s)}function h(s=1,v){let d=-1;return t(()=>(d+=1,d>=s),v)}return Array.isArray(T(e))?{toMatch:t,toContains:f,changed:m,changedTimes:h,get not(){return re(e,!n)}}:{toMatch:t,toBe:a,toBeTruthy:r,toBeNull:o,toBeNaN:u,toBeUndefined:l,changed:m,changedTimes:h,get not(){return re(e,!n)}}}function qe(e){return re(e)}function Je(e,n,t={}){const{immediate:a=!0}=t,r=P(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function u(){r.value=!1,l()}function f(...m){l(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...m)},T(n))}return a&&(r.value=!0,le&&f()),q(u),{isPending:oe(r),start:f,stop:u}}function Ue(e=!1,n={}){const{truthyValue:t=!0,falsyValue:a=!1}=n,r=ae(e),o=P(e);function l(u){if(arguments.length)return o.value=u,o.value;{const f=T(t);return o.value=o.value===f?T(a):f,o.value}}return r?l:[o,l]}var ce=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Qe=(e,n)=>{var t={};for(var a in e)Ge.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&ce)for(var a of ce(e))n.indexOf(a)<0&&Ke.call(e,a)&&(t[a]=e[a]);return t};function Ye(e,n,t={}){const a=t,{eventFilter:r=Te}=a,o=Qe(a,["eventFilter"]);return M(e,He(r,n),o)}var Xe=Object.defineProperty,Ze=Object.defineProperties,et=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,fe=(e,n,t)=>n in e?Xe(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,tt=(e,n)=>{for(var t in n||(n={}))Ce.call(n,t)&&fe(e,t,n[t]);if(X)for(var t of X(n))Ae.call(n,t)&&fe(e,t,n[t]);return e},nt=(e,n)=>Ze(e,et(n)),rt=(e,n)=>{var t={};for(var a in e)Ce.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&X)for(var a of X(e))n.indexOf(a)<0&&Ae.call(e,a)&&(t[a]=e[a]);return t};function at(e,n,t={}){const a=t,{eventFilter:r}=a,o=rt(a,["eventFilter"]),{eventFilter:l,pause:u,resume:f,isActive:m}=Re(r);return{stop:Ye(e,n,nt(tt({},o),{eventFilter:l})),pause:u,resume:f,isActive:m}}function Z(e){var n;const t=T(e);return(n=t==null?void 0:t.$el)!=null?n:t}const V=le?window:void 0,ot=le?window.document:void 0;function W(...e){let n,t,a,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,a,r]=e,n=V):[n,t,a,r]=e,!n)return $e;Array.isArray(t)||(t=[t]),Array.isArray(a)||(a=[a]);const o=[],l=()=>{o.forEach(h=>h()),o.length=0},u=(h,s,v,d)=>(h.addEventListener(s,v,d),()=>h.removeEventListener(s,v,d)),f=M(()=>[Z(n),T(r)],([h,s])=>{l(),h&&o.push(...t.flatMap(v=>a.map(d=>u(h,v,d,s))))},{immediate:!0,flush:"post"}),m=()=>{f(),l()};return q(m),m}function lt(){const e=P(!1);return Se()&&Fe(()=>{e.value=!0}),e}function De(e){const n=lt();return I(()=>(n.value,!!e()))}function Ne(e,n={}){const{window:t=V}=n,a=De(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let r;const o=P(!1),l=m=>{o.value=m.matches},u=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",l):r.removeListener(l))},f=ze(()=>{a.value&&(u(),r=t.matchMedia(T(e)),"addEventListener"in r?r.addEventListener("change",l):r.addListener(l),o.value=r.matches)});return q(()=>{f(),u(),r=void 0}),o}const G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},K="__vueuse_ssr_handlers__",it=st();function st(){return K in G||(G[K]=G[K]||{}),G[K]}function Ie(e,n){return it[e]||n}function ut(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 ct=Object.defineProperty,de=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,pe=(e,n,t)=>n in e?ct(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ve=(e,n)=>{for(var t in n||(n={}))ft.call(n,t)&&pe(e,t,n[t]);if(de)for(var t of de(n))dt.call(n,t)&&pe(e,t,n[t]);return e};const pt={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()}},me="vueuse-storage";function vt(e,n,t,a={}){var r;const{flush:o="pre",deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:f=!0,mergeDefaults:m=!1,shallow:h,window:s=V,eventFilter:v,onError:d=c=>{console.error(c)}}=a,p=(h?Q:P)(n);if(!t)try{t=Ie("getDefaultStorage",()=>{var c;return(c=V)==null?void 0:c.localStorage})()}catch(c){d(c)}if(!t)return p;const y=T(n),_=ut(y),i=(r=a.serializer)!=null?r:pt[_],{pause:j,resume:S}=at(p,()=>g(p.value),{flush:o,deep:l,eventFilter:v});return s&&u&&(W(s,"storage",A),W(s,me,C)),A(),p;function g(c){try{if(c==null)t.removeItem(e);else{const w=i.write(c),b=t.getItem(e);b!==w&&(t.setItem(e,w),s&&s.dispatchEvent(new CustomEvent(me,{detail:{key:e,oldValue:b,newValue:w,storageArea:t}})))}}catch(w){d(w)}}function O(c){const w=c?c.newValue:t.getItem(e);if(w==null)return f&&y!==null&&t.setItem(e,i.write(y)),y;if(!c&&m){const b=i.read(w);return typeof m=="function"?m(b,y):_==="object"&&!Array.isArray(b)?ve(ve({},y),b):b}else return typeof w!="string"?w:i.read(w)}function C(c){A(c.detail)}function A(c){if(!(c&&c.storageArea!==t)){if(c&&c.key==null){p.value=y;return}if(!(c&&c.key!==e)){j();try{p.value=O(c)}catch(w){d(w)}finally{c?Ee(S):S()}}}}}function mt(e){return Ne("(prefers-color-scheme: dark)",e)}var ht=Object.defineProperty,he=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,ye=(e,n,t)=>n in e?ht(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,wt=(e,n)=>{for(var t in n||(n={}))yt.call(n,t)&&ye(e,t,n[t]);if(he)for(var t of he(n))gt.call(n,t)&&ye(e,t,n[t]);return e};function _t(e={}){const{selector:n="html",attribute:t="class",initialValue:a="auto",window:r=V,storage:o,storageKey:l="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:f,emitAuto:m,disableTransition:h=!0}=e,s=wt({auto:"",light:"light",dark:"dark"},e.modes||{}),v=mt({window:r}),d=I(()=>v.value?"dark":"light"),p=f||(l==null?Y(a):vt(l,a,o,{window:r,listenToStorageChanges:u})),y=I(()=>p.value==="auto"?d.value:p.value),_=Ie("updateHTMLAttrs",(g,O,C)=>{const A=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Z(g);if(!A)return;let c;if(h){c=r.document.createElement("style");const w="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";c.appendChild(document.createTextNode(w)),r.document.head.appendChild(c)}if(O==="class"){const w=C.split(/\s/g);Object.values(s).flatMap(b=>(b||"").split(/\s/g)).filter(Boolean).forEach(b=>{w.includes(b)?A.classList.add(b):A.classList.remove(b)})}else A.setAttribute(O,C);h&&(r.getComputedStyle(c).opacity,document.head.removeChild(c))});function i(g){var O;_(n,t,(O=s[g])!=null?O:g)}function j(g){e.onChanged?e.onChanged(g,i):i(g)}M(y,j,{flush:"post",immediate:!0}),je(()=>j(y.value));const S=I({get(){return m?p.value:y.value},set(g){p.value=g}});try{return Object.assign(S,{store:p,system:d,state:y})}catch{return S}}var Ot=Object.defineProperty,bt=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,we=(e,n,t)=>n in e?Ot(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Et=(e,n)=>{for(var t in n||(n={}))St.call(n,t)&&we(e,t,n[t]);if(ge)for(var t of ge(n))Ft.call(n,t)&&we(e,t,n[t]);return e},$t=(e,n)=>bt(e,Pt(n));function Mt(e={}){const{valueDark:n="dark",valueLight:t=""}=e,a=_t($t(Et({},e),{onChanged:(o,l)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,o==="dark",l,o):l(o)},modes:{dark:n,light:t}}));return I({get(){return a.value==="dark"},set(o){const l=o?"dark":"light";a.system.value===l?a.value="auto":a.value=l}})}var Tt=Object.defineProperty,jt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,Oe=(e,n,t)=>n in e?Tt(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,$=(e,n)=>{for(var t in n||(n={}))At.call(n,t)&&Oe(e,t,n[t]);if(_e)for(var t of _e(n))Dt.call(n,t)&&Oe(e,t,n[t]);return e},R=(e,n)=>jt(e,Ct(n));const Nt={json:"application/json",text:"text/plain"};function be(e){return e&&We(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function ne(e){return typeof Headers<"u"&&e instanceof Headers?Object.fromEntries([...e.entries()]):e}function kt(e,...n){var t;const a=typeof AbortController=="function";let r={},o={immediate:!0,refetch:!1,timeout:0};const l={method:"GET",type:"text",payload:void 0};n.length>0&&(be(n[0])?o=$($({},o),n[0]):r=n[0]),n.length>1&&be(n[1])&&(o=$($({},o),n[1]));const{fetch:u=(t=V)==null?void 0:t.fetch,initialData:f,timeout:m}=o,h=te(),s=te(),v=te(),d=P(!1),p=P(!1),y=P(!1),_=P(null),i=Q(null),j=Q(null),S=Q(f||null),g=I(()=>a&&p.value);let O,C;const A=()=>{a&&(O==null||O.abort(),O=new AbortController,O.signal.onabort=()=>y.value=!0,r=R($({},r),{signal:O.signal}))},c=F=>{p.value=F,d.value=!F};m&&(C=Je(A,m,{immediate:!1}));const w=async(F=!1)=>{var N;A(),c(!0),j.value=null,_.value=null,y.value=!1;const D={method:l.method,headers:{}};if(l.payload){const U=ne(D.headers),L=T(l.payload);!l.payloadType&&L&&Object.getPrototypeOf(L)===Object.prototype&&!(L instanceof FormData)&&(l.payloadType="json"),l.payloadType&&(U["Content-Type"]=(N=Nt[l.payloadType])!=null?N:l.payloadType),D.body=l.payloadType==="json"?JSON.stringify(L):L}let z=!1;const x={url:T(e),options:$($({},D),r),cancel:()=>{z=!0}};if(o.beforeFetch&&Object.assign(x,await o.beforeFetch(x)),z||!u)return c(!1),Promise.resolve(null);let H=null;return C&&C.start(),new Promise((U,L)=>{var ie;u(x.url,R($($({},D),x.options),{headers:$($({},ne(D.headers)),ne((ie=x.options)==null?void 0:ie.headers))})).then(async E=>{if(i.value=E,_.value=E.status,H=await E[l.type](),!E.ok)throw S.value=f||null,new Error(E.statusText);return o.afterFetch&&({data:H}=await o.afterFetch({data:H,response:E})),S.value=H,h.trigger(E),U(E)}).catch(async E=>{let se=E.message||E.name;return o.onFetchError&&({error:se}=await o.onFetchError({data:H,error:E,response:i.value})),j.value=se,s.trigger(E),F?L(E):U(null)}).finally(()=>{c(!1),C&&C.stop(),v.trigger(null)})})},b=Y(o.refetch);M([b,Y(e)],([F])=>F&&w(),{deep:!0});const J={isFinished:d,statusCode:_,response:i,error:j,data:S,isFetching:p,canAbort:g,aborted:y,abort:A,execute:w,onFetchResponse:h.on,onFetchError:s.on,onFetchFinally:v.on,get:k("GET"),put:k("PUT"),post:k("POST"),delete:k("DELETE"),patch:k("PATCH"),head:k("HEAD"),options:k("OPTIONS"),json:B("json"),text:B("text"),blob:B("blob"),arrayBuffer:B("arrayBuffer"),formData:B("formData")};function k(F){return(N,D)=>{if(!p.value)return l.method=F,l.payload=N,l.payloadType=D,ae(l.payload)&&M([b,Y(l.payload)],([z])=>z&&w(),{deep:!0}),R($({},J),{then(z,x){return ee().then(z,x)}})}}function ee(){return new Promise((F,N)=>{qe(d).toBe(!0).then(()=>F(J)).catch(D=>N(D))})}function B(F){return()=>{if(!p.value)return l.type=F,R($({},J),{then(N,D){return ee().then(N,D)}})}}return o.immediate&&Promise.resolve().then(()=>w()),R($({},J),{then(F,N){return ee().then(F,N)}})}const Pe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function xt(e,n={}){const{document:t=ot,autoExit:a=!1}=n,r=I(()=>{var i;return(i=Z(e))!=null?i:t==null?void 0:t.querySelector("html")}),o=P(!1),l=I(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(i=>t&&i in t||r.value&&i in r.value)),u=I(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(i=>t&&i in t||r.value&&i in r.value)),f=I(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(i=>t&&i in t||r.value&&i in r.value)),m=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(i=>t&&i in t),h=De(()=>r.value&&t&&l.value!==void 0&&u.value!==void 0&&f.value!==void 0),s=()=>m?(t==null?void 0:t[m])===r.value:!1,v=()=>{if(f.value){if(t&&t[f.value]!=null)return t[f.value];{const i=r.value;if((i==null?void 0:i[f.value])!=null)return!!i[f.value]}}return!1};async function d(){if(!(!h.value||!o.value)){if(u.value)if((t==null?void 0:t[u.value])!=null)await t[u.value]();else{const i=r.value;(i==null?void 0:i[u.value])!=null&&await i[u.value]()}o.value=!1}}async function p(){if(!h.value||o.value)return;v()&&await d();const i=r.value;l.value&&(i==null?void 0:i[l.value])!=null&&(await i[l.value](),o.value=!0)}async function y(){await(o.value?d():p())}const _=()=>{const i=v();(!i||i&&s())&&(o.value=i)};return W(t,Pe,_,!1),W(()=>Z(r),Pe,_,!1),a&&q(d),{isSupported:h,isFullscreen:o,enter:p,exit:d,toggle:y}}function Lt(e={}){const{window:n=V,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,l=P(t),u=P(a),f=()=>{n&&(o?(l.value=n.innerWidth,u.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,u.value=n.document.documentElement.clientHeight))};if(f(),je(f),W("resize",f,{passive:!0}),r){const m=Ne("(orientation: portrait)");M(m,()=>f())}return{width:l,height:u}}const Vt=Be("app",()=>{const e=["https://registry.npmmirror.com/","https://registry.npmjs.cf/","https://registry.npmjs.org/"],n=P(e[0]),t=P(!1),a=Ue(t);return{currentRegistry:n,npmRegistryURLs:e,toggleFixedNailModel:a,fixedNailModel:t}});export{Mt as a,Ue as b,xt as c,Lt as d,kt as e,Vt as u}; diff --git a/assets/index-02dcade8.js b/assets/index-0c3ecd71.js similarity index 96% rename from assets/index-02dcade8.js rename to assets/index-0c3ecd71.js index 0f3ebb3..a63cf06 100644 --- a/assets/index-02dcade8.js +++ b/assets/index-0c3ecd71.js @@ -1 +1 @@ -import{d as m,s as x,o as g,c as _,a as e,u as t,w as v,v as w,b as C,e as $,r as S,f as I,n as L,g as u,h as N,T as j,F,i as V,p as D,j as T,_ as z}from"./index-bcef41cf.js";import{u as A,a as B,b,c as M}from"./app-14ea5fb5.js";const R={bg:"gray-3 dark:slate-7",class:"select-none rounded-md pa-4 w-xs",shadow:"lg gray-3 dark:slate-6"},U={flex:"~ justify-between items-center"},E=e("span",{class:"font-bold"},"设置",-1),G=e("i",{class:"i-uil-times",text:"xl"},null,-1),P=[G],q={"my-4":"",flex:"~ justify-between items-center"},H=e("span",null,"拖拽固定",-1),J=["bg"],K=["transform"],O=e("p",null,"注册表API",-1),Q={flex:"~ items-center",class:"pa-1 rounded",bg:"gray-2 focus-within:gray-1 dark:slate-6 focus-within:dark:slate-8"},W=e("i",{class:"i-logos-npm-icon mx-2 text-base"},null,-1),X=m({__name:"GlobalSetting",emits:["close"],setup(s,{emit:i}){const l=A(),{fixedNailModel:n}=x(l);return(c,o)=>(g(),_("div",R,[e("header",U,[E,e("button",{type:"button",title:"关闭",class:"rounded-md pa-1 ma-0 border-none",bg:"transparent hover:gray-2 hover:dark:slate-8",onClick:o[0]||(o[0]=r=>i("close"))},P)]),e("div",null,[e("div",q,[H,e("button",{type:"button",title:"开关",onClick:o[1]||(o[1]=r=>t(l).toggleFixedNailModel()),border:"2 solid gray-1 dark:slate-6",flex:"~ justify-center items-center",bg:t(n)&&"gray-3 dark:slate-2",class:"h-6 rounded-3 w-12 bg-gray-2 dark:bg-slate-8"},[e("span",{transform:t(n)&&"translate-x-3",class:"inline-block w-4 h-4 rounded-2 bg-gray-4 -translate-x-3 transition-transform"},null,8,K)],8,J)]),O,e("div",Q,[W,v(e("input",{"onUpdate:modelValue":o[2]||(o[2]=r=>t(l).currentRegistry=r),type:"text",class:"rounded-md border-none pa-1 text-base w-full focus:outline-none",bg:"transparent",placeholder:"https://registry.npmjs.org/"},null,512),[[w,t(l).currentRegistry]])])])]))}});function Y(){const s=C(),i=$(()=>s.locale.value);return{i18n:s,currentLocale:i,changeLocale:n=>{s.locale.value=n,localStorage.setItem("locale",n)}}}const d=s=>(D("data-v-ac7d6765"),s=s(),T(),s),Z={flex:"~ justify-between items-center",class:"w-full fixed box-border px-4 py-2"},ee=d(()=>e("span",{class:"font-bold select-none text-xl"},"Dependency Analyzer",-1)),te=d(()=>e("i",{class:"i-uil-english-to-chinese",text:"2xl gray-6 dark:slate-1"},null,-1)),se=[te],oe=d(()=>e("i",{class:"i-uil-moonset dark:i-uil-sunset",text:"2xl gray-6 dark:slate-1"},null,-1)),ae=[oe],le=d(()=>e("i",{class:"i-uil-setting",text:"2xl gray-6 dark:slate-1"},null,-1)),ne=[le],re={key:0,class:"absolute top-16 right-4"},ie=m({__name:"index",setup(s){const i=B(),l=b(i),{isFullscreen:n,toggle:c}=M(),{currentLocale:o,changeLocale:r}=Y(),h=()=>{o.value=="zh-CN"?r("en-US"):r("zh-CN")},p=S(!1),y=b(p);return(de,a)=>{const k=I("router-view");return g(),_(F,null,[e("header",Z,[ee,e("div",null,[e("button",{title:"全屏",type:"button",class:"pa-1 mr-2 cursor-pointer rounded-full",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[0]||(a[0]=(...f)=>t(c)&&t(c)(...f))},[e("i",{class:L(t(n)?"i-uil-compress":"i-uil-focus"),text:"2xl gray-6 dark:slate-1"},null,2)]),e("button",{title:"语言",type:"button",class:"mr-2 cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[1]||(a[1]=()=>h())},se),e("button",{title:"颜色模式",type:"button",class:"mr-2 cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[2]||(a[2]=()=>t(l)())},ae),e("button",{title:"设置",type:"button",class:"cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[3]||(a[3]=()=>t(y)())},ne)])]),u(j,{name:"setting"},{default:N(()=>[p.value?(g(),_("aside",re,[u(X,{onClose:t(y)},null,8,["onClose"])])):V("",!0)]),_:1}),e("main",null,[u(k)])],64)}}});const ge=z(ie,[["__scopeId","data-v-ac7d6765"]]);export{ge as default}; +import{d as m,s as x,o as g,c as _,a as e,u as t,w as v,v as w,b as C,e as $,r as S,f as I,n as L,g as u,h as N,T as j,F,i as V,p as D,j as T,_ as z}from"./index-d97ebcaf.js";import{u as A,a as B,b,c as M}from"./app-608daff4.js";const R={bg:"gray-3 dark:slate-7",class:"select-none rounded-md pa-4 w-xs",shadow:"lg gray-3 dark:slate-6"},U={flex:"~ justify-between items-center"},E=e("span",{class:"font-bold"},"设置",-1),G=e("i",{class:"i-uil-times",text:"xl"},null,-1),P=[G],q={"my-4":"",flex:"~ justify-between items-center"},H=e("span",null,"拖拽固定",-1),J=["bg"],K=["transform"],O=e("p",null,"注册表API",-1),Q={flex:"~ items-center",class:"pa-1 rounded",bg:"gray-2 focus-within:gray-1 dark:slate-6 focus-within:dark:slate-8"},W=e("i",{class:"i-logos-npm-icon mx-2 text-base"},null,-1),X=m({__name:"GlobalSetting",emits:["close"],setup(s,{emit:i}){const l=A(),{fixedNailModel:n}=x(l);return(c,o)=>(g(),_("div",R,[e("header",U,[E,e("button",{type:"button",title:"关闭",class:"rounded-md pa-1 ma-0 border-none",bg:"transparent hover:gray-2 hover:dark:slate-8",onClick:o[0]||(o[0]=r=>i("close"))},P)]),e("div",null,[e("div",q,[H,e("button",{type:"button",title:"开关",onClick:o[1]||(o[1]=r=>t(l).toggleFixedNailModel()),border:"2 solid gray-1 dark:slate-6",flex:"~ justify-center items-center",bg:t(n)&&"gray-3 dark:slate-2",class:"h-6 rounded-3 w-12 bg-gray-2 dark:bg-slate-8"},[e("span",{transform:t(n)&&"translate-x-3",class:"inline-block w-4 h-4 rounded-2 bg-gray-4 -translate-x-3 transition-transform"},null,8,K)],8,J)]),O,e("div",Q,[W,v(e("input",{"onUpdate:modelValue":o[2]||(o[2]=r=>t(l).currentRegistry=r),type:"text",class:"rounded-md border-none pa-1 text-base w-full focus:outline-none",bg:"transparent",placeholder:"https://registry.npmjs.org/"},null,512),[[w,t(l).currentRegistry]])])])]))}});function Y(){const s=C(),i=$(()=>s.locale.value);return{i18n:s,currentLocale:i,changeLocale:n=>{s.locale.value=n,localStorage.setItem("locale",n)}}}const d=s=>(D("data-v-ac7d6765"),s=s(),T(),s),Z={flex:"~ justify-between items-center",class:"w-full fixed box-border px-4 py-2"},ee=d(()=>e("span",{class:"font-bold select-none text-xl"},"Dependency Analyzer",-1)),te=d(()=>e("i",{class:"i-uil-english-to-chinese",text:"2xl gray-6 dark:slate-1"},null,-1)),se=[te],oe=d(()=>e("i",{class:"i-uil-moonset dark:i-uil-sunset",text:"2xl gray-6 dark:slate-1"},null,-1)),ae=[oe],le=d(()=>e("i",{class:"i-uil-setting",text:"2xl gray-6 dark:slate-1"},null,-1)),ne=[le],re={key:0,class:"absolute top-16 right-4"},ie=m({__name:"index",setup(s){const i=B(),l=b(i),{isFullscreen:n,toggle:c}=M(),{currentLocale:o,changeLocale:r}=Y(),h=()=>{o.value=="zh-CN"?r("en-US"):r("zh-CN")},p=S(!1),y=b(p);return(de,a)=>{const k=I("router-view");return g(),_(F,null,[e("header",Z,[ee,e("div",null,[e("button",{title:"全屏",type:"button",class:"pa-1 mr-2 cursor-pointer rounded-full",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[0]||(a[0]=(...f)=>t(c)&&t(c)(...f))},[e("i",{class:L(t(n)?"i-uil-compress":"i-uil-focus"),text:"2xl gray-6 dark:slate-1"},null,2)]),e("button",{title:"语言",type:"button",class:"mr-2 cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[1]||(a[1]=()=>h())},se),e("button",{title:"颜色模式",type:"button",class:"mr-2 cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[2]||(a[2]=()=>t(l)())},ae),e("button",{title:"设置",type:"button",class:"cursor-pointer rounded-full pa-1",bg:"gray-1 hover:gray-2 active:gray-3 dark:slate-6 hover:dark:slate-7 active:dark:slate-8",border:"solid 1 gray-3 dark:slate-5",onClick:a[3]||(a[3]=()=>t(y)())},ne)])]),u(j,{name:"setting"},{default:N(()=>[p.value?(g(),_("aside",re,[u(X,{onClose:t(y)},null,8,["onClose"])])):V("",!0)]),_:1}),e("main",null,[u(k)])],64)}}});const ge=z(ie,[["__scopeId","data-v-ac7d6765"]]);export{ge as default}; diff --git a/assets/index-543b4f1d.js b/assets/index-543b4f1d.js deleted file mode 100644 index 1b2dd28..0000000 --- a/assets/index-543b4f1d.js +++ /dev/null @@ -1 +0,0 @@ -import{d as ze,k as bn,l as kn,o as tt,c as ut,u as U,a as I,m as cr,s as lr,r as _e,e as fr,t as L,w as Ft,q as Xt,F as Le,x as Ye,y as hr,z as dr,g as he,h as He,T as Ge,A as pr,i as gr,_ as mr}from"./index-bcef41cf.js";import{d as yr,u as Mn,e as _r,b as vr}from"./app-14ea5fb5.js";const xr=Math.sqrt(50),wr=Math.sqrt(10),br=Math.sqrt(2);function Qt(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=xr?10:o>=wr?5:o>=br?2:1;let s,c,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(t*u),c=Math.round(e*u),s/ue&&--c,u=-u):(u=Math.pow(10,i)*a,s=Math.round(t/u),c=Math.round(e/u),s*ue&&--c),c0))return[];if(t===e)return[t];const r=e=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let u=0;u{}};function Dt(){for(var t=0,e=arguments.length,n={},r;t=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Gt.prototype=Dt.prototype={constructor:Gt,on:function(t,e){var n=this._,r=Ar(t+"",n),i,o=-1,a=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ke.hasOwnProperty(e)?{space:Ke[e],local:t}:t}function Sr(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===xe&&e.documentElement.namespaceURI===xe?e.createElement(t):e.createElementNS(n,t)}}function zr(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Nn(t){var e=oe(t);return(e.local?zr:Sr)(e)}function Er(){}function Ee(t){return t==null?Er:function(){return this.querySelector(t)}}function Tr(t){typeof t!="function"&&(t=Ee(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i=N&&(N=x+1);!(b=y[N])&&++N=0;)(a=r[i])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function ni(t){t||(t=ri);function e(h,d){return h&&d?t(h.__data__,d.__data__):!h-!d}for(var n=this._groups,r=n.length,i=new Array(r),o=0;oe?1:t>=e?0:NaN}function ii(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function oi(){return Array.from(this)}function ai(){for(var t=this._groups,e=0,n=t.length;e1?this.each((e==null?yi:typeof e=="function"?vi:_i)(t,e,n??"")):bt(this.node(),t)}function bt(t,e){return t.style.getPropertyValue(e)||En(t).getComputedStyle(t,null).getPropertyValue(e)}function wi(t){return function(){delete this[t]}}function bi(t,e){return function(){this[t]=e}}function ki(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Mi(t,e){return arguments.length>1?this.each((e==null?wi:typeof e=="function"?ki:bi)(t,e)):this.node()[t]}function Tn(t){return t.trim().split(/^|\s+/)}function Te(t){return t.classList||new Cn(t)}function Cn(t){this._node=t,this._names=Tn(t.getAttribute("class")||"")}Cn.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function In(t,e){for(var n=Te(t),r=-1,i=e.length;++r=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function ji(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,o;n()=>t;function we(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:c,dy:u,dispatch:l}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:l}})}we.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};function uo(t){return!t.ctrlKey&&!t.button}function co(){return this.parentNode}function lo(t,e){return e??{x:t.x,y:t.y}}function fo(){return navigator.maxTouchPoints||"ontouchstart"in this}function ho(){var t=uo,e=co,n=lo,r=fo,i={},o=Dt("start","drag","end"),a=0,s,c,u,l,h=0;function d(m){m.on("mousedown.drag",p).filter(r).on("touchstart.drag",y).on("touchmove.drag",f,so).on("touchend.drag touchcancel.drag",x).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(m,b){if(!(l||!t.call(this,m,b))){var S=N(this,e.call(this,m,b),m,b,"mouse");S&&(et(m.view).on("mousemove.drag",w,Tt).on("mouseup.drag",_,Tt),Fn(m.view),de(m),u=!1,s=m.clientX,c=m.clientY,S("start",m))}}function w(m){if(vt(m),!u){var b=m.clientX-s,S=m.clientY-c;u=b*b+S*S>h}i.mouse("drag",m)}function _(m){et(m.view).on("mousemove.drag mouseup.drag",null),Xn(m.view,u),vt(m),i.mouse("end",m)}function y(m,b){if(t.call(this,m,b)){var S=m.changedTouches,E=e.call(this,m,b),C=S.length,D,F;for(D=0;D>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?Bt(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?Bt(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=go.exec(t))?new B(e[1],e[2],e[3],1):(e=mo.exec(t))?new B(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=yo.exec(t))?Bt(e[1],e[2],e[3],e[4]):(e=_o.exec(t))?Bt(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=vo.exec(t))?en(e[1],e[2]/100,e[3]/100,1):(e=xo.exec(t))?en(e[1],e[2]/100,e[3]/100,e[4]):We.hasOwnProperty(t)?je(We[t]):t==="transparent"?new B(NaN,NaN,NaN,0):null}function je(t){return new B(t>>16&255,t>>8&255,t&255,1)}function Bt(t,e,n,r){return r<=0&&(t=e=n=NaN),new B(t,e,n,r)}function qn(t){return t instanceof At||(t=mt(t)),t?(t=t.rgb(),new B(t.r,t.g,t.b,t.opacity)):new B}function be(t,e,n,r){return arguments.length===1?qn(t):new B(t,e,n,r??1)}function B(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}ae(B,be,Ce(At,{brighter(t){return t=t==null?kt:Math.pow(kt,t),new B(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?gt:Math.pow(gt,t),new B(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new B(dt(this.r),dt(this.g),dt(this.b),jt(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Je,formatHex:Je,formatHex8:ko,formatRgb:tn,toString:tn}));function Je(){return`#${ht(this.r)}${ht(this.g)}${ht(this.b)}`}function ko(){return`#${ht(this.r)}${ht(this.g)}${ht(this.b)}${ht((isNaN(this.opacity)?1:this.opacity)*255)}`}function tn(){const t=jt(this.opacity);return`${t===1?"rgb(":"rgba("}${dt(this.r)}, ${dt(this.g)}, ${dt(this.b)}${t===1?")":`, ${t})`}`}function jt(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function dt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ht(t){return t=dt(t),(t<16?"0":"")+t.toString(16)}function en(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Q(t,e,n,r)}function Bn(t){if(t instanceof Q)return new Q(t.h,t.s,t.l,t.opacity);if(t instanceof At||(t=mt(t)),!t)return new Q;if(t instanceof Q)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(e===o?a=(n-r)/s+(n0&&c<1?0:a,new Q(a,s,c,t.opacity)}function Mo(t,e,n,r){return arguments.length===1?Bn(t):new Q(t,e,n,r??1)}function Q(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}ae(Q,Mo,Ce(At,{brighter(t){return t=t==null?kt:Math.pow(kt,t),new Q(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?gt:Math.pow(gt,t),new Q(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new B(pe(t>=240?t-240:t+120,i,r),pe(t,i,r),pe(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Q(nn(this.h),Vt(this.s),Vt(this.l),jt(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=jt(this.opacity);return`${t===1?"hsl(":"hsla("}${nn(this.h)}, ${Vt(this.s)*100}%, ${Vt(this.l)*100}%${t===1?")":`, ${t})`}`}}));function nn(t){return t=(t||0)%360,t<0?t+360:t}function Vt(t){return Math.max(0,Math.min(1,t||0))}function pe(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const No=Math.PI/180,Ao=180/Math.PI;var Vn=-.14861,Ie=1.78277,Pe=-.29227,se=-.90649,It=1.97294,rn=It*se,on=It*Ie,an=Ie*Pe-se*Vn;function $o(t){if(t instanceof pt)return new pt(t.h,t.s,t.l,t.opacity);t instanceof B||(t=qn(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(an*r+rn*e-on*n)/(an+rn-on),o=r-i,a=(It*(n-i)-Pe*o)/se,s=Math.sqrt(a*a+o*o)/(It*i*(1-i)),c=s?Math.atan2(a,o)*Ao-120:NaN;return new pt(c<0?c+360:c,s,i,t.opacity)}function ft(t,e,n,r){return arguments.length===1?$o(t):new pt(t,e,n,r??1)}function pt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}ae(pt,ft,Ce(At,{brighter(t){return t=t==null?kt:Math.pow(kt,t),new pt(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?gt:Math.pow(gt,t),new pt(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=isNaN(this.h)?0:(this.h+120)*No,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new B(255*(e+n*(Vn*r+Ie*i)),255*(e+n*(Pe*r+se*i)),255*(e+n*(It*r)),this.opacity)}}));const ue=t=>()=>t;function On(t,e){return function(n){return t+n*e}}function So(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function zo(t,e){var n=e-t;return n?On(t,n>180||n<-180?n-360*Math.round(n/360):n):ue(isNaN(t)?e:t)}function Eo(t){return(t=+t)==1?wt:function(e,n){return n-e?So(e,n,t):ue(isNaN(e)?n:e)}}function wt(t,e){var n=e-t;return n?On(t,n):ue(isNaN(t)?e:t)}const Jt=function t(e){var n=Eo(e);function r(i,o){var a=n((i=be(i)).r,(o=be(o)).r),s=n(i.g,o.g),c=n(i.b,o.b),u=wt(i.opacity,o.opacity);return function(l){return i.r=a(l),i.g=s(l),i.b=c(l),i.opacity=u(l),i+""}}return r.gamma=t,r}(1);function To(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(o){for(i=0;in&&(o=e.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,c.push({i:a,x:J(r,i)})),n=ge.lastIndex;return n180?l+=360:l-u>180&&(u+=360),d.push({i:h.push(i(h)+"rotate(",null,r)-2,x:J(u,l)})):l&&h.push(i(h)+"rotate("+l+r)}function s(u,l,h,d){u!==l?d.push({i:h.push(i(h)+"skewX(",null,r)-2,x:J(u,l)}):l&&h.push(i(h)+"skewX("+l+r)}function c(u,l,h,d,p,w){if(u!==h||l!==d){var _=p.push(i(p)+"scale(",null,",",null,")");w.push({i:_-4,x:J(u,h)},{i:_-2,x:J(l,d)})}else(h!==1||d!==1)&&p.push(i(p)+"scale("+h+","+d+")")}return function(u,l){var h=[],d=[];return u=t(u),l=t(l),o(u.translateX,u.translateY,l.translateX,l.translateY,h,d),a(u.rotate,l.rotate,h,d),s(u.skewX,l.skewX,h,d),c(u.scaleX,u.scaleY,l.scaleX,l.scaleY,h,d),u=l=null,function(p){for(var w=-1,_=d.length,y;++w<_;)h[(y=d[w]).i]=y.x(p);return h.join("")}}}var Vo=Hn(qo,"px, ","px)","deg)"),Oo=Hn(Bo,", ",")",")"),Lo=1e-12;function un(t){return((t=Math.exp(t))+1/t)/2}function Yo(t){return((t=Math.exp(t))-1/t)/2}function Ho(t){return((t=Math.exp(2*t))-1)/(t+1)}const Go=function t(e,n,r){function i(o,a){var s=o[0],c=o[1],u=o[2],l=a[0],h=a[1],d=a[2],p=l-s,w=h-c,_=p*p+w*w,y,f;if(_=0&&t._call.call(void 0,e),t=t._next;--Mt}function cn(){yt=(ee=Pt.now())+ce,Mt=zt=0;try{Ko()}finally{Mt=0,Qo(),yt=0}}function Wo(){var t=Pt.now(),e=t-ee;e>Kn&&(ce-=e,ee=t)}function Qo(){for(var t,e=te,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:te=n);Et=t,Ne(r)}function Ne(t){if(!Mt){zt&&(zt=clearTimeout(zt));var e=t-yt;e>24?(t<1/0&&(zt=setTimeout(cn,t-Pt.now()-ce)),$t&&($t=clearInterval($t))):($t||(ee=Pt.now(),$t=setInterval(Wo,Kn)),Mt=1,Wn(cn))}}function ln(t,e,n){var r=new ne;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var Zo=Dt("start","end","cancel","interrupt"),jo=[],Qn=0,fn=1,Ae=2,Ut=3,hn=4,$e=5,Kt=6;function le(t,e,n,r,i,o){var a=t.__transition;if(!a)t.__transition={};else if(n in a)return;Jo(t,n,{name:e,index:r,group:i,on:Zo,tween:jo,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Qn})}function Xe(t,e){var n=Z(t,e);if(n.state>Qn)throw new Error("too late; already scheduled");return n}function rt(t,e){var n=Z(t,e);if(n.state>Ut)throw new Error("too late; already running");return n}function Z(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Jo(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=Fe(o,0,n.time);function o(u){n.state=fn,n.timer.restart(a,n.delay,n.time),n.delay<=u&&a(u-n.delay)}function a(u){var l,h,d,p;if(n.state!==fn)return c();for(l in r)if(p=r[l],p.name===n.name){if(p.state===Ut)return ln(a);p.state===hn?(p.state=Kt,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[l]):+lAe&&r.state<$e,r.state=Kt,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[a]}o&&delete t.__transition}}function ta(t){return this.each(function(){Wt(this,t)})}function ea(t,e){var n,r;return function(){var i=rt(this,t),o=i.tween;if(o!==n){r=n=o;for(var a=0,s=r.length;a=0&&(e=e.slice(0,n)),!e||e==="start"})}function za(t,e,n){var r,i,o=Sa(e)?Xe:rt;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}function Ea(t,e){var n=this._id;return arguments.length<2?Z(this.node(),n).on.on(t):this.each(za(n,t,e))}function Ta(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function Ca(){return this.on("end.remove",Ta(this._id))}function Ia(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ee(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a=(h=(s+u)/2))?s=h:u=h,(y=n>=(d=(c+l)/2))?c=d:l=d,i=o,!(o=o[f=y<<1|_]))return i[f]=a,t;if(p=+t._x.call(null,o.data),w=+t._y.call(null,o.data),e===p&&n===w)return a.next=o,i?i[f]=a:t._root=a,t;do i=i?i[f]=new Array(4):t._root=new Array(4),(_=e>=(h=(s+u)/2))?s=h:u=h,(y=n>=(d=(c+l)/2))?c=d:l=d;while((f=y<<1|_)===(x=(w>=d)<<1|p>=h));return i[x]=o,i[f]=a,t}function os(t){var e,n,r=t.length,i,o,a=new Array(r),s=new Array(r),c=1/0,u=1/0,l=-1/0,h=-1/0;for(n=0;nl&&(l=i),oh&&(h=o));if(c>l||u>h)return this;for(this.cover(c,u).cover(l,h),n=0;nt||t>=i||r>e||e>=o;)switch(u=(el||(s=w.y0)>h||(c=w.x1)=f)<<1|t>=y)&&(w=d[d.length-1],d[d.length-1]=d[d.length-1-_],d[d.length-1-_]=w)}else{var x=t-+this._x.call(null,p.data),N=e-+this._y.call(null,p.data),m=x*x+N*N;if(m=(d=(a+c)/2))?a=d:c=d,(_=h>=(p=(s+u)/2))?s=p:u=p,e=n,!(n=n[y=_<<1|w]))return this;if(!n.length)break;(e[y+1&3]||e[y+2&3]||e[y+3&3])&&(r=e,f=y)}for(;n.data!==t;)if(i=n,!(n=n.next))return this;return(o=n.next)&&delete n.next,i?(o?i.next=o:delete i.next,this):e?(o?e[y]=o:delete e[y],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[f]=n:this._root=n),this):(this._root=o,this)}function fs(t){for(var e=0,n=t.length;e[e(b,S,a),b])),m;for(y=0,s=new Array(f);y(t=(bs*t+ks)%gn)/gn}function Ns(t){return t.x}function As(t){return t.y}var $s=10,Ss=Math.PI*(3-Math.sqrt(5));function zs(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,s=new Map,c=Fe(h),u=Dt("tick","end"),l=Ms();t==null&&(t=[]);function h(){d(),u.call("tick",e),n1?(y==null?s.delete(_):s.set(_,w(y)),e):s.get(_)},find:function(_,y,f){var x=0,N=t.length,m,b,S,E,C;for(f==null?f=1/0:f*=f,x=0;x1?(u.on(_,y),e):u.on(_)}}}function Es(){var t,e,n,r,i=Y(-30),o,a=1,s=1/0,c=.81;function u(p){var w,_=t.length,y=er(t,Ns,As).visitAfter(h);for(r=p,w=0;w<_;++w)e=t[w],y.visit(d)}function l(){if(t){var p,w=t.length,_;for(o=new Array(w),p=0;p=s)return;(p.data!==e||p.next)&&(f===0&&(f=_t(n),m+=f*f),x===0&&(x=_t(n),m+=x*x),m=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function re(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Nt(t){return t=re(Math.abs(t)),t?t[1]:NaN}function Ps(t,e){return function(n,r){for(var i=n.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}function Ds(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var Rs=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ie(t){if(!(e=Rs.exec(t)))throw new Error("invalid format: "+t);var e;return new Ve({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}ie.prototype=Ve.prototype;function Ve(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Ve.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Fs(t){t:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var nr;function Xs(t,e){var n=re(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(nr=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+re(t,Math.max(0,e+o-1))[0]}function mn(t,e){var n=re(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const yn={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Is,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>mn(t*100,e),r:mn,s:Xs,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function _n(t){return t}var vn=Array.prototype.map,xn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function qs(t){var e=t.grouping===void 0||t.thousands===void 0?_n:Ps(vn.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?_n:Ds(vn.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",s=t.minus===void 0?"−":t.minus+"",c=t.nan===void 0?"NaN":t.nan+"";function u(h){h=ie(h);var d=h.fill,p=h.align,w=h.sign,_=h.symbol,y=h.zero,f=h.width,x=h.comma,N=h.precision,m=h.trim,b=h.type;b==="n"?(x=!0,b="g"):yn[b]||(N===void 0&&(N=12),m=!0,b="g"),(y||d==="0"&&p==="=")&&(y=!0,d="0",p="=");var S=_==="$"?n:_==="#"&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",E=_==="$"?r:/[%p]/.test(b)?a:"",C=yn[b],D=/[defgprs%]/.test(b);N=N===void 0?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function F(z){var G=S,X=E,g,k,v;if(b==="c")X=C(z)+X,z="";else{z=+z;var M=z<0||1/z<0;if(z=isNaN(z)?c:C(Math.abs(z),N),m&&(z=Fs(z)),M&&+z==0&&w!=="+"&&(M=!1),G=(M?w==="("?w:s:w==="-"||w==="("?"":w)+G,X=(b==="s"?xn[8+nr/3]:"")+X+(M&&w==="("?")":""),D){for(g=-1,k=z.length;++gv||v>57){X=(v===46?i+z.slice(g+1):z.slice(g))+X,z=z.slice(0,g);break}}}x&&!y&&(z=e(z,1/0));var $=G.length+z.length+X.length,A=$>1)+G+z+X+A.slice($);break;default:z=A+G+z+X;break}return o(z)}return F.toString=function(){return h+""},F}function l(h,d){var p=u((h=ie(h),h.type="f",h)),w=Math.max(-8,Math.min(8,Math.floor(Nt(d)/3)))*3,_=Math.pow(10,-w),y=xn[8+w/3];return function(f){return p(_*f)+y}}return{format:u,formatPrefix:l}}var Lt,rr,ir;Bs({thousands:",",grouping:[3],currency:["$",""]});function Bs(t){return Lt=qs(t),rr=Lt.format,ir=Lt.formatPrefix,Lt}function Vs(t){return Math.max(0,-Nt(Math.abs(t)))}function Os(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Nt(e)/3)))*3-Nt(Math.abs(t)))}function Ls(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Nt(e)-Nt(t))+1}function Ys(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}function or(t){return t}function Hs(t,e,n,r){var i=Mr(t,e,n),o;switch(r=ie(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(o=Os(i,a))&&(r.precision=o),ir(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Ls(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Vs(i))&&(r.precision=o-(r.type==="%")*2);break}}return rr(r)}function Gs(t){var e=t.domain;return t.ticks=function(n){var r=e();return kr(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return Hs(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,o=r.length-1,a=r[i],s=r[o],c,u,l=10;for(s0;){if(u=ve(a,s,n),u===c)return r[i]=a,r[o]=s,e(r);if(u>0)a=Math.floor(a/u)*u,s=Math.ceil(s/u)*u;else if(u<0)a=Math.ceil(a*u)/u,s=Math.floor(s*u)/u;else break;c=u}return t},t}function Us(){var t=0,e=1,n,r,i,o,a=or,s=!1,c;function u(h){return h==null||isNaN(h=+h)?c:a(i===0?.5:(h=(o(h)-n)*i,s?Math.max(0,Math.min(1,h)):h))}u.domain=function(h){return arguments.length?([t,e]=h,n=o(t=+t),r=o(e=+e),i=n===r?0:1/(r-n),u):[t,e]},u.clamp=function(h){return arguments.length?(s=!!h,u):s},u.interpolator=function(h){return arguments.length?(a=h,u):a};function l(h){return function(d){var p,w;return arguments.length?([p,w]=d,a=h(p,w),u):[a(0),a(1)]}}return u.range=l(De),u.rangeRound=l(Xo),u.unknown=function(h){return arguments.length?(c=h,u):c},function(h){return o=h,n=h(t),r=h(e),i=n===r?0:1/(r-n),u}}function Ks(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function ar(){var t=Gs(Us()(or));return t.copy=function(){return Ks(t,ar())},Ys.apply(t,arguments)}Un(ft(-100,.75,.35),ft(80,1.5,.8));Un(ft(260,.75,.35),ft(80,1.5,.8));var Yt=ft();function Ws(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Yt.h=360*t-100,Yt.s=1.5-1.5*e,Yt.l=.8-.9*e,Yt+""}const Ht=t=>()=>t;function Qs(t,{sourceEvent:e,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ct(t,e,n){this.k=t,this.x=e,this.y=n}ct.prototype={constructor:ct,scale:function(t){return t===1?this:new ct(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new ct(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var sr=new ct(1,0,0);ct.prototype;function me(t){t.stopImmediatePropagation()}function St(t){t.preventDefault(),t.stopImmediatePropagation()}function Zs(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function js(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function wn(){return this.__zoom||sr}function Js(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tu(){return navigator.maxTouchPoints||"ontouchstart"in this}function eu(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function nu(){var t=Zs,e=js,n=eu,r=Js,i=tu,o=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],s=250,c=Go,u=Dt("start","zoom","end"),l,h,d,p=500,w=150,_=0,y=10;function f(g){g.property("__zoom",wn).on("wheel.zoom",C,{passive:!1}).on("mousedown.zoom",D).on("dblclick.zoom",F).filter(i).on("touchstart.zoom",z).on("touchmove.zoom",G).on("touchend.zoom touchcancel.zoom",X).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}f.transform=function(g,k,v,M){var $=g.selection?g.selection():g;$.property("__zoom",wn),g!==$?b(g,k,v,M):$.interrupt().each(function(){S(this,arguments).event(M).start().zoom(null,typeof k=="function"?k.apply(this,arguments):k).end()})},f.scaleBy=function(g,k,v,M){f.scaleTo(g,function(){var $=this.__zoom.k,A=typeof k=="function"?k.apply(this,arguments):k;return $*A},v,M)},f.scaleTo=function(g,k,v,M){f.transform(g,function(){var $=e.apply(this,arguments),A=this.__zoom,T=v==null?m($):typeof v=="function"?v.apply(this,arguments):v,P=A.invert(T),R=typeof k=="function"?k.apply(this,arguments):k;return n(N(x(A,R),T,P),$,a)},v,M)},f.translateBy=function(g,k,v,M){f.transform(g,function(){return n(this.__zoom.translate(typeof k=="function"?k.apply(this,arguments):k,typeof v=="function"?v.apply(this,arguments):v),e.apply(this,arguments),a)},null,M)},f.translateTo=function(g,k,v,M,$){f.transform(g,function(){var A=e.apply(this,arguments),T=this.__zoom,P=M==null?m(A):typeof M=="function"?M.apply(this,arguments):M;return n(sr.translate(P[0],P[1]).scale(T.k).translate(typeof k=="function"?-k.apply(this,arguments):-k,typeof v=="function"?-v.apply(this,arguments):-v),A,a)},M,$)};function x(g,k){return k=Math.max(o[0],Math.min(o[1],k)),k===g.k?g:new ct(k,g.x,g.y)}function N(g,k,v){var M=k[0]-v[0]*g.k,$=k[1]-v[1]*g.k;return M===g.x&&$===g.y?g:new ct(g.k,M,$)}function m(g){return[(+g[0][0]+ +g[1][0])/2,(+g[0][1]+ +g[1][1])/2]}function b(g,k,v,M){g.on("start.zoom",function(){S(this,arguments).event(M).start()}).on("interrupt.zoom end.zoom",function(){S(this,arguments).event(M).end()}).tween("zoom",function(){var $=this,A=arguments,T=S($,A).event(M),P=e.apply($,A),R=v==null?m(P):typeof v=="function"?v.apply($,A):v,j=Math.max(P[1][0]-P[0][0],P[1][1]-P[0][1]),q=$.__zoom,K=typeof k=="function"?k.apply($,A):k,it=c(q.invert(R).concat(j/q.k),K.invert(R).concat(j/K.k));return function(W){if(W===1)W=K;else{var ot=it(W),fe=j/ot[2];W=new ct(fe,R[0]-ot[0]*fe,R[1]-ot[1]*fe)}T.zoom(null,W)}})}function S(g,k,v){return!v&&g.__zooming||new E(g,k)}function E(g,k){this.that=g,this.args=k,this.active=0,this.sourceEvent=null,this.extent=e.apply(g,k),this.taps=0}E.prototype={event:function(g){return g&&(this.sourceEvent=g),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(g,k){return this.mouse&&g!=="mouse"&&(this.mouse[1]=k.invert(this.mouse[0])),this.touch0&&g!=="touch"&&(this.touch0[1]=k.invert(this.touch0[0])),this.touch1&&g!=="touch"&&(this.touch1[1]=k.invert(this.touch1[0])),this.that.__zoom=k,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(g){var k=et(this.that).datum();u.call(g,this.that,new Qs(g,{sourceEvent:this.sourceEvent,target:f,type:g,transform:this.that.__zoom,dispatch:u}),k)}};function C(g,...k){if(!t.apply(this,arguments))return;var v=S(this,k).event(g),M=this.__zoom,$=Math.max(o[0],Math.min(o[1],M.k*Math.pow(2,r.apply(this,arguments)))),A=st(g);if(v.wheel)(v.mouse[0][0]!==A[0]||v.mouse[0][1]!==A[1])&&(v.mouse[1]=M.invert(v.mouse[0]=A)),clearTimeout(v.wheel);else{if(M.k===$)return;v.mouse=[A,M.invert(A)],Wt(this),v.start()}St(g),v.wheel=setTimeout(T,w),v.zoom("mouse",n(N(x(M,$),v.mouse[0],v.mouse[1]),v.extent,a));function T(){v.wheel=null,v.end()}}function D(g,...k){if(d||!t.apply(this,arguments))return;var v=g.currentTarget,M=S(this,k,!0).event(g),$=et(g.view).on("mousemove.zoom",R,!0).on("mouseup.zoom",j,!0),A=st(g,v),T=g.clientX,P=g.clientY;Fn(g.view),me(g),M.mouse=[A,this.__zoom.invert(A)],Wt(this),M.start();function R(q){if(St(q),!M.moved){var K=q.clientX-T,it=q.clientY-P;M.moved=K*K+it*it>_}M.event(q).zoom("mouse",n(N(M.that.__zoom,M.mouse[0]=st(q,v),M.mouse[1]),M.extent,a))}function j(q){$.on("mousemove.zoom mouseup.zoom",null),Xn(q.view,M.moved),St(q),M.event(q).end()}}function F(g,...k){if(t.apply(this,arguments)){var v=this.__zoom,M=st(g.changedTouches?g.changedTouches[0]:g,this),$=v.invert(M),A=v.k*(g.shiftKey?.5:2),T=n(N(x(v,A),M,$),e.apply(this,k),a);St(g),s>0?et(this).transition().duration(s).call(b,T,M,g):et(this).call(f.transform,T,M,g)}}function z(g,...k){if(t.apply(this,arguments)){var v=g.touches,M=v.length,$=S(this,k,g.changedTouches.length===M).event(g),A,T,P,R;for(me(g),T=0;Tar(Ws)((l-1)%8/8);kn(()=>{if(a.value){const{nodes:l,links:h}=n.graphData,d=zs(l).force("link",ws(h).id(({name:f})=>f)).force("charge",Es().strength(-5e3)).force("x",Ts()).force("y",Cs()).alphaTarget(0),p=et(a.value),w=p.append("g").selectAll("text").data(l).join("text").text(f=>f.name).attr("fill",({depth:f})=>s(f)),_=p.append("g").attr("stroke","#999").attr("stroke-opacity",.6).attr("marker-end","url(#arrow)").attr("stroke-width",2).selectAll("line").data(h).join("line"),y=p.append("g").attr("stroke-opacity",.6).attr("stroke-width",6).selectAll("circle").data(l).join("circle").attr("r",8).attr("stroke",({depth:f})=>s(f)).attr("fill",({depth:f})=>s(f)).on("click",(f,{name:x})=>e("nodeClick",x));c(p),u(y,d),d.on("tick",()=>{_.attr("x1",f=>{var x;return((x=f.source)==null?void 0:x.x)??0}).attr("y1",f=>{var x;return((x=f.source)==null?void 0:x.y)??0}).attr("x2",f=>{var x;return((x=f.target)==null?void 0:x.x)??0}).attr("y2",f=>{var x;return((x=f.target)==null?void 0:x.y)??0}),y.attr("cx",f=>(f==null?void 0:f.x)??0).attr("cy",f=>(f==null?void 0:f.y)??0),w.attr("x",f=>((f==null?void 0:f.x)??0)-f.name.length*4).attr("y",f=>((f==null?void 0:f.y)??0)-16)})}});function c(l){nu().scaleExtent([1,8]).on("zoom",({transform:h})=>{l.selectAll("g").attr("transform",h)})(l)}function u(l,h){ho().on("start",d=>{d.active||h.alphaTarget(.3).restart(),d.subject.fx=d.subject.x,d.subject.fy=d.subject.y}).on("drag",d=>{d.subject.fx=d.x,d.subject.fy=d.y}).on("end",d=>{d.active||h.alphaTarget(0),d.subject.fx=o.fixedNailModel?d.x:null,d.subject.fy=o.fixedNailModel?d.y:null})(l)}return(l,h)=>(tt(),ut("svg",{ref_key:"svgRef",ref:a,width:U(r),height:U(i),viewBox:`${-U(r)/2} ${-U(i)/2} ${U(r)} ${U(i)}`,class:"ma-0 block pa-0"},ou,8,ru))}});function Oe(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function su(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const r=Oe(n);return(i,o)=>r.then(a=>o(a.transaction(e,i).objectStore(e)))}let ye;function ur(){return ye||(ye=su("keyval-store","keyval")),ye}function uu(t,e=ur()){return e("readonly",n=>Oe(n.get(t)))}function cu(t,e,n=ur()){return n("readwrite",r=>(r.put(e,t),Oe(r.transaction)))}async function lu(t,e,n){const r=`${n||"https://registry.npmjs.org/"}${t}/${e}`,i=e===""?void 0:await uu(r);if(i)return{data:i,error:void 0};const{data:o,error:a}=await _r(r,{headers:{"Content-Type":"application/json"},method:"GET"},{afterFetch({data:s}){return e!==""&&cu(r,s),{data:s}}}).json();return{error:a.value,data:o.value}}const fu={bg:"gray-3 dark:slate-7",class:"rounded-md pa-4 w-xs h-[calc(100vh-8rem)]",shadow:"lg gray-3 dark:slate-6",flex:"~ col"},hu={flex:"~ justify-between items-center"},du={class:"font-sans px-1 rounded-l dark:bg-blue-6 bg-indigo-3 text-indigo-8 dark:text-blue-2"},pu={class:"font-sans px-1 rounded-r bg-lime-2 dark:bg-lime-6 text-lime-6 dark:text-lime-1"},gu=I("i",{class:"i-uil-times",text:"xl"},null,-1),mu=[gu],yu={class:"overflow-auto flex-grow"},_u={class:"my-4"},vu={class:"font-bold select-none"},xu={class:"my-2"},wu={class:"select-none"},bu={class:"font-bold mr-2"},ku={"font-sans":""},Mu={class:"font-bold mx-2"},Nu={"font-sans":""},Au={class:"select-none"},$u={class:"mr-2 font-bold"},Su={class:"font-sans px-1 rounded-sm bg-red-1 text-red-6 dark:text-red-3 dark:bg-red-1/30"},zu={class:"select-none my-4"},Eu={class:"mr-2 font-bold"},Tu={flex:"~ wrap items-start",class:"gap-1 mt-2"},Cu={flex:"~ wrap col items-start",class:"gap-1 my-4"},Iu=I("span",{class:"font-bold select-none"},"生产依赖",-1),Pu={class:"animate-pulse py-4"},Du=hr('

',6),Ru=[Du],Fu=ze({__name:"PackageInfo",props:{currentPackage:{}},emits:["close"],setup(t,{emit:e}){const n=t,r=Mn(),i=cr().appContext.config.globalProperties,{currentRegistry:o}=lr(r),a=_e(!1);kn(async()=>{a.value=!0;const{data:u}=await lu(n.currentPackage.name,n.currentPackage.version,o.value);s.value=u,setTimeout(()=>a.value=!1,300)});const s=_e(),c=fr(()=>{var u,l,h,d,p,w,_,y;return{description:((u=s.value)==null?void 0:u.description)??"无",dist:{size:(h=(l=s.value)==null?void 0:l.dist)!=null&&h.size?(s.value.dist.size/1024).toFixed(2)+"KB":"UNKNOWN",unpackedSize:(p=(d=s.value)==null?void 0:d.dist)!=null&&p.unpackedSize?(s.value.dist.unpackedSize/1024).toFixed(2)+"KB":"UNKNOWN"},license:((w=s.value)==null?void 0:w.license)??"UNKNOWN",keywords:((_=s.value)==null?void 0:_.keywords)??[],dependencies:Object.entries(((y=s.value)==null?void 0:y.dependencies)??{})}});return(u,l)=>{var h,d,p,w,_,y;return tt(),ut("div",fu,[I("header",hu,[I("div",null,[I("code",du,L(u.currentPackage.name),1),I("code",pu,L(u.currentPackage.version),1)]),I("button",{type:"button",title:"关闭",class:"rounded-md ma-0 pa-1 border-none",bg:"transparent hover:gray-2 hover:dark:slate-8",onClick:l[0]||(l[0]=f=>e("close"))},mu)]),Ft(I("section",yu,[I("div",_u,[I("span",vu,L(U(i).$t("summarize")),1),I("p",xu,L(c.value.description),1)]),I("p",wu,[I("span",bu,L(U(i).$t("size")),1),I("code",ku,L(c.value.dist.size),1),I("span",Mu,L(U(i).$t("decompressionSize")),1),I("code",Nu,L(c.value.dist.unpackedSize),1)]),I("p",Au,[I("span",$u,L(U(i).$t("openSourceProtocol")),1),I("code",Su,L((h=s.value)==null?void 0:h.license),1)]),Ft(I("div",zu,[I("span",Eu,L(U(i).$t("keyword")),1),I("div",Tu,[(tt(!0),ut(Le,null,Ye(((d=s.value)==null?void 0:d.keywords)??[],f=>(tt(),ut("code",{class:"font-sans px-1 rounded-sm text-cyan-6 bg-cyan-1 dark:text-cyan-3 dark:bg-cyan-1/30",key:f},L(f),1))),128))])],512),[[Xt,(w=(p=s.value)==null?void 0:p.keywords)==null?void 0:w.length]]),Ft(I("div",Cu,[Iu,(tt(!0),ut(Le,null,Ye(Object.entries(((_=s.value)==null?void 0:_.dependencies)??{}),([f,x])=>(tt(),ut("li",{class:"px-1",key:f+x},L(f)+"@"+L(x),1))),128))],512),[[Xt,Object.keys(((y=s.value)==null?void 0:y.dependencies)??{}).length!==0]])],512),[[Xt,!a.value]]),Ft(I("section",Pu,Ru,512),[[Xt,a.value]])])}}}),Se={nodes:[{name:"vue@3.3.4",depth:1,dependencies:["@vue/shared@3.3.4","@vue/compiler-dom@3.3.4","@vue/runtime-dom@3.3.4","@vue/compiler-sfc@3.3.4","@vue/server-renderer@3.3.4"]},{name:"@vue/shared@3.3.4",depth:2,dependencies:[]},{name:"@vue/compiler-dom@3.3.4",depth:2,dependencies:["@vue/shared@3.3.4","@vue/compiler-core@3.3.4"]},{name:"@vue/runtime-dom@3.3.4",depth:2,dependencies:["@vue/shared@3.3.4","@vue/runtime-core@3.3.4","csstype@3.1.1"]},{name:"@vue/compiler-sfc@3.3.4",depth:2,dependencies:["magic-string@0.30.0","@vue/compiler-ssr@3.3.4","@vue/shared@3.3.4","@vue/runtime-dom@3.3.4","estree-walker@2.0.2","source-map-js@1.0.2","@vue/compiler-core@3.3.4"]},{name:"@vue/server-renderer@3.3.4",depth:2,dependencies:["@vue/shared@3.3.4","@vue/compiler-ssr@3.3.4"]},{name:"@vue/compiler-core@3.3.4",depth:3,dependencies:["@vue/shared@3.3.4","@babel/parser@7.21.3","estree-walker@2.0.2","source-map-js@1.0.2"]},{name:"@babel/parser@7.21.3",depth:4,dependencies:[]},{name:"estree-walker@2.0.2",depth:3,dependencies:[]},{name:"source-map-js@1.0.2",depth:3,dependencies:[]},{name:"@vue/compiler-ssr@3.3.4",depth:3,dependencies:["@vue/shared@3.3.4","@vue/compiler-dom@3.3.4"]},{name:"magic-string@0.30.0",depth:3,dependencies:["@jridgewell/sourcemap-codec@1.4.13"]},{name:"@jridgewell/sourcemap-codec@1.4.13",depth:4,dependencies:[]},{name:"csstype@3.1.1",depth:3,dependencies:[]},{name:"@vue/runtime-core@3.3.4",depth:3,dependencies:["@vue/shared@3.3.4"]}],links:[]};Se.links=Se.nodes.reduce((t,{name:e,dependencies:n})=>(t.push(...n.map(r=>({source:e,target:r}))),t),[]);function Xu(){return new Promise(t=>{setTimeout(()=>t(Se),1e3)})}const qu={class:"w-full h-100vh overflow-hidden"},Bu={key:1,class:"absolute i-svg-spinners-blocks-shuffle-3 top-[calc(50%-3rem)] text-8xl left-[calc(50%-3rem)]"},Vu={key:0,class:"absolute top-16 left-4"},Ou=ze({__name:"index",setup(t){const e=_e(!1),n=vr(e),r=dr({name:"",version:""});function i(a){e.value=!0,r.version=a.split("@").slice(-1)[0],r.name=a.split("@").slice(0,-1).join("@")}const o=bn({nodes:[],links:[]});return Xu().then(a=>{o.value=a}),(a,s)=>(tt(),ut("div",qu,[he(Ge,{name:"chart"},{default:He(()=>[o.value.nodes.length?(tt(),pr(au,{key:0,onNodeClick:i,graphData:o.value},null,8,["graphData"])):(tt(),ut("i",Bu))]),_:1}),he(Ge,{name:"package-info"},{default:He(()=>[e.value?(tt(),ut("aside",Vu,[he(Fu,{currentPackage:r,onClose:U(n)},null,8,["currentPackage","onClose"])])):gr("",!0)]),_:1})]))}});const Hu=mr(Ou,[["__scopeId","data-v-122df927"]]);export{Hu as default}; diff --git a/assets/index-ae40ba68.js b/assets/index-ae40ba68.js new file mode 100644 index 0000000..9f0603e --- /dev/null +++ b/assets/index-ae40ba68.js @@ -0,0 +1 @@ +import{d as Sn,k as bt,l as _t,o as ee,c as oe,u as G,a as T,m as di,s as li,r as Dn,e as pi,t as V,w as Pe,q as Re,F as Ln,x as Yn,y as ui,z as fi,g as fn,h as Hn,T as Gn,A as hi,i as mi,_ as yi}from"./index-d97ebcaf.js";import{d as gi,u as kt,e as vi,b as Di}from"./app-608daff4.js";const wi=Math.sqrt(50),xi=Math.sqrt(10),bi=Math.sqrt(2);function We(e,n,t){const i=(n-e)/Math.max(0,t),s=Math.floor(Math.log10(i)),a=i/Math.pow(10,s),r=a>=wi?10:a>=xi?5:a>=bi?2:1;let c,d,o;return s<0?(o=Math.pow(10,-s)/r,c=Math.round(e*o),d=Math.round(n*o),c/on&&--d,o=-o):(o=Math.pow(10,s)*r,c=Math.round(e/o),d=Math.round(n/o),c*on&&--d),d0))return[];if(e===n)return[e];const i=n=s))return[];const c=a-s+1,d=new Array(c);if(i)if(r<0)for(let o=0;o{}};function qe(){for(var e=0,n=arguments.length,t={},i;e=0&&(i=t.slice(s+1),t=t.slice(0,s)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:i}})}He.prototype=qe.prototype={constructor:He,on:function(e,n){var t=this._,i=Ni(e+"",t),s,a=-1,r=i.length;if(arguments.length<2){for(;++a0)for(var t=new Array(s),i=0,s,a;i=0&&(n=e.slice(0,t))!=="xmlns"&&(e=e.slice(t+1)),Kn.hasOwnProperty(n)?{space:Kn[n],local:e}:e}function zi(e){return function(){var n=this.ownerDocument,t=this.namespaceURI;return t===xn&&n.documentElement.namespaceURI===xn?n.createElement(e):n.createElementNS(t,e)}}function $i(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Mt(e){var n=rn(e);return(n.local?$i:zi)(n)}function Si(){}function jn(e){return e==null?Si:function(){return this.querySelector(e)}}function ji(e){typeof e!="function"&&(e=jn(e));for(var n=this._groups,t=n.length,i=new Array(t),s=0;s=M&&(M=w+1);!(b=g[M])&&++M=0;)(r=i[s])&&(a&&r.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(r,a),a=r);return this}function ts(e){e||(e=is);function n(u,f){return u&&f?e(u.__data__,f.__data__):!u-!f}for(var t=this._groups,i=t.length,s=new Array(i),a=0;an?1:e>=n?0:NaN}function ss(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function as(){return Array.from(this)}function rs(){for(var e=this._groups,n=0,t=e.length;n1?this.each((n==null?gs:typeof n=="function"?Ds:vs)(e,n,t??"")):be(this.node(),e)}function be(e,n){return e.style.getPropertyValue(n)||St(e).getComputedStyle(e,null).getPropertyValue(n)}function xs(e){return function(){delete this[e]}}function bs(e,n){return function(){this[e]=n}}function _s(e,n){return function(){var t=n.apply(this,arguments);t==null?delete this[e]:this[e]=t}}function ks(e,n){return arguments.length>1?this.each((n==null?xs:typeof n=="function"?_s:bs)(e,n)):this.node()[e]}function jt(e){return e.trim().split(/^|\s+/)}function En(e){return e.classList||new Et(e)}function Et(e){this._node=e,this._names=jt(e.getAttribute("class")||"")}Et.prototype={add:function(e){var n=this._names.indexOf(e);n<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var n=this._names.indexOf(e);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Tt(e,n){for(var t=En(e),i=-1,s=n.length;++i=0&&(t=n.slice(i+1),n=n.slice(0,i)),{type:n,name:t}})}function Zs(e){return function(){var n=this.__on;if(n){for(var t=0,i=-1,s=n.length,a;t()=>e;function bn(e,{sourceEvent:n,subject:t,target:i,identifier:s,active:a,x:r,y:c,dx:d,dy:o,dispatch:l}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:s,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:r,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:o,enumerable:!0,configurable:!0},_:{value:l}})}bn.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function oa(e){return!e.ctrlKey&&!e.button}function da(){return this.parentNode}function la(e,n){return n??{x:e.x,y:e.y}}function pa(){return navigator.maxTouchPoints||"ontouchstart"in this}function ua(){var e=oa,n=da,t=la,i=pa,s={},a=qe("start","drag","end"),r=0,c,d,o,l,u=0;function f(y){y.on("mousedown.drag",h).filter(i).on("touchstart.drag",g).on("touchmove.drag",p,ca).on("touchend.drag touchcancel.drag",w).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function h(y,b){if(!(l||!e.call(this,y,b))){var z=M(this,n.call(this,y,b),y,b,"mouse");z&&(ne(y.view).on("mousemove.drag",x,je).on("mouseup.drag",v,je),Pt(y.view),hn(y),o=!1,c=y.clientX,d=y.clientY,z("start",y))}}function x(y){if(De(y),!o){var b=y.clientX-c,z=y.clientY-d;o=b*b+z*z>u}s.mouse("drag",y)}function v(y){ne(y.view).on("mousemove.drag mouseup.drag",null),Rt(y.view,o),De(y),s.mouse("end",y)}function g(y,b){if(e.call(this,y,b)){var z=y.changedTouches,S=n.call(this,y,b),E=z.length,q,P;for(q=0;q>8&15|n>>4&240,n>>4&15|n&240,(n&15)<<4|n&15,1):t===8?Xe(n>>24&255,n>>16&255,n>>8&255,(n&255)/255):t===4?Xe(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|n&240,((n&15)<<4|n&15)/255):null):(n=ha.exec(e))?new X(n[1],n[2],n[3],1):(n=ma.exec(e))?new X(n[1]*255/100,n[2]*255/100,n[3]*255/100,1):(n=ya.exec(e))?Xe(n[1],n[2],n[3],n[4]):(n=ga.exec(e))?Xe(n[1]*255/100,n[2]*255/100,n[3]*255/100,n[4]):(n=va.exec(e))?tt(n[1],n[2]/100,n[3]/100,1):(n=Da.exec(e))?tt(n[1],n[2]/100,n[3]/100,n[4]):Wn.hasOwnProperty(e)?Jn(Wn[e]):e==="transparent"?new X(NaN,NaN,NaN,0):null}function Jn(e){return new X(e>>16&255,e>>8&255,e&255,1)}function Xe(e,n,t,i){return i<=0&&(e=n=t=NaN),new X(e,n,t,i)}function Ft(e){return e instanceof Ne||(e=ye(e)),e?(e=e.rgb(),new X(e.r,e.g,e.b,e.opacity)):new X}function _n(e,n,t,i){return arguments.length===1?Ft(e):new X(e,n,t,i??1)}function X(e,n,t,i){this.r=+e,this.g=+n,this.b=+t,this.opacity=+i}cn(X,_n,Tn(Ne,{brighter(e){return e=e==null?_e:Math.pow(_e,e),new X(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?me:Math.pow(me,e),new X(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new X(fe(this.r),fe(this.g),fe(this.b),Ze(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:et,formatHex:et,formatHex8:ba,formatRgb:nt,toString:nt}));function et(){return`#${ue(this.r)}${ue(this.g)}${ue(this.b)}`}function ba(){return`#${ue(this.r)}${ue(this.g)}${ue(this.b)}${ue((isNaN(this.opacity)?1:this.opacity)*255)}`}function nt(){const e=Ze(this.opacity);return`${e===1?"rgb(":"rgba("}${fe(this.r)}, ${fe(this.g)}, ${fe(this.b)}${e===1?")":`, ${e})`}`}function Ze(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function fe(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ue(e){return e=fe(e),(e<16?"0":"")+e.toString(16)}function tt(e,n,t,i){return i<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new W(e,n,t,i)}function Xt(e){if(e instanceof W)return new W(e.h,e.s,e.l,e.opacity);if(e instanceof Ne||(e=ye(e)),!e)return new W;if(e instanceof W)return e;e=e.rgb();var n=e.r/255,t=e.g/255,i=e.b/255,s=Math.min(n,t,i),a=Math.max(n,t,i),r=NaN,c=a-s,d=(a+s)/2;return c?(n===a?r=(t-i)/c+(t0&&d<1?0:r,new W(r,c,d,e.opacity)}function _a(e,n,t,i){return arguments.length===1?Xt(e):new W(e,n,t,i??1)}function W(e,n,t,i){this.h=+e,this.s=+n,this.l=+t,this.opacity=+i}cn(W,_a,Tn(Ne,{brighter(e){return e=e==null?_e:Math.pow(_e,e),new W(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?me:Math.pow(me,e),new W(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*n,s=2*t-i;return new X(mn(e>=240?e-240:e+120,s,i),mn(e,s,i),mn(e<120?e+240:e-120,s,i),this.opacity)},clamp(){return new W(it(this.h),Be(this.s),Be(this.l),Ze(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Ze(this.opacity);return`${e===1?"hsl(":"hsla("}${it(this.h)}, ${Be(this.s)*100}%, ${Be(this.l)*100}%${e===1?")":`, ${e})`}`}}));function it(e){return e=(e||0)%360,e<0?e+360:e}function Be(e){return Math.max(0,Math.min(1,e||0))}function mn(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const ka=Math.PI/180,Ma=180/Math.PI;var Bt=-.14861,Cn=1.78277,qn=-.29227,on=-.90649,Te=1.97294,st=Te*on,at=Te*Cn,rt=Cn*qn-on*Bt;function Na(e){if(e instanceof he)return new he(e.h,e.s,e.l,e.opacity);e instanceof X||(e=Ft(e));var n=e.r/255,t=e.g/255,i=e.b/255,s=(rt*i+st*n-at*t)/(rt+st-at),a=i-s,r=(Te*(t-s)-qn*a)/on,c=Math.sqrt(r*r+a*a)/(Te*s*(1-s)),d=c?Math.atan2(r,a)*Ma-120:NaN;return new he(d<0?d+360:d,c,s,e.opacity)}function pe(e,n,t,i){return arguments.length===1?Na(e):new he(e,n,t,i??1)}function he(e,n,t,i){this.h=+e,this.s=+n,this.l=+t,this.opacity=+i}cn(he,pe,Tn(Ne,{brighter(e){return e=e==null?_e:Math.pow(_e,e),new he(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?me:Math.pow(me,e),new he(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*ka,n=+this.l,t=isNaN(this.s)?0:this.s*n*(1-n),i=Math.cos(e),s=Math.sin(e);return new X(255*(n+t*(Bt*i+Cn*s)),255*(n+t*(qn*i+on*s)),255*(n+t*(Te*i)),this.opacity)}}));const dn=e=>()=>e;function Ot(e,n){return function(t){return e+t*n}}function Aa(e,n,t){return e=Math.pow(e,t),n=Math.pow(n,t)-e,t=1/t,function(i){return Math.pow(e+i*n,t)}}function za(e,n){var t=n-e;return t?Ot(e,t>180||t<-180?t-360*Math.round(t/360):t):dn(isNaN(e)?n:e)}function $a(e){return(e=+e)==1?xe:function(n,t){return t-n?Aa(n,t,e):dn(isNaN(n)?t:n)}}function xe(e,n){var t=n-e;return t?Ot(e,t):dn(isNaN(e)?n:e)}const Je=function e(n){var t=$a(n);function i(s,a){var r=t((s=_n(s)).r,(a=_n(a)).r),c=t(s.g,a.g),d=t(s.b,a.b),o=xe(s.opacity,a.opacity);return function(l){return s.r=r(l),s.g=c(l),s.b=d(l),s.opacity=o(l),s+""}}return i.gamma=e,i}(1);function Sa(e,n){n||(n=[]);var t=e?Math.min(n.length,e.length):0,i=n.slice(),s;return function(a){for(s=0;st&&(a=n.slice(t,a),c[r]?c[r]+=a:c[++r]=a),(i=i[0])===(s=s[0])?c[r]?c[r]+=s:c[++r]=s:(c[++r]=null,d.push({i:r,x:J(i,s)})),t=yn.lastIndex;return t180?l+=360:l-o>180&&(o+=360),f.push({i:u.push(s(u)+"rotate(",null,i)-2,x:J(o,l)})):l&&u.push(s(u)+"rotate("+l+i)}function c(o,l,u,f){o!==l?f.push({i:u.push(s(u)+"skewX(",null,i)-2,x:J(o,l)}):l&&u.push(s(u)+"skewX("+l+i)}function d(o,l,u,f,h,x){if(o!==u||l!==f){var v=h.push(s(h)+"scale(",null,",",null,")");x.push({i:v-4,x:J(o,u)},{i:v-2,x:J(l,f)})}else(u!==1||f!==1)&&h.push(s(h)+"scale("+u+","+f+")")}return function(o,l){var u=[],f=[];return o=e(o),l=e(l),a(o.translateX,o.translateY,l.translateX,l.translateY,u,f),r(o.rotate,l.rotate,u,f),c(o.skewX,l.skewX,u,f),d(o.scaleX,o.scaleY,l.scaleX,l.scaleY,u,f),o=l=null,function(h){for(var x=-1,v=f.length,g;++x=0&&e._call.call(void 0,n),e=e._next;--ke}function dt(){ge=(nn=Ce.now())+ln,ke=$e=0;try{Ga()}finally{ke=0,Ka(),ge=0}}function Ua(){var e=Ce.now(),n=e-nn;n>Ut&&(ln-=n,nn=e)}function Ka(){for(var e,n=en,t,i=1/0;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:en=t);Se=e,Nn(i)}function Nn(e){if(!ke){$e&&($e=clearTimeout($e));var n=e-ge;n>24?(e<1/0&&($e=setTimeout(dt,e-Ce.now()-ln)),Ae&&(Ae=clearInterval(Ae))):(Ae||(nn=Ce.now(),Ae=setInterval(Ua,Ut)),ke=1,Kt(dt))}}function lt(e,n,t){var i=new tn;return n=n==null?0:+n,i.restart(s=>{i.stop(),e(s+n)},n,t),i}var Wa=qe("start","end","cancel","interrupt"),Qa=[],Wt=0,pt=1,An=2,Ge=3,ut=4,zn=5,Ue=6;function pn(e,n,t,i,s,a){var r=e.__transition;if(!r)e.__transition={};else if(t in r)return;Za(e,t,{name:n,index:i,group:s,on:Wa,tween:Qa,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Wt})}function Fn(e,n){var t=Q(e,n);if(t.state>Wt)throw new Error("too late; already scheduled");return t}function ie(e,n){var t=Q(e,n);if(t.state>Ge)throw new Error("too late; already running");return t}function Q(e,n){var t=e.__transition;if(!t||!(t=t[n]))throw new Error("transition not found");return t}function Za(e,n,t){var i=e.__transition,s;i[n]=t,t.timer=Rn(a,0,t.time);function a(o){t.state=pt,t.timer.restart(r,t.delay,t.time),t.delay<=o&&r(o-t.delay)}function r(o){var l,u,f,h;if(t.state!==pt)return d();for(l in i)if(h=i[l],h.name===t.name){if(h.state===Ge)return lt(r);h.state===ut?(h.state=Ue,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[l]):+lAn&&i.state=0&&(n=n.slice(0,t)),!n||n==="start"})}function zr(e,n,t){var i,s,a=Ar(n)?Fn:ie;return function(){var r=a(this,e),c=r.on;c!==i&&(s=(i=c).copy()).on(n,t),r.on=s}}function $r(e,n){var t=this._id;return arguments.length<2?Q(this.node(),t).on.on(e):this.each(zr(t,e,n))}function Sr(e){return function(){var n=this.parentNode;for(var t in this.__transition)if(+t!==e)return;n&&n.removeChild(this)}}function jr(){return this.on("end.remove",Sr(this._id))}function Er(e){var n=this._name,t=this._id;typeof e!="function"&&(e=jn(e));for(var i=this._groups,s=i.length,a=new Array(s),r=0;r=(u=(c+o)/2))?c=u:o=u,(g=t>=(f=(d+l)/2))?d=f:l=f,s=a,!(a=a[p=g<<1|v]))return s[p]=r,e;if(h=+e._x.call(null,a.data),x=+e._y.call(null,a.data),n===h&&t===x)return r.next=a,s?s[p]=r:e._root=r,e;do s=s?s[p]=new Array(4):e._root=new Array(4),(v=n>=(u=(c+o)/2))?c=u:o=u,(g=t>=(f=(d+l)/2))?d=f:l=f;while((p=g<<1|v)===(w=(x>=f)<<1|h>=u));return s[w]=a,s[p]=r,e}function sc(e){var n,t,i=e.length,s,a,r=new Array(i),c=new Array(i),d=1/0,o=1/0,l=-1/0,u=-1/0;for(t=0;tl&&(l=s),au&&(u=a));if(d>l||o>u)return this;for(this.cover(d,o).cover(l,u),t=0;te||e>=s||i>n||n>=a;)switch(o=(nl||(c=x.y0)>u||(d=x.x1)=p)<<1|e>=g)&&(x=f[f.length-1],f[f.length-1]=f[f.length-1-v],f[f.length-1-v]=x)}else{var w=e-+this._x.call(null,h.data),M=n-+this._y.call(null,h.data),y=w*w+M*M;if(y=(f=(r+d)/2))?r=f:d=f,(v=u>=(h=(c+o)/2))?c=h:o=h,n=t,!(t=t[g=v<<1|x]))return this;if(!t.length)break;(n[g+1&3]||n[g+2&3]||n[g+3&3])&&(i=n,p=g)}for(;t.data!==e;)if(s=t,!(t=t.next))return this;return(a=t.next)&&delete t.next,s?(a?s.next=a:delete s.next,this):n?(a?n[g]=a:delete n[g],(t=n[0]||n[1]||n[2]||n[3])&&t===(n[3]||n[2]||n[1]||n[0])&&!t.length&&(i?i[p]=t:this._root=t),this):(this._root=a,this)}function lc(e){for(var n=0,t=e.length;n[n(b,z,r),b])),y;for(g=0,c=new Array(p);g(e=(xc*e+bc)%mt)/mt}function kc(e){return e.x}function Mc(e){return e.y}var Nc=10,Ac=Math.PI*(3-Math.sqrt(5));function zc(e){var n,t=1,i=.001,s=1-Math.pow(i,1/300),a=0,r=.6,c=new Map,d=Rn(u),o=qe("tick","end"),l=_c();e==null&&(e=[]);function u(){f(),o.call("tick",n),t1?(g==null?c.delete(v):c.set(v,x(g)),n):c.get(v)},find:function(v,g,p){var w=0,M=e.length,y,b,z,S,E;for(p==null?p=1/0:p*=p,w=0;w1?(o.on(v,g),n):o.on(v)}}}function $c(){var e,n,t,i,s=L(-30),a,r=1,c=1/0,d=.81;function o(h){var x,v=e.length,g=ni(e,kc,Mc).visitAfter(u);for(i=h,x=0;x=c)return;(h.data!==n||h.next)&&(p===0&&(p=ve(t),y+=p*p),w===0&&(w=ve(t),y+=w*w),y=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function sn(e,n){if((t=(e=n?e.toExponential(n-1):e.toExponential()).indexOf("e"))<0)return null;var t,i=e.slice(0,t);return[i.length>1?i[0]+i.slice(2):i,+e.slice(t+1)]}function Me(e){return e=sn(Math.abs(e)),e?e[1]:NaN}function Tc(e,n){return function(t,i){for(var s=t.length,a=[],r=0,c=e[0],d=0;s>0&&c>0&&(d+c+1>i&&(c=Math.max(1,i-d)),a.push(t.substring(s-=c,s+c)),!((d+=c+1)>i));)c=e[r=(r+1)%e.length];return a.reverse().join(n)}}function Cc(e){return function(n){return n.replace(/[0-9]/g,function(t){return e[+t]})}}var qc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function an(e){if(!(n=qc.exec(e)))throw new Error("invalid format: "+e);var n;return new On({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}an.prototype=On.prototype;function On(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}On.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Ic(e){e:for(var n=e.length,t=1,i=-1,s;t0&&(i=0);break}return i>0?e.slice(0,i)+e.slice(s+1):e}var ti;function Pc(e,n){var t=sn(e,n);if(!t)return e+"";var i=t[0],s=t[1],a=s-(ti=Math.max(-8,Math.min(8,Math.floor(s/3)))*3)+1,r=i.length;return a===r?i:a>r?i+new Array(a-r+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+sn(e,Math.max(0,n+a-1))[0]}function yt(e,n){var t=sn(e,n);if(!t)return e+"";var i=t[0],s=t[1];return s<0?"0."+new Array(-s).join("0")+i:i.length>s+1?i.slice(0,s+1)+"."+i.slice(s+1):i+new Array(s-i.length+2).join("0")}const gt={"%":(e,n)=>(e*100).toFixed(n),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Ec,e:(e,n)=>e.toExponential(n),f:(e,n)=>e.toFixed(n),g:(e,n)=>e.toPrecision(n),o:e=>Math.round(e).toString(8),p:(e,n)=>yt(e*100,n),r:yt,s:Pc,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function vt(e){return e}var Dt=Array.prototype.map,wt=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rc(e){var n=e.grouping===void 0||e.thousands===void 0?vt:Tc(Dt.call(e.grouping,Number),e.thousands+""),t=e.currency===void 0?"":e.currency[0]+"",i=e.currency===void 0?"":e.currency[1]+"",s=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?vt:Cc(Dt.call(e.numerals,String)),r=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"−":e.minus+"",d=e.nan===void 0?"NaN":e.nan+"";function o(u){u=an(u);var f=u.fill,h=u.align,x=u.sign,v=u.symbol,g=u.zero,p=u.width,w=u.comma,M=u.precision,y=u.trim,b=u.type;b==="n"?(w=!0,b="g"):gt[b]||(M===void 0&&(M=12),y=!0,b="g"),(g||f==="0"&&h==="=")&&(g=!0,f="0",h="=");var z=v==="$"?t:v==="#"&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",S=v==="$"?i:/[%p]/.test(b)?r:"",E=gt[b],q=/[defgprs%]/.test(b);M=M===void 0?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,M)):Math.max(0,Math.min(20,M));function P($){var H=z,R=S,m,_,D;if(b==="c")R=E($)+R,$="";else{$=+$;var k=$<0||1/$<0;if($=isNaN($)?d:E(Math.abs($),M),y&&($=Ic($)),k&&+$==0&&x!=="+"&&(k=!1),H=(k?x==="("?x:c:x==="-"||x==="("?"":x)+H,R=(b==="s"?wt[8+ti/3]:"")+R+(k&&x==="("?")":""),q){for(m=-1,_=$.length;++m<_;)if(D=$.charCodeAt(m),48>D||D>57){R=(D===46?s+$.slice(m+1):$.slice(m))+R,$=$.slice(0,m);break}}}w&&!g&&($=n($,1/0));var A=H.length+$.length+R.length,N=A>1)+H+$+R+N.slice(A);break;default:$=N+H+$+R;break}return a($)}return P.toString=function(){return u+""},P}function l(u,f){var h=o((u=an(u),u.type="f",u)),x=Math.max(-8,Math.min(8,Math.floor(Me(f)/3)))*3,v=Math.pow(10,-x),g=wt[8+x/3];return function(p){return h(v*p)+g}}return{format:o,formatPrefix:l}}var Ve,ii,si;Fc({thousands:",",grouping:[3],currency:["$",""]});function Fc(e){return Ve=Rc(e),ii=Ve.format,si=Ve.formatPrefix,Ve}function Xc(e){return Math.max(0,-Me(Math.abs(e)))}function Bc(e,n){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Me(n)/3)))*3-Me(Math.abs(e)))}function Oc(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,Me(n)-Me(e))+1}function Vc(e,n){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof n=="function"?this.interpolator(n):this.range(n);break}}return this}function ai(e){return e}function Lc(e,n,t,i){var s=ki(e,n,t),a;switch(i=an(i??",f"),i.type){case"s":{var r=Math.max(Math.abs(e),Math.abs(n));return i.precision==null&&!isNaN(a=Bc(s,r))&&(i.precision=a),si(i,r)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(a=Oc(s,Math.max(Math.abs(e),Math.abs(n))))&&(i.precision=a-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(a=Xc(s))&&(i.precision=a-(i.type==="%")*2);break}}return ii(i)}function Yc(e){var n=e.domain;return e.ticks=function(t){var i=n();return _i(i[0],i[i.length-1],t??10)},e.tickFormat=function(t,i){var s=n();return Lc(s[0],s[s.length-1],t??10,i)},e.nice=function(t){t==null&&(t=10);var i=n(),s=0,a=i.length-1,r=i[s],c=i[a],d,o,l=10;for(c0;){if(o=wn(r,c,t),o===d)return i[s]=r,i[a]=c,n(i);if(o>0)r=Math.floor(r/o)*o,c=Math.ceil(c/o)*o;else if(o<0)r=Math.ceil(r*o)/o,c=Math.floor(c*o)/o;else break;d=o}return e},e}function Hc(){var e=0,n=1,t,i,s,a,r=ai,c=!1,d;function o(u){return u==null||isNaN(u=+u)?d:r(s===0?.5:(u=(a(u)-t)*s,c?Math.max(0,Math.min(1,u)):u))}o.domain=function(u){return arguments.length?([e,n]=u,t=a(e=+e),i=a(n=+n),s=t===i?0:1/(i-t),o):[e,n]},o.clamp=function(u){return arguments.length?(c=!!u,o):c},o.interpolator=function(u){return arguments.length?(r=u,o):r};function l(u){return function(f){var h,x;return arguments.length?([h,x]=f,r=u(h,x),o):[r(0),r(1)]}}return o.range=l(In),o.rangeRound=l(Pa),o.unknown=function(u){return arguments.length?(d=u,o):d},function(u){return a=u,t=u(e),i=u(n),s=t===i?0:1/(i-t),o}}function Gc(e,n){return n.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ri(){var e=Yc(Hc()(ai));return e.copy=function(){return Gc(e,ri())},Vc.apply(e,arguments)}Gt(pe(-100,.75,.35),pe(80,1.5,.8));Gt(pe(260,.75,.35),pe(80,1.5,.8));var Le=pe();function Uc(e){(e<0||e>1)&&(e-=Math.floor(e));var n=Math.abs(e-.5);return Le.h=360*e-100,Le.s=1.5-1.5*n,Le.l=.8-.9*n,Le+""}const Ye=e=>()=>e;function Kc(e,{sourceEvent:n,target:t,transform:i,dispatch:s}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:s}})}function de(e,n,t){this.k=e,this.x=n,this.y=t}de.prototype={constructor:de,scale:function(e){return e===1?this:new de(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new de(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var ci=new de(1,0,0);de.prototype;function gn(e){e.stopImmediatePropagation()}function ze(e){e.preventDefault(),e.stopImmediatePropagation()}function Wc(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function Qc(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function xt(){return this.__zoom||ci}function Zc(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function Jc(){return navigator.maxTouchPoints||"ontouchstart"in this}function eo(e,n,t){var i=e.invertX(n[0][0])-t[0][0],s=e.invertX(n[1][0])-t[1][0],a=e.invertY(n[0][1])-t[0][1],r=e.invertY(n[1][1])-t[1][1];return e.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>a?(a+r)/2:Math.min(0,a)||Math.max(0,r))}function no(){var e=Wc,n=Qc,t=eo,i=Zc,s=Jc,a=[0,1/0],r=[[-1/0,-1/0],[1/0,1/0]],c=250,d=Ya,o=qe("start","zoom","end"),l,u,f,h=500,x=150,v=0,g=10;function p(m){m.property("__zoom",xt).on("wheel.zoom",E,{passive:!1}).on("mousedown.zoom",q).on("dblclick.zoom",P).filter(s).on("touchstart.zoom",$).on("touchmove.zoom",H).on("touchend.zoom touchcancel.zoom",R).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}p.transform=function(m,_,D,k){var A=m.selection?m.selection():m;A.property("__zoom",xt),m!==A?b(m,_,D,k):A.interrupt().each(function(){z(this,arguments).event(k).start().zoom(null,typeof _=="function"?_.apply(this,arguments):_).end()})},p.scaleBy=function(m,_,D,k){p.scaleTo(m,function(){var A=this.__zoom.k,N=typeof _=="function"?_.apply(this,arguments):_;return A*N},D,k)},p.scaleTo=function(m,_,D,k){p.transform(m,function(){var A=n.apply(this,arguments),N=this.__zoom,j=D==null?y(A):typeof D=="function"?D.apply(this,arguments):D,C=N.invert(j),I=typeof _=="function"?_.apply(this,arguments):_;return t(M(w(N,I),j,C),A,r)},D,k)},p.translateBy=function(m,_,D,k){p.transform(m,function(){return t(this.__zoom.translate(typeof _=="function"?_.apply(this,arguments):_,typeof D=="function"?D.apply(this,arguments):D),n.apply(this,arguments),r)},null,k)},p.translateTo=function(m,_,D,k,A){p.transform(m,function(){var N=n.apply(this,arguments),j=this.__zoom,C=k==null?y(N):typeof k=="function"?k.apply(this,arguments):k;return t(ci.translate(C[0],C[1]).scale(j.k).translate(typeof _=="function"?-_.apply(this,arguments):-_,typeof D=="function"?-D.apply(this,arguments):-D),N,r)},k,A)};function w(m,_){return _=Math.max(a[0],Math.min(a[1],_)),_===m.k?m:new de(_,m.x,m.y)}function M(m,_,D){var k=_[0]-D[0]*m.k,A=_[1]-D[1]*m.k;return k===m.x&&A===m.y?m:new de(m.k,k,A)}function y(m){return[(+m[0][0]+ +m[1][0])/2,(+m[0][1]+ +m[1][1])/2]}function b(m,_,D,k){m.on("start.zoom",function(){z(this,arguments).event(k).start()}).on("interrupt.zoom end.zoom",function(){z(this,arguments).event(k).end()}).tween("zoom",function(){var A=this,N=arguments,j=z(A,N).event(k),C=n.apply(A,N),I=D==null?y(C):typeof D=="function"?D.apply(A,N):D,Z=Math.max(C[1][0]-C[0][0],C[1][1]-C[0][1]),F=A.__zoom,U=typeof _=="function"?_.apply(A,N):_,se=d(F.invert(I).concat(Z/F.k),U.invert(I).concat(Z/U.k));return function(K){if(K===1)K=U;else{var ae=se(K),un=Z/ae[2];K=new de(un,I[0]-ae[0]*un,I[1]-ae[1]*un)}j.zoom(null,K)}})}function z(m,_,D){return!D&&m.__zooming||new S(m,_)}function S(m,_){this.that=m,this.args=_,this.active=0,this.sourceEvent=null,this.extent=n.apply(m,_),this.taps=0}S.prototype={event:function(m){return m&&(this.sourceEvent=m),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(m,_){return this.mouse&&m!=="mouse"&&(this.mouse[1]=_.invert(this.mouse[0])),this.touch0&&m!=="touch"&&(this.touch0[1]=_.invert(this.touch0[0])),this.touch1&&m!=="touch"&&(this.touch1[1]=_.invert(this.touch1[0])),this.that.__zoom=_,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(m){var _=ne(this.that).datum();o.call(m,this.that,new Kc(m,{sourceEvent:this.sourceEvent,target:p,type:m,transform:this.that.__zoom,dispatch:o}),_)}};function E(m,..._){if(!e.apply(this,arguments))return;var D=z(this,_).event(m),k=this.__zoom,A=Math.max(a[0],Math.min(a[1],k.k*Math.pow(2,i.apply(this,arguments)))),N=ce(m);if(D.wheel)(D.mouse[0][0]!==N[0]||D.mouse[0][1]!==N[1])&&(D.mouse[1]=k.invert(D.mouse[0]=N)),clearTimeout(D.wheel);else{if(k.k===A)return;D.mouse=[N,k.invert(N)],Ke(this),D.start()}ze(m),D.wheel=setTimeout(j,x),D.zoom("mouse",t(M(w(k,A),D.mouse[0],D.mouse[1]),D.extent,r));function j(){D.wheel=null,D.end()}}function q(m,..._){if(f||!e.apply(this,arguments))return;var D=m.currentTarget,k=z(this,_,!0).event(m),A=ne(m.view).on("mousemove.zoom",I,!0).on("mouseup.zoom",Z,!0),N=ce(m,D),j=m.clientX,C=m.clientY;Pt(m.view),gn(m),k.mouse=[N,this.__zoom.invert(N)],Ke(this),k.start();function I(F){if(ze(F),!k.moved){var U=F.clientX-j,se=F.clientY-C;k.moved=U*U+se*se>v}k.event(F).zoom("mouse",t(M(k.that.__zoom,k.mouse[0]=ce(F,D),k.mouse[1]),k.extent,r))}function Z(F){A.on("mousemove.zoom mouseup.zoom",null),Rt(F.view,k.moved),ze(F),k.event(F).end()}}function P(m,..._){if(e.apply(this,arguments)){var D=this.__zoom,k=ce(m.changedTouches?m.changedTouches[0]:m,this),A=D.invert(k),N=D.k*(m.shiftKey?.5:2),j=t(M(w(D,N),k,A),n.apply(this,_),r);ze(m),c>0?ne(this).transition().duration(c).call(b,j,k,m):ne(this).call(p.transform,j,k,m)}}function $(m,..._){if(e.apply(this,arguments)){var D=m.touches,k=D.length,A=z(this,_,m.changedTouches.length===k).event(m),N,j,C,I;for(gn(m),j=0;jri(Uc)((l-1)%8/8);_t(()=>{if(r.value){const{nodes:l,links:u}=t.graphData,f=zc(l).force("link",wc(u).id(({name:p})=>p)).force("charge",$c().strength(-5e3)).force("x",Sc()).force("y",jc()).alphaTarget(0),h=ne(r.value),x=h.append("g").selectAll("text").data(l).join("text").text(p=>p.name).attr("fill",({depth:p})=>c(p)),v=h.append("g").attr("stroke","#999").attr("stroke-opacity",.6).attr("marker-end","url(#arrow)").attr("stroke-width",2).selectAll("line").data(u).join("line"),g=h.append("g").attr("stroke-opacity",.6).attr("stroke-width",6).selectAll("circle").data(l).join("circle").attr("r",8).attr("stroke",({depth:p})=>c(p)).attr("fill",({depth:p})=>c(p)).on("click",(p,{name:w})=>n("nodeClick",w));d(h),o(g,f),f.on("tick",()=>{v.attr("x1",p=>{var w;return((w=p.source)==null?void 0:w.x)??0}).attr("y1",p=>{var w;return((w=p.source)==null?void 0:w.y)??0}).attr("x2",p=>{var w;return((w=p.target)==null?void 0:w.x)??0}).attr("y2",p=>{var w;return((w=p.target)==null?void 0:w.y)??0}),g.attr("cx",p=>(p==null?void 0:p.x)??0).attr("cy",p=>(p==null?void 0:p.y)??0),x.attr("x",p=>((p==null?void 0:p.x)??0)-p.name.length*4).attr("y",p=>((p==null?void 0:p.y)??0)-16)})}});function d(l){no().scaleExtent([.1,8]).on("zoom",({transform:u})=>{l.selectAll("g").attr("transform",u)})(l)}function o(l,u){ua().on("start",f=>{f.active||u.alphaTarget(.3).restart(),f.subject.fx=f.subject.x,f.subject.fy=f.subject.y}).on("drag",f=>{f.subject.fx=f.x,f.subject.fy=f.y}).on("end",f=>{f.active||u.alphaTarget(0),f.subject.fx=a.fixedNailModel?f.x:null,f.subject.fy=a.fixedNailModel?f.y:null})(l)}return(l,u)=>(ee(),oe("svg",{ref_key:"svgRef",ref:r,width:G(i),height:G(s),viewBox:`${-G(i)/2} ${-G(s)/2} ${G(i)} ${G(s)}`,class:"ma-0 block pa-0"},so,8,to))}});function Vn(e){return new Promise((n,t)=>{e.oncomplete=e.onsuccess=()=>n(e.result),e.onabort=e.onerror=()=>t(e.error)})}function ro(e,n){const t=indexedDB.open(e);t.onupgradeneeded=()=>t.result.createObjectStore(n);const i=Vn(t);return(s,a)=>i.then(r=>a(r.transaction(n,s).objectStore(n)))}let vn;function oi(){return vn||(vn=ro("keyval-store","keyval")),vn}function co(e,n=oi()){return n("readonly",t=>Vn(t.get(e)))}function oo(e,n,t=oi()){return t("readwrite",i=>(i.put(n,e),Vn(i.transaction)))}async function lo(e,n,t){const i=`${t||"https://registry.npmjs.org/"}${e}/${n}`,s=n===""?void 0:await co(i);if(s)return{data:s,error:void 0};const{data:a,error:r}=await vi(i,{headers:{"Content-Type":"application/json"},method:"GET"},{afterFetch({data:c}){return n!==""&&oo(i,c),{data:c}}}).json();return{error:r.value,data:a.value}}const po={bg:"gray-3 dark:slate-7",class:"rounded-md pa-4 w-xs h-[calc(100vh-8rem)]",shadow:"lg gray-3 dark:slate-6",flex:"~ col"},uo={flex:"~ justify-between items-center"},fo={class:"font-sans px-1 rounded-l dark:bg-blue-6 bg-indigo-3 text-indigo-8 dark:text-blue-2"},ho={class:"font-sans px-1 rounded-r bg-lime-2 dark:bg-lime-6 text-lime-6 dark:text-lime-1"},mo=T("i",{class:"i-uil-times",text:"xl"},null,-1),yo=[mo],go={class:"overflow-auto flex-grow"},vo={class:"my-4"},Do={class:"font-bold select-none"},wo={class:"my-2"},xo={class:"select-none"},bo={class:"font-bold mr-2"},_o={"font-sans":""},ko={class:"font-bold mx-2"},Mo={"font-sans":""},No={class:"select-none"},Ao={class:"mr-2 font-bold"},zo={class:"font-sans px-1 rounded-sm bg-red-1 text-red-6 dark:text-red-3 dark:bg-red-1/30"},$o={class:"select-none my-4"},So={class:"mr-2 font-bold"},jo={flex:"~ wrap items-start",class:"gap-1 mt-2"},Eo={flex:"~ wrap col items-start",class:"gap-1 my-4"},To=T("span",{class:"font-bold select-none"},"生产依赖",-1),Co={class:"animate-pulse py-4"},qo=ui('

',6),Io=[qo],Po=Sn({__name:"PackageInfo",props:{currentPackage:{}},emits:["close"],setup(e,{emit:n}){const t=e,i=kt(),s=di().appContext.config.globalProperties,{currentRegistry:a}=li(i),r=Dn(!1);_t(async()=>{r.value=!0;const{data:o}=await lo(t.currentPackage.name,t.currentPackage.version,a.value);c.value=o,setTimeout(()=>r.value=!1,300)});const c=Dn(),d=pi(()=>{var o,l,u,f,h,x,v,g;return{description:((o=c.value)==null?void 0:o.description)??"无",dist:{size:(u=(l=c.value)==null?void 0:l.dist)!=null&&u.size?(c.value.dist.size/1024).toFixed(2)+"KB":"UNKNOWN",unpackedSize:(h=(f=c.value)==null?void 0:f.dist)!=null&&h.unpackedSize?(c.value.dist.unpackedSize/1024).toFixed(2)+"KB":"UNKNOWN"},license:((x=c.value)==null?void 0:x.license)??"UNKNOWN",keywords:((v=c.value)==null?void 0:v.keywords)??[],dependencies:Object.entries(((g=c.value)==null?void 0:g.dependencies)??{})}});return(o,l)=>{var u,f,h,x,v,g;return ee(),oe("div",po,[T("header",uo,[T("div",null,[T("code",fo,V(o.currentPackage.name),1),T("code",ho,V(o.currentPackage.version),1)]),T("button",{type:"button",title:"关闭",class:"rounded-md ma-0 pa-1 border-none",bg:"transparent hover:gray-2 hover:dark:slate-8",onClick:l[0]||(l[0]=p=>n("close"))},yo)]),Pe(T("section",go,[T("div",vo,[T("span",Do,V(G(s).$t("summarize")),1),T("p",wo,V(d.value.description),1)]),T("p",xo,[T("span",bo,V(G(s).$t("size")),1),T("code",_o,V(d.value.dist.size),1),T("span",ko,V(G(s).$t("decompressionSize")),1),T("code",Mo,V(d.value.dist.unpackedSize),1)]),T("p",No,[T("span",Ao,V(G(s).$t("openSourceProtocol")),1),T("code",zo,V((u=c.value)==null?void 0:u.license),1)]),Pe(T("div",$o,[T("span",So,V(G(s).$t("keyword")),1),T("div",jo,[(ee(!0),oe(Ln,null,Yn(((f=c.value)==null?void 0:f.keywords)??[],p=>(ee(),oe("code",{class:"font-sans px-1 rounded-sm text-cyan-6 bg-cyan-1 dark:text-cyan-3 dark:bg-cyan-1/30",key:p},V(p),1))),128))])],512),[[Re,(x=(h=c.value)==null?void 0:h.keywords)==null?void 0:x.length]]),Pe(T("div",Eo,[To,(ee(!0),oe(Ln,null,Yn(Object.entries(((v=c.value)==null?void 0:v.dependencies)??{}),([p,w])=>(ee(),oe("li",{class:"px-1",key:p+w},V(p)+"@"+V(w),1))),128))],512),[[Re,Object.keys(((g=c.value)==null?void 0:g.dependencies)??{}).length!==0]])],512),[[Re,!r.value]]),Pe(T("section",Co,Io,512),[[Re,r.value]])])}}}),Ro=[{name:"depazer@0.0.0",depth:0,isDevDependency:!0,dependencies:["@changesets/cli@2.26.2","@commitlint/config-conventional@17.6.7","@rushstack/eslint-patch@1.3.2","@types/node@20.4.8","@unocss/eslint-config@0.54.2","@vitest/coverage-v8@0.33.0","@vue/eslint-config-prettier@8.0.0","@vue/eslint-config-typescript@11.0.3","commitizen@4.3.0","commitlint@17.6.7","cz-git@1.7.0","eslint@8.46.0","eslint-plugin-vue@9.16.1","husky@8.0.3","lint-staged@13.2.3","prettier@3.0.1","rimraf@5.0.1","tsx@3.12.7","turbo@1.10.12","typescript@5.1.6","vitepress@1.0.0-beta.7","vitest@0.33.0"]},{name:"@changesets/cli@2.26.2",depth:1,isDevDependency:!1,dependencies:["@babel/runtime@7.22.10","@changesets/apply-release-plan@6.1.4","@changesets/assemble-release-plan@5.2.4","@changesets/changelog-git@0.1.14","@changesets/config@2.3.1","@changesets/errors@0.1.4","@changesets/get-dependents-graph@1.3.6","@changesets/get-release-plan@3.0.17","@changesets/git@2.0.0","@changesets/logger@0.0.5","@changesets/pre@1.0.14","@changesets/read@0.5.9","@changesets/types@5.2.1","@changesets/write@0.2.3","@manypkg/get-packages@1.1.3","@types/is-ci@3.0.0","@types/semver@7.5.0","ansi-colors@4.1.3","chalk@5.3.0","enquirer@2.4.1","external-editor@3.1.0","fs-extra@7.0.1","human-id@1.0.2","is-ci@3.0.1","meow@6.1.1","outdent@0.5.0","p-limit@2.3.0","preferred-pm@3.0.3","resolve-from@5.0.0","semver@7.5.4","spawndamnit@2.0.0","term-size@2.2.1","tty-table@4.2.1"]},{name:"@babel/runtime@7.22.10",depth:2,isDevDependency:!1,dependencies:["regenerator-runtime@0.14.0"]},{name:"regenerator-runtime@0.14.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/apply-release-plan@6.1.4",depth:2,isDevDependency:!1,dependencies:["@babel/runtime@7.22.10","@changesets/config@2.3.1","@changesets/get-version-range-type@0.3.2","@changesets/git@2.0.0","@changesets/types@5.2.1","@manypkg/get-packages@1.1.3","detect-indent@6.1.0","fs-extra@7.0.1","lodash.startcase@4.4.0","outdent@0.5.0","prettier@3.0.1","resolve-from@5.0.0","semver@7.5.4"]},{name:"@changesets/config@2.3.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/get-version-range-type@0.3.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/git@2.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/types@5.2.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"@manypkg/get-packages@1.1.3",depth:3,isDevDependency:!1,dependencies:[]},{name:"detect-indent@6.1.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"fs-extra@7.0.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"lodash.startcase@4.4.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"outdent@0.5.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"prettier@3.0.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"resolve-from@5.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"semver@7.5.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/assemble-release-plan@5.2.4",depth:2,isDevDependency:!1,dependencies:["@babel/runtime@7.22.10","@changesets/errors@0.1.4","@changesets/get-dependents-graph@1.3.6","@changesets/types@5.2.1","@manypkg/get-packages@1.1.3","semver@7.5.4"]},{name:"@changesets/errors@0.1.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/get-dependents-graph@1.3.6",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/changelog-git@0.1.14",depth:2,isDevDependency:!1,dependencies:["@changesets/types@5.2.1"]},{name:"@changesets/get-release-plan@3.0.17",depth:2,isDevDependency:!1,dependencies:["@babel/runtime@7.22.10","@changesets/assemble-release-plan@5.2.4","@changesets/config@2.3.1","@changesets/pre@1.0.14","@changesets/read@0.5.9","@changesets/types@5.2.1","@manypkg/get-packages@1.1.3"]},{name:"@changesets/pre@1.0.14",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/read@0.5.9",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/logger@0.0.5",depth:2,isDevDependency:!1,dependencies:["chalk@5.3.0"]},{name:"chalk@5.3.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@changesets/write@0.2.3",depth:2,isDevDependency:!1,dependencies:["@babel/runtime@7.22.10","@changesets/types@5.2.1","fs-extra@7.0.1","human-id@1.0.2","prettier@3.0.1"]},{name:"human-id@1.0.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"@types/is-ci@3.0.0",depth:2,isDevDependency:!1,dependencies:["ci-info@3.8.0"]},{name:"ci-info@3.8.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@types/semver@7.5.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"ansi-colors@4.1.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"enquirer@2.4.1",depth:2,isDevDependency:!1,dependencies:["ansi-colors@4.1.3","strip-ansi@6.0.1"]},{name:"strip-ansi@6.0.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"external-editor@3.1.0",depth:2,isDevDependency:!1,dependencies:["chardet@0.7.0","iconv-lite@0.6.3","tmp@0.0.33"]},{name:"chardet@0.7.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"iconv-lite@0.6.3",depth:3,isDevDependency:!1,dependencies:["safer-buffer@2.1.2"]},{name:"safer-buffer@2.1.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"tmp@0.0.33",depth:3,isDevDependency:!1,dependencies:["os-tmpdir@1.0.2"]},{name:"os-tmpdir@1.0.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"is-ci@3.0.1",depth:2,isDevDependency:!1,dependencies:["ci-info@3.8.0"]},{name:"meow@6.1.1",depth:2,isDevDependency:!1,dependencies:["@types/minimist@1.2.2","camelcase-keys@6.2.2","decamelize-keys@1.1.1","hard-rejection@2.1.0","minimist-options@4.1.0","normalize-package-data@2.5.0","read-pkg-up@7.0.1","redent@3.0.0","trim-newlines@3.0.1","type-fest@0.20.2","yargs-parser@18.1.3"]},{name:"@types/minimist@1.2.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"camelcase-keys@6.2.2",depth:3,isDevDependency:!1,dependencies:["camelcase@6.3.0","map-obj@4.3.0","quick-lru@4.0.1"]},{name:"camelcase@6.3.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"map-obj@4.3.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"quick-lru@4.0.1",depth:4,isDevDependency:!1,dependencies:[]},{name:"decamelize-keys@1.1.1",depth:3,isDevDependency:!1,dependencies:["decamelize@1.2.0","map-obj@4.3.0"]},{name:"decamelize@1.2.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"hard-rejection@2.1.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"minimist-options@4.1.0",depth:3,isDevDependency:!1,dependencies:["arrify@1.0.1","is-plain-obj@1.1.0","kind-of@6.0.3"]},{name:"arrify@1.0.1",depth:4,isDevDependency:!1,dependencies:[]},{name:"is-plain-obj@1.1.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"kind-of@6.0.3",depth:4,isDevDependency:!1,dependencies:[]},{name:"normalize-package-data@2.5.0",depth:3,isDevDependency:!1,dependencies:["hosted-git-info@2.8.9","resolve@1.22.4","semver@7.5.4","validate-npm-package-license@3.0.4"]},{name:"hosted-git-info@2.8.9",depth:4,isDevDependency:!1,dependencies:[]},{name:"resolve@1.22.4",depth:4,isDevDependency:!1,dependencies:["is-core-module@2.13.0","path-parse@1.0.7","supports-preserve-symlinks-flag@1.0.0"]},{name:"is-core-module@2.13.0",depth:5,isDevDependency:!1,dependencies:["has@1.0.3"]},{name:"has@1.0.3",depth:6,isDevDependency:!1,dependencies:["function-bind@1.1.1"]},{name:"function-bind@1.1.1",depth:7,isDevDependency:!1,dependencies:[]},{name:"path-parse@1.0.7",depth:5,isDevDependency:!1,dependencies:[]},{name:"supports-preserve-symlinks-flag@1.0.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"validate-npm-package-license@3.0.4",depth:4,isDevDependency:!1,dependencies:["spdx-correct@3.2.0","spdx-expression-parse@3.0.1"]},{name:"spdx-correct@3.2.0",depth:5,isDevDependency:!1,dependencies:["spdx-expression-parse@3.0.1","spdx-license-ids@3.0.13"]},{name:"spdx-expression-parse@3.0.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"spdx-license-ids@3.0.13",depth:6,isDevDependency:!1,dependencies:[]},{name:"read-pkg-up@7.0.1",depth:3,isDevDependency:!1,dependencies:["find-up@5.0.0","read-pkg@3.0.0","type-fest@0.20.2"]},{name:"find-up@5.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"read-pkg@3.0.0",depth:4,isDevDependency:!1,dependencies:["load-json-file@4.0.0","normalize-package-data@2.5.0","path-type@3.0.0"]},{name:"load-json-file@4.0.0",depth:5,isDevDependency:!1,dependencies:["graceful-fs@4.2.11","parse-json@4.0.0","pify@3.0.0","strip-bom@4.0.0"]},{name:"graceful-fs@4.2.11",depth:6,isDevDependency:!1,dependencies:[]},{name:"parse-json@4.0.0",depth:6,isDevDependency:!1,dependencies:[]},{name:"pify@3.0.0",depth:6,isDevDependency:!1,dependencies:[]},{name:"strip-bom@4.0.0",depth:6,isDevDependency:!1,dependencies:[]},{name:"path-type@3.0.0",depth:5,isDevDependency:!1,dependencies:["pify@3.0.0"]},{name:"type-fest@0.20.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"redent@3.0.0",depth:3,isDevDependency:!1,dependencies:["indent-string@4.0.0","strip-indent@3.0.0"]},{name:"indent-string@4.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"strip-indent@3.0.0",depth:4,isDevDependency:!1,dependencies:["min-indent@1.0.1"]},{name:"min-indent@1.0.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"trim-newlines@3.0.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"yargs-parser@18.1.3",depth:3,isDevDependency:!1,dependencies:["camelcase@6.3.0","decamelize@1.2.0"]},{name:"p-limit@2.3.0",depth:2,isDevDependency:!1,dependencies:["p-try@2.2.0"]},{name:"p-try@2.2.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"preferred-pm@3.0.3",depth:2,isDevDependency:!1,dependencies:["find-up@5.0.0","find-yarn-workspace-root2@1.2.16","path-exists@4.0.0","which-pm@2.0.0"]},{name:"find-yarn-workspace-root2@1.2.16",depth:3,isDevDependency:!1,dependencies:["micromatch@4.0.5","pkg-dir@4.2.0"]},{name:"micromatch@4.0.5",depth:4,isDevDependency:!1,dependencies:[]},{name:"pkg-dir@4.2.0",depth:4,isDevDependency:!1,dependencies:["find-up@5.0.0"]},{name:"path-exists@4.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"which-pm@2.0.0",depth:3,isDevDependency:!1,dependencies:["load-yaml-file@0.2.0","path-exists@4.0.0"]},{name:"load-yaml-file@0.2.0",depth:4,isDevDependency:!1,dependencies:["graceful-fs@4.2.11","js-yaml@4.1.0","pify@3.0.0","strip-bom@4.0.0"]},{name:"js-yaml@4.1.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"spawndamnit@2.0.0",depth:2,isDevDependency:!1,dependencies:["cross-spawn@7.0.3","signal-exit@3.0.7"]},{name:"cross-spawn@7.0.3",depth:3,isDevDependency:!1,dependencies:[]},{name:"signal-exit@3.0.7",depth:3,isDevDependency:!1,dependencies:[]},{name:"term-size@2.2.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"tty-table@4.2.1",depth:2,isDevDependency:!1,dependencies:["chalk@5.3.0","csv@5.5.3","kleur@4.1.5","smartwrap@2.0.2","strip-ansi@6.0.1","wcwidth@1.0.1","yargs@17.7.2"]},{name:"csv@5.5.3",depth:3,isDevDependency:!1,dependencies:["csv-generate@3.4.3","csv-parse@4.16.3","csv-stringify@5.6.5","stream-transform@2.1.3"]},{name:"csv-generate@3.4.3",depth:4,isDevDependency:!1,dependencies:[]},{name:"csv-parse@4.16.3",depth:4,isDevDependency:!1,dependencies:[]},{name:"csv-stringify@5.6.5",depth:4,isDevDependency:!1,dependencies:[]},{name:"stream-transform@2.1.3",depth:4,isDevDependency:!1,dependencies:["mixme@0.5.9"]},{name:"mixme@0.5.9",depth:5,isDevDependency:!1,dependencies:[]},{name:"kleur@4.1.5",depth:3,isDevDependency:!1,dependencies:[]},{name:"smartwrap@2.0.2",depth:3,isDevDependency:!1,dependencies:["array.prototype.flat@1.3.1","breakword@1.0.6","grapheme-splitter@1.0.4","strip-ansi@6.0.1","wcwidth@1.0.1","yargs@17.7.2"]},{name:"array.prototype.flat@1.3.1",depth:4,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","es-abstract@1.22.1","es-shim-unscopables@1.0.0"]},{name:"call-bind@1.0.2",depth:5,isDevDependency:!1,dependencies:["function-bind@1.1.1","get-intrinsic@1.2.1"]},{name:"get-intrinsic@1.2.1",depth:6,isDevDependency:!1,dependencies:["function-bind@1.1.1","has@1.0.3","has-proto@1.0.1","has-symbols@1.0.3"]},{name:"has-proto@1.0.1",depth:7,isDevDependency:!1,dependencies:[]},{name:"has-symbols@1.0.3",depth:7,isDevDependency:!1,dependencies:[]},{name:"define-properties@1.2.0",depth:5,isDevDependency:!1,dependencies:["has-property-descriptors@1.0.0","object-keys@1.1.1"]},{name:"has-property-descriptors@1.0.0",depth:6,isDevDependency:!1,dependencies:["get-intrinsic@1.2.1"]},{name:"object-keys@1.1.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"es-abstract@1.22.1",depth:5,isDevDependency:!1,dependencies:["array-buffer-byte-length@1.0.0","arraybuffer.prototype.slice@1.0.1","available-typed-arrays@1.0.5","call-bind@1.0.2","es-set-tostringtag@2.0.1","es-to-primitive@1.2.1","function.prototype.name@1.1.5","get-intrinsic@1.2.1","get-symbol-description@1.0.0","globalthis@1.0.3","gopd@1.0.1","has@1.0.3","has-property-descriptors@1.0.0","has-proto@1.0.1","has-symbols@1.0.3","internal-slot@1.0.5","is-array-buffer@3.0.2","is-callable@1.2.7","is-negative-zero@2.0.2","is-regex@1.1.4","is-shared-array-buffer@1.0.2","is-string@1.0.7","is-typed-array@1.1.12","is-weakref@1.0.2","object-inspect@1.12.3","object-keys@1.1.1","object.assign@4.1.4","regexp.prototype.flags@1.5.0","safe-array-concat@1.0.0","safe-regex-test@1.0.0","string.prototype.trim@1.2.7","string.prototype.trimend@1.0.6","string.prototype.trimstart@1.0.6","typed-array-buffer@1.0.0","typed-array-byte-length@1.0.0","typed-array-byte-offset@1.0.0","typed-array-length@1.0.4","unbox-primitive@1.0.2","which-typed-array@1.1.11"]},{name:"array-buffer-byte-length@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","is-array-buffer@3.0.2"]},{name:"is-array-buffer@3.0.2",depth:7,isDevDependency:!1,dependencies:[]},{name:"arraybuffer.prototype.slice@1.0.1",depth:6,isDevDependency:!1,dependencies:["array-buffer-byte-length@1.0.0","call-bind@1.0.2","define-properties@1.2.0","get-intrinsic@1.2.1","is-array-buffer@3.0.2","is-shared-array-buffer@1.0.2"]},{name:"is-shared-array-buffer@1.0.2",depth:7,isDevDependency:!1,dependencies:[]},{name:"available-typed-arrays@1.0.5",depth:6,isDevDependency:!1,dependencies:[]},{name:"es-set-tostringtag@2.0.1",depth:6,isDevDependency:!1,dependencies:["get-intrinsic@1.2.1","has@1.0.3","has-tostringtag@1.0.0"]},{name:"has-tostringtag@1.0.0",depth:7,isDevDependency:!1,dependencies:["has-symbols@1.0.3"]},{name:"es-to-primitive@1.2.1",depth:6,isDevDependency:!1,dependencies:["is-callable@1.2.7","is-date-object@1.0.5","is-symbol@1.0.4"]},{name:"is-callable@1.2.7",depth:7,isDevDependency:!1,dependencies:[]},{name:"is-date-object@1.0.5",depth:7,isDevDependency:!1,dependencies:["has-tostringtag@1.0.0"]},{name:"is-symbol@1.0.4",depth:7,isDevDependency:!1,dependencies:["has-symbols@1.0.3"]},{name:"function.prototype.name@1.1.5",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","es-abstract@1.22.1","functions-have-names@1.2.3"]},{name:"functions-have-names@1.2.3",depth:7,isDevDependency:!1,dependencies:[]},{name:"get-symbol-description@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","get-intrinsic@1.2.1"]},{name:"globalthis@1.0.3",depth:6,isDevDependency:!1,dependencies:["define-properties@1.2.0"]},{name:"gopd@1.0.1",depth:6,isDevDependency:!1,dependencies:["get-intrinsic@1.2.1"]},{name:"internal-slot@1.0.5",depth:6,isDevDependency:!1,dependencies:["get-intrinsic@1.2.1","has@1.0.3","side-channel@1.0.4"]},{name:"side-channel@1.0.4",depth:7,isDevDependency:!1,dependencies:["call-bind@1.0.2","get-intrinsic@1.2.1","object-inspect@1.12.3"]},{name:"object-inspect@1.12.3",depth:8,isDevDependency:!1,dependencies:[]},{name:"is-negative-zero@2.0.2",depth:6,isDevDependency:!1,dependencies:[]},{name:"is-regex@1.1.4",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","has-tostringtag@1.0.0"]},{name:"is-string@1.0.7",depth:6,isDevDependency:!1,dependencies:["has-tostringtag@1.0.0"]},{name:"is-typed-array@1.1.12",depth:6,isDevDependency:!1,dependencies:["which-typed-array@1.1.11"]},{name:"which-typed-array@1.1.11",depth:7,isDevDependency:!1,dependencies:[]},{name:"is-weakref@1.0.2",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2"]},{name:"object.assign@4.1.4",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","has-symbols@1.0.3","object-keys@1.1.1"]},{name:"regexp.prototype.flags@1.5.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","functions-have-names@1.2.3"]},{name:"safe-array-concat@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","get-intrinsic@1.2.1","has-symbols@1.0.3","isarray@2.0.5"]},{name:"isarray@2.0.5",depth:7,isDevDependency:!1,dependencies:[]},{name:"safe-regex-test@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","get-intrinsic@1.2.1","is-regex@1.1.4"]},{name:"string.prototype.trim@1.2.7",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","es-abstract@1.22.1"]},{name:"string.prototype.trimend@1.0.6",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","es-abstract@1.22.1"]},{name:"string.prototype.trimstart@1.0.6",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","define-properties@1.2.0","es-abstract@1.22.1"]},{name:"typed-array-buffer@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","get-intrinsic@1.2.1","is-typed-array@1.1.12"]},{name:"typed-array-byte-length@1.0.0",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","for-each@0.3.3","has-proto@1.0.1","is-typed-array@1.1.12"]},{name:"for-each@0.3.3",depth:7,isDevDependency:!1,dependencies:["is-callable@1.2.7"]},{name:"typed-array-byte-offset@1.0.0",depth:6,isDevDependency:!1,dependencies:["available-typed-arrays@1.0.5","call-bind@1.0.2","for-each@0.3.3","has-proto@1.0.1","is-typed-array@1.1.12"]},{name:"typed-array-length@1.0.4",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","for-each@0.3.3","is-typed-array@1.1.12"]},{name:"unbox-primitive@1.0.2",depth:6,isDevDependency:!1,dependencies:["call-bind@1.0.2","has-bigints@1.0.2","has-symbols@1.0.3","which-boxed-primitive@1.0.2"]},{name:"has-bigints@1.0.2",depth:7,isDevDependency:!1,dependencies:[]},{name:"which-boxed-primitive@1.0.2",depth:7,isDevDependency:!1,dependencies:["is-bigint@1.0.4","is-boolean-object@1.1.2","is-number-object@1.0.7","is-string@1.0.7","is-symbol@1.0.4"]},{name:"is-bigint@1.0.4",depth:8,isDevDependency:!1,dependencies:["has-bigints@1.0.2"]},{name:"is-boolean-object@1.1.2",depth:8,isDevDependency:!1,dependencies:["call-bind@1.0.2","has-tostringtag@1.0.0"]},{name:"is-number-object@1.0.7",depth:8,isDevDependency:!1,dependencies:["has-tostringtag@1.0.0"]},{name:"es-shim-unscopables@1.0.0",depth:5,isDevDependency:!1,dependencies:["has@1.0.3"]},{name:"breakword@1.0.6",depth:4,isDevDependency:!1,dependencies:["wcwidth@1.0.1"]},{name:"wcwidth@1.0.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"grapheme-splitter@1.0.4",depth:4,isDevDependency:!1,dependencies:[]},{name:"yargs@17.7.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"@commitlint/config-conventional@17.6.7",depth:1,isDevDependency:!1,dependencies:["conventional-changelog-conventionalcommits@5.0.0"]},{name:"conventional-changelog-conventionalcommits@5.0.0",depth:2,isDevDependency:!1,dependencies:["compare-func@2.0.0","lodash@4.17.21","q@1.5.1"]},{name:"compare-func@2.0.0",depth:3,isDevDependency:!1,dependencies:["array-ify@1.0.0","dot-prop@5.3.0"]},{name:"array-ify@1.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"dot-prop@5.3.0",depth:4,isDevDependency:!1,dependencies:["is-obj@2.0.0"]},{name:"is-obj@2.0.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"lodash@4.17.21",depth:3,isDevDependency:!1,dependencies:[]},{name:"q@1.5.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"@rushstack/eslint-patch@1.3.2",depth:1,isDevDependency:!1,dependencies:[]},{name:"@types/node@20.4.8",depth:1,isDevDependency:!1,dependencies:[]},{name:"@unocss/eslint-config@0.54.2",depth:1,isDevDependency:!1,dependencies:["@unocss/eslint-plugin@0.54.2"]},{name:"@unocss/eslint-plugin@0.54.2",depth:2,isDevDependency:!1,dependencies:["@typescript-eslint/utils@5.62.0","magic-string@unknown","synckit@unknown","@unocss/config@unknown","@unocss/core@unknown"]},{name:"@typescript-eslint/utils@5.62.0",depth:3,isDevDependency:!1,dependencies:["@eslint-community/eslint-utils@4.4.0","@types/json-schema@unknown","@types/semver@unknown","@typescript-eslint/scope-manager@5.62.0","@typescript-eslint/types@5.62.0","@typescript-eslint/typescript-estree@5.62.0","eslint-scope@7.2.2","semver@unknown"]},{name:"@eslint-community/eslint-utils@4.4.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"@types/json-schema@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"@types/semver@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"@typescript-eslint/scope-manager@5.62.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"@typescript-eslint/types@5.62.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"@typescript-eslint/typescript-estree@5.62.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"eslint-scope@7.2.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"semver@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"magic-string@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"synckit@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"@unocss/config@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"@unocss/core@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vitest/coverage-v8@0.33.0",depth:1,isDevDependency:!1,dependencies:["@ampproject/remapping@2.2.1","@bcoe/v8-coverage@0.2.3","istanbul-lib-coverage@3.2.0","istanbul-lib-report@3.0.1","istanbul-lib-source-maps@4.0.1","istanbul-reports@3.1.6","magic-string@0.30.2","picocolors@1.0.0","std-env@3.3.3","test-exclude@6.0.0","v8-to-istanbul@9.1.0"]},{name:"@ampproject/remapping@2.2.1",depth:2,isDevDependency:!1,dependencies:["@jridgewell/gen-mapping@0.3.3","@jridgewell/trace-mapping@0.3.19"]},{name:"@jridgewell/gen-mapping@0.3.3",depth:3,isDevDependency:!1,dependencies:["@jridgewell/set-array@1.1.2","@jridgewell/sourcemap-codec@1.4.15","@jridgewell/trace-mapping@0.3.19"]},{name:"@jridgewell/set-array@1.1.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"@jridgewell/sourcemap-codec@1.4.15",depth:4,isDevDependency:!1,dependencies:[]},{name:"@jridgewell/trace-mapping@0.3.19",depth:4,isDevDependency:!1,dependencies:[]},{name:"@bcoe/v8-coverage@0.2.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"istanbul-lib-coverage@3.2.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"istanbul-lib-report@3.0.1",depth:2,isDevDependency:!1,dependencies:["istanbul-lib-coverage@3.2.0","make-dir@4.0.0","supports-color@5.5.0"]},{name:"make-dir@4.0.0",depth:3,isDevDependency:!1,dependencies:["semver@7.5.4"]},{name:"supports-color@5.5.0",depth:3,isDevDependency:!1,dependencies:["has-flag@3.0.0"]},{name:"has-flag@3.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"istanbul-lib-source-maps@4.0.1",depth:2,isDevDependency:!1,dependencies:["debug@4.3.4","istanbul-lib-coverage@3.2.0","source-map@0.6.1"]},{name:"debug@4.3.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"source-map@0.6.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"istanbul-reports@3.1.6",depth:2,isDevDependency:!1,dependencies:["html-escaper@2.0.2","istanbul-lib-report@3.0.1"]},{name:"html-escaper@2.0.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"magic-string@0.30.2",depth:2,isDevDependency:!1,dependencies:[]},{name:"picocolors@1.0.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"std-env@3.3.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"test-exclude@6.0.0",depth:2,isDevDependency:!1,dependencies:["@istanbuljs/schema@0.1.3","glob@7.2.3","minimatch@3.1.2"]},{name:"@istanbuljs/schema@0.1.3",depth:3,isDevDependency:!1,dependencies:[]},{name:"glob@7.2.3",depth:3,isDevDependency:!1,dependencies:[]},{name:"minimatch@3.1.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"v8-to-istanbul@9.1.0",depth:2,isDevDependency:!1,dependencies:["@jridgewell/trace-mapping@0.3.19","@types/istanbul-lib-coverage@2.0.4","convert-source-map@1.9.0"]},{name:"@types/istanbul-lib-coverage@2.0.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"convert-source-map@1.9.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vue/eslint-config-prettier@8.0.0",depth:1,isDevDependency:!1,dependencies:["eslint-config-prettier@8.10.0","eslint-plugin-prettier@5.0.0"]},{name:"eslint-config-prettier@8.10.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"eslint-plugin-prettier@5.0.0",depth:2,isDevDependency:!1,dependencies:["prettier-linter-helpers@1.0.0","synckit@unknown"]},{name:"prettier-linter-helpers@1.0.0",depth:3,isDevDependency:!1,dependencies:["fast-diff@unknown"]},{name:"fast-diff@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"@vue/eslint-config-typescript@11.0.3",depth:1,isDevDependency:!1,dependencies:["@typescript-eslint/eslint-plugin@5.62.0","@typescript-eslint/parser@5.62.0","vue-eslint-parser@9.3.1"]},{name:"@typescript-eslint/eslint-plugin@5.62.0",depth:2,isDevDependency:!1,dependencies:["@eslint-community/regexpp@4.6.2","@typescript-eslint/scope-manager@5.62.0","@typescript-eslint/type-utils@5.62.0","@typescript-eslint/utils@5.62.0","debug@unknown","graphemer@unknown","ignore@unknown","natural-compare-lite@unknown","semver@unknown","tsutils@unknown"]},{name:"@eslint-community/regexpp@4.6.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"@typescript-eslint/type-utils@5.62.0",depth:3,isDevDependency:!1,dependencies:["@typescript-eslint/typescript-estree@5.62.0","@typescript-eslint/utils@5.62.0","debug@unknown","tsutils@unknown"]},{name:"debug@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"tsutils@unknown",depth:4,isDevDependency:!1,dependencies:[]},{name:"graphemer@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"ignore@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"natural-compare-lite@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"@typescript-eslint/parser@5.62.0",depth:2,isDevDependency:!1,dependencies:["@typescript-eslint/scope-manager@5.62.0","@typescript-eslint/types@5.62.0","@typescript-eslint/typescript-estree@5.62.0","debug@unknown"]},{name:"vue-eslint-parser@9.3.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"commitizen@4.3.0",depth:1,isDevDependency:!1,dependencies:["cachedir@2.3.0","cz-conventional-changelog@3.3.0","dedent@0.7.0","detect-indent@6.1.0","find-node-modules@2.1.3","find-root@1.1.0","fs-extra@7.0.1","glob@7.2.3","inquirer@8.2.5","is-utf8@0.2.1","lodash@4.17.21","minimist@1.2.7","strip-bom@4.0.0","strip-json-comments@3.1.1"]},{name:"cachedir@2.3.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"cz-conventional-changelog@3.3.0",depth:2,isDevDependency:!1,dependencies:["chalk@5.3.0","commitizen@4.3.0","conventional-commit-types@3.0.0","lodash.map@4.6.0","longest@2.0.1","word-wrap@1.2.5"]},{name:"conventional-commit-types@3.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"lodash.map@4.6.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"longest@2.0.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"word-wrap@1.2.5",depth:3,isDevDependency:!1,dependencies:[]},{name:"dedent@0.7.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"find-node-modules@2.1.3",depth:2,isDevDependency:!1,dependencies:["findup-sync@4.0.0","merge@2.1.1"]},{name:"findup-sync@4.0.0",depth:3,isDevDependency:!1,dependencies:["detect-file@1.0.0","is-glob@4.0.3","micromatch@4.0.5","resolve-dir@1.0.1"]},{name:"detect-file@1.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"is-glob@4.0.3",depth:4,isDevDependency:!1,dependencies:[]},{name:"resolve-dir@1.0.1",depth:4,isDevDependency:!1,dependencies:["expand-tilde@2.0.2","global-modules@1.0.0"]},{name:"expand-tilde@2.0.2",depth:5,isDevDependency:!1,dependencies:["homedir-polyfill@1.0.3"]},{name:"homedir-polyfill@1.0.3",depth:6,isDevDependency:!1,dependencies:["parse-passwd@1.0.0"]},{name:"parse-passwd@1.0.0",depth:7,isDevDependency:!1,dependencies:[]},{name:"global-modules@1.0.0",depth:5,isDevDependency:!1,dependencies:["global-prefix@1.0.2","is-windows@1.0.2","resolve-dir@1.0.1"]},{name:"global-prefix@1.0.2",depth:6,isDevDependency:!1,dependencies:["expand-tilde@2.0.2","homedir-polyfill@1.0.3","ini@1.3.8","is-windows@1.0.2","which@1.3.1"]},{name:"ini@1.3.8",depth:7,isDevDependency:!1,dependencies:[]},{name:"is-windows@1.0.2",depth:7,isDevDependency:!1,dependencies:[]},{name:"which@1.3.1",depth:7,isDevDependency:!1,dependencies:[]},{name:"merge@2.1.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"find-root@1.1.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"inquirer@8.2.5",depth:2,isDevDependency:!1,dependencies:["ansi-escapes@4.3.2","chalk@5.3.0","cli-cursor@3.1.0","cli-width@3.0.0","external-editor@3.1.0","figures@3.2.0","lodash@4.17.21","mute-stream@0.0.8","ora@5.4.1","run-async@2.4.1","rxjs@7.8.1","string-width@5.1.2","strip-ansi@6.0.1","through@2.3.8","wrap-ansi@7.0.0"]},{name:"ansi-escapes@4.3.2",depth:3,isDevDependency:!1,dependencies:["type-fest@0.20.2"]},{name:"cli-cursor@3.1.0",depth:3,isDevDependency:!1,dependencies:["restore-cursor@3.1.0"]},{name:"restore-cursor@3.1.0",depth:4,isDevDependency:!1,dependencies:["onetime@6.0.0","signal-exit@3.0.7"]},{name:"onetime@6.0.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"cli-width@3.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"figures@3.2.0",depth:3,isDevDependency:!1,dependencies:["escape-string-regexp@4.0.0"]},{name:"escape-string-regexp@4.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"mute-stream@0.0.8",depth:3,isDevDependency:!1,dependencies:[]},{name:"ora@5.4.1",depth:3,isDevDependency:!1,dependencies:["bl@4.1.0","chalk@5.3.0","cli-cursor@3.1.0","cli-spinners@2.9.0","is-interactive@1.0.0","is-unicode-supported@0.1.0","log-symbols@4.1.0","strip-ansi@6.0.1","wcwidth@1.0.1"]},{name:"bl@4.1.0",depth:4,isDevDependency:!1,dependencies:["buffer@5.7.1","inherits@2.0.4","readable-stream@3.6.2"]},{name:"buffer@5.7.1",depth:5,isDevDependency:!1,dependencies:["base64-js@1.5.1","ieee754@1.2.1"]},{name:"base64-js@1.5.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"ieee754@1.2.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"inherits@2.0.4",depth:5,isDevDependency:!1,dependencies:[]},{name:"readable-stream@3.6.2",depth:5,isDevDependency:!1,dependencies:["inherits@2.0.4","string_decoder@1.3.0","util-deprecate@1.0.2"]},{name:"string_decoder@1.3.0",depth:6,isDevDependency:!1,dependencies:["safe-buffer@5.2.1"]},{name:"safe-buffer@5.2.1",depth:7,isDevDependency:!1,dependencies:[]},{name:"util-deprecate@1.0.2",depth:6,isDevDependency:!1,dependencies:[]},{name:"cli-spinners@2.9.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"is-interactive@1.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"is-unicode-supported@0.1.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"log-symbols@4.1.0",depth:4,isDevDependency:!1,dependencies:["chalk@5.3.0","is-unicode-supported@0.1.0"]},{name:"run-async@2.4.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"rxjs@7.8.1",depth:3,isDevDependency:!1,dependencies:["tslib@2.6.1"]},{name:"tslib@2.6.1",depth:4,isDevDependency:!1,dependencies:[]},{name:"string-width@5.1.2",depth:3,isDevDependency:!1,dependencies:["eastasianwidth@0.2.0","emoji-regex@9.2.2","strip-ansi@6.0.1"]},{name:"eastasianwidth@0.2.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"emoji-regex@9.2.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"through@2.3.8",depth:3,isDevDependency:!1,dependencies:[]},{name:"wrap-ansi@7.0.0",depth:3,isDevDependency:!1,dependencies:["ansi-styles@3.2.1","string-width@5.1.2","strip-ansi@6.0.1"]},{name:"ansi-styles@3.2.1",depth:4,isDevDependency:!1,dependencies:["color-convert@1.9.3"]},{name:"color-convert@1.9.3",depth:5,isDevDependency:!1,dependencies:["color-name@1.1.3"]},{name:"color-name@1.1.3",depth:6,isDevDependency:!1,dependencies:[]},{name:"is-utf8@0.2.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"minimist@1.2.7",depth:2,isDevDependency:!1,dependencies:[]},{name:"strip-json-comments@3.1.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"commitlint@17.6.7",depth:1,isDevDependency:!1,dependencies:["@commitlint/cli@17.6.7","@commitlint/types@17.4.4"]},{name:"@commitlint/cli@17.6.7",depth:2,isDevDependency:!1,dependencies:["@commitlint/format@17.4.4","@commitlint/lint@17.6.7","@commitlint/load@17.6.7","@commitlint/read@17.5.1","@commitlint/types@17.4.4","execa@7.2.0","lodash.isfunction@3.0.9","resolve-from@5.0.0","resolve-global@1.0.0","yargs@17.7.2"]},{name:"@commitlint/format@17.4.4",depth:3,isDevDependency:!1,dependencies:["@commitlint/types@17.4.4","chalk@5.3.0"]},{name:"@commitlint/types@17.4.4",depth:4,isDevDependency:!1,dependencies:[]},{name:"@commitlint/lint@17.6.7",depth:3,isDevDependency:!1,dependencies:["@commitlint/is-ignored@17.6.7","@commitlint/parse@17.6.7","@commitlint/rules@17.6.7","@commitlint/types@17.4.4"]},{name:"@commitlint/is-ignored@17.6.7",depth:4,isDevDependency:!1,dependencies:["@commitlint/types@17.4.4","semver@7.5.4"]},{name:"@commitlint/parse@17.6.7",depth:4,isDevDependency:!1,dependencies:["@commitlint/types@17.4.4","conventional-changelog-angular@5.0.13","conventional-commits-parser@3.2.4"]},{name:"conventional-changelog-angular@5.0.13",depth:5,isDevDependency:!1,dependencies:["compare-func@2.0.0","q@1.5.1"]},{name:"conventional-commits-parser@3.2.4",depth:5,isDevDependency:!1,dependencies:["is-text-path@1.0.1","JSONStream@1.3.5","lodash@4.17.21","meow@6.1.1","split2@3.2.2","through2@4.0.2"]},{name:"is-text-path@1.0.1",depth:6,isDevDependency:!1,dependencies:["text-extensions@1.9.0"]},{name:"text-extensions@1.9.0",depth:7,isDevDependency:!1,dependencies:[]},{name:"JSONStream@1.3.5",depth:6,isDevDependency:!1,dependencies:["jsonparse@1.3.1","through@2.3.8"]},{name:"jsonparse@1.3.1",depth:7,isDevDependency:!1,dependencies:[]},{name:"split2@3.2.2",depth:6,isDevDependency:!1,dependencies:[]},{name:"through2@4.0.2",depth:6,isDevDependency:!1,dependencies:[]},{name:"@commitlint/rules@17.6.7",depth:4,isDevDependency:!1,dependencies:["@commitlint/ensure@17.6.7","@commitlint/message@17.4.2","@commitlint/to-lines@17.4.0","@commitlint/types@17.4.4","execa@7.2.0"]},{name:"@commitlint/ensure@17.6.7",depth:5,isDevDependency:!1,dependencies:["@commitlint/types@17.4.4","lodash.camelcase@4.3.0","lodash.kebabcase@4.1.1","lodash.snakecase@4.1.1","lodash.startcase@4.4.0","lodash.upperfirst@4.3.1"]},{name:"lodash.camelcase@4.3.0",depth:6,isDevDependency:!1,dependencies:[]},{name:"lodash.kebabcase@4.1.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"lodash.snakecase@4.1.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"lodash.upperfirst@4.3.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@commitlint/message@17.4.2",depth:5,isDevDependency:!1,dependencies:[]},{name:"@commitlint/to-lines@17.4.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"execa@7.2.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"@commitlint/load@17.6.7",depth:3,isDevDependency:!1,dependencies:["@commitlint/config-validator@17.6.7","@commitlint/execute-rule@17.4.0","@commitlint/resolve-extends@17.6.7","@commitlint/types@17.4.4","@types/node@20.4.8","chalk@5.3.0","cosmiconfig@8.2.0","cosmiconfig-typescript-loader@4.4.0","lodash.isplainobject@4.0.6","lodash.merge@4.6.2","lodash.uniq@4.5.0","resolve-from@5.0.0","ts-node@10.9.1","typescript@5.1.6"]},{name:"@commitlint/config-validator@17.6.7",depth:4,isDevDependency:!1,dependencies:["@commitlint/types@17.4.4","ajv@6.12.6"]},{name:"ajv@6.12.6",depth:5,isDevDependency:!1,dependencies:[]},{name:"@commitlint/execute-rule@17.4.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"@commitlint/resolve-extends@17.6.7",depth:4,isDevDependency:!1,dependencies:["@commitlint/config-validator@17.6.7","@commitlint/types@17.4.4","import-fresh@3.3.0","lodash.mergewith@4.6.2","resolve-from@5.0.0","resolve-global@1.0.0"]},{name:"import-fresh@3.3.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"lodash.mergewith@4.6.2",depth:5,isDevDependency:!1,dependencies:[]},{name:"resolve-global@1.0.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"cosmiconfig@8.2.0",depth:4,isDevDependency:!1,dependencies:["import-fresh@3.3.0","js-yaml@4.1.0","parse-json@4.0.0","path-type@3.0.0"]},{name:"cosmiconfig-typescript-loader@4.4.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"lodash.isplainobject@4.0.6",depth:4,isDevDependency:!1,dependencies:[]},{name:"lodash.merge@4.6.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"lodash.uniq@4.5.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"ts-node@10.9.1",depth:4,isDevDependency:!1,dependencies:["@cspotcode/source-map-support@0.8.1","@tsconfig/node10@1.0.9","@tsconfig/node12@1.0.11","@tsconfig/node14@1.0.3","@tsconfig/node16@1.0.4","acorn@8.10.0","acorn-walk@8.2.0","arg@4.1.3","create-require@1.1.1","diff@4.0.2","make-error@1.3.6","v8-compile-cache-lib@3.0.1","yn@3.1.1"]},{name:"@cspotcode/source-map-support@0.8.1",depth:5,isDevDependency:!1,dependencies:["@jridgewell/trace-mapping@0.3.19"]},{name:"@tsconfig/node10@1.0.9",depth:5,isDevDependency:!1,dependencies:[]},{name:"@tsconfig/node12@1.0.11",depth:5,isDevDependency:!1,dependencies:[]},{name:"@tsconfig/node14@1.0.3",depth:5,isDevDependency:!1,dependencies:[]},{name:"@tsconfig/node16@1.0.4",depth:5,isDevDependency:!1,dependencies:[]},{name:"acorn@8.10.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"acorn-walk@8.2.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"arg@4.1.3",depth:5,isDevDependency:!1,dependencies:[]},{name:"create-require@1.1.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"diff@4.0.2",depth:5,isDevDependency:!1,dependencies:[]},{name:"make-error@1.3.6",depth:5,isDevDependency:!1,dependencies:[]},{name:"v8-compile-cache-lib@3.0.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"yn@3.1.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"typescript@5.1.6",depth:4,isDevDependency:!1,dependencies:[]},{name:"@commitlint/read@17.5.1",depth:3,isDevDependency:!1,dependencies:["@commitlint/top-level@17.4.0","@commitlint/types@17.4.4","fs-extra@7.0.1","git-raw-commits@2.0.11","minimist@1.2.7"]},{name:"@commitlint/top-level@17.4.0",depth:4,isDevDependency:!1,dependencies:["find-up@5.0.0"]},{name:"git-raw-commits@2.0.11",depth:4,isDevDependency:!1,dependencies:["dargs@7.0.0","lodash@4.17.21","meow@6.1.1","split2@3.2.2","through2@4.0.2"]},{name:"dargs@7.0.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"lodash.isfunction@3.0.9",depth:3,isDevDependency:!1,dependencies:[]},{name:"cz-git@1.7.0",depth:1,isDevDependency:!1,dependencies:[]},{name:"eslint@8.46.0",depth:1,isDevDependency:!1,dependencies:["@eslint-community/eslint-utils@4.4.0","@eslint-community/regexpp@4.6.2","@eslint/eslintrc@2.1.1","@eslint/js@8.46.0","@humanwhocodes/config-array@0.11.10","@humanwhocodes/module-importer@1.0.1","@nodelib/fs.walk@1.2.8","ajv@6.12.6","chalk@5.3.0","cross-spawn@7.0.3","debug@4.3.4","doctrine@3.0.0","escape-string-regexp@4.0.0","eslint-scope@7.2.2","eslint-visitor-keys@3.4.2","espree@9.6.1","esquery@1.5.0","esutils@2.0.3","fast-deep-equal@3.1.3","file-entry-cache@6.0.1","find-up@5.0.0","glob-parent@6.0.2","globals@13.20.0","graphemer@1.4.0","ignore@5.2.4","imurmurhash@0.1.4","is-glob@4.0.3","is-path-inside@3.0.3","js-yaml@4.1.0","json-stable-stringify-without-jsonify@1.0.1","levn@0.4.1","lodash.merge@4.6.2","minimatch@3.1.2","natural-compare@1.4.0","optionator@0.9.3","strip-ansi@6.0.1","text-table@0.2.0"]},{name:"@eslint/eslintrc@2.1.1",depth:2,isDevDependency:!1,dependencies:["ajv@unknown","debug@unknown","espree@unknown","globals@unknown","ignore@unknown","import-fresh@unknown","js-yaml@unknown","minimatch@unknown","strip-json-comments@unknown"]},{name:"ajv@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"espree@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"globals@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"import-fresh@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"js-yaml@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"minimatch@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"strip-json-comments@unknown",depth:3,isDevDependency:!1,dependencies:[]},{name:"@eslint/js@8.46.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"@humanwhocodes/config-array@0.11.10",depth:2,isDevDependency:!1,dependencies:["@humanwhocodes/object-schema@1.2.1","debug@4.3.4","minimatch@3.1.2"]},{name:"@humanwhocodes/object-schema@1.2.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"@humanwhocodes/module-importer@1.0.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"@nodelib/fs.walk@1.2.8",depth:2,isDevDependency:!1,dependencies:["@nodelib/fs.scandir@2.1.5","fastq@1.15.0"]},{name:"@nodelib/fs.scandir@2.1.5",depth:3,isDevDependency:!1,dependencies:["@nodelib/fs.stat@2.0.5","run-parallel@1.2.0"]},{name:"@nodelib/fs.stat@2.0.5",depth:4,isDevDependency:!1,dependencies:[]},{name:"run-parallel@1.2.0",depth:4,isDevDependency:!1,dependencies:["queue-microtask@1.2.3"]},{name:"queue-microtask@1.2.3",depth:5,isDevDependency:!1,dependencies:[]},{name:"fastq@1.15.0",depth:3,isDevDependency:!1,dependencies:["reusify@1.0.4"]},{name:"reusify@1.0.4",depth:4,isDevDependency:!1,dependencies:[]},{name:"doctrine@3.0.0",depth:2,isDevDependency:!1,dependencies:["esutils@2.0.3"]},{name:"esutils@2.0.3",depth:3,isDevDependency:!1,dependencies:[]},{name:"eslint-visitor-keys@3.4.2",depth:2,isDevDependency:!1,dependencies:[]},{name:"espree@9.6.1",depth:2,isDevDependency:!1,dependencies:["acorn@8.10.0","acorn-jsx@5.3.2","eslint-visitor-keys@3.4.2"]},{name:"acorn-jsx@5.3.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"esquery@1.5.0",depth:2,isDevDependency:!1,dependencies:["estraverse@5.3.0"]},{name:"estraverse@5.3.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"fast-deep-equal@3.1.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"file-entry-cache@6.0.1",depth:2,isDevDependency:!1,dependencies:["flat-cache@3.0.4"]},{name:"flat-cache@3.0.4",depth:3,isDevDependency:!1,dependencies:["flatted@3.2.7","rimraf@5.0.1"]},{name:"flatted@3.2.7",depth:4,isDevDependency:!1,dependencies:[]},{name:"rimraf@5.0.1",depth:4,isDevDependency:!1,dependencies:[]},{name:"glob-parent@6.0.2",depth:2,isDevDependency:!1,dependencies:["is-glob@4.0.3"]},{name:"globals@13.20.0",depth:2,isDevDependency:!1,dependencies:["type-fest@0.20.2"]},{name:"graphemer@1.4.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"ignore@5.2.4",depth:2,isDevDependency:!1,dependencies:[]},{name:"imurmurhash@0.1.4",depth:2,isDevDependency:!1,dependencies:[]},{name:"is-path-inside@3.0.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"json-stable-stringify-without-jsonify@1.0.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"levn@0.4.1",depth:2,isDevDependency:!1,dependencies:["prelude-ls@1.2.1","type-check@0.4.0"]},{name:"prelude-ls@1.2.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"type-check@0.4.0",depth:3,isDevDependency:!1,dependencies:["prelude-ls@1.2.1"]},{name:"natural-compare@1.4.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"optionator@0.9.3",depth:2,isDevDependency:!1,dependencies:["prelude-ls@1.2.1","deep-is@0.1.4","@aashutoshrathi/word-wrap@1.2.6","type-check@0.4.0","levn@0.4.1","fast-levenshtein@2.0.6"]},{name:"deep-is@0.1.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"@aashutoshrathi/word-wrap@1.2.6",depth:3,isDevDependency:!1,dependencies:[]},{name:"fast-levenshtein@2.0.6",depth:3,isDevDependency:!1,dependencies:[]},{name:"text-table@0.2.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"eslint-plugin-vue@9.16.1",depth:1,isDevDependency:!1,dependencies:["@eslint-community/eslint-utils@4.4.0","natural-compare@1.4.0","nth-check@2.1.1","postcss-selector-parser@6.0.13","semver@7.5.4","vue-eslint-parser@9.3.1","xml-name-validator@4.0.0"]},{name:"nth-check@2.1.1",depth:2,isDevDependency:!1,dependencies:["boolbase@1.0.0"]},{name:"boolbase@1.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"postcss-selector-parser@6.0.13",depth:2,isDevDependency:!1,dependencies:["cssesc@3.0.0","util-deprecate@1.0.2"]},{name:"cssesc@3.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"xml-name-validator@4.0.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"husky@8.0.3",depth:1,isDevDependency:!1,dependencies:[]},{name:"lint-staged@13.2.3",depth:1,isDevDependency:!1,dependencies:["chalk@5.3.0","cli-truncate@3.1.0","commander@10.0.1","debug@4.3.4","execa@7.2.0","lilconfig@2.1.0","listr2@5.0.8","micromatch@4.0.5","normalize-path@3.0.0","object-inspect@1.12.3","pidtree@0.6.0","string-argv@0.3.2","yaml@2.3.1"]},{name:"cli-truncate@3.1.0",depth:2,isDevDependency:!1,dependencies:["slice-ansi@5.0.0","string-width@5.1.2"]},{name:"slice-ansi@5.0.0",depth:3,isDevDependency:!1,dependencies:["ansi-styles@3.2.1","is-fullwidth-code-point@4.0.0"]},{name:"is-fullwidth-code-point@4.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"commander@10.0.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"lilconfig@2.1.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"listr2@5.0.8",depth:2,isDevDependency:!1,dependencies:["cli-truncate@3.1.0","colorette@2.0.20","log-update@4.0.0","p-map@4.0.0","rfdc@1.3.0","rxjs@7.8.1","through@2.3.8","wrap-ansi@7.0.0"]},{name:"colorette@2.0.20",depth:3,isDevDependency:!1,dependencies:[]},{name:"log-update@4.0.0",depth:3,isDevDependency:!1,dependencies:["ansi-escapes@4.3.2","cli-cursor@3.1.0","slice-ansi@5.0.0","wrap-ansi@7.0.0"]},{name:"p-map@4.0.0",depth:3,isDevDependency:!1,dependencies:["aggregate-error@3.1.0"]},{name:"aggregate-error@3.1.0",depth:4,isDevDependency:!1,dependencies:["clean-stack@2.2.0","indent-string@4.0.0"]},{name:"clean-stack@2.2.0",depth:5,isDevDependency:!1,dependencies:[]},{name:"rfdc@1.3.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"normalize-path@3.0.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"pidtree@0.6.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"string-argv@0.3.2",depth:2,isDevDependency:!1,dependencies:[]},{name:"yaml@2.3.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"tsx@3.12.7",depth:1,isDevDependency:!1,dependencies:["@esbuild-kit/cjs-loader@2.4.2","@esbuild-kit/core-utils@3.1.0","@esbuild-kit/esm-loader@2.5.5"]},{name:"@esbuild-kit/cjs-loader@2.4.2",depth:2,isDevDependency:!1,dependencies:["@esbuild-kit/core-utils@3.1.0","get-tsconfig@4.6.2"]},{name:"@esbuild-kit/core-utils@3.1.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"get-tsconfig@4.6.2",depth:3,isDevDependency:!1,dependencies:["resolve-pkg-maps@1.0.0"]},{name:"resolve-pkg-maps@1.0.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"@esbuild-kit/esm-loader@2.5.5",depth:2,isDevDependency:!1,dependencies:["@esbuild-kit/core-utils@3.1.0","get-tsconfig@4.6.2"]},{name:"turbo@1.10.12",depth:1,isDevDependency:!1,dependencies:[]},{name:"vitepress@1.0.0-beta.7",depth:1,isDevDependency:!1,dependencies:["@docsearch/css@3.5.1","@docsearch/js@3.5.1","@vitejs/plugin-vue@4.2.3","@vue/devtools-api@6.5.0","@vueuse/core@10.3.0","@vueuse/integrations@10.3.0","body-scroll-lock@4.0.0-beta.0","focus-trap@7.5.2","mark.js@8.11.1","minisearch@6.1.0","shiki@0.14.3","vite@4.4.9","vue@3.3.4"]},{name:"@docsearch/css@3.5.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"@docsearch/js@3.5.1",depth:2,isDevDependency:!1,dependencies:["@docsearch/react@3.5.1","preact@10.16.0"]},{name:"@docsearch/react@3.5.1",depth:3,isDevDependency:!1,dependencies:["@algolia/autocomplete-core@1.9.3","@algolia/autocomplete-preset-algolia@1.9.3","@docsearch/css@3.5.1","algoliasearch@4.19.1"]},{name:"@algolia/autocomplete-core@1.9.3",depth:4,isDevDependency:!1,dependencies:["@algolia/autocomplete-plugin-algolia-insights@1.9.3","@algolia/autocomplete-shared@1.9.3"]},{name:"@algolia/autocomplete-plugin-algolia-insights@1.9.3",depth:5,isDevDependency:!1,dependencies:["@algolia/autocomplete-shared@1.9.3"]},{name:"@algolia/autocomplete-shared@1.9.3",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/autocomplete-preset-algolia@1.9.3",depth:4,isDevDependency:!1,dependencies:["@algolia/autocomplete-shared@1.9.3"]},{name:"algoliasearch@4.19.1",depth:4,isDevDependency:!1,dependencies:["@algolia/cache-browser-local-storage@4.19.1","@algolia/cache-common@4.19.1","@algolia/cache-in-memory@4.19.1","@algolia/client-account@4.19.1","@algolia/client-analytics@4.19.1","@algolia/client-common@4.19.1","@algolia/client-personalization@4.19.1","@algolia/client-search@4.19.1","@algolia/logger-common@4.19.1","@algolia/logger-console@4.19.1","@algolia/requester-browser-xhr@4.19.1","@algolia/requester-common@4.19.1","@algolia/requester-node-http@4.19.1","@algolia/transporter@4.19.1"]},{name:"@algolia/cache-browser-local-storage@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/cache-common@4.19.1"]},{name:"@algolia/cache-common@4.19.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/cache-in-memory@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/cache-common@4.19.1"]},{name:"@algolia/client-account@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/client-common@4.19.1","@algolia/client-search@4.19.1","@algolia/transporter@4.19.1"]},{name:"@algolia/client-common@4.19.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/client-search@4.19.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/transporter@4.19.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/client-analytics@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/client-common@4.19.1","@algolia/client-search@4.19.1","@algolia/requester-common@4.19.1","@algolia/transporter@4.19.1"]},{name:"@algolia/requester-common@4.19.1",depth:6,isDevDependency:!1,dependencies:[]},{name:"@algolia/client-personalization@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/client-common@4.19.1","@algolia/requester-common@4.19.1","@algolia/transporter@4.19.1"]},{name:"@algolia/logger-common@4.19.1",depth:5,isDevDependency:!1,dependencies:[]},{name:"@algolia/logger-console@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/logger-common@4.19.1"]},{name:"@algolia/requester-browser-xhr@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/requester-common@4.19.1"]},{name:"@algolia/requester-node-http@4.19.1",depth:5,isDevDependency:!1,dependencies:["@algolia/requester-common@4.19.1"]},{name:"preact@10.16.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vitejs/plugin-vue@4.2.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"@vue/devtools-api@6.5.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"@vueuse/core@10.3.0",depth:2,isDevDependency:!1,dependencies:["@types/web-bluetooth@0.0.17","@vueuse/metadata@10.3.0","@vueuse/shared@10.3.0","vue-demi@0.14.5"]},{name:"@types/web-bluetooth@0.0.17",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vueuse/metadata@10.3.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vueuse/shared@10.3.0",depth:3,isDevDependency:!1,dependencies:["vue-demi@0.14.5"]},{name:"vue-demi@0.14.5",depth:4,isDevDependency:!1,dependencies:[]},{name:"@vueuse/integrations@10.3.0",depth:2,isDevDependency:!1,dependencies:["@vueuse/core@10.3.0","@vueuse/shared@10.3.0","vue-demi@0.14.5"]},{name:"body-scroll-lock@4.0.0-beta.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"focus-trap@7.5.2",depth:2,isDevDependency:!1,dependencies:["tabbable@6.2.0"]},{name:"tabbable@6.2.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"mark.js@8.11.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"minisearch@6.1.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"shiki@0.14.3",depth:2,isDevDependency:!1,dependencies:["ansi-sequence-parser@1.1.1","jsonc-parser@3.2.0","vscode-oniguruma@1.7.0","vscode-textmate@8.0.0"]},{name:"ansi-sequence-parser@1.1.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"jsonc-parser@3.2.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"vscode-oniguruma@1.7.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"vscode-textmate@8.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"vite@4.4.9",depth:2,isDevDependency:!1,dependencies:["esbuild@0.18.19","postcss@8.4.27","rollup@3.27.2"]},{name:"esbuild@0.18.19",depth:3,isDevDependency:!1,dependencies:[]},{name:"postcss@8.4.27",depth:3,isDevDependency:!1,dependencies:["nanoid@3.3.6","picocolors@1.0.0","source-map-js@1.0.2"]},{name:"nanoid@3.3.6",depth:4,isDevDependency:!1,dependencies:[]},{name:"source-map-js@1.0.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"rollup@3.27.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"vue@3.3.4",depth:2,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/compiler-dom@3.3.4","@vue/runtime-dom@3.3.4","@vue/compiler-sfc@3.3.4","@vue/server-renderer@3.3.4"]},{name:"@vue/shared@3.3.4",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vue/compiler-dom@3.3.4",depth:3,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/compiler-core@3.3.4"]},{name:"@vue/compiler-core@3.3.4",depth:4,isDevDependency:!1,dependencies:[]},{name:"@vue/runtime-dom@3.3.4",depth:3,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/runtime-core@3.3.4","csstype@3.1.2"]},{name:"@vue/runtime-core@3.3.4",depth:4,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/reactivity@3.3.4"]},{name:"@vue/reactivity@3.3.4",depth:5,isDevDependency:!1,dependencies:["@vue/shared@3.3.4"]},{name:"csstype@3.1.2",depth:4,isDevDependency:!1,dependencies:[]},{name:"@vue/compiler-sfc@3.3.4",depth:3,isDevDependency:!1,dependencies:["@babel/parser@7.22.10","@vue/compiler-core@3.3.4","@vue/compiler-dom@3.3.4","@vue/compiler-ssr@3.3.4","@vue/reactivity-transform@3.3.4","@vue/shared@3.3.4","estree-walker@2.0.2","magic-string@0.30.2","postcss@8.4.27","source-map-js@1.0.2"]},{name:"@babel/parser@7.22.10",depth:4,isDevDependency:!1,dependencies:[]},{name:"@vue/compiler-ssr@3.3.4",depth:4,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/compiler-dom@3.3.4"]},{name:"@vue/reactivity-transform@3.3.4",depth:4,isDevDependency:!1,dependencies:["@babel/parser@7.22.10","@vue/compiler-core@3.3.4","@vue/shared@3.3.4","estree-walker@2.0.2","magic-string@0.30.2"]},{name:"estree-walker@2.0.2",depth:5,isDevDependency:!1,dependencies:[]},{name:"@vue/server-renderer@3.3.4",depth:3,isDevDependency:!1,dependencies:["@vue/shared@3.3.4","@vue/compiler-ssr@3.3.4"]},{name:"vitest@0.33.0",depth:1,isDevDependency:!1,dependencies:["@types/chai@4.3.5","@types/chai-subset@1.3.3","@types/node@20.4.8","acorn@8.10.0","acorn-walk@8.2.0","cac@6.7.14","chai@4.3.7","debug@4.3.4","local-pkg@0.4.3","magic-string@0.30.2","pathe@1.1.1","picocolors@1.0.0","std-env@3.3.3","strip-literal@1.3.0","tinybench@2.5.0","tinypool@0.6.0","vite@4.4.9","why-is-node-running@2.2.2","@vitest/expect@0.33.0","@vitest/runner@0.33.0","@vitest/snapshot@0.33.0","@vitest/spy@0.33.0","@vitest/utils@0.33.0","vite-node@0.33.0"]},{name:"@types/chai@4.3.5",depth:2,isDevDependency:!1,dependencies:[]},{name:"@types/chai-subset@1.3.3",depth:2,isDevDependency:!1,dependencies:["@types/chai@4.3.5"]},{name:"cac@6.7.14",depth:2,isDevDependency:!1,dependencies:[]},{name:"chai@4.3.7",depth:2,isDevDependency:!1,dependencies:["assertion-error@1.1.0","check-error@1.0.2","deep-eql@4.1.3","get-func-name@2.0.0","loupe@2.3.6","pathval@1.1.1","type-detect@4.0.8"]},{name:"assertion-error@1.1.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"check-error@1.0.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"deep-eql@4.1.3",depth:3,isDevDependency:!1,dependencies:["type-detect@4.0.8"]},{name:"type-detect@4.0.8",depth:4,isDevDependency:!1,dependencies:[]},{name:"get-func-name@2.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"loupe@2.3.6",depth:3,isDevDependency:!1,dependencies:["get-func-name@2.0.0"]},{name:"pathval@1.1.1",depth:3,isDevDependency:!1,dependencies:[]},{name:"local-pkg@0.4.3",depth:2,isDevDependency:!1,dependencies:[]},{name:"pathe@1.1.1",depth:2,isDevDependency:!1,dependencies:[]},{name:"strip-literal@1.3.0",depth:2,isDevDependency:!1,dependencies:["acorn@8.10.0"]},{name:"tinybench@2.5.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"tinypool@0.6.0",depth:2,isDevDependency:!1,dependencies:[]},{name:"why-is-node-running@2.2.2",depth:2,isDevDependency:!1,dependencies:["siginfo@2.0.0","stackback@0.0.2"]},{name:"siginfo@2.0.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"stackback@0.0.2",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vitest/expect@0.33.0",depth:2,isDevDependency:!1,dependencies:["chai@4.3.7","@vitest/spy@0.33.0","@vitest/utils@0.33.0"]},{name:"@vitest/spy@0.33.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vitest/utils@0.33.0",depth:3,isDevDependency:!1,dependencies:[]},{name:"@vitest/runner@0.33.0",depth:2,isDevDependency:!1,dependencies:["p-limit@2.3.0","pathe@1.1.1","@vitest/utils@0.33.0"]},{name:"@vitest/snapshot@0.33.0",depth:2,isDevDependency:!1,dependencies:["magic-string@0.30.2","pathe@1.1.1","pretty-format@29.6.2"]},{name:"pretty-format@29.6.2",depth:3,isDevDependency:!1,dependencies:["@jest/schemas@29.6.0","ansi-styles@3.2.1","react-is@18.2.0"]},{name:"@jest/schemas@29.6.0",depth:4,isDevDependency:!1,dependencies:["@sinclair/typebox@0.27.8"]},{name:"@sinclair/typebox@0.27.8",depth:5,isDevDependency:!1,dependencies:[]},{name:"react-is@18.2.0",depth:4,isDevDependency:!1,dependencies:[]},{name:"vite-node@0.33.0",depth:2,isDevDependency:!1,dependencies:["cac@6.7.14","debug@4.3.4","mlly@1.4.0","pathe@1.1.1","picocolors@1.0.0","vite@4.4.9"]},{name:"mlly@1.4.0",depth:3,isDevDependency:!1,dependencies:["acorn@8.10.0","pathe@1.1.1","pkg-types@1.0.3","ufo@1.2.0"]},{name:"pkg-types@1.0.3",depth:4,isDevDependency:!1,dependencies:["jsonc-parser@3.2.0","mlly@1.4.0","pathe@1.1.1"]},{name:"ufo@1.2.0",depth:4,isDevDependency:!1,dependencies:[]}],$n={nodes:Ro,links:[]};$n.links=$n.nodes.reduce((e,{name:n,dependencies:t})=>(e.push(...t.map(i=>({source:n,target:i}))),e),[]);function Fo(){return new Promise(e=>{setTimeout(()=>e($n),1e3)})}const Xo={class:"w-full h-100vh overflow-hidden"},Bo={key:1,class:"absolute i-svg-spinners-blocks-shuffle-3 top-[calc(50%-3rem)] text-8xl left-[calc(50%-3rem)]"},Oo={key:0,class:"absolute top-16 left-4"},Vo=Sn({__name:"index",setup(e){const n=Dn(!1),t=Di(n),i=fi({name:"",version:""});function s(r){n.value=!0,i.version=r.split("@").slice(-1)[0],i.name=r.split("@").slice(0,-1).join("@")}const a=bt({nodes:[],links:[]});return Fo().then(r=>{a.value=r}),(r,c)=>(ee(),oe("div",Xo,[fn(Gn,{name:"chart"},{default:Hn(()=>[a.value.nodes.length?(ee(),hi(ao,{key:0,onNodeClick:s,graphData:a.value},null,8,["graphData"])):(ee(),oe("i",Bo))]),_:1}),fn(Gn,{name:"package-info"},{default:Hn(()=>[n.value?(ee(),oe("aside",Oo,[fn(Po,{currentPackage:i,onClose:G(t)},null,8,["currentPackage","onClose"])])):mi("",!0)]),_:1})]))}});const Ho=yi(Vo,[["__scopeId","data-v-122df927"]]);export{Ho as default}; diff --git a/assets/index-bcef41cf.js b/assets/index-d97ebcaf.js similarity index 99% rename from assets/index-bcef41cf.js rename to assets/index-d97ebcaf.js index e0cce22..85393ef 100644 --- a/assets/index-bcef41cf.js +++ b/assets/index-d97ebcaf.js @@ -6,7 +6,7 @@ * vue-router v4.2.4 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Xt=typeof window<"u";function hf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function kr(e,t){const n={};for(const r in t){const l=t[r];n[r]=tt(l)?l.map(e):e(l)}return n}const yn=()=>{},tt=Array.isArray,pf=/\/$/,_f=e=>e.replace(pf,"");function wr(e,t,n="/"){let r,l={},s="",o="";const i=t.indexOf("#");let a=t.indexOf("?");return i=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,i>-1?i:t.length),l=e(s)),i>-1&&(r=r||t.slice(0,i),o=t.slice(i,t.length)),r=vf(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:l,hash:o}}function gf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ul(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bf(e,t,n){const r=t.matched.length-1,l=n.matched.length-1;return r>-1&&r===l&&sn(t.matched[r],n.matched[l])&&$i(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $i(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ef(e[n],t[n]))return!1;return!0}function Ef(e,t){return tt(e)?$l(e,t):tt(t)?$l(t,e):e===t}function $l(e,t){return tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),l=r[r.length-1];(l===".."||l===".")&&r.push("");let s=n.length-1,o,i;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Sn;(function(e){e.pop="pop",e.push="push"})(Sn||(Sn={}));var Ln;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ln||(Ln={}));function yf(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_f(e)}const Lf=/^[^#]+#/;function If(e,t){return e.replace(Lf,"#")+t}function Tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function Cf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=Tf(l,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Wl(e,t){return(history.state?history.state.position-t:-1)+e}const Zr=new Map;function Nf(e,t){Zr.set(e,t)}function Of(e){const t=Zr.get(e);return Zr.delete(e),t}let Pf=()=>location.protocol+"//"+location.host;function Wi(e,t){const{pathname:n,search:r,hash:l}=t,s=e.indexOf("#");if(s>-1){let i=l.includes(e.slice(s))?e.slice(s).length:1,a=l.slice(i);return a[0]!=="/"&&(a="/"+a),Ul(a,"")}return Ul(n,e)+r+l}function Af(e,t,n,r){let l=[],s=[],o=null;const i=({state:h})=>{const b=Wi(e,location),N=n.value,O=t.value;let A=0;if(h){if(n.value=b,t.value=h,o&&o===N){o=null;return}A=O?h.position-O.position:0}else r(b);l.forEach(g=>{g(n.value,N,{delta:A,type:Sn.pop,direction:A?A>0?Ln.forward:Ln.back:Ln.unknown})})};function a(){o=n.value}function f(h){l.push(h);const b=()=>{const N=l.indexOf(h);N>-1&&l.splice(N,1)};return s.push(b),b}function d(){const{history:h}=window;h.state&&h.replaceState(ce({},h.state,{scroll:Er()}),"")}function m(){for(const h of s)h();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:a,listen:f,destroy:m}}function Hl(e,t,n,r=!1,l=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:l?Er():null}}function Rf(e){const{history:t,location:n}=window,r={value:Wi(e,n)},l={value:t.state};l.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,f,d){const m=e.indexOf("#"),h=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+a:Pf()+e+a;try{t[d?"replaceState":"pushState"](f,"",h),l.value=f}catch(b){console.error(b),n[d?"replace":"assign"](h)}}function o(a,f){const d=ce({},t.state,Hl(l.value.back,a,l.value.forward,!0),f,{position:l.value.position});s(a,d,!0),r.value=a}function i(a,f){const d=ce({},l.value,t.state,{forward:a,scroll:Er()});s(d.current,d,!0);const m=ce({},Hl(r.value,a,null),{position:d.position+1},f);s(a,m,!1),r.value=a}return{location:r,state:l,push:i,replace:o}}function Sf(e){e=yf(e);const t=Rf(e),n=Af(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const l=ce({location:"",base:e,go:r,createHref:If.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function kf(e){return typeof e=="string"||e&&typeof e=="object"}function Hi(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ji=Symbol("");var jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jl||(jl={}));function ln(e,t){return ce(new Error,{type:e,[ji]:!0},t)}function ct(e,t){return e instanceof Error&&ji in e&&(t==null||!!(e.type&t))}const Vl="[^/]+?",wf={sensitive:!1,strict:!1,start:!0,end:!0},Ff=/[.+*?^${}()[\]/\\]/g;function Mf(e,t){const n=ce({},wf,t),r=[];let l=n.start?"^":"";const s=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(l+="/");for(let m=0;mt.length?t.length===1&&t[0]===40+40?1:-1:0}function Df(e,t){let n=0;const r=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const Uf={type:0,value:""},$f=/[a-zA-Z0-9_]/;function Wf(e){if(!e)return[[]];if(e==="/")return[[Uf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${f}": ${b}`)}let n=0,r=n;const l=[];let s;function o(){s&&l.push(s),s=[]}let i=0,a,f="",d="";function m(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:d,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=a}for(;i{o(L)}:yn}function o(d){if(Hi(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(o),m.alias.forEach(o))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function i(){return n}function a(d){let m=0;for(;m=0&&(d.record.path!==n[m].record.path||!Vi(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!Yl(d)&&r.set(d.record.name,d)}function f(d,m){let h,b={},N,O;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw ln(1,{location:d});O=h.record.name,b=ce(Kl(m.params,h.keys.filter(L=>!L.optional).map(L=>L.name)),d.params&&Kl(d.params,h.keys.map(L=>L.name))),N=h.stringify(b)}else if("path"in d)N=d.path,h=n.find(L=>L.re.test(N)),h&&(b=h.parse(N),O=h.record.name);else{if(h=m.name?r.get(m.name):n.find(L=>L.re.test(m.path)),!h)throw ln(1,{location:d,currentLocation:m});O=h.record.name,b=ce({},m.params,d.params),N=h.stringify(b)}const A=[];let g=h;for(;g;)A.unshift(g.record),g=g.parent;return{name:O,path:N,params:b,matched:A,meta:Kf(A)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:f,removeRoute:o,getRoutes:i,getRecordMatcher:l}}function Kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Bf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Kf(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Gl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Vi(e,t){return t.children.some(n=>n===e||Vi(e,n))}const Bi=/#/g,Yf=/&/g,Gf=/\//g,Xf=/=/g,qf=/\?/g,Ki=/\+/g,Jf=/%5B/g,Qf=/%5D/g,Yi=/%5E/g,zf=/%60/g,Gi=/%7B/g,Zf=/%7C/g,Xi=/%7D/g,ed=/%20/g;function Ws(e){return encodeURI(""+e).replace(Zf,"|").replace(Jf,"[").replace(Qf,"]")}function td(e){return Ws(e).replace(Gi,"{").replace(Xi,"}").replace(Yi,"^")}function es(e){return Ws(e).replace(Ki,"%2B").replace(ed,"+").replace(Bi,"%23").replace(Yf,"%26").replace(zf,"`").replace(Gi,"{").replace(Xi,"}").replace(Yi,"^")}function nd(e){return es(e).replace(Xf,"%3D")}function rd(e){return Ws(e).replace(Bi,"%23").replace(qf,"%3F")}function sd(e){return e==null?"":rd(e).replace(Gf,"%2F")}function sr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ld(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;ls&&es(s)):[r&&es(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function od(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tt(r)?r.map(l=>l==null?null:""+l):r==null?r:""+r)}return t}const id=Symbol(""),ql=Symbol(""),Hs=Symbol(""),qi=Symbol(""),ts=Symbol("");function hn(){let e=[];function t(r){return e.push(r),()=>{const l=e.indexOf(r);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lt(e,t,n,r,l){const s=r&&(r.enterCallbacks[l]=r.enterCallbacks[l]||[]);return()=>new Promise((o,i)=>{const a=m=>{m===!1?i(ln(4,{from:n,to:t})):m instanceof Error?i(m):kf(m)?i(ln(2,{from:t,to:m})):(s&&r.enterCallbacks[l]===s&&typeof m=="function"&&s.push(m),o())},f=e.call(r&&r.instances[l],t,n,a);let d=Promise.resolve(f);e.length<3&&(d=d.then(a)),d.catch(m=>i(m))})}function Fr(e,t,n,r){const l=[];for(const s of e)for(const o in s.components){let i=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(ad(i)){const f=(i.__vccOpts||i)[t];f&&l.push(Lt(f,n,r,s,o))}else{let a=i();l.push(()=>a.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const d=hf(f)?f.default:f;s.components[o]=d;const h=(d.__vccOpts||d)[t];return h&&Lt(h,n,r,s,o)()}))}}return l}function ad(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jl(e){const t=Ze(Hs),n=Ze(qi),r=be(()=>t.resolve(Zt(e.to))),l=be(()=>{const{matched:a}=r.value,{length:f}=a,d=a[f-1],m=n.matched;if(!d||!m.length)return-1;const h=m.findIndex(sn.bind(null,d));if(h>-1)return h;const b=Ql(a[f-2]);return f>1&&Ql(d)===b&&m[m.length-1].path!==b?m.findIndex(sn.bind(null,a[f-2])):h}),s=be(()=>l.value>-1&&dd(n.params,r.value.params)),o=be(()=>l.value>-1&&l.value===n.matched.length-1&&$i(n.params,r.value.params));function i(a={}){return fd(a)?t[Zt(e.replace)?"replace":"push"](Zt(e.to)).catch(yn):Promise.resolve()}return{route:r,href:be(()=>r.value.href),isActive:s,isExactActive:o,navigate:i}}const cd=Mn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jl,setup(e,{slots:t}){const n=Fn(Jl(e)),{options:r}=Ze(Hs),l=be(()=>({[zl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Dn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},s)}}}),ud=cd;function fd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dd(e,t){for(const n in t){const r=t[n],l=e[n];if(typeof r=="string"){if(r!==l)return!1}else if(!tt(l)||l.length!==r.length||r.some((s,o)=>s!==l[o]))return!1}return!0}function Ql(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zl=(e,t,n)=>e??t??n,md=Mn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ze(ts),l=be(()=>e.route||r.value),s=Ze(ql,0),o=be(()=>{let f=Zt(s);const{matched:d}=l.value;let m;for(;(m=d[f])&&!m.components;)f++;return f}),i=be(()=>l.value.matched[o.value]);Jn(ql,be(()=>o.value+1)),Jn(id,i),Jn(ts,l);const a=Ue();return Ct(()=>[a.value,i.value,e.name],([f,d,m],[h,b,N])=>{d&&(d.instances[m]=f,b&&b!==d&&f&&f===h&&(d.leaveGuards.size||(d.leaveGuards=b.leaveGuards),d.updateGuards.size||(d.updateGuards=b.updateGuards))),f&&d&&(!b||!sn(d,b)||!h)&&(d.enterCallbacks[m]||[]).forEach(O=>O(f))},{flush:"post"}),()=>{const f=l.value,d=e.name,m=i.value,h=m&&m.components[d];if(!h)return Zl(n.default,{Component:h,route:f});const b=m.props[d],N=b?b===!0?f.params:typeof b=="function"?b(f):b:null,A=Dn(h,ce({},N,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(m.instances[d]=null)},ref:a}));return Zl(n.default,{Component:A,route:f})||A}}});function Zl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hd=md;function pd(e){const t=jf(e.routes,e),n=e.parseQuery||ld,r=e.stringifyQuery||Xl,l=e.history,s=hn(),o=hn(),i=hn(),a=ti(bt);let f=bt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=kr.bind(null,P=>""+P),m=kr.bind(null,sd),h=kr.bind(null,sr);function b(P,j){let D,V;return Hi(P)?(D=t.getRecordMatcher(P),V=j):V=P,t.addRoute(V,D)}function N(P){const j=t.getRecordMatcher(P);j&&t.removeRoute(j)}function O(){return t.getRoutes().map(P=>P.record)}function A(P){return!!t.getRecordMatcher(P)}function g(P,j){if(j=ce({},j||a.value),typeof P=="string"){const u=wr(n,P,j.path),p=t.resolve({path:u.path},j),E=l.createHref(u.fullPath);return ce(u,p,{params:h(p.params),hash:sr(u.hash),redirectedFrom:void 0,href:E})}let D;if("path"in P)D=ce({},P,{path:wr(n,P.path,j.path).path});else{const u=ce({},P.params);for(const p in u)u[p]==null&&delete u[p];D=ce({},P,{params:m(u)}),j.params=m(j.params)}const V=t.resolve(D,j),ne=P.hash||"";V.params=d(h(V.params));const _=gf(r,ce({},P,{hash:td(ne),path:V.path})),c=l.createHref(_);return ce({fullPath:_,hash:ne,query:r===Xl?od(P.query):P.query||{}},V,{redirectedFrom:void 0,href:c})}function L(P){return typeof P=="string"?wr(n,P,a.value.path):ce({},P)}function R(P,j){if(f!==P)return ln(8,{from:j,to:P})}function v(P){return U(P)}function I(P){return v(ce(L(P),{replace:!0}))}function F(P){const j=P.matched[P.matched.length-1];if(j&&j.redirect){const{redirect:D}=j;let V=typeof D=="function"?D(P):D;return typeof V=="string"&&(V=V.includes("?")||V.includes("#")?V=L(V):{path:V},V.params={}),ce({query:P.query,hash:P.hash,params:"path"in V?{}:P.params},V)}}function U(P,j){const D=f=g(P),V=a.value,ne=P.state,_=P.force,c=P.replace===!0,u=F(D);if(u)return U(ce(L(u),{state:typeof u=="object"?ce({},ne,u.state):ne,force:_,replace:c}),j||D);const p=D;p.redirectedFrom=j;let E;return!_&&bf(r,V,D)&&(E=ln(16,{to:p,from:V}),Ae(V,V,!0,!1)),(E?Promise.resolve(E):Y(p,V)).catch(C=>ct(C)?ct(C,2)?C:Me(C):re(C,p,V)).then(C=>{if(C){if(ct(C,2))return U(ce({replace:c},L(C.to),{state:typeof C.to=="object"?ce({},ne,C.to.state):ne,force:_}),j||p)}else C=W(p,V,!0,c,ne);return z(p,V,C),C})}function M(P,j){const D=R(P,j);return D?Promise.reject(D):Promise.resolve()}function $(P){const j=He.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(P):P()}function Y(P,j){let D;const[V,ne,_]=_d(P,j);D=Fr(V.reverse(),"beforeRouteLeave",P,j);for(const u of V)u.leaveGuards.forEach(p=>{D.push(Lt(p,P,j))});const c=M.bind(null,P,j);return D.push(c),_e(D).then(()=>{D=[];for(const u of s.list())D.push(Lt(u,P,j));return D.push(c),_e(D)}).then(()=>{D=Fr(ne,"beforeRouteUpdate",P,j);for(const u of ne)u.updateGuards.forEach(p=>{D.push(Lt(p,P,j))});return D.push(c),_e(D)}).then(()=>{D=[];for(const u of _)if(u.beforeEnter)if(tt(u.beforeEnter))for(const p of u.beforeEnter)D.push(Lt(p,P,j));else D.push(Lt(u.beforeEnter,P,j));return D.push(c),_e(D)}).then(()=>(P.matched.forEach(u=>u.enterCallbacks={}),D=Fr(_,"beforeRouteEnter",P,j),D.push(c),_e(D))).then(()=>{D=[];for(const u of o.list())D.push(Lt(u,P,j));return D.push(c),_e(D)}).catch(u=>ct(u,8)?u:Promise.reject(u))}function z(P,j,D){i.list().forEach(V=>$(()=>V(P,j,D)))}function W(P,j,D,V,ne){const _=R(P,j);if(_)return _;const c=j===bt,u=Xt?history.state:{};D&&(V||c?l.replace(P.fullPath,ce({scroll:c&&u&&u.scroll},ne)):l.push(P.fullPath,ne)),a.value=P,Ae(P,j,D,c),Me()}let Q;function he(){Q||(Q=l.listen((P,j,D)=>{if(!nt.listening)return;const V=g(P),ne=F(V);if(ne){U(ce(ne,{replace:!0}),V).catch(yn);return}f=V;const _=a.value;Xt&&Nf(Wl(_.fullPath,D.delta),Er()),Y(V,_).catch(c=>ct(c,12)?c:ct(c,2)?(U(c.to,V).then(u=>{ct(u,20)&&!D.delta&&D.type===Sn.pop&&l.go(-1,!1)}).catch(yn),Promise.reject()):(D.delta&&l.go(-D.delta,!1),re(c,V,_))).then(c=>{c=c||W(V,_,!1),c&&(D.delta&&!ct(c,8)?l.go(-D.delta,!1):D.type===Sn.pop&&ct(c,20)&&l.go(-1,!1)),z(V,_,c)}).catch(yn)}))}let Ee=hn(),q=hn(),te;function re(P,j,D){Me(P);const V=q.list();return V.length?V.forEach(ne=>ne(P,j,D)):console.error(P),Promise.reject(P)}function Pe(){return te&&a.value!==bt?Promise.resolve():new Promise((P,j)=>{Ee.add([P,j])})}function Me(P){return te||(te=!P,he(),Ee.list().forEach(([j,D])=>P?D(P):j()),Ee.reset()),P}function Ae(P,j,D,V){const{scrollBehavior:ne}=e;if(!Xt||!ne)return Promise.resolve();const _=!D&&Of(Wl(P.fullPath,0))||(V||!D)&&history.state&&history.state.scroll||null;return Ss().then(()=>ne(P,j,_)).then(c=>c&&Cf(c)).catch(c=>re(c,P,j))}const ve=P=>l.go(P);let Xe;const He=new Set,nt={currentRoute:a,listening:!0,addRoute:b,removeRoute:N,hasRoute:A,getRoutes:O,resolve:g,options:e,push:v,replace:I,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:s.add,beforeResolve:o.add,afterEach:i.add,onError:q.add,isReady:Pe,install(P){const j=this;P.component("RouterLink",ud),P.component("RouterView",hd),P.config.globalProperties.$router=j,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(a)}),Xt&&!Xe&&a.value===bt&&(Xe=!0,v(l.location).catch(ne=>{}));const D={};for(const ne in bt)Object.defineProperty(D,ne,{get:()=>a.value[ne],enumerable:!0});P.provide(Hs,j),P.provide(qi,zo(D)),P.provide(ts,a);const V=P.unmount;He.add(P),P.unmount=function(){He.delete(P),He.size<1&&(f=bt,Q&&Q(),Q=null,a.value=bt,Xe=!1,te=!1),V()}}};function _e(P){return P.reduce((j,D)=>j.then(()=>$(D)),Promise.resolve())}return nt}function _d(e,t){const n=[],r=[],l=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;osn(f,i))?r.push(i):n.push(i));const a=e.matched[o];a&&(t.matched.find(f=>sn(f,a))||l.push(a))}return[n,r,l]}const gd=pd({history:Sf("/"),routes:[{path:"/",component:()=>Dl(()=>import("./index-02dcade8.js"),["assets/index-02dcade8.js","assets/app-14ea5fb5.js","assets/index-6bdac558.css"]),children:[{path:"",name:"home",component:()=>Dl(()=>import("./index-543b4f1d.js"),["assets/index-543b4f1d.js","assets/app-14ea5fb5.js","assets/index-05106b3f.css"])}]}]});/*! + */const Xt=typeof window<"u";function hf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function kr(e,t){const n={};for(const r in t){const l=t[r];n[r]=tt(l)?l.map(e):e(l)}return n}const yn=()=>{},tt=Array.isArray,pf=/\/$/,_f=e=>e.replace(pf,"");function wr(e,t,n="/"){let r,l={},s="",o="";const i=t.indexOf("#");let a=t.indexOf("?");return i=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,i>-1?i:t.length),l=e(s)),i>-1&&(r=r||t.slice(0,i),o=t.slice(i,t.length)),r=vf(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:l,hash:o}}function gf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ul(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bf(e,t,n){const r=t.matched.length-1,l=n.matched.length-1;return r>-1&&r===l&&sn(t.matched[r],n.matched[l])&&$i(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $i(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ef(e[n],t[n]))return!1;return!0}function Ef(e,t){return tt(e)?$l(e,t):tt(t)?$l(t,e):e===t}function $l(e,t){return tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),l=r[r.length-1];(l===".."||l===".")&&r.push("");let s=n.length-1,o,i;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Sn;(function(e){e.pop="pop",e.push="push"})(Sn||(Sn={}));var Ln;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ln||(Ln={}));function yf(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_f(e)}const Lf=/^[^#]+#/;function If(e,t){return e.replace(Lf,"#")+t}function Tf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function Cf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=Tf(l,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Wl(e,t){return(history.state?history.state.position-t:-1)+e}const Zr=new Map;function Nf(e,t){Zr.set(e,t)}function Of(e){const t=Zr.get(e);return Zr.delete(e),t}let Pf=()=>location.protocol+"//"+location.host;function Wi(e,t){const{pathname:n,search:r,hash:l}=t,s=e.indexOf("#");if(s>-1){let i=l.includes(e.slice(s))?e.slice(s).length:1,a=l.slice(i);return a[0]!=="/"&&(a="/"+a),Ul(a,"")}return Ul(n,e)+r+l}function Af(e,t,n,r){let l=[],s=[],o=null;const i=({state:h})=>{const b=Wi(e,location),N=n.value,O=t.value;let A=0;if(h){if(n.value=b,t.value=h,o&&o===N){o=null;return}A=O?h.position-O.position:0}else r(b);l.forEach(g=>{g(n.value,N,{delta:A,type:Sn.pop,direction:A?A>0?Ln.forward:Ln.back:Ln.unknown})})};function a(){o=n.value}function f(h){l.push(h);const b=()=>{const N=l.indexOf(h);N>-1&&l.splice(N,1)};return s.push(b),b}function d(){const{history:h}=window;h.state&&h.replaceState(ce({},h.state,{scroll:Er()}),"")}function m(){for(const h of s)h();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:a,listen:f,destroy:m}}function Hl(e,t,n,r=!1,l=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:l?Er():null}}function Rf(e){const{history:t,location:n}=window,r={value:Wi(e,n)},l={value:t.state};l.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,f,d){const m=e.indexOf("#"),h=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+a:Pf()+e+a;try{t[d?"replaceState":"pushState"](f,"",h),l.value=f}catch(b){console.error(b),n[d?"replace":"assign"](h)}}function o(a,f){const d=ce({},t.state,Hl(l.value.back,a,l.value.forward,!0),f,{position:l.value.position});s(a,d,!0),r.value=a}function i(a,f){const d=ce({},l.value,t.state,{forward:a,scroll:Er()});s(d.current,d,!0);const m=ce({},Hl(r.value,a,null),{position:d.position+1},f);s(a,m,!1),r.value=a}return{location:r,state:l,push:i,replace:o}}function Sf(e){e=yf(e);const t=Rf(e),n=Af(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const l=ce({location:"",base:e,go:r,createHref:If.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function kf(e){return typeof e=="string"||e&&typeof e=="object"}function Hi(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ji=Symbol("");var jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jl||(jl={}));function ln(e,t){return ce(new Error,{type:e,[ji]:!0},t)}function ct(e,t){return e instanceof Error&&ji in e&&(t==null||!!(e.type&t))}const Vl="[^/]+?",wf={sensitive:!1,strict:!1,start:!0,end:!0},Ff=/[.+*?^${}()[\]/\\]/g;function Mf(e,t){const n=ce({},wf,t),r=[];let l=n.start?"^":"";const s=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(l+="/");for(let m=0;mt.length?t.length===1&&t[0]===40+40?1:-1:0}function Df(e,t){let n=0;const r=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const Uf={type:0,value:""},$f=/[a-zA-Z0-9_]/;function Wf(e){if(!e)return[[]];if(e==="/")return[[Uf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${f}": ${b}`)}let n=0,r=n;const l=[];let s;function o(){s&&l.push(s),s=[]}let i=0,a,f="",d="";function m(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:d,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=a}for(;i{o(L)}:yn}function o(d){if(Hi(d)){const m=r.get(d);m&&(r.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(o),m.alias.forEach(o))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&r.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function i(){return n}function a(d){let m=0;for(;m=0&&(d.record.path!==n[m].record.path||!Vi(d,n[m]));)m++;n.splice(m,0,d),d.record.name&&!Yl(d)&&r.set(d.record.name,d)}function f(d,m){let h,b={},N,O;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw ln(1,{location:d});O=h.record.name,b=ce(Kl(m.params,h.keys.filter(L=>!L.optional).map(L=>L.name)),d.params&&Kl(d.params,h.keys.map(L=>L.name))),N=h.stringify(b)}else if("path"in d)N=d.path,h=n.find(L=>L.re.test(N)),h&&(b=h.parse(N),O=h.record.name);else{if(h=m.name?r.get(m.name):n.find(L=>L.re.test(m.path)),!h)throw ln(1,{location:d,currentLocation:m});O=h.record.name,b=ce({},m.params,d.params),N=h.stringify(b)}const A=[];let g=h;for(;g;)A.unshift(g.record),g=g.parent;return{name:O,path:N,params:b,matched:A,meta:Kf(A)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:f,removeRoute:o,getRoutes:i,getRecordMatcher:l}}function Kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Bf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Kf(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Gl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Vi(e,t){return t.children.some(n=>n===e||Vi(e,n))}const Bi=/#/g,Yf=/&/g,Gf=/\//g,Xf=/=/g,qf=/\?/g,Ki=/\+/g,Jf=/%5B/g,Qf=/%5D/g,Yi=/%5E/g,zf=/%60/g,Gi=/%7B/g,Zf=/%7C/g,Xi=/%7D/g,ed=/%20/g;function Ws(e){return encodeURI(""+e).replace(Zf,"|").replace(Jf,"[").replace(Qf,"]")}function td(e){return Ws(e).replace(Gi,"{").replace(Xi,"}").replace(Yi,"^")}function es(e){return Ws(e).replace(Ki,"%2B").replace(ed,"+").replace(Bi,"%23").replace(Yf,"%26").replace(zf,"`").replace(Gi,"{").replace(Xi,"}").replace(Yi,"^")}function nd(e){return es(e).replace(Xf,"%3D")}function rd(e){return Ws(e).replace(Bi,"%23").replace(qf,"%3F")}function sd(e){return e==null?"":rd(e).replace(Gf,"%2F")}function sr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ld(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;ls&&es(s)):[r&&es(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function od(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tt(r)?r.map(l=>l==null?null:""+l):r==null?r:""+r)}return t}const id=Symbol(""),ql=Symbol(""),Hs=Symbol(""),qi=Symbol(""),ts=Symbol("");function hn(){let e=[];function t(r){return e.push(r),()=>{const l=e.indexOf(r);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lt(e,t,n,r,l){const s=r&&(r.enterCallbacks[l]=r.enterCallbacks[l]||[]);return()=>new Promise((o,i)=>{const a=m=>{m===!1?i(ln(4,{from:n,to:t})):m instanceof Error?i(m):kf(m)?i(ln(2,{from:t,to:m})):(s&&r.enterCallbacks[l]===s&&typeof m=="function"&&s.push(m),o())},f=e.call(r&&r.instances[l],t,n,a);let d=Promise.resolve(f);e.length<3&&(d=d.then(a)),d.catch(m=>i(m))})}function Fr(e,t,n,r){const l=[];for(const s of e)for(const o in s.components){let i=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(ad(i)){const f=(i.__vccOpts||i)[t];f&&l.push(Lt(f,n,r,s,o))}else{let a=i();l.push(()=>a.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const d=hf(f)?f.default:f;s.components[o]=d;const h=(d.__vccOpts||d)[t];return h&&Lt(h,n,r,s,o)()}))}}return l}function ad(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jl(e){const t=Ze(Hs),n=Ze(qi),r=be(()=>t.resolve(Zt(e.to))),l=be(()=>{const{matched:a}=r.value,{length:f}=a,d=a[f-1],m=n.matched;if(!d||!m.length)return-1;const h=m.findIndex(sn.bind(null,d));if(h>-1)return h;const b=Ql(a[f-2]);return f>1&&Ql(d)===b&&m[m.length-1].path!==b?m.findIndex(sn.bind(null,a[f-2])):h}),s=be(()=>l.value>-1&&dd(n.params,r.value.params)),o=be(()=>l.value>-1&&l.value===n.matched.length-1&&$i(n.params,r.value.params));function i(a={}){return fd(a)?t[Zt(e.replace)?"replace":"push"](Zt(e.to)).catch(yn):Promise.resolve()}return{route:r,href:be(()=>r.value.href),isActive:s,isExactActive:o,navigate:i}}const cd=Mn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jl,setup(e,{slots:t}){const n=Fn(Jl(e)),{options:r}=Ze(Hs),l=be(()=>({[zl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Dn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},s)}}}),ud=cd;function fd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dd(e,t){for(const n in t){const r=t[n],l=e[n];if(typeof r=="string"){if(r!==l)return!1}else if(!tt(l)||l.length!==r.length||r.some((s,o)=>s!==l[o]))return!1}return!0}function Ql(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zl=(e,t,n)=>e??t??n,md=Mn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ze(ts),l=be(()=>e.route||r.value),s=Ze(ql,0),o=be(()=>{let f=Zt(s);const{matched:d}=l.value;let m;for(;(m=d[f])&&!m.components;)f++;return f}),i=be(()=>l.value.matched[o.value]);Jn(ql,be(()=>o.value+1)),Jn(id,i),Jn(ts,l);const a=Ue();return Ct(()=>[a.value,i.value,e.name],([f,d,m],[h,b,N])=>{d&&(d.instances[m]=f,b&&b!==d&&f&&f===h&&(d.leaveGuards.size||(d.leaveGuards=b.leaveGuards),d.updateGuards.size||(d.updateGuards=b.updateGuards))),f&&d&&(!b||!sn(d,b)||!h)&&(d.enterCallbacks[m]||[]).forEach(O=>O(f))},{flush:"post"}),()=>{const f=l.value,d=e.name,m=i.value,h=m&&m.components[d];if(!h)return Zl(n.default,{Component:h,route:f});const b=m.props[d],N=b?b===!0?f.params:typeof b=="function"?b(f):b:null,A=Dn(h,ce({},N,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(m.instances[d]=null)},ref:a}));return Zl(n.default,{Component:A,route:f})||A}}});function Zl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hd=md;function pd(e){const t=jf(e.routes,e),n=e.parseQuery||ld,r=e.stringifyQuery||Xl,l=e.history,s=hn(),o=hn(),i=hn(),a=ti(bt);let f=bt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=kr.bind(null,P=>""+P),m=kr.bind(null,sd),h=kr.bind(null,sr);function b(P,j){let D,V;return Hi(P)?(D=t.getRecordMatcher(P),V=j):V=P,t.addRoute(V,D)}function N(P){const j=t.getRecordMatcher(P);j&&t.removeRoute(j)}function O(){return t.getRoutes().map(P=>P.record)}function A(P){return!!t.getRecordMatcher(P)}function g(P,j){if(j=ce({},j||a.value),typeof P=="string"){const u=wr(n,P,j.path),p=t.resolve({path:u.path},j),E=l.createHref(u.fullPath);return ce(u,p,{params:h(p.params),hash:sr(u.hash),redirectedFrom:void 0,href:E})}let D;if("path"in P)D=ce({},P,{path:wr(n,P.path,j.path).path});else{const u=ce({},P.params);for(const p in u)u[p]==null&&delete u[p];D=ce({},P,{params:m(u)}),j.params=m(j.params)}const V=t.resolve(D,j),ne=P.hash||"";V.params=d(h(V.params));const _=gf(r,ce({},P,{hash:td(ne),path:V.path})),c=l.createHref(_);return ce({fullPath:_,hash:ne,query:r===Xl?od(P.query):P.query||{}},V,{redirectedFrom:void 0,href:c})}function L(P){return typeof P=="string"?wr(n,P,a.value.path):ce({},P)}function R(P,j){if(f!==P)return ln(8,{from:j,to:P})}function v(P){return U(P)}function I(P){return v(ce(L(P),{replace:!0}))}function F(P){const j=P.matched[P.matched.length-1];if(j&&j.redirect){const{redirect:D}=j;let V=typeof D=="function"?D(P):D;return typeof V=="string"&&(V=V.includes("?")||V.includes("#")?V=L(V):{path:V},V.params={}),ce({query:P.query,hash:P.hash,params:"path"in V?{}:P.params},V)}}function U(P,j){const D=f=g(P),V=a.value,ne=P.state,_=P.force,c=P.replace===!0,u=F(D);if(u)return U(ce(L(u),{state:typeof u=="object"?ce({},ne,u.state):ne,force:_,replace:c}),j||D);const p=D;p.redirectedFrom=j;let E;return!_&&bf(r,V,D)&&(E=ln(16,{to:p,from:V}),Ae(V,V,!0,!1)),(E?Promise.resolve(E):Y(p,V)).catch(C=>ct(C)?ct(C,2)?C:Me(C):re(C,p,V)).then(C=>{if(C){if(ct(C,2))return U(ce({replace:c},L(C.to),{state:typeof C.to=="object"?ce({},ne,C.to.state):ne,force:_}),j||p)}else C=W(p,V,!0,c,ne);return z(p,V,C),C})}function M(P,j){const D=R(P,j);return D?Promise.reject(D):Promise.resolve()}function $(P){const j=He.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(P):P()}function Y(P,j){let D;const[V,ne,_]=_d(P,j);D=Fr(V.reverse(),"beforeRouteLeave",P,j);for(const u of V)u.leaveGuards.forEach(p=>{D.push(Lt(p,P,j))});const c=M.bind(null,P,j);return D.push(c),_e(D).then(()=>{D=[];for(const u of s.list())D.push(Lt(u,P,j));return D.push(c),_e(D)}).then(()=>{D=Fr(ne,"beforeRouteUpdate",P,j);for(const u of ne)u.updateGuards.forEach(p=>{D.push(Lt(p,P,j))});return D.push(c),_e(D)}).then(()=>{D=[];for(const u of _)if(u.beforeEnter)if(tt(u.beforeEnter))for(const p of u.beforeEnter)D.push(Lt(p,P,j));else D.push(Lt(u.beforeEnter,P,j));return D.push(c),_e(D)}).then(()=>(P.matched.forEach(u=>u.enterCallbacks={}),D=Fr(_,"beforeRouteEnter",P,j),D.push(c),_e(D))).then(()=>{D=[];for(const u of o.list())D.push(Lt(u,P,j));return D.push(c),_e(D)}).catch(u=>ct(u,8)?u:Promise.reject(u))}function z(P,j,D){i.list().forEach(V=>$(()=>V(P,j,D)))}function W(P,j,D,V,ne){const _=R(P,j);if(_)return _;const c=j===bt,u=Xt?history.state:{};D&&(V||c?l.replace(P.fullPath,ce({scroll:c&&u&&u.scroll},ne)):l.push(P.fullPath,ne)),a.value=P,Ae(P,j,D,c),Me()}let Q;function he(){Q||(Q=l.listen((P,j,D)=>{if(!nt.listening)return;const V=g(P),ne=F(V);if(ne){U(ce(ne,{replace:!0}),V).catch(yn);return}f=V;const _=a.value;Xt&&Nf(Wl(_.fullPath,D.delta),Er()),Y(V,_).catch(c=>ct(c,12)?c:ct(c,2)?(U(c.to,V).then(u=>{ct(u,20)&&!D.delta&&D.type===Sn.pop&&l.go(-1,!1)}).catch(yn),Promise.reject()):(D.delta&&l.go(-D.delta,!1),re(c,V,_))).then(c=>{c=c||W(V,_,!1),c&&(D.delta&&!ct(c,8)?l.go(-D.delta,!1):D.type===Sn.pop&&ct(c,20)&&l.go(-1,!1)),z(V,_,c)}).catch(yn)}))}let Ee=hn(),q=hn(),te;function re(P,j,D){Me(P);const V=q.list();return V.length?V.forEach(ne=>ne(P,j,D)):console.error(P),Promise.reject(P)}function Pe(){return te&&a.value!==bt?Promise.resolve():new Promise((P,j)=>{Ee.add([P,j])})}function Me(P){return te||(te=!P,he(),Ee.list().forEach(([j,D])=>P?D(P):j()),Ee.reset()),P}function Ae(P,j,D,V){const{scrollBehavior:ne}=e;if(!Xt||!ne)return Promise.resolve();const _=!D&&Of(Wl(P.fullPath,0))||(V||!D)&&history.state&&history.state.scroll||null;return Ss().then(()=>ne(P,j,_)).then(c=>c&&Cf(c)).catch(c=>re(c,P,j))}const ve=P=>l.go(P);let Xe;const He=new Set,nt={currentRoute:a,listening:!0,addRoute:b,removeRoute:N,hasRoute:A,getRoutes:O,resolve:g,options:e,push:v,replace:I,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:s.add,beforeResolve:o.add,afterEach:i.add,onError:q.add,isReady:Pe,install(P){const j=this;P.component("RouterLink",ud),P.component("RouterView",hd),P.config.globalProperties.$router=j,Object.defineProperty(P.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(a)}),Xt&&!Xe&&a.value===bt&&(Xe=!0,v(l.location).catch(ne=>{}));const D={};for(const ne in bt)Object.defineProperty(D,ne,{get:()=>a.value[ne],enumerable:!0});P.provide(Hs,j),P.provide(qi,zo(D)),P.provide(ts,a);const V=P.unmount;He.add(P),P.unmount=function(){He.delete(P),He.size<1&&(f=bt,Q&&Q(),Q=null,a.value=bt,Xe=!1,te=!1),V()}}};function _e(P){return P.reduce((j,D)=>j.then(()=>$(D)),Promise.resolve())}return nt}function _d(e,t){const n=[],r=[],l=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;osn(f,i))?r.push(i):n.push(i));const a=e.matched[o];a&&(t.matched.find(f=>sn(f,a))||l.push(a))}return[n,r,l]}const gd=pd({history:Sf("/"),routes:[{path:"/",component:()=>Dl(()=>import("./index-0c3ecd71.js"),["assets/index-0c3ecd71.js","assets/app-608daff4.js","assets/index-6bdac558.css"]),children:[{path:"",name:"home",component:()=>Dl(()=>import("./index-ae40ba68.js"),["assets/index-ae40ba68.js","assets/app-608daff4.js","assets/index-05106b3f.css"])}]}]});/*! * shared v9.3.0-beta.25 * (c) 2023 kazuya kawaguchi * Released under the MIT License. diff --git a/index.html b/index.html index 20f6e35..b25955a 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Dependency Analyzer - +