nuxt-og-image 2.0.1 → 2.0.3
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.685477c5.js → IconCSS.f4347589.js} +1 -1
- package/dist/client/_nuxt/{ImageLoader.fb4e5eb3.js → ImageLoader.b38d1d6c.js} +1 -1
- package/dist/client/_nuxt/{entry.0fc037e0.js → entry.6afde11b.js} +3 -3
- package/dist/client/_nuxt/{error-404.068f19dd.js → error-404.6f854c9c.js} +1 -1
- package/dist/client/_nuxt/{error-500.4d72610e.js → error-500.6c46b8cd.js} +1 -1
- package/dist/client/_nuxt/{index.33389497.js → index.d11550ac.js} +1 -1
- package/dist/client/_nuxt/{options.e1a971ea.js → options.f74220bf.js} +1 -1
- package/dist/client/_nuxt/{png.110ab8f5.js → png.493e2b66.js} +1 -1
- package/dist/client/_nuxt/{shiki.3fe159de.js → shiki.74220414.js} +1 -1
- package/dist/client/_nuxt/{svg.1a58cdf3.js → svg.b775edc5.js} +1 -1
- package/dist/client/_nuxt/{vnodes.42fbc6e6.js → vnodes.1003b66c.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 +17 -17
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ function Vx(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.leng
|
|
|
2
2
|
* vue-router v4.2.2
|
|
3
3
|
* (c) 2023 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const ul=typeof window<"u";function oG(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Wn=Object.assign;function _1(e,t){const n={};for(const r in t){const o=t[r];n[r]=ba(o)?o.map(e):e(o)}return n}const Vd=()=>{},ba=Array.isArray,iG=/\/$/,aG=e=>e.replace(iG,"");function $1(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=lG(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function sG(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function R$(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cG(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])&&hI(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 hI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uG(e[n],t[n]))return!1;return!0}function uG(e,t){return ba(e)?I$(e,t):ba(t)?I$(t,e):e===t}function I$(e,t){return ba(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lG(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 qd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qd||(qd={}));function fG(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),aG(e)}const dG=/^[^#]+#/;function hG(e,t){return e.replace(dG,"#")+t}function pG(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 u0=()=>({left:window.pageXOffset,top:window.pageYOffset});function vG(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=pG(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 N$(e,t){return(history.state?history.state.position-t:-1)+e}const Ob=new Map;function mG(e,t){Ob.set(e,t)}function gG(e){const t=Ob.get(e);return Ob.delete(e),t}let yG=()=>location.protocol+"//"+location.host;function pI(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),R$(c,"")}return R$(n,e)+r+o}function bG(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const h=pI(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?qd.forward:qd.back:qd.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(Wn({},d.state,{scroll:u0()}),"")}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 D$(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?u0():null}}function wG(e){const{history:t,location:n}=window,r={value:pI(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:yG()+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=Wn({},t.state,D$(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=Wn({},o.value,t.state,{forward:c,scroll:u0()});i(l.current,l,!0);const f=Wn({},D$(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 vI(e){e=fG(e);const t=wG(e),n=bG(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=Wn({location:"",base:e,go:r,createHref:hG.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 xG(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vI(e)}function kG(e){return typeof e=="string"||e&&typeof e=="object"}function mI(e){return typeof e=="string"||typeof e=="symbol"}const Ia={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},gI=Symbol("");var L$;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(L$||(L$={}));function lf(e,t){return Wn(new Error,{type:e,[gI]:!0},t)}function vs(e,t){return e instanceof Error&&gI in e&&(t==null||!!(e.type&t))}const z$="[^/]+?",jG={sensitive:!1,strict:!1,start:!0,end:!0},_G=/[.+*?^${}()[\]/\\]/g;function $G(e,t){const n=Wn({},jG,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(_G,"\\$&"),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||z$;if(y!==z$){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(ba(g)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=ba(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 SG(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 CG(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=SG(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(B$(r))return 1;if(B$(o))return-1}return o.length-r.length}function B$(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const EG={type:0,value:""},OG=/[a-zA-Z0-9_]/;function MG(e){if(!e)return[[]];if(e==="/")return[[EG]];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:OG.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 PG(e,t,n){const r=$G(MG(e.path),n),o=Wn(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function AG(e,t){const n=[],r=new Map;t=V$({strict:!1,end:!0,sensitive:!1},t);function o(l){return r.get(l)}function i(l,f,d){const h=!d,p=TG(l);p.aliasOf=d&&d.record;const v=V$(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(Wn({},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=PG(b,f,v),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&l.name&&!H$(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(mI(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&&CG(l,n[f])>=0&&(l.record.path!==n[f].record.path||!yI(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!H$(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=Wn(F$(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),l.params&&F$(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=Wn({},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:IG(m)}}return e.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function F$(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function TG(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:RG(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 RG(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=="boolean"?n:n[r];return t}function H$(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function IG(e){return e.reduce((t,n)=>Wn(t,n.meta),{})}function V$(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function yI(e,t){return t.children.some(n=>n===e||yI(e,n))}const bI=/#/g,NG=/&/g,DG=/\//g,LG=/=/g,zG=/\?/g,wI=/\+/g,BG=/%5B/g,FG=/%5D/g,xI=/%5E/g,HG=/%60/g,kI=/%7B/g,VG=/%7C/g,jI=/%7D/g,qG=/%20/g;function bk(e){return encodeURI(""+e).replace(VG,"|").replace(BG,"[").replace(FG,"]")}function WG(e){return bk(e).replace(kI,"{").replace(jI,"}").replace(xI,"^")}function Mb(e){return bk(e).replace(wI,"%2B").replace(qG,"+").replace(bI,"%23").replace(NG,"%26").replace(HG,"`").replace(kI,"{").replace(jI,"}").replace(xI,"^")}function UG(e){return Mb(e).replace(LG,"%3D")}function KG(e){return bk(e).replace(bI,"%23").replace(zG,"%3F")}function JG(e){return e==null?"":KG(e).replace(DG,"%2F")}function Hm(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function GG(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(wI," "),a=i.indexOf("="),s=Hm(a<0?i:i.slice(0,a)),c=a<0?null:Hm(i.slice(a+1));if(s in t){let u=t[s];ba(u)||(u=t[s]=[u]),u.push(c)}else t[s]=c}return t}function q$(e){let t="";for(let n in e){const r=e[n];if(n=UG(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ba(r)?r.map(i=>i&&Mb(i)):[r&&Mb(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function QG(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ba(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const YG=Symbol(""),W$=Symbol(""),wk=Symbol(""),_I=Symbol(""),Pb=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,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):kG(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 S1(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(ZG(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=oG(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 ZG(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function U$(e){const t=Mi(wk),n=Mi(_I),r=Kn(()=>t.resolve(Ie(e.to))),o=Kn(()=>{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=K$(c[u-2]);return u>1&&K$(l)===h&&f[f.length-1].path!==h?f.findIndex(uf.bind(null,c[u-2])):d}),i=Kn(()=>o.value>-1&&nQ(n.params,r.value.params)),a=Kn(()=>o.value>-1&&o.value===n.matched.length-1&&hI(n.params,r.value.params));function s(c={}){return eQ(c)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Vd):Promise.resolve()}return{route:r,href:Kn(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const XG=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:U$,setup(e,{slots:t}){const n=li(U$(e)),{options:r}=Mi(wk),o=Kn(()=>({[J$(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[J$(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)}}}),tQ=XG;function eQ(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 nQ(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(!ba(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function K$(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const J$=(e,t,n)=>e??t??n,rQ=Bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Mi(Pb),o=Kn(()=>e.route||r.value),i=Mi(W$,0),a=Kn(()=>{let u=Ie(i);const{matched:l}=o.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),s=Kn(()=>o.value.matched[a.value]);Dl(W$,Kn(()=>a.value+1)),Dl(YG,s),Dl(Pb,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 G$(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,Wn({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return G$(n.default,{Component:m,route:u})||m}}});function G$(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const $I=rQ;function oQ(e){const t=AG(e.routes,e),n=e.parseQuery||GG,r=e.stringifyQuery||q$,o=e.history,i=od(),a=od(),s=od(),c=ef(Ia);let u=Ia;ul&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=_1.bind(null,G=>""+G),f=_1.bind(null,JG),d=_1.bind(null,Hm);function h(G,pt){let gt,_t;return mI(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=Wn({},pt||c.value),typeof G=="string"){const X=$1(n,G,pt.path),wt=t.resolve({path:X.path},pt),ft=o.createHref(X.fullPath);return Wn(X,wt,{params:d(wt.params),hash:Hm(X.hash),redirectedFrom:void 0,href:ft})}let gt;if("path"in G)gt=Wn({},G,{path:$1(n,G.path,pt.path).path});else{const X=Wn({},G.params);for(const wt in X)X[wt]==null&&delete X[wt];gt=Wn({},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=sG(r,Wn({},G,{hash:WG(yt),path:_t.path})),P=o.createHref(Q);return Wn({fullPath:Q,hash:yt,query:r===q$?QG(G.query):G.query||{}},_t,{redirectedFrom:void 0,href:P})}function y(G){return typeof G=="string"?$1(n,G,c.value.path):Wn({},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(Wn(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={}),Wn({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(Wn(y(X),{state:typeof X=="object"?Wn({},yt,X.state):yt,force:Q,replace:P}),pt||gt);const wt=gt;wt.redirectedFrom=pt;let ft;return!Q&&cG(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(Wn({replace:P},y(L.to),{state:typeof L.to=="object"?Wn({},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]=iQ(G,pt);gt=S1(_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=S1(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 G.matched)if(X.beforeEnter&&!pt.matched.includes(X))if(ba(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=S1(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){for(const _t of s.list())M(()=>_t(G,pt,gt))}function I(G,pt,gt,_t,yt){const Q=b(G,pt);if(Q)return Q;const P=pt===Ia,X=ul?history.state:{};gt&&(_t||P?o.replace(G.fullPath,Wn({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(Wn(yt,{replace:!0}),_t).catch(Vd);return}u=_t;const Q=c.value;ul&&mG(N$(Q.fullPath,gt.delta),u0()),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!==Ia?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&&gG(N$(G.fullPath,0))||(_t||!gt)&&history.state&&history.state.scroll||null;return Uu().then(()=>yt(G,pt,Q)).then(P=>P&&vG(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",tQ),G.component("RouterView",$I),G.config.globalProperties.$router=pt,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(c)}),ul&&!j&&c.value===Ia&&(j=!0,w(o.location).catch(yt=>{}));const gt={};for(const yt in Ia)gt[yt]=Kn(()=>c.value[yt]);G.provide(wk,pt),G.provide(_I,li(gt)),G.provide(Pb,c);const _t=G.unmount;K.add(G),G.unmount=function(){K.delete(G),K.size<1&&(u=Ia,H&&H(),H=null,c.value=Ia,j=!1,N=!1),_t()}}};function st(G){return G.reduce((pt,gt)=>pt.then(()=>M(gt)),Promise.resolve())}return J}function iQ(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 Q$=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./index.33389497.js"),["./index.33389497.js","./index.ffbea0a9.css"],import.meta.url).then(e=>e.default||e)},{name:"options",path:"/options",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./options.e1a971ea.js"),["./options.e1a971ea.js","./shiki.3fe159de.js"],import.meta.url).then(e=>e.default||e)},{name:"png",path:"/png",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./png.110ab8f5.js"),["./png.110ab8f5.js","./ImageLoader.fb4e5eb3.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"svg",path:"/svg",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./svg.1a58cdf3.js"),["./svg.1a58cdf3.js","./ImageLoader.fb4e5eb3.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"vnodes",path:"/vnodes",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./vnodes.42fbc6e6.js"),["./vnodes.42fbc6e6.js","./shiki.3fe159de.js"],import.meta.url).then(e=>e.default||e)}],aQ={scrollBehavior(e,t,n){const r=cr();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&sQ(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:Y$(e.hash)}}const i=s=>!!(s.meta.pageTransition??_b),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:Y$(e.hash)}),s(o)})})}};function Y$(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function sQ(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 cQ={},Zs={...cQ,...aQ},uQ=async e=>{let t,n;if(!e.meta?.validate)return;const r=cr(),o=Ls();if(([t,n]=zm(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=c0({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}})},lQ=[uQ],Ab={};function fQ(e,t,n){const{pathname:r,search:o,hash:i}=t,a=e.indexOf("#");if(a>-1){const c=i.includes(e.slice(a))?e.slice(a).length:1;let u=i.slice(c);return u[0]!=="/"&&(u="/"+u),x$(u,"")}const s=n||x$(r,e);return s+(s.includes("?")?"":o)+i}const dQ=Ds({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=gk().app.baseURL;Zs.hashMode&&!r.includes("#")&&(r+="#");const o=Zs.history?.(r)??(Zs.hashMode?xG(r):vI(r)),i=Zs.routes?.(Q$)??Q$;let a;const s=fQ(r,window.location,e.payload.path),c=oQ({...Zs,scrollBehavior:(v,m,g)=>{if(m===Ia){a=g;return}return c.options.scrollBehavior=Zs.scrollBehavior,Zs.scrollBehavior?.(v,Ia,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)d[v]=Kn(()=>l.value[v]);e._route=li(d),e._middleware=e._middleware||{global:[],named:{}};const h=s0();try{[t,n]=zm(()=>c.isReady()),await t,n()}catch(v){[t,n]=zm(()=>e.runWithContext(()=>wl(v))),await t,n()}const p=a0("_layout");return c.beforeEach(async(v,m)=>{v.meta=li(v.meta),e.isHydrating&&p.value&&!Mu(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const g=new Set([...lQ,...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 Ab[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||Cb({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(eG),v.matched.length===0&&await e.runWithContext(()=>wl(Cb({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}}}}),hQ=Rm(()=>Ba(()=>Promise.resolve().then(()=>XY),void 0,import.meta.url).then(e=>e.default)),pQ=Rm(()=>Ba(()=>import("./IconCSS.685477c5.js"),["./IconCSS.685477c5.js","./IconCSS.b41b9663.css"],import.meta.url).then(e=>e.default)),vQ=[["Icon",hQ],["IconCSS",pQ]],mQ=Ds({name:"nuxt:global-components",setup(e){for(const[t,n]of vQ)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),gQ=Ds({name:"nuxt:head",setup(e){const n=IJ();n.push(BJ),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={},yQ=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(Lf(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 Ab[a]=="function"&&Ab[a]();o&&typeof Hp[o]=="function"&&Hp[o]()})}}),Tb=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),bQ=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),wQ=e=>{const t=cr();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Tb(e)}):Tb(e)},xQ=()=>null;function xk(...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??xQ,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:rk(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=kQ(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]=c0(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&&(y9(()=>{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 kQ(e,t){const n={};for(const r of t)n[r]=e[r];return n}async function SI(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(()=>SI(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 jQ(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 _Q=(...e)=>e.find(t=>t!==void 0),$Q="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function SQ(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const i=e.trailingSlash==="append"?K9:mk;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=Kn(()=>{const f=r.to||r.href||"";return n(f,i.resolve)}),s=Kn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||Lf(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"&&!EQ()){const d=cr();let h,p=null;Ku(()=>{const v=CQ();wQ(()=>{h=Tb(()=>{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&&SI(a.value,i).catch(()=>{})]),c.value=!0}))})})}),tp(()=>{h&&bQ(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(RW("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:_Q(r.rel,e.externalRelAttribute,f?$Q:"")||null,p=()=>tG(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:p,get route(){if(!f)return;const v=np(f);return{path:v.pathname,fullPath:v.pathname,get query(){return U9(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 CI=SQ({componentName:"NuxtLink"});function CQ(){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 EQ(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const OQ={},MQ=GJ(OQ);function PQ(){const e=cr();return e._appConfig||(e._appConfig=li(MQ)),e._appConfig}const AQ="__NUXT_COLOR_MODE__",TQ="ColorScheme",RQ="nuxt-color-mode",ms=window[AQ],IQ=Ds(e=>{const t=a0("color-mode",()=>li({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(RQ,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 NQ=Ds(()=>{}),DQ=Ds({name:"nuxt:chunk-reload",setup(e){const t=Ls(),n=gk(),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:ep(n.app.baseURL,i.fullPath);jQ({path:s,persistState:!0})}})}}),LQ=Ds({name:"nuxt:payload",setup(e){WJ()&&(e.hooks.hook("link:prefetch",async t=>{np(t).protocol||await P$(t)}),Ls().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await P$(t.path);r&&Object.assign(e.static.data,r.data)}))}}),zQ=[rG,dQ,mQ,gQ,yQ,IQ,NQ,DQ,LQ],kk=Bo({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Ln(),ri("div",{class:Vr(["n-icon",t.icon])},null,2))}}),BQ=Bo({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=kk;return Ln(),go(ck(t.to?Ie(CI):"button"),hk({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(()=>[Pu(t.$slots,"icon",{},()=>[t.icon?(Ln(),go(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ra("",!0)]),Pu(t.$slots,"default")]),_:3},16,["to"])}}}),FQ=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)}}}),EI=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},HQ={name:TQ,props:{placeholder:String,tag:{type:String,default:"span"}}};function VQ(e,t,n,r,o,i){const a=FQ;return Ln(),go(a,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:to(()=>[Pu(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const qQ=EI(HQ,[["render",VQ]]),OI=()=>a0("color-mode").value,WQ=Bo({__name:"NDarkToggle",setup(e){const t=OI(),n=Kn({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=qQ;return Ln(),go(c,{tag:"span"},{default:to(()=>[Pu(a.$slots,"default",D7(fk(i)))]),_:3})}}}),MI=Object.freeze({left:0,top:0,width:16,height:16}),PI=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jk=Object.freeze({...MI,...PI});Object.freeze({...jk,body:"",hidden:!1});({...MI});const AI=Object.freeze({width:null,height:null}),TI=Object.freeze({...AI,...PI});function UQ(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in AI?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const KQ=/[\s,]+/;function JQ(e,t){t.split(KQ).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function GQ(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 QQ=/(-?[0-9.]*[0-9]+[0-9.]*)/g,YQ=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z$(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(QQ);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=YQ.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 ZQ=e=>e==="unset"||e==="undefined"||e==="none";function XQ(e,t){const n={...jk,...e},r={...TI,...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=Z$(f,c/u)):(l=a==="auto"?c:a,f=s===null?Z$(l,u/c):s==="auto"?u:s);const d={},h=(p,v)=>{ZQ(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 tY=/\sid="(\S+)"/g,eY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let nY=0;function rY(e,t=eY){const n=[];let r;for(;r=tY.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+(nY++).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 oY(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 iY(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function aY(e){return"data:image/svg+xml,"+iY(e)}function sY(e){return'url("'+aY(e)+'")'}const X$={...TI,inline:!1},cY={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},uY={display:"inline-block"},Rb={backgroundColor:"currentColor"},RI={backgroundColor:"transparent"},tS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},eS={webkitMask:Rb,mask:Rb,background:RI};for(const e in eS){const t=eS[e];for(const n in tS)t[e+n]=tS[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 nS(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const lY=(e,t)=>{const n=UQ(X$,t),r={...cY},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"&&JQ(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=GQ(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):X$[v]===void 0&&(r[v]=m)}}}const c=XQ(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=rY(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=oY(l,{...u,width:f+"",height:d+""});return r.style={...i,"--svg":sY(p),width:nS(u.width),height:nS(u.height),...uY,...h?Rb:RI,...s},Do("span",r)},fY=Object.create(null),dY=Bo({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?fY[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:lY({...jk,...n},e)}}),Wd=/^[a-z0-9]+(-[a-z0-9]+)*$/,l0=(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(Wd))&&(t&&e.prefix===""||e.prefix.match(Wd))&&e.name.match(Wd)):!1,II=Object.freeze({left:0,top:0,width:16,height:16}),Vm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_k=Object.freeze({...II,...Vm}),Ib=Object.freeze({..._k,body:"",hidden:!1});function hY(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 rS(e,t){const n=hY(e,t);for(const r in Ib)r in Vm?r in e&&!(r in n)&&(n[r]=Vm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function pY(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 vY(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(s){i=rS(r[s]||o[s],i)}return a(t),n.forEach(a),rS(e,i)}function NI(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=pY(e);for(const o in r){const i=r[o];i&&(t(o,vY(e,o,i)),n.push(o))}return n}const mY={provider:"",aliases:{},not_found:{},...II};function C1(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function DI(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!C1(e,mY))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o.match(Wd)||typeof i.body!="string"||!C1(i,Ib))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(Wd)||typeof a!="string"||!n[a]&&!r[a]||!C1(i,Ib))return null}return t}const oS=Object.create(null);function gY(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Au(e,t){const n=oS[e]||(oS[e]=Object.create(null));return n[t]||(n[t]=gY(e,t))}function $k(e,t){return DI(t)?NI(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function yY(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mh=!1;function LI(e){return typeof e=="boolean"&&(mh=e),mh}function bY(e){const t=typeof e=="string"?l0(e,!0,mh):e;if(t){const n=Au(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function wY(e,t){const n=l0(e,!0,mh);if(!n)return!1;const r=Au(n.provider,n.prefix);return yY(r,n.name,t)}function xY(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mh&&!t&&!e.prefix){let o=!1;return DI(e)&&(e.prefix="",NI(e,(i,a)=>{a&&wY(i,a)&&(o=!0)})),o}const n=e.prefix;if(!em({provider:t,prefix:n,name:"a"}))return!1;const r=Au(t,n);return!!$k(r,e)}const kY=Object.freeze({width:null,height:null}),jY=Object.freeze({...kY,...Vm});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Nb=Object.create(null);function _Y(e,t){Nb[e]=t}function Db(e){return Nb[e]||Nb[""]}function Sk(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 Ck=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());Ck[""]=Sk({resources:["https://api.iconify.design"].concat(nm)});function $Y(e,t){const n=Sk(t);return n===null?!1:(Ck[e]=n,!0)}function Ek(e){return Ck[e]}const SY=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let iS=SY();function CY(e,t){const n=Ek(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 EY(e){return e===404}const OY=(e,t,n)=>{const r=[],o=CY(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 MY(e){if(typeof e=="string"){const t=Ek(e);if(t)return t.path}return"/"}const PY=(e,t,n)=>{if(!iS){n("abort",424);return}let r=MY(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;iS(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(EY(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)})},AY={prepare:OY,send:PY};function TY(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]=Au(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 zI(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function RY(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||zI([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let IY=0;function NY(e,t,n){const r=IY++,o=zI.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 DY(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?l0(o,t,n):o;i&&r.push(i)}),r}var LY={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zY(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 BI(e){const t={...LY,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,u){const l=zY(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 aS(){}const E1=Object.create(null);function BY(e){if(!E1[e]){const t=Ek(e);if(!t)return;const n=BI(t),r={config:t,redundancy:n};E1[e]=r}return E1[e]}function FY(e,t,n){let r,o;if(typeof e=="string"){const i=Db(e);if(!i)return n(void 0,424),aS;o=i.send;const a=BY(e);a&&(r=a.redundancy)}else{const i=Sk(e);if(i){r=BI(i);const a=e.resources?e.resources[0]:"",s=Db(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),aS):r.query(t,o,n)().abort}const sS="iconify2",gh="iconify",FI=gh+"-count",cS=gh+"-version",HI=36e5,HY=168;function Lb(e,t){try{return e.getItem(t)}catch{}}function Ok(e,t,n){try{return e.setItem(t,n),!0}catch{}}function uS(e,t){try{e.removeItem(t)}catch{}}function zb(e,t){return Ok(e,FI,t.toString())}function Bb(e){return parseInt(Lb(e,FI))||0}const f0={local:!0,session:!0},VI={local:new Set,session:new Set};let Mk=!1;function VY(e){Mk=e}let Vp=typeof window>"u"?{}:window;function qI(e){const t=e+"Storage";try{if(Vp&&Vp[t]&&typeof Vp[t].length=="number")return Vp[t]}catch{}f0[e]=!1}function WI(e,t){const n=qI(e);if(!n)return;const r=Lb(n,cS);if(r!==sS){if(r){const s=Bb(n);for(let c=0;c<s;c++)uS(n,gh+c.toString())}Ok(n,cS,sS),zb(n,0);return}const o=Math.floor(Date.now()/HI)-HY,i=s=>{const c=gh+s.toString(),u=Lb(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{}uS(n,c)}};let a=Bb(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,zb(n,a)):VI[e].add(s))}function UI(){if(!Mk){VY(!0);for(const e in f0)WI(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=Au(r,o);if(!$k(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function qY(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in f0)WI(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function WY(e,t){Mk||UI();function n(r){let o;if(!f0[r]||!(o=qI(r)))return;const i=VI[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Bb(o),!zb(o,a+1))return;const s={cached:Math.floor(Date.now()/HI),provider:e.provider,data:t};return Ok(o,gh+a.toString(),JSON.stringify(s))}t.lastModified&&!qY(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function lS(){}function UY(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,RY(e)}))}function KY(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=Db(n)))return;i.prepare(n,r,o).forEach(s=>{FY(n,s,c=>{if(typeof c!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=$k(e,c);if(!u.length)return;const l=e.pendingIcons;l&&u.forEach(f=>{l.delete(f)}),WY(e,c)}catch(u){console.error(u)}UY(e)})})}))}const JY=(e,t)=>{const n=DY(e,!0,LI()),r=TY(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,lS)}),()=>{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(Au(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=Au(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&&KY(c,o[u][l])}),t?NY(t,r,i):lS},GY=e=>new Promise((t,n)=>{const r=typeof e=="string"?l0(e,!0):e;if(!r){n(e);return}JY([r||e],o=>{if(o.length&&r){const i=bY(r);if(i){t({..._k,...i});return}}n(e)})});({...jY});const fS={backgroundColor:"currentColor"},QY={backgroundColor:"transparent"},dS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hS={webkitMask:fS,mask:fS,background:QY};for(const e in hS){const t=hS[e];for(const n in dS)t[e+n]=dS[n]}const O1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";O1[e+"-flip"]=t,O1[e.slice(0,1)+"-flip"]=t,O1[e+"Flip"]=t});LI(!0);_Y("",AY);if(typeof document<"u"&&typeof window<"u"){UI();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"||!xY(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;$Y(n,o)||console.error(r)}catch{console.error(r)}}}}({..._k});const YY=["width","height"],ZY=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=PQ();i?.nuxtIcon?.aliases;const a=a0("icons",()=>({})),s=Tn(!1),c=Kn(()=>(i.nuxtIcon?.aliases||{})[r.name]||r.name),u=Kn(()=>a.value?.[c.value]),l=Kn(()=>o.vueApp.component(c.value)),f=Kn(()=>{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=Kn(()=>i?.nuxtIcon?.class??"icon");async function h(){l.value||a.value?.[c.value]||(s.value=!0,a.value[c.value]=await GY(c.value).catch(()=>{}),s.value=!1)}return no(()=>c.value,h),!l.value&&([t,n]=lb(()=>h()),t=await t,n()),(p,v)=>s.value?(Ln(),ri("span",{key:0,class:Vr(d.value),width:f.value,height:f.value},null,10,YY)):u.value?(Ln(),go(Ie(dY),{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(ck(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:Wu({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Pu(p.$slots,"default",{},()=>[vu(Zv(e.name),1)],!0)],6))}});const KI=EI(ZY,[["__scopeId","data-v-fed4f909"]]),XY=Object.freeze(Object.defineProperty({__proto__:null,default:KI},Symbol.toStringTag,{value:"Module"}));function pS(e){return typeof e=="function"?e():Ie(e)}const tZ=e=>typeof e<"u",vS=()=>{};function eZ(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 nZ(e,t={}){let n,r,o=vS;const i=s=>{clearTimeout(s),o(),o=vS};return s=>{const c=pS(e),u=pS(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 Pk(e,t=200,n={}){return eZ(nZ(t,n),e)}function rZ(e){return JSON.parse(JSON.stringify(e))}function oZ(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):rZ(b):b,g=()=>tZ(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 Kn({get(){return g()},set(b){y(b)}})}const iZ={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"},aZ=Bo({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=oZ(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=kk;return Ln(),ri("div",iZ,[Pu(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"])):Ra("",!0)]),jW(Yn("input",hk({"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),[[IU,Ie(r)]])])}}}),sZ=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),cZ=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&sZ(e.route,n));return typeof r=="function"?r(e.route):r},uZ=(e,t)=>({default:()=>e?Do(EW,e===!0?{}:e,t):t}),lZ=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Do(e,t,n):n.default?.()}),fZ=Symbol("layout-meta"),dZ=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();n({pageRef:o});const i=Mi(fZ,null);let a;return()=>Do($I,{name:e.name,route:e.route,...t},{default:s=>{if(!s.Component)return;if(a&&i&&!i.isCurrent(s.route))return a;const c=cZ(s,e.pageKey),u=r.deferHydration(),l=!!(e.transition??s.route.meta.pageTransition??_b),f=l&&pZ([e.transition,s.route.meta.pageTransition,_b,{onAfterLeave:()=>{r.callHook("page:transition:finish",s.Component)}}].filter(Boolean));return a=lZ(vk,l&&f,uZ(e.keepalive??s.route.meta.keepalive??FJ,Do(u9,{suspensible:!0,onPending:()=>r.callHook("page:start",s.Component),onResolve:()=>{Uu(()=>r.callHook("page:finish",s.Component).finally(u))}},{default:()=>Do(vZ,{key:c,routeProps:s,pageKey:c,hasTransition:l,pageRef:o})}))).default(),a}})}});function hZ(e){return Array.isArray(e)?e:e?[e]:[]}function pZ(e){const t=e.map(n=>({...n,onAfterLeave:hZ(n.onAfterLeave)}));return JJ(...t)}const vZ=Bo({name:"RouteProvider",props:["routeProps","pageKey","hasTransition","pageRef"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const o in e.routeProps.route)r[o]=Kn(()=>t===e.pageKey?e.routeProps.route[o]:n[o]);return Dl("_route",li(r)),()=>Do(e.routeProps.Component,{ref:e.pageRef})}}),mZ=6e4;function JI(e){return e}const gZ=JI,{setTimeout:yZ}=globalThis,bZ=Math.random.bind(Math);function wZ(e,t){const{post:n,on:r,eventNames:o=[],serialize:i=JI,deserialize:a=gZ,resolver:s,timeout:c=mZ}=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=kZ();u.set(b,{resolve:g,reject:y}),n(i({m:h,a:m,i:b,t:"q"})),c>=0&&yZ(()=>{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 xZ="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function kZ(e=21){let t="",n=e;for(;n--;)t+=xZ[bZ()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:jZ,stringify:_Z}=JSON,{keys:$Z}=Object,yh=String,GI="string",mS={},qm="object",QI=(e,t)=>t,SZ=e=>e instanceof yh?yh(e):e,CZ=(e,t)=>typeof t===GI?new yh(t):t,YI=(e,t,n,r)=>{const o=[];for(let i=$Z(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===qm&&!t.has(l)?(t.add(l),n[c]=mS,o.push({k:c,a:[e,t,l,r]})):n[c]=r.call(n,c,l)}else n[c]!==mS&&(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,YI.apply(null,c))}return n},gS=(e,t,n)=>{const r=yh(t.push(n)-1);return e.set(n,r),r},EZ=(e,t)=>{const n=jZ(e,CZ).map(SZ),r=n[0],o=t||QI,i=typeof r===qm&&r?YI(n,new Set,r,o):r;return o.call({"":i},"",i)},OZ=(e,t,n)=>{const r=t&&typeof t===qm?(l,f)=>l===""||-1<t.indexOf(l)?f:void 0:t||QI,o=new Map,i=[],a=[];let s=+gS(o,i,r.call({"":e},"",e)),c=!s;for(;s<i.length;)c=!0,a[s]=_Z(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 qm:if(d===null)return d;case GI:return o.get(d)||gS(o,i,d)}return d}},MZ=2e3;let ZI=()=>{};const yS=Tn(!0),bS=Tn(),XI=Tn(null);function PZ(e){const t=wZ(e,{post:n=>XI.value.send(n),on:n=>{ZI=n},serialize:OZ,deserialize:EZ});return{useServerConfig:async function(){return(await xk("server-config",()=>t.getConfig())).data}}}async function tN(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>ZI(String(n.data))),t.addEventListener("error",n=>{bS.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{XI.value=await tN(e)},MZ)}),yS.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),yS.value=!1,bS.value=null,t}const d0=Tn(Date.now()),wS=Tn(null),eN=window.location.host,Va=Tn("/"),nN=Tn("/"),qp=Tn({}),Od=Tn({}),ou=Tn(!1),M1=Tn({}),Md=Pk(()=>{d0.value=Date.now()},200),AZ=Pk(()=>{d0.value=Date.now()},1e3),TZ={refresh(){ou.value=!1,Od.value={},Md()}};await tN(eN);PZ(TZ);const ol=Tn(null),Ak=Kn(()=>J9(nN.value,`${window.location.protocol}//${eN}`)),O3t=Kn(()=>`${Ak.value}${Va.value==="/"?"":Va.value}`);async function xS(){const{data:e}=await xk(()=>$fetch("/api/og-image-options",{baseURL:Ak.value,query:{path:Va.value}}),{watch:[Va,d0]},"$XVR8o8RMBy");return e}async function M3t(){const{data:e}=await xk(()=>$fetch("/api/og-image-vnode",{query:{path:Va.value},baseURL:Ak.value}),{watch:[Va,d0]},"$cHgKigQ0kS");return e}var P1,kS,jS,_S,$S,SS,CS,ES,OS,MS,PS,AS,TS,RS,IS,NS,DS,LS,zS,BS,FS,HS,VS,qS,WS,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,qC,WC,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,q3,W3,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,q4,W4,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,q8,W8,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,RZ=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],IZ=["mainAxis","crossAxis","limiter"];function it(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function rN(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=h0(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 oG(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Wn=Object.assign;function _1(e,t){const n={};for(const r in t){const o=t[r];n[r]=ba(o)?o.map(e):e(o)}return n}const Vd=()=>{},ba=Array.isArray,iG=/\/$/,aG=e=>e.replace(iG,"");function $1(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=lG(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function sG(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function R$(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cG(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])&&hI(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 hI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uG(e[n],t[n]))return!1;return!0}function uG(e,t){return ba(e)?I$(e,t):ba(t)?I$(t,e):e===t}function I$(e,t){return ba(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lG(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 qd;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qd||(qd={}));function fG(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),aG(e)}const dG=/^[^#]+#/;function hG(e,t){return e.replace(dG,"#")+t}function pG(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 u0=()=>({left:window.pageXOffset,top:window.pageYOffset});function vG(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=pG(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 N$(e,t){return(history.state?history.state.position-t:-1)+e}const Ob=new Map;function mG(e,t){Ob.set(e,t)}function gG(e){const t=Ob.get(e);return Ob.delete(e),t}let yG=()=>location.protocol+"//"+location.host;function pI(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),R$(c,"")}return R$(n,e)+r+o}function bG(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const h=pI(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?qd.forward:qd.back:qd.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(Wn({},d.state,{scroll:u0()}),"")}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 D$(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?u0():null}}function wG(e){const{history:t,location:n}=window,r={value:pI(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:yG()+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=Wn({},t.state,D$(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=Wn({},o.value,t.state,{forward:c,scroll:u0()});i(l.current,l,!0);const f=Wn({},D$(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 vI(e){e=fG(e);const t=wG(e),n=bG(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=Wn({location:"",base:e,go:r,createHref:hG.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 xG(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),vI(e)}function kG(e){return typeof e=="string"||e&&typeof e=="object"}function mI(e){return typeof e=="string"||typeof e=="symbol"}const Ia={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},gI=Symbol("");var L$;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(L$||(L$={}));function lf(e,t){return Wn(new Error,{type:e,[gI]:!0},t)}function vs(e,t){return e instanceof Error&&gI in e&&(t==null||!!(e.type&t))}const z$="[^/]+?",jG={sensitive:!1,strict:!1,start:!0,end:!0},_G=/[.+*?^${}()[\]/\\]/g;function $G(e,t){const n=Wn({},jG,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(_G,"\\$&"),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||z$;if(y!==z$){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(ba(g)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=ba(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 SG(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 CG(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=SG(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(B$(r))return 1;if(B$(o))return-1}return o.length-r.length}function B$(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const EG={type:0,value:""},OG=/[a-zA-Z0-9_]/;function MG(e){if(!e)return[[]];if(e==="/")return[[EG]];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:OG.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 PG(e,t,n){const r=$G(MG(e.path),n),o=Wn(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function AG(e,t){const n=[],r=new Map;t=V$({strict:!1,end:!0,sensitive:!1},t);function o(l){return r.get(l)}function i(l,f,d){const h=!d,p=TG(l);p.aliasOf=d&&d.record;const v=V$(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(Wn({},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=PG(b,f,v),d?d.alias.push(g):(y=y||g,y!==g&&y.alias.push(g),h&&l.name&&!H$(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(mI(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&&CG(l,n[f])>=0&&(l.record.path!==n[f].record.path||!yI(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!H$(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=Wn(F$(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),l.params&&F$(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=Wn({},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:IG(m)}}return e.forEach(l=>i(l)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function F$(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function TG(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:RG(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 RG(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=="boolean"?n:n[r];return t}function H$(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function IG(e){return e.reduce((t,n)=>Wn(t,n.meta),{})}function V$(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function yI(e,t){return t.children.some(n=>n===e||yI(e,n))}const bI=/#/g,NG=/&/g,DG=/\//g,LG=/=/g,zG=/\?/g,wI=/\+/g,BG=/%5B/g,FG=/%5D/g,xI=/%5E/g,HG=/%60/g,kI=/%7B/g,VG=/%7C/g,jI=/%7D/g,qG=/%20/g;function bk(e){return encodeURI(""+e).replace(VG,"|").replace(BG,"[").replace(FG,"]")}function WG(e){return bk(e).replace(kI,"{").replace(jI,"}").replace(xI,"^")}function Mb(e){return bk(e).replace(wI,"%2B").replace(qG,"+").replace(bI,"%23").replace(NG,"%26").replace(HG,"`").replace(kI,"{").replace(jI,"}").replace(xI,"^")}function UG(e){return Mb(e).replace(LG,"%3D")}function KG(e){return bk(e).replace(bI,"%23").replace(zG,"%3F")}function JG(e){return e==null?"":KG(e).replace(DG,"%2F")}function Hm(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function GG(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(wI," "),a=i.indexOf("="),s=Hm(a<0?i:i.slice(0,a)),c=a<0?null:Hm(i.slice(a+1));if(s in t){let u=t[s];ba(u)||(u=t[s]=[u]),u.push(c)}else t[s]=c}return t}function q$(e){let t="";for(let n in e){const r=e[n];if(n=UG(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ba(r)?r.map(i=>i&&Mb(i)):[r&&Mb(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function QG(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ba(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const YG=Symbol(""),W$=Symbol(""),wk=Symbol(""),_I=Symbol(""),Pb=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,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):kG(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 S1(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(ZG(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=oG(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 ZG(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function U$(e){const t=Mi(wk),n=Mi(_I),r=Kn(()=>t.resolve(Ie(e.to))),o=Kn(()=>{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=K$(c[u-2]);return u>1&&K$(l)===h&&f[f.length-1].path!==h?f.findIndex(uf.bind(null,c[u-2])):d}),i=Kn(()=>o.value>-1&&nQ(n.params,r.value.params)),a=Kn(()=>o.value>-1&&o.value===n.matched.length-1&&hI(n.params,r.value.params));function s(c={}){return eQ(c)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Vd):Promise.resolve()}return{route:r,href:Kn(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const XG=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:U$,setup(e,{slots:t}){const n=li(U$(e)),{options:r}=Mi(wk),o=Kn(()=>({[J$(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[J$(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)}}}),tQ=XG;function eQ(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 nQ(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(!ba(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function K$(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const J$=(e,t,n)=>e??t??n,rQ=Bo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Mi(Pb),o=Kn(()=>e.route||r.value),i=Mi(W$,0),a=Kn(()=>{let u=Ie(i);const{matched:l}=o.value;let f;for(;(f=l[u])&&!f.components;)u++;return u}),s=Kn(()=>o.value.matched[a.value]);Dl(W$,Kn(()=>a.value+1)),Dl(YG,s),Dl(Pb,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 G$(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,Wn({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[l]=null)},ref:c}));return G$(n.default,{Component:m,route:u})||m}}});function G$(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const $I=rQ;function oQ(e){const t=AG(e.routes,e),n=e.parseQuery||GG,r=e.stringifyQuery||q$,o=e.history,i=od(),a=od(),s=od(),c=ef(Ia);let u=Ia;ul&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=_1.bind(null,G=>""+G),f=_1.bind(null,JG),d=_1.bind(null,Hm);function h(G,pt){let gt,_t;return mI(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=Wn({},pt||c.value),typeof G=="string"){const X=$1(n,G,pt.path),wt=t.resolve({path:X.path},pt),ft=o.createHref(X.fullPath);return Wn(X,wt,{params:d(wt.params),hash:Hm(X.hash),redirectedFrom:void 0,href:ft})}let gt;if("path"in G)gt=Wn({},G,{path:$1(n,G.path,pt.path).path});else{const X=Wn({},G.params);for(const wt in X)X[wt]==null&&delete X[wt];gt=Wn({},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=sG(r,Wn({},G,{hash:WG(yt),path:_t.path})),P=o.createHref(Q);return Wn({fullPath:Q,hash:yt,query:r===q$?QG(G.query):G.query||{}},_t,{redirectedFrom:void 0,href:P})}function y(G){return typeof G=="string"?$1(n,G,c.value.path):Wn({},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(Wn(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={}),Wn({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(Wn(y(X),{state:typeof X=="object"?Wn({},yt,X.state):yt,force:Q,replace:P}),pt||gt);const wt=gt;wt.redirectedFrom=pt;let ft;return!Q&&cG(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(Wn({replace:P},y(L.to),{state:typeof L.to=="object"?Wn({},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]=iQ(G,pt);gt=S1(_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=S1(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 G.matched)if(X.beforeEnter&&!pt.matched.includes(X))if(ba(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=S1(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){for(const _t of s.list())M(()=>_t(G,pt,gt))}function I(G,pt,gt,_t,yt){const Q=b(G,pt);if(Q)return Q;const P=pt===Ia,X=ul?history.state:{};gt&&(_t||P?o.replace(G.fullPath,Wn({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(Wn(yt,{replace:!0}),_t).catch(Vd);return}u=_t;const Q=c.value;ul&&mG(N$(Q.fullPath,gt.delta),u0()),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!==Ia?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&&gG(N$(G.fullPath,0))||(_t||!gt)&&history.state&&history.state.scroll||null;return Uu().then(()=>yt(G,pt,Q)).then(P=>P&&vG(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",tQ),G.component("RouterView",$I),G.config.globalProperties.$router=pt,Object.defineProperty(G.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(c)}),ul&&!j&&c.value===Ia&&(j=!0,w(o.location).catch(yt=>{}));const gt={};for(const yt in Ia)gt[yt]=Kn(()=>c.value[yt]);G.provide(wk,pt),G.provide(_I,li(gt)),G.provide(Pb,c);const _t=G.unmount;K.add(G),G.unmount=function(){K.delete(G),K.size<1&&(u=Ia,H&&H(),H=null,c.value=Ia,j=!1,N=!1),_t()}}};function st(G){return G.reduce((pt,gt)=>pt.then(()=>M(gt)),Promise.resolve())}return J}function iQ(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 Q$=[{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./index.d11550ac.js"),["./index.d11550ac.js","./index.ffbea0a9.css"],import.meta.url).then(e=>e.default||e)},{name:"options",path:"/options",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./options.f74220bf.js"),["./options.f74220bf.js","./shiki.74220414.js"],import.meta.url).then(e=>e.default||e)},{name:"png",path:"/png",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./png.493e2b66.js"),["./png.493e2b66.js","./ImageLoader.b38d1d6c.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"svg",path:"/svg",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./svg.b775edc5.js"),["./svg.b775edc5.js","./ImageLoader.b38d1d6c.js","./ImageLoader.7571516f.css"],import.meta.url).then(e=>e.default||e)},{name:"vnodes",path:"/vnodes",meta:{},alias:[],redirect:void 0,component:()=>Ba(()=>import("./vnodes.1003b66c.js"),["./vnodes.1003b66c.js","./shiki.74220414.js"],import.meta.url).then(e=>e.default||e)}],aQ={scrollBehavior(e,t,n){const r=cr();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&sQ(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:Y$(e.hash)}}const i=s=>!!(s.meta.pageTransition??_b),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:Y$(e.hash)}),s(o)})})}};function Y$(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function sQ(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 cQ={},Zs={...cQ,...aQ},uQ=async e=>{let t,n;if(!e.meta?.validate)return;const r=cr(),o=Ls();if(([t,n]=zm(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const a=c0({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}})},lQ=[uQ],Ab={};function fQ(e,t,n){const{pathname:r,search:o,hash:i}=t,a=e.indexOf("#");if(a>-1){const c=i.includes(e.slice(a))?e.slice(a).length:1;let u=i.slice(c);return u[0]!=="/"&&(u="/"+u),x$(u,"")}const s=n||x$(r,e);return s+(s.includes("?")?"":o)+i}const dQ=Ds({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=gk().app.baseURL;Zs.hashMode&&!r.includes("#")&&(r+="#");const o=Zs.history?.(r)??(Zs.hashMode?xG(r):vI(r)),i=Zs.routes?.(Q$)??Q$;let a;const s=fQ(r,window.location,e.payload.path),c=oQ({...Zs,scrollBehavior:(v,m,g)=>{if(m===Ia){a=g;return}return c.options.scrollBehavior=Zs.scrollBehavior,Zs.scrollBehavior?.(v,Ia,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)d[v]=Kn(()=>l.value[v]);e._route=li(d),e._middleware=e._middleware||{global:[],named:{}};const h=s0();try{[t,n]=zm(()=>c.isReady()),await t,n()}catch(v){[t,n]=zm(()=>e.runWithContext(()=>wl(v))),await t,n()}const p=a0("_layout");return c.beforeEach(async(v,m)=>{v.meta=li(v.meta),e.isHydrating&&p.value&&!Mu(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const g=new Set([...lQ,...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 Ab[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||Cb({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(eG),v.matched.length===0&&await e.runWithContext(()=>wl(Cb({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}}}}),hQ=Rm(()=>Ba(()=>Promise.resolve().then(()=>XY),void 0,import.meta.url).then(e=>e.default)),pQ=Rm(()=>Ba(()=>import("./IconCSS.f4347589.js"),["./IconCSS.f4347589.js","./IconCSS.b41b9663.css"],import.meta.url).then(e=>e.default)),vQ=[["Icon",hQ],["IconCSS",pQ]],mQ=Ds({name:"nuxt:global-components",setup(e){for(const[t,n]of vQ)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),gQ=Ds({name:"nuxt:head",setup(e){const n=IJ();n.push(BJ),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={},yQ=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(Lf(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 Ab[a]=="function"&&Ab[a]();o&&typeof Hp[o]=="function"&&Hp[o]()})}}),Tb=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),bQ=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),wQ=e=>{const t=cr();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Tb(e)}):Tb(e)},xQ=()=>null;function xk(...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??xQ,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:rk(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=kQ(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]=c0(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&&(y9(()=>{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 kQ(e,t){const n={};for(const r of t)n[r]=e[r];return n}async function SI(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(()=>SI(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 jQ(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 _Q=(...e)=>e.find(t=>t!==void 0),$Q="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function SQ(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const i=e.trailingSlash==="append"?K9:mk;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=Kn(()=>{const f=r.to||r.href||"";return n(f,i.resolve)}),s=Kn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||Lf(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"&&!EQ()){const d=cr();let h,p=null;Ku(()=>{const v=CQ();wQ(()=>{h=Tb(()=>{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&&SI(a.value,i).catch(()=>{})]),c.value=!0}))})})}),tp(()=>{h&&bQ(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(RW("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:_Q(r.rel,e.externalRelAttribute,f?$Q:"")||null,p=()=>tG(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:p,get route(){if(!f)return;const v=np(f);return{path:v.pathname,fullPath:v.pathname,get query(){return U9(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 CI=SQ({componentName:"NuxtLink"});function CQ(){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 EQ(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const OQ={},MQ=GJ(OQ);function PQ(){const e=cr();return e._appConfig||(e._appConfig=li(MQ)),e._appConfig}const AQ="__NUXT_COLOR_MODE__",TQ="ColorScheme",RQ="nuxt-color-mode",ms=window[AQ],IQ=Ds(e=>{const t=a0("color-mode",()=>li({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(RQ,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 NQ=Ds(()=>{}),DQ=Ds({name:"nuxt:chunk-reload",setup(e){const t=Ls(),n=gk(),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:ep(n.app.baseURL,i.fullPath);jQ({path:s,persistState:!0})}})}}),LQ=Ds({name:"nuxt:payload",setup(e){WJ()&&(e.hooks.hook("link:prefetch",async t=>{np(t).protocol||await P$(t)}),Ls().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await P$(t.path);r&&Object.assign(e.static.data,r.data)}))}}),zQ=[rG,dQ,mQ,gQ,yQ,IQ,NQ,DQ,LQ],kk=Bo({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Ln(),ri("div",{class:Vr(["n-icon",t.icon])},null,2))}}),BQ=Bo({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=kk;return Ln(),go(ck(t.to?Ie(CI):"button"),hk({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(()=>[Pu(t.$slots,"icon",{},()=>[t.icon?(Ln(),go(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ra("",!0)]),Pu(t.$slots,"default")]),_:3},16,["to"])}}}),FQ=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)}}}),EI=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},HQ={name:TQ,props:{placeholder:String,tag:{type:String,default:"span"}}};function VQ(e,t,n,r,o,i){const a=FQ;return Ln(),go(a,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:to(()=>[Pu(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const qQ=EI(HQ,[["render",VQ]]),OI=()=>a0("color-mode").value,WQ=Bo({__name:"NDarkToggle",setup(e){const t=OI(),n=Kn({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=qQ;return Ln(),go(c,{tag:"span"},{default:to(()=>[Pu(a.$slots,"default",D7(fk(i)))]),_:3})}}}),MI=Object.freeze({left:0,top:0,width:16,height:16}),PI=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),jk=Object.freeze({...MI,...PI});Object.freeze({...jk,body:"",hidden:!1});({...MI});const AI=Object.freeze({width:null,height:null}),TI=Object.freeze({...AI,...PI});function UQ(e,t){const n={...e};for(const r in t){const o=t[r],i=typeof o;r in AI?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const KQ=/[\s,]+/;function JQ(e,t){t.split(KQ).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function GQ(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 QQ=/(-?[0-9.]*[0-9]+[0-9.]*)/g,YQ=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Z$(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(QQ);if(r===null||!r.length)return e;const o=[];let i=r.shift(),a=YQ.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 ZQ=e=>e==="unset"||e==="undefined"||e==="none";function XQ(e,t){const n={...jk,...e},r={...TI,...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=Z$(f,c/u)):(l=a==="auto"?c:a,f=s===null?Z$(l,u/c):s==="auto"?u:s);const d={},h=(p,v)=>{ZQ(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 tY=/\sid="(\S+)"/g,eY="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let nY=0;function rY(e,t=eY){const n=[];let r;for(;r=tY.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+(nY++).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 oY(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 iY(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function aY(e){return"data:image/svg+xml,"+iY(e)}function sY(e){return'url("'+aY(e)+'")'}const X$={...TI,inline:!1},cY={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},uY={display:"inline-block"},Rb={backgroundColor:"currentColor"},RI={backgroundColor:"transparent"},tS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},eS={webkitMask:Rb,mask:Rb,background:RI};for(const e in eS){const t=eS[e];for(const n in tS)t[e+n]=tS[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 nS(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const lY=(e,t)=>{const n=UQ(X$,t),r={...cY},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"&&JQ(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=GQ(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):X$[v]===void 0&&(r[v]=m)}}}const c=XQ(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=rY(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=oY(l,{...u,width:f+"",height:d+""});return r.style={...i,"--svg":sY(p),width:nS(u.width),height:nS(u.height),...uY,...h?Rb:RI,...s},Do("span",r)},fY=Object.create(null),dY=Bo({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?fY[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:lY({...jk,...n},e)}}),Wd=/^[a-z0-9]+(-[a-z0-9]+)*$/,l0=(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(Wd))&&(t&&e.prefix===""||e.prefix.match(Wd))&&e.name.match(Wd)):!1,II=Object.freeze({left:0,top:0,width:16,height:16}),Vm=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_k=Object.freeze({...II,...Vm}),Ib=Object.freeze({..._k,body:"",hidden:!1});function hY(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 rS(e,t){const n=hY(e,t);for(const r in Ib)r in Vm?r in e&&!(r in n)&&(n[r]=Vm[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function pY(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 vY(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(s){i=rS(r[s]||o[s],i)}return a(t),n.forEach(a),rS(e,i)}function NI(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=pY(e);for(const o in r){const i=r[o];i&&(t(o,vY(e,o,i)),n.push(o))}return n}const mY={provider:"",aliases:{},not_found:{},...II};function C1(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function DI(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!C1(e,mY))return null;const n=t.icons;for(const o in n){const i=n[o];if(!o.match(Wd)||typeof i.body!="string"||!C1(i,Ib))return null}const r=t.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(Wd)||typeof a!="string"||!n[a]&&!r[a]||!C1(i,Ib))return null}return t}const oS=Object.create(null);function gY(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Au(e,t){const n=oS[e]||(oS[e]=Object.create(null));return n[t]||(n[t]=gY(e,t))}function $k(e,t){return DI(t)?NI(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function yY(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let mh=!1;function LI(e){return typeof e=="boolean"&&(mh=e),mh}function bY(e){const t=typeof e=="string"?l0(e,!0,mh):e;if(t){const n=Au(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function wY(e,t){const n=l0(e,!0,mh);if(!n)return!1;const r=Au(n.provider,n.prefix);return yY(r,n.name,t)}function xY(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),mh&&!t&&!e.prefix){let o=!1;return DI(e)&&(e.prefix="",NI(e,(i,a)=>{a&&wY(i,a)&&(o=!0)})),o}const n=e.prefix;if(!em({provider:t,prefix:n,name:"a"}))return!1;const r=Au(t,n);return!!$k(r,e)}const kY=Object.freeze({width:null,height:null}),jY=Object.freeze({...kY,...Vm});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Nb=Object.create(null);function _Y(e,t){Nb[e]=t}function Db(e){return Nb[e]||Nb[""]}function Sk(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 Ck=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());Ck[""]=Sk({resources:["https://api.iconify.design"].concat(nm)});function $Y(e,t){const n=Sk(t);return n===null?!1:(Ck[e]=n,!0)}function Ek(e){return Ck[e]}const SY=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let iS=SY();function CY(e,t){const n=Ek(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 EY(e){return e===404}const OY=(e,t,n)=>{const r=[],o=CY(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 MY(e){if(typeof e=="string"){const t=Ek(e);if(t)return t.path}return"/"}const PY=(e,t,n)=>{if(!iS){n("abort",424);return}let r=MY(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;iS(e+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(EY(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)})},AY={prepare:OY,send:PY};function TY(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]=Au(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 zI(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function RY(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||zI([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let IY=0;function NY(e,t,n){const r=IY++,o=zI.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 DY(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const i=typeof o=="string"?l0(o,t,n):o;i&&r.push(i)}),r}var LY={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zY(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 BI(e){const t={...LY,...e};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,u){const l=zY(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 aS(){}const E1=Object.create(null);function BY(e){if(!E1[e]){const t=Ek(e);if(!t)return;const n=BI(t),r={config:t,redundancy:n};E1[e]=r}return E1[e]}function FY(e,t,n){let r,o;if(typeof e=="string"){const i=Db(e);if(!i)return n(void 0,424),aS;o=i.send;const a=BY(e);a&&(r=a.redundancy)}else{const i=Sk(e);if(i){r=BI(i);const a=e.resources?e.resources[0]:"",s=Db(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),aS):r.query(t,o,n)().abort}const sS="iconify2",gh="iconify",FI=gh+"-count",cS=gh+"-version",HI=36e5,HY=168;function Lb(e,t){try{return e.getItem(t)}catch{}}function Ok(e,t,n){try{return e.setItem(t,n),!0}catch{}}function uS(e,t){try{e.removeItem(t)}catch{}}function zb(e,t){return Ok(e,FI,t.toString())}function Bb(e){return parseInt(Lb(e,FI))||0}const f0={local:!0,session:!0},VI={local:new Set,session:new Set};let Mk=!1;function VY(e){Mk=e}let Vp=typeof window>"u"?{}:window;function qI(e){const t=e+"Storage";try{if(Vp&&Vp[t]&&typeof Vp[t].length=="number")return Vp[t]}catch{}f0[e]=!1}function WI(e,t){const n=qI(e);if(!n)return;const r=Lb(n,cS);if(r!==sS){if(r){const s=Bb(n);for(let c=0;c<s;c++)uS(n,gh+c.toString())}Ok(n,cS,sS),zb(n,0);return}const o=Math.floor(Date.now()/HI)-HY,i=s=>{const c=gh+s.toString(),u=Lb(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{}uS(n,c)}};let a=Bb(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,zb(n,a)):VI[e].add(s))}function UI(){if(!Mk){VY(!0);for(const e in f0)WI(e,t=>{const n=t.data,r=t.provider,o=n.prefix,i=Au(r,o);if(!$k(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function qY(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in f0)WI(r,o=>{const i=o.data;return o.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function WY(e,t){Mk||UI();function n(r){let o;if(!f0[r]||!(o=qI(r)))return;const i=VI[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Bb(o),!zb(o,a+1))return;const s={cached:Math.floor(Date.now()/HI),provider:e.provider,data:t};return Ok(o,gh+a.toString(),JSON.stringify(s))}t.lastModified&&!qY(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function lS(){}function UY(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,RY(e)}))}function KY(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=Db(n)))return;i.prepare(n,r,o).forEach(s=>{FY(n,s,c=>{if(typeof c!="object")s.icons.forEach(u=>{e.missing.add(u)});else try{const u=$k(e,c);if(!u.length)return;const l=e.pendingIcons;l&&u.forEach(f=>{l.delete(f)}),WY(e,c)}catch(u){console.error(u)}UY(e)})})}))}const JY=(e,t)=>{const n=DY(e,!0,LI()),r=TY(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,lS)}),()=>{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(Au(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=Au(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&&KY(c,o[u][l])}),t?NY(t,r,i):lS},GY=e=>new Promise((t,n)=>{const r=typeof e=="string"?l0(e,!0):e;if(!r){n(e);return}JY([r||e],o=>{if(o.length&&r){const i=bY(r);if(i){t({..._k,...i});return}}n(e)})});({...jY});const fS={backgroundColor:"currentColor"},QY={backgroundColor:"transparent"},dS={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},hS={webkitMask:fS,mask:fS,background:QY};for(const e in hS){const t=hS[e];for(const n in dS)t[e+n]=dS[n]}const O1={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";O1[e+"-flip"]=t,O1[e.slice(0,1)+"-flip"]=t,O1[e+"Flip"]=t});LI(!0);_Y("",AY);if(typeof document<"u"&&typeof window<"u"){UI();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"||!xY(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;$Y(n,o)||console.error(r)}catch{console.error(r)}}}}({..._k});const YY=["width","height"],ZY=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=PQ();i?.nuxtIcon?.aliases;const a=a0("icons",()=>({})),s=Tn(!1),c=Kn(()=>(i.nuxtIcon?.aliases||{})[r.name]||r.name),u=Kn(()=>a.value?.[c.value]),l=Kn(()=>o.vueApp.component(c.value)),f=Kn(()=>{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=Kn(()=>i?.nuxtIcon?.class??"icon");async function h(){l.value||a.value?.[c.value]||(s.value=!0,a.value[c.value]=await GY(c.value).catch(()=>{}),s.value=!1)}return no(()=>c.value,h),!l.value&&([t,n]=lb(()=>h()),t=await t,n()),(p,v)=>s.value?(Ln(),ri("span",{key:0,class:Vr(d.value),width:f.value,height:f.value},null,10,YY)):u.value?(Ln(),go(Ie(dY),{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(ck(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:Wu({fontSize:f.value,lineHeight:f.value,width:f.value,height:f.value})},[Pu(p.$slots,"default",{},()=>[vu(Zv(e.name),1)],!0)],6))}});const KI=EI(ZY,[["__scopeId","data-v-fed4f909"]]),XY=Object.freeze(Object.defineProperty({__proto__:null,default:KI},Symbol.toStringTag,{value:"Module"}));function pS(e){return typeof e=="function"?e():Ie(e)}const tZ=e=>typeof e<"u",vS=()=>{};function eZ(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 nZ(e,t={}){let n,r,o=vS;const i=s=>{clearTimeout(s),o(),o=vS};return s=>{const c=pS(e),u=pS(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 Pk(e,t=200,n={}){return eZ(nZ(t,n),e)}function rZ(e){return JSON.parse(JSON.stringify(e))}function oZ(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):rZ(b):b,g=()=>tZ(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 Kn({get(){return g()},set(b){y(b)}})}const iZ={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"},aZ=Bo({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=oZ(e,"modelValue",t,{passive:!0});return(o,i)=>{const a=kk;return Ln(),ri("div",iZ,[Pu(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"])):Ra("",!0)]),jW(Yn("input",hk({"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),[[IU,Ie(r)]])])}}}),sZ=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),cZ=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&sZ(e.route,n));return typeof r=="function"?r(e.route):r},uZ=(e,t)=>({default:()=>e?Do(EW,e===!0?{}:e,t):t}),lZ=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Do(e,t,n):n.default?.()}),fZ=Symbol("layout-meta"),dZ=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();n({pageRef:o});const i=Mi(fZ,null);let a;return()=>Do($I,{name:e.name,route:e.route,...t},{default:s=>{if(!s.Component)return;if(a&&i&&!i.isCurrent(s.route))return a;const c=cZ(s,e.pageKey),u=r.deferHydration(),l=!!(e.transition??s.route.meta.pageTransition??_b),f=l&&pZ([e.transition,s.route.meta.pageTransition,_b,{onAfterLeave:()=>{r.callHook("page:transition:finish",s.Component)}}].filter(Boolean));return a=lZ(vk,l&&f,uZ(e.keepalive??s.route.meta.keepalive??FJ,Do(u9,{suspensible:!0,onPending:()=>r.callHook("page:start",s.Component),onResolve:()=>{Uu(()=>r.callHook("page:finish",s.Component).finally(u))}},{default:()=>Do(vZ,{key:c,routeProps:s,pageKey:c,hasTransition:l,pageRef:o})}))).default(),a}})}});function hZ(e){return Array.isArray(e)?e:e?[e]:[]}function pZ(e){const t=e.map(n=>({...n,onAfterLeave:hZ(n.onAfterLeave)}));return JJ(...t)}const vZ=Bo({name:"RouteProvider",props:["routeProps","pageKey","hasTransition","pageRef"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const o in e.routeProps.route)r[o]=Kn(()=>t===e.pageKey?e.routeProps.route[o]:n[o]);return Dl("_route",li(r)),()=>Do(e.routeProps.Component,{ref:e.pageRef})}}),mZ=6e4;function JI(e){return e}const gZ=JI,{setTimeout:yZ}=globalThis,bZ=Math.random.bind(Math);function wZ(e,t){const{post:n,on:r,eventNames:o=[],serialize:i=JI,deserialize:a=gZ,resolver:s,timeout:c=mZ}=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=kZ();u.set(b,{resolve:g,reject:y}),n(i({m:h,a:m,i:b,t:"q"})),c>=0&&yZ(()=>{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 xZ="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function kZ(e=21){let t="",n=e;for(;n--;)t+=xZ[bZ()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:jZ,stringify:_Z}=JSON,{keys:$Z}=Object,yh=String,GI="string",mS={},qm="object",QI=(e,t)=>t,SZ=e=>e instanceof yh?yh(e):e,CZ=(e,t)=>typeof t===GI?new yh(t):t,YI=(e,t,n,r)=>{const o=[];for(let i=$Z(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===qm&&!t.has(l)?(t.add(l),n[c]=mS,o.push({k:c,a:[e,t,l,r]})):n[c]=r.call(n,c,l)}else n[c]!==mS&&(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,YI.apply(null,c))}return n},gS=(e,t,n)=>{const r=yh(t.push(n)-1);return e.set(n,r),r},EZ=(e,t)=>{const n=jZ(e,CZ).map(SZ),r=n[0],o=t||QI,i=typeof r===qm&&r?YI(n,new Set,r,o):r;return o.call({"":i},"",i)},OZ=(e,t,n)=>{const r=t&&typeof t===qm?(l,f)=>l===""||-1<t.indexOf(l)?f:void 0:t||QI,o=new Map,i=[],a=[];let s=+gS(o,i,r.call({"":e},"",e)),c=!s;for(;s<i.length;)c=!0,a[s]=_Z(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 qm:if(d===null)return d;case GI:return o.get(d)||gS(o,i,d)}return d}},MZ=2e3;let ZI=()=>{};const yS=Tn(!0),bS=Tn(),XI=Tn(null);function PZ(e){const t=wZ(e,{post:n=>XI.value.send(n),on:n=>{ZI=n},serialize:OZ,deserialize:EZ});return{useServerConfig:async function(){return(await xk("server-config",()=>t.getConfig())).data}}}async function tN(e){const t=new WebSocket(`ws://${e}/__nuxt_og_image__/entry`);return t.addEventListener("message",n=>ZI(String(n.data))),t.addEventListener("error",n=>{bS.value=n}),t.addEventListener("close",()=>{console.log("[nuxt-og-image] WebSocket closed, reconnecting..."),setTimeout(async()=>{XI.value=await tN(e)},MZ)}),yS.value=!0,t.readyState!==WebSocket.OPEN&&await new Promise(n=>t.addEventListener("open",n)),console.log("[nuxt-og-image] WebSocket connected."),yS.value=!1,bS.value=null,t}const d0=Tn(Date.now()),wS=Tn(null),eN=window.location.host,Va=Tn("/"),nN=Tn("/"),qp=Tn({}),Od=Tn({}),ou=Tn(!1),M1=Tn({}),Md=Pk(()=>{d0.value=Date.now()},200),AZ=Pk(()=>{d0.value=Date.now()},1e3),TZ={refresh(){ou.value=!1,Od.value={},Md()}};await tN(eN);PZ(TZ);const ol=Tn(null),Ak=Kn(()=>J9(nN.value,`${window.location.protocol}//${eN}`)),O3t=Kn(()=>`${Ak.value}${Va.value==="/"?"":Va.value}`);async function xS(){const{data:e}=await xk(()=>$fetch("/api/og-image-options",{baseURL:Ak.value,query:{path:Va.value}}),{watch:[Va,d0]},"$XVR8o8RMBy");return e}async function M3t(){const{data:e}=await xk(()=>$fetch("/api/og-image-vnode",{query:{path:Va.value},baseURL:Ak.value}),{watch:[Va,d0]},"$cHgKigQ0kS");return e}var P1,kS,jS,_S,$S,SS,CS,ES,OS,MS,PS,AS,TS,RS,IS,NS,DS,LS,zS,BS,FS,HS,VS,qS,WS,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,qC,WC,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,q3,W3,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,q4,W4,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,q8,W8,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,RZ=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],IZ=["mainAxis","crossAxis","limiter"];function it(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function rN(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=h0(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 qt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qt=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 R5(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){R5(i,r,o,a,s,"next",c)}function s(c){R5(i,r,o,a,s,"throw",c)}a(void 0)})}}function Me(e,t){return iN(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)||h0(e,t)||oN()}function oN(){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 iN(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 Fb(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 Fb(e,t,n){return Fb=aN()?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},Fb.apply(null,arguments)}function I5(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?I5(Object(n),!0).forEach(function(r){Jo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jo(e,t,n){return(t=sN(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=aN();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 aN(){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 N5(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,sN(r.key),r)}}function ot(e,t,n){return t&&N5(e.prototype,t),n&&N5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function sN(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 Hb(t)}(e)||cN(e)||h0(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 h0(e,t){if(e){if(typeof e=="string")return Hb(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)?Hb(e,t):void 0}}function cN(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hb(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 uN=function(e){return e};function Yo(e,t){for(var n in t)e[n]=t[n];return e}function lN(e){return e()}function D5(){return Object.create(null)}function Hn(e){e.forEach(lN)}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 qe(e,t){return e!=e?t==t:e!==t}function br(e,t,n,r){if(e){var o=fN(e,t,n,r);return e[0](o)}}function fN(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=fN(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 dN(e){var t={};for(var n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function Wm(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 sr(e){return e??""}function io(e){return e&&ro(e.destroy)?e.destroy:Bt}var hN=typeof window<"u",NZ=hN?function(){return window.performance.now()}:function(){return Date.now()},Tk=hN?function(e){return requestAnimationFrame(e)}:Bt,Ud=new Set;function pN(e){Ud.forEach(function(t){t.c(e)||(Ud.delete(t),t.f())}),Ud.size!==0&&Tk(pN)}var Rk=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function W(e,t){e.appendChild(t)}function De(e,t,n){var r=Ik(e);if(!r.getElementById(t)){var o=Z("style");o.id=t,o.textContent=n,vN(r,o)}}function Ik(e){if(!e)return document;var t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function DZ(e){var t=Z("style");return vN(Ik(e),t),t.sheet}function vN(e,t){return W(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 Tu(e){return function(t){return t.preventDefault(),e.call(this,t)}}function Sc(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 LZ=["width","height"];function L5(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&&LZ.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 Cc(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 z5(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 mN(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,Um=new Map,Vb=0;function B5(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 y_=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},b_=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 $kt={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 QR(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 Skt=function(){function e(t,n,r,o){y_(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 b_(e,[{key:"printRGB",value:function(t){var n=(t?this.rgba:this.rgba.slice(0,3)).map(function(r,o){return QR(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 QR(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=$kt[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}(),Ckt=function(){function e(){y_(this,e),this._events=[]}return b_(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 Gy(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 kV="keydown",Jv="mousedown",Qy="focusin";function Aa(e,t){return(t||document).querySelector(e)}function jV(e){e.preventDefault(),e.stopPropagation()}function Yy(e,t,n,r,o){e.add(t,kV,function(i){n.indexOf(i.key)>=0&&(o&&jV(i),r(i))})}var _V=function(){function e(t){y_(this,e),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new Ckt,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(t)}return b_(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),Yy(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===kV?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===Qy){var o=(this.__containedEvent||0)+100;t.timeStamp>o&&(r=!0)}else jV(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 Skt(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=Aa(".picker_hue",i),this._domSL=Aa(".picker_sl",i),this._domA=Aa(".picker_alpha",i),this._domEdit=Aa(".picker_editor input",i),this._domSample=Aa(".picker_sample",i),this._domOkay=Aa(".picker_done button",i),this._domCancel=Aa(".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()}),Gy(o,this._domH,function(c,u){return n._setHSLA(c)}),Gy(o,this._domSL,function(c,u){return n._setHSLA(null,c,1-u)}),this.settings.alpha&&Gy(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,Qy,c),Yy(o,r,["Esc","Escape"],c);var u=function(l){t.__containedEvent=l.timeStamp};i(r,Jv,u),i(r,Qy,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),Yy(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=Aa(".picker_selector",s),f=Aa(".picker_selector",c),d=Aa(".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}(),Zy=document.createElement("style");Zy.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(Zy),_V.StyleElement=Zy;var Ekt=Object.freeze({__proto__:null,default:_V}),Okt=typeof global=="object"&&global&&global.Object===Object&&global;const $V=Okt;var Mkt=typeof self=="object"&&self&&self.Object===Object&&self,Pkt=$V||Mkt||Function("return this")();const fs=Pkt;var Akt=fs.Symbol;const as=Akt;var SV=Object.prototype,Tkt=SV.hasOwnProperty,Rkt=SV.toString,kd=as?as.toStringTag:void 0;function Ikt(e){var t=Tkt.call(e,kd),n=e[kd];try{e[kd]=void 0;var r=!0}catch{}var o=Rkt.call(e);return r&&(t?e[kd]=n:delete e[kd]),o}var Nkt=Object.prototype,Dkt=Nkt.toString;function Lkt(e){return Dkt.call(e)}var zkt="[object Null]",Bkt="[object Undefined]",YR=as?as.toStringTag:void 0;function tl(e){return e==null?e===void 0?Bkt:zkt:YR&&YR in Object(e)?Ikt(e):Lkt(e)}function ss(e){return e!=null&&typeof e=="object"}var Fkt="[object Symbol]";function w_(e){return typeof e=="symbol"||ss(e)&&tl(e)==Fkt}function Hkt(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 Vkt=Array.isArray;const Fi=Vkt;var qkt=1/0,ZR=as?as.prototype:void 0,XR=ZR?ZR.toString:void 0;function CV(e){if(typeof e=="string")return e;if(Fi(e))return Hkt(e,CV)+"";if(w_(e))return XR?XR.call(e):"";var t=e+"";return t=="0"&&1/e==-qkt?"-0":t}function ds(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function x_(e){return e}var Wkt="[object AsyncFunction]",Ukt="[object Function]",Kkt="[object GeneratorFunction]",Jkt="[object Proxy]";function k_(e){if(!ds(e))return!1;var t=tl(e);return t==Ukt||t==Kkt||t==Wkt||t==Jkt}var Gkt=fs["__core-js_shared__"];const Xy=Gkt;var t7=function(){var e=/[^.]+$/.exec(Xy&&Xy.keys&&Xy.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Qkt(e){return!!t7&&t7 in e}var Ykt=Function.prototype,Zkt=Ykt.toString;function el(e){if(e!=null){try{return Zkt.call(e)}catch{}try{return e+""}catch{}}return""}var Xkt=/[\\^$.*+?()[\]{}|]/g,t2t=/^\[object .+?Constructor\]$/,e2t=Function.prototype,n2t=Object.prototype,r2t=e2t.toString,o2t=n2t.hasOwnProperty,i2t=RegExp("^"+r2t.call(o2t).replace(Xkt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function a2t(e){if(!ds(e)||Qkt(e))return!1;var t=k_(e)?i2t:t2t;return t.test(el(e))}function s2t(e,t){return e?.[t]}function nl(e,t){var n=s2t(e,t);return a2t(n)?n:void 0}var c2t=nl(fs,"WeakMap");const Ix=c2t;var e7=Object.create,u2t=function(){function e(){}return function(t){if(!ds(t))return{};if(e7)return e7(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const l2t=u2t;function f2t(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 EV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var d2t=800,h2t=16,p2t=Date.now;function v2t(e){var t=0,n=0;return function(){var r=p2t(),o=h2t-(r-n);if(n=r,o>0){if(++t>=d2t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function m2t(e){return function(){return e}}var g2t=function(){try{var e=nl(Object,"defineProperty");return e({},"",{}),e}catch{}}();const qg=g2t;var y2t=qg?function(e,t){return qg(e,"toString",{configurable:!0,enumerable:!1,value:m2t(t),writable:!0})}:x_;const b2t=y2t;var w2t=v2t(b2t);const x2t=w2t;function k2t(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var j2t=9007199254740991,_2t=/^(?:0|[1-9]\d*)$/;function j_(e,t){var n=typeof e;return t=t??j2t,!!t&&(n=="number"||n!="symbol"&&_2t.test(e))&&e>-1&&e%1==0&&e<t}function i1(e,t,n){t=="__proto__"&&qg?qg(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Sp(e,t){return e===t||e!==e&&t!==t}var $2t=Object.prototype,S2t=$2t.hasOwnProperty;function OV(e,t,n){var r=e[t];(!(S2t.call(e,t)&&Sp(r,n))||n===void 0&&!(t in e))&&i1(e,t,n)}function td(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?i1(n,s,c):OV(n,s,c)}return n}var n7=Math.max;function C2t(e,t,n){return t=n7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=n7(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),f2t(e,this,s)}}function E2t(e,t){return x2t(C2t(e,t,x_),e+"")}var O2t=9007199254740991;function __(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=O2t}function a1(e){return e!=null&&__(e.length)&&!k_(e)}function M2t(e,t,n){if(!ds(n))return!1;var r=typeof t;return(r=="number"?a1(n)&&j_(t,n.length):r=="string"&&t in n)?Sp(n[t],e):!1}function MV(e){return E2t(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&&M2t(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 P2t=Object.prototype;function $_(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||P2t;return e===n}function A2t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var T2t="[object Arguments]";function r7(e){return ss(e)&&tl(e)==T2t}var PV=Object.prototype,R2t=PV.hasOwnProperty,I2t=PV.propertyIsEnumerable,N2t=r7(function(){return arguments}())?r7:function(e){return ss(e)&&R2t.call(e,"callee")&&!I2t.call(e,"callee")};const Wg=N2t;function D2t(){return!1}var AV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,o7=AV&&typeof module=="object"&&module&&!module.nodeType&&module,L2t=o7&&o7.exports===AV,i7=L2t?fs.Buffer:void 0,z2t=i7?i7.isBuffer:void 0,B2t=z2t||D2t;const Jh=B2t;var F2t="[object Arguments]",H2t="[object Array]",V2t="[object Boolean]",q2t="[object Date]",W2t="[object Error]",U2t="[object Function]",K2t="[object Map]",J2t="[object Number]",G2t="[object Object]",Q2t="[object RegExp]",Y2t="[object Set]",Z2t="[object String]",X2t="[object WeakMap]",tjt="[object ArrayBuffer]",ejt="[object DataView]",njt="[object Float32Array]",rjt="[object Float64Array]",ojt="[object Int8Array]",ijt="[object Int16Array]",ajt="[object Int32Array]",sjt="[object Uint8Array]",cjt="[object Uint8ClampedArray]",ujt="[object Uint16Array]",ljt="[object Uint32Array]",lr={};lr[njt]=lr[rjt]=lr[ojt]=lr[ijt]=lr[ajt]=lr[sjt]=lr[cjt]=lr[ujt]=lr[ljt]=!0;lr[F2t]=lr[H2t]=lr[tjt]=lr[V2t]=lr[ejt]=lr[q2t]=lr[W2t]=lr[U2t]=lr[K2t]=lr[J2t]=lr[G2t]=lr[Q2t]=lr[Y2t]=lr[Z2t]=lr[X2t]=!1;function fjt(e){return ss(e)&&__(e.length)&&!!lr[tl(e)]}function S_(e){return function(t){return e(t)}}var TV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=TV&&typeof module=="object"&&module&&!module.nodeType&&module,djt=sh&&sh.exports===TV,tb=djt&&$V.process,hjt=function(){try{var e=sh&&sh.require&&sh.require("util").types;return e||tb&&tb.binding&&tb.binding("util")}catch{}}();const Pf=hjt;var a7=Pf&&Pf.isTypedArray,pjt=a7?S_(a7):fjt;const C_=pjt;var vjt=Object.prototype,mjt=vjt.hasOwnProperty;function RV(e,t){var n=Fi(e),r=!n&&Wg(e),o=!n&&!r&&Jh(e),i=!n&&!r&&!o&&C_(e),a=n||r||o||i,s=a?A2t(e.length,String):[],c=s.length;for(var u in e)(t||mjt.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||j_(u,c)))&&s.push(u);return s}function IV(e,t){return function(n){return e(t(n))}}var gjt=IV(Object.keys,Object);const yjt=gjt;var bjt=Object.prototype,wjt=bjt.hasOwnProperty;function xjt(e){if(!$_(e))return yjt(e);var t=[];for(var n in Object(e))wjt.call(e,n)&&n!="constructor"&&t.push(n);return t}function Cp(e){return a1(e)?RV(e):xjt(e)}function kjt(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var jjt=Object.prototype,_jt=jjt.hasOwnProperty;function $jt(e){if(!ds(e))return kjt(e);var t=$_(e),n=[];for(var r in e)r=="constructor"&&(t||!_jt.call(e,r))||n.push(r);return n}function ed(e){return a1(e)?RV(e,!0):$jt(e)}var Sjt=MV(function(e,t,n,r){td(t,ed(t),e,r)});const Cjt=Sjt;var Ejt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ojt=/^\w*$/;function E_(e,t){if(Fi(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||w_(e)?!0:Ojt.test(e)||!Ejt.test(e)||t!=null&&e in Object(t)}var Mjt=nl(Object,"create");const Gh=Mjt;function Pjt(){this.__data__=Gh?Gh(null):{},this.size=0}function Ajt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tjt="__lodash_hash_undefined__",Rjt=Object.prototype,Ijt=Rjt.hasOwnProperty;function Njt(e){var t=this.__data__;if(Gh){var n=t[e];return n===Tjt?void 0:n}return Ijt.call(t,e)?t[e]:void 0}var Djt=Object.prototype,Ljt=Djt.hasOwnProperty;function zjt(e){var t=this.__data__;return Gh?t[e]!==void 0:Ljt.call(t,e)}var Bjt="__lodash_hash_undefined__";function Fjt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gh&&t===void 0?Bjt: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=Pjt;qu.prototype.delete=Ajt;qu.prototype.get=Njt;qu.prototype.has=zjt;qu.prototype.set=Fjt;function Hjt(){this.__data__=[],this.size=0}function s1(e,t){for(var n=e.length;n--;)if(Sp(e[n][0],t))return n;return-1}var Vjt=Array.prototype,qjt=Vjt.splice;function Wjt(e){var t=this.__data__,n=s1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():qjt.call(t,n,1),--this.size,!0}function Ujt(e){var t=this.__data__,n=s1(t,e);return n<0?void 0:t[n][1]}function Kjt(e){return s1(this.__data__,e)>-1}function Jjt(e,t){var n=this.__data__,r=s1(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ws(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])}}Ws.prototype.clear=Hjt;Ws.prototype.delete=Wjt;Ws.prototype.get=Ujt;Ws.prototype.has=Kjt;Ws.prototype.set=Jjt;var Gjt=nl(fs,"Map");const Qh=Gjt;function Qjt(){this.size=0,this.__data__={hash:new qu,map:new(Qh||Ws),string:new qu}}function Yjt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function c1(e,t){var n=e.__data__;return Yjt(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Zjt(e){var t=c1(this,e).delete(e);return this.size-=t?1:0,t}function Xjt(e){return c1(this,e).get(e)}function t_t(e){return c1(this,e).has(e)}function e_t(e,t){var n=c1(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=Qjt;Us.prototype.delete=Zjt;Us.prototype.get=Xjt;Us.prototype.has=t_t;Us.prototype.set=e_t;var n_t="Expected a function";function O_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(n_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(O_.Cache||Us),n}O_.Cache=Us;var r_t=500;function o_t(e){var t=O_(e,function(r){return n.size===r_t&&n.clear(),r}),n=t.cache;return t}var i_t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a_t=/\\(\\)?/g,s_t=o_t(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(i_t,function(n,r,o,i){t.push(o?i.replace(a_t,"$1"):r||n)}),t});const c_t=s_t;function u_t(e){return e==null?"":CV(e)}function NV(e,t){return Fi(e)?e:E_(e,t)?[e]:c_t(u_t(e))}var l_t=1/0;function u1(e){if(typeof e=="string"||w_(e))return e;var t=e+"";return t=="0"&&1/e==-l_t?"-0":t}function DV(e,t){t=NV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[u1(t[n++])];return n&&n==r?e:void 0}function f_t(e,t,n){var r=e==null?void 0:DV(e,t);return r===void 0?n:r}function LV(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var d_t=IV(Object.getPrototypeOf,Object);const M_=d_t;var h_t="[object Object]",p_t=Function.prototype,v_t=Object.prototype,zV=p_t.toString,m_t=v_t.hasOwnProperty,g_t=zV.call(Object);function BV(e){if(!ss(e)||tl(e)!=h_t)return!1;var t=M_(e);if(t===null)return!0;var n=m_t.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&zV.call(n)==g_t}function y_t(){this.__data__=new Ws,this.size=0}function b_t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function w_t(e){return this.__data__.get(e)}function x_t(e){return this.__data__.has(e)}var k_t=200;function j_t(e,t){var n=this.__data__;if(n instanceof Ws){var r=n.__data__;if(!Qh||r.length<k_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 ya(e){var t=this.__data__=new Ws(e);this.size=t.size}ya.prototype.clear=y_t;ya.prototype.delete=b_t;ya.prototype.get=w_t;ya.prototype.has=x_t;ya.prototype.set=j_t;function __t(e,t){return e&&td(t,Cp(t),e)}function $_t(e,t){return e&&td(t,ed(t),e)}var FV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,s7=FV&&typeof module=="object"&&module&&!module.nodeType&&module,S_t=s7&&s7.exports===FV,c7=S_t?fs.Buffer:void 0,u7=c7?c7.allocUnsafe:void 0;function HV(e,t){if(t)return e.slice();var n=e.length,r=u7?u7(n):new e.constructor(n);return e.copy(r),r}function C_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 VV(){return[]}var E_t=Object.prototype,O_t=E_t.propertyIsEnumerable,l7=Object.getOwnPropertySymbols,M_t=l7?function(e){return e==null?[]:(e=Object(e),C_t(l7(e),function(t){return O_t.call(e,t)}))}:VV;const P_=M_t;function P_t(e,t){return td(e,P_(e),t)}var A_t=Object.getOwnPropertySymbols,T_t=A_t?function(e){for(var t=[];e;)LV(t,P_(e)),e=M_(e);return t}:VV;const qV=T_t;function R_t(e,t){return td(e,qV(e),t)}function WV(e,t,n){var r=t(e);return Fi(e)?r:LV(r,n(e))}function Nx(e){return WV(e,Cp,P_)}function I_t(e){return WV(e,ed,qV)}var N_t=nl(fs,"DataView");const Dx=N_t;var D_t=nl(fs,"Promise");const Lx=D_t;var L_t=nl(fs,"Set");const zx=L_t;var f7="[object Map]",z_t="[object Object]",d7="[object Promise]",h7="[object Set]",p7="[object WeakMap]",v7="[object DataView]",B_t=el(Dx),F_t=el(Qh),H_t=el(Lx),V_t=el(zx),q_t=el(Ix),au=tl;(Dx&&au(new Dx(new ArrayBuffer(1)))!=v7||Qh&&au(new Qh)!=f7||Lx&&au(Lx.resolve())!=d7||zx&&au(new zx)!=h7||Ix&&au(new Ix)!=p7)&&(au=function(e){var t=tl(e),n=t==z_t?e.constructor:void 0,r=n?el(n):"";if(r)switch(r){case B_t:return v7;case F_t:return f7;case H_t:return d7;case V_t:return h7;case q_t:return p7}return t});const Yh=au;var W_t=Object.prototype,U_t=W_t.hasOwnProperty;function K_t(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&U_t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var J_t=fs.Uint8Array;const Ug=J_t;function A_(e){var t=new e.constructor(e.byteLength);return new Ug(t).set(new Ug(e)),t}function G_t(e,t){var n=t?A_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Q_t=/\w*$/;function Y_t(e){var t=new e.constructor(e.source,Q_t.exec(e));return t.lastIndex=e.lastIndex,t}var m7=as?as.prototype:void 0,g7=m7?m7.valueOf:void 0;function Z_t(e){return g7?Object(g7.call(e)):{}}function UV(e,t){var n=t?A_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var X_t="[object Boolean]",t$t="[object Date]",e$t="[object Map]",n$t="[object Number]",r$t="[object RegExp]",o$t="[object Set]",i$t="[object String]",a$t="[object Symbol]",s$t="[object ArrayBuffer]",c$t="[object DataView]",u$t="[object Float32Array]",l$t="[object Float64Array]",f$t="[object Int8Array]",d$t="[object Int16Array]",h$t="[object Int32Array]",p$t="[object Uint8Array]",v$t="[object Uint8ClampedArray]",m$t="[object Uint16Array]",g$t="[object Uint32Array]";function y$t(e,t,n){var r=e.constructor;switch(t){case s$t:return A_(e);case X_t:case t$t:return new r(+e);case c$t:return G_t(e,n);case u$t:case l$t:case f$t:case d$t:case h$t:case p$t:case v$t:case m$t:case g$t:return UV(e,n);case e$t:return new r;case n$t:case i$t:return new r(e);case r$t:return Y_t(e);case o$t:return new r;case a$t:return Z_t(e)}}function KV(e){return typeof e.constructor=="function"&&!$_(e)?l2t(M_(e)):{}}var b$t="[object Map]";function w$t(e){return ss(e)&&Yh(e)==b$t}var y7=Pf&&Pf.isMap,x$t=y7?S_(y7):w$t;const k$t=x$t;var j$t="[object Set]";function _$t(e){return ss(e)&&Yh(e)==j$t}var b7=Pf&&Pf.isSet,$$t=b7?S_(b7):_$t;const S$t=$$t;var C$t=1,E$t=2,O$t=4,JV="[object Arguments]",M$t="[object Array]",P$t="[object Boolean]",A$t="[object Date]",T$t="[object Error]",GV="[object Function]",R$t="[object GeneratorFunction]",I$t="[object Map]",N$t="[object Number]",QV="[object Object]",D$t="[object RegExp]",L$t="[object Set]",z$t="[object String]",B$t="[object Symbol]",F$t="[object WeakMap]",H$t="[object ArrayBuffer]",V$t="[object DataView]",q$t="[object Float32Array]",W$t="[object Float64Array]",U$t="[object Int8Array]",K$t="[object Int16Array]",J$t="[object Int32Array]",G$t="[object Uint8Array]",Q$t="[object Uint8ClampedArray]",Y$t="[object Uint16Array]",Z$t="[object Uint32Array]",or={};or[JV]=or[M$t]=or[H$t]=or[V$t]=or[P$t]=or[A$t]=or[q$t]=or[W$t]=or[U$t]=or[K$t]=or[J$t]=or[I$t]=or[N$t]=or[QV]=or[D$t]=or[L$t]=or[z$t]=or[B$t]=or[G$t]=or[Q$t]=or[Y$t]=or[Z$t]=!0;or[T$t]=or[GV]=or[F$t]=!1;function $m(e,t,n,r,o,i){var a,s=t&C$t,c=t&E$t,u=t&O$t;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!ds(e))return e;var l=Fi(e);if(l){if(a=K_t(e),!s)return EV(e,a)}else{var f=Yh(e),d=f==GV||f==R$t;if(Jh(e))return HV(e,s);if(f==QV||f==JV||d&&!o){if(a=c||d?{}:KV(e),!s)return c?R_t(e,$_t(a,e)):P_t(e,__t(a,e))}else{if(!or[f])return o?e:{};a=y$t(e,f,s)}}i||(i=new ya);var h=i.get(e);if(h)return h;i.set(e,a),S$t(e)?e.forEach(function(m){a.add($m(m,t,n,m,e,i))}):k$t(e)&&e.forEach(function(m,g){a.set(g,$m(m,t,n,g,e,i))});var p=u?c?I_t:Nx:c?ed:Cp,v=l?void 0:p(e);return k2t(v||e,function(m,g){v&&(g=m,m=e[g]),OV(a,g,$m(m,t,n,g,e,i))}),a}var X$t=1,tSt=4;function eSt(e){return $m(e,X$t|tSt)}var nSt="__lodash_hash_undefined__";function rSt(e){return this.__data__.set(e,nSt),this}function oSt(e){return this.__data__.has(e)}function Kg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Us;++t<n;)this.add(e[t])}Kg.prototype.add=Kg.prototype.push=rSt;Kg.prototype.has=oSt;function iSt(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 aSt(e,t){return e.has(t)}var sSt=1,cSt=2;function YV(e,t,n,r,o,i){var a=n&sSt,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&cSt?new Kg: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(!iSt(t,function(g,y){if(!aSt(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 uSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function lSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var fSt=1,dSt=2,hSt="[object Boolean]",pSt="[object Date]",vSt="[object Error]",mSt="[object Map]",gSt="[object Number]",ySt="[object RegExp]",bSt="[object Set]",wSt="[object String]",xSt="[object Symbol]",kSt="[object ArrayBuffer]",jSt="[object DataView]",w7=as?as.prototype:void 0,eb=w7?w7.valueOf:void 0;function _St(e,t,n,r,o,i,a){switch(n){case jSt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case kSt:return!(e.byteLength!=t.byteLength||!i(new Ug(e),new Ug(t)));case hSt:case pSt:case gSt:return Sp(+e,+t);case vSt:return e.name==t.name&&e.message==t.message;case ySt:case wSt:return e==t+"";case mSt:var s=uSt;case bSt:var c=r&fSt;if(s||(s=lSt),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=dSt,a.set(e,t);var l=YV(s(e),s(t),r,o,i,a);return a.delete(e),l;case xSt:if(eb)return eb.call(e)==eb.call(t)}return!1}var $St=1,SSt=Object.prototype,CSt=SSt.hasOwnProperty;function ESt(e,t,n,r,o,i){var a=n&$St,s=Nx(e),c=s.length,u=Nx(t),l=u.length;if(c!=l&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:CSt.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 OSt=1,x7="[object Arguments]",k7="[object Array]",Gv="[object Object]",MSt=Object.prototype,j7=MSt.hasOwnProperty;function PSt(e,t,n,r,o,i){var a=Fi(e),s=Fi(t),c=a?k7:Yh(e),u=s?k7:Yh(t);c=c==x7?Gv:c,u=u==x7?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 ya),a||C_(e)?YV(e,t,n,r,o,i):_St(e,t,c,n,r,o,i);if(!(n&OSt)){var h=l&&j7.call(e,"__wrapped__"),p=f&&j7.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,m=p?t.value():t;return i||(i=new ya),o(v,m,n,r,i)}}return d?(i||(i=new ya),ESt(e,t,n,r,o,i)):!1}function T_(e,t,n,r,o){return e===t?!0:e==null||t==null||!ss(e)&&!ss(t)?e!==e&&t!==t:PSt(e,t,n,r,T_,o)}var ASt=1,TSt=2;function RSt(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 ya;if(r)var d=r(u,l,c,e,t,f);if(!(d===void 0?T_(l,u,ASt|TSt,r,f):d))return!1}}return!0}function ZV(e){return e===e&&!ds(e)}function ISt(e){for(var t=Cp(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ZV(o)]}return t}function XV(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function NSt(e){var t=ISt(e);return t.length==1&&t[0][2]?XV(t[0][0],t[0][1]):function(n){return n===e||RSt(n,e,t)}}function DSt(e,t){return e!=null&&t in Object(e)}function LSt(e,t,n){t=NV(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=u1(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&&__(o)&&j_(a,o)&&(Fi(e)||Wg(e)))}function zSt(e,t){return e!=null&&LSt(e,t,DSt)}var BSt=1,FSt=2;function HSt(e,t){return E_(e)&&ZV(t)?XV(u1(e),t):function(n){var r=f_t(n,e);return r===void 0&&r===t?zSt(n,e):T_(t,r,BSt|FSt)}}function VSt(e){return function(t){return t?.[e]}}function qSt(e){return function(t){return DV(t,e)}}function WSt(e){return E_(e)?VSt(u1(e)):qSt(e)}function USt(e){return typeof e=="function"?e:e==null?x_:typeof e=="object"?Fi(e)?HSt(e[0],e[1]):NSt(e):WSt(e)}function KSt(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 JSt=KSt();const tq=JSt;function GSt(e,t){return e&&tq(e,t,Cp)}function Bx(e,t,n){(n!==void 0&&!Sp(e[t],n)||n===void 0&&!(t in e))&&i1(e,t,n)}function QSt(e){return ss(e)&&a1(e)}function Fx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function YSt(e){return td(e,ed(e))}function ZSt(e,t,n,r,o,i,a){var s=Fx(e,n),c=Fx(t,n),u=a.get(c);if(u){Bx(e,n,u);return}var l=i?i(s,c,n+"",e,t,a):void 0,f=l===void 0;if(f){var d=Fi(c),h=!d&&Jh(c),p=!d&&!h&&C_(c);l=c,d||h||p?Fi(s)?l=s:QSt(s)?l=EV(s):h?(f=!1,l=HV(c,!0)):p?(f=!1,l=UV(c,!0)):l=[]:BV(c)||Wg(c)?(l=s,Wg(s)?l=YSt(s):(!ds(s)||k_(s))&&(l=KV(c))):f=!1}f&&(a.set(c,l),o(l,c,r,i,a),a.delete(c)),Bx(e,n,l)}function eq(e,t,n,r,o){e!==t&&tq(t,function(i,a){if(o||(o=new ya),ds(i))ZSt(e,t,a,n,eq,r,o);else{var s=r?r(Fx(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),Bx(e,a,s)}},ed)}var XSt=MV(function(e,t,n,r){eq(e,t,n,r)});const tCt=XSt;function eCt(e,t){var n={};return t=USt(t),GSt(e,function(r,o,i){i1(n,t(r,o,i),r)}),n}var Jg=function(){return Jg=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},Jg.apply(this,arguments)};function nCt(e){return e.toLowerCase()}var rCt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],oCt=/[^A-Z0-9]+/gi;function iCt(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?rCt:n,o=t.stripRegexp,i=o===void 0?oCt:o,a=t.transform,s=a===void 0?nCt:a,c=t.delimiter,u=c===void 0?" ":c,l=_7(_7(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 _7(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(r,o){return r.replace(o,n)},e)}function nq(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 aCt(e,t){return t===void 0&&(t={}),iCt(e,Jg({delimiter:"",transform:nq},t))}function sCt(e,t){return t===0?e.toLowerCase():nq(e,t)}function cCt(e,t){return t===void 0&&(t={}),aCt(e,Jg({transform:sCt},t))}function uCt(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 lCt=uCt("String,Number,Boolean,Function,Symbol,BigInt");function fCt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function dCt(e,t){let n;const r=fCt(t);if(lCt(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 hCt({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}=dCt(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 pCt(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"?tCt(...r,o):Cjt(...r,o)}function vCt(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){hCt({type:n,prop:g,validator:a});const y=BV(g),b=typeof g=="function";return p=y,v=b,y?(g=eSt(g),s?eCt(g,(w,k)=>cCt(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=pCt(c?[y,r]:d,{mergeObject:l,mergeFunction:f}):f?h=vCt(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 $7(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function mCt(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[$7(i)]=e[o]:n.listeners[$7(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 gCt=typeof global=="object"&&global&&global.Object===Object&&global;const yCt=gCt;var bCt=typeof self=="object"&&self&&self.Object===Object&&self,wCt=yCt||bCt||Function("return this")();const rq=wCt;var xCt=rq.Symbol;const Gg=xCt;var oq=Object.prototype,kCt=oq.hasOwnProperty,jCt=oq.toString,jd=Gg?Gg.toStringTag:void 0;function _Ct(e){var t=kCt.call(e,jd),n=e[jd];try{e[jd]=void 0;var r=!0}catch{}var o=jCt.call(e);return r&&(t?e[jd]=n:delete e[jd]),o}var $Ct=Object.prototype,SCt=$Ct.toString;function CCt(e){return SCt.call(e)}var ECt="[object Null]",OCt="[object Undefined]",S7=Gg?Gg.toStringTag:void 0;function MCt(e){return e==null?e===void 0?OCt:ECt:S7&&S7 in Object(e)?_Ct(e):CCt(e)}function PCt(e){return e!=null&&typeof e=="object"}var ACt="[object Symbol]";function TCt(e){return typeof e=="symbol"||PCt(e)&&MCt(e)==ACt}var RCt=/\s/;function ICt(e){for(var t=e.length;t--&&RCt.test(e.charAt(t)););return t}var NCt=/^\s+/;function DCt(e){return e&&e.slice(0,ICt(e)+1).replace(NCt,"")}function Hx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var C7=0/0,LCt=/^[-+]0x[0-9a-f]+$/i,zCt=/^0b[01]+$/i,BCt=/^0o[0-7]+$/i,FCt=parseInt;function E7(e){if(typeof e=="number")return e;if(TCt(e))return C7;if(Hx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=DCt(e);var n=zCt.test(e);return n||BCt.test(e)?FCt(e.slice(2),n?2:8):LCt.test(e)?C7:+e}var HCt=function(){return rq.Date.now()};const nb=HCt;var VCt="Expected a function",qCt=Math.max,WCt=Math.min;function UCt(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(VCt);t=E7(t)||0,Hx(n)&&(l=!!n.leading,f="maxWait"in n,i=f?qCt(E7(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?WCt(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=nb();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(nb())}function k(){var x=nb(),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 KCt="JsonEditorVue",Qv="modelValue",O7="update:modelValue",Yv=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],iq=Bo({name:KCt,props:{[Qv]:{},mode:{type:String},...Object.fromEntries(Yv.map(e=>[e,{type:Boolean,default:void 0}]))},emits:{[O7](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=UCt(m=>{if(c.value){c.value=!1;return}s.value=!0,n(O7,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,aq,{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 ywt({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={},aq={};function JCt(e){return e.install=(t,n={})=>{const{props:r,attrs:o}=mCt(n,iq.props);Object.assign(Sm,r),Object.assign(aq,o),t.component(e.name,e)},e}const GCt=JCt(iq);const QCt={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())}},YCt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ZCt={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 XCt(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:Wu(e.style)},[Pu(e.$slots,"default")],4)}const M7=YCt(ZCt,[["render",XCt]]),t3t="2.0.1";let bl;const _d=[];function e3t(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 n3t(){bl||(bl=ef(),e3t(e));function e(t){bl.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",()=>{Zq(bl)})}return bl}const P7=n3t();const r3t={class:"flex-row flex h-screen"},o3t={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"},i3t={class:"flex-grow hidden md:block"},a3t={class:"py-3 w-full flex items-start px-5 justify-between space-x-5"},s3t=Yn("h1",{class:"text-base w-40"}," OG Image Playground ",-1),c3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),u3t={class:"py-7 px-5 text-sm flex flex-col space-y-3"},l3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),f3t={key:0,class:"py-7 px-5 text-sm flex flex-col space-y-3"},d3t={class:"p-3 text-gray-400 text-sm text-center"},h3t={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"},p3t={class:"py-9px dark:bg-dark-800 bg-light-200 px-10 opacity-80 flex items-center max-w-full block space-x-5"},v3t={class:"text-sm flex items-center space-x-5"},m3t=Yn("div",{class:"text-xs opacity-40"}," Path ",-1),g3t={class:"flex items-center space-x-1"},y3t={key:0,class:"text-xs opacity-70"},b3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),w3t=Yn("h2",{class:"font-semibold text-lg mb-5"}," Props ",-1),x3t={class:"relative"},k3t={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},j3t={key:0,class:"text-xs p-2 text-gray-300"},_3t=Bo({__name:"app",async setup(e){let t,n;zJ({title:"OG Image Playground"});const r=Kn(()=>!!P7.value),o=Kn(()=>P7.value?.host.nuxt.vueApp.config?.globalProperties?.$route?.path||void 0);Va.value=o.value||Ed().query.path||"/",nN.value=Ed().query.base||"/",no(()=>o.value,d=>{Od.value={},ou.value=!1,Va.value=d});const i=Kn(()=>Ed().path!=="/vnodes"&&Ed().path!=="/options"),a=([t,n]=lb(()=>xS()),t=await t,n(),t);no(a,d=>{qp.value=Ie(d),d={...Ie(d)},delete d.path,delete d.cache,delete d.cacheTtl,delete d.component,delete d.provider,M1.value=d},{immediate:!0});const s=Pk(d=>{Od.value={},ou.value=!1,Va.value=d.target.value,Md()},1e3),c=OI();function u(d){Od.value=d,ou.value=!0,Md()}const l=Kn(()=>c.value==="dark");async function f(d=!0){d&&await xS(),Od.value={},ou.value=!1;const h={...qp.value};delete h.path,delete h.cache,delete h.cacheTtl,delete h.component,delete h.provider,M1.value=h,d&&Md()}return[t,n]=lb(()=>f(!1)),await t,n(),(d,h)=>{const p=kk,v=BQ,m=WQ,g=KI,y=CI,b=aZ,w=dZ;return Ln(),ri("div",r3t,[Yn("header",o3t,[Yn("div",i3t,[Yn("div",a3t,[s3t,Ie(r)?Ra("",!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}))]),c3t,Yn("div",u3t,[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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," Template HTML ",2)]),_:1}),Ie(qp)?.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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview SVG ",2)]),_:1})):Ra("",!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"]),Yn("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"]),Yn("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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," vNodes ",2)]),_:1})]),l3t,Ie(i)?(Ln(),ri("div",f3t,[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"}),vu(" Small ")]),_:1})])):Ra("",!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"}),vu(" Full width ")]),_:1})])):Ra("",!0),Yn("div",null,[Ze(v,{onClick:Ie(Md)},{default:to(()=>[vu(" Refresh ")]),_:1},8,["onClick"])])])):Ra("",!0)]),Yn("div",d3t," v"+Zv(Ie(t3t)),1)]),Yn("main",h3t,[Yn("div",p3t,[Yn("div",v3t,[m3t,Yn("div",g3t,[Ze(b,{"model-value":Ie(Va),placeholder:"Search...",n:"primary",onInput:Ie(s)},null,8,["model-value","onInput"])])]),Ie(wS)?(Ln(),ri("div",y3t,Zv(Ie(wS)),1)):Ra("",!0)]),b3t,Yn("div",{class:"h-full max-h-full overflow-hidden lg:p-5 p-2",style:Wu({width:Ie(ol)&&Ie(i)?`${Ie(ol)}px`:"100%"})},[Ze(Ie(QCt),{class:"default-theme",onResize:Ie(AZ)},{default:to(()=>[Ze(Ie(M7),{size:"80"},{default:to(()=>[Ze(w)]),_:1}),Ze(Ie(M7),{size:"20"},{default:to(()=>[w3t,Yn("div",x3t,[Ze(Ie(GCt),{"model-value":Ie(M1),class:Vr(Ie(l)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ie(ou)?(Ln(),ri("span",k3t,"modified")):Ra("",!0)]),Ie(ou)?(Ln(),ri("div",j3t,[Yn("div",null,[vu(" Update "+Zv(Ie(qp).component)+" to persist the changes. ",1),Yn("button",{type:"button",class:"underline",onClick:h[2]||(h[2]=k=>f(!0))}," Reset ")])])):Ra("",!0)]),_:1})]),_:1},8,["onResize"])],4)])])}}});const $3t={__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}(),Zy=document.createElement("style");Zy.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(Zy),_V.StyleElement=Zy;var Ekt=Object.freeze({__proto__:null,default:_V}),Okt=typeof global=="object"&&global&&global.Object===Object&&global;const $V=Okt;var Mkt=typeof self=="object"&&self&&self.Object===Object&&self,Pkt=$V||Mkt||Function("return this")();const fs=Pkt;var Akt=fs.Symbol;const as=Akt;var SV=Object.prototype,Tkt=SV.hasOwnProperty,Rkt=SV.toString,kd=as?as.toStringTag:void 0;function Ikt(e){var t=Tkt.call(e,kd),n=e[kd];try{e[kd]=void 0;var r=!0}catch{}var o=Rkt.call(e);return r&&(t?e[kd]=n:delete e[kd]),o}var Nkt=Object.prototype,Dkt=Nkt.toString;function Lkt(e){return Dkt.call(e)}var zkt="[object Null]",Bkt="[object Undefined]",YR=as?as.toStringTag:void 0;function tl(e){return e==null?e===void 0?Bkt:zkt:YR&&YR in Object(e)?Ikt(e):Lkt(e)}function ss(e){return e!=null&&typeof e=="object"}var Fkt="[object Symbol]";function w_(e){return typeof e=="symbol"||ss(e)&&tl(e)==Fkt}function Hkt(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 Vkt=Array.isArray;const Fi=Vkt;var qkt=1/0,ZR=as?as.prototype:void 0,XR=ZR?ZR.toString:void 0;function CV(e){if(typeof e=="string")return e;if(Fi(e))return Hkt(e,CV)+"";if(w_(e))return XR?XR.call(e):"";var t=e+"";return t=="0"&&1/e==-qkt?"-0":t}function ds(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function x_(e){return e}var Wkt="[object AsyncFunction]",Ukt="[object Function]",Kkt="[object GeneratorFunction]",Jkt="[object Proxy]";function k_(e){if(!ds(e))return!1;var t=tl(e);return t==Ukt||t==Kkt||t==Wkt||t==Jkt}var Gkt=fs["__core-js_shared__"];const Xy=Gkt;var t7=function(){var e=/[^.]+$/.exec(Xy&&Xy.keys&&Xy.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Qkt(e){return!!t7&&t7 in e}var Ykt=Function.prototype,Zkt=Ykt.toString;function el(e){if(e!=null){try{return Zkt.call(e)}catch{}try{return e+""}catch{}}return""}var Xkt=/[\\^$.*+?()[\]{}|]/g,t2t=/^\[object .+?Constructor\]$/,e2t=Function.prototype,n2t=Object.prototype,r2t=e2t.toString,o2t=n2t.hasOwnProperty,i2t=RegExp("^"+r2t.call(o2t).replace(Xkt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function a2t(e){if(!ds(e)||Qkt(e))return!1;var t=k_(e)?i2t:t2t;return t.test(el(e))}function s2t(e,t){return e?.[t]}function nl(e,t){var n=s2t(e,t);return a2t(n)?n:void 0}var c2t=nl(fs,"WeakMap");const Ix=c2t;var e7=Object.create,u2t=function(){function e(){}return function(t){if(!ds(t))return{};if(e7)return e7(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const l2t=u2t;function f2t(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 EV(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var d2t=800,h2t=16,p2t=Date.now;function v2t(e){var t=0,n=0;return function(){var r=p2t(),o=h2t-(r-n);if(n=r,o>0){if(++t>=d2t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function m2t(e){return function(){return e}}var g2t=function(){try{var e=nl(Object,"defineProperty");return e({},"",{}),e}catch{}}();const qg=g2t;var y2t=qg?function(e,t){return qg(e,"toString",{configurable:!0,enumerable:!1,value:m2t(t),writable:!0})}:x_;const b2t=y2t;var w2t=v2t(b2t);const x2t=w2t;function k2t(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var j2t=9007199254740991,_2t=/^(?:0|[1-9]\d*)$/;function j_(e,t){var n=typeof e;return t=t??j2t,!!t&&(n=="number"||n!="symbol"&&_2t.test(e))&&e>-1&&e%1==0&&e<t}function i1(e,t,n){t=="__proto__"&&qg?qg(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Sp(e,t){return e===t||e!==e&&t!==t}var $2t=Object.prototype,S2t=$2t.hasOwnProperty;function OV(e,t,n){var r=e[t];(!(S2t.call(e,t)&&Sp(r,n))||n===void 0&&!(t in e))&&i1(e,t,n)}function td(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?i1(n,s,c):OV(n,s,c)}return n}var n7=Math.max;function C2t(e,t,n){return t=n7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=n7(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),f2t(e,this,s)}}function E2t(e,t){return x2t(C2t(e,t,x_),e+"")}var O2t=9007199254740991;function __(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=O2t}function a1(e){return e!=null&&__(e.length)&&!k_(e)}function M2t(e,t,n){if(!ds(n))return!1;var r=typeof t;return(r=="number"?a1(n)&&j_(t,n.length):r=="string"&&t in n)?Sp(n[t],e):!1}function MV(e){return E2t(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&&M2t(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 P2t=Object.prototype;function $_(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||P2t;return e===n}function A2t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var T2t="[object Arguments]";function r7(e){return ss(e)&&tl(e)==T2t}var PV=Object.prototype,R2t=PV.hasOwnProperty,I2t=PV.propertyIsEnumerable,N2t=r7(function(){return arguments}())?r7:function(e){return ss(e)&&R2t.call(e,"callee")&&!I2t.call(e,"callee")};const Wg=N2t;function D2t(){return!1}var AV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,o7=AV&&typeof module=="object"&&module&&!module.nodeType&&module,L2t=o7&&o7.exports===AV,i7=L2t?fs.Buffer:void 0,z2t=i7?i7.isBuffer:void 0,B2t=z2t||D2t;const Jh=B2t;var F2t="[object Arguments]",H2t="[object Array]",V2t="[object Boolean]",q2t="[object Date]",W2t="[object Error]",U2t="[object Function]",K2t="[object Map]",J2t="[object Number]",G2t="[object Object]",Q2t="[object RegExp]",Y2t="[object Set]",Z2t="[object String]",X2t="[object WeakMap]",tjt="[object ArrayBuffer]",ejt="[object DataView]",njt="[object Float32Array]",rjt="[object Float64Array]",ojt="[object Int8Array]",ijt="[object Int16Array]",ajt="[object Int32Array]",sjt="[object Uint8Array]",cjt="[object Uint8ClampedArray]",ujt="[object Uint16Array]",ljt="[object Uint32Array]",lr={};lr[njt]=lr[rjt]=lr[ojt]=lr[ijt]=lr[ajt]=lr[sjt]=lr[cjt]=lr[ujt]=lr[ljt]=!0;lr[F2t]=lr[H2t]=lr[tjt]=lr[V2t]=lr[ejt]=lr[q2t]=lr[W2t]=lr[U2t]=lr[K2t]=lr[J2t]=lr[G2t]=lr[Q2t]=lr[Y2t]=lr[Z2t]=lr[X2t]=!1;function fjt(e){return ss(e)&&__(e.length)&&!!lr[tl(e)]}function S_(e){return function(t){return e(t)}}var TV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=TV&&typeof module=="object"&&module&&!module.nodeType&&module,djt=sh&&sh.exports===TV,tb=djt&&$V.process,hjt=function(){try{var e=sh&&sh.require&&sh.require("util").types;return e||tb&&tb.binding&&tb.binding("util")}catch{}}();const Pf=hjt;var a7=Pf&&Pf.isTypedArray,pjt=a7?S_(a7):fjt;const C_=pjt;var vjt=Object.prototype,mjt=vjt.hasOwnProperty;function RV(e,t){var n=Fi(e),r=!n&&Wg(e),o=!n&&!r&&Jh(e),i=!n&&!r&&!o&&C_(e),a=n||r||o||i,s=a?A2t(e.length,String):[],c=s.length;for(var u in e)(t||mjt.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||j_(u,c)))&&s.push(u);return s}function IV(e,t){return function(n){return e(t(n))}}var gjt=IV(Object.keys,Object);const yjt=gjt;var bjt=Object.prototype,wjt=bjt.hasOwnProperty;function xjt(e){if(!$_(e))return yjt(e);var t=[];for(var n in Object(e))wjt.call(e,n)&&n!="constructor"&&t.push(n);return t}function Cp(e){return a1(e)?RV(e):xjt(e)}function kjt(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var jjt=Object.prototype,_jt=jjt.hasOwnProperty;function $jt(e){if(!ds(e))return kjt(e);var t=$_(e),n=[];for(var r in e)r=="constructor"&&(t||!_jt.call(e,r))||n.push(r);return n}function ed(e){return a1(e)?RV(e,!0):$jt(e)}var Sjt=MV(function(e,t,n,r){td(t,ed(t),e,r)});const Cjt=Sjt;var Ejt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ojt=/^\w*$/;function E_(e,t){if(Fi(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||w_(e)?!0:Ojt.test(e)||!Ejt.test(e)||t!=null&&e in Object(t)}var Mjt=nl(Object,"create");const Gh=Mjt;function Pjt(){this.__data__=Gh?Gh(null):{},this.size=0}function Ajt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tjt="__lodash_hash_undefined__",Rjt=Object.prototype,Ijt=Rjt.hasOwnProperty;function Njt(e){var t=this.__data__;if(Gh){var n=t[e];return n===Tjt?void 0:n}return Ijt.call(t,e)?t[e]:void 0}var Djt=Object.prototype,Ljt=Djt.hasOwnProperty;function zjt(e){var t=this.__data__;return Gh?t[e]!==void 0:Ljt.call(t,e)}var Bjt="__lodash_hash_undefined__";function Fjt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gh&&t===void 0?Bjt: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=Pjt;qu.prototype.delete=Ajt;qu.prototype.get=Njt;qu.prototype.has=zjt;qu.prototype.set=Fjt;function Hjt(){this.__data__=[],this.size=0}function s1(e,t){for(var n=e.length;n--;)if(Sp(e[n][0],t))return n;return-1}var Vjt=Array.prototype,qjt=Vjt.splice;function Wjt(e){var t=this.__data__,n=s1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():qjt.call(t,n,1),--this.size,!0}function Ujt(e){var t=this.__data__,n=s1(t,e);return n<0?void 0:t[n][1]}function Kjt(e){return s1(this.__data__,e)>-1}function Jjt(e,t){var n=this.__data__,r=s1(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ws(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])}}Ws.prototype.clear=Hjt;Ws.prototype.delete=Wjt;Ws.prototype.get=Ujt;Ws.prototype.has=Kjt;Ws.prototype.set=Jjt;var Gjt=nl(fs,"Map");const Qh=Gjt;function Qjt(){this.size=0,this.__data__={hash:new qu,map:new(Qh||Ws),string:new qu}}function Yjt(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function c1(e,t){var n=e.__data__;return Yjt(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Zjt(e){var t=c1(this,e).delete(e);return this.size-=t?1:0,t}function Xjt(e){return c1(this,e).get(e)}function t_t(e){return c1(this,e).has(e)}function e_t(e,t){var n=c1(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=Qjt;Us.prototype.delete=Zjt;Us.prototype.get=Xjt;Us.prototype.has=t_t;Us.prototype.set=e_t;var n_t="Expected a function";function O_(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(n_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(O_.Cache||Us),n}O_.Cache=Us;var r_t=500;function o_t(e){var t=O_(e,function(r){return n.size===r_t&&n.clear(),r}),n=t.cache;return t}var i_t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a_t=/\\(\\)?/g,s_t=o_t(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(i_t,function(n,r,o,i){t.push(o?i.replace(a_t,"$1"):r||n)}),t});const c_t=s_t;function u_t(e){return e==null?"":CV(e)}function NV(e,t){return Fi(e)?e:E_(e,t)?[e]:c_t(u_t(e))}var l_t=1/0;function u1(e){if(typeof e=="string"||w_(e))return e;var t=e+"";return t=="0"&&1/e==-l_t?"-0":t}function DV(e,t){t=NV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[u1(t[n++])];return n&&n==r?e:void 0}function f_t(e,t,n){var r=e==null?void 0:DV(e,t);return r===void 0?n:r}function LV(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var d_t=IV(Object.getPrototypeOf,Object);const M_=d_t;var h_t="[object Object]",p_t=Function.prototype,v_t=Object.prototype,zV=p_t.toString,m_t=v_t.hasOwnProperty,g_t=zV.call(Object);function BV(e){if(!ss(e)||tl(e)!=h_t)return!1;var t=M_(e);if(t===null)return!0;var n=m_t.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&zV.call(n)==g_t}function y_t(){this.__data__=new Ws,this.size=0}function b_t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function w_t(e){return this.__data__.get(e)}function x_t(e){return this.__data__.has(e)}var k_t=200;function j_t(e,t){var n=this.__data__;if(n instanceof Ws){var r=n.__data__;if(!Qh||r.length<k_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 ya(e){var t=this.__data__=new Ws(e);this.size=t.size}ya.prototype.clear=y_t;ya.prototype.delete=b_t;ya.prototype.get=w_t;ya.prototype.has=x_t;ya.prototype.set=j_t;function __t(e,t){return e&&td(t,Cp(t),e)}function $_t(e,t){return e&&td(t,ed(t),e)}var FV=typeof exports=="object"&&exports&&!exports.nodeType&&exports,s7=FV&&typeof module=="object"&&module&&!module.nodeType&&module,S_t=s7&&s7.exports===FV,c7=S_t?fs.Buffer:void 0,u7=c7?c7.allocUnsafe:void 0;function HV(e,t){if(t)return e.slice();var n=e.length,r=u7?u7(n):new e.constructor(n);return e.copy(r),r}function C_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 VV(){return[]}var E_t=Object.prototype,O_t=E_t.propertyIsEnumerable,l7=Object.getOwnPropertySymbols,M_t=l7?function(e){return e==null?[]:(e=Object(e),C_t(l7(e),function(t){return O_t.call(e,t)}))}:VV;const P_=M_t;function P_t(e,t){return td(e,P_(e),t)}var A_t=Object.getOwnPropertySymbols,T_t=A_t?function(e){for(var t=[];e;)LV(t,P_(e)),e=M_(e);return t}:VV;const qV=T_t;function R_t(e,t){return td(e,qV(e),t)}function WV(e,t,n){var r=t(e);return Fi(e)?r:LV(r,n(e))}function Nx(e){return WV(e,Cp,P_)}function I_t(e){return WV(e,ed,qV)}var N_t=nl(fs,"DataView");const Dx=N_t;var D_t=nl(fs,"Promise");const Lx=D_t;var L_t=nl(fs,"Set");const zx=L_t;var f7="[object Map]",z_t="[object Object]",d7="[object Promise]",h7="[object Set]",p7="[object WeakMap]",v7="[object DataView]",B_t=el(Dx),F_t=el(Qh),H_t=el(Lx),V_t=el(zx),q_t=el(Ix),au=tl;(Dx&&au(new Dx(new ArrayBuffer(1)))!=v7||Qh&&au(new Qh)!=f7||Lx&&au(Lx.resolve())!=d7||zx&&au(new zx)!=h7||Ix&&au(new Ix)!=p7)&&(au=function(e){var t=tl(e),n=t==z_t?e.constructor:void 0,r=n?el(n):"";if(r)switch(r){case B_t:return v7;case F_t:return f7;case H_t:return d7;case V_t:return h7;case q_t:return p7}return t});const Yh=au;var W_t=Object.prototype,U_t=W_t.hasOwnProperty;function K_t(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&U_t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var J_t=fs.Uint8Array;const Ug=J_t;function A_(e){var t=new e.constructor(e.byteLength);return new Ug(t).set(new Ug(e)),t}function G_t(e,t){var n=t?A_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Q_t=/\w*$/;function Y_t(e){var t=new e.constructor(e.source,Q_t.exec(e));return t.lastIndex=e.lastIndex,t}var m7=as?as.prototype:void 0,g7=m7?m7.valueOf:void 0;function Z_t(e){return g7?Object(g7.call(e)):{}}function UV(e,t){var n=t?A_(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var X_t="[object Boolean]",t$t="[object Date]",e$t="[object Map]",n$t="[object Number]",r$t="[object RegExp]",o$t="[object Set]",i$t="[object String]",a$t="[object Symbol]",s$t="[object ArrayBuffer]",c$t="[object DataView]",u$t="[object Float32Array]",l$t="[object Float64Array]",f$t="[object Int8Array]",d$t="[object Int16Array]",h$t="[object Int32Array]",p$t="[object Uint8Array]",v$t="[object Uint8ClampedArray]",m$t="[object Uint16Array]",g$t="[object Uint32Array]";function y$t(e,t,n){var r=e.constructor;switch(t){case s$t:return A_(e);case X_t:case t$t:return new r(+e);case c$t:return G_t(e,n);case u$t:case l$t:case f$t:case d$t:case h$t:case p$t:case v$t:case m$t:case g$t:return UV(e,n);case e$t:return new r;case n$t:case i$t:return new r(e);case r$t:return Y_t(e);case o$t:return new r;case a$t:return Z_t(e)}}function KV(e){return typeof e.constructor=="function"&&!$_(e)?l2t(M_(e)):{}}var b$t="[object Map]";function w$t(e){return ss(e)&&Yh(e)==b$t}var y7=Pf&&Pf.isMap,x$t=y7?S_(y7):w$t;const k$t=x$t;var j$t="[object Set]";function _$t(e){return ss(e)&&Yh(e)==j$t}var b7=Pf&&Pf.isSet,$$t=b7?S_(b7):_$t;const S$t=$$t;var C$t=1,E$t=2,O$t=4,JV="[object Arguments]",M$t="[object Array]",P$t="[object Boolean]",A$t="[object Date]",T$t="[object Error]",GV="[object Function]",R$t="[object GeneratorFunction]",I$t="[object Map]",N$t="[object Number]",QV="[object Object]",D$t="[object RegExp]",L$t="[object Set]",z$t="[object String]",B$t="[object Symbol]",F$t="[object WeakMap]",H$t="[object ArrayBuffer]",V$t="[object DataView]",q$t="[object Float32Array]",W$t="[object Float64Array]",U$t="[object Int8Array]",K$t="[object Int16Array]",J$t="[object Int32Array]",G$t="[object Uint8Array]",Q$t="[object Uint8ClampedArray]",Y$t="[object Uint16Array]",Z$t="[object Uint32Array]",or={};or[JV]=or[M$t]=or[H$t]=or[V$t]=or[P$t]=or[A$t]=or[q$t]=or[W$t]=or[U$t]=or[K$t]=or[J$t]=or[I$t]=or[N$t]=or[QV]=or[D$t]=or[L$t]=or[z$t]=or[B$t]=or[G$t]=or[Q$t]=or[Y$t]=or[Z$t]=!0;or[T$t]=or[GV]=or[F$t]=!1;function $m(e,t,n,r,o,i){var a,s=t&C$t,c=t&E$t,u=t&O$t;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!ds(e))return e;var l=Fi(e);if(l){if(a=K_t(e),!s)return EV(e,a)}else{var f=Yh(e),d=f==GV||f==R$t;if(Jh(e))return HV(e,s);if(f==QV||f==JV||d&&!o){if(a=c||d?{}:KV(e),!s)return c?R_t(e,$_t(a,e)):P_t(e,__t(a,e))}else{if(!or[f])return o?e:{};a=y$t(e,f,s)}}i||(i=new ya);var h=i.get(e);if(h)return h;i.set(e,a),S$t(e)?e.forEach(function(m){a.add($m(m,t,n,m,e,i))}):k$t(e)&&e.forEach(function(m,g){a.set(g,$m(m,t,n,g,e,i))});var p=u?c?I_t:Nx:c?ed:Cp,v=l?void 0:p(e);return k2t(v||e,function(m,g){v&&(g=m,m=e[g]),OV(a,g,$m(m,t,n,g,e,i))}),a}var X$t=1,tSt=4;function eSt(e){return $m(e,X$t|tSt)}var nSt="__lodash_hash_undefined__";function rSt(e){return this.__data__.set(e,nSt),this}function oSt(e){return this.__data__.has(e)}function Kg(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Us;++t<n;)this.add(e[t])}Kg.prototype.add=Kg.prototype.push=rSt;Kg.prototype.has=oSt;function iSt(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 aSt(e,t){return e.has(t)}var sSt=1,cSt=2;function YV(e,t,n,r,o,i){var a=n&sSt,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&cSt?new Kg: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(!iSt(t,function(g,y){if(!aSt(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 uSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function lSt(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var fSt=1,dSt=2,hSt="[object Boolean]",pSt="[object Date]",vSt="[object Error]",mSt="[object Map]",gSt="[object Number]",ySt="[object RegExp]",bSt="[object Set]",wSt="[object String]",xSt="[object Symbol]",kSt="[object ArrayBuffer]",jSt="[object DataView]",w7=as?as.prototype:void 0,eb=w7?w7.valueOf:void 0;function _St(e,t,n,r,o,i,a){switch(n){case jSt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case kSt:return!(e.byteLength!=t.byteLength||!i(new Ug(e),new Ug(t)));case hSt:case pSt:case gSt:return Sp(+e,+t);case vSt:return e.name==t.name&&e.message==t.message;case ySt:case wSt:return e==t+"";case mSt:var s=uSt;case bSt:var c=r&fSt;if(s||(s=lSt),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=dSt,a.set(e,t);var l=YV(s(e),s(t),r,o,i,a);return a.delete(e),l;case xSt:if(eb)return eb.call(e)==eb.call(t)}return!1}var $St=1,SSt=Object.prototype,CSt=SSt.hasOwnProperty;function ESt(e,t,n,r,o,i){var a=n&$St,s=Nx(e),c=s.length,u=Nx(t),l=u.length;if(c!=l&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:CSt.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 OSt=1,x7="[object Arguments]",k7="[object Array]",Gv="[object Object]",MSt=Object.prototype,j7=MSt.hasOwnProperty;function PSt(e,t,n,r,o,i){var a=Fi(e),s=Fi(t),c=a?k7:Yh(e),u=s?k7:Yh(t);c=c==x7?Gv:c,u=u==x7?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 ya),a||C_(e)?YV(e,t,n,r,o,i):_St(e,t,c,n,r,o,i);if(!(n&OSt)){var h=l&&j7.call(e,"__wrapped__"),p=f&&j7.call(t,"__wrapped__");if(h||p){var v=h?e.value():e,m=p?t.value():t;return i||(i=new ya),o(v,m,n,r,i)}}return d?(i||(i=new ya),ESt(e,t,n,r,o,i)):!1}function T_(e,t,n,r,o){return e===t?!0:e==null||t==null||!ss(e)&&!ss(t)?e!==e&&t!==t:PSt(e,t,n,r,T_,o)}var ASt=1,TSt=2;function RSt(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 ya;if(r)var d=r(u,l,c,e,t,f);if(!(d===void 0?T_(l,u,ASt|TSt,r,f):d))return!1}}return!0}function ZV(e){return e===e&&!ds(e)}function ISt(e){for(var t=Cp(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,ZV(o)]}return t}function XV(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function NSt(e){var t=ISt(e);return t.length==1&&t[0][2]?XV(t[0][0],t[0][1]):function(n){return n===e||RSt(n,e,t)}}function DSt(e,t){return e!=null&&t in Object(e)}function LSt(e,t,n){t=NV(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=u1(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&&__(o)&&j_(a,o)&&(Fi(e)||Wg(e)))}function zSt(e,t){return e!=null&&LSt(e,t,DSt)}var BSt=1,FSt=2;function HSt(e,t){return E_(e)&&ZV(t)?XV(u1(e),t):function(n){var r=f_t(n,e);return r===void 0&&r===t?zSt(n,e):T_(t,r,BSt|FSt)}}function VSt(e){return function(t){return t?.[e]}}function qSt(e){return function(t){return DV(t,e)}}function WSt(e){return E_(e)?VSt(u1(e)):qSt(e)}function USt(e){return typeof e=="function"?e:e==null?x_:typeof e=="object"?Fi(e)?HSt(e[0],e[1]):NSt(e):WSt(e)}function KSt(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 JSt=KSt();const tq=JSt;function GSt(e,t){return e&&tq(e,t,Cp)}function Bx(e,t,n){(n!==void 0&&!Sp(e[t],n)||n===void 0&&!(t in e))&&i1(e,t,n)}function QSt(e){return ss(e)&&a1(e)}function Fx(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function YSt(e){return td(e,ed(e))}function ZSt(e,t,n,r,o,i,a){var s=Fx(e,n),c=Fx(t,n),u=a.get(c);if(u){Bx(e,n,u);return}var l=i?i(s,c,n+"",e,t,a):void 0,f=l===void 0;if(f){var d=Fi(c),h=!d&&Jh(c),p=!d&&!h&&C_(c);l=c,d||h||p?Fi(s)?l=s:QSt(s)?l=EV(s):h?(f=!1,l=HV(c,!0)):p?(f=!1,l=UV(c,!0)):l=[]:BV(c)||Wg(c)?(l=s,Wg(s)?l=YSt(s):(!ds(s)||k_(s))&&(l=KV(c))):f=!1}f&&(a.set(c,l),o(l,c,r,i,a),a.delete(c)),Bx(e,n,l)}function eq(e,t,n,r,o){e!==t&&tq(t,function(i,a){if(o||(o=new ya),ds(i))ZSt(e,t,a,n,eq,r,o);else{var s=r?r(Fx(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),Bx(e,a,s)}},ed)}var XSt=MV(function(e,t,n,r){eq(e,t,n,r)});const tCt=XSt;function eCt(e,t){var n={};return t=USt(t),GSt(e,function(r,o,i){i1(n,t(r,o,i),r)}),n}var Jg=function(){return Jg=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},Jg.apply(this,arguments)};function nCt(e){return e.toLowerCase()}var rCt=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],oCt=/[^A-Z0-9]+/gi;function iCt(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?rCt:n,o=t.stripRegexp,i=o===void 0?oCt:o,a=t.transform,s=a===void 0?nCt:a,c=t.delimiter,u=c===void 0?" ":c,l=_7(_7(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 _7(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(r,o){return r.replace(o,n)},e)}function nq(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 aCt(e,t){return t===void 0&&(t={}),iCt(e,Jg({delimiter:"",transform:nq},t))}function sCt(e,t){return t===0?e.toLowerCase():nq(e,t)}function cCt(e,t){return t===void 0&&(t={}),aCt(e,Jg({transform:sCt},t))}function uCt(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 lCt=uCt("String,Number,Boolean,Function,Symbol,BigInt");function fCt(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function dCt(e,t){let n;const r=fCt(t);if(lCt(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 hCt({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}=dCt(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 pCt(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"?tCt(...r,o):Cjt(...r,o)}function vCt(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){hCt({type:n,prop:g,validator:a});const y=BV(g),b=typeof g=="function";return p=y,v=b,y?(g=eSt(g),s?eCt(g,(w,k)=>cCt(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=pCt(c?[y,r]:d,{mergeObject:l,mergeFunction:f}):f?h=vCt(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 $7(e){const t=Array.from(e);return t[0]=t[0].toUpperCase(),t.unshift("n"),t.unshift("o"),t.join("")}function mCt(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[$7(i)]=e[o]:n.listeners[$7(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 gCt=typeof global=="object"&&global&&global.Object===Object&&global;const yCt=gCt;var bCt=typeof self=="object"&&self&&self.Object===Object&&self,wCt=yCt||bCt||Function("return this")();const rq=wCt;var xCt=rq.Symbol;const Gg=xCt;var oq=Object.prototype,kCt=oq.hasOwnProperty,jCt=oq.toString,jd=Gg?Gg.toStringTag:void 0;function _Ct(e){var t=kCt.call(e,jd),n=e[jd];try{e[jd]=void 0;var r=!0}catch{}var o=jCt.call(e);return r&&(t?e[jd]=n:delete e[jd]),o}var $Ct=Object.prototype,SCt=$Ct.toString;function CCt(e){return SCt.call(e)}var ECt="[object Null]",OCt="[object Undefined]",S7=Gg?Gg.toStringTag:void 0;function MCt(e){return e==null?e===void 0?OCt:ECt:S7&&S7 in Object(e)?_Ct(e):CCt(e)}function PCt(e){return e!=null&&typeof e=="object"}var ACt="[object Symbol]";function TCt(e){return typeof e=="symbol"||PCt(e)&&MCt(e)==ACt}var RCt=/\s/;function ICt(e){for(var t=e.length;t--&&RCt.test(e.charAt(t)););return t}var NCt=/^\s+/;function DCt(e){return e&&e.slice(0,ICt(e)+1).replace(NCt,"")}function Hx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var C7=0/0,LCt=/^[-+]0x[0-9a-f]+$/i,zCt=/^0b[01]+$/i,BCt=/^0o[0-7]+$/i,FCt=parseInt;function E7(e){if(typeof e=="number")return e;if(TCt(e))return C7;if(Hx(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hx(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=DCt(e);var n=zCt.test(e);return n||BCt.test(e)?FCt(e.slice(2),n?2:8):LCt.test(e)?C7:+e}var HCt=function(){return rq.Date.now()};const nb=HCt;var VCt="Expected a function",qCt=Math.max,WCt=Math.min;function UCt(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(VCt);t=E7(t)||0,Hx(n)&&(l=!!n.leading,f="maxWait"in n,i=f?qCt(E7(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?WCt(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=nb();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(nb())}function k(){var x=nb(),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 KCt="JsonEditorVue",Qv="modelValue",O7="update:modelValue",Yv=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],iq=Bo({name:KCt,props:{[Qv]:{},mode:{type:String},...Object.fromEntries(Yv.map(e=>[e,{type:Boolean,default:void 0}]))},emits:{[O7](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=UCt(m=>{if(c.value){c.value=!1;return}s.value=!0,n(O7,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,aq,{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 ywt({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={},aq={};function JCt(e){return e.install=(t,n={})=>{const{props:r,attrs:o}=mCt(n,iq.props);Object.assign(Sm,r),Object.assign(aq,o),t.component(e.name,e)},e}const GCt=JCt(iq);const QCt={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())}},YCt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ZCt={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 XCt(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:Wu(e.style)},[Pu(e.$slots,"default")],4)}const M7=YCt(ZCt,[["render",XCt]]),t3t="2.0.3";let bl;const _d=[];function e3t(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 n3t(){bl||(bl=ef(),e3t(e));function e(t){bl.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",()=>{Zq(bl)})}return bl}const P7=n3t();const r3t={class:"flex-row flex h-screen"},o3t={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"},i3t={class:"flex-grow hidden md:block"},a3t={class:"py-3 w-full flex items-start px-5 justify-between space-x-5"},s3t=Yn("h1",{class:"text-base w-40"}," OG Image Playground ",-1),c3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),u3t={class:"py-7 px-5 text-sm flex flex-col space-y-3"},l3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),f3t={key:0,class:"py-7 px-5 text-sm flex flex-col space-y-3"},d3t={class:"p-3 text-gray-400 text-sm text-center"},h3t={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"},p3t={class:"py-9px dark:bg-dark-800 bg-light-200 px-10 opacity-80 flex items-center max-w-full block space-x-5"},v3t={class:"text-sm flex items-center space-x-5"},m3t=Yn("div",{class:"text-xs opacity-40"}," Path ",-1),g3t={class:"flex items-center space-x-1"},y3t={key:0,class:"text-xs opacity-70"},b3t=Yn("hr",{class:"border-1 border-light-400 dark:border-dark-400"},null,-1),w3t=Yn("h2",{class:"font-semibold text-lg mb-5"}," Props ",-1),x3t={class:"relative"},k3t={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},j3t={key:0,class:"text-xs p-2 text-gray-300"},_3t=Bo({__name:"app",async setup(e){let t,n;zJ({title:"OG Image Playground"});const r=Kn(()=>!!P7.value),o=Kn(()=>P7.value?.host.nuxt.vueApp.config?.globalProperties?.$route?.path||void 0);Va.value=o.value||Ed().query.path||"/",nN.value=Ed().query.base||"/",no(()=>o.value,d=>{Od.value={},ou.value=!1,Va.value=d});const i=Kn(()=>Ed().path!=="/vnodes"&&Ed().path!=="/options"),a=([t,n]=lb(()=>xS()),t=await t,n(),t);no(a,d=>{qp.value=Ie(d),d={...Ie(d)},delete d.path,delete d.cache,delete d.cacheTtl,delete d.component,delete d.provider,M1.value=d},{immediate:!0});const s=Pk(d=>{Od.value={},ou.value=!1,Va.value=d.target.value,Md()},1e3),c=OI();function u(d){Od.value=d,ou.value=!0,Md()}const l=Kn(()=>c.value==="dark");async function f(d=!0){d&&await xS(),Od.value={},ou.value=!1;const h={...qp.value};delete h.path,delete h.cache,delete h.cacheTtl,delete h.component,delete h.provider,M1.value=h,d&&Md()}return[t,n]=lb(()=>f(!1)),await t,n(),(d,h)=>{const p=kk,v=BQ,m=WQ,g=KI,y=CI,b=aZ,w=dZ;return Ln(),ri("div",r3t,[Yn("header",o3t,[Yn("div",i3t,[Yn("div",a3t,[s3t,Ie(r)?Ra("",!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}))]),c3t,Yn("div",u3t,[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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," Template HTML ",2)]),_:1}),Ie(qp)?.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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," Preview SVG ",2)]),_:1})):Ra("",!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"]),Yn("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"]),Yn("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"]),Yn("span",{class:Vr([k?"underline":"opacity-60"])}," vNodes ",2)]),_:1})]),l3t,Ie(i)?(Ln(),ri("div",f3t,[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"}),vu(" Small ")]),_:1})])):Ra("",!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"}),vu(" Full width ")]),_:1})])):Ra("",!0),Yn("div",null,[Ze(v,{onClick:Ie(Md)},{default:to(()=>[vu(" Refresh ")]),_:1},8,["onClick"])])])):Ra("",!0)]),Yn("div",d3t," v"+Zv(Ie(t3t)),1)]),Yn("main",h3t,[Yn("div",p3t,[Yn("div",v3t,[m3t,Yn("div",g3t,[Ze(b,{"model-value":Ie(Va),placeholder:"Search...",n:"primary",onInput:Ie(s)},null,8,["model-value","onInput"])])]),Ie(wS)?(Ln(),ri("div",y3t,Zv(Ie(wS)),1)):Ra("",!0)]),b3t,Yn("div",{class:"h-full max-h-full overflow-hidden lg:p-5 p-2",style:Wu({width:Ie(ol)&&Ie(i)?`${Ie(ol)}px`:"100%"})},[Ze(Ie(QCt),{class:"default-theme",onResize:Ie(AZ)},{default:to(()=>[Ze(Ie(M7),{size:"80"},{default:to(()=>[Ze(w)]),_:1}),Ze(Ie(M7),{size:"20"},{default:to(()=>[w3t,Yn("div",x3t,[Ze(Ie(GCt),{"model-value":Ie(M1),class:Vr(Ie(l)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ie(ou)?(Ln(),ri("span",k3t,"modified")):Ra("",!0)]),Ie(ou)?(Ln(),ri("div",j3t,[Yn("div",null,[vu(" Update "+Zv(Ie(qp).component)+" to persist the changes. ",1),Yn("button",{type:"button",class:"underline",onClick:h[2]||(h[2]=k=>f(!0))}," Reset ")])])):Ra("",!0)]),_:1})]),_:1},8,["onResize"])],4)])])}}});const $3t={__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(()=>Ba(()=>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(()=>Ba(()=>import("./error-404.6f854c9c.js"),["./error-404.6f854c9c.js","./error-404.f3dd5020.css"],import.meta.url).then(f=>f.default||f)):Rm(()=>Ba(()=>import("./error-500.6c46b8cd.js"),["./error-500.6c46b8cd.js","./error-500.06915589.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Ln(),go(Ie(l),D7(fk({statusCode:Ie(r),statusMessage:Ie(i),description:Ie(a),stack:Ie(s)})),null,16))}},A7={__name:"nuxt-root",setup(e){const t=()=>null,n=cr(),r=n.deferHydration(),o=!1;Dl("_route",Ed()),n.hooks.callHookWith(s=>s.map(c=>c()),"vue:setup");const i=s0();w9((s,c,u)=>{if(n.hooks.callHook("vue:error",s,c,u).catch(l=>console.error("[nuxt] Error in `vue:error` hook",l)),nG(s)&&(s.fatal||s.unhandled))return n.runWithContext(()=>wl(s)),!1});const{islandContext:a}=!1;return(s,c)=>(Ln(),go(u9,{onResolve:Ie(r)},{default:to(()=>[Ie(i)?(Ln(),go(Ie($3t),{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(ck(Ie(o)),{key:2})):(Ln(),go(Ie(_3t),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=_K.create({baseURL:SK()}));let T7;{let e;T7=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?BU(A7):zU(A7),o=zK({vueApp:r});try{await FK(o,zQ)}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("#"+HJ),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=T7().catch(t=>{console.error("Error while mounting app:",t)})}export{d0 as A,Ak as B,Md as C,O3t as D,go as E,lb as F,M3t as G,E3t as H,PQ as I,EI as _,Yn as a,Ze as b,ri as c,vu as d,CI as e,C3t as f,Bo as g,OI as h,Pk as i,qp as j,Ku as k,no as l,ol as m,Kn as n,Ln as o,S3t as p,wS as q,Tn as r,Wu as s,Zv as t,zJ as u,Ie as v,to as w,G9 as x,Od as y,Va as z};
|