nuxt-og-image 2.0.16 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/{IconCSS.a55f717f.js → IconCSS.7a0c5156.js} +1 -1
- package/dist/client/_nuxt/{ImageLoader.3395b395.js → ImageLoader.dec76792.js} +1 -1
- package/dist/client/_nuxt/{entry.6446ab59.js → entry.af377b6e.js} +3 -3
- package/dist/client/_nuxt/{error-404.a5317b87.js → error-404.a8325271.js} +1 -1
- package/dist/client/_nuxt/{error-500.35b52ab9.js → error-500.eedfced3.js} +1 -1
- package/dist/client/_nuxt/{index.eb10a816.js → index.f9663ea6.js} +1 -1
- package/dist/client/_nuxt/{options.3b29a706.js → options.f27328ac.js} +1 -1
- package/dist/client/_nuxt/{png.46aa9032.js → png.6d6dd8d4.js} +1 -1
- package/dist/client/_nuxt/{shiki.13a22aea.js → shiki.d5b5eb2e.js} +1 -1
- package/dist/client/_nuxt/{svg.8746c773.js → svg.7d193e19.js} +1 -1
- package/dist/client/_nuxt/{vnodes.8df7aa5a.js → vnodes.01fe8a67.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/options/index.html +2 -2
- package/dist/client/png/index.html +2 -2
- package/dist/client/svg/index.html +2 -2
- package/dist/client/vnodes/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/cache.mjs +3 -2
- package/dist/runtime/nitro/middleware/og.png.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ function Yx(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.leng
|
|
|
2
2
|
* vue-router v4.2.4
|
|
3
3
|
* (c) 2023 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const ul=typeof window<"u";function HG(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const qn=Object.assign;function O1(e,t){const n={};for(const r in t){const o=t[r];n[r]=ya(o)?o.map(e):e(o)}return n}const Vd=()=>{},ya=Array.isArray,VG=/\/$/,WG=e=>e.replace(VG,"");function M1(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s<c&&s>=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=JG(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function qG(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function W$(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function UG(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uf(t.matched[r],n.matched[o])&&jI(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uf(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!KG(e[n],t[n]))return!1;return!0}function KG(e,t){return ya(e)?q$(e,t):ya(t)?q$(t,e):e===t}function q$(e,t){return ya(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function JG(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,s;for(a=0;a<r.length;a++)if(s=r[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var vh;(function(e){e.pop="pop",e.push="push"})(vh||(vh={}));var Wd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Wd||(Wd={}));function GG(e){if(!e)if(ul){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),WG(e)}const QG=/^[^#]+#/;function YG(e,t){return e.replace(QG,"#")+t}function ZG(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 h0=()=>({left:window.pageXOffset,top:window.pageYOffset});function XG(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ZG(o,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 U$(e,t){return(history.state?history.state.position-t:-1)+e}const Nb=new Map;function tQ(e,t){Nb.set(e,t)}function eQ(e){const t=Nb.get(e);return Nb.delete(e),t}let nQ=()=>location.protocol+"//"+location.host;function _I(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,c=o.slice(s);return c[0]!=="/"&&(c="/"+c),W$(c,"")}return W$(n,e)+r+o}function rQ(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const h=_I(e,location),p=n.value,v=t.value;let m=0;if(d){if(n.value=h,t.value=d,a&&a===p){a=null;return}m=v?d.position-v.position:0}else r(h);o.forEach(g=>{g(n.value,p,{delta:m,type:vh.pop,direction:m?m>0?Wd.forward:Wd.back:Wd.unknown})})};function c(){a=n.value}function u(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return i.push(h),h}function l(){const{history:d}=window;d.state&&d.replaceState(qn({},d.state,{scroll:h0()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function K$(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?h0():null}}function oQ(e){const{history:t,location:n}=window,r={value:_I(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:nQ()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),o.value=u}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function a(c,u){const l=qn({},t.state,K$(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});i(c,l,!0),r.value=c}function s(c,u){const l=qn({},o.value,t.state,{forward:c,scroll:h0()});i(l.current,l,!0);const f=qn({},K$(r.value,c,null),{position:l.position+1},u);i(c,f,!1),r.value=c}return{location:r,state:o,push:s,replace:a}}function $I(e){e=GG(e);const t=oQ(e),n=rQ(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=qn({location:"",base:e,go:r,createHref:YG.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function iQ(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$I(e)}function aQ(e){return typeof e=="string"||e&&typeof e=="object"}function SI(e){return typeof e=="string"||typeof e=="symbol"}const Ra={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},CI=Symbol("");var J$;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(J$||(J$={}));function lf(e,t){return qn(new Error,{type:e,[CI]:!0},t)}function vs(e,t){return e instanceof Error&&CI in e&&(t==null||!!(e.type&t))}const G$="[^/]+?",sQ={sensitive:!1,strict:!1,start:!0,end:!0},cQ=/[.+*?^${}()[\]/\\]/g;function uQ(e,t){const n=qn({},sQ,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(cQ,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:m,regexp:g}=d;i.push({name:p,repeatable:v,optional:m});const y=g||G$;if(y!==G$){h+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+w.message)}}let b=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(b=m&&u.length<2?`(?:/${b})`:"/"+b),m&&(b+="?"),o+=b,h+=20,m&&(h+=-8),v&&(h+=-20),y===".*"&&(h+=-50)}l.push(h)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function s(u){const l=u.match(a),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",p=i[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:m}=h,g=p in u?u[p]:"";if(ya(g)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=ya(g)?g.join("/"):g;if(!y)if(m)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=y}}return l||"/"}return{re:a,score:r,keys:i,parse:s,stringify:c}}function lQ(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fQ(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=lQ(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Q$(r))return 1;if(Q$(o))return-1}return o.length-r.length}function Q$(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const dQ={type:0,value:""},hQ=/[a-zA-Z0-9_]/;function pQ(e){if(!e)return[[]];if(e==="/")return[[dQ]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,c,u="",l="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;s<e.length;){if(c=e[s++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),a()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:hQ.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),a(),o}function vQ(e,t,n){const r=uQ(pQ(e.path),n),o=qn(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function mQ(e,t){const n=[],r=new Map;t=X$({strict:!1,end:!0,sensitive:!1},t);function o(l){return r.get(l)}function i(l,f,d){const h=!d,p=gQ(l);p.aliasOf=d&&d.record;const v=X$(t,l),m=[p];if("alias"in l){const b=typeof l.alias=="string"?[l.alias]:l.alias;for(const w of b)m.push(qn({},p,{components:d?d.record.components:p.components,path:w,aliasOf:d?d.record:p}))}let g,y;for(const b of m){const{path:w}=b;if(f&&w[0]!=="/"){const k=f.record.path,x=k[k.length-1]==="/"?"":"/";b.path=f.record.path+(w&&x+w)}if(g=vQ(b,f,v),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&l.name&&!Z$(g)&&a(l.name)),p.children){const k=p.children;for(let x=0;x<k.length;x++)i(k[x],g,d&&d.children[x])}d=d||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&c(g)}return y?()=>{a(y)}:Vd}function a(l){if(SI(l)){const f=r.get(l);f&&(r.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&r.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function s(){return n}function c(l){let f=0;for(;f<n.length&&fQ(l,n[f])>=0&&(l.record.path!==n[f].record.path||!EI(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Z$(l)&&r.set(l.record.name,l)}function u(l,f){let d,h={},p,v;if("name"in l&&l.name){if(d=r.get(l.name),!d)throw lf(1,{location:l});v=d.record.name,h=qn(Y$(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),l.params&&Y$(l.params,d.keys.map(y=>y.name))),p=d.stringify(h)}else if("path"in l)p=l.path,d=n.find(y=>y.re.test(p)),d&&(h=d.parse(p),v=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw lf(1,{location:l,currentLocation:f});v=d.record.name,h=qn({},f.params,l.params),p=d.stringify(h)}const m=[];let g=d;for(;g;)m.unshift(g.record),g=g.parent;return{name:v,path:p,params:h,matched:m,meta:bQ(m)}}return e.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function Y$(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gQ(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yQ(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 yQ(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 Z$(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bQ(e){return e.reduce((t,n)=>qn(t,n.meta),{})}function X$(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function EI(e,t){return t.children.some(n=>n===e||EI(e,n))}const OI=/#/g,wQ=/&/g,xQ=/\//g,kQ=/=/g,jQ=/\?/g,MI=/\+/g,_Q=/%5B/g,$Q=/%5D/g,PI=/%5E/g,SQ=/%60/g,AI=/%7B/g,CQ=/%7C/g,TI=/%7D/g,EQ=/%20/g;function Ck(e){return encodeURI(""+e).replace(CQ,"|").replace(_Q,"[").replace($Q,"]")}function OQ(e){return Ck(e).replace(AI,"{").replace(TI,"}").replace(PI,"^")}function Db(e){return Ck(e).replace(MI,"%2B").replace(EQ,"+").replace(OI,"%23").replace(wQ,"%26").replace(SQ,"`").replace(AI,"{").replace(TI,"}").replace(PI,"^")}function MQ(e){return Db(e).replace(kQ,"%3D")}function PQ(e){return Ck(e).replace(OI,"%23").replace(jQ,"%3F")}function AQ(e){return e==null?"":PQ(e).replace(xQ,"%2F")}function Wm(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function TQ(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(MI," "),a=i.indexOf("="),s=Wm(a<0?i:i.slice(0,a)),c=a<0?null:Wm(i.slice(a+1));if(s in t){let u=t[s];ya(u)||(u=t[s]=[u]),u.push(c)}else t[s]=c}return t}function tS(e){let t="";for(let n in e){const r=e[n];if(n=MQ(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ya(r)?r.map(i=>i&&Db(i)):[r&&Db(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function RQ(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ya(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const IQ=Symbol(""),eS=Symbol(""),Ek=Symbol(""),RI=Symbol(""),Lb=Symbol("");function od(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rc(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,s)=>{const c=f=>{f===!1?s(lf(4,{from:n,to:t})):f instanceof Error?s(f):aQ(f)?s(lf(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},u=e.call(r&&r.instances[o],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>s(f))})}function P1(e,t,n,r){const o=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(NQ(s)){const u=(s.__vccOpts||s)[t];u&&o.push(rc(u,n,r,i,a))}else{let c=s();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const l=HG(u)?u.default:u;i.components[a]=l;const d=(l.__vccOpts||l)[t];return d&&rc(d,n,r,i,a)()}))}}return o}function NQ(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nS(e){const t=ci(Ek),n=ci(RI),r=sr(()=>t.resolve(Ie(e.to))),o=sr(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(uf.bind(null,l));if(d>-1)return d;const h=rS(c[u-2]);return u>1&&rS(l)===h&&f[f.length-1].path!==h?f.findIndex(uf.bind(null,c[u-2])):d}),i=sr(()=>o.value>-1&&BQ(n.params,r.value.params)),a=sr(()=>o.value>-1&&o.value===n.matched.length-1&&jI(n.params,r.value.params));function s(c={}){return zQ(c)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Vd):Promise.resolve()}return{route:r,href:sr(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const DQ=Bo({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:nS,setup(e,{slots:t}){const n=Xa(nS(e)),{options:r}=ci(Ek),o=sr(()=>({[oS(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[oS(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Do("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),LQ=DQ;function zQ(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 BQ(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ya(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function rS(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oS=(e,t,n)=>e??t??n,FQ=Bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ci(Lb),o=sr(()=>e.route||r.value),i=ci(eS,0),a=sr(()=>{let u=Ie(i);const{matched:l}=o.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),s=sr(()=>o.value.matched[a.value]);Dl(eS,sr(()=>a.value+1)),Dl(IQ,s),Dl(Lb,o);const c=Tn();return no(()=>[c.value,s.value,e.name],([u,l,f],[d,h,p])=>{l&&(l.instances[f]=u,h&&h!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),u&&l&&(!h||!uf(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,l=e.name,f=s.value,d=f&&f.components[l];if(!d)return iS(n.default,{Component:d,route:u});const h=f.props[l],p=h?h===!0?u.params:typeof h=="function"?h(u):h:null,m=Do(d,qn({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return iS(n.default,{Component:m,route:u})||m}}});function iS(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const II=FQ;function HQ(e){const t=mQ(e.routes,e),n=e.parseQuery||TQ,r=e.stringifyQuery||tS,o=e.history,i=od(),a=od(),s=od(),c=ef(Ra);let u=Ra;ul&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=O1.bind(null,G=>""+G),f=O1.bind(null,AQ),d=O1.bind(null,Wm);function h(G,pt){let gt,_t;return SI(G)?(gt=t.getRecordMatcher(G),_t=pt):_t=G,t.addRoute(_t,gt)}function p(G){const pt=t.getRecordMatcher(G);pt&&t.removeRoute(pt)}function v(){return t.getRoutes().map(G=>G.record)}function m(G){return!!t.getRecordMatcher(G)}function g(G,pt){if(pt=qn({},pt||c.value),typeof G=="string"){const X=M1(n,G,pt.path),wt=t.resolve({path:X.path},pt),ft=o.createHref(X.fullPath);return qn(X,wt,{params:d(wt.params),hash:Wm(X.hash),redirectedFrom:void 0,href:ft})}let gt;if("path"in G)gt=qn({},G,{path:M1(n,G.path,pt.path).path});else{const X=qn({},G.params);for(const wt in X)X[wt]==null&&delete X[wt];gt=qn({},G,{params:f(X)}),pt.params=f(pt.params)}const _t=t.resolve(gt,pt),yt=G.hash||"";_t.params=l(d(_t.params));const Q=qG(r,qn({},G,{hash:OQ(yt),path:_t.path})),P=o.createHref(Q);return qn({fullPath:Q,hash:yt,query:r===tS?RQ(G.query):G.query||{}},_t,{redirectedFrom:void 0,href:P})}function y(G){return typeof G=="string"?M1(n,G,c.value.path):qn({},G)}function b(G,pt){if(u!==G)return lf(8,{from:pt,to:G})}function w(G){return O(G)}function k(G){return w(qn(y(G),{replace:!0}))}function x(G){const pt=G.matched[G.matched.length-1];if(pt&&pt.redirect){const{redirect:gt}=pt;let _t=typeof gt=="function"?gt(G):gt;return typeof _t=="string"&&(_t=_t.includes("?")||_t.includes("#")?_t=y(_t):{path:_t},_t.params={}),qn({query:G.query,hash:G.hash,params:"path"in _t?{}:G.params},_t)}}function O(G,pt){const gt=u=g(G),_t=c.value,yt=G.state,Q=G.force,P=G.replace===!0,X=x(gt);if(X)return O(qn(y(X),{state:typeof X=="object"?qn({},yt,X.state):yt,force:Q,replace:P}),pt||gt);const wt=gt;wt.redirectedFrom=pt;let ft;return!Q&&UG(r,_t,gt)&&(ft=lf(16,{to:wt,from:_t}),B(_t,_t,!0,!1)),(ft?Promise.resolve(ft):T(wt,_t)).catch(L=>vs(L)?vs(L,2)?L:C(L):A(L,wt,_t)).then(L=>{if(L){if(vs(L,2))return O(qn({replace:P},y(L.to),{state:typeof L.to=="object"?qn({},yt,L.to.state):yt,force:Q}),pt||wt)}else L=I(wt,_t,!0,P,yt);return R(wt,_t,L),L})}function _(G,pt){const gt=b(G,pt);return gt?Promise.reject(gt):Promise.resolve()}function M(G){const pt=K.values().next().value;return pt&&typeof pt.runWithContext=="function"?pt.runWithContext(G):G()}function T(G,pt){let gt;const[_t,yt,Q]=VQ(G,pt);gt=P1(_t.reverse(),"beforeRouteLeave",G,pt);for(const X of _t)X.leaveGuards.forEach(wt=>{gt.push(rc(wt,G,pt))});const P=_.bind(null,G,pt);return gt.push(P),st(gt).then(()=>{gt=[];for(const X of i.list())gt.push(rc(X,G,pt));return gt.push(P),st(gt)}).then(()=>{gt=P1(yt,"beforeRouteUpdate",G,pt);for(const X of yt)X.updateGuards.forEach(wt=>{gt.push(rc(wt,G,pt))});return gt.push(P),st(gt)}).then(()=>{gt=[];for(const X of Q)if(X.beforeEnter)if(ya(X.beforeEnter))for(const wt of X.beforeEnter)gt.push(rc(wt,G,pt));else gt.push(rc(X.beforeEnter,G,pt));return gt.push(P),st(gt)}).then(()=>(G.matched.forEach(X=>X.enterCallbacks={}),gt=P1(Q,"beforeRouteEnter",G,pt),gt.push(P),st(gt))).then(()=>{gt=[];for(const X of a.list())gt.push(rc(X,G,pt));return gt.push(P),st(gt)}).catch(X=>vs(X,8)?X:Promise.reject(X))}function R(G,pt,gt){s.list().forEach(_t=>M(()=>_t(G,pt,gt)))}function I(G,pt,gt,_t,yt){const Q=b(G,pt);if(Q)return Q;const P=pt===Ra,X=ul?history.state:{};gt&&(_t||P?o.replace(G.fullPath,qn({scroll:P&&X&&X.scroll},yt)):o.push(G.fullPath,yt)),c.value=G,B(G,pt,gt,P),C()}let H;function S(){H||(H=o.listen((G,pt,gt)=>{if(!J.listening)return;const _t=g(G),yt=x(_t);if(yt){O(qn(yt,{replace:!0}),_t).catch(Vd);return}u=_t;const Q=c.value;ul&&tQ(U$(Q.fullPath,gt.delta),h0()),T(_t,Q).catch(P=>vs(P,12)?P:vs(P,2)?(O(P.to,_t).then(X=>{vs(X,20)&&!gt.delta&>.type===vh.pop&&o.go(-1,!1)}).catch(Vd),Promise.reject()):(gt.delta&&o.go(-gt.delta,!1),A(P,_t,Q))).then(P=>{P=P||I(_t,Q,!1),P&&(gt.delta&&!vs(P,8)?o.go(-gt.delta,!1):gt.type===vh.pop&&vs(P,20)&&o.go(-1,!1)),R(_t,Q,P)}).catch(Vd)}))}let D=od(),V=od(),N;function A(G,pt,gt){C(G);const _t=V.list();return _t.length?_t.forEach(yt=>yt(G,pt,gt)):console.error(G),Promise.reject(G)}function $(){return N&&c.value!==Ra?Promise.resolve():new Promise((G,pt)=>{D.add([G,pt])})}function C(G){return N||(N=!G,S(),D.list().forEach(([pt,gt])=>G?gt(G):pt()),D.reset()),G}function B(G,pt,gt,_t){const{scrollBehavior:yt}=e;if(!ul||!yt)return Promise.resolve();const Q=!gt&&eQ(U$(G.fullPath,0))||(_t||!gt)&&history.state&&history.state.scroll||null;return Uu().then(()=>yt(G,pt,Q)).then(P=>P&&XG(P)).catch(P=>A(P,G,pt))}const F=G=>o.go(G);let j;const K=new Set,J={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:v,resolve:g,options:e,push:w,replace:k,go:F,back:()=>F(-1),forward:()=>F(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:$,install(G){const pt=this;G.component("RouterLink",LQ),G.component("RouterView",II),G.config.globalProperties.$router=pt,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(c)}),ul&&!j&&c.value===Ra&&(j=!0,w(o.location).catch(yt=>{}));const gt={};for(const yt in Ra)Object.defineProperty(gt,yt,{get:()=>c.value[yt],enumerable:!0});G.provide(Ek,pt),G.provide(RI,Xh(gt)),G.provide(Lb,c);const _t=G.unmount;K.add(G),G.unmount=function(){K.delete(G),K.size<1&&(u=Ra,H&&H(),H=null,c.value=Ra,j=!1,N=!1),_t()}}};function st(G){return G.reduce((pt,gt)=>pt.then(()=>M(gt)),Promise.resolve())}return J}function VQ(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const s=t.matched[a];s&&(e.matched.find(u=>uf(u,s))?r.push(s):n.push(s));const c=e.matched[a];c&&(t.matched.find(u=>uf(u,c))||o.push(c))}return[n,r,o]}const aS=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./index.eb10a816.js"),["./index.eb10a816.js","./index.ffbea0a9.css"],import.meta.url).then(e=>e.default||e)},{name:"options",path:"/options",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./options.3b29a706.js"),["./options.3b29a706.js","./shiki.13a22aea.js"],import.meta.url).then(e=>e.default||e)},{name:"png",path:"/png",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./png.46aa9032.js"),["./png.46aa9032.js","./ImageLoader.3395b395.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"svg",path:"/svg",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./svg.8746c773.js"),["./svg.8746c773.js","./ImageLoader.3395b395.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"vnodes",path:"/vnodes",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./vnodes.8df7aa5a.js"),["./vnodes.8df7aa5a.js","./shiki.13a22aea.js"],import.meta.url).then(e=>e.default||e)}],WQ={scrollBehavior(e,t,n){const r=cr();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&qQ(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:sS(e.hash)}}const i=s=>!!(s.meta.pageTransition??Pb),a=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(s=>{r.hooks.hookOnce(a,async()=>{await Uu(),e.hash&&(o={el:e.hash,top:sS(e.hash)}),s(o)})})}};function sS(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function qQ(e,t){const n=t.matched.every((r,o)=>r.components?.default===e.matched[o]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const UQ={},Zs={...UQ,...WQ},KQ=async e=>{let t,n;if(!e.meta?.validate)return;const r=cr(),o=Ls();if(([t,n]=Fm(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=d0({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),s=o.beforeResolve(c=>{if(s(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>wl(a)),window.history.pushState({},"",e.fullPath)});return!1}})},JQ=[KQ],zb={};function GQ(e,t,n){const{pathname:r,search:o,hash:i}=t,a=e.indexOf("#");if(a>-1){const u=i.includes(e.slice(a))?e.slice(a).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),A$(l,"")}const s=A$(r,e),c=!n||aJ(s,n,{trailingSlash:!0})?s:n;return c+(c.includes("?")?"":o)+i}const QQ=Ds({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=$k().app.baseURL;Zs.hashMode&&!r.includes("#")&&(r+="#");const o=Zs.history?.(r)??(Zs.hashMode?iQ(r):$I(r)),i=Zs.routes?.(aS)??aS;let a;const s=GQ(r,window.location,e.payload.path),c=HQ({...Zs,scrollBehavior:(v,m,g)=>{if(m===Ra){a=g;return}return c.options.scrollBehavior=Zs.scrollBehavior,Zs.scrollBehavior?.(v,Ra,a||g)},history:o,routes:i});e.vueApp.use(c);const u=ef(c.currentRoute.value);c.afterEach((v,m)=>{u.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=ef(c.resolve(s)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((v,m)=>{v.matched[0]?.components?.default===m.matched[0]?.components?.default&&f()});const d={};for(const v in l.value)Object.defineProperty(d,v,{get:()=>l.value[v]});e._route=Xh(d),e._middleware=e._middleware||{global:[],named:{}};const h=f0();try{[t,n]=Fm(()=>c.isReady()),await t,n()}catch(v){[t,n]=Fm(()=>e.runWithContext(()=>wl(v))),await t,n()}const p=u0("_layout");return c.beforeEach(async(v,m)=>{v.meta=Xa(v.meta),e.isHydrating&&p.value&&!Pu(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const g=new Set([...JQ,...e._middleware.global]);for(const y of v.matched){const b=y.meta.middleware;if(b)if(Array.isArray(b))for(const w of b)g.add(w);else g.add(b)}for(const y of g){const b=typeof y=="string"?e._middleware.named[y]||await zb[y]?.().then(k=>k.default||k):y;if(!b)throw new Error(`Unknown route middleware: '${y}'.`);const w=await e.runWithContext(()=>b(v,m));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const k=w||Rb({statusCode:404,statusMessage:`Page Not Found: ${s}`});return await e.runWithContext(()=>wl(k)),!1}if(w||w===!1)return w}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,m,g)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(zG),v.matched.length===0&&await e.runWithContext(()=>wl(Rb({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(s),name:void 0,force:!0}),c.options.scrollBehavior=Zs.scrollBehavior}catch(v){await e.runWithContext(()=>wl(v))}}),{provide:{router:c}}}}),YQ=Ds({name:"nuxt:payload",setup(e){EG()&&(e.hooks.hook("link:prefetch",async t=>{rp(t).protocol||await F$(t)}),Ls().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await F$(t.path);r&&Object.assign(e.static.data,r.data)}))}}),ZQ=Rm(()=>za(()=>Promise.resolve().then(()=>NZ),void 0,import.meta.url).then(e=>e.default)),XQ=Rm(()=>za(()=>import("./IconCSS.a55f717f.js"),["./IconCSS.a55f717f.js","./IconCSS.382836c9.css"],import.meta.url).then(e=>e.default)),tY=[["Icon",ZQ],["IconCSS",XQ]],eY=Ds({name:"nuxt:global-components",setup(e){for(const[t,n]of tY)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),nY=Ds({name:"nuxt:head",setup(e){const n=yG();n.push(jG),e.vueApp.use(n);{let r=!0;const o=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",o),e.hooks.hook("app:suspense:resolve",o)}}}),Hp={},rY=Ds({name:"nuxt:prefetch",setup(e){const t=Ls();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Hp[r]=="function"&&await Hp[r]()})}),e.hooks.hook("link:prefetch",n=>{if(np(n))return;const r=t.resolve(n);if(!r)return;const o=r?.meta?.layout;let i=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];i=i.filter(a=>typeof a=="string");for(const a of i)typeof zb[a]=="function"&&zb[a]();o&&typeof Hp[o]=="function"&&Hp[o]()})}}),Bb=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),oY=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),iY=e=>{const t=cr();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Bb(e)}):Bb(e)},aY=()=>null;function Ok(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");o.server=o.server??!0,o.default=o.default??aY,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0;const i=cr(),a=()=>i.isHydrating?i.payload.data[n]:i.static.data[n],s=()=>a()!==void 0;i._asyncData[n]||(i._asyncData[n]={data:Tn(a()??o.default()),pending:Tn(!s()),error:fk(i.payload._errors,n),status:Tn("idle")});const c={...i._asyncData[n]};c.refresh=c.execute=(d={})=>{if(i._asyncDataPromises[n]){if(d.dedupe===!1)return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((d._initial||i.isHydrating&&d._initial!==!1)&&s())return a();c.pending.value=!0,c.status.value="pending";const h=new Promise((p,v)=>{try{p(r(i))}catch(m){v(m)}}).then(p=>{if(h.cancelled)return i._asyncDataPromises[n];let v=p;o.transform&&(v=o.transform(p)),o.pick&&(v=sY(v,o.pick)),c.data.value=v,c.error.value=null,c.status.value="success"}).catch(p=>{if(h.cancelled)return i._asyncDataPromises[n];c.error.value=p,c.data.value=Ie(o.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,i.payload.data[n]=c.data.value,c.error.value&&(i.payload._errors[n]=d0(c.error.value)),delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=h,i._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),l=o.server!==!1&&i.payload.serverRendered;{const d=cs();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const p=d._nuxtOnBeforeMountCbs;d&&(C9(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),nf(()=>p.splice(0,p.length)))}l&&i.isHydrating&&s()?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):d&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?d._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&no(o.watch,()=>c.refresh());const h=i.hook("app:data:refresh",p=>{if(!p||p.includes(n))return c.refresh()});d&&nf(h)}const f=Promise.resolve(i._asyncDataPromises[n]).then(()=>c);return Object.assign(f,c),f}function sY(e,t){const n={};for(const r of t)n[r]=e[r];return n}async function NI(e,t=Ls()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>NI(e,t));t._routePreloaded.add(n);const i=r.map(a=>a.components?.default).filter(a=>typeof a=="function");for(const a of i){const s=Promise.resolve(a()).catch(()=>{}).finally(()=>o.splice(o.indexOf(s)));o.push(s)}await Promise.all(o)}function cY(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:cr().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const uY=(...e)=>e.find(t=>t!==void 0),lY="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function fY(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const i=e.trailingSlash==="append"?Lm:sI;if(typeof r=="string")return i(r,!0);const a="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(a,!0)}};return Bo({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const i=Ls(),a=sr(()=>{const f=r.to||r.href||"";return n(f,i.resolve)}),s=sr(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||np(a.value,{acceptRelative:!0})),c=Tn(!1),u=Tn(null),l=f=>{u.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!hY()){const d=cr();let h,p=null;Ku(()=>{const v=dY();iY(()=>{h=Bb(()=>{u?.value?.tagName&&(p=v.observe(u.value,async()=>{p?.(),p=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!s.value&&NI(a.value,i).catch(()=>{})]),c.value=!0}))})})}),ep(()=>{h&&oY(h),p?.(),p=null})}return()=>{if(!s.value){const v={ref:l,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),Do(Wq("RouterLink"),v,o.default)}const f=typeof a.value=="object"?i.resolve(a.value)?.href??null:a.value||null,d=r.target||null,h=r.noRel?null:uY(r.rel,e.externalRelAttribute,f?lY:"")||null,p=()=>LG(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:p,get route(){if(!f)return;const v=rp(f);return{path:v.pathname,fullPath:v.pathname,get query(){return aI(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:d,isExternal:s.value,isActive:!1,isExactActive:!1}):null:Do("a",{ref:u,href:f,rel:h,target:d},o.default?.())}}})}const DI=fY({componentName:"NuxtLink"});function dY(){const e=cr();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,a)=>(t||(t=new IntersectionObserver(s=>{for(const c of s){const u=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&u&&u()}})),n.set(i,a),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function hY(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const pY={},vY=AG(pY);function mY(){const e=cr();return e._appConfig||(e._appConfig=Xa(vY)),e._appConfig}const gY="__NUXT_COLOR_MODE__",yY="ColorScheme",bY="nuxt-color-mode",ms=window[gY],wY=Ds(e=>{const t=u0("color-mode",()=>Xa({preference:ms.preference,value:ms.value,unknown:!1,forced:!1})).value;Ls().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?ms.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=ms.getColorScheme())}))}no(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=ms.getColorScheme(),r()):t.value=o,window.localStorage?.setItem(bY,o))},{immediate:!0}),no(()=>t.value,(o,i)=>{ms.removeColorScheme(i),ms.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=ms.preference,t.value=ms.value,t.unknown=!1)}),e.provide("colorMode",t)});const xY=Ds(()=>{}),kY=Ds({name:"nuxt:chunk-reload",setup(e){const t=Ls(),n=$k(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)}),t.onError((o,i)=>{if(r.has(o)){const s="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:c0(n.app.baseURL,i.fullPath);cY({path:s,persistState:!0})}})}}),jY=[FG,QQ,YQ,eY,nY,rY,wY,xY,kY],Mk=Bo({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Ln(),ri("div",{class:Vr(["n-icon",t.icon])},null,2))}}),_Y=Bo({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Mk;return Ln(),go(mk(t.to?Ie(DI):"button"),xk({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:to(()=>[Au(t.$slots,"icon",{},()=>[t.icon?(Ln(),go(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ta("",!0)]),Au(t.$slots,"default")]),_:3},16,["to"])}}}),$Y=Bo({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Tn(!1);return Ku(()=>{r.value=!0}),o=>{if(r.value)return t.default?.();const i=t.fallback||t.placeholder;if(i)return i();const a=o.fallback||o.placeholder||"",s=o.fallbackTag||o.placeholderTag||"span";return ri(s,n,a)}}}),LI=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},SY={name:yY,props:{placeholder:String,tag:{type:String,default:"span"}}};function CY(e,t,n,r,o,i){const a=$Y;return Ln(),go(a,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:to(()=>[Au(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const EY=LI(SY,[["render",CY]]),zI=()=>u0("color-mode").value,OY=Bo({__name:"NDarkToggle",setup(e){const t=zI(),n=sr({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(a){if(!r||!a){n.value=!n.value;return}const s=a.clientX,c=a.clientY,u=Math.hypot(Math.max(s,innerWidth-s),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await Uu()}).ready.then(()=>{const f=[`circle(0px at ${s}px ${c}px)`,`circle(${u}px at ${s}px ${c}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const i={mode:t,isDark:n,toggle:o};return(a,s)=>{const c=EY;return Ln(),go(c,{tag:"span"},{default:to(()=>[Au(a.$slots,"default",K7(bk(i)))]),_:3})}}}),BI=Object.freeze({left:0,top:0,width:16,height:16}),FI=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pk=Object.freeze({...BI,...FI});Object.freeze({...Pk,body:"",hidden:!1});({...BI});const HI=Object.freeze({width:null,height:null}),VI=Object.freeze({...HI,...FI});function MY(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in HI?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const PY=/[\s,]+/;function AY(e,t){t.split(PY).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function TY(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}const RY=/(-?[0-9.]*[0-9]+[0-9.]*)/g,IY=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cS(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(RY);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=IY.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}const NY=e=>e==="unset"||e==="undefined"||e==="none";function DY(e,t){const n={...Pk,...e},r={...VI,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):g&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=o.height/2+o.top,v.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,v.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),v.length&&(i='<g transform="'+v.join(" ")+'">'+i+"</g>")});const a=r.width,s=r.height,c=o.width,u=o.height;let l,f;a===null?(f=s===null?"1em":s==="auto"?u:s,l=cS(f,c/u)):(l=a==="auto"?c:a,f=s===null?cS(l,u/c):s==="auto"?u:s);const d={},h=(p,v)=>{NY(v)||(d[p]=v.toString())};return h("width",l),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+u.toString(),{attributes:d,body:i}}const LY=/\sid="(\S+)"/g,zY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let BY=0;function FY(e,t=zY){const n=[];let r;for(;r=LY.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(BY++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function HY(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function VY(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function WY(e){return"data:image/svg+xml,"+VY(e)}function qY(e){return'url("'+WY(e)+'")'}const uS={...VI,inline:!1},UY={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},KY={display:"inline-block"},Fb={backgroundColor:"currentColor"},WI={backgroundColor:"transparent"},lS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fS={webkitMask:Fb,mask:Fb,background:WI};for(const e in fS){const t=fS[e];for(const n in lS)t[e+n]=lS[n]}const tm={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";tm[e+"-flip"]=t,tm[e.slice(0,1)+"-flip"]=t,tm[e+"Flip"]=t});function dS(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const JY=(e,t)=>{const n=MY(uS,t),r={...UY},o=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in t){const m=t[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&AY(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=TY(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=tm[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):uS[v]===void 0&&(r[v]=m)}}}const c=DY(e,n),u=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...s},Object.assign(r,u);let v=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=FY(c.body,m?()=>m+"ID"+v++:"iconifyVue"),Do("svg",r)}const{body:l,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),p=HY(l,{...u,width:f+"",height:d+""});return r.style={...i,"--svg":qY(p),width:dS(u.width),height:dS(u.height),...KY,...h?Fb:WI,...s},Do("span",r)},GY=Object.create(null),QY=Bo({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?GY[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:JY({...Pk,...n},e)}}),qd=/^[a-z0-9]+(-[a-z0-9]+)*$/,p0=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:r,prefix:c,name:s};return t&&!em(u)?null:u}const i=o[0],a=i.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!em(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:i};return t&&!em(s,n)?null:s}return null},em=(e,t)=>e?!!((e.provider===""||e.provider.match(qd))&&(t&&e.prefix===""||e.prefix.match(qd))&&e.name.match(qd)):!1,qI=Object.freeze({left:0,top:0,width:16,height:16}),qm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ak=Object.freeze({...qI,...qm}),Hb=Object.freeze({...Ak,body:"",hidden:!1});function YY(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function hS(e,t){const n=YY(e,t);for(const r in Hb)r in qm?r in e&&!(r in n)&&(n[r]=qm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ZY(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const s=r[a]&&r[a].parent,c=s&&i(s);c&&(o[a]=[s].concat(c))}return o[a]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function XY(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(s){i=hS(r[s]||o[s],i)}return a(t),n.forEach(a),hS(e,i)}function UI(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=ZY(e);for(const o in r){const i=r[o];i&&(t(o,XY(e,o,i)),n.push(o))}return n}const tZ={provider:"",aliases:{},not_found:{},...qI};function A1(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function KI(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!A1(e,tZ))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o.match(qd)||typeof i.body!="string"||!A1(i,Hb))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(qd)||typeof a!="string"||!n[a]&&!r[a]||!A1(i,Hb))return null}return t}const pS=Object.create(null);function eZ(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Tu(e,t){const n=pS[e]||(pS[e]=Object.create(null));return n[t]||(n[t]=eZ(e,t))}function Tk(e,t){return KI(t)?UI(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function nZ(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mh=!1;function JI(e){return typeof e=="boolean"&&(mh=e),mh}function rZ(e){const t=typeof e=="string"?p0(e,!0,mh):e;if(t){const n=Tu(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function oZ(e,t){const n=p0(e,!0,mh);if(!n)return!1;const r=Tu(n.provider,n.prefix);return nZ(r,n.name,t)}function iZ(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mh&&!t&&!e.prefix){let o=!1;return KI(e)&&(e.prefix="",UI(e,(i,a)=>{a&&oZ(i,a)&&(o=!0)})),o}const n=e.prefix;if(!em({provider:t,prefix:n,name:"a"}))return!1;const r=Tu(t,n);return!!Tk(r,e)}const aZ=Object.freeze({width:null,height:null}),sZ=Object.freeze({...aZ,...qm});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Vb=Object.create(null);function cZ(e,t){Vb[e]=t}function Wb(e){return Vb[e]||Vb[""]}function Rk(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Ik=Object.create(null),id=["https://api.simplesvg.com","https://api.unisvg.com"],nm=[];for(;id.length>0;)id.length===1||Math.random()>.5?nm.push(id.shift()):nm.push(id.pop());Ik[""]=Rk({resources:["https://api.iconify.design"].concat(nm)});function uZ(e,t){const n=Rk(t);return n===null?!1:(Ik[e]=n,!0)}function Nk(e){return Ik[e]}const lZ=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let vS=lZ();function fZ(e,t){const n=Nk(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function dZ(e){return e===404}const hZ=(e,t,n)=>{const r=[],o=fZ(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((c,u)=>{s+=c.length+1,s>=o&&u>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function pZ(e){if(typeof e=="string"){const t=Nk(e);if(t)return t.path}return"/"}const vZ=(e,t,n)=>{if(!vS){n("abort",424);return}let r=pZ(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),c=new URLSearchParams({icons:s});r+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;vS(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(dZ(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},mZ={prepare:hZ,send:vZ};function gZ(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,a=o.prefix,s=o.name,c=n[i]||(n[i]=Object.create(null)),u=c[a]||(c[a]=Tu(i,a));let l;s in u.icons?l=t.loaded:a===""||u.missing.has(s)?l=t.missing:l=t.pending;const f={provider:i,prefix:a,name:s};l.push(f)}),t}function GI(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function yZ(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])a.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))a.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||GI([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let bZ=0;function wZ(e,t,n){const r=bZ++,o=GI.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function xZ(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?p0(o,t,n):o;i&&r.push(i)}),r}var kZ={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function jZ(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const O=Math.floor(Math.random()*x.length);a.push(x[O]),x=x.slice(0,O).concat(x.slice(O+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let c="pending",u=0,l,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){c==="pending"&&(c="aborted"),p(),d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function m(x,O){O&&(h=[]),typeof x=="function"&&h.push(x)}function g(){return{startTime:s,payload:t,status:c,queriesSent:u,queriesPending:d.length,subscribe:m,abort:v}}function y(){c="failed",h.forEach(x=>{x(void 0,l)})}function b(){d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function w(x,O,_){const M=O!=="success";switch(d=d.filter(T=>T!==x),c){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){l=_,y();return}if(M){l=_,d.length||(a.length?k():y());return}if(p(),b(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}c="completed",h.forEach(T=>{T(_)})}function k(){if(c!=="pending")return;p();const x=a.shift();if(x===void 0){if(d.length){f=setTimeout(()=>{p(),c==="pending"&&(b(),y())},e.timeout);return}y();return}const O={status:"pending",resource:x,callback:(_,M)=>{w(O,_,M)}};d.push(O),u++,f=setTimeout(k,e.rotate),n(x,t,O.callback)}return setTimeout(k),g}function QI(e){const t={...kZ,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,u){const l=jZ(t,s,c,(f,d)=>{r(),u&&u(f,d)});return n.push(l),l}function i(s){return n.find(c=>s(c))||null}return{query:o,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function mS(){}const T1=Object.create(null);function _Z(e){if(!T1[e]){const t=Nk(e);if(!t)return;const n=QI(t),r={config:t,redundancy:n};T1[e]=r}return T1[e]}function $Z(e,t,n){let r,o;if(typeof e=="string"){const i=Wb(e);if(!i)return n(void 0,424),mS;o=i.send;const a=_Z(e);a&&(r=a.redundancy)}else{const i=Rk(e);if(i){r=QI(i);const a=e.resources?e.resources[0]:"",s=Wb(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),mS):r.query(t,o,n)().abort}const gS="iconify2",gh="iconify",YI=gh+"-count",yS=gh+"-version",ZI=36e5,SZ=168;function qb(e,t){try{return e.getItem(t)}catch{}}function Dk(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bS(e,t){try{e.removeItem(t)}catch{}}function Ub(e,t){return Dk(e,YI,t.toString())}function Kb(e){return parseInt(qb(e,YI))||0}const v0={local:!0,session:!0},XI={local:new Set,session:new Set};let Lk=!1;function CZ(e){Lk=e}let Vp=typeof window>"u"?{}:window;function tN(e){const t=e+"Storage";try{if(Vp&&Vp[t]&&typeof Vp[t].length=="number")return Vp[t]}catch{}v0[e]=!1}function eN(e,t){const n=tN(e);if(!n)return;const r=qb(n,yS);if(r!==gS){if(r){const s=Kb(n);for(let c=0;c<s;c++)bS(n,gh+c.toString())}Dk(n,yS,gS),Ub(n,0);return}const o=Math.floor(Date.now()/ZI)-SZ,i=s=>{const c=gh+s.toString(),u=qb(n,c);if(typeof u=="string"){try{const l=JSON.parse(u);if(typeof l=="object"&&typeof l.cached=="number"&&l.cached>o&&typeof l.provider=="string"&&typeof l.data=="object"&&typeof l.data.prefix=="string"&&t(l,s))return!0}catch{}bS(n,c)}};let a=Kb(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Ub(n,a)):XI[e].add(s))}function nN(){if(!Lk){CZ(!0);for(const e in v0)eN(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=Tu(r,o);if(!Tk(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function EZ(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in v0)eN(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function OZ(e,t){Lk||nN();function n(r){let o;if(!v0[r]||!(o=tN(r)))return;const i=XI[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Kb(o),!Ub(o,a+1))return;const s={cached:Math.floor(Date.now()/ZI),provider:e.provider,data:t};return Dk(o,gh+a.toString(),JSON.stringify(s))}t.lastModified&&!EZ(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function wS(){}function MZ(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,yZ(e)}))}function PZ(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let i;if(!o||!(i=Wb(n)))return;i.prepare(n,r,o).forEach(s=>{$Z(n,s,c=>{if(typeof c!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=Tk(e,c);if(!u.length)return;const l=e.pendingIcons;l&&u.forEach(f=>{l.delete(f)}),OZ(e,c)}catch(u){console.error(u)}MZ(e)})})}))}const AZ=(e,t)=>{const n=xZ(e,!0,JI()),r=gZ(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,wS)}),()=>{c=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===s&&u===a)return;a=u,s=l,i.push(Tu(u,l));const f=o[u]||(o[u]=Object.create(null));f[l]||(f[l]=[])}),r.pending.forEach(c=>{const{provider:u,prefix:l,name:f}=c,d=Tu(u,l),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[u][l].push(f))}),i.forEach(c=>{const{provider:u,prefix:l}=c;o[u][l].length&&PZ(c,o[u][l])}),t?wZ(t,r,i):wS},TZ=e=>new Promise((t,n)=>{const r=typeof e=="string"?p0(e,!0):e;if(!r){n(e);return}AZ([r||e],o=>{if(o.length&&r){const i=rZ(r);if(i){t({...Ak,...i});return}}n(e)})});({...sZ});const xS={backgroundColor:"currentColor"},RZ={backgroundColor:"transparent"},kS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jS={webkitMask:xS,mask:xS,background:RZ};for(const e in jS){const t=jS[e];for(const n in kS)t[e+n]=kS[n]}const R1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";R1[e+"-flip"]=t,R1[e.slice(0,1)+"-flip"]=t,R1[e+"Flip"]=t});JI(!0);cZ("",mZ);if(typeof document<"u"&&typeof window<"u"){nN();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!iZ(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;uZ(n,o)||console.error(r)}catch{console.error(r)}}}}({...Ak});const IZ=Bo({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=e,o=cr(),i=mY(),a=u0("icons",()=>({})),s=Tn(!1),c=sr(()=>((i.nuxtIcon?.aliases||{})[r.name]||r.name).replace(/^i-/,"")),u=sr(()=>a.value?.[c.value]),l=sr(()=>o.vueApp.component(c.value)),f=sr(()=>{if(!r.size&&typeof i.nuxtIcon?.size=="boolean"&&!i.nuxtIcon?.size)return;const p=r.size||i.nuxtIcon?.size||"1em";return String(Number(p))===p?`${p}px`:p}),d=sr(()=>i?.nuxtIcon?.class??"icon");async function h(){l.value||a.value?.[c.value]||(s.value=!0,a.value[c.value]=await TZ(c.value).catch(()=>{}),s.value=!1)}return no(()=>c.value,h),!l.value&&([t,n]=vb(()=>h()),t=await t,n()),(p,v)=>s.value?(Ln(),ri("span",{key:0,class:Vr(d.value),style:jc({width:f.value,height:f.value})},null,6)):u.value?(Ln(),go(Ie(QY),{key:1,icon:u.value,class:Vr(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):l.value?(Ln(),go(mk(l.value),{key:2,class:Vr(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(Ln(),ri("span",{key:3,class:Vr(d.value),style:jc({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Au(p.$slots,"default",{},()=>[mu(Zv(e.name),1)],!0)],6))}});const rN=LI(IZ,[["__scopeId","data-v-0f53a660"]]),NZ=Object.freeze(Object.defineProperty({__proto__:null,default:rN},Symbol.toStringTag,{value:"Module"}));function _S(e){return typeof e=="function"?e():Ie(e)}const DZ=e=>typeof e<"u",$S=()=>{};function LZ(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function zZ(e,t={}){let n,r,o=$S;const i=s=>{clearTimeout(s),o(),o=$S};return s=>{const c=_S(e),u=_S(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((l,f)=>{o=t.rejectOnCancel?f:l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,l(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,l(s())},c)})}}function zk(e,t=200,n={}){return LZ(zZ(t,n),e)}function BZ(e){return JSON.parse(JSON.stringify(e))}function FZ(e,t,n,r={}){var o,i,a;const{clone:s=!1,passive:c=!1,eventName:u,deep:l=!1,defaultValue:f,shouldEmit:d}=r,h=cs(),p=n||h?.emit||((o=h?.$emit)==null?void 0:o.bind(h))||((a=(i=h?.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(h?.proxy));let v=u;t||(t="modelValue"),v=v||`update:${t.toString()}`;const m=b=>s?typeof s=="function"?s(b):BZ(b):b,g=()=>DZ(e[t])?m(e[t]):f,y=b=>{d?d(b)&&p(v,b):p(v,b)};if(c){const b=g(),w=Tn(b);return no(()=>e[t],k=>w.value=m(k)),no(w,k=>{(k!==e[t]||l)&&y(k)},{deep:l}),w}else return sr({get(){return g()},set(b){y(b)}})}const HZ={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},VZ=Bo({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=FZ(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=Mk;return Ln(),ri("div",HZ,[Au(o.$slots,"icon",{},()=>[o.icon?(Ln(),go(a,{key:0,icon:o.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ta("",!0)]),Tq(Qn("input",xk({"onUpdate:modelValue":i[0]||(i[0]=s=>Ur(r)?r.value=s:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[qU,Ie(r)]])])}}}),WZ=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Jb=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&WZ(e.route,n));return typeof r=="function"?r(e.route):r},qZ=(e,t)=>({default:()=>e?Do(Lq,e===!0?{}:e,t):t}),UZ=Bo({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return Dl(l0,Xh(r)),()=>Do(e.vnode,{ref:e.vnodeRef})}}),KZ=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Do(e,t,n):n.default?.()}),JZ=Bo({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=cr(),o=Tn(),i=ci(l0,null);n({pageRef:o});const a=ci(NG,null);let s;const c=r.deferHydration();return()=>Do(II,{name:e.name,route:e.route,...t},{default:u=>{const l=YZ(i,u.route,u.Component),f=i&&i.matched.length===u.route.matched.length;if(!u.Component)return s&&!f?s:void 0;if(s&&a&&!a.isCurrent(u.route))return s;if(l&&i&&(!a||a?.isCurrent(i)))return f?s:null;const d=Jb(u,e.pageKey),h=!!(e.transition??u.route.meta.pageTransition??Pb),p=h&&QZ([e.transition,u.route.meta.pageTransition,Pb,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean));return s=KZ(jk,h&&p,qZ(e.keepalive??u.route.meta.keepalive??_G,Do(y9,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Uu(()=>r.callHook("page:finish",u.Component).finally(c))}},{default:()=>Do(UZ,{key:d,vnode:u.Component,route:u.route,renderKey:d,trackRootNodes:h,vnodeRef:o})}))).default(),s}})}});function GZ(e){return Array.isArray(e)?e:e?[e]:[]}function QZ(e){const t=e.map(n=>({...n,onAfterLeave:GZ(n.onAfterLeave)}));return PG(...t)}function YZ(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&Jb({route:t,Component:n})!==Jb({route:e,Component:n})}const ZZ=6e4;function oN(e){return e}const XZ=oN,{setTimeout:tX}=globalThis,eX=Math.random.bind(Math);function nX(e,t){const{post:n,on:r,eventNames:o=[],serialize:i=oN,deserialize:a=XZ,resolver:s,timeout:c=ZZ}=t,u=new Map;let l;const f=new Proxy({},{get(d,h){if(h==="$functions")return e;const p=(...m)=>{n(i({m:h,a:m,t:"q"}))};if(o.includes(h))return p.asEvent=p,p;const v=async(...m)=>(await l,new Promise((g,y)=>{const b=oX();u.set(b,{resolve:g,reject:y}),n(i({m:h,a:m,i:b,t:"q"})),c>=0&&tX(()=>{y(new Error(`[birpc] timeout on calling "${h}"`)),u.delete(b)},c)}));return v.asEvent=p,v}});return l=r(async(d,...h)=>{const p=a(d);if(p.t==="q"){const{m:v,a:m}=p;let g,y;const b=s?s(v,e[v]):e[v];if(!b)y=new Error(`[birpc] function "${v}" not found`);else try{g=await b.apply(f,m)}catch(w){y=w}p.i&&(y&&t.onError&&t.onError(y,v,m),n(i({t:"s",i:p.i,r:g,e:y}),...h))}else{const{i:v,r:m,e:g}=p,y=u.get(v);y&&(g?y.reject(g):y.resolve(m)),u.delete(v)}}),f}const rX="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function oX(e=21){let t="",n=e;for(;n--;)t+=rX[eX()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:iX,stringify:aX}=JSON,{keys:sX}=Object,yh=String,iN="string",SS={},Um="object",aN=(e,t)=>t,cX=e=>e instanceof yh?yh(e):e,uX=(e,t)=>typeof t===iN?new yh(t):t,sN=(e,t,n,r)=>{const o=[];for(let i=sX(n),{length:a}=i,s=0;s<a;s++){const c=i[s],u=n[c];if(u instanceof yh){const l=e[u];typeof l===Um&&!t.has(l)?(t.add(l),n[c]=SS,o.push({k:c,a:[e,t,l,r]})):n[c]=r.call(n,c,l)}else n[c]!==SS&&(n[c]=r.call(n,c,u))}for(let{length:i}=o,a=0;a<i;a++){const{k:s,a:c}=o[a];n[s]=r.call(n,s,sN.apply(null,c))}return n},CS=(e,t,n)=>{const r=yh(t.push(n)-1);return e.set(n,r),r},lX=(e,t)=>{const n=iX(e,uX).map(cX),r=n[0],o=t||aN,i=typeof r===Um&&r?sN(n,new Set,r,o):r;return o.call({"":i},"",i)},fX=(e,t,n)=>{const r=t&&typeof t===Um?(l,f)=>l===""||-1<t.indexOf(l)?f:void 0:t||aN,o=new Map,i=[],a=[];let s=+CS(o,i,r.call({"":e},"",e)),c=!s;for(;s<i.length;)c=!0,a[s]=aX(i[s++],u,n);return"["+a.join(",")+"]";function u(l,f){if(c)return c=!c,f;const d=r.call(this,l,f);switch(typeof d){case Um:if(d===null)return d;case iN:return o.get(d)||CS(o,i,d)}return d}},dX=2e3;let cN=()=>{};const ES=Tn(!0),OS=Tn(),uN=Tn(null);function hX(e){const t=nX(e,{post:n=>uN.value.send(n),on:n=>{cN=n},serialize:fX,deserialize:lX});return{useServerConfig:async function(){return(await Ok("server-config",()=>t.getConfig())).data}}}async function lN(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>cN(String(n.data))),t.addEventListener("error",n=>{OS.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{uN.value=await lN(e)},dX)}),ES.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),ES.value=!1,OS.value=null,t}const m0=Tn(Date.now()),MS=Tn(null),fN=window.location.host,Ha=Tn("/"),dN=Tn("/"),Wp=Tn({}),Od=Tn({}),iu=Tn(!1),I1=Tn({}),Md=zk(()=>{m0.value=Date.now()},200),pX=zk(()=>{m0.value=Date.now()},1e3),vX={refresh(){iu.value=!1,Od.value={},Md()}};await lN(fN);hX(vX);const ol=Tn(null),Bk=sr(()=>eI(dN.value,`${window.location.protocol}//${fN}`)),f4t=sr(()=>`${Bk.value}${Ha.value==="/"?"":Ha.value}`);async function PS(){const{data:e}=await Ok(()=>$fetch("/api/og-image-options",{baseURL:Bk.value,query:{path:Ha.value}}),{watch:[Ha,m0]},"$XVR8o8RMBy");return e}async function d4t(){const{data:e}=await Ok(()=>$fetch("/api/og-image-vnode",{query:{path:Ha.value},baseURL:Bk.value}),{watch:[Ha,m0]},"$cHgKigQ0kS");return e}var N1,AS,TS,RS,IS,NS,DS,LS,zS,BS,FS,HS,VS,WS,qS,US,KS,JS,GS,QS,YS,ZS,XS,tC,eC,nC,rC,oC,iC,aC,sC,cC,uC,lC,fC,dC,hC,pC,vC,mC,gC,yC,bC,wC,xC,kC,jC,_C,$C,SC,CC,EC,OC,MC,PC,AC,TC,RC,IC,NC,DC,LC,zC,BC,FC,HC,VC,WC,qC,UC,KC,JC,GC,QC,YC,ZC,XC,t3,e3,n3,r3,o3,i3,a3,s3,c3,u3,l3,f3,d3,h3,p3,v3,m3,g3,y3,b3,w3,x3,k3,j3,_3,$3,S3,C3,E3,O3,M3,P3,A3,T3,R3,I3,N3,D3,L3,z3,B3,F3,H3,V3,W3,q3,U3,K3,J3,G3,Q3,Y3,Z3,X3,t4,e4,n4,r4,o4,i4,a4,s4,c4,u4,l4,f4,d4,h4,p4,v4,m4,g4,y4,b4,w4,x4,k4,j4,_4,$4,S4,C4,E4,O4,M4,P4,A4,T4,R4,I4,N4,D4,L4,z4,B4,F4,H4,V4,W4,q4,U4,K4,J4,G4,Q4,Y4,Z4,X4,t8,e8,n8,r8,o8,i8,a8,s8,c8,u8,l8,f8,d8,h8,p8,v8,m8,g8,y8,b8,w8,x8,k8,j8,_8,$8,S8,C8,E8,O8,M8,P8,A8,T8,R8,I8,N8,D8,L8,z8,B8,F8,H8,V8,W8,q8,U8,K8,J8,G8,Q8,Y8,Z8,X8,t5,e5,n5,r5,o5,i5,a5,s5,c5,u5,l5,f5,d5,h5,p5,v5,m5,g5,y5,b5,w5,x5,k5,j5,_5,$5,S5,C5,E5,O5,M5,P5,A5,T5,R5,I5,N5,D5,L5,z5,B5,F5,H5,V5,mX=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],gX=["mainAxis","crossAxis","limiter"];function it(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function hN(e,t){if(e==null)return{};var n,r,o=function(a,s){if(a==null)return{};var c,u,l={},f=Object.keys(a);for(u=0;u<f.length;u++)c=f[u],s.indexOf(c)>=0||(l[c]=a[c]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dt(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g0(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
+
*/const ul=typeof window<"u";function HG(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const qn=Object.assign;function O1(e,t){const n={};for(const r in t){const o=t[r];n[r]=ya(o)?o.map(e):e(o)}return n}const Vd=()=>{},ya=Array.isArray,VG=/\/$/,WG=e=>e.replace(VG,"");function M1(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let c=t.indexOf("?");return s<c&&s>=0&&(c=-1),c>-1&&(r=t.slice(0,c),i=t.slice(c+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=JG(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function qG(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function W$(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function UG(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uf(t.matched[r],n.matched[o])&&jI(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uf(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!KG(e[n],t[n]))return!1;return!0}function KG(e,t){return ya(e)?q$(e,t):ya(t)?q$(t,e):e===t}function q$(e,t){return ya(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function JG(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,s;for(a=0;a<r.length;a++)if(s=r[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var vh;(function(e){e.pop="pop",e.push="push"})(vh||(vh={}));var Wd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Wd||(Wd={}));function GG(e){if(!e)if(ul){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),WG(e)}const QG=/^[^#]+#/;function YG(e,t){return e.replace(QG,"#")+t}function ZG(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 h0=()=>({left:window.pageXOffset,top:window.pageYOffset});function XG(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ZG(o,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 U$(e,t){return(history.state?history.state.position-t:-1)+e}const Nb=new Map;function tQ(e,t){Nb.set(e,t)}function eQ(e){const t=Nb.get(e);return Nb.delete(e),t}let nQ=()=>location.protocol+"//"+location.host;function _I(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,c=o.slice(s);return c[0]!=="/"&&(c="/"+c),W$(c,"")}return W$(n,e)+r+o}function rQ(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const h=_I(e,location),p=n.value,v=t.value;let m=0;if(d){if(n.value=h,t.value=d,a&&a===p){a=null;return}m=v?d.position-v.position:0}else r(h);o.forEach(g=>{g(n.value,p,{delta:m,type:vh.pop,direction:m?m>0?Wd.forward:Wd.back:Wd.unknown})})};function c(){a=n.value}function u(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return i.push(h),h}function l(){const{history:d}=window;d.state&&d.replaceState(qn({},d.state,{scroll:h0()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function K$(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?h0():null}}function oQ(e){const{history:t,location:n}=window,r={value:_I(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:nQ()+e+c;try{t[l?"replaceState":"pushState"](u,"",d),o.value=u}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function a(c,u){const l=qn({},t.state,K$(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});i(c,l,!0),r.value=c}function s(c,u){const l=qn({},o.value,t.state,{forward:c,scroll:h0()});i(l.current,l,!0);const f=qn({},K$(r.value,c,null),{position:l.position+1},u);i(c,f,!1),r.value=c}return{location:r,state:o,push:s,replace:a}}function $I(e){e=GG(e);const t=oQ(e),n=rQ(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=qn({location:"",base:e,go:r,createHref:YG.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function iQ(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$I(e)}function aQ(e){return typeof e=="string"||e&&typeof e=="object"}function SI(e){return typeof e=="string"||typeof e=="symbol"}const Ra={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},CI=Symbol("");var J$;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(J$||(J$={}));function lf(e,t){return qn(new Error,{type:e,[CI]:!0},t)}function vs(e,t){return e instanceof Error&&CI in e&&(t==null||!!(e.type&t))}const G$="[^/]+?",sQ={sensitive:!1,strict:!1,start:!0,end:!0},cQ=/[.+*?^${}()[\]/\\]/g;function uQ(e,t){const n=qn({},sQ,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const l=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(cQ,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:v,optional:m,regexp:g}=d;i.push({name:p,repeatable:v,optional:m});const y=g||G$;if(y!==G$){h+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+w.message)}}let b=v?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(b=m&&u.length<2?`(?:/${b})`:"/"+b),m&&(b+="?"),o+=b,h+=20,m&&(h+=-8),v&&(h+=-20),y===".*"&&(h+=-50)}l.push(h)}r.push(l)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function s(u){const l=u.match(a),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",p=i[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function c(u){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:m}=h,g=p in u?u[p]:"";if(ya(g)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=ya(g)?g.join("/"):g;if(!y)if(m)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=y}}return l||"/"}return{re:a,score:r,keys:i,parse:s,stringify:c}}function lQ(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fQ(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=lQ(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Q$(r))return 1;if(Q$(o))return-1}return o.length-r.length}function Q$(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const dQ={type:0,value:""},hQ=/[a-zA-Z0-9_]/;function pQ(e){if(!e)return[[]];if(e==="/")return[[dQ]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,c,u="",l="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=c}for(;s<e.length;){if(c=e[s++],c==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:c==="/"?(u&&f(),a()):c===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:c==="("?n=2:hQ.test(c)?d():(f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--);break;case 2:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=3:l+=c;break;case 3:f(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&s--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),a(),o}function vQ(e,t,n){const r=uQ(pQ(e.path),n),o=qn(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function mQ(e,t){const n=[],r=new Map;t=X$({strict:!1,end:!0,sensitive:!1},t);function o(l){return r.get(l)}function i(l,f,d){const h=!d,p=gQ(l);p.aliasOf=d&&d.record;const v=X$(t,l),m=[p];if("alias"in l){const b=typeof l.alias=="string"?[l.alias]:l.alias;for(const w of b)m.push(qn({},p,{components:d?d.record.components:p.components,path:w,aliasOf:d?d.record:p}))}let g,y;for(const b of m){const{path:w}=b;if(f&&w[0]!=="/"){const k=f.record.path,x=k[k.length-1]==="/"?"":"/";b.path=f.record.path+(w&&x+w)}if(g=vQ(b,f,v),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&l.name&&!Z$(g)&&a(l.name)),p.children){const k=p.children;for(let x=0;x<k.length;x++)i(k[x],g,d&&d.children[x])}d=d||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&c(g)}return y?()=>{a(y)}:Vd}function a(l){if(SI(l)){const f=r.get(l);f&&(r.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&r.delete(l.record.name),l.children.forEach(a),l.alias.forEach(a))}}function s(){return n}function c(l){let f=0;for(;f<n.length&&fQ(l,n[f])>=0&&(l.record.path!==n[f].record.path||!EI(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!Z$(l)&&r.set(l.record.name,l)}function u(l,f){let d,h={},p,v;if("name"in l&&l.name){if(d=r.get(l.name),!d)throw lf(1,{location:l});v=d.record.name,h=qn(Y$(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),l.params&&Y$(l.params,d.keys.map(y=>y.name))),p=d.stringify(h)}else if("path"in l)p=l.path,d=n.find(y=>y.re.test(p)),d&&(h=d.parse(p),v=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw lf(1,{location:l,currentLocation:f});v=d.record.name,h=qn({},f.params,l.params),p=d.stringify(h)}const m=[];let g=d;for(;g;)m.unshift(g.record),g=g.parent;return{name:v,path:p,params:h,matched:m,meta:bQ(m)}}return e.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function Y$(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gQ(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yQ(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 yQ(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 Z$(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bQ(e){return e.reduce((t,n)=>qn(t,n.meta),{})}function X$(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function EI(e,t){return t.children.some(n=>n===e||EI(e,n))}const OI=/#/g,wQ=/&/g,xQ=/\//g,kQ=/=/g,jQ=/\?/g,MI=/\+/g,_Q=/%5B/g,$Q=/%5D/g,PI=/%5E/g,SQ=/%60/g,AI=/%7B/g,CQ=/%7C/g,TI=/%7D/g,EQ=/%20/g;function Ck(e){return encodeURI(""+e).replace(CQ,"|").replace(_Q,"[").replace($Q,"]")}function OQ(e){return Ck(e).replace(AI,"{").replace(TI,"}").replace(PI,"^")}function Db(e){return Ck(e).replace(MI,"%2B").replace(EQ,"+").replace(OI,"%23").replace(wQ,"%26").replace(SQ,"`").replace(AI,"{").replace(TI,"}").replace(PI,"^")}function MQ(e){return Db(e).replace(kQ,"%3D")}function PQ(e){return Ck(e).replace(OI,"%23").replace(jQ,"%3F")}function AQ(e){return e==null?"":PQ(e).replace(xQ,"%2F")}function Wm(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function TQ(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(MI," "),a=i.indexOf("="),s=Wm(a<0?i:i.slice(0,a)),c=a<0?null:Wm(i.slice(a+1));if(s in t){let u=t[s];ya(u)||(u=t[s]=[u]),u.push(c)}else t[s]=c}return t}function tS(e){let t="";for(let n in e){const r=e[n];if(n=MQ(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ya(r)?r.map(i=>i&&Db(i)):[r&&Db(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function RQ(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ya(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const IQ=Symbol(""),eS=Symbol(""),Ek=Symbol(""),RI=Symbol(""),Lb=Symbol("");function od(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rc(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,s)=>{const c=f=>{f===!1?s(lf(4,{from:n,to:t})):f instanceof Error?s(f):aQ(f)?s(lf(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},u=e.call(r&&r.instances[o],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch(f=>s(f))})}function P1(e,t,n,r){const o=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(NQ(s)){const u=(s.__vccOpts||s)[t];u&&o.push(rc(u,n,r,i,a))}else{let c=s();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const l=HG(u)?u.default:u;i.components[a]=l;const d=(l.__vccOpts||l)[t];return d&&rc(d,n,r,i,a)()}))}}return o}function NQ(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nS(e){const t=ci(Ek),n=ci(RI),r=sr(()=>t.resolve(Ie(e.to))),o=sr(()=>{const{matched:c}=r.value,{length:u}=c,l=c[u-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(uf.bind(null,l));if(d>-1)return d;const h=rS(c[u-2]);return u>1&&rS(l)===h&&f[f.length-1].path!==h?f.findIndex(uf.bind(null,c[u-2])):d}),i=sr(()=>o.value>-1&&BQ(n.params,r.value.params)),a=sr(()=>o.value>-1&&o.value===n.matched.length-1&&jI(n.params,r.value.params));function s(c={}){return zQ(c)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Vd):Promise.resolve()}return{route:r,href:sr(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const DQ=Bo({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:nS,setup(e,{slots:t}){const n=Xa(nS(e)),{options:r}=ci(Ek),o=sr(()=>({[oS(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[oS(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Do("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),LQ=DQ;function zQ(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 BQ(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ya(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function rS(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oS=(e,t,n)=>e??t??n,FQ=Bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ci(Lb),o=sr(()=>e.route||r.value),i=ci(eS,0),a=sr(()=>{let u=Ie(i);const{matched:l}=o.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),s=sr(()=>o.value.matched[a.value]);Dl(eS,sr(()=>a.value+1)),Dl(IQ,s),Dl(Lb,o);const c=Tn();return no(()=>[c.value,s.value,e.name],([u,l,f],[d,h,p])=>{l&&(l.instances[f]=u,h&&h!==l&&u&&u===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),u&&l&&(!h||!uf(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(v=>v(u))},{flush:"post"}),()=>{const u=o.value,l=e.name,f=s.value,d=f&&f.components[l];if(!d)return iS(n.default,{Component:d,route:u});const h=f.props[l],p=h?h===!0?u.params:typeof h=="function"?h(u):h:null,m=Do(d,qn({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return iS(n.default,{Component:m,route:u})||m}}});function iS(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const II=FQ;function HQ(e){const t=mQ(e.routes,e),n=e.parseQuery||TQ,r=e.stringifyQuery||tS,o=e.history,i=od(),a=od(),s=od(),c=ef(Ra);let u=Ra;ul&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=O1.bind(null,G=>""+G),f=O1.bind(null,AQ),d=O1.bind(null,Wm);function h(G,pt){let gt,_t;return SI(G)?(gt=t.getRecordMatcher(G),_t=pt):_t=G,t.addRoute(_t,gt)}function p(G){const pt=t.getRecordMatcher(G);pt&&t.removeRoute(pt)}function v(){return t.getRoutes().map(G=>G.record)}function m(G){return!!t.getRecordMatcher(G)}function g(G,pt){if(pt=qn({},pt||c.value),typeof G=="string"){const X=M1(n,G,pt.path),wt=t.resolve({path:X.path},pt),ft=o.createHref(X.fullPath);return qn(X,wt,{params:d(wt.params),hash:Wm(X.hash),redirectedFrom:void 0,href:ft})}let gt;if("path"in G)gt=qn({},G,{path:M1(n,G.path,pt.path).path});else{const X=qn({},G.params);for(const wt in X)X[wt]==null&&delete X[wt];gt=qn({},G,{params:f(X)}),pt.params=f(pt.params)}const _t=t.resolve(gt,pt),yt=G.hash||"";_t.params=l(d(_t.params));const Q=qG(r,qn({},G,{hash:OQ(yt),path:_t.path})),P=o.createHref(Q);return qn({fullPath:Q,hash:yt,query:r===tS?RQ(G.query):G.query||{}},_t,{redirectedFrom:void 0,href:P})}function y(G){return typeof G=="string"?M1(n,G,c.value.path):qn({},G)}function b(G,pt){if(u!==G)return lf(8,{from:pt,to:G})}function w(G){return O(G)}function k(G){return w(qn(y(G),{replace:!0}))}function x(G){const pt=G.matched[G.matched.length-1];if(pt&&pt.redirect){const{redirect:gt}=pt;let _t=typeof gt=="function"?gt(G):gt;return typeof _t=="string"&&(_t=_t.includes("?")||_t.includes("#")?_t=y(_t):{path:_t},_t.params={}),qn({query:G.query,hash:G.hash,params:"path"in _t?{}:G.params},_t)}}function O(G,pt){const gt=u=g(G),_t=c.value,yt=G.state,Q=G.force,P=G.replace===!0,X=x(gt);if(X)return O(qn(y(X),{state:typeof X=="object"?qn({},yt,X.state):yt,force:Q,replace:P}),pt||gt);const wt=gt;wt.redirectedFrom=pt;let ft;return!Q&&UG(r,_t,gt)&&(ft=lf(16,{to:wt,from:_t}),B(_t,_t,!0,!1)),(ft?Promise.resolve(ft):T(wt,_t)).catch(L=>vs(L)?vs(L,2)?L:C(L):A(L,wt,_t)).then(L=>{if(L){if(vs(L,2))return O(qn({replace:P},y(L.to),{state:typeof L.to=="object"?qn({},yt,L.to.state):yt,force:Q}),pt||wt)}else L=I(wt,_t,!0,P,yt);return R(wt,_t,L),L})}function _(G,pt){const gt=b(G,pt);return gt?Promise.reject(gt):Promise.resolve()}function M(G){const pt=K.values().next().value;return pt&&typeof pt.runWithContext=="function"?pt.runWithContext(G):G()}function T(G,pt){let gt;const[_t,yt,Q]=VQ(G,pt);gt=P1(_t.reverse(),"beforeRouteLeave",G,pt);for(const X of _t)X.leaveGuards.forEach(wt=>{gt.push(rc(wt,G,pt))});const P=_.bind(null,G,pt);return gt.push(P),st(gt).then(()=>{gt=[];for(const X of i.list())gt.push(rc(X,G,pt));return gt.push(P),st(gt)}).then(()=>{gt=P1(yt,"beforeRouteUpdate",G,pt);for(const X of yt)X.updateGuards.forEach(wt=>{gt.push(rc(wt,G,pt))});return gt.push(P),st(gt)}).then(()=>{gt=[];for(const X of Q)if(X.beforeEnter)if(ya(X.beforeEnter))for(const wt of X.beforeEnter)gt.push(rc(wt,G,pt));else gt.push(rc(X.beforeEnter,G,pt));return gt.push(P),st(gt)}).then(()=>(G.matched.forEach(X=>X.enterCallbacks={}),gt=P1(Q,"beforeRouteEnter",G,pt),gt.push(P),st(gt))).then(()=>{gt=[];for(const X of a.list())gt.push(rc(X,G,pt));return gt.push(P),st(gt)}).catch(X=>vs(X,8)?X:Promise.reject(X))}function R(G,pt,gt){s.list().forEach(_t=>M(()=>_t(G,pt,gt)))}function I(G,pt,gt,_t,yt){const Q=b(G,pt);if(Q)return Q;const P=pt===Ra,X=ul?history.state:{};gt&&(_t||P?o.replace(G.fullPath,qn({scroll:P&&X&&X.scroll},yt)):o.push(G.fullPath,yt)),c.value=G,B(G,pt,gt,P),C()}let H;function S(){H||(H=o.listen((G,pt,gt)=>{if(!J.listening)return;const _t=g(G),yt=x(_t);if(yt){O(qn(yt,{replace:!0}),_t).catch(Vd);return}u=_t;const Q=c.value;ul&&tQ(U$(Q.fullPath,gt.delta),h0()),T(_t,Q).catch(P=>vs(P,12)?P:vs(P,2)?(O(P.to,_t).then(X=>{vs(X,20)&&!gt.delta&>.type===vh.pop&&o.go(-1,!1)}).catch(Vd),Promise.reject()):(gt.delta&&o.go(-gt.delta,!1),A(P,_t,Q))).then(P=>{P=P||I(_t,Q,!1),P&&(gt.delta&&!vs(P,8)?o.go(-gt.delta,!1):gt.type===vh.pop&&vs(P,20)&&o.go(-1,!1)),R(_t,Q,P)}).catch(Vd)}))}let D=od(),V=od(),N;function A(G,pt,gt){C(G);const _t=V.list();return _t.length?_t.forEach(yt=>yt(G,pt,gt)):console.error(G),Promise.reject(G)}function $(){return N&&c.value!==Ra?Promise.resolve():new Promise((G,pt)=>{D.add([G,pt])})}function C(G){return N||(N=!G,S(),D.list().forEach(([pt,gt])=>G?gt(G):pt()),D.reset()),G}function B(G,pt,gt,_t){const{scrollBehavior:yt}=e;if(!ul||!yt)return Promise.resolve();const Q=!gt&&eQ(U$(G.fullPath,0))||(_t||!gt)&&history.state&&history.state.scroll||null;return Uu().then(()=>yt(G,pt,Q)).then(P=>P&&XG(P)).catch(P=>A(P,G,pt))}const F=G=>o.go(G);let j;const K=new Set,J={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:v,resolve:g,options:e,push:w,replace:k,go:F,back:()=>F(-1),forward:()=>F(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:V.add,isReady:$,install(G){const pt=this;G.component("RouterLink",LQ),G.component("RouterView",II),G.config.globalProperties.$router=pt,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(c)}),ul&&!j&&c.value===Ra&&(j=!0,w(o.location).catch(yt=>{}));const gt={};for(const yt in Ra)Object.defineProperty(gt,yt,{get:()=>c.value[yt],enumerable:!0});G.provide(Ek,pt),G.provide(RI,Xh(gt)),G.provide(Lb,c);const _t=G.unmount;K.add(G),G.unmount=function(){K.delete(G),K.size<1&&(u=Ra,H&&H(),H=null,c.value=Ra,j=!1,N=!1),_t()}}};function st(G){return G.reduce((pt,gt)=>pt.then(()=>M(gt)),Promise.resolve())}return J}function VQ(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const s=t.matched[a];s&&(e.matched.find(u=>uf(u,s))?r.push(s):n.push(s));const c=e.matched[a];c&&(t.matched.find(u=>uf(u,c))||o.push(c))}return[n,r,o]}const aS=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./index.f9663ea6.js"),["./index.f9663ea6.js","./index.ffbea0a9.css"],import.meta.url).then(e=>e.default||e)},{name:"options",path:"/options",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./options.f27328ac.js"),["./options.f27328ac.js","./shiki.d5b5eb2e.js"],import.meta.url).then(e=>e.default||e)},{name:"png",path:"/png",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./png.6d6dd8d4.js"),["./png.6d6dd8d4.js","./ImageLoader.dec76792.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"svg",path:"/svg",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./svg.7d193e19.js"),["./svg.7d193e19.js","./ImageLoader.dec76792.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"vnodes",path:"/vnodes",meta:{},alias:[],redirect:void 0,component:()=>za(()=>import("./vnodes.01fe8a67.js"),["./vnodes.01fe8a67.js","./shiki.d5b5eb2e.js"],import.meta.url).then(e=>e.default||e)}],WQ={scrollBehavior(e,t,n){const r=cr();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&qQ(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:sS(e.hash)}}const i=s=>!!(s.meta.pageTransition??Pb),a=i(t)&&i(e)?"page:transition:finish":"page:finish";return new Promise(s=>{r.hooks.hookOnce(a,async()=>{await Uu(),e.hash&&(o={el:e.hash,top:sS(e.hash)}),s(o)})})}};function sS(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function qQ(e,t){const n=t.matched.every((r,o)=>r.components?.default===e.matched[o]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const UQ={},Zs={...UQ,...WQ},KQ=async e=>{let t,n;if(!e.meta?.validate)return;const r=cr(),o=Ls();if(([t,n]=Fm(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=d0({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),s=o.beforeResolve(c=>{if(s(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>wl(a)),window.history.pushState({},"",e.fullPath)});return!1}})},JQ=[KQ],zb={};function GQ(e,t,n){const{pathname:r,search:o,hash:i}=t,a=e.indexOf("#");if(a>-1){const u=i.includes(e.slice(a))?e.slice(a).length:1;let l=i.slice(u);return l[0]!=="/"&&(l="/"+l),A$(l,"")}const s=A$(r,e),c=!n||aJ(s,n,{trailingSlash:!0})?s:n;return c+(c.includes("?")?"":o)+i}const QQ=Ds({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=$k().app.baseURL;Zs.hashMode&&!r.includes("#")&&(r+="#");const o=Zs.history?.(r)??(Zs.hashMode?iQ(r):$I(r)),i=Zs.routes?.(aS)??aS;let a;const s=GQ(r,window.location,e.payload.path),c=HQ({...Zs,scrollBehavior:(v,m,g)=>{if(m===Ra){a=g;return}return c.options.scrollBehavior=Zs.scrollBehavior,Zs.scrollBehavior?.(v,Ra,a||g)},history:o,routes:i});e.vueApp.use(c);const u=ef(c.currentRoute.value);c.afterEach((v,m)=>{u.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const l=ef(c.resolve(s)),f=()=>{l.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((v,m)=>{v.matched[0]?.components?.default===m.matched[0]?.components?.default&&f()});const d={};for(const v in l.value)Object.defineProperty(d,v,{get:()=>l.value[v]});e._route=Xh(d),e._middleware=e._middleware||{global:[],named:{}};const h=f0();try{[t,n]=Fm(()=>c.isReady()),await t,n()}catch(v){[t,n]=Fm(()=>e.runWithContext(()=>wl(v))),await t,n()}const p=u0("_layout");return c.beforeEach(async(v,m)=>{v.meta=Xa(v.meta),e.isHydrating&&p.value&&!Pu(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const g=new Set([...JQ,...e._middleware.global]);for(const y of v.matched){const b=y.meta.middleware;if(b)if(Array.isArray(b))for(const w of b)g.add(w);else g.add(b)}for(const y of g){const b=typeof y=="string"?e._middleware.named[y]||await zb[y]?.().then(k=>k.default||k):y;if(!b)throw new Error(`Unknown route middleware: '${y}'.`);const w=await e.runWithContext(()=>b(v,m));if(!e.payload.serverRendered&&e.isHydrating&&(w===!1||w instanceof Error)){const k=w||Rb({statusCode:404,statusMessage:`Page Not Found: ${s}`});return await e.runWithContext(()=>wl(k)),!1}if(w||w===!1)return w}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,m,g)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(zG),v.matched.length===0&&await e.runWithContext(()=>wl(Rb({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(s),name:void 0,force:!0}),c.options.scrollBehavior=Zs.scrollBehavior}catch(v){await e.runWithContext(()=>wl(v))}}),{provide:{router:c}}}}),YQ=Ds({name:"nuxt:payload",setup(e){EG()&&(e.hooks.hook("link:prefetch",async t=>{rp(t).protocol||await F$(t)}),Ls().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await F$(t.path);r&&Object.assign(e.static.data,r.data)}))}}),ZQ=Rm(()=>za(()=>Promise.resolve().then(()=>NZ),void 0,import.meta.url).then(e=>e.default)),XQ=Rm(()=>za(()=>import("./IconCSS.7a0c5156.js"),["./IconCSS.7a0c5156.js","./IconCSS.382836c9.css"],import.meta.url).then(e=>e.default)),tY=[["Icon",ZQ],["IconCSS",XQ]],eY=Ds({name:"nuxt:global-components",setup(e){for(const[t,n]of tY)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),nY=Ds({name:"nuxt:head",setup(e){const n=yG();n.push(jG),e.vueApp.use(n);{let r=!0;const o=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",i=>{i.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",o),e.hooks.hook("app:suspense:resolve",o)}}}),Hp={},rY=Ds({name:"nuxt:prefetch",setup(e){const t=Ls();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Hp[r]=="function"&&await Hp[r]()})}),e.hooks.hook("link:prefetch",n=>{if(np(n))return;const r=t.resolve(n);if(!r)return;const o=r?.meta?.layout;let i=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];i=i.filter(a=>typeof a=="string");for(const a of i)typeof zb[a]=="function"&&zb[a]();o&&typeof Hp[o]=="function"&&Hp[o]()})}}),Bb=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),oY=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),iY=e=>{const t=cr();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Bb(e)}):Bb(e)},aY=()=>null;function Ok(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");o.server=o.server??!0,o.default=o.default??aY,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0;const i=cr(),a=()=>i.isHydrating?i.payload.data[n]:i.static.data[n],s=()=>a()!==void 0;i._asyncData[n]||(i._asyncData[n]={data:Tn(a()??o.default()),pending:Tn(!s()),error:fk(i.payload._errors,n),status:Tn("idle")});const c={...i._asyncData[n]};c.refresh=c.execute=(d={})=>{if(i._asyncDataPromises[n]){if(d.dedupe===!1)return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((d._initial||i.isHydrating&&d._initial!==!1)&&s())return a();c.pending.value=!0,c.status.value="pending";const h=new Promise((p,v)=>{try{p(r(i))}catch(m){v(m)}}).then(p=>{if(h.cancelled)return i._asyncDataPromises[n];let v=p;o.transform&&(v=o.transform(p)),o.pick&&(v=sY(v,o.pick)),c.data.value=v,c.error.value=null,c.status.value="success"}).catch(p=>{if(h.cancelled)return i._asyncDataPromises[n];c.error.value=p,c.data.value=Ie(o.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,i.payload.data[n]=c.data.value,c.error.value&&(i.payload._errors[n]=d0(c.error.value)),delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=h,i._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),l=o.server!==!1&&i.payload.serverRendered;{const d=cs();if(d&&!d._nuxtOnBeforeMountCbs){d._nuxtOnBeforeMountCbs=[];const p=d._nuxtOnBeforeMountCbs;d&&(C9(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),nf(()=>p.splice(0,p.length)))}l&&i.isHydrating&&s()?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):d&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?d._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&no(o.watch,()=>c.refresh());const h=i.hook("app:data:refresh",p=>{if(!p||p.includes(n))return c.refresh()});d&&nf(h)}const f=Promise.resolve(i._asyncDataPromises[n]).then(()=>c);return Object.assign(f,c),f}function sY(e,t){const n={};for(const r of t)n[r]=e[r];return n}async function NI(e,t=Ls()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>NI(e,t));t._routePreloaded.add(n);const i=r.map(a=>a.components?.default).filter(a=>typeof a=="function");for(const a of i){const s=Promise.resolve(a()).catch(()=>{}).finally(()=>o.splice(o.indexOf(s)));o.push(s)}await Promise.all(o)}function cY(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||n?.expires<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:cr().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const uY=(...e)=>e.find(t=>t!==void 0),lY="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function fY(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const i=e.trailingSlash==="append"?Lm:sI;if(typeof r=="string")return i(r,!0);const a="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(a,!0)}};return Bo({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const i=Ls(),a=sr(()=>{const f=r.to||r.href||"";return n(f,i.resolve)}),s=sr(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||np(a.value,{acceptRelative:!0})),c=Tn(!1),u=Tn(null),l=f=>{u.value=r.custom?f?.$el?.nextElementSibling:f?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!hY()){const d=cr();let h,p=null;Ku(()=>{const v=dY();iY(()=>{h=Bb(()=>{u?.value?.tagName&&(p=v.observe(u.value,async()=>{p?.(),p=null;const m=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!s.value&&NI(a.value,i).catch(()=>{})]),c.value=!0}))})})}),ep(()=>{h&&oY(h),p?.(),p=null})}return()=>{if(!s.value){const v={ref:l,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),Do(Wq("RouterLink"),v,o.default)}const f=typeof a.value=="object"?i.resolve(a.value)?.href??null:a.value||null,d=r.target||null,h=r.noRel?null:uY(r.rel,e.externalRelAttribute,f?lY:"")||null,p=()=>LG(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:p,get route(){if(!f)return;const v=rp(f);return{path:v.pathname,fullPath:v.pathname,get query(){return aI(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:h,target:d,isExternal:s.value,isActive:!1,isExactActive:!1}):null:Do("a",{ref:u,href:f,rel:h,target:d},o.default?.())}}})}const DI=fY({componentName:"NuxtLink"});function dY(){const e=cr();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,a)=>(t||(t=new IntersectionObserver(s=>{for(const c of s){const u=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&u&&u()}})),n.set(i,a),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function hY(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const pY={},vY=AG(pY);function mY(){const e=cr();return e._appConfig||(e._appConfig=Xa(vY)),e._appConfig}const gY="__NUXT_COLOR_MODE__",yY="ColorScheme",bY="nuxt-color-mode",ms=window[gY],wY=Ds(e=>{const t=u0("color-mode",()=>Xa({preference:ms.preference,value:ms.value,unknown:!1,forced:!1})).value;Ls().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?ms.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=ms.getColorScheme())}))}no(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=ms.getColorScheme(),r()):t.value=o,window.localStorage?.setItem(bY,o))},{immediate:!0}),no(()=>t.value,(o,i)=>{ms.removeColorScheme(i),ms.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=ms.preference,t.value=ms.value,t.unknown=!1)}),e.provide("colorMode",t)});const xY=Ds(()=>{}),kY=Ds({name:"nuxt:chunk-reload",setup(e){const t=Ls(),n=$k(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)}),t.onError((o,i)=>{if(r.has(o)){const s="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:c0(n.app.baseURL,i.fullPath);cY({path:s,persistState:!0})}})}}),jY=[FG,QQ,YQ,eY,nY,rY,wY,xY,kY],Mk=Bo({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Ln(),ri("div",{class:Vr(["n-icon",t.icon])},null,2))}}),_Y=Bo({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Mk;return Ln(),go(mk(t.to?Ie(DI):"button"),xk({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:to(()=>[Au(t.$slots,"icon",{},()=>[t.icon?(Ln(),go(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ta("",!0)]),Au(t.$slots,"default")]),_:3},16,["to"])}}}),$Y=Bo({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=Tn(!1);return Ku(()=>{r.value=!0}),o=>{if(r.value)return t.default?.();const i=t.fallback||t.placeholder;if(i)return i();const a=o.fallback||o.placeholder||"",s=o.fallbackTag||o.placeholderTag||"span";return ri(s,n,a)}}}),LI=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},SY={name:yY,props:{placeholder:String,tag:{type:String,default:"span"}}};function CY(e,t,n,r,o,i){const a=$Y;return Ln(),go(a,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:to(()=>[Au(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const EY=LI(SY,[["render",CY]]),zI=()=>u0("color-mode").value,OY=Bo({__name:"NDarkToggle",setup(e){const t=zI(),n=sr({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(a){if(!r||!a){n.value=!n.value;return}const s=a.clientX,c=a.clientY,u=Math.hypot(Math.max(s,innerWidth-s),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await Uu()}).ready.then(()=>{const f=[`circle(0px at ${s}px ${c}px)`,`circle(${u}px at ${s}px ${c}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const i={mode:t,isDark:n,toggle:o};return(a,s)=>{const c=EY;return Ln(),go(c,{tag:"span"},{default:to(()=>[Au(a.$slots,"default",K7(bk(i)))]),_:3})}}}),BI=Object.freeze({left:0,top:0,width:16,height:16}),FI=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pk=Object.freeze({...BI,...FI});Object.freeze({...Pk,body:"",hidden:!1});({...BI});const HI=Object.freeze({width:null,height:null}),VI=Object.freeze({...HI,...FI});function MY(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in HI?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const PY=/[\s,]+/;function AY(e,t){t.split(PY).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function TY(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return t}const RY=/(-?[0-9.]*[0-9]+[0-9.]*)/g,IY=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cS(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(RY);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=IY.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*t*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}const NY=e=>e==="unset"||e==="undefined"||e==="none";function DY(e,t){const n={...Pk,...e},r={...VI,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):g&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=o.height/2+o.top,v.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,v.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),v.length&&(i='<g transform="'+v.join(" ")+'">'+i+"</g>")});const a=r.width,s=r.height,c=o.width,u=o.height;let l,f;a===null?(f=s===null?"1em":s==="auto"?u:s,l=cS(f,c/u)):(l=a==="auto"?c:a,f=s===null?cS(l,u/c):s==="auto"?u:s);const d={},h=(p,v)=>{NY(v)||(d[p]=v.toString())};return h("width",l),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+u.toString(),{attributes:d,body:i}}const LY=/\sid="(\S+)"/g,zY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let BY=0;function FY(e,t=zY){const n=[];let r;for(;r=LY.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(BY++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function HY(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function VY(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function WY(e){return"data:image/svg+xml,"+VY(e)}function qY(e){return'url("'+WY(e)+'")'}const uS={...VI,inline:!1},UY={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},KY={display:"inline-block"},Fb={backgroundColor:"currentColor"},WI={backgroundColor:"transparent"},lS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fS={webkitMask:Fb,mask:Fb,background:WI};for(const e in fS){const t=fS[e];for(const n in lS)t[e+n]=lS[n]}const tm={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";tm[e+"-flip"]=t,tm[e.slice(0,1)+"-flip"]=t,tm[e+"Flip"]=t});function dS(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const JY=(e,t)=>{const n=MY(uS,t),r={...UY},o=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in t){const m=t[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&AY(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=TY(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=tm[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):uS[v]===void 0&&(r[v]=m)}}}const c=DY(e,n),u=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...s},Object.assign(r,u);let v=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=FY(c.body,m?()=>m+"ID"+v++:"iconifyVue"),Do("svg",r)}const{body:l,width:f,height:d}=e,h=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),p=HY(l,{...u,width:f+"",height:d+""});return r.style={...i,"--svg":qY(p),width:dS(u.width),height:dS(u.height),...KY,...h?Fb:WI,...s},Do("span",r)},GY=Object.create(null),QY=Bo({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?GY[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:JY({...Pk,...n},e)}}),qd=/^[a-z0-9]+(-[a-z0-9]+)*$/,p0=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:r,prefix:c,name:s};return t&&!em(u)?null:u}const i=o[0],a=i.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!em(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:i};return t&&!em(s,n)?null:s}return null},em=(e,t)=>e?!!((e.provider===""||e.provider.match(qd))&&(t&&e.prefix===""||e.prefix.match(qd))&&e.name.match(qd)):!1,qI=Object.freeze({left:0,top:0,width:16,height:16}),qm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ak=Object.freeze({...qI,...qm}),Hb=Object.freeze({...Ak,body:"",hidden:!1});function YY(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function hS(e,t){const n=YY(e,t);for(const r in Hb)r in qm?r in e&&!(r in n)&&(n[r]=qm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ZY(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const s=r[a]&&r[a].parent,c=s&&i(s);c&&(o[a]=[s].concat(c))}return o[a]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function XY(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(s){i=hS(r[s]||o[s],i)}return a(t),n.forEach(a),hS(e,i)}function UI(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=ZY(e);for(const o in r){const i=r[o];i&&(t(o,XY(e,o,i)),n.push(o))}return n}const tZ={provider:"",aliases:{},not_found:{},...qI};function A1(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function KI(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!A1(e,tZ))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o.match(qd)||typeof i.body!="string"||!A1(i,Hb))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(qd)||typeof a!="string"||!n[a]&&!r[a]||!A1(i,Hb))return null}return t}const pS=Object.create(null);function eZ(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Tu(e,t){const n=pS[e]||(pS[e]=Object.create(null));return n[t]||(n[t]=eZ(e,t))}function Tk(e,t){return KI(t)?UI(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function nZ(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mh=!1;function JI(e){return typeof e=="boolean"&&(mh=e),mh}function rZ(e){const t=typeof e=="string"?p0(e,!0,mh):e;if(t){const n=Tu(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function oZ(e,t){const n=p0(e,!0,mh);if(!n)return!1;const r=Tu(n.provider,n.prefix);return nZ(r,n.name,t)}function iZ(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mh&&!t&&!e.prefix){let o=!1;return KI(e)&&(e.prefix="",UI(e,(i,a)=>{a&&oZ(i,a)&&(o=!0)})),o}const n=e.prefix;if(!em({provider:t,prefix:n,name:"a"}))return!1;const r=Tu(t,n);return!!Tk(r,e)}const aZ=Object.freeze({width:null,height:null}),sZ=Object.freeze({...aZ,...qm});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Vb=Object.create(null);function cZ(e,t){Vb[e]=t}function Wb(e){return Vb[e]||Vb[""]}function Rk(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Ik=Object.create(null),id=["https://api.simplesvg.com","https://api.unisvg.com"],nm=[];for(;id.length>0;)id.length===1||Math.random()>.5?nm.push(id.shift()):nm.push(id.pop());Ik[""]=Rk({resources:["https://api.iconify.design"].concat(nm)});function uZ(e,t){const n=Rk(t);return n===null?!1:(Ik[e]=n,!0)}function Nk(e){return Ik[e]}const lZ=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let vS=lZ();function fZ(e,t){const n=Nk(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=t+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function dZ(e){return e===404}const hZ=(e,t,n)=>{const r=[],o=fZ(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((c,u)=>{s+=c.length+1,s>=o&&u>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function pZ(e){if(typeof e=="string"){const t=Nk(e);if(t)return t.path}return"/"}const vZ=(e,t,n)=>{if(!vS){n("abort",424);return}let r=pZ(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),c=new URLSearchParams({icons:s});r+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;vS(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(dZ(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},mZ={prepare:hZ,send:vZ};function gZ(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,a=o.prefix,s=o.name,c=n[i]||(n[i]=Object.create(null)),u=c[a]||(c[a]=Tu(i,a));let l;s in u.icons?l=t.loaded:a===""||u.missing.has(s)?l=t.missing:l=t.pending;const f={provider:i,prefix:a,name:s};l.push(f)}),t}function GI(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function yZ(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])a.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))a.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||GI([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let bZ=0;function wZ(e,t,n){const r=bZ++,o=GI.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function xZ(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?p0(o,t,n):o;i&&r.push(i)}),r}var kZ={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function jZ(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const O=Math.floor(Math.random()*x.length);a.push(x[O]),x=x.slice(0,O).concat(x.slice(O+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let c="pending",u=0,l,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){c==="pending"&&(c="aborted"),p(),d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function m(x,O){O&&(h=[]),typeof x=="function"&&h.push(x)}function g(){return{startTime:s,payload:t,status:c,queriesSent:u,queriesPending:d.length,subscribe:m,abort:v}}function y(){c="failed",h.forEach(x=>{x(void 0,l)})}function b(){d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function w(x,O,_){const M=O!=="success";switch(d=d.filter(T=>T!==x),c){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){l=_,y();return}if(M){l=_,d.length||(a.length?k():y());return}if(p(),b(),!e.random){const T=e.resources.indexOf(x.resource);T!==-1&&T!==e.index&&(e.index=T)}c="completed",h.forEach(T=>{T(_)})}function k(){if(c!=="pending")return;p();const x=a.shift();if(x===void 0){if(d.length){f=setTimeout(()=>{p(),c==="pending"&&(b(),y())},e.timeout);return}y();return}const O={status:"pending",resource:x,callback:(_,M)=>{w(O,_,M)}};d.push(O),u++,f=setTimeout(k,e.rotate),n(x,t,O.callback)}return setTimeout(k),g}function QI(e){const t={...kZ,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,u){const l=jZ(t,s,c,(f,d)=>{r(),u&&u(f,d)});return n.push(l),l}function i(s){return n.find(c=>s(c))||null}return{query:o,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:r}}function mS(){}const T1=Object.create(null);function _Z(e){if(!T1[e]){const t=Nk(e);if(!t)return;const n=QI(t),r={config:t,redundancy:n};T1[e]=r}return T1[e]}function $Z(e,t,n){let r,o;if(typeof e=="string"){const i=Wb(e);if(!i)return n(void 0,424),mS;o=i.send;const a=_Z(e);a&&(r=a.redundancy)}else{const i=Rk(e);if(i){r=QI(i);const a=e.resources?e.resources[0]:"",s=Wb(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),mS):r.query(t,o,n)().abort}const gS="iconify2",gh="iconify",YI=gh+"-count",yS=gh+"-version",ZI=36e5,SZ=168;function qb(e,t){try{return e.getItem(t)}catch{}}function Dk(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bS(e,t){try{e.removeItem(t)}catch{}}function Ub(e,t){return Dk(e,YI,t.toString())}function Kb(e){return parseInt(qb(e,YI))||0}const v0={local:!0,session:!0},XI={local:new Set,session:new Set};let Lk=!1;function CZ(e){Lk=e}let Vp=typeof window>"u"?{}:window;function tN(e){const t=e+"Storage";try{if(Vp&&Vp[t]&&typeof Vp[t].length=="number")return Vp[t]}catch{}v0[e]=!1}function eN(e,t){const n=tN(e);if(!n)return;const r=qb(n,yS);if(r!==gS){if(r){const s=Kb(n);for(let c=0;c<s;c++)bS(n,gh+c.toString())}Dk(n,yS,gS),Ub(n,0);return}const o=Math.floor(Date.now()/ZI)-SZ,i=s=>{const c=gh+s.toString(),u=qb(n,c);if(typeof u=="string"){try{const l=JSON.parse(u);if(typeof l=="object"&&typeof l.cached=="number"&&l.cached>o&&typeof l.provider=="string"&&typeof l.data=="object"&&typeof l.data.prefix=="string"&&t(l,s))return!0}catch{}bS(n,c)}};let a=Kb(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Ub(n,a)):XI[e].add(s))}function nN(){if(!Lk){CZ(!0);for(const e in v0)eN(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=Tu(r,o);if(!Tk(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function EZ(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in v0)eN(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function OZ(e,t){Lk||nN();function n(r){let o;if(!v0[r]||!(o=tN(r)))return;const i=XI[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Kb(o),!Ub(o,a+1))return;const s={cached:Math.floor(Date.now()/ZI),provider:e.provider,data:t};return Dk(o,gh+a.toString(),JSON.stringify(s))}t.lastModified&&!EZ(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function wS(){}function MZ(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,yZ(e)}))}function PZ(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let i;if(!o||!(i=Wb(n)))return;i.prepare(n,r,o).forEach(s=>{$Z(n,s,c=>{if(typeof c!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=Tk(e,c);if(!u.length)return;const l=e.pendingIcons;l&&u.forEach(f=>{l.delete(f)}),OZ(e,c)}catch(u){console.error(u)}MZ(e)})})}))}const AZ=(e,t)=>{const n=xZ(e,!0,JI()),r=gZ(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,wS)}),()=>{c=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===s&&u===a)return;a=u,s=l,i.push(Tu(u,l));const f=o[u]||(o[u]=Object.create(null));f[l]||(f[l]=[])}),r.pending.forEach(c=>{const{provider:u,prefix:l,name:f}=c,d=Tu(u,l),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[u][l].push(f))}),i.forEach(c=>{const{provider:u,prefix:l}=c;o[u][l].length&&PZ(c,o[u][l])}),t?wZ(t,r,i):wS},TZ=e=>new Promise((t,n)=>{const r=typeof e=="string"?p0(e,!0):e;if(!r){n(e);return}AZ([r||e],o=>{if(o.length&&r){const i=rZ(r);if(i){t({...Ak,...i});return}}n(e)})});({...sZ});const xS={backgroundColor:"currentColor"},RZ={backgroundColor:"transparent"},kS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jS={webkitMask:xS,mask:xS,background:RZ};for(const e in jS){const t=jS[e];for(const n in kS)t[e+n]=kS[n]}const R1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";R1[e+"-flip"]=t,R1[e.slice(0,1)+"-flip"]=t,R1[e+"Flip"]=t});JI(!0);cZ("",mZ);if(typeof document<"u"&&typeof window<"u"){nN();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!iZ(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;uZ(n,o)||console.error(r)}catch{console.error(r)}}}}({...Ak});const IZ=Bo({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=e,o=cr(),i=mY(),a=u0("icons",()=>({})),s=Tn(!1),c=sr(()=>((i.nuxtIcon?.aliases||{})[r.name]||r.name).replace(/^i-/,"")),u=sr(()=>a.value?.[c.value]),l=sr(()=>o.vueApp.component(c.value)),f=sr(()=>{if(!r.size&&typeof i.nuxtIcon?.size=="boolean"&&!i.nuxtIcon?.size)return;const p=r.size||i.nuxtIcon?.size||"1em";return String(Number(p))===p?`${p}px`:p}),d=sr(()=>i?.nuxtIcon?.class??"icon");async function h(){l.value||a.value?.[c.value]||(s.value=!0,a.value[c.value]=await TZ(c.value).catch(()=>{}),s.value=!1)}return no(()=>c.value,h),!l.value&&([t,n]=vb(()=>h()),t=await t,n()),(p,v)=>s.value?(Ln(),ri("span",{key:0,class:Vr(d.value),style:jc({width:f.value,height:f.value})},null,6)):u.value?(Ln(),go(Ie(QY),{key:1,icon:u.value,class:Vr(d.value),width:f.value,height:f.value},null,8,["icon","class","width","height"])):l.value?(Ln(),go(mk(l.value),{key:2,class:Vr(d.value),width:f.value,height:f.value},null,8,["class","width","height"])):(Ln(),ri("span",{key:3,class:Vr(d.value),style:jc({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Au(p.$slots,"default",{},()=>[mu(Zv(e.name),1)],!0)],6))}});const rN=LI(IZ,[["__scopeId","data-v-0f53a660"]]),NZ=Object.freeze(Object.defineProperty({__proto__:null,default:rN},Symbol.toStringTag,{value:"Module"}));function _S(e){return typeof e=="function"?e():Ie(e)}const DZ=e=>typeof e<"u",$S=()=>{};function LZ(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function zZ(e,t={}){let n,r,o=$S;const i=s=>{clearTimeout(s),o(),o=$S};return s=>{const c=_S(e),u=_S(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((l,f)=>{o=t.rejectOnCancel?f:l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,l(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,l(s())},c)})}}function zk(e,t=200,n={}){return LZ(zZ(t,n),e)}function BZ(e){return JSON.parse(JSON.stringify(e))}function FZ(e,t,n,r={}){var o,i,a;const{clone:s=!1,passive:c=!1,eventName:u,deep:l=!1,defaultValue:f,shouldEmit:d}=r,h=cs(),p=n||h?.emit||((o=h?.$emit)==null?void 0:o.bind(h))||((a=(i=h?.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(h?.proxy));let v=u;t||(t="modelValue"),v=v||`update:${t.toString()}`;const m=b=>s?typeof s=="function"?s(b):BZ(b):b,g=()=>DZ(e[t])?m(e[t]):f,y=b=>{d?d(b)&&p(v,b):p(v,b)};if(c){const b=g(),w=Tn(b);return no(()=>e[t],k=>w.value=m(k)),no(w,k=>{(k!==e[t]||l)&&y(k)},{deep:l}),w}else return sr({get(){return g()},set(b){y(b)}})}const HZ={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},VZ=Bo({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=FZ(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=Mk;return Ln(),ri("div",HZ,[Au(o.$slots,"icon",{},()=>[o.icon?(Ln(),go(a,{key:0,icon:o.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ta("",!0)]),Tq(Qn("input",xk({"onUpdate:modelValue":i[0]||(i[0]=s=>Ur(r)?r.value=s:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[qU,Ie(r)]])])}}}),WZ=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Jb=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&WZ(e.route,n));return typeof r=="function"?r(e.route):r},qZ=(e,t)=>({default:()=>e?Do(Lq,e===!0?{}:e,t):t}),UZ=Bo({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return Dl(l0,Xh(r)),()=>Do(e.vnode,{ref:e.vnodeRef})}}),KZ=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Do(e,t,n):n.default?.()}),JZ=Bo({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=cr(),o=Tn(),i=ci(l0,null);n({pageRef:o});const a=ci(NG,null);let s;const c=r.deferHydration();return()=>Do(II,{name:e.name,route:e.route,...t},{default:u=>{const l=YZ(i,u.route,u.Component),f=i&&i.matched.length===u.route.matched.length;if(!u.Component)return s&&!f?s:void 0;if(s&&a&&!a.isCurrent(u.route))return s;if(l&&i&&(!a||a?.isCurrent(i)))return f?s:null;const d=Jb(u,e.pageKey),h=!!(e.transition??u.route.meta.pageTransition??Pb),p=h&&QZ([e.transition,u.route.meta.pageTransition,Pb,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean));return s=KZ(jk,h&&p,qZ(e.keepalive??u.route.meta.keepalive??_G,Do(y9,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Uu(()=>r.callHook("page:finish",u.Component).finally(c))}},{default:()=>Do(UZ,{key:d,vnode:u.Component,route:u.route,renderKey:d,trackRootNodes:h,vnodeRef:o})}))).default(),s}})}});function GZ(e){return Array.isArray(e)?e:e?[e]:[]}function QZ(e){const t=e.map(n=>({...n,onAfterLeave:GZ(n.onAfterLeave)}));return PG(...t)}function YZ(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,i)=>o.components?.default!==e.matched[i]?.components?.default)||n&&Jb({route:t,Component:n})!==Jb({route:e,Component:n})}const ZZ=6e4;function oN(e){return e}const XZ=oN,{setTimeout:tX}=globalThis,eX=Math.random.bind(Math);function nX(e,t){const{post:n,on:r,eventNames:o=[],serialize:i=oN,deserialize:a=XZ,resolver:s,timeout:c=ZZ}=t,u=new Map;let l;const f=new Proxy({},{get(d,h){if(h==="$functions")return e;const p=(...m)=>{n(i({m:h,a:m,t:"q"}))};if(o.includes(h))return p.asEvent=p,p;const v=async(...m)=>(await l,new Promise((g,y)=>{const b=oX();u.set(b,{resolve:g,reject:y}),n(i({m:h,a:m,i:b,t:"q"})),c>=0&&tX(()=>{y(new Error(`[birpc] timeout on calling "${h}"`)),u.delete(b)},c)}));return v.asEvent=p,v}});return l=r(async(d,...h)=>{const p=a(d);if(p.t==="q"){const{m:v,a:m}=p;let g,y;const b=s?s(v,e[v]):e[v];if(!b)y=new Error(`[birpc] function "${v}" not found`);else try{g=await b.apply(f,m)}catch(w){y=w}p.i&&(y&&t.onError&&t.onError(y,v,m),n(i({t:"s",i:p.i,r:g,e:y}),...h))}else{const{i:v,r:m,e:g}=p,y=u.get(v);y&&(g?y.reject(g):y.resolve(m)),u.delete(v)}}),f}const rX="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function oX(e=21){let t="",n=e;for(;n--;)t+=rX[eX()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:iX,stringify:aX}=JSON,{keys:sX}=Object,yh=String,iN="string",SS={},Um="object",aN=(e,t)=>t,cX=e=>e instanceof yh?yh(e):e,uX=(e,t)=>typeof t===iN?new yh(t):t,sN=(e,t,n,r)=>{const o=[];for(let i=sX(n),{length:a}=i,s=0;s<a;s++){const c=i[s],u=n[c];if(u instanceof yh){const l=e[u];typeof l===Um&&!t.has(l)?(t.add(l),n[c]=SS,o.push({k:c,a:[e,t,l,r]})):n[c]=r.call(n,c,l)}else n[c]!==SS&&(n[c]=r.call(n,c,u))}for(let{length:i}=o,a=0;a<i;a++){const{k:s,a:c}=o[a];n[s]=r.call(n,s,sN.apply(null,c))}return n},CS=(e,t,n)=>{const r=yh(t.push(n)-1);return e.set(n,r),r},lX=(e,t)=>{const n=iX(e,uX).map(cX),r=n[0],o=t||aN,i=typeof r===Um&&r?sN(n,new Set,r,o):r;return o.call({"":i},"",i)},fX=(e,t,n)=>{const r=t&&typeof t===Um?(l,f)=>l===""||-1<t.indexOf(l)?f:void 0:t||aN,o=new Map,i=[],a=[];let s=+CS(o,i,r.call({"":e},"",e)),c=!s;for(;s<i.length;)c=!0,a[s]=aX(i[s++],u,n);return"["+a.join(",")+"]";function u(l,f){if(c)return c=!c,f;const d=r.call(this,l,f);switch(typeof d){case Um:if(d===null)return d;case iN:return o.get(d)||CS(o,i,d)}return d}},dX=2e3;let cN=()=>{};const ES=Tn(!0),OS=Tn(),uN=Tn(null);function hX(e){const t=nX(e,{post:n=>uN.value.send(n),on:n=>{cN=n},serialize:fX,deserialize:lX});return{useServerConfig:async function(){return(await Ok("server-config",()=>t.getConfig())).data}}}async function lN(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>cN(String(n.data))),t.addEventListener("error",n=>{OS.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{uN.value=await lN(e)},dX)}),ES.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),ES.value=!1,OS.value=null,t}const m0=Tn(Date.now()),MS=Tn(null),fN=window.location.host,Ha=Tn("/"),dN=Tn("/"),Wp=Tn({}),Od=Tn({}),iu=Tn(!1),I1=Tn({}),Md=zk(()=>{m0.value=Date.now()},200),pX=zk(()=>{m0.value=Date.now()},1e3),vX={refresh(){iu.value=!1,Od.value={},Md()}};await lN(fN);hX(vX);const ol=Tn(null),Bk=sr(()=>eI(dN.value,`${window.location.protocol}//${fN}`)),f4t=sr(()=>`${Bk.value}${Ha.value==="/"?"":Ha.value}`);async function PS(){const{data:e}=await Ok(()=>$fetch("/api/og-image-options",{baseURL:Bk.value,query:{path:Ha.value}}),{watch:[Ha,m0]},"$XVR8o8RMBy");return e}async function d4t(){const{data:e}=await Ok(()=>$fetch("/api/og-image-vnode",{query:{path:Ha.value},baseURL:Bk.value}),{watch:[Ha,m0]},"$cHgKigQ0kS");return e}var N1,AS,TS,RS,IS,NS,DS,LS,zS,BS,FS,HS,VS,WS,qS,US,KS,JS,GS,QS,YS,ZS,XS,tC,eC,nC,rC,oC,iC,aC,sC,cC,uC,lC,fC,dC,hC,pC,vC,mC,gC,yC,bC,wC,xC,kC,jC,_C,$C,SC,CC,EC,OC,MC,PC,AC,TC,RC,IC,NC,DC,LC,zC,BC,FC,HC,VC,WC,qC,UC,KC,JC,GC,QC,YC,ZC,XC,t3,e3,n3,r3,o3,i3,a3,s3,c3,u3,l3,f3,d3,h3,p3,v3,m3,g3,y3,b3,w3,x3,k3,j3,_3,$3,S3,C3,E3,O3,M3,P3,A3,T3,R3,I3,N3,D3,L3,z3,B3,F3,H3,V3,W3,q3,U3,K3,J3,G3,Q3,Y3,Z3,X3,t4,e4,n4,r4,o4,i4,a4,s4,c4,u4,l4,f4,d4,h4,p4,v4,m4,g4,y4,b4,w4,x4,k4,j4,_4,$4,S4,C4,E4,O4,M4,P4,A4,T4,R4,I4,N4,D4,L4,z4,B4,F4,H4,V4,W4,q4,U4,K4,J4,G4,Q4,Y4,Z4,X4,t8,e8,n8,r8,o8,i8,a8,s8,c8,u8,l8,f8,d8,h8,p8,v8,m8,g8,y8,b8,w8,x8,k8,j8,_8,$8,S8,C8,E8,O8,M8,P8,A8,T8,R8,I8,N8,D8,L8,z8,B8,F8,H8,V8,W8,q8,U8,K8,J8,G8,Q8,Y8,Z8,X8,t5,e5,n5,r5,o5,i5,a5,s5,c5,u5,l5,f5,d5,h5,p5,v5,m5,g5,y5,b5,w5,x5,k5,j5,_5,$5,S5,C5,E5,O5,M5,P5,A5,T5,R5,I5,N5,D5,L5,z5,B5,F5,H5,V5,mX=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],gX=["mainAxis","crossAxis","limiter"];function it(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function hN(e,t){if(e==null)return{};var n,r,o=function(a,s){if(a==null)return{};var c,u,l={},f=Object.keys(a);for(u=0;u<f.length;u++)c=f[u],s.indexOf(c)>=0||(l[c]=a[c]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dt(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g0(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,i=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw i}}}}function Wt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wt=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(I,H,S){I[H]=S.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(I,H,S){return Object.defineProperty(I,H,{value:S,enumerable:!0,configurable:!0,writable:!0}),I[H]}try{c({},"")}catch{c=function(H,S,D){return H[S]=D}}function u(I,H,S,D){var V=H&&H.prototype instanceof d?H:d,N=Object.create(V.prototype),A=new M(D||[]);return r(N,"_invoke",{value:k(I,S,A)}),N}function l(I,H,S){try{return{type:"normal",arg:I.call(H,S)}}catch(D){return{type:"throw",arg:D}}}e.wrap=u;var f={};function d(){}function h(){}function p(){}var v={};c(v,i,function(){return this});var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==t&&n.call(g,i)&&(v=g);var y=p.prototype=d.prototype=Object.create(v);function b(I){["next","throw","return"].forEach(function(H){c(I,H,function(S){return this._invoke(H,S)})})}function w(I,H){function S(V,N,A,$){var C=l(I[V],I,N);if(C.type!=="throw"){var B=C.arg,F=B.value;return F&&le(F)=="object"&&n.call(F,"__await")?H.resolve(F.__await).then(function(j){S("next",j,A,$)},function(j){S("throw",j,A,$)}):H.resolve(F).then(function(j){B.value=j,A(B)},function(j){return S("throw",j,A,$)})}$(C.arg)}var D;r(this,"_invoke",{value:function(V,N){function A(){return new H(function($,C){S(V,N,$,C)})}return D=D?D.then(A,A):A()}})}function k(I,H,S){var D="suspendedStart";return function(V,N){if(D==="executing")throw new Error("Generator is already running");if(D==="completed"){if(V==="throw")throw N;return R()}for(S.method=V,S.arg=N;;){var A=S.delegate;if(A){var $=x(A,S);if($){if($===f)continue;return $}}if(S.method==="next")S.sent=S._sent=S.arg;else if(S.method==="throw"){if(D==="suspendedStart")throw D="completed",S.arg;S.dispatchException(S.arg)}else S.method==="return"&&S.abrupt("return",S.arg);D="executing";var C=l(I,H,S);if(C.type==="normal"){if(D=S.done?"completed":"suspendedYield",C.arg===f)continue;return{value:C.arg,done:S.done}}C.type==="throw"&&(D="completed",S.method="throw",S.arg=C.arg)}}}function x(I,H){var S=H.method,D=I.iterator[S];if(D===void 0)return H.delegate=null,S==="throw"&&I.iterator.return&&(H.method="return",H.arg=void 0,x(I,H),H.method==="throw")||S!=="return"&&(H.method="throw",H.arg=new TypeError("The iterator does not provide a '"+S+"' method")),f;var V=l(D,I.iterator,H.arg);if(V.type==="throw")return H.method="throw",H.arg=V.arg,H.delegate=null,f;var N=V.arg;return N?N.done?(H[I.resultName]=N.value,H.next=I.nextLoc,H.method!=="return"&&(H.method="next",H.arg=void 0),H.delegate=null,f):N:(H.method="throw",H.arg=new TypeError("iterator result is not an object"),H.delegate=null,f)}function O(I){var H={tryLoc:I[0]};1 in I&&(H.catchLoc=I[1]),2 in I&&(H.finallyLoc=I[2],H.afterLoc=I[3]),this.tryEntries.push(H)}function _(I){var H=I.completion||{};H.type="normal",delete H.arg,I.completion=H}function M(I){this.tryEntries=[{tryLoc:"root"}],I.forEach(O,this),this.reset(!0)}function T(I){if(I){var H=I[i];if(H)return H.call(I);if(typeof I.next=="function")return I;if(!isNaN(I.length)){var S=-1,D=function V(){for(;++S<I.length;)if(n.call(I,S))return V.value=I[S],V.done=!1,V;return V.value=void 0,V.done=!0,V};return D.next=D}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:h,configurable:!0}),h.displayName=c(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(I){var H=typeof I=="function"&&I.constructor;return!!H&&(H===h||(H.displayName||H.name)==="GeneratorFunction")},e.mark=function(I){return Object.setPrototypeOf?Object.setPrototypeOf(I,p):(I.__proto__=p,c(I,s,"GeneratorFunction")),I.prototype=Object.create(y),I},e.awrap=function(I){return{__await:I}},b(w.prototype),c(w.prototype,a,function(){return this}),e.AsyncIterator=w,e.async=function(I,H,S,D,V){V===void 0&&(V=Promise);var N=new w(u(I,H,S,D),V);return e.isGeneratorFunction(H)?N:N.next().then(function(A){return A.done?A.value:N.next()})},b(y),c(y,s,"Generator"),c(y,i,function(){return this}),c(y,"toString",function(){return"[object Generator]"}),e.keys=function(I){var H=Object(I),S=[];for(var D in H)S.push(D);return S.reverse(),function V(){for(;S.length;){var N=S.pop();if(N in H)return V.value=N,V.done=!1,V}return V.done=!0,V}},e.values=T,M.prototype={constructor:M,reset:function(I){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!I)for(var H in this)H.charAt(0)==="t"&&n.call(this,H)&&!isNaN(+H.slice(1))&&(this[H]=void 0)},stop:function(){this.done=!0;var I=this.tryEntries[0].completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(I){if(this.done)throw I;var H=this;function S(C,B){return N.type="throw",N.arg=I,H.next=C,B&&(H.method="next",H.arg=void 0),!!B}for(var D=this.tryEntries.length-1;D>=0;--D){var V=this.tryEntries[D],N=V.completion;if(V.tryLoc==="root")return S("end");if(V.tryLoc<=this.prev){var A=n.call(V,"catchLoc"),$=n.call(V,"finallyLoc");if(A&&$){if(this.prev<V.catchLoc)return S(V.catchLoc,!0);if(this.prev<V.finallyLoc)return S(V.finallyLoc)}else if(A){if(this.prev<V.catchLoc)return S(V.catchLoc,!0)}else{if(!$)throw new Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return S(V.finallyLoc)}}}},abrupt:function(I,H){for(var S=this.tryEntries.length-1;S>=0;--S){var D=this.tryEntries[S];if(D.tryLoc<=this.prev&&n.call(D,"finallyLoc")&&this.prev<D.finallyLoc){var V=D;break}}V&&(I==="break"||I==="continue")&&V.tryLoc<=H&&H<=V.finallyLoc&&(V=null);var N=V?V.completion:{};return N.type=I,N.arg=H,V?(this.method="next",this.next=V.finallyLoc,f):this.complete(N)},complete:function(I,H){if(I.type==="throw")throw I.arg;return I.type==="break"||I.type==="continue"?this.next=I.arg:I.type==="return"?(this.rval=this.arg=I.arg,this.method="return",this.next="end"):I.type==="normal"&&H&&(this.next=H),f},finish:function(I){for(var H=this.tryEntries.length-1;H>=0;--H){var S=this.tryEntries[H];if(S.finallyLoc===I)return this.complete(S.completion,S.afterLoc),_(S),f}},catch:function(I){for(var H=this.tryEntries.length-1;H>=0;--H){var S=this.tryEntries[H];if(S.tryLoc===I){var D=S.completion;if(D.type==="throw"){var V=D.arg;_(S)}return V}}throw new Error("illegal catch attempt")},delegateYield:function(I,H,S){return this.delegate={iterator:T(I),resultName:H,nextLoc:S},this.method==="next"&&(this.arg=void 0),f}},e}function W5(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ne(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(c){W5(i,r,o,a,s,"next",c)}function s(c){W5(i,r,o,a,s,"throw",c)}a(void 0)})}}function Me(e,t){return vN(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,s,c,u=[],l=!0,f=!1;try{if(s=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;l=!1}else for(;!(l=(i=s.call(o)).done)&&(u.push(i.value),u.length!==r);l=!0);}catch(d){f=!0,a=d}finally{try{if(!l&&o.return!=null&&(c=o.return(),Object(c)!==c))return}finally{if(f)throw a}}return u}}(e,t)||g0(e,t)||pN()}function pN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
7
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vN(e){if(Array.isArray(e))return e}function ff(e){var t=typeof Map=="function"?new Map:void 0;return ff=function(n){if(n===null||(r=n,Function.toString.call(r).indexOf("[native code]")===-1))return n;var r;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Gb(n,arguments,en(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bh(o,n)},ff(e)}function Gb(e,t,n){return Gb=mN()?Reflect.construct.bind():function(r,o,i){var a=[null];a.push.apply(a,o);var s=new(Function.bind.apply(r,a));return i&&bh(s,i.prototype),s},Gb.apply(null,arguments)}function q5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?q5(Object(n),!0).forEach(function(r){Jo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jo(e,t,n){return(t=gN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yn(){return yn=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(i,a){for(;!Object.prototype.hasOwnProperty.call(i,a)&&(i=en(i))!==null;);return i}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},yn.apply(this,arguments)}function Tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bh(e,t)}function bh(e,t){return bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},bh(e,t)}function Rt(e){var t=mN();return function(){var n,r=en(e);if(t){var o=en(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(i,a){if(a&&(le(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return he(i)}(this,n)}}function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mN(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},en(e)}function rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gN(r.key),r)}}function ot(e,t,n){return t&&U5(e.prototype,t),n&&U5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function gN(e){var t=function(n,r){if(le(n)!=="object"||n===null)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var i=o.call(n,r||"default");if(le(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}(e,"string");return le(t)==="symbol"?t:String(t)}function Te(e){return function(t){if(Array.isArray(t))return Qb(t)}(e)||yN(e)||g0(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8
8
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function g0(e,t){if(e){if(typeof e=="string")return Qb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qb(e,t):void 0}}function yN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function le(e){return le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},le(e)}function Bt(){}var bN=function(e){return e};function Yo(e,t){for(var n in t)e[n]=t[n];return e}function wN(e){return e()}function K5(){return Object.create(null)}function Hn(e){e.forEach(wN)}function ro(e){return typeof e=="function"}function Qr(e,t){return e!=e?t==t:e!==t||e&&le(e)==="object"||typeof e=="function"}function We(e,t){return e!=e?t==t:e!==t}function br(e,t,n,r){if(e){var o=xN(e,t,n,r);return e[0](o)}}function xN(e,t,n,r){return e[1]&&r?Yo(n.ctx.slice(),e[1](r(t))):n.ctx}function wr(e,t,n,r){if(e[2]&&r){var o=e[2](r(n));if(t.dirty===void 0)return o;if(le(o)==="object"){for(var i=[],a=Math.max(t.dirty.length,o.length),s=0;s<a;s+=1)i[s]=t.dirty[s]|o[s];return i}return t.dirty|o}return t.dirty}function xr(e,t,n,r,o,i){if(o){var a=xN(t,n,r,i);e.p(a,o)}}function kr(e){if(e.ctx.length>32){for(var t=[],n=e.ctx.length/32,r=0;r<n;r++)t[r]=-1;return t}return-1}function kN(e){var t={};for(var n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function Km(e,t){var n={};for(var r in t=new Set(t),e)t.has(r)||r[0]==="$"||(n[r]=e[r]);return n}function ar(e){return e??""}function io(e){return e&&ro(e.destroy)?e.destroy:Bt}var jN=typeof window<"u",yX=jN?function(){return window.performance.now()}:function(){return Date.now()},Fk=jN?function(e){return requestAnimationFrame(e)}:Bt,Ud=new Set;function _N(e){Ud.forEach(function(t){t.c(e)||(Ud.delete(t),t.f())}),Ud.size!==0&&Fk(_N)}var Hk=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function q(e,t){e.appendChild(t)}function De(e,t,n){var r=Vk(e);if(!r.getElementById(t)){var o=Z("style");o.id=t,o.textContent=n,$N(r,o)}}function Vk(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function bX(e){var t=Z("style");return $N(Vk(e),t),t.sheet}function $N(e,t){return q(e.head||e,t),t.sheet}function lt(e,t,n){e.insertBefore(t,n||null)}function ut(e){e.parentNode&&e.parentNode.removeChild(e)}function Or(e,t){for(var n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function Z(e){return document.createElement(e)}function ts(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Qt(e){return document.createTextNode(e)}function jt(){return Qt(" ")}function xn(){return Qt("")}function zt(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Ru(e){return function(t){return t.preventDefault(),e.call(this,t)}}function Cc(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function E(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}var wX=["width","height"];function J5(e,t){var n=Object.getOwnPropertyDescriptors(e.__proto__);for(var r in t)t[r]==null?e.removeAttribute(r):r==="style"?e.style.cssText=t[r]:r==="__value"?e.value=e[r]=t[r]:n[r]&&n[r].set&&wX.indexOf(r)===-1?e[r]=t[r]:E(e,r,t[r])}function df(e,t){for(var n in t)E(e,n,t[n])}function $e(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ec(e,t){e.value=t??""}function lc(e,t,n,r){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function G5(e,t,n){for(var r=0;r<e.options.length;r+=1){var o=e.options[r];if(o.__value===t)return void(o.selected=!0)}n&&t===void 0||(e.selectedIndex=-1)}function Nt(e,t,n){e.classList[n?"add":"remove"](t)}function SN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.bubbles,o=r!==void 0&&r,i=n.cancelable,a=i!==void 0&&i,s=document.createEvent("CustomEvent");return s.initCustomEvent(e,o,a,t),s}function es(e,t){return new e(t)}var wh,Jm=new Map,Yb=0;function Q5(e,t,n,r,o,i,a){for(var s=arguments.length>7&&arguments[7]!==void 0?arguments[7]:0,c=16.666/r,u=`{
|
|
@@ -138,6 +138,6 @@ return query;
|
|
|
138
138
|
* Copyright 2017-2021 Andreas Borgen (https://github.com/Sphinxxxx), Adam Brooks (https://github.com/dissimulate)
|
|
139
139
|
* Released under the ISC license.
|
|
140
140
|
*/var S_=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},C_=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Kv=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(n,r){var o=[],i=!0,a=!1,s=void 0;try{for(var c,u=n[Symbol.iterator]();!(i=(c=u.next()).done)&&(o.push(c.value),!r||o.length!==r);i=!0);}catch(l){a=!0,s=l}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(e){return this.indexOf(e)===0},String.prototype.padStart=String.prototype.padStart||function(e,t){for(var n=this;n.length<e;)n=t+n;return n};var s2t={cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"};function a7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return(t>0?e.toFixed(t).replace(/0+$/,"").replace(/\.$/,""):e.toString())||"0"}var c2t=function(){function e(t,n,r,o){S_(this,e);var i=this;if(t!==void 0)if(Array.isArray(t))this.rgba=t;else if(r===void 0){var a=t&&""+t;a&&function(s){if(s.startsWith("hsl")){var c=s.match(/([\-\d\.e]+)/g).map(Number),u=Kv(c,4),l=u[0],f=u[1],d=u[2],h=u[3];h===void 0&&(h=1),l/=360,f/=100,d/=100,i.hsla=[l,f,d,h]}else if(s.startsWith("rgb")){var p=s.match(/([\-\d\.e]+)/g).map(Number),v=Kv(p,4),m=v[0],g=v[1],y=v[2],b=v[3];b===void 0&&(b=1),i.rgba=[m,g,y,b]}else s.startsWith("#")?i.rgba=e.hexToRgb(s):i.rgba=e.nameToRgb(s)||e.hexToRgb(s)}(a.toLowerCase())}else this.rgba=[t,n,r,o===void 0?1:o]}return C_(e,[{key:"printRGB",value:function(t){var n=(t?this.rgba:this.rgba.slice(0,3)).map(function(r,o){return a7(r,o===3?3:0)});return t?"rgba("+n+")":"rgb("+n+")"}},{key:"printHSL",value:function(t){var n=[360,100,100,1],r=["","%","%",""],o=(t?this.hsla:this.hsla.slice(0,3)).map(function(i,a){return a7(i*n[a],a===3?3:1)+r[a]});return t?"hsla("+o+")":"hsl("+o+")"}},{key:"printHex",value:function(t){var n=this.hex;return t?n:n.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=e.hslToRgb(this._hsla)},set:function(t){t.length===3&&(t[3]=1),this._rgba=t,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=e.rgbToHsl(this._rgba)},set:function(t){t.length===3&&(t[3]=1),this._hsla=t,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var t=this.rgba.map(function(n,r){return r<3?n.toString(16):Math.round(255*n).toString(16)});return"#"+t.map(function(n){return n.padStart(2,"0")}).join("")},set:function(t){this.rgba=e.hexToRgb(t)}}],[{key:"hexToRgb",value:function(t){var n=(t.startsWith("#")?t.slice(1):t).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!n.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+t);var r=n.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(o){return parseInt(o,16)});return r[3]=r[3]/255,r}},{key:"nameToRgb",value:function(t){var n=t.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),r=s2t[n];return r===void 0?r:e.hexToRgb(r.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(t){var n=Kv(t,4),r=n[0],o=n[1],i=n[2],a=n[3];r/=255,o/=255,i/=255;var s=Math.max(r,o,i),c=Math.min(r,o,i),u=void 0,l=void 0,f=(s+c)/2;if(s===c)u=l=0;else{var d=s-c;switch(l=f>.5?d/(2-s-c):d/(s+c),s){case r:u=(o-i)/d+(o<i?6:0);break;case o:u=(i-r)/d+2;break;case i:u=(r-o)/d+4}u/=6}return[u,l,f,a]}},{key:"hslToRgb",value:function(t){var n=Kv(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s=void 0,c=void 0,u=void 0;if(o===0)s=c=u=i;else{var l=function(p,v,m){return m<0&&(m+=1),m>1&&(m-=1),m<.16666666666666666?p+6*(v-p)*m:m<.5?v:m<.6666666666666666?p+(v-p)*(.6666666666666666-m)*6:p},f=i<.5?i*(1+o):i+o-i*o,d=2*i-f;s=l(d,f,r+1/3),c=l(d,f,r),u=l(d,f,r-1/3)}var h=[255*s,255*c,255*u].map(Math.round);return h[3]=a,h}}]),e}(),u2t=function(){function e(){S_(this,e),this._events=[]}return C_(e,[{key:"add",value:function(t,n,r){t.addEventListener(n,r,!1),this._events.push({target:t,type:n,handler:r})}},{key:"remove",value:function(t,n,r){this._events=this._events.filter(function(o){var i=!0;return t&&t!==o.target&&(i=!1),n&&n!==o.type&&(i=!1),r&&r!==o.handler&&(i=!1),i&&e._doRemove(o.target,o.type,o.handler),!i})}},{key:"destroy",value:function(){this._events.forEach(function(t){return e._doRemove(t.target,t.type,t.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(t,n,r){t.removeEventListener(n,r,!1)}}]),e}();function tb(e,t,n){var r=!1;function o(c,u,l){return Math.max(u,Math.min(c,l))}function i(c,u,l){if(l&&(r=!0),r){c.preventDefault();var f=t.getBoundingClientRect(),d=f.width,h=f.height,p=u.clientX,v=u.clientY,m=o(p-f.left,0,d),g=o(v-f.top,0,h);n(m/d,g/h)}}function a(c,u){(c.buttons===void 0?c.which:c.buttons)===1?i(c,c,u):r=!1}function s(c,u){c.touches.length===1?i(c,c.touches[0],u):r=!1}e.add(t,"mousedown",function(c){a(c,!0)}),e.add(t,"touchstart",function(c){s(c,!0)}),e.add(window,"mousemove",a),e.add(t,"touchmove",s),e.add(window,"mouseup",function(c){r=!1}),e.add(t,"touchend",function(c){r=!1}),e.add(t,"touchcancel",function(c){r=!1})}var AV="keydown",Jv="mousedown",eb="focusin";function Pa(e,t){return(t||document).querySelector(e)}function TV(e){e.preventDefault(),e.stopPropagation()}function nb(e,t,n,r,o){e.add(t,AV,function(i){n.indexOf(i.key)>=0&&(o&&TV(i),r(i))})}var RV=function(){function e(t){S_(this,e),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new u2t,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(t)}return C_(e,[{key:"setOptions",value:function(t){var n=this;if(t){var r=this.settings;if(t instanceof HTMLElement)r.parent=t;else{r.parent&&t.parent&&r.parent!==t.parent&&(this._events.remove(r.parent),this._popupInited=!1),function(s,c,u){for(var l in s)u&&u.indexOf(l)>=0||(c[l]=s[l])}(t,r),t.onChange&&(this.onChange=t.onChange),t.onDone&&(this.onDone=t.onDone),t.onOpen&&(this.onOpen=t.onOpen),t.onClose&&(this.onClose=t.onClose);var o=t.color||t.colour;o&&this._setColor(o)}var i=r.parent;if(i&&r.popup&&!this._popupInited){var a=function(s){return n.openHandler(s)};this._events.add(i,"click",a),nb(this._events,i,[" ","Spacebar","Enter"],a),this._popupInited=!0}else t.parent&&!r.popup&&this.show()}}},{key:"openHandler",value:function(t){if(this.show()){t&&t.preventDefault(),this.settings.parent.style.pointerEvents="none";var n=t&&t.type===AV?this._domEdit:this.domElement;setTimeout(function(){return n.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(t){var n=t&&t.type,r=!1;if(t)if(n===Jv||n===eb){var o=(this.__containedEvent||0)+100;t.timeStamp>o&&(r=!0)}else TV(t),r=!0;else r=!0;r&&this.hide()&&(this.settings.parent.style.pointerEvents="",n!==Jv&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(t,n){this.closeHandler(),this.setOptions(t),n&&this.openHandler()}},{key:"setColor",value:function(t,n){this._setColor(t,{silent:n})}},{key:"_setColor",value:function(t,n){if(typeof t=="string"&&(t=t.trim()),t){n=n||{};var r=void 0;try{r=new c2t(t)}catch(i){if(n.failSilently)return;throw i}if(!this.settings.alpha){var o=r.hsla;o[3]=1,r.hsla=o}this.colour=this.color=r,this._setHSLA(null,null,null,null,n)}}},{key:"setColour",value:function(t,n){this.setColor(t,n)}},{key:"show",value:function(){if(!this.settings.parent)return!1;if(this.domElement){var t=this._toggleDOM(!0);return this._setPosition(),t}var n,r,o=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',i=(n=o,(r=document.createElement("div")).innerHTML=n,r.firstElementChild);return this.domElement=i,this._domH=Pa(".picker_hue",i),this._domSL=Pa(".picker_sl",i),this._domA=Pa(".picker_alpha",i),this._domEdit=Pa(".picker_editor input",i),this._domSample=Pa(".picker_sample",i),this._domOkay=Pa(".picker_done button",i),this._domCancel=Pa(".picker_cancel button",i),i.classList.add("layout_"+this.settings.layout),this.settings.alpha||i.classList.add("no_alpha"),this.settings.editor||i.classList.add("no_editor"),this.settings.cancelButton||i.classList.add("no_cancel"),this._ifPopup(function(){return i.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var t=this,n=this,r=this.domElement,o=this._events;function i(c,u,l){o.add(c,u,l)}i(r,"click",function(c){return c.preventDefault()}),tb(o,this._domH,function(c,u){return n._setHSLA(c)}),tb(o,this._domSL,function(c,u){return n._setHSLA(null,c,1-u)}),this.settings.alpha&&tb(o,this._domA,function(c,u){return n._setHSLA(null,null,null,1-u)});var a=this._domEdit;i(a,"input",function(c){n._setColor(this.value,{fromEditor:!0,failSilently:!0})}),i(a,"focus",function(c){var u=this;u.selectionStart===u.selectionEnd&&u.select()}),this._ifPopup(function(){var c=function(l){return t.closeHandler(l)};i(window,Jv,c),i(window,eb,c),nb(o,r,["Esc","Escape"],c);var u=function(l){t.__containedEvent=l.timeStamp};i(r,Jv,u),i(r,eb,u),i(t._domCancel,"click",c)});var s=function(c){t._ifPopup(function(){return t.closeHandler(c)}),t.onDone&&t.onDone(t.colour)};i(this._domOkay,"click",s),nb(o,r,["Enter"],s)}},{key:"_setPosition",value:function(){var t=this.settings.parent,n=this.domElement;t!==n.parentNode&&t.appendChild(n),this._ifPopup(function(r){getComputedStyle(t).position==="static"&&(t.style.position="relative");var o=r===!0?"popup_right":"popup_"+r;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(i){i===o?n.classList.add(i):n.classList.remove(i)}),n.classList.add(o)})}},{key:"_setHSLA",value:function(t,n,r,o,i){i=i||{};var a=this.colour,s=a.hsla;[t,n,r,o].forEach(function(c,u){(c||c===0)&&(s[u]=c)}),a.hsla=s,this._updateUI(i),this.onChange&&!i.silent&&this.onChange(a)}},{key:"_updateUI",value:function(t){if(this.domElement){t=t||{};var n=this.colour,r=n.hsla,o="hsl("+360*r[0]+", 100%, 50%)",i=n.hslString,a=n.hslaString,s=this._domH,c=this._domSL,u=this._domA,l=Pa(".picker_selector",s),f=Pa(".picker_selector",c),d=Pa(".picker_selector",u);b(0,l,r[0]),this._domSL.style.backgroundColor=this._domH.style.color=o,b(0,f,r[1]),w(0,f,1-r[2]),c.style.color=i,w(0,d,1-r[3]);var h=i,p=h.replace("hsl","hsla").replace(")",", 0)"),v="linear-gradient("+[h,p]+")";if(this._domA.style.background=v+`, linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
141
|
-
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,!t.fromEditor){var m=this.settings.editorFormat,g=this.settings.alpha,y=void 0;switch(m){case"rgb":y=n.printRGB(g);break;case"hsl":y=n.printHSL(g);break;default:y=n.printHex(g)}this._domEdit.value=y}this._domSample.style.color=a}function b(k,x,O){x.style.left=100*O+"%"}function w(k,x,O){x.style.top=100*O+"%"}}},{key:"_ifPopup",value:function(t,n){this.settings.parent&&this.settings.popup?t&&t(this.settings.popup):n&&n()}},{key:"_toggleDOM",value:function(t){var n=this.domElement;if(!n)return!1;var r=t?"":"none",o=n.style.display!==r;return o&&(n.style.display=r),o}}]),e}(),rb=document.createElement("style");rb.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(rb),RV.StyleElement=rb;var l2t=Object.freeze({__proto__:null,default:RV}),f2t=typeof global=="object"&&global&&global.Object===Object&&global;const IV=f2t;var d2t=typeof self=="object"&&self&&self.Object===Object&&self,h2t=IV||d2t||Function("return this")();const fs=h2t;var p2t=fs.Symbol;const as=p2t;var NV=Object.prototype,v2t=NV.hasOwnProperty,m2t=NV.toString,kd=as?as.toStringTag:void 0;function g2t(e){var t=v2t.call(e,kd),n=e[kd];try{e[kd]=void 0;var r=!0}catch{}var o=m2t.call(e);return r&&(t?e[kd]=n:delete e[kd]),o}var y2t=Object.prototype,b2t=y2t.toString;function w2t(e){return b2t.call(e)}var x2t="[object Null]",k2t="[object Undefined]",s7=as?as.toStringTag:void 0;function tl(e){return e==null?e===void 0?k2t:x2t:s7&&s7 in Object(e)?g2t(e):w2t(e)}function ss(e){return e!=null&&typeof e=="object"}var j2t="[object Symbol]";function E_(e){return typeof e=="symbol"||ss(e)&&tl(e)==j2t}function _2t(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var $2t=Array.isArray;const Bi=$2t;var S2t=1/0,c7=as?as.prototype:void 0,u7=c7?c7.toString:void 0;function DV(e){if(typeof e=="string")return e;if(Bi(e))return _2t(e,DV)+"";if(E_(e))return u7?u7.call(e):"";var t=e+"";return t=="0"&&1/e==-S2t?"-0":t}function ds(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function O_(e){return e}var C2t="[object AsyncFunction]",E2t="[object Function]",O2t="[object GeneratorFunction]",M2t="[object Proxy]";function M_(e){if(!ds(e))return!1;var t=tl(e);return t==E2t||t==O2t||t==C2t||t==M2t}var P2t=fs["__core-js_shared__"];const ob=P2t;var l7=function(){var e=/[^.]+$/.exec(ob&&ob.keys&&ob.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function A2t(e){return!!l7&&l7 in e}var T2t=Function.prototype,R2t=T2t.toString;function el(e){if(e!=null){try{return R2t.call(e)}catch{}try{return e+""}catch{}}return""}var I2t=/[\\^$.*+?()[\]{}|]/g,N2t=/^\[object .+?Constructor\]$/,D2t=Function.prototype,L2t=Object.prototype,z2t=D2t.toString,B2t=L2t.hasOwnProperty,F2t=RegExp("^"+z2t.call(B2t).replace(I2t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function H2t(e){if(!ds(e)||A2t(e))return!1;var t=M_(e)?F2t:N2t;return t.test(el(e))}function V2t(e,t){return e?.[t]}function nl(e,t){var n=V2t(e,t);return H2t(n)?n:void 0}var W2t=nl(fs,"WeakMap");const Vx=W2t;var f7=Object.create,q2t=function(){function e(){}return function(t){if(!ds(t))return{};if(f7)return f7(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const U2t=q2t;function K2t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function LV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var J2t=800,G2t=16,Q2t=Date.now;function Y2t(e){var t=0,n=0;return function(){var r=Q2t(),o=G2t-(r-n);if(n=r,o>0){if(++t>=J2t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Z2t(e){return function(){return e}}var X2t=function(){try{var e=nl(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Ug=X2t;var tjt=Ug?function(e,t){return Ug(e,"toString",{configurable:!0,enumerable:!1,value:Z2t(t),writable:!0})}:O_;const ejt=tjt;var njt=Y2t(ejt);const rjt=njt;function ojt(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ijt=9007199254740991,ajt=/^(?:0|[1-9]\d*)$/;function P_(e,t){var n=typeof e;return t=t??ijt,!!t&&(n=="number"||n!="symbol"&&ajt.test(e))&&e>-1&&e%1==0&&e<t}function u1(e,t,n){t=="__proto__"&&Ug?Ug(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Cp(e,t){return e===t||e!==e&&t!==t}var sjt=Object.prototype,cjt=sjt.hasOwnProperty;function zV(e,t,n){var r=e[t];(!(cjt.call(e,t)&&Cp(r,n))||n===void 0&&!(t in e))&&u1(e,t,n)}function Xf(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),o?u1(n,s,c):zV(n,s,c)}return n}var d7=Math.max;function ujt(e,t,n){return t=d7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=d7(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),K2t(e,this,s)}}function ljt(e,t){return rjt(ujt(e,t,O_),e+"")}var fjt=9007199254740991;function A_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fjt}function l1(e){return e!=null&&A_(e.length)&&!M_(e)}function djt(e,t,n){if(!ds(n))return!1;var r=typeof t;return(r=="number"?l1(n)&&P_(t,n.length):r=="string"&&t in n)?Cp(n[t],e):!1}function BV(e){return ljt(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&djt(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}var hjt=Object.prototype;function T_(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||hjt;return e===n}function pjt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var vjt="[object Arguments]";function h7(e){return ss(e)&&tl(e)==vjt}var FV=Object.prototype,mjt=FV.hasOwnProperty,gjt=FV.propertyIsEnumerable,yjt=h7(function(){return arguments}())?h7:function(e){return ss(e)&&mjt.call(e,"callee")&&!gjt.call(e,"callee")};const Kg=yjt;function bjt(){return!1}var HV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,p7=HV&&typeof module=="object"&&module&&!module.nodeType&&module,wjt=p7&&p7.exports===HV,v7=wjt?fs.Buffer:void 0,xjt=v7?v7.isBuffer:void 0,kjt=xjt||bjt;const Jh=kjt;var jjt="[object Arguments]",_jt="[object Array]",$jt="[object Boolean]",Sjt="[object Date]",Cjt="[object Error]",Ejt="[object Function]",Ojt="[object Map]",Mjt="[object Number]",Pjt="[object Object]",Ajt="[object RegExp]",Tjt="[object Set]",Rjt="[object String]",Ijt="[object WeakMap]",Njt="[object ArrayBuffer]",Djt="[object DataView]",Ljt="[object Float32Array]",zjt="[object Float64Array]",Bjt="[object Int8Array]",Fjt="[object Int16Array]",Hjt="[object Int32Array]",Vjt="[object Uint8Array]",Wjt="[object Uint8ClampedArray]",qjt="[object Uint16Array]",Ujt="[object Uint32Array]",lr={};lr[Ljt]=lr[zjt]=lr[Bjt]=lr[Fjt]=lr[Hjt]=lr[Vjt]=lr[Wjt]=lr[qjt]=lr[Ujt]=!0;lr[jjt]=lr[_jt]=lr[Njt]=lr[$jt]=lr[Djt]=lr[Sjt]=lr[Cjt]=lr[Ejt]=lr[Ojt]=lr[Mjt]=lr[Pjt]=lr[Ajt]=lr[Tjt]=lr[Rjt]=lr[Ijt]=!1;function Kjt(e){return ss(e)&&A_(e.length)&&!!lr[tl(e)]}function R_(e){return function(t){return e(t)}}var VV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=VV&&typeof module=="object"&&module&&!module.nodeType&&module,Jjt=sh&&sh.exports===VV,ib=Jjt&&IV.process,Gjt=function(){try{var e=sh&&sh.require&&sh.require("util").types;return e||ib&&ib.binding&&ib.binding("util")}catch{}}();const Pf=Gjt;var m7=Pf&&Pf.isTypedArray,Qjt=m7?R_(m7):Kjt;const I_=Qjt;var Yjt=Object.prototype,Zjt=Yjt.hasOwnProperty;function WV(e,t){var n=Bi(e),r=!n&&Kg(e),o=!n&&!r&&Jh(e),i=!n&&!r&&!o&&I_(e),a=n||r||o||i,s=a?pjt(e.length,String):[],c=s.length;for(var u in e)(t||Zjt.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||P_(u,c)))&&s.push(u);return s}function qV(e,t){return function(n){return e(t(n))}}var Xjt=qV(Object.keys,Object);const t_t=Xjt;var e_t=Object.prototype,n_t=e_t.hasOwnProperty;function r_t(e){if(!T_(e))return t_t(e);var t=[];for(var n in Object(e))n_t.call(e,n)&&n!="constructor"&&t.push(n);return t}function Ep(e){return l1(e)?WV(e):r_t(e)}function o_t(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var i_t=Object.prototype,a_t=i_t.hasOwnProperty;function s_t(e){if(!ds(e))return o_t(e);var t=T_(e),n=[];for(var r in e)r=="constructor"&&(t||!a_t.call(e,r))||n.push(r);return n}function td(e){return l1(e)?WV(e,!0):s_t(e)}var c_t=BV(function(e,t,n,r){Xf(t,td(t),e,r)});const u_t=c_t;var l_t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f_t=/^\w*$/;function N_(e,t){if(Bi(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||E_(e)?!0:f_t.test(e)||!l_t.test(e)||t!=null&&e in Object(t)}var d_t=nl(Object,"create");const Gh=d_t;function h_t(){this.__data__=Gh?Gh(null):{},this.size=0}function p_t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var v_t="__lodash_hash_undefined__",m_t=Object.prototype,g_t=m_t.hasOwnProperty;function y_t(e){var t=this.__data__;if(Gh){var n=t[e];return n===v_t?void 0:n}return g_t.call(t,e)?t[e]:void 0}var b_t=Object.prototype,w_t=b_t.hasOwnProperty;function x_t(e){var t=this.__data__;return Gh?t[e]!==void 0:w_t.call(t,e)}var k_t="__lodash_hash_undefined__";function j_t(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gh&&t===void 0?k_t:t,this}function qu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qu.prototype.clear=h_t;qu.prototype.delete=p_t;qu.prototype.get=y_t;qu.prototype.has=x_t;qu.prototype.set=j_t;function __t(){this.__data__=[],this.size=0}function f1(e,t){for(var n=e.length;n--;)if(Cp(e[n][0],t))return n;return-1}var $_t=Array.prototype,S_t=$_t.splice;function C_t(e){var t=this.__data__,n=f1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():S_t.call(t,n,1),--this.size,!0}function E_t(e){var t=this.__data__,n=f1(t,e);return n<0?void 0:t[n][1]}function O_t(e){return f1(this.__data__,e)>-1}function M_t(e,t){var n=this.__data__,r=f1(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function qs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qs.prototype.clear=__t;qs.prototype.delete=C_t;qs.prototype.get=E_t;qs.prototype.has=O_t;qs.prototype.set=M_t;var P_t=nl(fs,"Map");const Qh=P_t;function A_t(){this.size=0,this.__data__={hash:new qu,map:new(Qh||qs),string:new qu}}function T_t(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function d1(e,t){var n=e.__data__;return T_t(t)?n[typeof t=="string"?"string":"hash"]:n.map}function R_t(e){var t=d1(this,e).delete(e);return this.size-=t?1:0,t}function I_t(e){return d1(this,e).get(e)}function N_t(e){return d1(this,e).has(e)}function D_t(e,t){var n=d1(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Us(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Us.prototype.clear=A_t;Us.prototype.delete=R_t;Us.prototype.get=I_t;Us.prototype.has=N_t;Us.prototype.set=D_t;var L_t="Expected a function";function D_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(L_t);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(D_.Cache||Us),n}D_.Cache=Us;var z_t=500;function B_t(e){var t=D_(e,function(r){return n.size===z_t&&n.clear(),r}),n=t.cache;return t}var F_t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H_t=/\\(\\)?/g,V_t=B_t(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(F_t,function(n,r,o,i){t.push(o?i.replace(H_t,"$1"):r||n)}),t});const W_t=V_t;function q_t(e){return e==null?"":DV(e)}function UV(e,t){return Bi(e)?e:N_(e,t)?[e]:W_t(q_t(e))}var U_t=1/0;function h1(e){if(typeof e=="string"||E_(e))return e;var t=e+"";return t=="0"&&1/e==-U_t?"-0":t}function KV(e,t){t=UV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[h1(t[n++])];return n&&n==r?e:void 0}function K_t(e,t,n){var r=e==null?void 0:KV(e,t);return r===void 0?n:r}function JV(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var J_t=qV(Object.getPrototypeOf,Object);const L_=J_t;var G_t="[object Object]",Q_t=Function.prototype,Y_t=Object.prototype,GV=Q_t.toString,Z_t=Y_t.hasOwnProperty,X_t=GV.call(Object);function QV(e){if(!ss(e)||tl(e)!=G_t)return!1;var t=L_(e);if(t===null)return!0;var n=Z_t.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&GV.call(n)==X_t}function t$t(){this.__data__=new qs,this.size=0}function e$t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function n$t(e){return this.__data__.get(e)}function r$t(e){return this.__data__.has(e)}var o$t=200;function i$t(e,t){var n=this.__data__;if(n instanceof qs){var r=n.__data__;if(!Qh||r.length<o$t-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Us(r)}return n.set(e,t),this.size=n.size,this}function ga(e){var t=this.__data__=new qs(e);this.size=t.size}ga.prototype.clear=t$t;ga.prototype.delete=e$t;ga.prototype.get=n$t;ga.prototype.has=r$t;ga.prototype.set=i$t;function a$t(e,t){return e&&Xf(t,Ep(t),e)}function s$t(e,t){return e&&Xf(t,td(t),e)}var YV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,g7=YV&&typeof module=="object"&&module&&!module.nodeType&&module,c$t=g7&&g7.exports===YV,y7=c$t?fs.Buffer:void 0,b7=y7?y7.allocUnsafe:void 0;function ZV(e,t){if(t)return e.slice();var n=e.length,r=b7?b7(n):new e.constructor(n);return e.copy(r),r}function u$t(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function XV(){return[]}var l$t=Object.prototype,f$t=l$t.propertyIsEnumerable,w7=Object.getOwnPropertySymbols,d$t=w7?function(e){return e==null?[]:(e=Object(e),u$t(w7(e),function(t){return f$t.call(e,t)}))}:XV;const z_=d$t;function h$t(e,t){return Xf(e,z_(e),t)}var p$t=Object.getOwnPropertySymbols,v$t=p$t?function(e){for(var t=[];e;)JV(t,z_(e)),e=L_(e);return t}:XV;const tW=v$t;function m$t(e,t){return Xf(e,tW(e),t)}function eW(e,t,n){var r=t(e);return Bi(e)?r:JV(r,n(e))}function Wx(e){return eW(e,Ep,z_)}function g$t(e){return eW(e,td,tW)}var y$t=nl(fs,"DataView");const qx=y$t;var b$t=nl(fs,"Promise");const Ux=b$t;var w$t=nl(fs,"Set");const Kx=w$t;var x7="[object Map]",x$t="[object Object]",k7="[object Promise]",j7="[object Set]",_7="[object WeakMap]",$7="[object DataView]",k$t=el(qx),j$t=el(Qh),_$t=el(Ux),$$t=el(Kx),S$t=el(Vx),su=tl;(qx&&su(new qx(new ArrayBuffer(1)))!=$7||Qh&&su(new Qh)!=x7||Ux&&su(Ux.resolve())!=k7||Kx&&su(new Kx)!=j7||Vx&&su(new Vx)!=_7)&&(su=function(e){var t=tl(e),n=t==x$t?e.constructor:void 0,r=n?el(n):"";if(r)switch(r){case k$t:return $7;case j$t:return x7;case _$t:return k7;case $$t:return j7;case S$t:return _7}return t});const Yh=su;var C$t=Object.prototype,E$t=C$t.hasOwnProperty;function O$t(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&E$t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var M$t=fs.Uint8Array;const Jg=M$t;function B_(e){var t=new e.constructor(e.byteLength);return new Jg(t).set(new Jg(e)),t}function P$t(e,t){var n=t?B_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var A$t=/\w*$/;function T$t(e){var t=new e.constructor(e.source,A$t.exec(e));return t.lastIndex=e.lastIndex,t}var S7=as?as.prototype:void 0,C7=S7?S7.valueOf:void 0;function R$t(e){return C7?Object(C7.call(e)):{}}function nW(e,t){var n=t?B_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var I$t="[object Boolean]",N$t="[object Date]",D$t="[object Map]",L$t="[object Number]",z$t="[object RegExp]",B$t="[object Set]",F$t="[object String]",H$t="[object Symbol]",V$t="[object ArrayBuffer]",W$t="[object DataView]",q$t="[object Float32Array]",U$t="[object Float64Array]",K$t="[object Int8Array]",J$t="[object Int16Array]",G$t="[object Int32Array]",Q$t="[object Uint8Array]",Y$t="[object Uint8ClampedArray]",Z$t="[object Uint16Array]",X$t="[object Uint32Array]";function tSt(e,t,n){var r=e.constructor;switch(t){case V$t:return B_(e);case I$t:case N$t:return new r(+e);case W$t:return P$t(e,n);case q$t:case U$t:case K$t:case J$t:case G$t:case Q$t:case Y$t:case Z$t:case X$t:return nW(e,n);case D$t:return new r;case L$t:case F$t:return new r(e);case z$t:return T$t(e);case B$t:return new r;case H$t:return R$t(e)}}function rW(e){return typeof e.constructor=="function"&&!T_(e)?U2t(L_(e)):{}}var eSt="[object Map]";function nSt(e){return ss(e)&&Yh(e)==eSt}var E7=Pf&&Pf.isMap,rSt=E7?R_(E7):nSt;const oSt=rSt;var iSt="[object Set]";function aSt(e){return ss(e)&&Yh(e)==iSt}var O7=Pf&&Pf.isSet,sSt=O7?R_(O7):aSt;const cSt=sSt;var uSt=1,lSt=2,fSt=4,oW="[object Arguments]",dSt="[object Array]",hSt="[object Boolean]",pSt="[object Date]",vSt="[object Error]",iW="[object Function]",mSt="[object GeneratorFunction]",gSt="[object Map]",ySt="[object Number]",aW="[object Object]",bSt="[object RegExp]",wSt="[object Set]",xSt="[object String]",kSt="[object Symbol]",jSt="[object WeakMap]",_St="[object ArrayBuffer]",$St="[object DataView]",SSt="[object Float32Array]",CSt="[object Float64Array]",ESt="[object Int8Array]",OSt="[object Int16Array]",MSt="[object Int32Array]",PSt="[object Uint8Array]",ASt="[object Uint8ClampedArray]",TSt="[object Uint16Array]",RSt="[object Uint32Array]",rr={};rr[oW]=rr[dSt]=rr[_St]=rr[$St]=rr[hSt]=rr[pSt]=rr[SSt]=rr[CSt]=rr[ESt]=rr[OSt]=rr[MSt]=rr[gSt]=rr[ySt]=rr[aW]=rr[bSt]=rr[wSt]=rr[xSt]=rr[kSt]=rr[PSt]=rr[ASt]=rr[TSt]=rr[RSt]=!0;rr[vSt]=rr[iW]=rr[jSt]=!1;function $m(e,t,n,r,o,i){var a,s=t&uSt,c=t&lSt,u=t&fSt;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!ds(e))return e;var l=Bi(e);if(l){if(a=O$t(e),!s)return LV(e,a)}else{var f=Yh(e),d=f==iW||f==mSt;if(Jh(e))return ZV(e,s);if(f==aW||f==oW||d&&!o){if(a=c||d?{}:rW(e),!s)return c?m$t(e,s$t(a,e)):h$t(e,a$t(a,e))}else{if(!rr[f])return o?e:{};a=tSt(e,f,s)}}i||(i=new ga);var h=i.get(e);if(h)return h;i.set(e,a),cSt(e)?e.forEach(function(m){a.add($m(m,t,n,m,e,i))}):oSt(e)&&e.forEach(function(m,g){a.set(g,$m(m,t,n,g,e,i))});var p=u?c?g$t:Wx:c?td:Ep,v=l?void 0:p(e);return ojt(v||e,function(m,g){v&&(g=m,m=e[g]),zV(a,g,$m(m,t,n,g,e,i))}),a}var ISt=1,NSt=4;function DSt(e){return $m(e,ISt|NSt)}var LSt="__lodash_hash_undefined__";function zSt(e){return this.__data__.set(e,LSt),this}function BSt(e){return this.__data__.has(e)}function Gg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Us;++t<n;)this.add(e[t])}Gg.prototype.add=Gg.prototype.push=zSt;Gg.prototype.has=BSt;function FSt(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function HSt(e,t){return e.has(t)}var VSt=1,WSt=2;function sW(e,t,n,r,o,i){var a=n&VSt,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var f=-1,d=!0,h=n&WSt?new Gg:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var p=e[f],v=t[f];if(r)var m=a?r(v,p,f,t,e,i):r(p,v,f,e,t,i);if(m!==void 0){if(m)continue;d=!1;break}if(h){if(!FSt(t,function(g,y){if(!HSt(h,y)&&(p===g||o(p,g,n,r,i)))return h.push(y)})){d=!1;break}}else if(!(p===v||o(p,v,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function qSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function USt(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var KSt=1,JSt=2,GSt="[object Boolean]",QSt="[object Date]",YSt="[object Error]",ZSt="[object Map]",XSt="[object Number]",tCt="[object RegExp]",eCt="[object Set]",nCt="[object String]",rCt="[object Symbol]",oCt="[object ArrayBuffer]",iCt="[object DataView]",M7=as?as.prototype:void 0,ab=M7?M7.valueOf:void 0;function aCt(e,t,n,r,o,i,a){switch(n){case iCt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case oCt:return!(e.byteLength!=t.byteLength||!i(new Jg(e),new Jg(t)));case GSt:case QSt:case XSt:return Cp(+e,+t);case YSt:return e.name==t.name&&e.message==t.message;case tCt:case nCt:return e==t+"";case ZSt:var s=qSt;case eCt:var c=r&KSt;if(s||(s=USt),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=JSt,a.set(e,t);var l=sW(s(e),s(t),r,o,i,a);return a.delete(e),l;case rCt:if(ab)return ab.call(e)==ab.call(t)}return!1}var sCt=1,cCt=Object.prototype,uCt=cCt.hasOwnProperty;function lCt(e,t,n,r,o,i){var a=n&sCt,s=Wx(e),c=s.length,u=Wx(t),l=u.length;if(c!=l&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:uCt.call(t,d)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var v=!0;i.set(e,t),i.set(t,e);for(var m=a;++f<c;){d=s[f];var g=e[d],y=t[d];if(r)var b=a?r(y,g,d,t,e,i):r(g,y,d,e,t,i);if(!(b===void 0?g===y||o(g,y,n,r,i):b)){v=!1;break}m||(m=d=="constructor")}if(v&&!m){var w=e.constructor,k=t.constructor;w!=k&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof k=="function"&&k instanceof k)&&(v=!1)}return i.delete(e),i.delete(t),v}var fCt=1,P7="[object Arguments]",A7="[object Array]",Gv="[object Object]",dCt=Object.prototype,T7=dCt.hasOwnProperty;function hCt(e,t,n,r,o,i){var a=Bi(e),s=Bi(t),c=a?A7:Yh(e),u=s?A7:Yh(t);c=c==P7?Gv:c,u=u==P7?Gv:u;var l=c==Gv,f=u==Gv,d=c==u;if(d&&Jh(e)){if(!Jh(t))return!1;a=!0,l=!1}if(d&&!l)return i||(i=new ga),a||I_(e)?sW(e,t,n,r,o,i):aCt(e,t,c,n,r,o,i);if(!(n&fCt)){var h=l&&T7.call(e,"__wrapped__"),p=f&&T7.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,m=p?t.value():t;return i||(i=new ga),o(v,m,n,r,i)}}return d?(i||(i=new ga),lCt(e,t,n,r,o,i)):!1}function F_(e,t,n,r,o){return e===t?!0:e==null||t==null||!ss(e)&&!ss(t)?e!==e&&t!==t:hCt(e,t,n,r,F_,o)}var pCt=1,vCt=2;function mCt(e,t,n,r){var o=n.length,i=o,a=!r;if(e==null)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var c=s[0],u=e[c],l=s[1];if(a&&s[2]){if(u===void 0&&!(c in e))return!1}else{var f=new ga;if(r)var d=r(u,l,c,e,t,f);if(!(d===void 0?F_(l,u,pCt|vCt,r,f):d))return!1}}return!0}function cW(e){return e===e&&!ds(e)}function gCt(e){for(var t=Ep(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,cW(o)]}return t}function uW(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yCt(e){var t=gCt(e);return t.length==1&&t[0][2]?uW(t[0][0],t[0][1]):function(n){return n===e||mCt(n,e,t)}}function bCt(e,t){return e!=null&&t in Object(e)}function wCt(e,t,n){t=UV(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=h1(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&A_(o)&&P_(a,o)&&(Bi(e)||Kg(e)))}function xCt(e,t){return e!=null&&wCt(e,t,bCt)}var kCt=1,jCt=2;function _Ct(e,t){return N_(e)&&cW(t)?uW(h1(e),t):function(n){var r=K_t(n,e);return r===void 0&&r===t?xCt(n,e):F_(t,r,kCt|jCt)}}function $Ct(e){return function(t){return t?.[e]}}function SCt(e){return function(t){return KV(t,e)}}function CCt(e){return N_(e)?$Ct(h1(e)):SCt(e)}function ECt(e){return typeof e=="function"?e:e==null?O_:typeof e=="object"?Bi(e)?_Ct(e[0],e[1]):yCt(e):CCt(e)}function OCt(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(n(i[c],c,i)===!1)break}return t}}var MCt=OCt();const lW=MCt;function PCt(e,t){return e&&lW(e,t,Ep)}function Jx(e,t,n){(n!==void 0&&!Cp(e[t],n)||n===void 0&&!(t in e))&&u1(e,t,n)}function ACt(e){return ss(e)&&l1(e)}function Gx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function TCt(e){return Xf(e,td(e))}function RCt(e,t,n,r,o,i,a){var s=Gx(e,n),c=Gx(t,n),u=a.get(c);if(u){Jx(e,n,u);return}var l=i?i(s,c,n+"",e,t,a):void 0,f=l===void 0;if(f){var d=Bi(c),h=!d&&Jh(c),p=!d&&!h&&I_(c);l=c,d||h||p?Bi(s)?l=s:ACt(s)?l=LV(s):h?(f=!1,l=ZV(c,!0)):p?(f=!1,l=nW(c,!0)):l=[]:QV(c)||Kg(c)?(l=s,Kg(s)?l=TCt(s):(!ds(s)||M_(s))&&(l=rW(c))):f=!1}f&&(a.set(c,l),o(l,c,r,i,a),a.delete(c)),Jx(e,n,l)}function fW(e,t,n,r,o){e!==t&&lW(t,function(i,a){if(o||(o=new ga),ds(i))RCt(e,t,a,n,fW,r,o);else{var s=r?r(Gx(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),Jx(e,a,s)}},td)}var ICt=BV(function(e,t,n,r){fW(e,t,n,r)});const NCt=ICt;function DCt(e,t){var n={};return t=ECt(t),PCt(e,function(r,o,i){u1(n,t(r,o,i),r)}),n}var Qg=function(){return Qg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Qg.apply(this,arguments)};function LCt(e){return e.toLowerCase()}var zCt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],BCt=/[^A-Z0-9]+/gi;function FCt(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?zCt:n,o=t.stripRegexp,i=o===void 0?BCt:o,a=t.transform,s=a===void 0?LCt:a,c=t.delimiter,u=c===void 0?" ":c,l=R7(R7(e,r,"$1\0$2"),i,"\0"),f=0,d=l.length;l.charAt(f)==="\0";)f++;for(;l.charAt(d-1)==="\0";)d--;return l.slice(f,d).split("\0").map(s).join(u)}function R7(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(r,o){return r.replace(o,n)},e)}function dW(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function HCt(e,t){return t===void 0&&(t={}),FCt(e,Qg({delimiter:"",transform:dW},t))}function VCt(e,t){return t===0?e.toLowerCase():dW(e,t)}function WCt(e,t){return t===void 0&&(t={}),HCt(e,Qg({transform:VCt},t))}function qCt(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const UCt=qCt("String,Number,Boolean,Function,Symbol,BigInt");function KCt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function JCt(e,t){let n;const r=KCt(t);if(UCt(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=ds(e):r==="Array"?n=Array.isArray(e):r==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:r}}function GCt({prop:e,type:t,validator:n}){if(![void 0,null].includes(e)&&t){let r=!1;const o=Array.isArray(t)?t:[t],i=[];for(let a=0;a<o.length&&!r;a++){const{valid:s,expectedType:c}=JCt(e,o[a]);i.push(c||""),r=s}if(!r)throw new Error(`Invalid prop: type check failed, expecting [${i.join(", ")}], receiving: ${e}`)}if(n&&!n(e))throw new Error(`Invalid prop: validator check failed, receiving: ${e}`)}function QCt(e,{mergeObject:t,mergeFunction:n}){const r=[];for(let i=e.length-1;i>=0;i--)r.push(e[i]);const o=n?(i,a)=>typeof i=="function"&&typeof a=="function"?n(a,i):void 0:void 0;return t==="deep"?NCt(...r,o):u_t(...r,o)}function YCt(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function yl(e,t={}){const{type:n,default:r,defaultIsDynamic:o=!1,required:i=!1,validator:a,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:c=!1,mergeFunctionApplyOnlyToDefault:u=!0}=t;let{mergeObject:l="deep",mergeFunction:f=!1}=t;const d=[];let h,p=!1,v=!1;const m=g=>{if(g!==void 0){GCt({type:n,prop:g,validator:a});const y=QV(g),b=typeof g=="function";return p=y,v=b,y?(g=DSt(g),s?DCt(g,(w,k)=>WCt(k,{stripRegexp:/-/g})):g):g}};for(const g of e)d.push(m(g));if(!o)d.push(m(r));else if(typeof r!="function")throw new TypeError(`Invalid option: config.default should be Function when config.defaultIsDynamic enabled, receiving: ${r}`);p||(l=!1,v||(f=!1));for(let g=0;g<d.length;g++){const y=d[g];if(y!==void 0){g===d.length-1?h=y:l?h=QCt(c?[y,r]:d,{mergeObject:l,mergeFunction:f}):f?h=YCt(u?[y,r]:d,{mergeFunction:f}):h=y;break}}if(i&&[void 0,null].includes(h))throw new Error("Missing required prop");return o?yl(e,{...t,default:r(h),defaultIsDynamic:!1}):h}function I7(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function ZCt(e,t=[]){const n={props:{},attrs:{},listeners:{},hooks:{},slots:{}},r=Array.isArray(t)?t:Object.keys(t);for(const o in e)if(o.startsWith("@")){const i=o.substring(1);i.startsWith("vnode")?n.hooks[I7(i)]=e[o]:n.listeners[I7(i)]=e[o]}else if(o.startsWith("#")){const i=o.substring(1);i&&(n.slots[i]=e[o])}else r.includes(o)?n.props[o]=e[o]:n.attrs[o]=e[o];return n}var XCt=typeof global=="object"&&global&&global.Object===Object&&global;const t3t=XCt;var e3t=typeof self=="object"&&self&&self.Object===Object&&self,n3t=t3t||e3t||Function("return this")();const hW=n3t;var r3t=hW.Symbol;const Yg=r3t;var pW=Object.prototype,o3t=pW.hasOwnProperty,i3t=pW.toString,jd=Yg?Yg.toStringTag:void 0;function a3t(e){var t=o3t.call(e,jd),n=e[jd];try{e[jd]=void 0;var r=!0}catch{}var o=i3t.call(e);return r&&(t?e[jd]=n:delete e[jd]),o}var s3t=Object.prototype,c3t=s3t.toString;function u3t(e){return c3t.call(e)}var l3t="[object Null]",f3t="[object Undefined]",N7=Yg?Yg.toStringTag:void 0;function d3t(e){return e==null?e===void 0?f3t:l3t:N7&&N7 in Object(e)?a3t(e):u3t(e)}function h3t(e){return e!=null&&typeof e=="object"}var p3t="[object Symbol]";function v3t(e){return typeof e=="symbol"||h3t(e)&&d3t(e)==p3t}var m3t=/\s/;function g3t(e){for(var t=e.length;t--&&m3t.test(e.charAt(t)););return t}var y3t=/^\s+/;function b3t(e){return e&&e.slice(0,g3t(e)+1).replace(y3t,"")}function Qx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var D7=0/0,w3t=/^[-+]0x[0-9a-f]+$/i,x3t=/^0b[01]+$/i,k3t=/^0o[0-7]+$/i,j3t=parseInt;function L7(e){if(typeof e=="number")return e;if(v3t(e))return D7;if(Qx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=b3t(e);var n=x3t.test(e);return n||k3t.test(e)?j3t(e.slice(2),n?2:8):w3t.test(e)?D7:+e}var _3t=function(){return hW.Date.now()};const sb=_3t;var $3t="Expected a function",S3t=Math.max,C3t=Math.min;function E3t(e,t,n){var r,o,i,a,s,c,u=0,l=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError($3t);t=L7(t)||0,Qx(n)&&(l=!!n.leading,f="maxWait"in n,i=f?S3t(L7(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function h(x){var O=r,_=o;return r=o=void 0,u=x,a=e.apply(_,O),a}function p(x){return u=x,s=setTimeout(g,t),l?h(x):a}function v(x){var O=x-c,_=x-u,M=t-O;return f?C3t(M,i-_):M}function m(x){var O=x-c,_=x-u;return c===void 0||O>=t||O<0||f&&_>=i}function g(){var x=sb();if(m(x))return y(x);s=setTimeout(g,v(x))}function y(x){return s=void 0,d&&r?h(x):(r=o=void 0,a)}function b(){s!==void 0&&clearTimeout(s),u=0,r=c=o=s=void 0}function w(){return s===void 0?a:y(sb())}function k(){var x=sb(),O=m(x);if(r=arguments,o=this,c=x,O){if(s===void 0)return p(c);if(f)return clearTimeout(s),s=setTimeout(g,t),h(c)}return s===void 0&&(s=setTimeout(g,t)),a}return k.cancel=b,k.flush=w,k}const O3t="JsonEditorVue",Qv="modelValue",z7="update:modelValue",Yv=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],vW=Bo({name:O3t,props:{[Qv]:{},mode:{type:String},...Object.fromEntries(Yv.map(e=>[e,{type:Boolean,default:void 0}]))},emits:{[z7](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:n,expose:r}){var o;const i=(o=cs())==null?void 0:o.proxy,a=Tn(),s=Tn(!1),c=Tn(!1),u=yl([e.mode,Sm.mode],{type:String}),l=yl([e[Qv],Sm[Qv]]),f=Object.fromEntries(Array.from(Yv,m=>[m,yl([e[m],Sm[m]])]).filter(([,m])=>m!==void 0)),d=E3t(m=>{if(c.value){c.value=!1;return}s.value=!0,n(z7,m.text===void 0?m.json:m.text)},100),h=m=>{n("update:mode",m)},p=(m,g)=>(...y)=>{m(...y),g(...y)},v=yl([t,mW,{onChange:d,onChangeMode:h,mode:u,...f,...l!==void 0&&{content:{json:l}}}],{type:Object,mergeFunction:p});return no(()=>e[Qv],m=>{var g;if(s.value){s.value=!1;return}c.value=!0,(g=a.value)==null||g.update([void 0,""].includes(m)?{text:""}:{json:m})},{deep:!0}),no(()=>e.mode,m=>{var g;(g=a.value)==null||g.updateProps({mode:m})}),no(()=>Array.from(Yv,m=>e[m]),m=>{a.value.updateProps(Object.fromEntries(Array.from(m,(g,y)=>[Yv[y],g]).filter(([,g])=>g!==void 0)))}),no(()=>t,m=>{const g={};m.onChange&&(g.onChange=d),m.onChangeMode&&(g.onChangeMode=h),a.value.updateProps(Object.getOwnPropertyNames(g).length>0?yl([m,g],{type:Object,mergeFunction:p}):m)},{deep:!0}),r?.({jsonEditor:a}),nf(()=>{a.value.destroy()}),Ku(()=>{a.value=new txt({target:i?.$refs.jsonEditorRef,props:v}),r||(r=m=>{for(const g in m)i[g]=Ie(m[g])},r({jsonEditor:a}))}),()=>Do("div",{ref:"jsonEditorRef"})}}),Sm={},mW={};function M3t(e){return e.install=(t,n={})=>{const{props:r,attrs:o}=ZCt(n,vW.props);Object.assign(Sm,r),Object.assign(mW,o),t.component(e.name,e)},e}const P3t=M3t(vW);const A3t={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,o)=>(r.size=o===t?r.max:r.min,o!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(e),o),r);let a=[t,t+1],s=this.panes[a[0]]||null,c=this.panes[a[1]]||null;const u=s.max<100&&i>=s.max+n.prevPanesSize,l=c.max<100&&i<=100-(c.max+this.sumNextPanesSize(t+1));if(u||l){u?(s.size=s.max,c.size=Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,0)):(s.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:a}=f),s=this.panes[a[0]]||null,c=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),c!==null&&(c.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,i)=>{i>r[0]&&i<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,i)=>{i>0&&i<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,i)=>{i>n&&i<r[1]&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,i)=>{i<this.panesCount-1&&i>=n+1&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=i=>this.onMouseDown(i,r)),o.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(o.ondblclick=i=>this.onSplitterDblClick(i,r+1)),t.parentNode.insertBefore(o,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&t++,o===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((o,i)=>o.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(e,o.max),o.min),t-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(i=>{e-=i.size,i.size!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id)});let o=100;e>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(e/(this.panesCount-r),i.max),i.min)),o-=i.size}),o>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const o=[],i=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(a=>{e&&e.givenSize!==null&&e.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),r>.1&&this.readjustSizes(r,o,i))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((o,i)=>{if(e>0&&!t.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;e-=s,o.size=a}else if(!n.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;e-=s,o.size=a}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Do("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},T3t=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},R3t={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function I3t(e,t,n,r,o,i){return Ln(),ri("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=a=>i.onPaneClick(a,e._.uid)),style:jc(e.style)},[Au(e.$slots,"default")],4)}const B7=T3t(R3t,[["render",I3t]]),N3t="2.0.16";let bl;const _d=[];function D3t(e){if(_d.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&_d.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&_d.forEach(n=>n(t))},get(){return bl.value},configurable:!0}),()=>{_d.splice(_d.indexOf(e),1)}}function L3t(){bl||(bl=ef(),D3t(t));function e(){cq(bl)}function t(n){bl.value=n,n.host&&n.host.hooks.hook("host:update:reactivity",e)}return bl}const F7=L3t();const z3t={class:"flex-row flex h-screen"},B3t={class:"border-r-1 border-light-400 dark:border-dark-400 dark:bg-dark-900 dark:text-light bg-white text-dark-800 flex flex-col justify-between h-screen z-5"},F3t={class:"flex-grow hidden md:block"},H3t={class:"py-3 w-full flex items-start px-5 justify-between space-x-5"},V3t=Qn("h1",{class:"text-base w-40"}," OG Image Playground ",-1),W3t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),q3t={class:"py-7 px-5 text-sm flex flex-col space-y-3"},U3t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),K3t={key:0,class:"py-7 px-5 text-sm flex flex-col space-y-3"},J3t={class:"p-3 text-gray-400 text-sm text-center"},G3t={class:"mx-auto flex flex-col w-full bg-white dark:bg-black max-h-screen overflow-hidden dark:bg-dark-700 bg-light-200"},Q3t={class:"py-9px dark:bg-dark-800 bg-light-200 px-10 opacity-80 flex items-center max-w-full block space-x-5"},Y3t={class:"text-sm flex items-center space-x-5"},Z3t=Qn("div",{class:"text-xs opacity-40"}," Path ",-1),X3t={class:"flex items-center space-x-1"},t4t={key:0,class:"text-xs opacity-70"},e4t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),n4t=Qn("h2",{class:"font-semibold text-lg mb-5"}," Props ",-1),r4t={class:"relative"},o4t={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},i4t={key:0,class:"text-xs p-2 text-gray-300"},a4t=Bo({__name:"app",async setup(e){let t,n;kG({title:"OG Image Playground"});const r=sr(()=>!!F7.value),o=sr(()=>F7.value?.host.nuxt.vueApp.config?.globalProperties?.$route?.path||void 0);Ha.value=o.value||Ed().query.path||"/",dN.value=Ed().query.base||"/",no(()=>o.value,d=>{Od.value={},iu.value=!1,Ha.value=d});const i=sr(()=>Ed().path!=="/vnodes"&&Ed().path!=="/options"),a=([t,n]=vb(()=>PS()),t=await t,n(),t);no(a,d=>{Wp.value=Ie(d),d={...Ie(d)},delete d.path,delete d.cache,delete d.cacheTtl,delete d.component,delete d.provider,delete d.componentHash,I1.value=d},{immediate:!0});const s=zk(d=>{Od.value={},iu.value=!1,Ha.value=d.target.value,Md()},1e3),c=zI();function u(d){Od.value=d,iu.value=!0,Md()}const l=sr(()=>c.value==="dark");async function f(d=!0){d&&await PS(),Od.value={},iu.value=!1;const h={...Wp.value};delete h.path,delete h.cache,delete h.cacheTtl,delete h.component,delete h.provider,delete h.componentHash,I1.value=h,d&&Md()}return[t,n]=vb(()=>f(!1)),await t,n(),(d,h)=>{const p=Mk,v=_Y,m=OY,g=rN,y=DI,b=VZ,w=JZ;return Ln(),ri("div",z3t,[Qn("header",B3t,[Qn("div",F3t,[Qn("div",H3t,[V3t,Ie(r)?Ta("",!0):(Ln(),go(m,{key:0},{default:to(({toggle:k})=>[Ze(v,{n:"borderless lg m-0","p-0":"",op50:"",onClick:k},{default:to(()=>[Ze(p,{icon:"dark:carbon-moon carbon-sun"})]),_:2},1032,["onClick"])]),_:1}))]),W3t,Qn("div",q3t,[Ze(y,{to:"/",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:image-search",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Template HTML ",2)]),_:1}),Ie(Wp)?.provider==="satori"?(Ln(),go(y,{key:0,to:"/svg",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:svg",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview SVG ",2)]),_:1})):Ta("",!0),Ze(y,{to:"/png",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:png",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview PNG ",2)]),_:1}),Ze(y,{to:"/options",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:operations-record",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Options ",2)]),_:1}),Ze(y,{to:"/vnodes",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," vNodes ",2)]),_:1})]),U3t,Ie(i)?(Ln(),ri("div",K3t,[Ie(ol)!==504?(Ln(),ri("div",{key:0,onClick:h[0]||(h[0]=k=>ol.value=504)},[Ze(v,null,{default:to(()=>[Ze(g,{name:"carbon:mobile"}),mu(" Small ")]),_:1})])):Ta("",!0),Ie(ol)!==null?(Ln(),ri("div",{key:1,onClick:h[1]||(h[1]=k=>ol.value=null)},[Ze(v,null,{default:to(()=>[Ze(g,{name:"carbon:laptop"}),mu(" Full width ")]),_:1})])):Ta("",!0),Qn("div",null,[Ze(v,{onClick:Ie(Md)},{default:to(()=>[mu(" Refresh ")]),_:1},8,["onClick"])])])):Ta("",!0)]),Qn("div",J3t," v"+Zv(Ie(N3t)),1)]),Qn("main",G3t,[Qn("div",Q3t,[Qn("div",Y3t,[Z3t,Qn("div",X3t,[Ze(b,{"model-value":Ie(Ha),placeholder:"Search...",n:"primary",onInput:Ie(s)},null,8,["model-value","onInput"])])]),Ie(MS)?(Ln(),ri("div",t4t,Zv(Ie(MS)),1)):Ta("",!0)]),e4t,Qn("div",{class:"h-full max-h-full overflow-hidden lg:p-5 p-2",style:jc({width:Ie(ol)&&Ie(i)?`${Ie(ol)}px`:"100%"})},[Ze(Ie(A3t),{class:"default-theme",onResize:Ie(pX)},{default:to(()=>[Ze(Ie(B7),{size:"80"},{default:to(()=>[Ze(w)]),_:1}),Ze(Ie(B7),{size:"20"},{default:to(()=>[n4t,Qn("div",r4t,[Ze(Ie(P3t),{"model-value":Ie(I1),class:Vr(Ie(l)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ie(iu)?(Ln(),ri("span",o4t,"modified")):Ta("",!0)]),Ie(iu)?(Ln(),ri("div",i4t,[Qn("div",null,[mu(" Update "+Zv(Ie(Wp).component)+" to persist the changes. ",1),Qn("button",{type:"button",class:"underline",onClick:h[2]||(h[2]=k=>f(!0))}," Reset ")])])):Ta("",!0)]),_:1})]),_:1},8,["onResize"])],4)])])}}});const s4t={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
141
|
+
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,!t.fromEditor){var m=this.settings.editorFormat,g=this.settings.alpha,y=void 0;switch(m){case"rgb":y=n.printRGB(g);break;case"hsl":y=n.printHSL(g);break;default:y=n.printHex(g)}this._domEdit.value=y}this._domSample.style.color=a}function b(k,x,O){x.style.left=100*O+"%"}function w(k,x,O){x.style.top=100*O+"%"}}},{key:"_ifPopup",value:function(t,n){this.settings.parent&&this.settings.popup?t&&t(this.settings.popup):n&&n()}},{key:"_toggleDOM",value:function(t){var n=this.domElement;if(!n)return!1;var r=t?"":"none",o=n.style.display!==r;return o&&(n.style.display=r),o}}]),e}(),rb=document.createElement("style");rb.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(rb),RV.StyleElement=rb;var l2t=Object.freeze({__proto__:null,default:RV}),f2t=typeof global=="object"&&global&&global.Object===Object&&global;const IV=f2t;var d2t=typeof self=="object"&&self&&self.Object===Object&&self,h2t=IV||d2t||Function("return this")();const fs=h2t;var p2t=fs.Symbol;const as=p2t;var NV=Object.prototype,v2t=NV.hasOwnProperty,m2t=NV.toString,kd=as?as.toStringTag:void 0;function g2t(e){var t=v2t.call(e,kd),n=e[kd];try{e[kd]=void 0;var r=!0}catch{}var o=m2t.call(e);return r&&(t?e[kd]=n:delete e[kd]),o}var y2t=Object.prototype,b2t=y2t.toString;function w2t(e){return b2t.call(e)}var x2t="[object Null]",k2t="[object Undefined]",s7=as?as.toStringTag:void 0;function tl(e){return e==null?e===void 0?k2t:x2t:s7&&s7 in Object(e)?g2t(e):w2t(e)}function ss(e){return e!=null&&typeof e=="object"}var j2t="[object Symbol]";function E_(e){return typeof e=="symbol"||ss(e)&&tl(e)==j2t}function _2t(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var $2t=Array.isArray;const Bi=$2t;var S2t=1/0,c7=as?as.prototype:void 0,u7=c7?c7.toString:void 0;function DV(e){if(typeof e=="string")return e;if(Bi(e))return _2t(e,DV)+"";if(E_(e))return u7?u7.call(e):"";var t=e+"";return t=="0"&&1/e==-S2t?"-0":t}function ds(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function O_(e){return e}var C2t="[object AsyncFunction]",E2t="[object Function]",O2t="[object GeneratorFunction]",M2t="[object Proxy]";function M_(e){if(!ds(e))return!1;var t=tl(e);return t==E2t||t==O2t||t==C2t||t==M2t}var P2t=fs["__core-js_shared__"];const ob=P2t;var l7=function(){var e=/[^.]+$/.exec(ob&&ob.keys&&ob.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function A2t(e){return!!l7&&l7 in e}var T2t=Function.prototype,R2t=T2t.toString;function el(e){if(e!=null){try{return R2t.call(e)}catch{}try{return e+""}catch{}}return""}var I2t=/[\\^$.*+?()[\]{}|]/g,N2t=/^\[object .+?Constructor\]$/,D2t=Function.prototype,L2t=Object.prototype,z2t=D2t.toString,B2t=L2t.hasOwnProperty,F2t=RegExp("^"+z2t.call(B2t).replace(I2t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function H2t(e){if(!ds(e)||A2t(e))return!1;var t=M_(e)?F2t:N2t;return t.test(el(e))}function V2t(e,t){return e?.[t]}function nl(e,t){var n=V2t(e,t);return H2t(n)?n:void 0}var W2t=nl(fs,"WeakMap");const Vx=W2t;var f7=Object.create,q2t=function(){function e(){}return function(t){if(!ds(t))return{};if(f7)return f7(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const U2t=q2t;function K2t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function LV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var J2t=800,G2t=16,Q2t=Date.now;function Y2t(e){var t=0,n=0;return function(){var r=Q2t(),o=G2t-(r-n);if(n=r,o>0){if(++t>=J2t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Z2t(e){return function(){return e}}var X2t=function(){try{var e=nl(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Ug=X2t;var tjt=Ug?function(e,t){return Ug(e,"toString",{configurable:!0,enumerable:!1,value:Z2t(t),writable:!0})}:O_;const ejt=tjt;var njt=Y2t(ejt);const rjt=njt;function ojt(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ijt=9007199254740991,ajt=/^(?:0|[1-9]\d*)$/;function P_(e,t){var n=typeof e;return t=t??ijt,!!t&&(n=="number"||n!="symbol"&&ajt.test(e))&&e>-1&&e%1==0&&e<t}function u1(e,t,n){t=="__proto__"&&Ug?Ug(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Cp(e,t){return e===t||e!==e&&t!==t}var sjt=Object.prototype,cjt=sjt.hasOwnProperty;function zV(e,t,n){var r=e[t];(!(cjt.call(e,t)&&Cp(r,n))||n===void 0&&!(t in e))&&u1(e,t,n)}function Xf(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),o?u1(n,s,c):zV(n,s,c)}return n}var d7=Math.max;function ujt(e,t,n){return t=d7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=d7(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),K2t(e,this,s)}}function ljt(e,t){return rjt(ujt(e,t,O_),e+"")}var fjt=9007199254740991;function A_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fjt}function l1(e){return e!=null&&A_(e.length)&&!M_(e)}function djt(e,t,n){if(!ds(n))return!1;var r=typeof t;return(r=="number"?l1(n)&&P_(t,n.length):r=="string"&&t in n)?Cp(n[t],e):!1}function BV(e){return ljt(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&djt(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}var hjt=Object.prototype;function T_(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||hjt;return e===n}function pjt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var vjt="[object Arguments]";function h7(e){return ss(e)&&tl(e)==vjt}var FV=Object.prototype,mjt=FV.hasOwnProperty,gjt=FV.propertyIsEnumerable,yjt=h7(function(){return arguments}())?h7:function(e){return ss(e)&&mjt.call(e,"callee")&&!gjt.call(e,"callee")};const Kg=yjt;function bjt(){return!1}var HV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,p7=HV&&typeof module=="object"&&module&&!module.nodeType&&module,wjt=p7&&p7.exports===HV,v7=wjt?fs.Buffer:void 0,xjt=v7?v7.isBuffer:void 0,kjt=xjt||bjt;const Jh=kjt;var jjt="[object Arguments]",_jt="[object Array]",$jt="[object Boolean]",Sjt="[object Date]",Cjt="[object Error]",Ejt="[object Function]",Ojt="[object Map]",Mjt="[object Number]",Pjt="[object Object]",Ajt="[object RegExp]",Tjt="[object Set]",Rjt="[object String]",Ijt="[object WeakMap]",Njt="[object ArrayBuffer]",Djt="[object DataView]",Ljt="[object Float32Array]",zjt="[object Float64Array]",Bjt="[object Int8Array]",Fjt="[object Int16Array]",Hjt="[object Int32Array]",Vjt="[object Uint8Array]",Wjt="[object Uint8ClampedArray]",qjt="[object Uint16Array]",Ujt="[object Uint32Array]",lr={};lr[Ljt]=lr[zjt]=lr[Bjt]=lr[Fjt]=lr[Hjt]=lr[Vjt]=lr[Wjt]=lr[qjt]=lr[Ujt]=!0;lr[jjt]=lr[_jt]=lr[Njt]=lr[$jt]=lr[Djt]=lr[Sjt]=lr[Cjt]=lr[Ejt]=lr[Ojt]=lr[Mjt]=lr[Pjt]=lr[Ajt]=lr[Tjt]=lr[Rjt]=lr[Ijt]=!1;function Kjt(e){return ss(e)&&A_(e.length)&&!!lr[tl(e)]}function R_(e){return function(t){return e(t)}}var VV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=VV&&typeof module=="object"&&module&&!module.nodeType&&module,Jjt=sh&&sh.exports===VV,ib=Jjt&&IV.process,Gjt=function(){try{var e=sh&&sh.require&&sh.require("util").types;return e||ib&&ib.binding&&ib.binding("util")}catch{}}();const Pf=Gjt;var m7=Pf&&Pf.isTypedArray,Qjt=m7?R_(m7):Kjt;const I_=Qjt;var Yjt=Object.prototype,Zjt=Yjt.hasOwnProperty;function WV(e,t){var n=Bi(e),r=!n&&Kg(e),o=!n&&!r&&Jh(e),i=!n&&!r&&!o&&I_(e),a=n||r||o||i,s=a?pjt(e.length,String):[],c=s.length;for(var u in e)(t||Zjt.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||P_(u,c)))&&s.push(u);return s}function qV(e,t){return function(n){return e(t(n))}}var Xjt=qV(Object.keys,Object);const t_t=Xjt;var e_t=Object.prototype,n_t=e_t.hasOwnProperty;function r_t(e){if(!T_(e))return t_t(e);var t=[];for(var n in Object(e))n_t.call(e,n)&&n!="constructor"&&t.push(n);return t}function Ep(e){return l1(e)?WV(e):r_t(e)}function o_t(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var i_t=Object.prototype,a_t=i_t.hasOwnProperty;function s_t(e){if(!ds(e))return o_t(e);var t=T_(e),n=[];for(var r in e)r=="constructor"&&(t||!a_t.call(e,r))||n.push(r);return n}function td(e){return l1(e)?WV(e,!0):s_t(e)}var c_t=BV(function(e,t,n,r){Xf(t,td(t),e,r)});const u_t=c_t;var l_t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f_t=/^\w*$/;function N_(e,t){if(Bi(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||E_(e)?!0:f_t.test(e)||!l_t.test(e)||t!=null&&e in Object(t)}var d_t=nl(Object,"create");const Gh=d_t;function h_t(){this.__data__=Gh?Gh(null):{},this.size=0}function p_t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var v_t="__lodash_hash_undefined__",m_t=Object.prototype,g_t=m_t.hasOwnProperty;function y_t(e){var t=this.__data__;if(Gh){var n=t[e];return n===v_t?void 0:n}return g_t.call(t,e)?t[e]:void 0}var b_t=Object.prototype,w_t=b_t.hasOwnProperty;function x_t(e){var t=this.__data__;return Gh?t[e]!==void 0:w_t.call(t,e)}var k_t="__lodash_hash_undefined__";function j_t(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gh&&t===void 0?k_t:t,this}function qu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qu.prototype.clear=h_t;qu.prototype.delete=p_t;qu.prototype.get=y_t;qu.prototype.has=x_t;qu.prototype.set=j_t;function __t(){this.__data__=[],this.size=0}function f1(e,t){for(var n=e.length;n--;)if(Cp(e[n][0],t))return n;return-1}var $_t=Array.prototype,S_t=$_t.splice;function C_t(e){var t=this.__data__,n=f1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():S_t.call(t,n,1),--this.size,!0}function E_t(e){var t=this.__data__,n=f1(t,e);return n<0?void 0:t[n][1]}function O_t(e){return f1(this.__data__,e)>-1}function M_t(e,t){var n=this.__data__,r=f1(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function qs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qs.prototype.clear=__t;qs.prototype.delete=C_t;qs.prototype.get=E_t;qs.prototype.has=O_t;qs.prototype.set=M_t;var P_t=nl(fs,"Map");const Qh=P_t;function A_t(){this.size=0,this.__data__={hash:new qu,map:new(Qh||qs),string:new qu}}function T_t(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function d1(e,t){var n=e.__data__;return T_t(t)?n[typeof t=="string"?"string":"hash"]:n.map}function R_t(e){var t=d1(this,e).delete(e);return this.size-=t?1:0,t}function I_t(e){return d1(this,e).get(e)}function N_t(e){return d1(this,e).has(e)}function D_t(e,t){var n=d1(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Us(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Us.prototype.clear=A_t;Us.prototype.delete=R_t;Us.prototype.get=I_t;Us.prototype.has=N_t;Us.prototype.set=D_t;var L_t="Expected a function";function D_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(L_t);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(D_.Cache||Us),n}D_.Cache=Us;var z_t=500;function B_t(e){var t=D_(e,function(r){return n.size===z_t&&n.clear(),r}),n=t.cache;return t}var F_t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H_t=/\\(\\)?/g,V_t=B_t(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(F_t,function(n,r,o,i){t.push(o?i.replace(H_t,"$1"):r||n)}),t});const W_t=V_t;function q_t(e){return e==null?"":DV(e)}function UV(e,t){return Bi(e)?e:N_(e,t)?[e]:W_t(q_t(e))}var U_t=1/0;function h1(e){if(typeof e=="string"||E_(e))return e;var t=e+"";return t=="0"&&1/e==-U_t?"-0":t}function KV(e,t){t=UV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[h1(t[n++])];return n&&n==r?e:void 0}function K_t(e,t,n){var r=e==null?void 0:KV(e,t);return r===void 0?n:r}function JV(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var J_t=qV(Object.getPrototypeOf,Object);const L_=J_t;var G_t="[object Object]",Q_t=Function.prototype,Y_t=Object.prototype,GV=Q_t.toString,Z_t=Y_t.hasOwnProperty,X_t=GV.call(Object);function QV(e){if(!ss(e)||tl(e)!=G_t)return!1;var t=L_(e);if(t===null)return!0;var n=Z_t.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&GV.call(n)==X_t}function t$t(){this.__data__=new qs,this.size=0}function e$t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function n$t(e){return this.__data__.get(e)}function r$t(e){return this.__data__.has(e)}var o$t=200;function i$t(e,t){var n=this.__data__;if(n instanceof qs){var r=n.__data__;if(!Qh||r.length<o$t-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Us(r)}return n.set(e,t),this.size=n.size,this}function ga(e){var t=this.__data__=new qs(e);this.size=t.size}ga.prototype.clear=t$t;ga.prototype.delete=e$t;ga.prototype.get=n$t;ga.prototype.has=r$t;ga.prototype.set=i$t;function a$t(e,t){return e&&Xf(t,Ep(t),e)}function s$t(e,t){return e&&Xf(t,td(t),e)}var YV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,g7=YV&&typeof module=="object"&&module&&!module.nodeType&&module,c$t=g7&&g7.exports===YV,y7=c$t?fs.Buffer:void 0,b7=y7?y7.allocUnsafe:void 0;function ZV(e,t){if(t)return e.slice();var n=e.length,r=b7?b7(n):new e.constructor(n);return e.copy(r),r}function u$t(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function XV(){return[]}var l$t=Object.prototype,f$t=l$t.propertyIsEnumerable,w7=Object.getOwnPropertySymbols,d$t=w7?function(e){return e==null?[]:(e=Object(e),u$t(w7(e),function(t){return f$t.call(e,t)}))}:XV;const z_=d$t;function h$t(e,t){return Xf(e,z_(e),t)}var p$t=Object.getOwnPropertySymbols,v$t=p$t?function(e){for(var t=[];e;)JV(t,z_(e)),e=L_(e);return t}:XV;const tW=v$t;function m$t(e,t){return Xf(e,tW(e),t)}function eW(e,t,n){var r=t(e);return Bi(e)?r:JV(r,n(e))}function Wx(e){return eW(e,Ep,z_)}function g$t(e){return eW(e,td,tW)}var y$t=nl(fs,"DataView");const qx=y$t;var b$t=nl(fs,"Promise");const Ux=b$t;var w$t=nl(fs,"Set");const Kx=w$t;var x7="[object Map]",x$t="[object Object]",k7="[object Promise]",j7="[object Set]",_7="[object WeakMap]",$7="[object DataView]",k$t=el(qx),j$t=el(Qh),_$t=el(Ux),$$t=el(Kx),S$t=el(Vx),su=tl;(qx&&su(new qx(new ArrayBuffer(1)))!=$7||Qh&&su(new Qh)!=x7||Ux&&su(Ux.resolve())!=k7||Kx&&su(new Kx)!=j7||Vx&&su(new Vx)!=_7)&&(su=function(e){var t=tl(e),n=t==x$t?e.constructor:void 0,r=n?el(n):"";if(r)switch(r){case k$t:return $7;case j$t:return x7;case _$t:return k7;case $$t:return j7;case S$t:return _7}return t});const Yh=su;var C$t=Object.prototype,E$t=C$t.hasOwnProperty;function O$t(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&E$t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var M$t=fs.Uint8Array;const Jg=M$t;function B_(e){var t=new e.constructor(e.byteLength);return new Jg(t).set(new Jg(e)),t}function P$t(e,t){var n=t?B_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var A$t=/\w*$/;function T$t(e){var t=new e.constructor(e.source,A$t.exec(e));return t.lastIndex=e.lastIndex,t}var S7=as?as.prototype:void 0,C7=S7?S7.valueOf:void 0;function R$t(e){return C7?Object(C7.call(e)):{}}function nW(e,t){var n=t?B_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var I$t="[object Boolean]",N$t="[object Date]",D$t="[object Map]",L$t="[object Number]",z$t="[object RegExp]",B$t="[object Set]",F$t="[object String]",H$t="[object Symbol]",V$t="[object ArrayBuffer]",W$t="[object DataView]",q$t="[object Float32Array]",U$t="[object Float64Array]",K$t="[object Int8Array]",J$t="[object Int16Array]",G$t="[object Int32Array]",Q$t="[object Uint8Array]",Y$t="[object Uint8ClampedArray]",Z$t="[object Uint16Array]",X$t="[object Uint32Array]";function tSt(e,t,n){var r=e.constructor;switch(t){case V$t:return B_(e);case I$t:case N$t:return new r(+e);case W$t:return P$t(e,n);case q$t:case U$t:case K$t:case J$t:case G$t:case Q$t:case Y$t:case Z$t:case X$t:return nW(e,n);case D$t:return new r;case L$t:case F$t:return new r(e);case z$t:return T$t(e);case B$t:return new r;case H$t:return R$t(e)}}function rW(e){return typeof e.constructor=="function"&&!T_(e)?U2t(L_(e)):{}}var eSt="[object Map]";function nSt(e){return ss(e)&&Yh(e)==eSt}var E7=Pf&&Pf.isMap,rSt=E7?R_(E7):nSt;const oSt=rSt;var iSt="[object Set]";function aSt(e){return ss(e)&&Yh(e)==iSt}var O7=Pf&&Pf.isSet,sSt=O7?R_(O7):aSt;const cSt=sSt;var uSt=1,lSt=2,fSt=4,oW="[object Arguments]",dSt="[object Array]",hSt="[object Boolean]",pSt="[object Date]",vSt="[object Error]",iW="[object Function]",mSt="[object GeneratorFunction]",gSt="[object Map]",ySt="[object Number]",aW="[object Object]",bSt="[object RegExp]",wSt="[object Set]",xSt="[object String]",kSt="[object Symbol]",jSt="[object WeakMap]",_St="[object ArrayBuffer]",$St="[object DataView]",SSt="[object Float32Array]",CSt="[object Float64Array]",ESt="[object Int8Array]",OSt="[object Int16Array]",MSt="[object Int32Array]",PSt="[object Uint8Array]",ASt="[object Uint8ClampedArray]",TSt="[object Uint16Array]",RSt="[object Uint32Array]",rr={};rr[oW]=rr[dSt]=rr[_St]=rr[$St]=rr[hSt]=rr[pSt]=rr[SSt]=rr[CSt]=rr[ESt]=rr[OSt]=rr[MSt]=rr[gSt]=rr[ySt]=rr[aW]=rr[bSt]=rr[wSt]=rr[xSt]=rr[kSt]=rr[PSt]=rr[ASt]=rr[TSt]=rr[RSt]=!0;rr[vSt]=rr[iW]=rr[jSt]=!1;function $m(e,t,n,r,o,i){var a,s=t&uSt,c=t&lSt,u=t&fSt;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!ds(e))return e;var l=Bi(e);if(l){if(a=O$t(e),!s)return LV(e,a)}else{var f=Yh(e),d=f==iW||f==mSt;if(Jh(e))return ZV(e,s);if(f==aW||f==oW||d&&!o){if(a=c||d?{}:rW(e),!s)return c?m$t(e,s$t(a,e)):h$t(e,a$t(a,e))}else{if(!rr[f])return o?e:{};a=tSt(e,f,s)}}i||(i=new ga);var h=i.get(e);if(h)return h;i.set(e,a),cSt(e)?e.forEach(function(m){a.add($m(m,t,n,m,e,i))}):oSt(e)&&e.forEach(function(m,g){a.set(g,$m(m,t,n,g,e,i))});var p=u?c?g$t:Wx:c?td:Ep,v=l?void 0:p(e);return ojt(v||e,function(m,g){v&&(g=m,m=e[g]),zV(a,g,$m(m,t,n,g,e,i))}),a}var ISt=1,NSt=4;function DSt(e){return $m(e,ISt|NSt)}var LSt="__lodash_hash_undefined__";function zSt(e){return this.__data__.set(e,LSt),this}function BSt(e){return this.__data__.has(e)}function Gg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Us;++t<n;)this.add(e[t])}Gg.prototype.add=Gg.prototype.push=zSt;Gg.prototype.has=BSt;function FSt(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function HSt(e,t){return e.has(t)}var VSt=1,WSt=2;function sW(e,t,n,r,o,i){var a=n&VSt,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var f=-1,d=!0,h=n&WSt?new Gg:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var p=e[f],v=t[f];if(r)var m=a?r(v,p,f,t,e,i):r(p,v,f,e,t,i);if(m!==void 0){if(m)continue;d=!1;break}if(h){if(!FSt(t,function(g,y){if(!HSt(h,y)&&(p===g||o(p,g,n,r,i)))return h.push(y)})){d=!1;break}}else if(!(p===v||o(p,v,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function qSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function USt(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var KSt=1,JSt=2,GSt="[object Boolean]",QSt="[object Date]",YSt="[object Error]",ZSt="[object Map]",XSt="[object Number]",tCt="[object RegExp]",eCt="[object Set]",nCt="[object String]",rCt="[object Symbol]",oCt="[object ArrayBuffer]",iCt="[object DataView]",M7=as?as.prototype:void 0,ab=M7?M7.valueOf:void 0;function aCt(e,t,n,r,o,i,a){switch(n){case iCt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case oCt:return!(e.byteLength!=t.byteLength||!i(new Jg(e),new Jg(t)));case GSt:case QSt:case XSt:return Cp(+e,+t);case YSt:return e.name==t.name&&e.message==t.message;case tCt:case nCt:return e==t+"";case ZSt:var s=qSt;case eCt:var c=r&KSt;if(s||(s=USt),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=JSt,a.set(e,t);var l=sW(s(e),s(t),r,o,i,a);return a.delete(e),l;case rCt:if(ab)return ab.call(e)==ab.call(t)}return!1}var sCt=1,cCt=Object.prototype,uCt=cCt.hasOwnProperty;function lCt(e,t,n,r,o,i){var a=n&sCt,s=Wx(e),c=s.length,u=Wx(t),l=u.length;if(c!=l&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:uCt.call(t,d)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var v=!0;i.set(e,t),i.set(t,e);for(var m=a;++f<c;){d=s[f];var g=e[d],y=t[d];if(r)var b=a?r(y,g,d,t,e,i):r(g,y,d,e,t,i);if(!(b===void 0?g===y||o(g,y,n,r,i):b)){v=!1;break}m||(m=d=="constructor")}if(v&&!m){var w=e.constructor,k=t.constructor;w!=k&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof k=="function"&&k instanceof k)&&(v=!1)}return i.delete(e),i.delete(t),v}var fCt=1,P7="[object Arguments]",A7="[object Array]",Gv="[object Object]",dCt=Object.prototype,T7=dCt.hasOwnProperty;function hCt(e,t,n,r,o,i){var a=Bi(e),s=Bi(t),c=a?A7:Yh(e),u=s?A7:Yh(t);c=c==P7?Gv:c,u=u==P7?Gv:u;var l=c==Gv,f=u==Gv,d=c==u;if(d&&Jh(e)){if(!Jh(t))return!1;a=!0,l=!1}if(d&&!l)return i||(i=new ga),a||I_(e)?sW(e,t,n,r,o,i):aCt(e,t,c,n,r,o,i);if(!(n&fCt)){var h=l&&T7.call(e,"__wrapped__"),p=f&&T7.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,m=p?t.value():t;return i||(i=new ga),o(v,m,n,r,i)}}return d?(i||(i=new ga),lCt(e,t,n,r,o,i)):!1}function F_(e,t,n,r,o){return e===t?!0:e==null||t==null||!ss(e)&&!ss(t)?e!==e&&t!==t:hCt(e,t,n,r,F_,o)}var pCt=1,vCt=2;function mCt(e,t,n,r){var o=n.length,i=o,a=!r;if(e==null)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var c=s[0],u=e[c],l=s[1];if(a&&s[2]){if(u===void 0&&!(c in e))return!1}else{var f=new ga;if(r)var d=r(u,l,c,e,t,f);if(!(d===void 0?F_(l,u,pCt|vCt,r,f):d))return!1}}return!0}function cW(e){return e===e&&!ds(e)}function gCt(e){for(var t=Ep(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,cW(o)]}return t}function uW(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function yCt(e){var t=gCt(e);return t.length==1&&t[0][2]?uW(t[0][0],t[0][1]):function(n){return n===e||mCt(n,e,t)}}function bCt(e,t){return e!=null&&t in Object(e)}function wCt(e,t,n){t=UV(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=h1(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&A_(o)&&P_(a,o)&&(Bi(e)||Kg(e)))}function xCt(e,t){return e!=null&&wCt(e,t,bCt)}var kCt=1,jCt=2;function _Ct(e,t){return N_(e)&&cW(t)?uW(h1(e),t):function(n){var r=K_t(n,e);return r===void 0&&r===t?xCt(n,e):F_(t,r,kCt|jCt)}}function $Ct(e){return function(t){return t?.[e]}}function SCt(e){return function(t){return KV(t,e)}}function CCt(e){return N_(e)?$Ct(h1(e)):SCt(e)}function ECt(e){return typeof e=="function"?e:e==null?O_:typeof e=="object"?Bi(e)?_Ct(e[0],e[1]):yCt(e):CCt(e)}function OCt(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(n(i[c],c,i)===!1)break}return t}}var MCt=OCt();const lW=MCt;function PCt(e,t){return e&&lW(e,t,Ep)}function Jx(e,t,n){(n!==void 0&&!Cp(e[t],n)||n===void 0&&!(t in e))&&u1(e,t,n)}function ACt(e){return ss(e)&&l1(e)}function Gx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function TCt(e){return Xf(e,td(e))}function RCt(e,t,n,r,o,i,a){var s=Gx(e,n),c=Gx(t,n),u=a.get(c);if(u){Jx(e,n,u);return}var l=i?i(s,c,n+"",e,t,a):void 0,f=l===void 0;if(f){var d=Bi(c),h=!d&&Jh(c),p=!d&&!h&&I_(c);l=c,d||h||p?Bi(s)?l=s:ACt(s)?l=LV(s):h?(f=!1,l=ZV(c,!0)):p?(f=!1,l=nW(c,!0)):l=[]:QV(c)||Kg(c)?(l=s,Kg(s)?l=TCt(s):(!ds(s)||M_(s))&&(l=rW(c))):f=!1}f&&(a.set(c,l),o(l,c,r,i,a),a.delete(c)),Jx(e,n,l)}function fW(e,t,n,r,o){e!==t&&lW(t,function(i,a){if(o||(o=new ga),ds(i))RCt(e,t,a,n,fW,r,o);else{var s=r?r(Gx(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),Jx(e,a,s)}},td)}var ICt=BV(function(e,t,n,r){fW(e,t,n,r)});const NCt=ICt;function DCt(e,t){var n={};return t=ECt(t),PCt(e,function(r,o,i){u1(n,t(r,o,i),r)}),n}var Qg=function(){return Qg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Qg.apply(this,arguments)};function LCt(e){return e.toLowerCase()}var zCt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],BCt=/[^A-Z0-9]+/gi;function FCt(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?zCt:n,o=t.stripRegexp,i=o===void 0?BCt:o,a=t.transform,s=a===void 0?LCt:a,c=t.delimiter,u=c===void 0?" ":c,l=R7(R7(e,r,"$1\0$2"),i,"\0"),f=0,d=l.length;l.charAt(f)==="\0";)f++;for(;l.charAt(d-1)==="\0";)d--;return l.slice(f,d).split("\0").map(s).join(u)}function R7(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(r,o){return r.replace(o,n)},e)}function dW(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function HCt(e,t){return t===void 0&&(t={}),FCt(e,Qg({delimiter:"",transform:dW},t))}function VCt(e,t){return t===0?e.toLowerCase():dW(e,t)}function WCt(e,t){return t===void 0&&(t={}),HCt(e,Qg({transform:VCt},t))}function qCt(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const UCt=qCt("String,Number,Boolean,Function,Symbol,BigInt");function KCt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function JCt(e,t){let n;const r=KCt(t);if(UCt(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=ds(e):r==="Array"?n=Array.isArray(e):r==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:r}}function GCt({prop:e,type:t,validator:n}){if(![void 0,null].includes(e)&&t){let r=!1;const o=Array.isArray(t)?t:[t],i=[];for(let a=0;a<o.length&&!r;a++){const{valid:s,expectedType:c}=JCt(e,o[a]);i.push(c||""),r=s}if(!r)throw new Error(`Invalid prop: type check failed, expecting [${i.join(", ")}], receiving: ${e}`)}if(n&&!n(e))throw new Error(`Invalid prop: validator check failed, receiving: ${e}`)}function QCt(e,{mergeObject:t,mergeFunction:n}){const r=[];for(let i=e.length-1;i>=0;i--)r.push(e[i]);const o=n?(i,a)=>typeof i=="function"&&typeof a=="function"?n(a,i):void 0:void 0;return t==="deep"?NCt(...r,o):u_t(...r,o)}function YCt(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function yl(e,t={}){const{type:n,default:r,defaultIsDynamic:o=!1,required:i=!1,validator:a,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:c=!1,mergeFunctionApplyOnlyToDefault:u=!0}=t;let{mergeObject:l="deep",mergeFunction:f=!1}=t;const d=[];let h,p=!1,v=!1;const m=g=>{if(g!==void 0){GCt({type:n,prop:g,validator:a});const y=QV(g),b=typeof g=="function";return p=y,v=b,y?(g=DSt(g),s?DCt(g,(w,k)=>WCt(k,{stripRegexp:/-/g})):g):g}};for(const g of e)d.push(m(g));if(!o)d.push(m(r));else if(typeof r!="function")throw new TypeError(`Invalid option: config.default should be Function when config.defaultIsDynamic enabled, receiving: ${r}`);p||(l=!1,v||(f=!1));for(let g=0;g<d.length;g++){const y=d[g];if(y!==void 0){g===d.length-1?h=y:l?h=QCt(c?[y,r]:d,{mergeObject:l,mergeFunction:f}):f?h=YCt(u?[y,r]:d,{mergeFunction:f}):h=y;break}}if(i&&[void 0,null].includes(h))throw new Error("Missing required prop");return o?yl(e,{...t,default:r(h),defaultIsDynamic:!1}):h}function I7(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function ZCt(e,t=[]){const n={props:{},attrs:{},listeners:{},hooks:{},slots:{}},r=Array.isArray(t)?t:Object.keys(t);for(const o in e)if(o.startsWith("@")){const i=o.substring(1);i.startsWith("vnode")?n.hooks[I7(i)]=e[o]:n.listeners[I7(i)]=e[o]}else if(o.startsWith("#")){const i=o.substring(1);i&&(n.slots[i]=e[o])}else r.includes(o)?n.props[o]=e[o]:n.attrs[o]=e[o];return n}var XCt=typeof global=="object"&&global&&global.Object===Object&&global;const t3t=XCt;var e3t=typeof self=="object"&&self&&self.Object===Object&&self,n3t=t3t||e3t||Function("return this")();const hW=n3t;var r3t=hW.Symbol;const Yg=r3t;var pW=Object.prototype,o3t=pW.hasOwnProperty,i3t=pW.toString,jd=Yg?Yg.toStringTag:void 0;function a3t(e){var t=o3t.call(e,jd),n=e[jd];try{e[jd]=void 0;var r=!0}catch{}var o=i3t.call(e);return r&&(t?e[jd]=n:delete e[jd]),o}var s3t=Object.prototype,c3t=s3t.toString;function u3t(e){return c3t.call(e)}var l3t="[object Null]",f3t="[object Undefined]",N7=Yg?Yg.toStringTag:void 0;function d3t(e){return e==null?e===void 0?f3t:l3t:N7&&N7 in Object(e)?a3t(e):u3t(e)}function h3t(e){return e!=null&&typeof e=="object"}var p3t="[object Symbol]";function v3t(e){return typeof e=="symbol"||h3t(e)&&d3t(e)==p3t}var m3t=/\s/;function g3t(e){for(var t=e.length;t--&&m3t.test(e.charAt(t)););return t}var y3t=/^\s+/;function b3t(e){return e&&e.slice(0,g3t(e)+1).replace(y3t,"")}function Qx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var D7=0/0,w3t=/^[-+]0x[0-9a-f]+$/i,x3t=/^0b[01]+$/i,k3t=/^0o[0-7]+$/i,j3t=parseInt;function L7(e){if(typeof e=="number")return e;if(v3t(e))return D7;if(Qx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=b3t(e);var n=x3t.test(e);return n||k3t.test(e)?j3t(e.slice(2),n?2:8):w3t.test(e)?D7:+e}var _3t=function(){return hW.Date.now()};const sb=_3t;var $3t="Expected a function",S3t=Math.max,C3t=Math.min;function E3t(e,t,n){var r,o,i,a,s,c,u=0,l=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError($3t);t=L7(t)||0,Qx(n)&&(l=!!n.leading,f="maxWait"in n,i=f?S3t(L7(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function h(x){var O=r,_=o;return r=o=void 0,u=x,a=e.apply(_,O),a}function p(x){return u=x,s=setTimeout(g,t),l?h(x):a}function v(x){var O=x-c,_=x-u,M=t-O;return f?C3t(M,i-_):M}function m(x){var O=x-c,_=x-u;return c===void 0||O>=t||O<0||f&&_>=i}function g(){var x=sb();if(m(x))return y(x);s=setTimeout(g,v(x))}function y(x){return s=void 0,d&&r?h(x):(r=o=void 0,a)}function b(){s!==void 0&&clearTimeout(s),u=0,r=c=o=s=void 0}function w(){return s===void 0?a:y(sb())}function k(){var x=sb(),O=m(x);if(r=arguments,o=this,c=x,O){if(s===void 0)return p(c);if(f)return clearTimeout(s),s=setTimeout(g,t),h(c)}return s===void 0&&(s=setTimeout(g,t)),a}return k.cancel=b,k.flush=w,k}const O3t="JsonEditorVue",Qv="modelValue",z7="update:modelValue",Yv=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],vW=Bo({name:O3t,props:{[Qv]:{},mode:{type:String},...Object.fromEntries(Yv.map(e=>[e,{type:Boolean,default:void 0}]))},emits:{[z7](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:n,expose:r}){var o;const i=(o=cs())==null?void 0:o.proxy,a=Tn(),s=Tn(!1),c=Tn(!1),u=yl([e.mode,Sm.mode],{type:String}),l=yl([e[Qv],Sm[Qv]]),f=Object.fromEntries(Array.from(Yv,m=>[m,yl([e[m],Sm[m]])]).filter(([,m])=>m!==void 0)),d=E3t(m=>{if(c.value){c.value=!1;return}s.value=!0,n(z7,m.text===void 0?m.json:m.text)},100),h=m=>{n("update:mode",m)},p=(m,g)=>(...y)=>{m(...y),g(...y)},v=yl([t,mW,{onChange:d,onChangeMode:h,mode:u,...f,...l!==void 0&&{content:{json:l}}}],{type:Object,mergeFunction:p});return no(()=>e[Qv],m=>{var g;if(s.value){s.value=!1;return}c.value=!0,(g=a.value)==null||g.update([void 0,""].includes(m)?{text:""}:{json:m})},{deep:!0}),no(()=>e.mode,m=>{var g;(g=a.value)==null||g.updateProps({mode:m})}),no(()=>Array.from(Yv,m=>e[m]),m=>{a.value.updateProps(Object.fromEntries(Array.from(m,(g,y)=>[Yv[y],g]).filter(([,g])=>g!==void 0)))}),no(()=>t,m=>{const g={};m.onChange&&(g.onChange=d),m.onChangeMode&&(g.onChangeMode=h),a.value.updateProps(Object.getOwnPropertyNames(g).length>0?yl([m,g],{type:Object,mergeFunction:p}):m)},{deep:!0}),r?.({jsonEditor:a}),nf(()=>{a.value.destroy()}),Ku(()=>{a.value=new txt({target:i?.$refs.jsonEditorRef,props:v}),r||(r=m=>{for(const g in m)i[g]=Ie(m[g])},r({jsonEditor:a}))}),()=>Do("div",{ref:"jsonEditorRef"})}}),Sm={},mW={};function M3t(e){return e.install=(t,n={})=>{const{props:r,attrs:o}=ZCt(n,vW.props);Object.assign(Sm,r),Object.assign(mW,o),t.component(e.name,e)},e}const P3t=M3t(vW);const A3t={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((r,o)=>(r.size=o===t?r.max:r.min,o!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(e),o),r);let a=[t,t+1],s=this.panes[a[0]]||null,c=this.panes[a[1]]||null;const u=s.max<100&&i>=s.max+n.prevPanesSize,l=c.max<100&&i<=100-(c.max+this.sumNextPanesSize(t+1));if(u||l){u?(s.size=s.max,c.size=Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,0)):(s.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:a}=f),s=this.panes[a[0]]||null,c=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),c!==null&&(c.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,i)=>{i>r[0]&&i<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,i)=>{i>0&&i<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,i)=>{i>n&&i<r[1]&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,i)=>{i<this.panesCount-1&&i>=n+1&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const r=e-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=i=>this.onMouseDown(i,r)),o.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(o.ondblclick=i=>this.onSplitterDblClick(i,r+1)),t.parentNode.insertBefore(o,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&t++,o===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((o,i)=>o.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(e,o.max),o.min),t-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(i=>{e-=i.size,i.size!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id)});let o=100;e>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(e/(this.panesCount-r),i.max),i.min)),o-=i.size}),o>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const o=[],i=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(a=>{e&&e.givenSize!==null&&e.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),r>.1&&this.readjustSizes(r,o,i))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((o,i)=>{if(e>0&&!t.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;e-=s,o.size=a}else if(!n.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;e-=s,o.size=a}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Do("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},T3t=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},R3t={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function I3t(e,t,n,r,o,i){return Ln(),ri("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=a=>i.onPaneClick(a,e._.uid)),style:jc(e.style)},[Au(e.$slots,"default")],4)}const B7=T3t(R3t,[["render",I3t]]),N3t="2.0.18";let bl;const _d=[];function D3t(e){if(_d.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&_d.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&_d.forEach(n=>n(t))},get(){return bl.value},configurable:!0}),()=>{_d.splice(_d.indexOf(e),1)}}function L3t(){bl||(bl=ef(),D3t(t));function e(){cq(bl)}function t(n){bl.value=n,n.host&&n.host.hooks.hook("host:update:reactivity",e)}return bl}const F7=L3t();const z3t={class:"flex-row flex h-screen"},B3t={class:"border-r-1 border-light-400 dark:border-dark-400 dark:bg-dark-900 dark:text-light bg-white text-dark-800 flex flex-col justify-between h-screen z-5"},F3t={class:"flex-grow hidden md:block"},H3t={class:"py-3 w-full flex items-start px-5 justify-between space-x-5"},V3t=Qn("h1",{class:"text-base w-40"}," OG Image Playground ",-1),W3t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),q3t={class:"py-7 px-5 text-sm flex flex-col space-y-3"},U3t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),K3t={key:0,class:"py-7 px-5 text-sm flex flex-col space-y-3"},J3t={class:"p-3 text-gray-400 text-sm text-center"},G3t={class:"mx-auto flex flex-col w-full bg-white dark:bg-black max-h-screen overflow-hidden dark:bg-dark-700 bg-light-200"},Q3t={class:"py-9px dark:bg-dark-800 bg-light-200 px-10 opacity-80 flex items-center max-w-full block space-x-5"},Y3t={class:"text-sm flex items-center space-x-5"},Z3t=Qn("div",{class:"text-xs opacity-40"}," Path ",-1),X3t={class:"flex items-center space-x-1"},t4t={key:0,class:"text-xs opacity-70"},e4t=Qn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),n4t=Qn("h2",{class:"font-semibold text-lg mb-5"}," Props ",-1),r4t={class:"relative"},o4t={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},i4t={key:0,class:"text-xs p-2 text-gray-300"},a4t=Bo({__name:"app",async setup(e){let t,n;kG({title:"OG Image Playground"});const r=sr(()=>!!F7.value),o=sr(()=>F7.value?.host.nuxt.vueApp.config?.globalProperties?.$route?.path||void 0);Ha.value=o.value||Ed().query.path||"/",dN.value=Ed().query.base||"/",no(()=>o.value,d=>{Od.value={},iu.value=!1,Ha.value=d});const i=sr(()=>Ed().path!=="/vnodes"&&Ed().path!=="/options"),a=([t,n]=vb(()=>PS()),t=await t,n(),t);no(a,d=>{Wp.value=Ie(d),d={...Ie(d)},delete d.path,delete d.cache,delete d.cacheTtl,delete d.component,delete d.provider,delete d.componentHash,I1.value=d},{immediate:!0});const s=zk(d=>{Od.value={},iu.value=!1,Ha.value=d.target.value,Md()},1e3),c=zI();function u(d){Od.value=d,iu.value=!0,Md()}const l=sr(()=>c.value==="dark");async function f(d=!0){d&&await PS(),Od.value={},iu.value=!1;const h={...Wp.value};delete h.path,delete h.cache,delete h.cacheTtl,delete h.component,delete h.provider,delete h.componentHash,I1.value=h,d&&Md()}return[t,n]=vb(()=>f(!1)),await t,n(),(d,h)=>{const p=Mk,v=_Y,m=OY,g=rN,y=DI,b=VZ,w=JZ;return Ln(),ri("div",z3t,[Qn("header",B3t,[Qn("div",F3t,[Qn("div",H3t,[V3t,Ie(r)?Ta("",!0):(Ln(),go(m,{key:0},{default:to(({toggle:k})=>[Ze(v,{n:"borderless lg m-0","p-0":"",op50:"",onClick:k},{default:to(()=>[Ze(p,{icon:"dark:carbon-moon carbon-sun"})]),_:2},1032,["onClick"])]),_:1}))]),W3t,Qn("div",q3t,[Ze(y,{to:"/",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:image-search",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Template HTML ",2)]),_:1}),Ie(Wp)?.provider==="satori"?(Ln(),go(y,{key:0,to:"/svg",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:svg",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview SVG ",2)]),_:1})):Ta("",!0),Ze(y,{to:"/png",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:png",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview PNG ",2)]),_:1}),Ze(y,{to:"/options",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:operations-record",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," Options ",2)]),_:1}),Ze(y,{to:"/vnodes",class:"transition-all hover:ml-1 whitespace-nowrap"},{default:to(({isActive:k})=>[Ze(g,{name:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:Vr(["mr-1",[k?"opacity-90":"opacity-60"]])},null,8,["class"]),Qn("span",{class:Vr([k?"underline":"opacity-60"])}," vNodes ",2)]),_:1})]),U3t,Ie(i)?(Ln(),ri("div",K3t,[Ie(ol)!==504?(Ln(),ri("div",{key:0,onClick:h[0]||(h[0]=k=>ol.value=504)},[Ze(v,null,{default:to(()=>[Ze(g,{name:"carbon:mobile"}),mu(" Small ")]),_:1})])):Ta("",!0),Ie(ol)!==null?(Ln(),ri("div",{key:1,onClick:h[1]||(h[1]=k=>ol.value=null)},[Ze(v,null,{default:to(()=>[Ze(g,{name:"carbon:laptop"}),mu(" Full width ")]),_:1})])):Ta("",!0),Qn("div",null,[Ze(v,{onClick:Ie(Md)},{default:to(()=>[mu(" Refresh ")]),_:1},8,["onClick"])])])):Ta("",!0)]),Qn("div",J3t," v"+Zv(Ie(N3t)),1)]),Qn("main",G3t,[Qn("div",Q3t,[Qn("div",Y3t,[Z3t,Qn("div",X3t,[Ze(b,{"model-value":Ie(Ha),placeholder:"Search...",n:"primary",onInput:Ie(s)},null,8,["model-value","onInput"])])]),Ie(MS)?(Ln(),ri("div",t4t,Zv(Ie(MS)),1)):Ta("",!0)]),e4t,Qn("div",{class:"h-full max-h-full overflow-hidden lg:p-5 p-2",style:jc({width:Ie(ol)&&Ie(i)?`${Ie(ol)}px`:"100%"})},[Ze(Ie(A3t),{class:"default-theme",onResize:Ie(pX)},{default:to(()=>[Ze(Ie(B7),{size:"80"},{default:to(()=>[Ze(w)]),_:1}),Ze(Ie(B7),{size:"20"},{default:to(()=>[n4t,Qn("div",r4t,[Ze(Ie(P3t),{"model-value":Ie(I1),class:Vr(Ie(l)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ie(iu)?(Ln(),ri("span",o4t,"modified")):Ta("",!0)]),Ie(iu)?(Ln(),ri("div",i4t,[Qn("div",null,[mu(" Update "+Zv(Ie(Wp).component)+" to persist the changes. ",1),Qn("button",{type:"button",class:"underline",onClick:h[2]||(h[2]=k=>f(!0))}," Reset ")])])):Ta("",!0)]),_:1})]),_:1},8,["onResize"])],4)])])}}});const s4t={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
142
142
|
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
143
|
-
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),s=void 0,l=o?Rm(()=>za(()=>import("./error-404.
|
|
143
|
+
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),s=void 0,l=o?Rm(()=>za(()=>import("./error-404.a8325271.js"),["./error-404.a8325271.js","./error-404.f3dd5020.css"],import.meta.url).then(f=>f.default||f)):Rm(()=>za(()=>import("./error-500.eedfced3.js"),["./error-500.eedfced3.js","./error-500.06915589.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Ln(),go(Ie(l),K7(bk({statusCode:Ie(r),statusMessage:Ie(i),description:Ie(a),stack:Ie(s)})),null,16))}},H7={__name:"nuxt-root",setup(e){const t=()=>null,n=cr(),r=n.deferHydration(),o=!1;Dl(l0,Ed()),n.hooks.callHookWith(s=>s.map(c=>c()),"vue:setup");const i=f0();O9((s,c,u)=>{if(n.hooks.callHook("vue:error",s,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),BG(s)&&(s.fatal||s.unhandled))return n.runWithContext(()=>wl(s)),!1});const{islandContext:a}=!1;return(s,c)=>(Ln(),go(y9,{onResolve:Ie(r)},{default:to(()=>[Ie(i)?(Ln(),go(Ie(s4t),{key:0,error:Ie(i)},null,8,["error"])):Ie(a)?(Ln(),go(Ie(t),{key:1,context:Ie(a)},null,8,["context"])):Ie(o)?(Ln(),go(mk(Ie(o)),{key:2})):(Ln(),go(Ie(a4t),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=BK.create({baseURL:uJ()}));let V7;{let e;V7=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?QU(H7):GU(H7),o=kJ({vueApp:r});try{await _J(o,jY)}catch(i){await o.callHook("app:error",i),o.payload.error=o.payload.error||i}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount("#"+$G),await o.hooks.callHook("app:mounted",r),await Uu()}catch(i){await o.callHook("app:error",i),o.payload.error=o.payload.error||i}return r},e=V7().catch(t=>{console.error("Error while mounting app:",t)})}export{m0 as A,Bk as B,Md as C,f4t as D,go as E,vb as F,d4t as G,l4t as H,mY as I,LI as _,Qn as a,Ze as b,ri as c,mu as d,DI as e,u4t as f,Bo as g,zI as h,zk as i,Wp as j,Ku as k,no as l,ol as m,sr as n,Ln as o,c4t as p,MS as q,Tn as r,jc as s,Zv as t,kG as u,Ie as v,to as w,kK as x,Od as y,Ha as z};
|