chunk-vendors.js 406 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],[function(t,e,n){"use strict";n.d(e,"q",(function(){return a})),n.d(e,"v",(function(){return Bt})),n.d(e,"w",(function(){return Rt})),n.d(e,"M",(function(){return jt})),n.d(e,"N",(function(){return qt})),n.d(e,"U",(function(){return At})),n.d(e,"V",(function(){return Wt})),n.d(e,"Y",(function(){return Pt})),n.d(e,"Z",(function(){return Yt})),n.d(e,"z",(function(){return r["J"]})),n.d(e,"A",(function(){return r["K"]})),n.d(e,"B",(function(){return r["L"]})),n.d(e,"W",(function(){return r["N"]})),n.d(e,"a",(function(){return ns})),n.d(e,"b",(function(){return er})),n.d(e,"c",(function(){return ts})),n.d(e,"d",(function(){return rs})),n.d(e,"f",(function(){return ao})),n.d(e,"h",(function(){return ms})),n.d(e,"i",(function(){return ks})),n.d(e,"j",(function(){return ds})),n.d(e,"k",(function(){return ws})),n.d(e,"l",(function(){return Ir})),n.d(e,"m",(function(){return Cs})),n.d(e,"n",(function(){return Ms})),n.d(e,"o",(function(){return Qn})),n.d(e,"p",(function(){return Xn})),n.d(e,"r",(function(){return Ds})),n.d(e,"s",(function(){return Es})),n.d(e,"t",(function(){return uo})),n.d(e,"u",(function(){return Sn})),n.d(e,"x",(function(){return Is})),n.d(e,"y",(function(){return we})),n.d(e,"C",(function(){return rr})),n.d(e,"D",(function(){return hr})),n.d(e,"E",(function(){return ir})),n.d(e,"F",(function(){return fr})),n.d(e,"G",(function(){return gr})),n.d(e,"H",(function(){return dr})),n.d(e,"I",(function(){return cs})),n.d(e,"J",(function(){return mn})),n.d(e,"K",(function(){return Tn})),n.d(e,"L",(function(){return dn})),n.d(e,"P",(function(){return Nr})),n.d(e,"Q",(function(){return Lr})),n.d(e,"R",(function(){return jr})),n.d(e,"S",(function(){return kr})),n.d(e,"T",(function(){return Cr})),n.d(e,"X",(function(){return Rr})),n.d(e,"ab",(function(){return co})),n.d(e,"cb",(function(){return Ln})),n.d(e,"db",(function(){return Nn})),n.d(e,"eb",(function(){return gn})),n.d(e,"fb",(function(){return wr})),n.d(e,"e",(function(){return Go})),n.d(e,"g",(function(){return Oa})),n.d(e,"O",(function(){return _a})),n.d(e,"bb",(function(){return ma})),n.d(e,"gb",(function(){return da})),n.d(e,"hb",(function(){return fa}));var r=n(1);function i(t,...e){console.warn("[Vue warn] "+t,...e)}let s;class o{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=s,!t&&s&&(this.index=(s.scopes||(s.scopes=[])).push(this)-1)}run(t){if(this.active){const e=s;try{return s=this,t()}finally{s=e}}else i("cannot run an inactive effect scope.")}on(){s=this}off(){s=this.parent}stop(t){if(this.active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this.active=!1}}}function a(t){return new o(t)}function c(t,e=s){e&&e.active&&e.effects.push(t)}const l=t=>{const e=new Set(t);return e.w=0,e.n=0,e},u=t=>(t.w&g)>0,h=t=>(t.n&g)>0,f=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=g},p=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];u(i)&&!h(i)?i.delete(t):e[n++]=i,i.w&=~g,i.n&=~g}e.length=n}},d=new WeakMap;let m=0,g=1;const b=30;let v;const y=Symbol("iterate"),_=Symbol("Map key iterate");class O{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,c(this,n)}run(){if(!this.active)return this.fn();let t=v,e=M;while(t){if(t===this)return;t=t.parent}try{return this.parent=v,v=this,M=!0,g=1<<++m,m<=b?f(this):w(this),this.fn()}finally{m<=b&&p(this),g=1<<--m,v=this.parent,M=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){v===this?this.deferStop=!0:this.active&&(w(this),this.onStop&&this.onStop(),this.active=!1)}}function w(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let M=!0;const x=[];function E(){x.push(M),M=!1}function j(){const t=x.pop();M=void 0===t||t}function A(t,e,n){if(M&&v){let r=d.get(t);r||d.set(t,r=new Map);let i=r.get(n);i||r.set(n,i=l());const s={effect:v,target:t,type:e,key:n};C(i,s)}}function C(t,e){let n=!1;m<=b?h(t)||(t.n|=g,n=!u(t)):n=!t.has(v),n&&(t.add(v),v.deps.push(t),v.onTrack&&v.onTrack(Object.assign({effect:v},e)))}function k(t,e,n,i,s,o){const a=d.get(t);if(!a)return;let c=[];if("clear"===e)c=[...a.values()];else if("length"===n&&Object(r["o"])(t)){const t=Object(r["P"])(i);a.forEach((e,n)=>{("length"===n||n>=t)&&c.push(e)})}else switch(void 0!==n&&c.push(a.get(n)),e){case"add":Object(r["o"])(t)?Object(r["t"])(n)&&c.push(a.get("length")):(c.push(a.get(y)),Object(r["u"])(t)&&c.push(a.get(_)));break;case"delete":Object(r["o"])(t)||(c.push(a.get(y)),Object(r["u"])(t)&&c.push(a.get(_)));break;case"set":Object(r["u"])(t)&&c.push(a.get(y));break}const u={target:t,type:e,key:n,newValue:i,oldValue:s,oldTarget:o};if(1===c.length)c[0]&&T(c[0],u);else{const t=[];for(const e of c)e&&t.push(...e);T(l(t),u)}}function T(t,e){const n=Object(r["o"])(t)?t:[...t];for(const r of n)r.computed&&S(r,e);for(const r of n)r.computed||S(r,e)}function S(t,e){(t!==v||t.allowRecurse)&&(t.onTrigger&&t.onTrigger(Object(r["h"])({effect:t},e)),t.scheduler?t.scheduler():t.run())}const N=Object(r["I"])("__proto__,__v_isRef,__isVue"),I=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(r["F"])),L=$(),P=$(!1,!0),R=$(!0),F=$(!0,!0),U=D();function D(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=Pt(this);for(let e=0,i=this.length;e<i;e++)A(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Pt)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...t){E();const n=Pt(this)[e].apply(this,t);return j(),n}}),t}function $(t=!1,e=!1){return function(n,i,s){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&s===(t?e?Mt:wt:e?Ot:_t).get(n))return n;const o=Object(r["o"])(n);if(!t&&o&&Object(r["k"])(U,i))return Reflect.get(U,i,s);const a=Reflect.get(n,i,s);return(Object(r["F"])(i)?I.has(i):N(i))?a:(t||A(n,"get",i),e?a:Bt(a)?o&&Object(r["t"])(i)?a:a.value:Object(r["w"])(a)?t?Ct(a):jt(a):a)}}const B=W(),q=W(!0);function W(t=!1){return function(e,n,i,s){let o=e[n];if(Nt(o)&&Bt(o)&&!Bt(i))return!1;if(!t&&(It(i)||Nt(i)||(o=Pt(o),i=Pt(i)),!Object(r["o"])(e)&&Bt(o)&&!Bt(i)))return o.value=i,!0;const a=Object(r["o"])(e)&&Object(r["t"])(n)?Number(n)<e.length:Object(r["k"])(e,n),c=Reflect.set(e,n,i,s);return e===Pt(s)&&(a?Object(r["j"])(i,o)&&k(e,"set",n,i,o):k(e,"add",n,i)),c}}function V(t,e){const n=Object(r["k"])(t,e),i=t[e],s=Reflect.deleteProperty(t,e);return s&&n&&k(t,"delete",e,void 0,i),s}function H(t,e){const n=Reflect.has(t,e);return Object(r["F"])(e)&&I.has(e)||A(t,"has",e),n}function Y(t){return A(t,"iterate",Object(r["o"])(t)?"length":y),Reflect.ownKeys(t)}const G={get:L,set:B,deleteProperty:V,has:H,ownKeys:Y},z={get:R,set(t,e){return i(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0},deleteProperty(t,e){return i(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}},X=Object(r["h"])({},G,{get:P,set:q}),K=Object(r["h"])({},z,{get:F}),Q=t=>t,J=t=>Reflect.getPrototypeOf(t);function Z(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Pt(t),s=Pt(e);n||(e!==s&&A(i,"get",e),A(i,"get",s));const{has:o}=J(i),a=r?Q:n?Ut:Ft;return o.call(i,e)?a(t.get(e)):o.call(i,s)?a(t.get(s)):void(t!==i&&t.get(e))}function tt(t,e=!1){const n=this["__v_raw"],r=Pt(n),i=Pt(t);return e||(t!==i&&A(r,"has",t),A(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function et(t,e=!1){return t=t["__v_raw"],!e&&A(Pt(t),"iterate",y),Reflect.get(t,"size",t)}function nt(t){t=Pt(t);const e=Pt(this),n=J(e),r=n.has.call(e,t);return r||(e.add(t),k(e,"add",t,t)),this}function rt(t,e){e=Pt(e);const n=Pt(this),{has:i,get:s}=J(n);let o=i.call(n,t);o?yt(n,i,t):(t=Pt(t),o=i.call(n,t));const a=s.call(n,t);return n.set(t,e),o?Object(r["j"])(e,a)&&k(n,"set",t,e,a):k(n,"add",t,e),this}function it(t){const e=Pt(this),{has:n,get:r}=J(e);let i=n.call(e,t);i?yt(e,n,t):(t=Pt(t),i=n.call(e,t));const s=r?r.call(e,t):void 0,o=e.delete(t);return i&&k(e,"delete",t,void 0,s),o}function st(){const t=Pt(this),e=0!==t.size,n=Object(r["u"])(t)?new Map(t):new Set(t),i=t.clear();return e&&k(t,"clear",void 0,void 0,n),i}function ot(t,e){return function(n,r){const i=this,s=i["__v_raw"],o=Pt(s),a=e?Q:t?Ut:Ft;return!t&&A(o,"iterate",y),s.forEach((t,e)=>n.call(r,a(t),a(e),i))}}function at(t,e,n){return function(...i){const s=this["__v_raw"],o=Pt(s),a=Object(r["u"])(o),c="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,u=s[t](...i),h=n?Q:e?Ut:Ft;return!e&&A(o,"iterate",l?_:y),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:c?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function ct(t){return function(...e){{const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${Object(r["f"])(t)} operation ${n}failed: target is readonly.`,Pt(this))}return"delete"!==t&&this}}function lt(){const t={get(t){return Z(this,t)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:it,clear:st,forEach:ot(!1,!1)},e={get(t){return Z(this,t,!1,!0)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:it,clear:st,forEach:ot(!1,!0)},n={get(t){return Z(this,t,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:ot(!0,!1)},r={get(t){return Z(this,t,!0,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:ot(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach(i=>{t[i]=at(i,!1,!1),n[i]=at(i,!0,!1),e[i]=at(i,!1,!0),r[i]=at(i,!0,!0)}),[t,n,e,r]}const[ut,ht,ft,pt]=lt();function dt(t,e){const n=e?t?pt:ft:t?ht:ut;return(e,i,s)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(Object(r["k"])(n,i)&&i in e?n:e,i,s)}const mt={get:dt(!1,!1)},gt={get:dt(!1,!0)},bt={get:dt(!0,!1)},vt={get:dt(!0,!0)};function yt(t,e,n){const i=Pt(n);if(i!==n&&e.call(t,i)){const e=Object(r["Q"])(t);console.warn(`Reactive ${e} contains both the raw and reactive versions of the same object${"Map"===e?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const _t=new WeakMap,Ot=new WeakMap,wt=new WeakMap,Mt=new WeakMap;function xt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Et(t){return t["__v_skip"]||!Object.isExtensible(t)?0:xt(Object(r["Q"])(t))}function jt(t){return Nt(t)?t:Tt(t,!1,G,mt,_t)}function At(t){return Tt(t,!1,X,gt,Ot)}function Ct(t){return Tt(t,!0,z,bt,wt)}function kt(t){return Tt(t,!0,K,vt,Mt)}function Tt(t,e,n,i,s){if(!Object(r["w"])(t))return console.warn("value cannot be made reactive: "+String(t)),t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const o=s.get(t);if(o)return o;const a=Et(t);if(0===a)return t;const c=new Proxy(t,2===a?i:n);return s.set(t,c),c}function St(t){return Nt(t)?St(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Nt(t){return!(!t||!t["__v_isReadonly"])}function It(t){return!(!t||!t["__v_isShallow"])}function Lt(t){return St(t)||Nt(t)}function Pt(t){const e=t&&t["__v_raw"];return e?Pt(e):t}function Rt(t){return Object(r["g"])(t,"__v_skip",!0),t}const Ft=t=>Object(r["w"])(t)?jt(t):t,Ut=t=>Object(r["w"])(t)?Ct(t):t;function Dt(t){M&&v&&(t=Pt(t),C(t.dep||(t.dep=l()),{target:t,type:"get",key:"value"}))}function $t(t,e){t=Pt(t),t.dep&&T(t.dep,{target:t,type:"set",key:"value",newValue:e})}function Bt(t){return!(!t||!0!==t.__v_isRef)}function qt(t){return Vt(t,!1)}function Wt(t){return Vt(t,!0)}function Vt(t,e){return Bt(t)?t:new Ht(t,e)}class Ht{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Pt(t),this._value=e?t:Ft(t)}get value(){return Dt(this),this._value}set value(t){const e=this.__v_isShallow||It(t)||Nt(t);t=e?t:Pt(t),Object(r["j"])(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Ft(t),$t(this,t))}}function Yt(t){return Bt(t)?t.value:t}const Gt={get:(t,e,n)=>Yt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Bt(i)&&!Bt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function zt(t){return St(t)?t:new Proxy(t,Gt)}var Xt;class Kt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[Xt]=!1,this._dirty=!0,this.effect=new O(t,()=>{this._dirty||(this._dirty=!0,$t(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Pt(this);return Dt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Qt(t,e,n=!1){let i,s;const o=Object(r["q"])(t);o?(i=t,s=()=>{console.warn("Write operation failed: computed value is readonly")}):(i=t.get,s=t.set);const a=new Kt(i,s,o||!s,n);return e&&!n&&(a.effect.onTrack=e.onTrack,a.effect.onTrigger=e.onTrigger),a}Xt="__v_isReadonly";const Jt=[];function Zt(t){Jt.push(t)}function te(){Jt.pop()}function ee(t,...e){E();const n=Jt.length?Jt[Jt.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=ne();if(r)ce(r,n,11,[t+e.join(""),n&&n.proxy,i.map(({vnode:t})=>`at <${so(n,t.type)}>`).join("\n"),i]);else{const n=["[Vue warn]: "+t,...e];i.length&&n.push("\n",...re(i)),console.warn(...n)}j()}function ne(){let t=Jt[Jt.length-1];if(!t)return[];const e=[];while(t){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function re(t){const e=[];return t.forEach((t,n)=>{e.push(...0===n?[]:["\n"],...ie(t))}),e}function ie({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=!!t.component&&null==t.component.parent,i=" at <"+so(t.component,t.type,r),s=">"+n;return t.props?[i,...se(t.props),s]:[i+s]}function se(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(n=>{e.push(...oe(n,t[n]))}),n.length>3&&e.push(" ..."),e}function oe(t,e,n){return Object(r["E"])(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):"number"===typeof e||"boolean"===typeof e||null==e?n?e:[`${t}=${e}`]:Bt(e)?(e=oe(t,Pt(e.value),!0),n?e:[t+"=Ref<",e,">"]):Object(r["q"])(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Pt(e),n?e:[t+"=",e])}const ae={["sp"]:"serverPrefetch hook",["bc"]:"beforeCreate hook",["c"]:"created hook",["bm"]:"beforeMount hook",["m"]:"mounted hook",["bu"]:"beforeUpdate hook",["u"]:"updated",["bum"]:"beforeUnmount hook",["um"]:"unmounted hook",["a"]:"activated hook",["da"]:"deactivated hook",["ec"]:"errorCaptured hook",["rtc"]:"renderTracked hook",["rtg"]:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function ce(t,e,n,r){let i;try{i=r?t(...r):t()}catch(s){ue(s,e,n)}return i}function le(t,e,n,i){if(Object(r["q"])(t)){const s=ce(t,e,n,i);return s&&Object(r["z"])(s)&&s.catch(t=>{ue(t,e,n)}),s}const s=[];for(let r=0;r<t.length;r++)s.push(le(t[r],e,n,i));return s}function ue(t,e,n,r=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,s=ae[n];while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,s))return;r=r.parent}const o=e.appContext.config.errorHandler;if(o)return void ce(o,null,10,[t,i,s])}he(t,n,i,r)}function he(t,e,n,r=!0){{const i=ae[e];if(n&&Zt(n),ee("Unhandled error"+(i?" during execution of "+i:"")),n&&te(),r)throw t;console.error(t)}}let fe=!1,pe=!1;const de=[];let me=0;const ge=[];let be=null,ve=0;const ye=Promise.resolve();let _e=null;const Oe=100;function we(t){const e=_e||ye;return t?e.then(this?t.bind(this):t):e}function Me(t){let e=me+1,n=de.length;while(e<n){const r=e+n>>>1,i=Te(de[r]);i<t?e=r+1:n=r}return e}function xe(t){de.length&&de.includes(t,fe&&t.allowRecurse?me+1:me)||(null==t.id?de.push(t):de.splice(Me(t.id),0,t),Ee())}function Ee(){fe||pe||(pe=!0,_e=ye.then(Ne))}function je(t){const e=de.indexOf(t);e>me&&de.splice(e,1)}function Ae(t){Object(r["o"])(t)?ge.push(...t):be&&be.includes(t,t.allowRecurse?ve+1:ve)||ge.push(t),Ee()}function Ce(t,e=(fe?me+1:0)){for(t=t||new Map;e<de.length;e++){const n=de[e];if(n&&n.pre){if(Ie(t,n))continue;de.splice(e,1),e--,n()}}}function ke(t){if(ge.length){const e=[...new Set(ge)];if(ge.length=0,be)return void be.push(...e);for(be=e,t=t||new Map,be.sort((t,e)=>Te(t)-Te(e)),ve=0;ve<be.length;ve++)Ie(t,be[ve])||be[ve]();be=null,ve=0}}const Te=t=>null==t.id?1/0:t.id,Se=(t,e)=>{const n=Te(t)-Te(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Ne(t){pe=!1,fe=!0,t=t||new Map,de.sort(Se);const e=e=>Ie(t,e);try{for(me=0;me<de.length;me++){const t=de[me];if(t&&!1!==t.active){if(e(t))continue;ce(t,null,14)}}}finally{me=0,de.length=0,ke(t),fe=!1,_e=null,(de.length||ge.length)&&Ne(t)}}function Ie(t,e){if(t.has(e)){const n=t.get(e);if(n>Oe){const t=e.ownerInstance,n=t&&io(t.type);return ee(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}t.set(e,n+1)}else t.set(e,1)}let Le=!1;const Pe=new Set;Object(r["i"])().__VUE_HMR_RUNTIME__={createRecord:Ve(De),rerender:Ve(Be),reload:Ve(qe)};const Re=new Map;function Fe(t){const e=t.type.__hmrId;let n=Re.get(e);n||(De(e,t.type),n=Re.get(e)),n.instances.add(t)}function Ue(t){Re.get(t.type.__hmrId).instances.delete(t)}function De(t,e){return!Re.has(t)&&(Re.set(t,{initialDef:$e(e),instances:new Set}),!0)}function $e(t){return oo(t)?t.__vccOpts:t}function Be(t,e){const n=Re.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(t=>{e&&(t.render=e,$e(t.type).render=e),t.renderCache=[],Le=!0,t.update(),Le=!1}))}function qe(t,e){const n=Re.get(t);if(!n)return;e=$e(e),We(n.initialDef,e);const r=[...n.instances];for(const i of r){const t=$e(i.type);Pe.has(t)||(t!==n.initialDef&&We(t,e),Pe.add(t)),i.appContext.optionsCache.delete(i.type),i.ceReload?(Pe.add(t),i.ceReload(e.styles),Pe.delete(t)):i.parent?xe(i.parent.update):i.appContext.reload?i.appContext.reload():"undefined"!==typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ae(()=>{for(const t of r)Pe.delete($e(t.type))})}function We(t,e){Object(r["h"])(t,e);for(const n in t)"__file"===n||n in e||delete t[n]}function Ve(t){return(e,n)=>{try{return t(e,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let He,Ye=[],Ge=!1;function ze(t,...e){He?He.emit(t,...e):Ge||Ye.push({event:t,args:e})}function Xe(t,e){var n,r;if(He=t,He)He.enabled=!0,Ye.forEach(({event:t,args:e})=>He.emit(t,...e)),Ye=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){const t=e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[];t.push(t=>{Xe(t,e)}),setTimeout(()=>{He||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ge=!0,Ye=[])},3e3)}else Ge=!0,Ye=[]}function Ke(t,e){ze("app:init",t,e,{Fragment:ns,Text:rs,Comment:is,Static:ss})}function Qe(t){ze("app:unmount",t)}const Je=nn("component:added"),Ze=nn("component:updated"),tn=nn("component:removed"),en=t=>{He&&"function"===typeof He.cleanupBuffer&&!He.cleanupBuffer(t)&&tn(t)};function nn(t){return e=>{ze(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const rn=on("perf:start"),sn=on("perf:end");function on(t){return(e,n,r)=>{ze(t,e.appContext.app,e.uid,e,n,r)}}function an(t,e,n){ze("component:emit",t.appContext.app,t,e,n)}function cn(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||r["b"];{const{emitsOptions:i,propsOptions:[s]}=t;if(i)if(e in i){const t=i[e];if(Object(r["q"])(t)){const r=t(...n);r||ee(`Invalid event arguments: event validation failed for event "${e}".`)}}else s&&Object(r["O"])(e)in s||ee(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Object(r["O"])(e)}" prop.`)}let s=n;const o=e.startsWith("update:"),a=o&&e.slice(7);if(a&&a in i){const t=("modelValue"===a?"model":a)+"Modifiers",{number:e,trim:o}=i[t]||r["b"];o&&(s=n.map(t=>Object(r["E"])(t)?t.trim():t)),e&&(s=n.map(r["P"]))}an(t,e,s);{const n=e.toLowerCase();n!==e&&i[Object(r["O"])(n)]&&ee(`Event "${n}" is emitted in component ${so(t,t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Object(r["l"])(e)}" instead of "${e}".`)}let c,l=i[c=Object(r["O"])(e)]||i[c=Object(r["O"])(Object(r["e"])(e))];!l&&o&&(l=i[c=Object(r["O"])(Object(r["l"])(e))]),l&&le(l,t,6,s);const u=i[c+"Once"];if(u){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,le(u,t,6,s)}}function ln(t,e,n=!1){const i=e.emitsCache,s=i.get(t);if(void 0!==s)return s;const o=t.emits;let a={},c=!1;if(!Object(r["q"])(t)){const i=t=>{const n=ln(t,e,!0);n&&(c=!0,Object(r["h"])(a,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||c?(Object(r["o"])(o)?o.forEach(t=>a[t]=null):Object(r["h"])(a,o),Object(r["w"])(t)&&i.set(t,a),a):(Object(r["w"])(t)&&i.set(t,null),null)}function un(t,e){return!(!t||!Object(r["x"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(r["k"])(t,e[0].toLowerCase()+e.slice(1))||Object(r["k"])(t,Object(r["l"])(e))||Object(r["k"])(t,e))}let hn=null,fn=null;function pn(t){const e=hn;return hn=t,fn=t&&t.type.__scopeId||null,e}function dn(t){fn=t}function mn(){fn=null}function gn(t,e=hn,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&fs(-1);const i=pn(e);let s;try{s=t(...n)}finally{pn(i),r._d&&fs(1)}return Ze(e),s};return r._n=!0,r._c=!0,r._d=!0,r}let bn=!1;function vn(){bn=!0}function yn(t){const{type:e,vnode:n,proxy:i,withProxy:s,props:o,propsOptions:[a],slots:c,attrs:l,emit:u,render:h,renderCache:f,data:p,setupState:d,ctx:m,inheritAttrs:g}=t;let b,v;const y=pn(t);bn=!1;try{if(4&n.shapeFlag){const t=s||i;b=Ts(h.call(t,t,f,o,d,p,m)),v=l}else{const t=e;l===o&&vn(),b=Ts(t.length>1?t(o,{get attrs(){return vn(),l},slots:c,emit:u}):t(o,null)),v=e.props?l:wn(l)}}catch(w){os.length=0,ue(w,t,1),b=Ms(is)}let _=b,O=void 0;if(b.patchFlag>0&&2048&b.patchFlag&&([_,O]=_n(b)),v&&!1!==g){const t=Object.keys(v),{shapeFlag:e}=_;if(t.length)if(7&e)a&&t.some(r["v"])&&(v=Mn(v,a)),_=js(_,v);else if(!bn&&_.type!==is){const t=Object.keys(l),e=[],n=[];for(let i=0,s=t.length;i<s;i++){const s=t[i];Object(r["x"])(s)?Object(r["v"])(s)||e.push(s[2].toLowerCase()+s.slice(3)):n.push(s)}n.length&&ee("Extraneous non-props attributes ("+n.join(", ")+") were passed to component but could not be automatically inherited because component renders fragment or text root nodes."),e.length&&ee("Extraneous non-emits event listeners ("+e.join(", ")+') were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.')}}return n.dirs&&(xn(_)||ee("Runtime directive used on component with non-element root node. The directives will not function as intended."),_=js(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(xn(_)||ee("Component inside <Transition> renders non-element root node that cannot be animated."),_.transition=n.transition),O?O(_):b=_,pn(y),b}const _n=t=>{const e=t.children,n=t.dynamicChildren,r=On(e);if(!r)return[t,void 0];const i=e.indexOf(r),s=n?n.indexOf(r):-1,o=r=>{e[i]=r,n&&(s>-1?n[s]=r:r.patchFlag>0&&(t.dynamicChildren=[...n,r]))};return[Ts(r),o]};function On(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(!gs(r))return;if(r.type!==is||"v-if"===r.children){if(e)return;e=r}}return e}const wn=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(r["x"])(n))&&((e||(e={}))[n]=t[n]);return e},Mn=(t,e)=>{const n={};for(const i in t)Object(r["v"])(i)&&i.slice(9)in e||(n[i]=t[i]);return n},xn=t=>7&t.shapeFlag||t.type===is;function En(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:c}=e,l=s.emitsOptions;if((i||a)&&Le)return!0;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==o&&(r?!o||jn(r,o,l):!!o);if(1024&c)return!0;if(16&c)return r?jn(r,o,l):!!o;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(o[n]!==r[n]&&!un(l,n))return!0}}return!1}function jn(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!un(n,s))return!0}return!1}function An({vnode:t,parent:e},n){while(e&&e.subTree===t)(t=e.vnode).el=n,e=e.parent}const Cn=t=>t.__isSuspense;function kn(t,e){e&&e.pendingBranch?Object(r["o"])(t)?e.effects.push(...t):e.effects.push(t):Ae(t)}function Tn(t,e){if(Us){let n=Us.provides;const r=Us.parent&&Us.parent.provides;r===n&&(n=Us.provides=Object.create(r)),n[t]=e}else ee("provide() can only be used inside setup().")}function Sn(t,e,n=!1){const i=Us||hn;if(i){const s=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&Object(r["q"])(e)?e.call(i.proxy):e;ee(`injection "${String(t)}" not found.`)}else ee("inject() can only be used inside setup() or functional components.")}function Nn(t,e){return Pn(t,null,e)}const In={};function Ln(t,e,n){return Object(r["q"])(e)||ee("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Pn(t,e,n)}function Pn(t,e,{immediate:n,deep:i,flush:s,onTrack:o,onTrigger:a}=r["b"]){e||(void 0!==n&&ee('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==i&&ee('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=t=>{ee("Invalid watch source: ",t,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=Us;let u,h,f=!1,p=!1;if(Bt(t)?(u=()=>t.value,f=It(t)):St(t)?(u=()=>t,i=!0):Object(r["o"])(t)?(p=!0,f=t.some(t=>St(t)||It(t)),u=()=>t.map(t=>Bt(t)?t.value:St(t)?Un(t):Object(r["q"])(t)?ce(t,l,2):void c(t))):Object(r["q"])(t)?u=e?()=>ce(t,l,2):()=>{if(!l||!l.isUnmounted)return h&&h(),le(t,l,3,[m])}:(u=r["d"],c(t)),e&&i){const t=u;u=()=>Un(t())}let d,m=t=>{h=y.onStop=()=>{ce(t,l,4)}};if(Gs){if(m=r["d"],e?n&&le(e,l,3,[u(),p?[]:void 0,m]):u(),"sync"!==s)return r["d"];{const t=fo();d=t.__watcherHandles||(t.__watcherHandles=[])}}let g=p?new Array(t.length).fill(In):In;const b=()=>{if(y.active)if(e){const t=y.run();(i||f||(p?t.some((t,e)=>Object(r["j"])(t,g[e])):Object(r["j"])(t,g)))&&(h&&h(),le(e,l,3,[t,g===In?void 0:p&&g[0]===In?[]:g,m]),g=t)}else y.run()};let v;b.allowRecurse=!!e,"sync"===s?v=b:"post"===s?v=()=>Bi(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),v=()=>xe(b));const y=new O(u,v);y.onTrack=o,y.onTrigger=a,e?n?b():g=y.run():"post"===s?Bi(y.run.bind(y),l&&l.suspense):y.run();const _=()=>{y.stop(),l&&l.scope&&Object(r["M"])(l.scope.effects,y)};return d&&d.push(_),_}function Rn(t,e,n){const i=this.proxy,s=Object(r["E"])(t)?t.includes(".")?Fn(i,t):()=>i[t]:t.bind(i,i);let o;Object(r["q"])(e)?o=e:(o=e.handler,n=e);const a=Us;$s(this);const c=Pn(s,o.bind(i),n);return a?$s(a):Bs(),c}function Fn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function Un(t,e){if(!Object(r["w"])(t)||t["__v_skip"])return t;if(e=e||new Set,e.has(t))return t;if(e.add(t),Bt(t))Un(t.value,e);else if(Object(r["o"])(t))for(let n=0;n<t.length;n++)Un(t[n],e);else if(Object(r["C"])(t)||Object(r["u"])(t))t.forEach(t=>{Un(t,e)});else if(Object(r["y"])(t))for(const n in t)Un(t[n],e);return t}function Dn(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fr(()=>{t.isMounted=!0}),mr(()=>{t.isUnmounting=!0}),t}const $n=[Function,Array],Bn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$n,onEnter:$n,onAfterEnter:$n,onEnterCancelled:$n,onBeforeLeave:$n,onLeave:$n,onAfterLeave:$n,onLeaveCancelled:$n,onBeforeAppear:$n,onAppear:$n,onAfterAppear:$n,onAppearCancelled:$n},setup(t,{slots:e}){const n=Ds(),r=Dn();let i;return()=>{const s=e.default&&zn(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){let t=!1;for(const e of s)if(e.type!==is){if(t){ee("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}o=e,t=!0}}const a=Pt(t),{mode:c}=a;if(c&&"in-out"!==c&&"out-in"!==c&&"default"!==c&&ee("invalid <transition> mode: "+c),r.isLeaving)return Hn(o);const l=Yn(o);if(!l)return Hn(o);const u=Vn(l,a,r,n);Gn(l,u);const h=n.subTree,f=h&&Yn(h);let p=!1;const{getTransitionKey:d}=l.type;if(d){const t=d();void 0===i?i=t:t!==i&&(i=t,p=!0)}if(f&&f.type!==is&&(!bs(l,f)||p)){const t=Vn(f,a,r,n);if(Gn(f,t),"out-in"===c)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&n.update()},Hn(o);"in-out"===c&&l.type!==is&&(t.delayLeave=(t,e,n)=>{const i=Wn(r,f);i[String(f.key)]=f,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return o}}},qn=Bn;function Wn(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Vn(t,e,n,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:m,onBeforeAppear:g,onAppear:b,onAfterAppear:v,onAppearCancelled:y}=e,_=String(t.key),O=Wn(n,t),w=(t,e)=>{t&&le(t,i,9,e)},M=(t,e)=>{const n=e[1];w(t,e),Object(r["o"])(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},x={mode:o,persisted:a,beforeEnter(e){let r=c;if(!n.isMounted){if(!s)return;r=g||c}e._leaveCb&&e._leaveCb(!0);const i=O[_];i&&bs(t,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[e])},enter(t){let e=l,r=u,i=h;if(!n.isMounted){if(!s)return;e=b||l,r=v||u,i=y||h}let o=!1;const a=t._enterCb=e=>{o||(o=!0,w(e?i:r,[t]),x.delayedLeave&&x.delayedLeave(),t._enterCb=void 0)};e?M(e,[t,a]):a()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();w(f,[e]);let s=!1;const o=e._leaveCb=n=>{s||(s=!0,r(),w(n?m:d,[e]),e._leaveCb=void 0,O[i]===t&&delete O[i])};O[i]=t,p?M(p,[e,o]):o()},clone(t){return Vn(t,e,n,i)}};return x}function Hn(t){if(Zn(t))return t=js(t),t.children=null,t}function Yn(t){return Zn(t)?t.children?t.children[0]:void 0:t}function Gn(t,e){6&t.shapeFlag&&t.component?Gn(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function zn(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=null==n?o.key:String(n)+String(null!=o.key?o.key:s);o.type===ns?(128&o.patchFlag&&i++,r=r.concat(zn(o.children,e,a))):(e||o.type!==is)&&r.push(null!=a?js(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Xn(t){return Object(r["q"])(t)?{setup:t,name:t.name}:t}const Kn=t=>!!t.type.__asyncLoader;function Qn(t){Object(r["q"])(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:s=200,timeout:o,suspensible:a=!0,onError:c}=t;let l,u=null,h=0;const f=()=>(h++,u=null,p()),p=()=>{let t;return u||(t=u=e().catch(t=>{if(t=t instanceof Error?t:new Error(String(t)),c)return new Promise((e,n)=>{const r=()=>e(f()),i=()=>n(t);c(t,r,i,h+1)});throw t}).then(e=>{if(t!==u&&u)return u;if(e||ee("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e&&!Object(r["w"])(e)&&!Object(r["q"])(e))throw new Error("Invalid async component load result: "+e);return l=e,e}))};return Xn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return l},setup(){const t=Us;if(l)return()=>Jn(l,t);const e=e=>{u=null,ue(e,t,13,!i)};if(a&&t.suspense||Gs)return p().then(e=>()=>Jn(e,t)).catch(t=>(e(t),()=>i?Ms(i,{error:t}):null));const r=qt(!1),c=qt(),h=qt(!!s);return s&&setTimeout(()=>{h.value=!1},s),null!=o&&setTimeout(()=>{if(!r.value&&!c.value){const t=new Error(`Async component timed out after ${o}ms.`);e(t),c.value=t}},o),p().then(()=>{r.value=!0,t.parent&&Zn(t.parent.vnode)&&xe(t.parent.update)}).catch(t=>{e(t),c.value=t}),()=>r.value&&l?Jn(l,t):c.value&&i?Ms(i,{error:c.value}):n&&!h.value?Ms(n):void 0}})}function Jn(t,e){const{ref:n,props:r,children:i,ce:s}=e.vnode,o=Ms(t,r,i);return o.ref=n,o.ce=s,delete e.vnode.ce,o}const Zn=t=>t.type.__isKeepAlive,tr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ds(),i=n.ctx;if(!i.renderer)return()=>{const t=e.default&&e.default();return t&&1===t.length?t[0]:t};const s=new Map,o=new Set;let a=null;n.__v_cache=s;const c=n.suspense,{renderer:{p:l,m:u,um:h,o:{createElement:f}}}=i,p=f("div");function d(t){ar(t),h(t,n,c,!0)}function m(t){s.forEach((e,n)=>{const r=io(e.type);!r||t&&t(r)||g(n)})}function g(t){const e=s.get(t);a&&e.type===a.type?a&&ar(a):d(e),s.delete(t),o.delete(t)}i.activate=(t,e,n,i,s)=>{const o=t.component;u(t,e,n,0,c),l(o.vnode,t,e,n,o,c,i,t.slotScopeIds,s),Bi(()=>{o.isDeactivated=!1,o.a&&Object(r["n"])(o.a);const e=t.props&&t.props.onVnodeMounted;e&&Ls(e,o.parent,t)},c),Je(o)},i.deactivate=t=>{const e=t.component;u(t,p,null,1,c),Bi(()=>{e.da&&Object(r["n"])(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&Ls(n,e.parent,t),e.isDeactivated=!0},c),Je(e)},Ln(()=>[t.include,t.exclude],([t,e])=>{t&&m(e=>nr(t,e)),e&&m(t=>!nr(e,t))},{flush:"post",deep:!0});let b=null;const v=()=>{null!=b&&s.set(b,cr(n.subTree))};return fr(v),dr(v),mr(()=>{s.forEach(t=>{const{subTree:e,suspense:r}=n,i=cr(e);if(t.type!==i.type)d(t);else{ar(i);const t=i.component.da;t&&Bi(t,r)}})}),()=>{if(b=null,!e.default)return null;const n=e.default(),r=n[0];if(n.length>1)return ee("KeepAlive should contain exactly one component child."),a=null,n;if(!gs(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return a=null,r;let i=cr(r);const c=i.type,l=io(Kn(i)?i.type.__asyncResolved||{}:c),{include:u,exclude:h,max:f}=t;if(u&&(!l||!nr(u,l))||h&&l&&nr(h,l))return a=i,r;const p=null==i.key?c:i.key,d=s.get(p);return i.el&&(i=js(i),128&r.shapeFlag&&(r.ssContent=i)),b=p,d?(i.el=d.el,i.component=d.component,i.transition&&Gn(i,i.transition),i.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),f&&o.size>parseInt(f,10)&&g(o.values().next().value)),i.shapeFlag|=256,a=i,Cn(r.type)?r:i}}},er=tr;function nr(t,e){return Object(r["o"])(t)?t.some(t=>nr(t,e)):Object(r["E"])(t)?t.split(",").includes(e):!!t.test&&t.test(e)}function rr(t,e){sr(t,"a",e)}function ir(t,e){sr(t,"da",e)}function sr(t,e,n=Us){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(lr(e,r,n),n){let t=n.parent;while(t&&t.parent)Zn(t.parent.vnode)&&or(r,e,n,t),t=t.parent}}function or(t,e,n,i){const s=lr(e,t,i,!0);gr(()=>{Object(r["M"])(i[e],s)},n)}function ar(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function cr(t){return 128&t.shapeFlag?t.ssContent:t}function lr(t,e,n=Us,i=!1){if(n){const r=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;E(),$s(n);const i=le(e,n,t,r);return Bs(),j(),i});return i?r.unshift(s):r.push(s),s}{const e=Object(r["O"])(ae[t].replace(/ hook$/,""));ee(e+" is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.")}}const ur=t=>(e,n=Us)=>(!Gs||"sp"===t)&&lr(t,(...t)=>e(...t),n),hr=ur("bm"),fr=ur("m"),pr=ur("bu"),dr=ur("u"),mr=ur("bum"),gr=ur("um"),br=ur("sp"),vr=ur("rtg"),yr=ur("rtc");function _r(t,e=Us){lr("ec",t,e)}function Or(t){Object(r["p"])(t)&&ee("Do not use built-in directive ids as custom directive id: "+t)}function wr(t,e){const n=hn;if(null===n)return ee("withDirectives can only be used inside render functions."),t;const i=eo(n)||n.proxy,s=t.dirs||(t.dirs=[]);for(let o=0;o<e.length;o++){let[t,n,a,c=r["b"]]=e[o];t&&(Object(r["q"])(t)&&(t={mounted:t,updated:t}),t.deep&&Un(n),s.push({dir:t,instance:i,value:n,oldValue:void 0,arg:a,modifiers:c}))}return t}function Mr(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let c=a.dir[r];c&&(E(),le(c,n,8,[t.el,a,t,e]),j())}}const xr="components",Er="directives";function jr(t,e){return Tr(xr,t,!0,e)||t}const Ar=Symbol();function Cr(t){return Object(r["E"])(t)?Tr(xr,t,!1)||t:t||Ar}function kr(t){return Tr(Er,t)}function Tr(t,e,n=!0,i=!1){const s=hn||Us;if(s){const o=s.type;if(t===xr){const t=io(o,!1);if(t&&(t===e||t===Object(r["e"])(e)||t===Object(r["f"])(Object(r["e"])(e))))return o}const a=Sr(s[t]||o[t],e)||Sr(s.appContext[t],e);if(!a&&i)return o;if(n&&!a){const n=t===xr?"\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.":"";ee(`Failed to resolve ${t.slice(0,-1)}: ${e}${n}`)}return a}ee(`resolve${Object(r["f"])(t.slice(0,-1))} can only be used in render() or setup().`)}function Sr(t,e){return t&&(t[e]||t[Object(r["e"])(e)]||t[Object(r["f"])(Object(r["e"])(e))])}function Nr(t,e,n,i){let s;const o=n&&n[i];if(Object(r["o"])(t)||Object(r["E"])(t)){s=new Array(t.length);for(let n=0,r=t.length;n<r;n++)s[n]=e(t[n],n,void 0,o&&o[n])}else if("number"===typeof t){Number.isInteger(t)||ee(`The v-for range expect an integer value but got ${t}.`),s=new Array(t);for(let n=0;n<t;n++)s[n]=e(n+1,n,void 0,o&&o[n])}else if(Object(r["w"])(t))if(t[Symbol.iterator])s=Array.from(t,(t,n)=>e(t,n,void 0,o&&o[n]));else{const n=Object.keys(t);s=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];s[r]=e(t[i],i,r,o&&o[r])}}else s=[];return n&&(n[i]=s),s}function Ir(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(Object(r["o"])(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function Lr(t,e,n={},r,i){if(hn.isCE||hn.parent&&Kn(hn.parent)&&hn.parent.isCE)return"default"!==e&&(n.name=e),Ms("slot",n,r&&r());let s=t[e];s&&s.length>1&&(ee("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),cs();const o=s&&Pr(s(n)),a=ms(ns,{key:n.key||o&&o.key||"_"+e},o||(r?r():[]),o&&1===t._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Pr(t){return t.some(t=>!gs(t)||t.type!==is&&!(t.type===ns&&!Pr(t.children)))?t:null}function Rr(t,e){const n={};if(!Object(r["w"])(t))return ee("v-on with no argument expects an object value."),n;for(const i in t)n[e&&/[A-Z]/.test(i)?"on:"+i:Object(r["O"])(i)]=t[i];return n}const Fr=t=>t?Vs(t)?eo(t)||t.proxy:Fr(t.parent):null,Ur=Object(r["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>kt(t.props),$attrs:t=>kt(t.attrs),$slots:t=>kt(t.slots),$refs:t=>kt(t.refs),$parent:t=>Fr(t.parent),$root:t=>Fr(t.root),$emit:t=>t.emit,$options:t=>Qr(t),$forceUpdate:t=>t.f||(t.f=()=>xe(t.update)),$nextTick:t=>t.n||(t.n=we.bind(t.proxy)),$watch:t=>Rn.bind(t)}),Dr=t=>"_"===t||"$"===t,$r=(t,e)=>t!==r["b"]&&!t.__isScriptSetup&&Object(r["k"])(t,e),Br={get({_:t},e){const{ctx:n,setupState:i,data:s,props:o,accessCache:a,type:c,appContext:l}=t;if("__isVue"===e)return!0;let u;if("$"!==e[0]){const c=a[e];if(void 0!==c)switch(c){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if($r(i,e))return a[e]=1,i[e];if(s!==r["b"]&&Object(r["k"])(s,e))return a[e]=2,s[e];if((u=t.propsOptions[0])&&Object(r["k"])(u,e))return a[e]=3,o[e];if(n!==r["b"]&&Object(r["k"])(n,e))return a[e]=4,n[e];Yr&&(a[e]=0)}}const h=Ur[e];let f,p;return h?("$attrs"===e&&(A(t,"get",e),vn()),h(t)):(f=c.__cssModules)&&(f=f[e])?f:n!==r["b"]&&Object(r["k"])(n,e)?(a[e]=4,n[e]):(p=l.config.globalProperties,Object(r["k"])(p,e)?p[e]:void(!hn||Object(r["E"])(e)&&0===e.indexOf("__v")||(s!==r["b"]&&Dr(e[0])&&Object(r["k"])(s,e)?ee(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===hn&&ee(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))))},set({_:t},e,n){const{data:i,setupState:s,ctx:o}=t;return $r(s,e)?(s[e]=n,!0):s.__isScriptSetup&&Object(r["k"])(s,e)?(ee(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==r["b"]&&Object(r["k"])(i,e)?(i[e]=n,!0):Object(r["k"])(t.props,e)?(ee(`Attempting to mutate prop "${e}". Props are readonly.`),!1):"$"===e[0]&&e.slice(1)in t?(ee(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(e in t.appContext.config.globalProperties?Object.defineProperty(o,e,{enumerable:!0,configurable:!0,value:n}):o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:s,propsOptions:o}},a){let c;return!!n[a]||t!==r["b"]&&Object(r["k"])(t,a)||$r(e,a)||(c=o[0])&&Object(r["k"])(c,a)||Object(r["k"])(i,a)||Object(r["k"])(Ur,a)||Object(r["k"])(s.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:Object(r["k"])(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)},ownKeys:t=>(ee("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t))};function qr(t){const e={};return Object.defineProperty(e,"_",{configurable:!0,enumerable:!1,get:()=>t}),Object.keys(Ur).forEach(n=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get:()=>Ur[n](t),set:r["d"]})}),e}function Wr(t){const{ctx:e,propsOptions:[n]}=t;n&&Object.keys(n).forEach(n=>{Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>t.props[n],set:r["d"]})})}function Vr(t){const{ctx:e,setupState:n}=t;Object.keys(Pt(n)).forEach(t=>{if(!n.__isScriptSetup){if(Dr(t[0]))return void ee(`setup() return property ${JSON.stringify(t)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[t],set:r["d"]})}})}function Hr(){const t=Object.create(null);return(e,n)=>{t[n]?ee(`${e} property "${n}" is already defined in ${t[n]}.`):t[n]=e}}let Yr=!0;function Gr(t){const e=Qr(t),n=t.proxy,i=t.ctx;Yr=!1,e.beforeCreate&&Xr(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:a,watch:c,provide:l,inject:u,created:h,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:g,deactivated:b,beforeDestroy:v,beforeUnmount:y,destroyed:_,unmounted:O,render:w,renderTracked:M,renderTriggered:x,errorCaptured:E,serverPrefetch:j,expose:A,inheritAttrs:C,components:k,directives:T,filters:S}=e,N=Hr();{const[e]=t.propsOptions;if(e)for(const t in e)N("Props",t)}if(u&&zr(u,i,N,t.appContext.config.unwrapInjectedRef),a)for(const L in a){const t=a[L];Object(r["q"])(t)?(Object.defineProperty(i,L,{value:t.bind(n),configurable:!0,enumerable:!0,writable:!0}),N("Methods",L)):ee(`Method "${L}" has type "${typeof t}" in the component definition. Did you reference the function correctly?`)}if(s){Object(r["q"])(s)||ee("The data option must be a function. Plain object usage is no longer supported.");const e=s.call(n,n);if(Object(r["z"])(e)&&ee("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),Object(r["w"])(e)){t.data=jt(e);for(const t in e)N("Data",t),Dr(t[0])||Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t],set:r["d"]})}else ee("data() should return an object.")}if(Yr=!0,o)for(const L in o){const t=o[L],e=Object(r["q"])(t)?t.bind(n,n):Object(r["q"])(t.get)?t.get.bind(n,n):r["d"];e===r["d"]&&ee(`Computed property "${L}" has no getter.`);const s=!Object(r["q"])(t)&&Object(r["q"])(t.set)?t.set.bind(n):()=>{ee(`Write operation failed: computed property "${L}" is readonly.`)},a=ao({get:e,set:s});Object.defineProperty(i,L,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}),N("Computed",L)}if(c)for(const r in c)Kr(c[r],i,n,r);if(l){const t=Object(r["q"])(l)?l.call(n):l;Reflect.ownKeys(t).forEach(e=>{Tn(e,t[e])})}function I(t,e){Object(r["o"])(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(h&&Xr(h,t,"c"),I(hr,f),I(fr,p),I(pr,d),I(dr,m),I(rr,g),I(ir,b),I(_r,E),I(yr,M),I(vr,x),I(mr,y),I(gr,O),I(br,j),Object(r["o"])(A))if(A.length){const e=t.exposed||(t.exposed={});A.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});w&&t.render===r["d"]&&(t.render=w),null!=C&&(t.inheritAttrs=C),k&&(t.components=k),T&&(t.directives=T)}function zr(t,e,n=r["d"],i=!1){Object(r["o"])(t)&&(t=ni(t));for(const s in t){const o=t[s];let a;a=Object(r["w"])(o)?"default"in o?Sn(o.from||s,o.default,!0):Sn(o.from||s):Sn(o),Bt(a)?i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}):(ee(`injected property "${s}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),e[s]=a):e[s]=a,n("Inject",s)}}function Xr(t,e,n){le(Object(r["o"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function Kr(t,e,n,i){const s=i.includes(".")?Fn(n,i):()=>n[i];if(Object(r["E"])(t)){const n=e[t];Object(r["q"])(n)?Ln(s,n):ee(`Invalid watch handler specified by key "${t}"`,n)}else if(Object(r["q"])(t))Ln(s,t.bind(n));else if(Object(r["w"])(t))if(Object(r["o"])(t))t.forEach(t=>Kr(t,e,n,i));else{const i=Object(r["q"])(t.handler)?t.handler.bind(n):e[t.handler];Object(r["q"])(i)?Ln(s,i,t):ee(`Invalid watch handler specified by key "${t.handler}"`,i)}else ee(`Invalid watch option: "${i}"`,t)}function Qr(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,c=o.get(e);let l;return c?l=c:s.length||n||i?(l={},s.length&&s.forEach(t=>Jr(l,t,a,!0)),Jr(l,e,a)):l=e,Object(r["w"])(e)&&o.set(e,l),l}function Jr(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Jr(t,s,n,!0),i&&i.forEach(e=>Jr(t,e,n,!0));for(const o in e)if(r&&"expose"===o)ee('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const r=Zr[o]||n&&n[o];t[o]=r?r(t[o],e[o]):e[o]}return t}const Zr={data:ti,props:ii,emits:ii,methods:ii,computed:ii,beforeCreate:ri,created:ri,beforeMount:ri,mounted:ri,beforeUpdate:ri,updated:ri,beforeDestroy:ri,beforeUnmount:ri,destroyed:ri,unmounted:ri,activated:ri,deactivated:ri,errorCaptured:ri,serverPrefetch:ri,components:ii,directives:ii,watch:si,provide:ti,inject:ei};function ti(t,e){return e?t?function(){return Object(r["h"])(Object(r["q"])(t)?t.call(this,this):t,Object(r["q"])(e)?e.call(this,this):e)}:e:t}function ei(t,e){return ii(ni(t),ni(e))}function ni(t){if(Object(r["o"])(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function ri(t,e){return t?[...new Set([].concat(t,e))]:e}function ii(t,e){return t?Object(r["h"])(Object(r["h"])(Object.create(null),t),e):e}function si(t,e){if(!t)return e;if(!e)return t;const n=Object(r["h"])(Object.create(null),t);for(const r in e)n[r]=ri(t[r],e[r]);return n}function oi(t,e,n,i=!1){const s={},o={};Object(r["g"])(o,ys,1),t.propsDefaults=Object.create(null),li(t,e,s,o);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);gi(e||{},s,t),n?t.props=i?s:At(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function ai(t){while(t){if(t.type.__hmrId)return!0;t=t.parent}}function ci(t,e,n,i){const{props:s,attrs:o,vnode:{patchFlag:a}}=t,c=Pt(s),[l]=t.propsOptions;let u=!1;if(ai(t)||!(i||a>0)||16&a){let i;li(t,e,s,o)&&(u=!0);for(const o in c)e&&(Object(r["k"])(e,o)||(i=Object(r["l"])(o))!==o&&Object(r["k"])(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(s[o]=ui(l,c,o,void 0,t,!0)):delete s[o]);if(o!==c)for(const t in o)e&&Object(r["k"])(e,t)||(delete o[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];if(un(t.emitsOptions,a))continue;const h=e[a];if(l)if(Object(r["k"])(o,a))h!==o[a]&&(o[a]=h,u=!0);else{const e=Object(r["e"])(a);s[e]=ui(l,c,e,h,t,!1)}else h!==o[a]&&(o[a]=h,u=!0)}}u&&k(t,"set","$attrs"),gi(e||{},s,t)}function li(t,e,n,i){const[s,o]=t.propsOptions;let a,c=!1;if(e)for(let l in e){if(Object(r["A"])(l))continue;const u=e[l];let h;s&&Object(r["k"])(s,h=Object(r["e"])(l))?o&&o.includes(h)?(a||(a={}))[h]=u:n[h]=u:un(t.emitsOptions,l)||l in i&&u===i[l]||(i[l]=u,c=!0)}if(o){const e=Pt(n),i=a||r["b"];for(let a=0;a<o.length;a++){const c=o[a];n[c]=ui(s,e,c,i[c],t,!Object(r["k"])(i,c))}}return c}function ui(t,e,n,i,s,o){const a=t[n];if(null!=a){const t=Object(r["k"])(a,"default");if(t&&void 0===i){const t=a.default;if(a.type!==Function&&Object(r["q"])(t)){const{propsDefaults:r}=s;n in r?i=r[n]:($s(s),i=r[n]=t.call(null,e),Bs())}else i=t}a[0]&&(o&&!t?i=!1:!a[1]||""!==i&&i!==Object(r["l"])(n)||(i=!0))}return i}function hi(t,e,n=!1){const i=e.propsCache,s=i.get(t);if(s)return s;const o=t.props,a={},c=[];let l=!1;if(!Object(r["q"])(t)){const i=t=>{l=!0;const[n,i]=hi(t,e,!0);Object(r["h"])(a,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!o&&!l)return Object(r["w"])(t)&&i.set(t,r["a"]),r["a"];if(Object(r["o"])(o))for(let h=0;h<o.length;h++){Object(r["E"])(o[h])||ee("props must be strings when using array syntax.",o[h]);const t=Object(r["e"])(o[h]);fi(t)&&(a[t]=r["b"])}else if(o){Object(r["w"])(o)||ee("invalid props options",o);for(const t in o){const e=Object(r["e"])(t);if(fi(e)){const n=o[t],i=a[e]=Object(r["o"])(n)||Object(r["q"])(n)?{type:n}:Object.assign({},n);if(i){const t=mi(Boolean,i.type),n=mi(String,i.type);i[0]=t>-1,i[1]=n<0||t<n,(t>-1||Object(r["k"])(i,"default"))&&c.push(e)}}}}const u=[a,c];return Object(r["w"])(t)&&i.set(t,u),u}function fi(t){return"$"!==t[0]||(ee(`Invalid prop name: "${t}" is a reserved property.`),!1)}function pi(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function di(t,e){return pi(t)===pi(e)}function mi(t,e){return Object(r["o"])(e)?e.findIndex(e=>di(e,t)):Object(r["q"])(e)&&di(e,t)?0:-1}function gi(t,e,n){const i=Pt(e),s=n.propsOptions[0];for(const o in s){let e=s[o];null!=e&&bi(o,i[o],e,!Object(r["k"])(t,o)&&!Object(r["k"])(t,Object(r["l"])(o)))}}function bi(t,e,n,i){const{type:s,required:o,validator:a}=n;if(o&&i)ee('Missing required prop: "'+t+'"');else if(null!=e||n.required){if(null!=s&&!0!==s){let n=!1;const i=Object(r["o"])(s)?s:[s],o=[];for(let t=0;t<i.length&&!n;t++){const{valid:r,expectedType:s}=yi(e,i[t]);o.push(s||""),n=r}if(!n)return void ee(_i(t,e,o))}a&&!a(e)&&ee('Invalid prop: custom validator check failed for prop "'+t+'".')}}const vi=Object(r["I"])("String,Number,Boolean,Function,Symbol,BigInt");function yi(t,e){let n;const i=pi(e);if(vi(i)){const r=typeof t;n=r===i.toLowerCase(),n||"object"!==r||(n=t instanceof e)}else n="Object"===i?Object(r["w"])(t):"Array"===i?Object(r["o"])(t):"null"===i?null===t:t instanceof e;return{valid:n,expectedType:i}}function _i(t,e,n){let i=`Invalid prop: type check failed for prop "${t}". Expected `+n.map(r["f"]).join(" | ");const s=n[0],o=Object(r["Q"])(e),a=Oi(e,s),c=Oi(e,o);return 1===n.length&&wi(s)&&!Mi(s,o)&&(i+=" with value "+a),i+=`, got ${o} `,wi(o)&&(i+=`with value ${c}.`),i}function Oi(t,e){return"String"===e?`"${t}"`:"Number"===e?""+Number(t):""+t}function wi(t){const e=["string","number","boolean"];return e.some(e=>t.toLowerCase()===e)}function Mi(...t){return t.some(t=>"boolean"===t.toLowerCase())}const xi=t=>"_"===t[0]||"$stable"===t,Ei=t=>Object(r["o"])(t)?t.map(Ts):[Ts(t)],ji=(t,e,n)=>{if(e._n)return e;const r=gn((...n)=>(Us&&ee(`Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Ei(e(...n))),n);return r._c=!1,r},Ai=(t,e,n)=>{const i=t._ctx;for(const s in t){if(xi(s))continue;const n=t[s];if(Object(r["q"])(n))e[s]=ji(s,n,i);else if(null!=n){ee(`Non-function value encountered for slot "${s}". Prefer function slots for better performance.`);const t=Ei(n);e[s]=()=>t}}},Ci=(t,e)=>{Zn(t.vnode)||ee("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Ei(e);t.slots.default=()=>n},ki=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=Pt(e),Object(r["g"])(e,"_",n)):Ai(e,t.slots={})}else t.slots={},e&&Ci(t,e);Object(r["g"])(t.slots,ys,1)},Ti=(t,e,n)=>{const{vnode:i,slots:s}=t;let o=!0,a=r["b"];if(32&i.shapeFlag){const t=e._;t?Le?Object(r["h"])(s,e):n&&1===t?o=!1:(Object(r["h"])(s,e),n||1!==t||delete s._):(o=!e.$stable,Ai(e,s)),a=e}else e&&(Ci(t,e),a={default:1});if(o)for(const r in s)xi(r)||r in a||delete s[r]};function Si(){return{app:null,config:{isNativeTag:r["c"],performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ni=0;function Ii(t,e){return function(n,i=null){Object(r["q"])(n)||(n=Object.assign({},n)),null==i||Object(r["w"])(i)||(ee("root props passed to app.mount() must be an object."),i=null);const s=Si(),o=new Set;let a=!1;const c=s.app={_uid:Ni++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:go,get config(){return s.config},set config(t){ee("app.config cannot be replaced. Modify individual options instead.")},use(t,...e){return o.has(t)?ee("Plugin has already been applied to target app."):t&&Object(r["q"])(t.install)?(o.add(t),t.install(c,...e)):Object(r["q"])(t)?(o.add(t),t(c,...e)):ee('A plugin must either be a function or an object with an "install" function.'),c},mixin(t){return s.mixins.includes(t)?ee("Mixin has already been applied to target app"+(t.name?": "+t.name:"")):s.mixins.push(t),c},component(t,e){return Ws(t,s.config),e?(s.components[t]&&ee(`Component "${t}" has already been registered in target app.`),s.components[t]=e,c):s.components[t]},directive(t,e){return Or(t),e?(s.directives[t]&&ee(`Directive "${t}" has already been registered in target app.`),s.directives[t]=e,c):s.directives[t]},mount(r,o,l){if(!a){r.__vue_app__&&ee("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const u=Ms(n,i);return u.appContext=s,s.reload=()=>{t(js(u),r,l)},o&&e?e(u,r):t(u,r,l),a=!0,c._container=r,r.__vue_app__=c,c._instance=u.component,Ke(c,go),eo(u.component)||u.component.proxy}ee("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`")},unmount(){a?(t(null,c._container),c._instance=null,Qe(c),delete c._container.__vue_app__):ee("Cannot unmount an app that is not mounted.")},provide(t,e){return t in s.provides&&ee(`App already provides property with key "${String(t)}". It will be overwritten with the new value.`),s.provides[t]=e,c}};return c}}function Li(t,e,n,i,s=!1){if(Object(r["o"])(t))return void t.forEach((t,o)=>Li(t,e&&(Object(r["o"])(e)?e[o]:e),n,i,s));if(Kn(i)&&!s)return;const o=4&i.shapeFlag?eo(i.component)||i.component.proxy:i.el,a=s?null:o,{i:c,r:l}=t;if(!c)return void ee("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");const u=e&&e.r,h=c.refs===r["b"]?c.refs={}:c.refs,f=c.setupState;if(null!=u&&u!==l&&(Object(r["E"])(u)?(h[u]=null,Object(r["k"])(f,u)&&(f[u]=null)):Bt(u)&&(u.value=null)),Object(r["q"])(l))ce(l,c,12,[a,h]);else{const e=Object(r["E"])(l),i=Bt(l);if(e||i){const c=()=>{if(t.f){const n=e?Object(r["k"])(f,l)?f[l]:h[l]:l.value;s?Object(r["o"])(n)&&Object(r["M"])(n,o):Object(r["o"])(n)?n.includes(o)||n.push(o):e?(h[l]=[o],Object(r["k"])(f,l)&&(f[l]=h[l])):(l.value=[o],t.k&&(h[t.k]=l.value))}else e?(h[l]=a,Object(r["k"])(f,l)&&(f[l]=a)):i?(l.value=a,t.k&&(h[t.k]=a)):ee("Invalid template ref type:",l,`(${typeof l})`)};a?(c.id=-1,Bi(c,n)):c()}else ee("Invalid template ref type:",l,`(${typeof l})`)}}let Pi,Ri;function Fi(t,e){t.appContext.config.performance&&Di()&&Ri.mark(`vue-${e}-${t.uid}`),rn(t,e,Di()?Ri.now():Date.now())}function Ui(t,e){if(t.appContext.config.performance&&Di()){const n=`vue-${e}-${t.uid}`,r=n+":end";Ri.mark(r),Ri.measure(`<${so(t,t.type)}> ${e}`,n,r),Ri.clearMarks(n),Ri.clearMarks(r)}sn(t,e,Di()?Ri.now():Date.now())}function Di(){return void 0!==Pi||("undefined"!==typeof window&&window.performance?(Pi=!0,Ri=window.performance):Pi=!1),Pi}function $i(){const t=[];if(t.length){const e=t.length>1;console.warn(`Feature flag${e?"s":""} ${t.join(", ")} ${e?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.\n\nFor more details, see https://link.vuejs.org/feature-flags.`)}}const Bi=kn;function qi(t){return Wi(t)}function Wi(t,e){$i();const n=Object(r["i"])();n.__VUE__=!0,Xe(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:s,patchProp:o,createElement:a,createText:c,createComment:l,setText:u,setElementText:h,parentNode:f,nextSibling:p,setScopeId:d=r["d"],insertStaticContent:m}=t,g=(t,e,n,r=null,i=null,s=null,o=!1,a=null,c=!Le&&!!e.dynamicChildren)=>{if(t===e)return;t&&!bs(t,e)&&(r=z(t),W(t,i,s,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:l,ref:u,shapeFlag:h}=e;switch(l){case rs:b(t,e,n,r);break;case is:v(t,e,n,r);break;case ss:null==t?y(e,n,r,o):_(t,e,n,o);break;case ns:I(t,e,n,r,i,s,o,a,c);break;default:1&h?x(t,e,n,r,i,s,o,a,c):6&h?L(t,e,n,r,i,s,o,a,c):64&h||128&h?l.process(t,e,n,r,i,s,o,a,c,K):ee("Invalid VNode type:",l,`(${typeof l})`)}null!=u&&i&&Li(u,t&&t.ref,s,e||t,!e)},b=(t,e,n,r)=>{if(null==t)i(e.el=c(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&u(n,e.children)}},v=(t,e,n,r)=>{null==t?i(e.el=l(e.children||""),n,r):e.el=t.el},y=(t,e,n,r)=>{[t.el,t.anchor]=m(t.children,e,n,r,t.el,t.anchor)},_=(t,e,n,r)=>{if(e.children!==t.children){const i=p(t.anchor);M(t),[e.el,e.anchor]=m(e.children,n,i,r)}else e.el=t.el,e.anchor=t.anchor},w=({el:t,anchor:e},n,r)=>{let s;while(t&&t!==e)s=p(t),i(t,n,r),t=s;i(e,n,r)},M=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),s(t),t=n;s(e)},x=(t,e,n,r,i,s,o,a,c)=>{o=o||"svg"===e.type,null==t?A(e,n,r,i,s,o,a,c):T(t,e,i,s,o,a,c)},A=(t,e,n,s,c,l,u,f)=>{let p,d;const{type:m,props:g,shapeFlag:b,transition:v,dirs:y}=t;if(p=t.el=a(t.type,l,g&&g.is,g),8&b?h(p,t.children):16&b&&k(t.children,p,null,s,c,l&&"foreignObject"!==m,u,f),y&&Mr(t,null,s,"created"),g){for(const e in g)"value"===e||Object(r["A"])(e)||o(p,e,null,g[e],l,t.children,s,c,G);"value"in g&&o(p,"value",null,g.value),(d=g.onVnodeBeforeMount)&&Ls(d,s,t)}C(p,t,t.scopeId,u,s),Object.defineProperty(p,"__vnode",{value:t,enumerable:!1}),Object.defineProperty(p,"__vueParentComponent",{value:s,enumerable:!1}),y&&Mr(t,null,s,"beforeMount");const _=(!c||c&&!c.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(p),i(p,e,n),((d=g&&g.onVnodeMounted)||_||y)&&Bi(()=>{d&&Ls(d,s,t),_&&v.enter(p),y&&Mr(t,null,s,"mounted")},c)},C=(t,e,n,r,i)=>{if(n&&d(t,n),r)for(let s=0;s<r.length;s++)d(t,r[s]);if(i){let n=i.subTree;if(n.patchFlag>0&&2048&n.patchFlag&&(n=On(n.children)||n),e===n){const e=i.vnode;C(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},k=(t,e,n,r,i,s,o,a,c=0)=>{for(let l=c;l<t.length;l++){const c=t[l]=a?Ss(t[l]):Ts(t[l]);g(null,c,e,n,r,i,s,o,a)}},T=(t,e,n,i,s,a,c)=>{const l=e.el=t.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=e;u|=16&t.patchFlag;const d=t.props||r["b"],m=e.props||r["b"];let g;n&&Vi(n,!1),(g=m.onVnodeBeforeUpdate)&&Ls(g,n,e,t),p&&Mr(e,t,n,"beforeUpdate"),n&&Vi(n,!0),Le&&(u=0,c=!1,f=null);const b=s&&"foreignObject"!==e.type;if(f?(S(t.dynamicChildren,f,l,n,i,b,a),n&&n.type.__hmrId&&Hi(t,e)):c||D(t,e,l,null,n,i,b,a,!1),u>0){if(16&u)N(l,e,d,m,n,i,s);else if(2&u&&d.class!==m.class&&o(l,"class",null,m.class,s),4&u&&o(l,"style",d.style,m.style,s),8&u){const r=e.dynamicProps;for(let e=0;e<r.length;e++){const a=r[e],c=d[a],u=m[a];u===c&&"value"!==a||o(l,a,c,u,s,t.children,n,i,G)}}1&u&&t.children!==e.children&&h(l,e.children)}else c||null!=f||N(l,e,d,m,n,i,s);((g=m.onVnodeUpdated)||p)&&Bi(()=>{g&&Ls(g,n,e,t),p&&Mr(e,t,n,"updated")},i)},S=(t,e,n,r,i,s,o)=>{for(let a=0;a<e.length;a++){const c=t[a],l=e[a],u=c.el&&(c.type===ns||!bs(c,l)||70&c.shapeFlag)?f(c.el):n;g(c,l,u,null,r,i,s,o,!0)}},N=(t,e,n,i,s,a,c)=>{if(n!==i){if(n!==r["b"])for(const l in n)Object(r["A"])(l)||l in i||o(t,l,n[l],null,c,e.children,s,a,G);for(const l in i){if(Object(r["A"])(l))continue;const u=i[l],h=n[l];u!==h&&"value"!==l&&o(t,l,h,u,c,e.children,s,a,G)}"value"in i&&o(t,"value",n.value,i.value)}},I=(t,e,n,r,s,o,a,l,u)=>{const h=e.el=t?t.el:c(""),f=e.anchor=t?t.anchor:c("");let{patchFlag:p,dynamicChildren:d,slotScopeIds:m}=e;(Le||2048&p)&&(p=0,u=!1,d=null),m&&(l=l?l.concat(m):m),null==t?(i(h,n,r),i(f,n,r),k(e.children,n,f,s,o,a,l,u)):p>0&&64&p&&d&&t.dynamicChildren?(S(t.dynamicChildren,d,n,s,o,a,l),s&&s.type.__hmrId?Hi(t,e):(null!=e.key||s&&e===s.subTree)&&Hi(t,e,!0)):D(t,e,n,f,s,o,a,l,u)},L=(t,e,n,r,i,s,o,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,o,c):P(e,n,r,i,s,o,c):R(t,e,c)},P=(t,e,n,r,i,s,o)=>{const a=t.component=Fs(t,r,i);if(a.type.__hmrId&&Fe(a),Zt(t),Fi(a,"mount"),Zn(t)&&(a.ctx.renderer=K),Fi(a,"init"),zs(a),Ui(a,"init"),a.asyncDep){if(i&&i.registerDep(a,F),!t.el){const t=a.subTree=Ms(is);v(null,t,e,n)}}else F(a,t,e,n,i,s,o),te(),Ui(a,"mount")},R=(t,e,n)=>{const r=e.component=t.component;if(En(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return Zt(e),U(r,e,n),void te();r.next=e,je(r.update),r.update()}else e.el=t.el,r.vnode=e},F=(t,e,n,i,s,o,a)=>{const c=()=>{if(t.isMounted){let e,{next:n,bu:i,u:c,parent:l,vnode:u}=t,h=n;Zt(n||t.vnode),Vi(t,!1),n?(n.el=u.el,U(t,n,a)):n=u,i&&Object(r["n"])(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Ls(e,l,n,u),Vi(t,!0),Fi(t,"render");const p=yn(t);Ui(t,"render");const d=t.subTree;t.subTree=p,Fi(t,"patch"),g(d,p,f(d.el),z(d),t,s,o),Ui(t,"patch"),n.el=p.el,null===h&&An(t,p.el),c&&Bi(c,s),(e=n.props&&n.props.onVnodeUpdated)&&Bi(()=>Ls(e,l,n,u),s),Ze(t),te()}else{let a;const{el:c,props:l}=e,{bm:u,m:h,parent:f}=t,p=Kn(e);if(Vi(t,!1),u&&Object(r["n"])(u),!p&&(a=l&&l.onVnodeBeforeMount)&&Ls(a,f,e),Vi(t,!0),c&&J){const n=()=>{Fi(t,"render"),t.subTree=yn(t),Ui(t,"render"),Fi(t,"hydrate"),J(c,t.subTree,t,s,null),Ui(t,"hydrate")};p?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{Fi(t,"render");const r=t.subTree=yn(t);Ui(t,"render"),Fi(t,"patch"),g(null,r,n,i,t,s,o),Ui(t,"patch"),e.el=r.el}if(h&&Bi(h,s),!p&&(a=l&&l.onVnodeMounted)){const t=e;Bi(()=>Ls(a,f,t),s)}(256&e.shapeFlag||f&&Kn(f.vnode)&&256&f.vnode.shapeFlag)&&t.a&&Bi(t.a,s),t.isMounted=!0,Je(t),e=n=i=null}},l=t.effect=new O(c,()=>xe(u),t.scope),u=t.update=()=>l.run();u.id=t.uid,Vi(t,!0),l.onTrack=t.rtc?e=>Object(r["n"])(t.rtc,e):void 0,l.onTrigger=t.rtg?e=>Object(r["n"])(t.rtg,e):void 0,u.ownerInstance=t,u()},U=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,ci(t,e.props,r,n),Ti(t,e.children,n),E(),Ce(),j()},D=(t,e,n,r,i,s,o,a,c=!1)=>{const l=t&&t.children,u=t?t.shapeFlag:0,f=e.children,{patchFlag:p,shapeFlag:d}=e;if(p>0){if(128&p)return void B(l,f,n,r,i,s,o,a,c);if(256&p)return void $(l,f,n,r,i,s,o,a,c)}8&d?(16&u&&G(l,i,s),f!==l&&h(n,f)):16&u?16&d?B(l,f,n,r,i,s,o,a,c):G(l,i,s,!0):(8&u&&h(n,""),16&d&&k(f,n,r,i,s,o,a,c))},$=(t,e,n,i,s,o,a,c,l)=>{t=t||r["a"],e=e||r["a"];const u=t.length,h=e.length,f=Math.min(u,h);let p;for(p=0;p<f;p++){const r=e[p]=l?Ss(e[p]):Ts(e[p]);g(t[p],r,n,null,s,o,a,c,l)}u>h?G(t,s,o,!0,!1,f):k(e,n,i,s,o,a,c,l,f)},B=(t,e,n,i,s,o,a,c,l)=>{let u=0;const h=e.length;let f=t.length-1,p=h-1;while(u<=f&&u<=p){const r=t[u],i=e[u]=l?Ss(e[u]):Ts(e[u]);if(!bs(r,i))break;g(r,i,n,null,s,o,a,c,l),u++}while(u<=f&&u<=p){const r=t[f],i=e[p]=l?Ss(e[p]):Ts(e[p]);if(!bs(r,i))break;g(r,i,n,null,s,o,a,c,l),f--,p--}if(u>f){if(u<=p){const t=p+1,r=t<h?e[t].el:i;while(u<=p)g(null,e[u]=l?Ss(e[u]):Ts(e[u]),n,r,s,o,a,c,l),u++}}else if(u>p)while(u<=f)W(t[u],s,o,!0),u++;else{const d=u,m=u,b=new Map;for(u=m;u<=p;u++){const t=e[u]=l?Ss(e[u]):Ts(e[u]);null!=t.key&&(b.has(t.key)&&ee("Duplicate keys found during update:",JSON.stringify(t.key),"Make sure keys are unique."),b.set(t.key,u))}let v,y=0;const _=p-m+1;let O=!1,w=0;const M=new Array(_);for(u=0;u<_;u++)M[u]=0;for(u=d;u<=f;u++){const r=t[u];if(y>=_){W(r,s,o,!0);continue}let i;if(null!=r.key)i=b.get(r.key);else for(v=m;v<=p;v++)if(0===M[v-m]&&bs(r,e[v])){i=v;break}void 0===i?W(r,s,o,!0):(M[i-m]=u+1,i>=w?w=i:O=!0,g(r,e[i],n,null,s,o,a,c,l),y++)}const x=O?Yi(M):r["a"];for(v=x.length-1,u=_-1;u>=0;u--){const t=m+u,r=e[t],f=t+1<h?e[t+1].el:i;0===M[u]?g(null,r,n,f,s,o,a,c,l):O&&(v<0||u!==x[v]?q(r,n,f,2):v--)}}},q=(t,e,n,r,s=null)=>{const{el:o,type:a,transition:c,children:l,shapeFlag:u}=t;if(6&u)return void q(t.component.subTree,e,n,r);if(128&u)return void t.suspense.move(e,n,r);if(64&u)return void a.move(t,e,n,K);if(a===ns){i(o,e,n);for(let t=0;t<l.length;t++)q(l[t],e,n,r);return void i(t.anchor,e,n)}if(a===ss)return void w(t,e,n);const h=2!==r&&1&u&&c;if(h)if(0===r)c.beforeEnter(o),i(o,e,n),Bi(()=>c.enter(o),s);else{const{leave:t,delayLeave:r,afterLeave:s}=c,a=()=>i(o,e,n),l=()=>{t(o,()=>{a(),s&&s()})};r?r(o,a,l):l()}else i(o,e,n)},W=(t,e,n,r=!1,i=!1)=>{const{type:s,props:o,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:h,dirs:f}=t;if(null!=a&&Li(a,null,n,t,!0),256&u)return void e.ctx.deactivate(t);const p=1&u&&f,d=!Kn(t);let m;if(d&&(m=o&&o.onVnodeBeforeUnmount)&&Ls(m,e,t),6&u)Y(t.component,n,r);else{if(128&u)return void t.suspense.unmount(n,r);p&&Mr(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,i,K,r):l&&(s!==ns||h>0&&64&h)?G(l,e,n,!1,!0):(s===ns&&384&h||!i&&16&u)&&G(c,e,n),r&&V(t)}(d&&(m=o&&o.onVnodeUnmounted)||p)&&Bi(()=>{m&&Ls(m,e,t),p&&Mr(t,null,e,"unmounted")},n)},V=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===ns)return void(t.patchFlag>0&&2048&t.patchFlag&&i&&!i.persisted?t.children.forEach(t=>{t.type===is?s(t.el):V(t)}):H(n,r));if(e===ss)return void M(t);const o=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,s=()=>e(n,o);r?r(t.el,o,s):s()}else o()},H=(t,e)=>{let n;while(t!==e)n=p(t),s(t),t=n;s(e)},Y=(t,e,n)=>{t.type.__hmrId&&Ue(t);const{bum:i,scope:s,update:o,subTree:a,um:c}=t;i&&Object(r["n"])(i),s.stop(),o&&(o.active=!1,W(a,t,e,n)),c&&Bi(c,e),Bi(()=>{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve()),en(t)},G=(t,e,n,r=!1,i=!1,s=0)=>{for(let o=s;o<t.length;o++)W(t[o],e,n,r,i)},z=t=>6&t.shapeFlag?z(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),X=(t,e,n)=>{null==t?e._vnode&&W(e._vnode,null,null,!0):g(e._vnode||null,t,e,null,null,null,n),Ce(),ke(),e._vnode=t},K={p:g,um:W,m:q,r:V,mt:P,mc:k,pc:D,pbc:S,n:z,o:t};let Q,J;return e&&([Q,J]=e(K)),{render:X,hydrate:Q,createApp:Ii(X,Q)}}function Vi({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Hi(t,e,n=!1){const i=t.children,s=e.children;if(Object(r["o"])(i)&&Object(r["o"])(s))for(let r=0;r<i.length;r++){const t=i[r];let e=s[r];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=s[r]=Ss(s[r]),e.el=t.el),n||Hi(t,e)),e.type===rs&&(e.el=t.el),e.type!==is||e.el||(e.el=t.el)}}function Yi(t){const e=t.slice(),n=[0];let r,i,s,o,a;const c=t.length;for(r=0;r<c;r++){const c=t[r];if(0!==c){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}s=0,o=n.length-1;while(s<o)a=s+o>>1,t[n[a]]<c?s=a+1:o=a;c<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}s=n.length,o=n[s-1];while(s-- >0)n[s]=o,o=e[o];return n}const Gi=t=>t.__isTeleport,zi=t=>t&&(t.disabled||""===t.disabled),Xi=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,Ki=(t,e)=>{const n=t&&t.to;if(Object(r["E"])(n)){if(e){const t=e(n);return t||ee(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),t}return ee("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null}return n||zi(t)||ee("Invalid Teleport target: "+n),n},Qi={__isTeleport:!0,process(t,e,n,r,i,s,o,a,c,l){const{mc:u,pc:h,pbc:f,o:{insert:p,querySelector:d,createText:m,createComment:g}}=l,b=zi(e.props);let{shapeFlag:v,children:y,dynamicChildren:_}=e;if(Le&&(c=!1,_=null),null==t){const t=e.el=g("teleport start"),l=e.anchor=g("teleport end");p(t,n,r),p(l,n,r);const h=e.target=Ki(e.props,d),f=e.targetAnchor=m("");h?(p(f,h),o=o||Xi(h)):b||ee("Invalid Teleport target on mount:",h,`(${typeof h})`);const _=(t,e)=>{16&v&&u(y,t,e,i,s,o,a,c)};b?_(n,l):h&&_(h,f)}else{e.el=t.el;const r=e.anchor=t.anchor,u=e.target=t.target,p=e.targetAnchor=t.targetAnchor,m=zi(t.props),g=m?n:u,v=m?r:p;if(o=o||Xi(u),_?(f(t.dynamicChildren,_,g,i,s,o,a),Hi(t,e,!0)):c||h(t,e,g,v,i,s,o,a,!1),b)m||Ji(e,n,r,l,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=Ki(e.props,d);t?Ji(e,t,null,l,0):ee("Invalid Teleport target on update:",u,`(${typeof u})`)}else m&&Ji(e,u,p,l,1)}es(e)},remove(t,e,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:h,props:f}=t;if(h&&s(u),(o||!zi(f))&&(s(l),16&a))for(let p=0;p<c.length;p++){const t=c[p];i(t,e,n,!0,!!t.dynamicChildren)}},move:Ji,hydrate:Zi};function Ji(t,e,n,{o:{insert:r},m:i},s=2){0===s&&r(t.targetAnchor,e,n);const{el:o,anchor:a,shapeFlag:c,children:l,props:u}=t,h=2===s;if(h&&r(o,e,n),(!h||zi(u))&&16&c)for(let f=0;f<l.length;f++)i(l[f],e,n,2);h&&r(a,e,n)}function Zi(t,e,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:c}},l){const u=e.target=Ki(e.props,c);if(u){const c=u._lpa||u.firstChild;if(16&e.shapeFlag)if(zi(e.props))e.anchor=l(o(t),e,a(t),n,r,i,s),e.targetAnchor=c;else{e.anchor=o(t);let a=c;while(a)if(a=o(a),a&&8===a.nodeType&&"teleport anchor"===a.data){e.targetAnchor=a,u._lpa=e.targetAnchor&&o(e.targetAnchor);break}l(c,e,u,n,r,i,s)}es(e)}return e.anchor&&o(e.anchor)}const ts=Qi;function es(t){const e=t.ctx;if(e&&e.ut){let n=t.children[0].el;while(n!==t.targetAnchor)1===n.nodeType&&n.setAttribute("data-v-owner",e.uid),n=n.nextSibling;e.ut()}}const ns=Symbol("Fragment"),rs=Symbol("Text"),is=Symbol("Comment"),ss=Symbol("Static"),os=[];let as=null;function cs(t=!1){os.push(as=t?null:[])}function ls(){os.pop(),as=os[os.length-1]||null}let us,hs=1;function fs(t){hs+=t}function ps(t){return t.dynamicChildren=hs>0?as||r["a"]:null,ls(),hs>0&&as&&as.push(t),t}function ds(t,e,n,r,i,s){return ps(ws(t,e,n,r,i,s,!0))}function ms(t,e,n,r,i){return ps(Ms(t,e,n,r,i,!0))}function gs(t){return!!t&&!0===t.__v_isVNode}function bs(t,e){return 6&e.shapeFlag&&Pe.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const vs=(...t)=>xs(...us?us(t,hn):t),ys="__vInternal",_s=({key:t})=>null!=t?t:null,Os=({ref:t,ref_key:e,ref_for:n})=>null!=t?Object(r["E"])(t)||Bt(t)||Object(r["q"])(t)?{i:hn,r:t,k:e,f:!!n}:t:null;function ws(t,e=null,n=null,i=0,s=null,o=(t===ns?0:1),a=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&_s(e),ref:e&&Os(e),scopeId:fn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:hn};return c?(Ns(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=Object(r["E"])(n)?8:16),l.key!==l.key&&ee("VNode created with invalid key (NaN). VNode type:",l.type),hs>0&&!a&&as&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&as.push(l),l}const Ms=vs;function xs(t,e=null,n=null,i=0,s=null,o=!1){if(t&&t!==Ar||(t||ee(`Invalid vnode type when creating vnode: ${t}.`),t=is),gs(t)){const r=js(t,e,!0);return n&&Ns(r,n),hs>0&&!o&&as&&(6&r.shapeFlag?as[as.indexOf(t)]=r:as.push(r)),r.patchFlag|=-2,r}if(oo(t)&&(t=t.__vccOpts),e){e=Es(e);let{class:t,style:n}=e;t&&!Object(r["E"])(t)&&(e.class=Object(r["J"])(t)),Object(r["w"])(n)&&(Lt(n)&&!Object(r["o"])(n)&&(n=Object(r["h"])({},n)),e.style=Object(r["L"])(n))}const a=Object(r["E"])(t)?1:Cn(t)?128:Gi(t)?64:Object(r["w"])(t)?4:Object(r["q"])(t)?2:0;return 4&a&&Lt(t)&&(t=Pt(t),ee("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",t)),ws(t,e,n,i,s,a,o,!0)}function Es(t){return t?Lt(t)||ys in t?Object(r["h"])({},t):t:null}function js(t,e,n=!1){const{props:i,ref:s,patchFlag:o,children:a}=t,c=e?Is(i||{},e):i,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&_s(c),ref:e&&e.ref?n&&s?Object(r["o"])(s)?s.concat(Os(e)):[s,Os(e)]:Os(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:-1===o&&Object(r["o"])(a)?a.map(As):a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ns?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&js(t.ssContent),ssFallback:t.ssFallback&&js(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx};return l}function As(t){const e=js(t);return Object(r["o"])(t.children)&&(e.children=t.children.map(As)),e}function Cs(t=" ",e=0){return Ms(rs,null,t,e)}function ks(t="",e=!1){return e?(cs(),ms(is,null,t)):Ms(is,null,t)}function Ts(t){return null==t||"boolean"===typeof t?Ms(is):Object(r["o"])(t)?Ms(ns,null,t.slice()):"object"===typeof t?Ss(t):Ms(rs,null,String(t))}function Ss(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:js(t)}function Ns(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(Object(r["o"])(e))n=16;else if("object"===typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Ns(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||ys in e?3===r&&hn&&(1===hn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=hn}}else Object(r["q"])(e)?(e={default:e,_ctx:hn},n=32):(e=String(e),64&i?(n=16,e=[Cs(e)]):n=8);t.children=e,t.shapeFlag|=n}function Is(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=Object(r["J"])([e.class,i.class]));else if("style"===t)e.style=Object(r["L"])([e.style,i.style]);else if(Object(r["x"])(t)){const n=e[t],s=i[t];!s||n===s||Object(r["o"])(n)&&n.includes(s)||(e[t]=n?[].concat(n,s):s)}else""!==t&&(e[t]=i[t])}return e}function Ls(t,e,n,r=null){le(t,e,7,[n,r])}const Ps=Si();let Rs=0;function Fs(t,e,n){const i=t.type,s=(e?e.appContext:t.appContext)||Ps,a={uid:Rs++,vnode:t,type:i,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new o(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:hi(i,s),emitsOptions:ln(i,s),emit:null,emitted:null,propsDefaults:r["b"],inheritAttrs:i.inheritAttrs,ctx:r["b"],data:r["b"],props:r["b"],attrs:r["b"],slots:r["b"],refs:r["b"],setupState:r["b"],setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx=qr(a),a.root=e?e.root:a,a.emit=cn.bind(null,a),t.ce&&t.ce(a),a}let Us=null;const Ds=()=>Us||hn,$s=t=>{Us=t,t.scope.on()},Bs=()=>{Us&&Us.scope.off(),Us=null},qs=Object(r["I"])("slot,component");function Ws(t,e){const n=e.isNativeTag||r["c"];(qs(t)||n(t))&&ee("Do not use built-in or reserved HTML elements as component id: "+t)}function Vs(t){return 4&t.vnode.shapeFlag}let Hs,Ys,Gs=!1;function zs(t,e=!1){Gs=e;const{props:n,children:r}=t.vnode,i=Vs(t);oi(t,n,i,e),ki(t,r);const s=i?Xs(t,e):void 0;return Gs=!1,s}function Xs(t,e){var n;const i=t.type;if(i.name&&Ws(i.name,t.appContext.config),i.components){const e=Object.keys(i.components);for(let n=0;n<e.length;n++)Ws(e[n],t.appContext.config)}if(i.directives){const t=Object.keys(i.directives);for(let e=0;e<t.length;e++)Or(t[e])}i.compilerOptions&&Qs()&&ee('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'),t.accessCache=Object.create(null),t.proxy=Rt(new Proxy(t.ctx,Br)),Wr(t);const{setup:s}=i;if(s){const o=t.setupContext=s.length>1?to(t):null;$s(t),E();const a=ce(s,t,0,[kt(t.props),o]);if(j(),Bs(),Object(r["z"])(a)){if(a.then(Bs,Bs),e)return a.then(n=>{Ks(t,n,e)}).catch(e=>{ue(e,t,0)});if(t.asyncDep=a,!t.suspense){const t=null!==(n=i.name)&&void 0!==n?n:"Anonymous";ee(`Component <${t}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ks(t,a,e)}else Js(t,e)}function Ks(t,e,n){Object(r["q"])(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Object(r["w"])(e)?(gs(e)&&ee("setup() should not return VNodes directly - return a render function instead."),t.devtoolsRawSetupState=e,t.setupState=zt(e),Vr(t)):void 0!==e&&ee("setup() should return an object. Received: "+(null===e?"null":typeof e)),Js(t,n)}const Qs=()=>!Hs;function Js(t,e,n){const i=t.type;if(!t.render){if(!e&&Hs&&!i.render){const e=i.template||Qr(t).template;if(e){Fi(t,"compile");const{isCustomElement:n,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:a}=i,c=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:o},s),a);i.render=Hs(e,c),Ui(t,"compile")}}t.render=i.render||r["d"],Ys&&Ys(t)}$s(t),E(),Gr(t),j(),Bs(),i.render||t.render!==r["d"]||e||(!Hs&&i.template?ee('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):ee("Component is missing template or render function."))}function Zs(t){return new Proxy(t.attrs,{get(e,n){return vn(),A(t,"get","$attrs"),e[n]},set(){return ee("setupContext.attrs is readonly."),!1},deleteProperty(){return ee("setupContext.attrs is readonly."),!1}})}function to(t){const e=e=>{t.exposed&&ee("expose() should be called only once per setup()."),t.exposed=e||{}};let n;return Object.freeze({get attrs(){return n||(n=Zs(t))},get slots(){return kt(t.slots)},get emit(){return(e,...n)=>t.emit(e,...n)},expose:e})}function eo(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(zt(Rt(t.exposed)),{get(e,n){return n in e?e[n]:n in Ur?Ur[n](t):void 0},has(t,e){return e in t||e in Ur}}))}const no=/(?:^|[-_])(\w)/g,ro=t=>t.replace(no,t=>t.toUpperCase()).replace(/[-_]/g,"");function io(t,e=!0){return Object(r["q"])(t)?t.displayName||t.name:t.name||e&&t.__name}function so(t,e,n=!1){let r=io(e);if(!r&&e.__file){const t=e.__file.match(/([^/\\]+)\.\w+$/);t&&(r=t[1])}if(!r&&t&&t.parent){const n=t=>{for(const n in t)if(t[n]===e)return n};r=n(t.components||t.parent.type.components)||n(t.appContext.components)}return r?ro(r):n?"App":"Anonymous"}function oo(t){return Object(r["q"])(t)&&"__vccOpts"in t}const ao=(t,e)=>Qt(t,e,Gs);function co(){return lo().attrs}function lo(){const t=Ds();return t||ee("useContext() called without active instance."),t.setupContext||(t.setupContext=to(t))}function uo(t,e,n){const i=arguments.length;return 2===i?Object(r["w"])(e)&&!Object(r["o"])(e)?gs(e)?Ms(t,null,[e]):Ms(t,e):Ms(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&gs(n)&&(n=[n]),Ms(t,e,n))}const ho=Symbol("ssrContext"),fo=()=>{{const t=Sn(ho);return t||ee("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function po(t){return!(!t||!t["__v_isShallow"])}function mo(){if("undefined"===typeof window)return;const t={style:"color:#3ba776"},e={style:"color:#0b1bc9"},n={style:"color:#b62e24"},i={style:"color:#9d288c"},s={header(e){return Object(r["w"])(e)?e.__isVue?["div",t,"VueInstance"]:Bt(e)?["div",{},["span",t,h(e)],"<",c(e.value),">"]:St(e)?["div",{},["span",t,po(e)?"ShallowReactive":"Reactive"],"<",c(e),">"+(Nt(e)?" (readonly)":"")]:Nt(e)?["div",{},["span",t,po(e)?"ShallowReadonly":"Readonly"],"<",c(e),">"]:null:null},hasBody(t){return t&&t.__isVue},body(t){if(t&&t.__isVue)return["div",{},...o(t.$)]}};function o(t){const e=[];t.type.props&&t.props&&e.push(a("props",Pt(t.props))),t.setupState!==r["b"]&&e.push(a("setup",t.setupState)),t.data!==r["b"]&&e.push(a("data",Pt(t.data)));const n=l(t,"computed");n&&e.push(a("computed",n));const s=l(t,"inject");return s&&e.push(a("injected",s)),e.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:t}]]),e}function a(t,e){return e=Object(r["h"])({},e),Object.keys(e).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},t],["div",{style:"padding-left:1.25em"},...Object.keys(e).map(t=>["div",{},["span",i,t+": "],c(e[t],!1)])]]:["span",{}]}function c(t,s=!0){return"number"===typeof t?["span",e,t]:"string"===typeof t?["span",n,JSON.stringify(t)]:"boolean"===typeof t?["span",i,t]:Object(r["w"])(t)?["object",{object:s?Pt(t):t}]:["span",n,String(t)]}function l(t,e){const n=t.type;if(Object(r["q"])(n))return;const i={};for(const r in t.ctx)u(n,r,e)&&(i[r]=t.ctx[r]);return i}function u(t,e,n){const i=t[n];return!!(Object(r["o"])(i)&&i.includes(e)||Object(r["w"])(i)&&e in i)||(!(!t.extends||!u(t.extends,e,n))||(!(!t.mixins||!t.mixins.some(t=>u(t,e,n)))||void 0))}function h(t){return po(t)?"ShallowRef":t.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}const go="3.2.45",bo="http://www.w3.org/2000/svg",vo="undefined"!==typeof document?document:null,yo=vo&&vo.createElement("template"),_o={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?vo.createElementNS(bo,t):vo.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>vo.createTextNode(t),createComment:t=>vo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>vo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===s||!(i=i.nextSibling))break}else{yo.innerHTML=r?`<svg>${t}</svg>`:t;const i=yo.content;if(r){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Oo(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function wo(t,e,n){const i=t.style,s=Object(r["E"])(n);if(n&&!s){for(const t in n)Eo(i,t,n[t]);if(e&&!Object(r["E"])(e))for(const t in e)null==n[t]&&Eo(i,t,"")}else{const r=i.display;s?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const Mo=/[^\\];\s*$/,xo=/\s*!important$/;function Eo(t,e,n){if(Object(r["o"])(n))n.forEach(n=>Eo(t,e,n));else if(null==n&&(n=""),Mo.test(n)&&ee(`Unexpected semicolon at the end of '${e}' style value: '${n}'`),e.startsWith("--"))t.setProperty(e,n);else{const i=Co(t,e);xo.test(n)?t.setProperty(Object(r["l"])(i),n.replace(xo,""),"important"):t[i]=n}}const jo=["Webkit","Moz","ms"],Ao={};function Co(t,e){const n=Ao[e];if(n)return n;let i=Object(r["e"])(e);if("filter"!==i&&i in t)return Ao[e]=i;i=Object(r["f"])(i);for(let r=0;r<jo.length;r++){const n=jo[r]+i;if(n in t)return Ao[e]=n}return e}const ko="http://www.w3.org/1999/xlink";function To(t,e,n,i,s){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(ko,e.slice(6,e.length)):t.setAttributeNS(ko,e,n);else{const i=Object(r["D"])(e);null==n||i&&!Object(r["m"])(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function So(t,e,n,i,s,o,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,s,o),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=n;const r=null==n?"":n;return t.value===r&&"OPTION"!==t.tagName||(t.value=r),void(null==n&&t.removeAttribute(e))}let c=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=Object(r["m"])(n):null==n&&"string"===i?(n="",c=!0):"number"===i&&(n=0,c=!0)}try{t[e]=n}catch(l){c||ee(`Failed setting prop "${e}" on <${t.tagName.toLowerCase()}>: value ${n} is invalid.`,l)}c&&t.removeAttribute(e)}function No(t,e,n,r){t.addEventListener(e,n,r)}function Io(t,e,n,r){t.removeEventListener(e,n,r)}function Lo(t,e,n,r,i=null){const s=t._vei||(t._vei={}),o=s[e];if(r&&o)o.value=r;else{const[n,a]=Ro(e);if(r){const o=s[e]=$o(r,i);No(t,n,o,a)}else o&&(Io(t,n,o,a),s[e]=void 0)}}const Po=/(?:Once|Passive|Capture)$/;function Ro(t){let e;if(Po.test(t)){let n;e={};while(n=t.match(Po))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):Object(r["l"])(t.slice(2));return[n,e]}let Fo=0;const Uo=Promise.resolve(),Do=()=>Fo||(Uo.then(()=>Fo=0),Fo=Date.now());function $o(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();le(Bo(t,n.value),e,5,[t])};return n.value=t,n.attached=Do(),n}function Bo(t,e){if(Object(r["o"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t&&t(e))}return e}const qo=/^on[a-z]/,Wo=(t,e,n,i,s=!1,o,a,c,l)=>{"class"===e?Oo(t,i,s):"style"===e?wo(t,n,i):Object(r["x"])(e)?Object(r["v"])(e)||Lo(t,e,n,i,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):Vo(t,e,i,s))?So(t,e,i,o,a,c,l):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),To(t,e,i,s))};function Vo(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&qo.test(e)&&Object(r["q"])(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!qo.test(e)||!Object(r["E"])(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const Ho="transition",Yo="animation",Go=(t,{slots:e})=>uo(qn,Qo(t),e);Go.displayName="Transition";const zo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xo=(Go.props=Object(r["h"])({},qn.props,zo),(t,e=[])=>{Object(r["o"])(t)?t.forEach(t=>t(...e)):t&&t(...e)}),Ko=t=>!!t&&(Object(r["o"])(t)?t.some(t=>t.length>1):t.length>1);function Qo(t){const e={};for(const r in t)r in zo||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:s,enterFromClass:o=n+"-enter-from",enterActiveClass:a=n+"-enter-active",enterToClass:c=n+"-enter-to",appearFromClass:l=o,appearActiveClass:u=a,appearToClass:h=c,leaveFromClass:f=n+"-leave-from",leaveActiveClass:p=n+"-leave-active",leaveToClass:d=n+"-leave-to"}=t,m=Jo(s),g=m&&m[0],b=m&&m[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:_,onLeave:O,onLeaveCancelled:w,onBeforeAppear:M=v,onAppear:x=y,onAppearCancelled:E=_}=e,j=(t,e,n)=>{na(t,e?h:c),na(t,e?u:a),n&&n()},A=(t,e)=>{t._isLeaving=!1,na(t,f),na(t,d),na(t,p),e&&e()},C=t=>(e,n)=>{const r=t?x:y,s=()=>j(e,t,n);Xo(r,[e,s]),ra(()=>{na(e,t?l:o),ea(e,t?h:c),Ko(r)||sa(e,i,g,s)})};return Object(r["h"])(e,{onBeforeEnter(t){Xo(v,[t]),ea(t,o),ea(t,a)},onBeforeAppear(t){Xo(M,[t]),ea(t,l),ea(t,u)},onEnter:C(!1),onAppear:C(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>A(t,e);ea(t,f),la(),ea(t,p),ra(()=>{t._isLeaving&&(na(t,f),ea(t,d),Ko(O)||sa(t,i,b,n))}),Xo(O,[t,n])},onEnterCancelled(t){j(t,!1),Xo(_,[t])},onAppearCancelled(t){j(t,!0),Xo(E,[t])},onLeaveCancelled(t){A(t),Xo(w,[t])}})}function Jo(t){if(null==t)return null;if(Object(r["w"])(t))return[Zo(t.enter),Zo(t.leave)];{const e=Zo(t);return[e,e]}}function Zo(t){const e=Object(r["P"])(t);return ta(e),e}function ta(t){"number"!==typeof t?ee(`<transition> explicit duration is not a valid number - got ${JSON.stringify(t)}.`):isNaN(t)&&ee("<transition> explicit duration is NaN - the duration expression might be incorrect.")}function ea(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function na(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function ra(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ia=0;function sa(t,e,n,r){const i=t._endId=++ia,s=()=>{i===t._endId&&r()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:c}=oa(t,e);if(!o)return r();const l=o+"end";let u=0;const h=()=>{t.removeEventListener(l,f),s()},f=e=>{e.target===t&&++u>=c&&h()};setTimeout(()=>{u<c&&h()},a+1),t.addEventListener(l,f)}function oa(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(Ho+"Delay"),s=r(Ho+"Duration"),o=aa(i,s),a=r(Yo+"Delay"),c=r(Yo+"Duration"),l=aa(a,c);let u=null,h=0,f=0;e===Ho?o>0&&(u=Ho,h=o,f=s.length):e===Yo?l>0&&(u=Yo,h=l,f=c.length):(h=Math.max(o,l),u=h>0?o>l?Ho:Yo:null,f=u?u===Ho?s.length:c.length:0);const p=u===Ho&&/\b(transform|all)(,|$)/.test(r(Ho+"Property").toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function aa(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map((e,n)=>ca(e)+ca(t[n])))}function ca(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function la(){return document.body.offsetHeight}new WeakMap,new WeakMap;const ua=["ctrl","shift","alt","meta"],ha={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>ua.some(n=>t[n+"Key"]&&!e.includes(n))},fa=(t,e)=>(n,...r)=>{for(let t=0;t<e.length;t++){const r=ha[e[t]];if(r&&r(n,e))return}return t(n,...r)},pa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},da=(t,e)=>n=>{if(!("key"in n))return;const i=Object(r["l"])(n.key);return e.some(t=>t===i||pa[t]===i)?t(n):void 0},ma={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):ga(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!==!n&&(r?e?(r.beforeEnter(t),ga(t,!0),r.enter(t)):r.leave(t,()=>{ga(t,!1)}):ga(t,e))},beforeUnmount(t,{value:e}){ga(t,e)}};function ga(t,e){t.style.display=e?t._vod:"none"}const ba=Object(r["h"])({patchProp:Wo},_o);let va;function ya(){return va||(va=qi(ba))}const _a=(...t)=>{ya().render(...t)},Oa=(...t)=>{const e=ya().createApp(...t);wa(e),Ma(e);const{mount:n}=e;return e.mount=t=>{const i=xa(t);if(!i)return;const s=e._component;Object(r["q"])(s)||s.render||s.template||(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function wa(t){Object.defineProperty(t.config,"isNativeTag",{value:t=>Object(r["s"])(t)||Object(r["B"])(t),writable:!1})}function Ma(t){if(Qs()){const e=t.config.isCustomElement;Object.defineProperty(t.config,"isCustomElement",{get(){return e},set(){ee("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=t.config.compilerOptions,r='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(t.config,"compilerOptions",{get(){return ee(r),n},set(){ee(r)}})}}function xa(t){if(Object(r["E"])(t)){const e=document.querySelector(t);return e||ee(`Failed to mount app: mount target selector "${t}" returned null.`),e}return window.ShadowRoot&&t instanceof window.ShadowRoot&&"closed"===t.mode&&ee('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),t}function Ea(){mo()}Ea()},function(t,e,n){"use strict";(function(t){function r(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return E})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return tt})),n.d(e,"f",(function(){return rt})),n.d(e,"g",(function(){return at})),n.d(e,"h",(function(){return N})),n.d(e,"i",(function(){return ut})),n.d(e,"j",(function(){return st})),n.d(e,"k",(function(){return P})),n.d(e,"l",(function(){return nt})),n.d(e,"m",(function(){return y})),n.d(e,"n",(function(){return ot})),n.d(e,"o",(function(){return R})),n.d(e,"p",(function(){return Q})),n.d(e,"q",(function(){return $})),n.d(e,"r",(function(){return s})),n.d(e,"s",(function(){return m})),n.d(e,"t",(function(){return X})),n.d(e,"u",(function(){return F})),n.d(e,"v",(function(){return S})),n.d(e,"w",(function(){return W})),n.d(e,"x",(function(){return T})),n.d(e,"y",(function(){return z})),n.d(e,"z",(function(){return V})),n.d(e,"A",(function(){return K})),n.d(e,"B",(function(){return g})),n.d(e,"C",(function(){return U})),n.d(e,"D",(function(){return v})),n.d(e,"E",(function(){return B})),n.d(e,"F",(function(){return q})),n.d(e,"G",(function(){return O})),n.d(e,"H",(function(){return w})),n.d(e,"I",(function(){return r})),n.d(e,"J",(function(){return h})),n.d(e,"K",(function(){return f})),n.d(e,"L",(function(){return o})),n.d(e,"M",(function(){return I})),n.d(e,"N",(function(){return M})),n.d(e,"O",(function(){return it})),n.d(e,"P",(function(){return ct})),n.d(e,"Q",(function(){return G}));const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",s=r(i);function o(t){if(R(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=B(r)?u(r):o(r);if(i)for(const t in i)e[t]=i[t]}return e}return B(t)||W(t)?t:void 0}const a=/;(?![^(]*\))/g,c=/:([^]+)/,l=/\/\*.*?\*\//gs;function u(t){const e={};return t.replace(l,"").split(a).forEach(t=>{if(t){const n=t.split(c);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function h(t){let e="";if(B(t))e=t;else if(R(t))for(let n=0;n<t.length;n++){const r=h(t[n]);r&&(e+=r+" ")}else if(W(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function f(t){if(!t)return null;let{class:e,style:n}=t;return e&&!B(e)&&(t.class=h(e)),n&&(t.style=o(n)),t}const p="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",d="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",m=r(p),g=r(d),b="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",v=r(b);function y(t){return!!t||""===t}function _(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=O(t[r],e[r]);return n}function O(t,e){if(t===e)return!0;let n=D(t),r=D(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=q(t),r=q(e),n||r)return t===e;if(n=R(t),r=R(e),n||r)return!(!n||!r)&&_(t,e);if(n=W(t),r=W(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,s=Object.keys(e).length;if(i!==s)return!1;for(const n in t){const r=t.hasOwnProperty(n),i=e.hasOwnProperty(n);if(r&&!i||!r&&i||!O(t[n],e[n]))return!1}}return String(t)===String(e)}function w(t,e){return t.findIndex(t=>O(t,e))}const M=t=>B(t)?t:null==t?"":R(t)||W(t)&&(t.toString===H||!$(t.toString))?JSON.stringify(t,x,2):String(t),x=(t,e)=>e&&e.__v_isRef?x(t,e.value):F(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:U(e)?{[`Set(${e.size})`]:[...e.values()]}:!W(e)||R(e)||z(e)?e:String(e),E=Object.freeze({}),j=Object.freeze([]),A=()=>{},C=()=>!1,k=/^on[^a-z]/,T=t=>k.test(t),S=t=>t.startsWith("onUpdate:"),N=Object.assign,I=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},L=Object.prototype.hasOwnProperty,P=(t,e)=>L.call(t,e),R=Array.isArray,F=t=>"[object Map]"===Y(t),U=t=>"[object Set]"===Y(t),D=t=>"[object Date]"===Y(t),$=t=>"function"===typeof t,B=t=>"string"===typeof t,q=t=>"symbol"===typeof t,W=t=>null!==t&&"object"===typeof t,V=t=>W(t)&&$(t.then)&&$(t.catch),H=Object.prototype.toString,Y=t=>H.call(t),G=t=>Y(t).slice(8,-1),z=t=>"[object Object]"===Y(t),X=t=>B(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,K=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Q=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),J=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},Z=/-(\w)/g,tt=J(t=>t.replace(Z,(t,e)=>e?e.toUpperCase():"")),et=/\B([A-Z])/g,nt=J(t=>t.replace(et,"-$1").toLowerCase()),rt=J(t=>t.charAt(0).toUpperCase()+t.slice(1)),it=J(t=>t?"on"+rt(t):""),st=(t,e)=>!Object.is(t,e),ot=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},at=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ct=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let lt;const ut=()=>lt||(lt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{})}).call(this,n(42))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return L})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return I})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return y})),n.d(e,"h",(function(){return w})),n.d(e,"i",(function(){return r})),n.d(e,"j",(function(){return M})),n.d(e,"k",(function(){return j})),n.d(e,"l",(function(){return p})),n.d(e,"m",(function(){return m})),n.d(e,"n",(function(){return x})),n.d(e,"o",(function(){return f})),n.d(e,"p",(function(){return A})),n.d(e,"q",(function(){return T})),n.d(e,"r",(function(){return d})),n.d(e,"s",(function(){return E})),n.d(e,"t",(function(){return l})),n.d(e,"u",(function(){return i})),n.d(e,"v",(function(){return s})),n.d(e,"w",(function(){return S})),n.d(e,"x",(function(){return g}));
  2. /*!
  3. * shared v9.2.2
  4. * (c) 2022 kazuya kawaguchi
  5. * Released under the MIT License.
  6. */
  7. const r="undefined"!==typeof window;let i,s;{const t=r&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(i=e=>t.mark(e),s=(e,n,r)=>{t.measure(e,n,r),t.clearMarks(n),t.clearMarks(r)})}const o=/\{([0-9a-zA-Z]+)\}/g;function a(t,...e){return 1===e.length&&A(e[0])&&(e=e[0]),e&&e.hasOwnProperty||(e={}),t.replace(o,(t,n)=>e.hasOwnProperty(n)?e[n]:"")}const c="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,l=t=>c?Symbol(t):t,u=(t,e,n)=>h({l:t,k:e,s:n}),h=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),f=t=>"number"===typeof t&&isFinite(t),p=t=>"[object Date]"===k(t),d=t=>"[object RegExp]"===k(t),m=t=>T(t)&&0===Object.keys(t).length;function g(t,e){"undefined"!==typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const b=Object.assign;let v;const y=()=>v||(v="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{});function _(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const O=Object.prototype.hasOwnProperty;function w(t,e){return O.call(t,e)}const M=Array.isArray,x=t=>"function"===typeof t,E=t=>"string"===typeof t,j=t=>"boolean"===typeof t,A=t=>null!==t&&"object"===typeof t,C=Object.prototype.toString,k=t=>C.call(t),T=t=>"[object Object]"===k(t),S=t=>null==t?"":M(t)||T(t)&&t.toString===C?JSON.stringify(t,null,2):String(t),N=2;function I(t,e=0,n=t.length){const r=t.split(/\r?\n/);let i=0;const s=[];for(let o=0;o<r.length;o++)if(i+=r[o].length+1,i>=e){for(let t=o-N;t<=o+N||n>i;t++){if(t<0||t>=r.length)continue;const a=t+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[t]}`);const c=r[t].length;if(t===o){const t=e-(i-c)+1,r=Math.max(1,n>i?c-t:n-e);s.push(" | "+" ".repeat(t)+"^".repeat(r))}else if(t>o){if(n>i){const t=Math.max(Math.min(n-i,c),1);s.push(" | "+"^".repeat(t))}i+=c+1}}break}return s.join("\n")}function L(){const t=new Map,e={events:t,on(e,n){const r=t.get(e),i=r&&r.push(n);i||t.set(e,[n])},off(e,n){const r=t.get(e);r&&r.splice(r.indexOf(n)>>>0,1)},emit(e,n){(t.get(e)||[]).slice().map(t=>t(n)),(t.get("*")||[]).slice().map(t=>t(e,n))}};return e}}).call(this,n(42))},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},,,,,function(t,e,n){"use strict";var r=n(52),i=n(49),s=n(55),o=n(179),a=n(181),c=n(32),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:l||u},{push:function(t){var e=i(this),n=s(e),r=arguments.length;a(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return o(e,n),n}})},,,,,,function(t,e,n){var r=n(52),i=n(28),s=n(172),o=n(173),a="WebAssembly",c=i[a],l=7!==Error("e",{cause:7}).cause,u=function(t,e){var n={};n[t]=o(t,e,l),r({global:!0,constructor:!0,arity:1,forced:l},n)},h=function(t,e){if(c&&c[t]){var n={};n[t]=o(a+"."+t,e,l),r({target:a,stat:!0,constructor:!0,arity:1,forced:l},n)}};u("Error",(function(t){return function(e){return s(t,this,arguments)}})),u("EvalError",(function(t){return function(e){return s(t,this,arguments)}})),u("RangeError",(function(t){return function(e){return s(t,this,arguments)}})),u("ReferenceError",(function(t){return function(e){return s(t,this,arguments)}})),u("SyntaxError",(function(t){return function(e){return s(t,this,arguments)}})),u("TypeError",(function(t){return function(e){return s(t,this,arguments)}})),u("URIError",(function(t){return function(e){return s(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return s(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return s(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return s(t,this,arguments)}}))},,,function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var s=i(r),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([s]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var s=0;s<this.length;s++){var o=this[s][0];null!=o&&(i[o]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},,function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var s=e[i],o=s[0],a=s[1],c=s[2],l=s[3],u={id:t+":"+i,css:a,media:c,sourceMap:l};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}n.r(e),n.d(e,"default",(function(){return d}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,l=!1,u=function(){},h=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t,e,n,i){l=n,h=i||{};var o=r(t,e);return m(o),function(e){for(var n=[],i=0;i<o.length;i++){var a=o[i],c=s[a.id];c.refs--,n.push(c)}e?(o=r(t,e),m(o)):o=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete s[c.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=s[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(b(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(b(n.parts[i]));s[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function b(t){var e,n,r=document.querySelector("style["+f+'~="'+t.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(p){var i=c++;r=a||(a=g()),e=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=g(),e=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var v=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=v(e,i);else{var s=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function _(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),h.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},,,,,function(t,e,n){var r=n(95),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},,function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(42))},,,,function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(69),i=Function.prototype,s=i.call,o=r&&i.bind.bind(s,s);t.exports=r?o:function(t){return function(){return s.apply(t,arguments)}}},function(t,e,n){var r=n(33),i=n(49),s=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return s(i(t),e)}},function(t,e,n){"use strict";var r=n(116),i=Object.prototype.toString;function s(t){return"[object Array]"===i.call(t)}function o(t){return"undefined"===typeof t}function a(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function l(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function f(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function d(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function m(t){return"[object Date]"===i.call(t)}function g(t){return"[object File]"===i.call(t)}function b(t){return"[object Blob]"===i.call(t)}function v(t){return"[object Function]"===i.call(t)}function y(t){return p(t)&&v(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function O(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function M(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),s(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function x(){var t={};function e(e,n){d(t[n])&&d(e)?t[n]=x(t[n],e):d(e)?t[n]=x({},e):s(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)M(arguments[n],e);return t}function E(t,e,n){return M(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}function j(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:s,isArrayBuffer:c,isBuffer:a,isFormData:l,isArrayBufferView:u,isString:h,isNumber:f,isObject:p,isPlainObject:d,isUndefined:o,isDate:m,isFile:g,isBlob:b,isFunction:v,isStream:y,isURLSearchParams:_,isStandardBrowserEnv:w,forEach:M,merge:x,extend:E,trim:O,stripBOM:j}},function(t,e,n){"use strict";e["a"]=function(t){return{all:t=t||new Map,on:function(e,n){var r=t.get(e);r?r.push(n):t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&(n?r.splice(r.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var r=t.get(e);r&&r.slice().map((function(t){t(n)})),(r=t.get("*"))&&r.slice().map((function(t){t(e,n)}))}}}},,function(t,e,n){var r=n(32);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,function(t,e,n){"use strict";var r=function(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]},i=1,s=2,o=3,a=4,c=5,l=6378137,u=6356752.314,h=.0066943799901413165,f=484813681109536e-20,p=Math.PI/2,d=.16666666666666666,m=.04722222222222222,g=.022156084656084655,b=1e-10,v=.017453292519943295,y=57.29577951308232,_=Math.PI/4,O=2*Math.PI,w=3.14159265359,M={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667},x={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}},E=/[\s_\-\/\(\)]/g;function j(t,e){if(t[e])return t[e];var n,r,i=Object.keys(t),s=e.toLowerCase().replace(E,""),o=-1;while(++o<i.length)if(n=i[o],r=n.toLowerCase().replace(E,""),r===s)return t[n]}var A=function(t){var e,n,r,i={},s=t.split("+").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n=e.split("=");return n.push(!0),t[n[0].toLowerCase()]=n[1],t}),{}),o={proj:"projName",datum:"datumCode",rf:function(t){i.rf=parseFloat(t)},lat_0:function(t){i.lat0=t*v},lat_1:function(t){i.lat1=t*v},lat_2:function(t){i.lat2=t*v},lat_ts:function(t){i.lat_ts=t*v},lon_0:function(t){i.long0=t*v},lon_1:function(t){i.long1=t*v},lon_2:function(t){i.long2=t*v},alpha:function(t){i.alpha=parseFloat(t)*v},gamma:function(t){i.rectified_grid_angle=parseFloat(t)},lonc:function(t){i.longc=t*v},x_0:function(t){i.x0=parseFloat(t)},y_0:function(t){i.y0=parseFloat(t)},k_0:function(t){i.k0=parseFloat(t)},k:function(t){i.k0=parseFloat(t)},a:function(t){i.a=parseFloat(t)},b:function(t){i.b=parseFloat(t)},r_a:function(){i.R_A=!0},zone:function(t){i.zone=parseInt(t,10)},south:function(){i.utmSouth=!0},towgs84:function(t){i.datum_params=t.split(",").map((function(t){return parseFloat(t)}))},to_meter:function(t){i.to_meter=parseFloat(t)},units:function(t){i.units=t;var e=j(x,t);e&&(i.to_meter=e.to_meter)},from_greenwich:function(t){i.from_greenwich=t*v},pm:function(t){var e=j(M,t);i.from_greenwich=(e||parseFloat(t))*v},nadgrids:function(t){"@null"===t?i.datumCode="none":i.nadgrids=t},axis:function(t){var e="ewnsud";3===t.length&&-1!==e.indexOf(t.substr(0,1))&&-1!==e.indexOf(t.substr(1,1))&&-1!==e.indexOf(t.substr(2,1))&&(i.axis=t)},approx:function(){i.approx=!0}};for(e in s)n=s[e],e in o?(r=o[e],"function"===typeof r?r(n):i[r]=n):i[e]=n;return"string"===typeof i.datumCode&&"WGS84"!==i.datumCode&&(i.datumCode=i.datumCode.toLowerCase()),i},C=B,k=1,T=2,S=3,N=4,I=5,L=-1,P=/\s/,R=/[A-Za-z]/,F=/[A-Za-z84_]/,U=/[,\]]/,D=/[\d\.E\-\+]/;function $(t){if("string"!==typeof t)throw new Error("not a string");this.text=t.trim(),this.level=0,this.place=0,this.root=null,this.stack=[],this.currentObject=null,this.state=k}function B(t){var e=new $(t);return e.output()}function q(t,e,n){Array.isArray(e)&&(n.unshift(e),e=null);var r=e?{}:t,i=n.reduce((function(t,e){return W(e,t),t}),r);e&&(t[e]=i)}function W(t,e){if(Array.isArray(t)){var n=t.shift();if("PARAMETER"===n&&(n=t.shift()),1===t.length)return Array.isArray(t[0])?(e[n]={},void W(t[0],e[n])):void(e[n]=t[0]);if(t.length)if("TOWGS84"!==n){if("AXIS"===n)return n in e||(e[n]=[]),void e[n].push(t);var r;switch(Array.isArray(n)||(e[n]={}),n){case"UNIT":case"PRIMEM":case"VERT_DATUM":return e[n]={name:t[0].toLowerCase(),convert:t[1]},void(3===t.length&&W(t[2],e[n]));case"SPHEROID":case"ELLIPSOID":return e[n]={name:t[0],a:t[1],rf:t[2]},void(4===t.length&&W(t[3],e[n]));case"PROJECTEDCRS":case"PROJCRS":case"GEOGCS":case"GEOCCS":case"PROJCS":case"LOCAL_CS":case"GEODCRS":case"GEODETICCRS":case"GEODETICDATUM":case"EDATUM":case"ENGINEERINGDATUM":case"VERT_CS":case"VERTCRS":case"VERTICALCRS":case"COMPD_CS":case"COMPOUNDCRS":case"ENGINEERINGCRS":case"ENGCRS":case"FITTED_CS":case"LOCAL_DATUM":case"DATUM":return t[0]=["name",t[0]],void q(e,n,t);default:r=-1;while(++r<t.length)if(!Array.isArray(t[r]))return W(t,e[n]);return q(e,n,t)}}else e[n]=t;else e[n]=!0}else e[t]=!0}$.prototype.readCharicter=function(){var t=this.text[this.place++];if(this.state!==N)while(P.test(t)){if(this.place>=this.text.length)return;t=this.text[this.place++]}switch(this.state){case k:return this.neutral(t);case T:return this.keyword(t);case N:return this.quoted(t);case I:return this.afterquote(t);case S:return this.number(t);case L:return}},$.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=N);if(U.test(t))return this.word=this.word.trim(),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in afterquote yet, index '+this.place)},$.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=k)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=k,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=L))):void 0},$.prototype.number=function(t){if(!D.test(t)){if(U.test(t))return this.word=parseFloat(this.word),void this.afterItem(t);throw new Error("havn't handled \""+t+'" in number yet, index '+this.place)}this.word+=t},$.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=I},$.prototype.keyword=function(t){if(F.test(t))this.word+=t;else{if("["===t){var e=[];return e.push(this.word),this.level++,null===this.root?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,void(this.state=k)}if(!U.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},$.prototype.neutral=function(t){if(R.test(t))return this.word=t,void(this.state=T);if('"'===t)return this.word="",void(this.state=N);if(D.test(t))return this.word=t,void(this.state=S);if(!U.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},$.prototype.output=function(){while(this.place<this.text.length)this.readCharicter();if(this.state===L)return this.root;throw new Error('unable to parse string "'+this.text+'". State is '+this.state)};var V=.017453292519943295;function H(t,e){var n=e[0],r=e[1];!(n in t)&&r in t&&(t[n]=t[r],3===e.length&&(t[n]=e[2](t[n])))}function Y(t){return t*V}function G(t){if("GEOGCS"===t.type?t.projName="longlat":"LOCAL_CS"===t.type?(t.projName="identity",t.local=!0):"object"===typeof t.PROJECTION?t.projName=Object.keys(t.PROJECTION)[0]:t.projName=t.PROJECTION,t.AXIS){for(var e="",n=0,r=t.AXIS.length;n<r;++n){var i=[t.AXIS[n][0].toLowerCase(),t.AXIS[n][1].toLowerCase()];-1!==i[0].indexOf("north")||("y"===i[0]||"lat"===i[0])&&"north"===i[1]?e+="n":-1!==i[0].indexOf("south")||("y"===i[0]||"lat"===i[0])&&"south"===i[1]?e+="s":-1!==i[0].indexOf("east")||("x"===i[0]||"lon"===i[0])&&"east"===i[1]?e+="e":-1===i[0].indexOf("west")&&("x"!==i[0]&&"lon"!==i[0]||"west"!==i[1])||(e+="w")}2===e.length&&(e+="u"),3===e.length&&(t.axis=e)}t.UNIT&&(t.units=t.UNIT.name.toLowerCase(),"metre"===t.units&&(t.units="meter"),t.UNIT.convert&&("GEOGCS"===t.type?t.DATUM&&t.DATUM.SPHEROID&&(t.to_meter=t.UNIT.convert*t.DATUM.SPHEROID.a):t.to_meter=t.UNIT.convert));var s=t.GEOGCS;function o(e){var n=t.to_meter||1;return e*n}"GEOGCS"===t.type&&(s=t),s&&(s.DATUM?t.datumCode=s.DATUM.name.toLowerCase():t.datumCode=s.name.toLowerCase(),"d_"===t.datumCode.slice(0,2)&&(t.datumCode=t.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==t.datumCode&&"new_zealand_1949"!==t.datumCode||(t.datumCode="nzgd49"),"wgs_1984"!==t.datumCode&&"world_geodetic_system_1984"!==t.datumCode||("Mercator_Auxiliary_Sphere"===t.PROJECTION&&(t.sphere=!0),t.datumCode="wgs84"),"_ferro"===t.datumCode.slice(-6)&&(t.datumCode=t.datumCode.slice(0,-6)),"_jakarta"===t.datumCode.slice(-8)&&(t.datumCode=t.datumCode.slice(0,-8)),~t.datumCode.indexOf("belge")&&(t.datumCode="rnb72"),s.DATUM&&s.DATUM.SPHEROID&&(t.ellps=s.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===t.ellps.toLowerCase().slice(0,13)&&(t.ellps="intl"),t.a=s.DATUM.SPHEROID.a,t.rf=parseFloat(s.DATUM.SPHEROID.rf,10)),s.DATUM&&s.DATUM.TOWGS84&&(t.datum_params=s.DATUM.TOWGS84),~t.datumCode.indexOf("osgb_1936")&&(t.datumCode="osgb36"),~t.datumCode.indexOf("osni_1952")&&(t.datumCode="osni52"),(~t.datumCode.indexOf("tm65")||~t.datumCode.indexOf("geodetic_datum_of_1965"))&&(t.datumCode="ire65"),"ch1903+"===t.datumCode&&(t.datumCode="ch1903"),~t.datumCode.indexOf("israel")&&(t.datumCode="isr93")),t.b&&!isFinite(t.b)&&(t.b=t.a);var a=function(e){return H(t,e)},c=[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_1","Latitude of 1st standard parallel"],["standard_parallel_2","Standard_Parallel_2"],["standard_parallel_2","Latitude of 2nd standard parallel"],["false_easting","False_Easting"],["false_easting","False easting"],["false-easting","Easting at false origin"],["false_northing","False_Northing"],["false_northing","False northing"],["false_northing","Northing at false origin"],["central_meridian","Central_Meridian"],["central_meridian","Longitude of natural origin"],["central_meridian","Longitude of false origin"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["latitude_of_origin","Latitude of natural origin"],["latitude_of_origin","Latitude of false origin"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_Of_Center"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",Y],["longitude_of_center","Longitude_Of_Center"],["longitude_of_center","Longitude_of_center"],["longc","longitude_of_center",Y],["x0","false_easting",o],["y0","false_northing",o],["long0","central_meridian",Y],["lat0","latitude_of_origin",Y],["lat0","standard_parallel_1",Y],["lat1","standard_parallel_1",Y],["lat2","standard_parallel_2",Y],["azimuth","Azimuth"],["alpha","azimuth",Y],["srsCode","name"]];c.forEach(a),t.long0||!t.longc||"Albers_Conic_Equal_Area"!==t.projName&&"Lambert_Azimuthal_Equal_Area"!==t.projName||(t.long0=t.longc),t.lat_ts||!t.lat1||"Stereographic_South_Pole"!==t.projName&&"Polar Stereographic (variant B)"!==t.projName||(t.lat0=Y(t.lat1>0?90:-90),t.lat_ts=t.lat1)}var z=function(t){var e=C(t),n=e.shift(),r=e.shift();e.unshift(["name",r]),e.unshift(["type",n]);var i={};return W(e,i),G(i),i};function X(t){var e=this;if(2===arguments.length){var n=arguments[1];"string"===typeof n?"+"===n.charAt(0)?X[t]=A(arguments[1]):X[t]=z(arguments[1]):X[t]=n}else if(1===arguments.length){if(Array.isArray(t))return t.map((function(t){Array.isArray(t)?X.apply(e,t):X(t)}));if("string"===typeof t){if(t in X)return X[t]}else"EPSG"in t?X["EPSG:"+t.EPSG]=t:"ESRI"in t?X["ESRI:"+t.ESRI]=t:"IAU2000"in t?X["IAU2000:"+t.IAU2000]=t:console.log(t);return}}r(X);var K=X;function Q(t){return"string"===typeof t}function J(t){return t in K}var Z=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function tt(t){return Z.some((function(e){return t.indexOf(e)>-1}))}var et=["3857","900913","3785","102113"];function nt(t){var e=j(t,"authority");if(e){var n=j(e,"epsg");return n&&et.indexOf(n)>-1}}function rt(t){var e=j(t,"extension");if(e)return j(e,"proj4")}function it(t){return"+"===t[0]}function st(t){if(!Q(t))return t;if(J(t))return K[t];if(tt(t)){var e=z(t);if(nt(e))return K["EPSG:3857"];var n=rt(e);return n?A(n):e}return it(t)?A(t):void 0}var ot=st,at=function(t,e){var n,r;if(t=t||{},!e)return t;for(r in e)n=e[r],void 0!==n&&(t[r]=n);return t},ct=function(t,e,n){var r=t*e;return n/Math.sqrt(1-r*r)},lt=function(t){return t<0?-1:1},ut=function(t){return Math.abs(t)<=w?t:t-lt(t)*O},ht=function(t,e,n){var r=t*n,i=.5*t;return r=Math.pow((1-r)/(1+r),i),Math.tan(.5*(p-e))/r},ft=function(t,e){for(var n,r,i=.5*t,s=p-2*Math.atan(e),o=0;o<=15;o++)if(n=t*Math.sin(s),r=p-2*Math.atan(e*Math.pow((1-n)/(1+n),i))-s,s+=r,Math.abs(r)<=1e-10)return s;return-9999};function pt(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function dt(t){var e,n,r=t.x,i=t.y;if(i*y>90&&i*y<-90&&r*y>180&&r*y<-180)return null;if(Math.abs(Math.abs(i)-p)<=b)return null;if(this.sphere)e=this.x0+this.a*this.k0*ut(r-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(_+.5*i));else{var s=Math.sin(i),o=ht(this.e,i,s);e=this.x0+this.a*this.k0*ut(r-this.long0),n=this.y0-this.a*this.k0*Math.log(o)}return t.x=e,t.y=n,t}function mt(t){var e,n,r=t.x-this.x0,i=t.y-this.y0;if(this.sphere)n=p-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var s=Math.exp(-i/(this.a*this.k0));if(n=ft(this.e,s),-9999===n)return null}return e=ut(this.long0+r/(this.a*this.k0)),t.x=e,t.y=n,t}var gt=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"],bt={init:pt,forward:dt,inverse:mt,names:gt};function vt(){}function yt(t){return t}var _t=["longlat","identity"],Ot={init:vt,forward:yt,inverse:yt,names:_t},wt=[bt,Ot],Mt={},xt=[];function Et(t,e){var n=xt.length;return t.names?(xt[n]=t,t.names.forEach((function(t){Mt[t.toLowerCase()]=n})),this):(console.log(e),!0)}function jt(t){if(!t)return!1;var e=t.toLowerCase();return"undefined"!==typeof Mt[e]&&xt[Mt[e]]?xt[Mt[e]]:void 0}function At(){wt.forEach(Et)}var Ct={start:At,add:Et,get:jt},kt={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},Tt=kt.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};function St(t,e,n,r){var i=t*t,s=e*e,o=(i-s)/i,a=0;r?(t*=1-o*(d+o*(m+o*g)),i=t*t,o=0):a=Math.sqrt(o);var c=(i-s)/s;return{es:o,e:a,ep2:c}}function Nt(t,e,n,r,i){if(!t){var s=j(kt,r);s||(s=Tt),t=s.a,e=s.b,n=s.rf}return n&&!e&&(e=(1-1/n)*t),(0===n||Math.abs(t-e)<b)&&(i=!0,e=t),{a:t,b:e,rf:n,sphere:i}}kt.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var It={};function Lt(t,e,n,r,l,u,h){var p={};return p.datum_type=void 0===t||"none"===t?c:a,e&&(p.datum_params=e.map(parseFloat),0===p.datum_params[0]&&0===p.datum_params[1]&&0===p.datum_params[2]||(p.datum_type=i),p.datum_params.length>3&&(0===p.datum_params[3]&&0===p.datum_params[4]&&0===p.datum_params[5]&&0===p.datum_params[6]||(p.datum_type=s,p.datum_params[3]*=f,p.datum_params[4]*=f,p.datum_params[5]*=f,p.datum_params[6]=p.datum_params[6]/1e6+1))),h&&(p.datum_type=o,p.grids=h),p.a=n,p.b=r,p.es=l,p.ep2=u,p}It.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},It.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},It.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},It.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},It.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},It.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},It.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},It.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},It.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},It.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},It.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},It.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},It.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},It.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},It.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},It.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},It.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};var Pt=Lt,Rt={};function Ft(t,e){var n=new DataView(e),r=Bt(n),i=qt(n,r);i.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var s=Vt(n,i,r),o={header:i,subgrids:s};return Rt[t]=o,o}function Ut(t){if(void 0===t)return null;var e=t.split(",");return e.map(Dt)}function Dt(t){if(0===t.length)return null;var e="@"===t[0];return e&&(t=t.slice(1)),"null"===t?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Rt[t]||null,isNull:!1}}function $t(t){return t/3600*Math.PI/180}function Bt(t){var e=t.getInt32(8,!1);return 11!==e&&(e=t.getInt32(8,!0),11!==e&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function qt(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:Wt(t,56,64).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}function Wt(t,e,n){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,n)))}function Vt(t,e,n){for(var r=176,i=[],s=0;s<e.nSubgrids;s++){var o=Yt(t,r,n),a=Gt(t,r,o,n),c=Math.round(1+(o.upperLongitude-o.lowerLongitude)/o.longitudeInterval),l=Math.round(1+(o.upperLatitude-o.lowerLatitude)/o.latitudeInterval);i.push({ll:[$t(o.lowerLongitude),$t(o.lowerLatitude)],del:[$t(o.longitudeInterval),$t(o.latitudeInterval)],lim:[c,l],count:o.gridNodeCount,cvs:Ht(a)})}return i}function Ht(t){return t.map((function(t){return[$t(t.longitudeShift),$t(t.latitudeShift)]}))}function Yt(t,e,n){return{name:Wt(t,e+8,e+16).trim(),parent:Wt(t,e+24,e+24+8).trim(),lowerLatitude:t.getFloat64(e+72,n),upperLatitude:t.getFloat64(e+88,n),lowerLongitude:t.getFloat64(e+104,n),upperLongitude:t.getFloat64(e+120,n),latitudeInterval:t.getFloat64(e+136,n),longitudeInterval:t.getFloat64(e+152,n),gridNodeCount:t.getInt32(e+168,n)}}function Gt(t,e,n,r){for(var i=e+176,s=16,o=[],a=0;a<n.gridNodeCount;a++){var c={latitudeShift:t.getFloat32(i+a*s,r),longitudeShift:t.getFloat32(i+a*s+4,r),latitudeAccuracy:t.getFloat32(i+a*s+8,r),longitudeAccuracy:t.getFloat32(i+a*s+12,r)};o.push(c)}return o}function zt(t,e){if(!(this instanceof zt))return new zt(t);e=e||function(t){if(t)throw t};var n=ot(t);if("object"===typeof n){var r=zt.projections.get(n.projName);if(r){if(n.datumCode&&"none"!==n.datumCode){var i=j(It,n.datumCode);i&&(n.datum_params=n.datum_params||(i.towgs84?i.towgs84.split(","):null),n.ellps=i.ellipse,n.datumName=i.datumName?i.datumName:n.datumCode)}n.k0=n.k0||1,n.axis=n.axis||"enu",n.ellps=n.ellps||"wgs84",n.lat1=n.lat1||n.lat0;var s=Nt(n.a,n.b,n.rf,n.ellps,n.sphere),o=St(s.a,s.b,s.rf,n.R_A),a=Ut(n.nadgrids),c=n.datum||Pt(n.datumCode,n.datum_params,s.a,s.b,o.es,o.ep2,a);at(this,n),at(this,r),this.a=s.a,this.b=s.b,this.rf=s.rf,this.sphere=s.sphere,this.es=o.es,this.e=o.e,this.ep2=o.ep2,this.datum=c,this.init(),e(null,this)}else e(t)}else e(t)}zt.projections=Ct,zt.projections.start();var Xt=zt;function Kt(t,e){return t.datum_type===e.datum_type&&(!(t.a!==e.a||Math.abs(t.es-e.es)>5e-11)&&(t.datum_type===i?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type!==s||t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6]))}function Qt(t,e,n){var r,i,s,o,a=t.x,c=t.y,l=t.z?t.z:0;if(c<-p&&c>-1.001*p)c=-p;else if(c>p&&c<1.001*p)c=p;else{if(c<-p)return{x:-1/0,y:-1/0,z:t.z};if(c>p)return{x:1/0,y:1/0,z:t.z}}return a>Math.PI&&(a-=2*Math.PI),i=Math.sin(c),o=Math.cos(c),s=i*i,r=n/Math.sqrt(1-e*s),{x:(r+l)*o*Math.cos(a),y:(r+l)*o*Math.sin(a),z:(r*(1-e)+l)*i}}function Jt(t,e,n,r){var i,s,o,a,c,l,u,h,f,d,m,g,b,v,y,_,O=1e-12,w=O*O,M=30,x=t.x,E=t.y,j=t.z?t.z:0;if(i=Math.sqrt(x*x+E*E),s=Math.sqrt(x*x+E*E+j*j),i/n<O){if(v=0,s/n<O)return y=p,_=-r,{x:t.x,y:t.y,z:t.z}}else v=Math.atan2(E,x);o=j/s,a=i/s,c=1/Math.sqrt(1-e*(2-e)*a*a),h=a*(1-e)*c,f=o*c,b=0;do{b++,u=n/Math.sqrt(1-e*f*f),_=i*h+j*f-u*(1-e*f*f),l=e*u/(u+_),c=1/Math.sqrt(1-l*(2-l)*a*a),d=a*(1-l)*c,m=o*c,g=m*h-d*f,h=d,f=m}while(g*g>w&&b<M);return y=Math.atan(m/Math.abs(d)),{x:v,y:y,z:_}}function Zt(t,e,n){if(e===i)return{x:t.x+n[0],y:t.y+n[1],z:t.z+n[2]};if(e===s){var r=n[0],o=n[1],a=n[2],c=n[3],l=n[4],u=n[5],h=n[6];return{x:h*(t.x-u*t.y+l*t.z)+r,y:h*(u*t.x+t.y-c*t.z)+o,z:h*(-l*t.x+c*t.y+t.z)+a}}}function te(t,e,n){if(e===i)return{x:t.x-n[0],y:t.y-n[1],z:t.z-n[2]};if(e===s){var r=n[0],o=n[1],a=n[2],c=n[3],l=n[4],u=n[5],h=n[6],f=(t.x-r)/h,p=(t.y-o)/h,d=(t.z-a)/h;return{x:f+u*p-l*d,y:-u*f+p+c*d,z:l*f-c*p+d}}}function ee(t){return t===i||t===s}var ne=function(t,e,n){if(Kt(t,e))return n;if(t.datum_type===c||e.datum_type===c)return n;var r=t.a,i=t.es;if(t.datum_type===o){var s=re(t,!1,n);if(0!==s)return;r=l,i=h}var a=e.a,f=e.b,p=e.es;if(e.datum_type===o&&(a=l,f=u,p=h),i===p&&r===a&&!ee(t.datum_type)&&!ee(e.datum_type))return n;if(n=Qt(n,i,r),ee(t.datum_type)&&(n=Zt(n,t.datum_type,t.datum_params)),ee(e.datum_type)&&(n=te(n,e.datum_type,e.datum_params)),n=Jt(n,p,a,f),e.datum_type===o){var d=re(e,!0,n);if(0!==d)return}return n};function re(t,e,n){if(null===t.grids||0===t.grids.length)return console.log("Grid shift grids not found"),-1;for(var r={x:-n.x,y:n.y},i={x:Number.NaN,y:Number.NaN},s=[],o=0;o<t.grids.length;o++){var a=t.grids[o];if(s.push(a.name),a.isNull){i=r;break}if(a.mandatory,null!==a.grid){var c=a.grid.subgrids[0],l=(Math.abs(c.del[1])+Math.abs(c.del[0]))/1e4,u=c.ll[0]-l,h=c.ll[1]-l,f=c.ll[0]+(c.lim[0]-1)*c.del[0]+l,p=c.ll[1]+(c.lim[1]-1)*c.del[1]+l;if(!(h>r.y||u>r.x||p<r.y||f<r.x)&&(i=ie(r,e,c),!isNaN(i.x)))break}else if(a.mandatory)return console.log("Unable to find mandatory grid '"+a.name+"'"),-1}return isNaN(i.x)?(console.log("Failed to find a grid shift table for location '"+-r.x*y+" "+r.y*y+" tried: '"+s+"'"),-1):(n.x=-i.x,n.y=i.y,0)}function ie(t,e,n){var r={x:Number.NaN,y:Number.NaN};if(isNaN(t.x))return r;var i={x:t.x,y:t.y};i.x-=n.ll[0],i.y-=n.ll[1],i.x=ut(i.x-Math.PI)+Math.PI;var s=se(i,n);if(e){if(isNaN(s.x))return r;s.x=i.x-s.x,s.y=i.y-s.y;var o,a,c=9,l=1e-12;do{if(a=se(s,n),isNaN(a.x)){console.log("Inverse grid shift iteration failed, presumably at grid edge. Using first approximation.");break}o={x:i.x-(a.x+s.x),y:i.y-(a.y+s.y)},s.x+=o.x,s.y+=o.y}while(c--&&Math.abs(o.x)>l&&Math.abs(o.y)>l);if(c<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=ut(s.x+n.ll[0]),r.y=s.y+n.ll[1]}else isNaN(s.x)||(r.x=t.x+s.x,r.y=t.y+s.y);return r}function se(t,e){var n,r={x:t.x/e.del[0],y:t.y/e.del[1]},i={x:Math.floor(r.x),y:Math.floor(r.y)},s={x:r.x-1*i.x,y:r.y-1*i.y},o={x:Number.NaN,y:Number.NaN};if(i.x<0||i.x>=e.lim[0])return o;if(i.y<0||i.y>=e.lim[1])return o;n=i.y*e.lim[0]+i.x;var a={x:e.cvs[n][0],y:e.cvs[n][1]};n++;var c={x:e.cvs[n][0],y:e.cvs[n][1]};n+=e.lim[0];var l={x:e.cvs[n][0],y:e.cvs[n][1]};n--;var u={x:e.cvs[n][0],y:e.cvs[n][1]},h=s.x*s.y,f=s.x*(1-s.y),p=(1-s.x)*(1-s.y),d=(1-s.x)*s.y;return o.x=p*a.x+f*c.x+d*u.x+h*l.x,o.y=p*a.y+f*c.y+d*u.y+h*l.y,o}var oe=function(t,e,n){var r,i,s,o=n.x,a=n.y,c=n.z||0,l={};for(s=0;s<3;s++)if(!e||2!==s||void 0!==n.z)switch(0===s?(r=o,i=-1!=="ew".indexOf(t.axis[s])?"x":"y"):1===s?(r=a,i=-1!=="ns".indexOf(t.axis[s])?"y":"x"):(r=c,i="z"),t.axis[s]){case"e":l[i]=r;break;case"w":l[i]=-r;break;case"n":l[i]=r;break;case"s":l[i]=-r;break;case"u":void 0!==n[i]&&(l.z=r);break;case"d":void 0!==n[i]&&(l.z=-r);break;default:return null}return l},ae=function(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e},ce=function(t){le(t.x),le(t.y)};function le(t){if("function"===typeof Number.isFinite){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if("number"!==typeof t||t!==t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function ue(t,e){return(t.datum.datum_type===i||t.datum.datum_type===s)&&"WGS84"!==e.datumCode||(e.datum.datum_type===i||e.datum.datum_type===s)&&"WGS84"!==t.datumCode}function he(t,e,n,r){var i;if(Array.isArray(n)&&(n=ae(n)),ce(n),t.datum&&e.datum&&ue(t,e)&&(i=new Xt("WGS84"),n=he(t,i,n,r),t=i),r&&"enu"!==t.axis&&(n=oe(t,!1,n)),"longlat"===t.projName)n={x:n.x*v,y:n.y*v,z:n.z||0};else if(t.to_meter&&(n={x:n.x*t.to_meter,y:n.y*t.to_meter,z:n.z||0}),n=t.inverse(n),!n)return;if(t.from_greenwich&&(n.x+=t.from_greenwich),n=ne(t.datum,e.datum,n),n)return e.from_greenwich&&(n={x:n.x-e.from_greenwich,y:n.y,z:n.z||0}),"longlat"===e.projName?n={x:n.x*y,y:n.y*y,z:n.z||0}:(n=e.forward(n),e.to_meter&&(n={x:n.x/e.to_meter,y:n.y/e.to_meter,z:n.z||0})),r&&"enu"!==e.axis?oe(e,!0,n):n}var fe=Xt("WGS84");function pe(t,e,n,r){var i,s,o;return Array.isArray(n)?(i=he(t,e,n,r)||{x:NaN,y:NaN},n.length>2?"undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name?"number"===typeof i.z?[i.x,i.y,i.z].concat(n.splice(3)):[i.x,i.y,n[2]].concat(n.splice(3)):[i.x,i.y].concat(n.splice(2)):[i.x,i.y]):(s=he(t,e,n,r),o=Object.keys(n),2===o.length||o.forEach((function(r){if("undefined"!==typeof t.name&&"geocent"===t.name||"undefined"!==typeof e.name&&"geocent"===e.name){if("x"===r||"y"===r||"z"===r)return}else if("x"===r||"y"===r)return;s[r]=n[r]})),s)}function de(t){return t instanceof Xt?t:t.oProj?t.oProj:Xt(t)}function me(t,e,n){t=de(t);var r,i=!1;return"undefined"===typeof e?(e=t,t=fe,i=!0):("undefined"!==typeof e.x||Array.isArray(e))&&(n=e,e=t,t=fe,i=!0),e=de(e),n?pe(t,e,n):(r={forward:function(n,r){return pe(t,e,n,r)},inverse:function(n,r){return pe(e,t,n,r)}},i&&(r.oProj=e),r)}var ge=me,be=6,ve="AJSAJS",ye="AFAFAF",_e=65,Oe=73,we=79,Me=86,xe=90,Ee={forward:je,inverse:Ae,toPoint:Ce};function je(t,e){return e=e||5,Le(Se({lat:t[1],lon:t[0]}),e)}function Ae(t){var e=Ne(Ue(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Ce(t){var e=Ne(Ue(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function ke(t){return t*(Math.PI/180)}function Te(t){return t/Math.PI*180}function Se(t){var e,n,r,i,s,o,a,c,l,u=t.lat,h=t.lon,f=6378137,p=.00669438,d=.9996,m=ke(u),g=ke(h);l=Math.floor((h+180)/6)+1,180===h&&(l=60),u>=56&&u<64&&h>=3&&h<12&&(l=32),u>=72&&u<84&&(h>=0&&h<9?l=31:h>=9&&h<21?l=33:h>=21&&h<33?l=35:h>=33&&h<42&&(l=37)),e=6*(l-1)-180+3,c=ke(e),n=p/(1-p),r=f/Math.sqrt(1-p*Math.sin(m)*Math.sin(m)),i=Math.tan(m)*Math.tan(m),s=n*Math.cos(m)*Math.cos(m),o=Math.cos(m)*(g-c),a=f*((1-p/4-3*p*p/64-5*p*p*p/256)*m-(3*p/8+3*p*p/32+45*p*p*p/1024)*Math.sin(2*m)+(15*p*p/256+45*p*p*p/1024)*Math.sin(4*m)-35*p*p*p/3072*Math.sin(6*m));var b=d*r*(o+(1-i+s)*o*o*o/6+(5-18*i+i*i+72*s-58*n)*o*o*o*o*o/120)+5e5,v=d*(a+r*Math.tan(m)*(o*o/2+(5-i+9*s+4*s*s)*o*o*o*o/24+(61-58*i+i*i+600*s-330*n)*o*o*o*o*o*o/720));return u<0&&(v+=1e7),{northing:Math.round(v),easting:Math.round(b),zoneNumber:l,zoneLetter:Ie(u)}}function Ne(t){var e=t.northing,n=t.easting,r=t.zoneLetter,i=t.zoneNumber;if(i<0||i>60)return null;var s,o,a,c,l,u,h,f,p,d,m=.9996,g=6378137,b=.00669438,v=(1-Math.sqrt(1-b))/(1+Math.sqrt(1-b)),y=n-5e5,_=e;r<"N"&&(_-=1e7),f=6*(i-1)-180+3,s=b/(1-b),h=_/m,p=h/(g*(1-b/4-3*b*b/64-5*b*b*b/256)),d=p+(3*v/2-27*v*v*v/32)*Math.sin(2*p)+(21*v*v/16-55*v*v*v*v/32)*Math.sin(4*p)+151*v*v*v/96*Math.sin(6*p),o=g/Math.sqrt(1-b*Math.sin(d)*Math.sin(d)),a=Math.tan(d)*Math.tan(d),c=s*Math.cos(d)*Math.cos(d),l=g*(1-b)/Math.pow(1-b*Math.sin(d)*Math.sin(d),1.5),u=y/(o*m);var O=d-o*Math.tan(d)/l*(u*u/2-(5+3*a+10*c-4*c*c-9*s)*u*u*u*u/24+(61+90*a+298*c+45*a*a-252*s-3*c*c)*u*u*u*u*u*u/720);O=Te(O);var w,M=(u-(1+2*a+c)*u*u*u/6+(5-2*c+28*a-3*c*c+8*s+24*a*a)*u*u*u*u*u/120)/Math.cos(d);if(M=f+Te(M),t.accuracy){var x=Ne({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});w={top:x.lat,right:x.lon,bottom:O,left:M}}else w={lat:O,lon:M};return w}function Ie(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function Le(t,e){var n="00000"+t.easting,r="00000"+t.northing;return t.zoneNumber+t.zoneLetter+Pe(t.easting,t.northing,t.zoneNumber)+n.substr(n.length-5,e)+r.substr(r.length-5,e)}function Pe(t,e,n){var r=Re(n),i=Math.floor(t/1e5),s=Math.floor(e/1e5)%20;return Fe(i,s,r)}function Re(t){var e=t%be;return 0===e&&(e=be),e}function Fe(t,e,n){var r=n-1,i=ve.charCodeAt(r),s=ye.charCodeAt(r),o=i+t-1,a=s+e,c=!1;o>xe&&(o=o-xe+_e-1,c=!0),(o===Oe||i<Oe&&o>Oe||(o>Oe||i<Oe)&&c)&&o++,(o===we||i<we&&o>we||(o>we||i<we)&&c)&&(o++,o===Oe&&o++),o>xe&&(o=o-xe+_e-1),a>Me?(a=a-Me+_e-1,c=!0):c=!1,(a===Oe||s<Oe&&a>Oe||(a>Oe||s<Oe)&&c)&&a++,(a===we||s<we&&a>we||(a>we||s<we)&&c)&&(a++,a===Oe&&a++),a>Me&&(a=a-Me+_e-1);var l=String.fromCharCode(o)+String.fromCharCode(a);return l}function Ue(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";var e,n=t.length,r=null,i="",s=0;while(!/[A-Z]/.test(e=t.charAt(s))){if(s>=2)throw"MGRSPoint bad conversion from: "+t;i+=e,s++}var o=parseInt(i,10);if(0===s||s+3>n)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(s++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;r=t.substring(s,s+=2);var c=Re(o),l=De(r.charAt(0),c),u=$e(r.charAt(1),c);while(u<Be(a))u+=2e6;var h=n-s;if(h%2!==0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+t;var f,p,d,m,g,b=h/2,v=0,y=0;return b>0&&(f=1e5/Math.pow(10,b),p=t.substring(s,s+b),v=parseFloat(p)*f,d=t.substring(s+b),y=parseFloat(d)*f),m=v+l,g=y+u,{easting:m,northing:g,zoneLetter:a,zoneNumber:o,accuracy:f}}function De(t,e){var n=ve.charCodeAt(e-1),r=1e5,i=!1;while(n!==t.charCodeAt(0)){if(n++,n===Oe&&n++,n===we&&n++,n>xe){if(i)throw"Bad character: "+t;n=_e,i=!0}r+=1e5}return r}function $e(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var n=ye.charCodeAt(e-1),r=0,i=!1;while(n!==t.charCodeAt(0)){if(n++,n===Oe&&n++,n===we&&n++,n>Me){if(i)throw"Bad character: "+t;n=_e,i=!0}r+=1e5}return r}function Be(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}function qe(t,e,n){if(!(this instanceof qe))return new qe(t,e,n);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if("object"===typeof t)this.x=t.x,this.y=t.y,this.z=t.z||0;else if("string"===typeof t&&"undefined"===typeof e){var r=t.split(",");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=t,this.y=e,this.z=n||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}qe.fromMGRS=function(t){return new qe(Ce(t))},qe.prototype.toMGRS=function(t){return je([this.x,this.y],t)};var We=qe,Ve=1,He=.25,Ye=.046875,Ge=.01953125,ze=.01068115234375,Xe=.75,Ke=.46875,Qe=.013020833333333334,Je=.007120768229166667,Ze=.3645833333333333,tn=.005696614583333333,en=.3076171875,nn=function(t){var e=[];e[0]=Ve-t*(He+t*(Ye+t*(Ge+t*ze))),e[1]=t*(Xe-t*(Ye+t*(Ge+t*ze)));var n=t*t;return e[2]=n*(Ke-t*(Qe+t*Je)),n*=t,e[3]=n*(Ze-t*tn),e[4]=n*t*en,e},rn=function(t,e,n,r){return n*=e,e*=e,r[0]*t-n*(r[1]+e*(r[2]+e*(r[3]+e*r[4])))},sn=20,on=function(t,e,n){for(var r=1/(1-e),i=t,s=sn;s;--s){var o=Math.sin(i),a=1-e*o*o;if(a=(rn(i,o,Math.cos(i),n)-t)*(a*Math.sqrt(a))*r,i-=a,Math.abs(a)<b)return i}return i};function an(){this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.es&&(this.en=nn(this.es),this.ml0=rn(this.lat0,Math.sin(this.lat0),Math.cos(this.lat0),this.en))}function cn(t){var e,n,r,i=t.x,s=t.y,o=ut(i-this.long0),a=Math.sin(s),c=Math.cos(s);if(this.es){var l=c*o,u=Math.pow(l,2),h=this.ep2*Math.pow(c,2),f=Math.pow(h,2),p=Math.abs(c)>b?Math.tan(s):0,d=Math.pow(p,2),m=Math.pow(d,2);e=1-this.es*Math.pow(a,2),l/=Math.sqrt(e);var g=rn(s,a,c,this.en);n=this.a*(this.k0*l*(1+u/6*(1-d+h+u/20*(5-18*d+m+14*h-58*d*h+u/42*(61+179*m-m*d-479*d)))))+this.x0,r=this.a*(this.k0*(g-this.ml0+a*o*l/2*(1+u/12*(5-d+9*h+4*f+u/30*(61+m-58*d+270*h-330*d*h+u/56*(1385+543*m-m*d-3111*d))))))+this.y0}else{var v=c*Math.sin(o);if(Math.abs(Math.abs(v)-1)<b)return 93;if(n=.5*this.a*this.k0*Math.log((1+v)/(1-v))+this.x0,r=c*Math.cos(o)/Math.sqrt(1-Math.pow(v,2)),v=Math.abs(r),v>=1){if(v-1>b)return 93;r=0}else r=Math.acos(r);s<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return t.x=n,t.y=r,t}function ln(t){var e,n,r,i,s=(t.x-this.x0)*(1/this.a),o=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+o/this.k0,n=on(e,this.es,this.en),Math.abs(n)<p){var a=Math.sin(n),c=Math.cos(n),l=Math.abs(c)>b?Math.tan(n):0,u=this.ep2*Math.pow(c,2),h=Math.pow(u,2),f=Math.pow(l,2),d=Math.pow(f,2);e=1-this.es*Math.pow(a,2);var m=s*Math.sqrt(e)/this.k0,g=Math.pow(m,2);e*=l,r=n-e*g/(1-this.es)*.5*(1-g/12*(5+3*f-9*u*f+u-4*h-g/30*(61+90*f-252*u*f+45*d+46*u-g/56*(1385+3633*f+4095*d+1574*d*f)))),i=ut(this.long0+m*(1-g/6*(1+2*f+u-g/20*(5+28*f+24*d+8*u*f+6*u-g/42*(61+662*f+1320*d+720*d*f))))/c)}else r=p*lt(o),i=0;else{var v=Math.exp(s/this.k0),y=.5*(v-1/v),_=this.lat0+o/this.k0,O=Math.cos(_);e=Math.sqrt((1-Math.pow(O,2))/(1+Math.pow(y,2))),r=Math.asin(e),o<0&&(r=-r),i=0===y&&0===O?0:ut(Math.atan2(y,O)+this.long0)}return t.x=i,t.y=r,t}var un=["Fast_Transverse_Mercator","Fast Transverse Mercator"],hn={init:an,forward:cn,inverse:ln,names:un},fn=function(t){var e=Math.exp(t);return e=(e-1/e)/2,e},pn=function(t,e){t=Math.abs(t),e=Math.abs(e);var n=Math.max(t,e),r=Math.min(t,e)/(n||1);return n*Math.sqrt(1+Math.pow(r,2))},dn=function(t){var e=1+t,n=e-1;return 0===n?t:t*Math.log(e)/n},mn=function(t){var e=Math.abs(t);return e=dn(e*(1+e/(pn(1,e)+1))),t<0?-e:e},gn=function(t,e){var n,r=2*Math.cos(2*e),i=t.length-1,s=t[i],o=0;while(--i>=0)n=r*s-o+t[i],o=s,s=n;return e+n*Math.sin(2*e)},bn=function(t,e){var n,r=2*Math.cos(e),i=t.length-1,s=t[i],o=0;while(--i>=0)n=r*s-o+t[i],o=s,s=n;return Math.sin(e)*n},vn=function(t){var e=Math.exp(t);return e=(e+1/e)/2,e},yn=function(t,e,n){var r,i,s=Math.sin(e),o=Math.cos(e),a=fn(n),c=vn(n),l=2*o*c,u=-2*s*a,h=t.length-1,f=t[h],p=0,d=0,m=0;while(--h>=0)r=d,i=p,d=f,p=m,f=l*d-r-u*p+t[h],m=u*d-i+l*p;return l=s*c,u=o*a,[l*f-u*m,l*m+u*f]};function _n(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(hn.init.apply(this),this.forward=hn.forward,this.inverse=hn.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),n=e;this.cgb[0]=e*(2+e*(-2/3+e*(e*(116/45+e*(26/45+e*(-2854/675)))-2))),this.cbg[0]=e*(e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))-2),n*=e,this.cgb[1]=n*(7/3+e*(e*(-227/45+e*(2704/315+e*(2323/945)))-1.6)),this.cbg[1]=n*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),n*=e,this.cgb[2]=n*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=n*(-26/15+e*(34/21+e*(1.6+e*(-12686/2835)))),n*=e,this.cgb[3]=n*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=n*(1237/630+e*(e*(-24832/14175)-2.4)),n*=e,this.cgb[4]=n*(4174/315+e*(-144838/6237)),this.cbg[4]=n*(-734/315+e*(109598/31185)),n*=e,this.cgb[5]=n*(601676/22275),this.cbg[5]=n*(444337/155925),n=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+n*(1/4+n*(1/64+n/256))),this.utg[0]=e*(e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))-.5),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=n*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=n*(13/48+e*(e*(557/1440+e*(281/630+e*(-1983433/1935360)))-.6)),n*=e,this.utg[2]=n*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=n*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),n*=e,this.utg[3]=n*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=n*(49561/161280+e*(-179/168+e*(6601661/7257600))),n*=e,this.utg[4]=n*(-4583/161280+e*(108847/3991680)),this.gtu[4]=n*(34729/80640+e*(-3418889/1995840)),n*=e,this.utg[5]=n*(-20648693/638668800),this.gtu[5]=.6650675310896665*n;var r=gn(this.cbg,this.lat0);this.Zb=-this.Qn*(r+bn(this.gtu,2*r))}function On(t){var e=ut(t.x-this.long0),n=t.y;n=gn(this.cbg,n);var r=Math.sin(n),i=Math.cos(n),s=Math.sin(e),o=Math.cos(e);n=Math.atan2(r,o*i),e=Math.atan2(s*i,pn(r,i*o)),e=mn(Math.tan(e));var a,c,l=yn(this.gtu,2*n,2*e);return n+=l[0],e+=l[1],Math.abs(e)<=2.623395162778?(a=this.a*(this.Qn*e)+this.x0,c=this.a*(this.Qn*n+this.Zb)+this.y0):(a=1/0,c=1/0),t.x=a,t.y=c,t}function wn(t){var e,n,r=(t.x-this.x0)*(1/this.a),i=(t.y-this.y0)*(1/this.a);if(i=(i-this.Zb)/this.Qn,r/=this.Qn,Math.abs(r)<=2.623395162778){var s=yn(this.utg,2*i,2*r);i+=s[0],r+=s[1],r=Math.atan(fn(r));var o=Math.sin(i),a=Math.cos(i),c=Math.sin(r),l=Math.cos(r);i=Math.atan2(o*l,pn(c,l*a)),r=Math.atan2(c,l*a),e=ut(r+this.long0),n=gn(this.cgb,i)}else e=1/0,n=1/0;return t.x=e,t.y=n,t}var Mn=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"],xn={init:_n,forward:On,inverse:wn,names:Mn},En=function(t,e){if(void 0===t){if(t=Math.floor(30*(ut(e)+Math.PI)/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t},jn="etmerc";function An(){var t=En(this.zone,this.long0);if(void 0===t)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*v,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,xn.init.apply(this),this.forward=xn.forward,this.inverse=xn.inverse}var Cn=["Universal Transverse Mercator System","utm"],kn={init:An,names:Cn,dependsOn:jn},Tn=function(t,e){return Math.pow((1-t)/(1+t),e)},Sn=20;function Nn(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+_)/(Math.pow(Math.tan(.5*this.lat0+_),this.C)*Tn(this.e*t,this.ratexp))}function In(t){var e=t.x,n=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+_),this.C)*Tn(this.e*Math.sin(n),this.ratexp))-p,t.x=this.C*e,t}function Ln(t){for(var e=1e-14,n=t.x/this.C,r=t.y,i=Math.pow(Math.tan(.5*r+_)/this.K,1/this.C),s=Sn;s>0;--s){if(r=2*Math.atan(i*Tn(this.e*Math.sin(t.y),-.5*this.e))-p,Math.abs(r-t.y)<e)break;t.y=r}return s?(t.x=n,t.y=r,t):null}var Pn=["gauss"],Rn={init:Nn,forward:In,inverse:Ln,names:Pn};function Fn(){Rn.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))}function Un(t){var e,n,r,i;return t.x=ut(t.x-this.long0),Rn.forward.apply(this,[t]),e=Math.sin(t.y),n=Math.cos(t.y),r=Math.cos(t.x),i=this.k0*this.R2/(1+this.sinc0*e+this.cosc0*n*r),t.x=i*n*Math.sin(t.x),t.y=i*(this.cosc0*e-this.sinc0*n*r),t.x=this.a*t.x+this.x0,t.y=this.a*t.y+this.y0,t}function Dn(t){var e,n,r,i,s;if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,s=Math.sqrt(t.x*t.x+t.y*t.y)){var o=2*Math.atan2(s,this.R2);e=Math.sin(o),n=Math.cos(o),i=Math.asin(n*this.sinc0+t.y*e*this.cosc0/s),r=Math.atan2(t.x*e,s*this.cosc0*n-t.y*this.sinc0*e)}else i=this.phic0,r=0;return t.x=r,t.y=i,Rn.inverse.apply(this,[t]),t.x=ut(t.x+this.long0),t}var $n=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"],Bn={init:Fn,forward:Un,inverse:Dn,names:$n};function qn(t,e,n){return e*=n,Math.tan(.5*(p+t))*Math.pow((1-e)/(1+e),.5*n)}function Wn(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=b&&(this.k0=.5*(1+lt(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=b&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=b&&(this.k0=.5*this.cons*ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/ht(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=ct(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-p,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function Vn(t){var e,n,r,i,s,o,a=t.x,c=t.y,l=Math.sin(c),u=Math.cos(c),h=ut(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=b&&Math.abs(c+this.lat0)<=b?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*l+this.coslat0*u*Math.cos(h)),t.x=this.a*e*u*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*l-this.sinlat0*u*Math.cos(h))+this.y0,t):(n=2*Math.atan(this.ssfn_(c,l,this.e))-p,i=Math.cos(n),r=Math.sin(n),Math.abs(this.coslat0)<=b?(s=ht(this.e,c*this.con,this.con*l),o=2*this.a*this.k0*s/this.cons,t.x=this.x0+o*Math.sin(a-this.long0),t.y=this.y0-this.con*o*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)<b?(e=2*this.a*this.k0/(1+i*Math.cos(h)),t.y=e*r):(e=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*r+this.cosX0*i*Math.cos(h))),t.y=e*(this.cosX0*r-this.sinX0*i*Math.cos(h))+this.y0),t.x=e*i*Math.sin(h)+this.x0,t))}function Hn(t){var e,n,r,i,s;t.x-=this.x0,t.y-=this.y0;var o=Math.sqrt(t.x*t.x+t.y*t.y);if(this.sphere){var a=2*Math.atan(o/(2*this.a*this.k0));return e=this.long0,n=this.lat0,o<=b?(t.x=e,t.y=n,t):(n=Math.asin(Math.cos(a)*this.sinlat0+t.y*Math.sin(a)*this.coslat0/o),e=Math.abs(this.coslat0)<b?this.lat0>0?ut(this.long0+Math.atan2(t.x,-1*t.y)):ut(this.long0+Math.atan2(t.x,t.y)):ut(this.long0+Math.atan2(t.x*Math.sin(a),o*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=n,t)}if(Math.abs(this.coslat0)<=b){if(o<=b)return n=this.lat0,e=this.long0,t.x=e,t.y=n,t;t.x*=this.con,t.y*=this.con,r=o*this.cons/(2*this.a*this.k0),n=this.con*ft(this.e,r),e=this.con*ut(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else i=2*Math.atan(o*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,o<=b?s=this.X0:(s=Math.asin(Math.cos(i)*this.sinX0+t.y*Math.sin(i)*this.cosX0/o),e=ut(this.long0+Math.atan2(t.x*Math.sin(i),o*this.cosX0*Math.cos(i)-t.y*this.sinX0*Math.sin(i)))),n=-1*ft(this.e,Math.tan(.5*(p+s)));return t.x=e,t.y=n,t}var Yn=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],Gn={init:Wn,forward:Vn,inverse:Hn,names:Yn,ssfn_:qn};function zn(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),n=this.a,r=this.rf,i=1/r,s=2*i-Math.pow(i,2),o=this.e=Math.sqrt(s);this.R=this.k0*n*Math.sqrt(1-s)/(1-s*Math.pow(e,2)),this.alpha=Math.sqrt(1+s/(1-s)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),c=Math.log(Math.tan(Math.PI/4+t/2)),l=Math.log((1+o*e)/(1-o*e));this.K=a-this.alpha*c+this.alpha*o/2*l}function Xn(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),r=-this.alpha*(e+n)+this.K,i=2*(Math.atan(Math.exp(r))-Math.PI/4),s=this.alpha*(t.x-this.lambda0),o=Math.atan(Math.sin(s)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(s))),a=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(s));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*o+this.x0,t}function Kn(t){var e=t.x-this.x0,n=t.y-this.y0,r=e/this.R,i=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),s=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(r)),o=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(i))),a=this.lambda0+o/this.alpha,c=0,l=s,u=-1e3,h=0;while(Math.abs(l-u)>1e-7){if(++h>20)return;c=1/this.alpha*(Math.log(Math.tan(Math.PI/4+s/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(l))/2)),u=l,l=2*Math.atan(Math.exp(c))-Math.PI/2}return t.x=a,t.y=l,t}var Qn=["somerc"],Jn={init:zn,forward:Xn,inverse:Kn,names:Qn},Zn=1e-7;function tr(t){var e=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],n="object"===typeof t.PROJECTION?Object.keys(t.PROJECTION)[0]:t.PROJECTION;return"no_uoff"in t||"no_off"in t||-1!==e.indexOf(n)}function er(){var t,e,n,r,i,s,o,a,c,l,u,h=0,f=0,d=0,m=0,g=0,y=0,w=0;this.no_off=tr(this),this.no_rot="no_rot"in this;var M=!1;"alpha"in this&&(M=!0);var x=!1;if("rectified_grid_angle"in this&&(x=!0),M&&(w=this.alpha),x&&(h=this.rectified_grid_angle*v),M||x)f=this.longc;else if(d=this.long1,g=this.lat1,m=this.long2,y=this.lat2,Math.abs(g-y)<=Zn||(t=Math.abs(g))<=Zn||Math.abs(t-p)<=Zn||Math.abs(Math.abs(this.lat0)-p)<=Zn||Math.abs(Math.abs(y)-p)<=Zn)throw new Error;var E=1-this.es;e=Math.sqrt(E),Math.abs(this.lat0)>b?(a=Math.sin(this.lat0),n=Math.cos(this.lat0),t=1-this.es*a*a,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/E),this.A=this.B*this.k0*e/t,r=this.B*e/(n*Math.sqrt(t)),i=r*r-1,i<=0?i=0:(i=Math.sqrt(i),this.lat0<0&&(i=-i)),this.E=i+=r,this.E*=Math.pow(ht(this.e,this.lat0,a),this.B)):(this.B=1/e,this.A=this.k0,this.E=r=i=1),M||x?(M?(u=Math.asin(Math.sin(w)/r),x||(h=w)):(u=h,w=Math.asin(r*Math.sin(u))),this.lam0=f-Math.asin(.5*(i-1/i)*Math.tan(u))/this.B):(s=Math.pow(ht(this.e,g,Math.sin(g)),this.B),o=Math.pow(ht(this.e,y,Math.sin(y)),this.B),i=this.E/s,c=(o-s)/(o+s),l=this.E*this.E,l=(l-o*s)/(l+o*s),t=d-m,t<-Math.pi?m-=O:t>Math.pi&&(m+=O),this.lam0=ut(.5*(d+m)-Math.atan(l*Math.tan(.5*this.B*(d-m))/c)/this.B),u=Math.atan(2*Math.sin(this.B*ut(d-this.lam0))/(i-1/i)),h=w=Math.asin(r*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(h),this.cosrot=Math.cos(h),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(r*r-1)/Math.cos(w))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(_-i)),this.v_pole_s=this.ArB*Math.log(Math.tan(_+i))}function nr(t){var e,n,r,i,s,o,a,c,l={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-p)>b){if(s=this.E/Math.pow(ht(this.e,t.y,Math.sin(t.y)),this.B),o=1/s,e=.5*(s-o),n=.5*(s+o),i=Math.sin(this.B*t.x),r=(e*this.singam-i*this.cosgam)/n,Math.abs(Math.abs(r)-1)<b)throw new Error;c=.5*this.ArB*Math.log((1-r)/(1+r)),o=Math.cos(this.B*t.x),a=Math.abs(o)<Zn?this.A*t.x:this.ArB*Math.atan2(e*this.cosgam+i*this.singam,o)}else c=t.y>0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(l.x=a,l.y=c):(a-=this.u_0,l.x=c*this.cosrot+a*this.sinrot,l.y=a*this.cosrot-c*this.sinrot),l.x=this.a*l.x+this.x0,l.y=this.a*l.y+this.y0,l}function rr(t){var e,n,r,i,s,o,a,c={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(n=t.y,e=t.x):(n=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),r=Math.exp(-this.BrA*n),i=.5*(r-1/r),s=.5*(r+1/r),o=Math.sin(this.BrA*e),a=(o*this.cosgam+i*this.singam)/s,Math.abs(Math.abs(a)-1)<b)c.x=0,c.y=a<0?-p:p;else{if(c.y=this.E/Math.sqrt((1+a)/(1-a)),c.y=ft(this.e,Math.pow(c.y,1/this.B)),c.y===1/0)throw new Error;c.x=-this.rB*Math.atan2(i*this.cosgam-o*this.singam,Math.cos(this.BrA*e))}return c.x+=this.lam0,c}var ir=["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Two_Point_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","Oblique_Mercator","omerc"],sr={init:er,forward:nr,inverse:rr,names:ir};function or(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<b)){var t=this.b/this.a;this.e=Math.sqrt(1-t*t);var e=Math.sin(this.lat1),n=Math.cos(this.lat1),r=ct(this.e,e,n),i=ht(this.e,this.lat1,e),s=Math.sin(this.lat2),o=Math.cos(this.lat2),a=ct(this.e,s,o),c=ht(this.e,this.lat2,s),l=ht(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>b?this.ns=Math.log(r/a)/Math.log(i/c):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=r/(this.ns*Math.pow(i,this.ns)),this.rh=this.a*this.f0*Math.pow(l,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function ar(t){var e=t.x,n=t.y;Math.abs(2*Math.abs(n)-Math.PI)<=b&&(n=lt(n)*(p-2*b));var r,i,s=Math.abs(Math.abs(n)-p);if(s>b)r=ht(this.e,n,Math.sin(n)),i=this.a*this.f0*Math.pow(r,this.ns);else{if(s=n*this.ns,s<=0)return null;i=0}var o=this.ns*ut(e-this.long0);return t.x=this.k0*(i*Math.sin(o))+this.x0,t.y=this.k0*(this.rh-i*Math.cos(o))+this.y0,t}function cr(t){var e,n,r,i,s,o=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(o*o+a*a),n=1):(e=-Math.sqrt(o*o+a*a),n=-1);var c=0;if(0!==e&&(c=Math.atan2(n*o,n*a)),0!==e||this.ns>0){if(n=1/this.ns,r=Math.pow(e/(this.a*this.f0),n),i=ft(this.e,r),-9999===i)return null}else i=-p;return s=ut(c/this.ns+this.long0),t.x=s,t.y=i,t}var lr=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"],ur={init:or,forward:ar,inverse:cr,names:lr};function hr(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function fr(t){var e,n,r,i,s,o,a,c=t.x,l=t.y,u=ut(c-this.long0);return e=Math.pow((1+this.e*Math.sin(l))/(1-this.e*Math.sin(l)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(l/2+this.s45),this.alfa)/e)-this.s45),r=-u*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),s=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(i)),o=this.n*s,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(i/2+this.s45),this.n),t.y=a*Math.cos(o)/1,t.x=a*Math.sin(o)/1,this.czech||(t.y*=-1,t.x*=-1),t}function pr(t){var e,n,r,i,s,o,a,c,l=t.x;t.x=t.y,t.y=l,this.czech||(t.y*=-1,t.x*=-1),o=Math.sqrt(t.x*t.x+t.y*t.y),s=Math.atan2(t.y,t.x),i=s/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),n=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(e)),t.x=this.long0-n/this.alfa,a=e,c=0;var u=0;do{t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-t.y)<1e-10&&(c=1),a=t.y,u+=1}while(0===c&&u<15);return u>=15?null:t}var dr=["Krovak","krovak"],mr={init:hr,forward:fr,inverse:pr,names:dr},gr=function(t,e,n,r,i){return t*i-e*Math.sin(2*i)+n*Math.sin(4*i)-r*Math.sin(6*i)},br=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))},vr=function(t){return.375*t*(1+.25*t*(1+.46875*t))},yr=function(t){return.05859375*t*t*(1+.75*t)},_r=function(t){return t*t*t*(35/3072)},Or=function(t,e,n){var r=e*n;return t/Math.sqrt(1-r*r)},wr=function(t){return Math.abs(t)<p?t:t-lt(t)*Math.PI},Mr=function(t,e,n,r,i){var s,o;s=t/e;for(var a=0;a<15;a++)if(o=(t-(e*s-n*Math.sin(2*s)+r*Math.sin(4*s)-i*Math.sin(6*s)))/(e-2*n*Math.cos(2*s)+4*r*Math.cos(4*s)-6*i*Math.cos(6*s)),s+=o,Math.abs(o)<=1e-10)return s;return NaN};function xr(){this.sphere||(this.e0=br(this.es),this.e1=vr(this.es),this.e2=yr(this.es),this.e3=_r(this.es),this.ml0=this.a*gr(this.e0,this.e1,this.e2,this.e3,this.lat0))}function Er(t){var e,n,r=t.x,i=t.y;if(r=ut(r-this.long0),this.sphere)e=this.a*Math.asin(Math.cos(i)*Math.sin(r)),n=this.a*(Math.atan2(Math.tan(i),Math.cos(r))-this.lat0);else{var s=Math.sin(i),o=Math.cos(i),a=Or(this.a,this.e,s),c=Math.tan(i)*Math.tan(i),l=r*Math.cos(i),u=l*l,h=this.es*o*o/(1-this.es),f=this.a*gr(this.e0,this.e1,this.e2,this.e3,i);e=a*l*(1-u*c*(1/6-(8-c+8*h)*u/120)),n=f-this.ml0+a*s/o*u*(.5+(5-c+6*h)*u/24)}return t.x=e+this.x0,t.y=n+this.y0,t}function jr(t){t.x-=this.x0,t.y-=this.y0;var e,n,r=t.x/this.a,i=t.y/this.a;if(this.sphere){var s=i+this.lat0;e=Math.asin(Math.sin(s)*Math.cos(r)),n=Math.atan2(Math.tan(r),Math.cos(s))}else{var o=this.ml0/this.a+i,a=Mr(o,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(a)-p)<=b)return t.x=this.long0,t.y=p,i<0&&(t.y*=-1),t;var c=Or(this.a,this.e,Math.sin(a)),l=c*c*c/this.a/this.a*(1-this.es),u=Math.pow(Math.tan(a),2),h=r*this.a/c,f=h*h;e=a-c*Math.tan(a)/l*h*h*(.5-(1+3*u)*h*h/24),n=h*(1-f*(u/3+(1+3*u)*u*f/15))/Math.cos(a)}return t.x=ut(n+this.long0),t.y=wr(e),t}var Ar=["Cassini","Cassini_Soldner","cass"],Cr={init:xr,forward:Er,inverse:jr,names:Ar},kr=function(t,e){var n;return t>1e-7?(n=t*e,(1-t*t)*(e/(1-n*n)-.5/t*Math.log((1-n)/(1+n)))):2*e},Tr=1,Sr=2,Nr=3,Ir=4;function Lr(){var t,e=Math.abs(this.lat0);if(Math.abs(e-p)<b?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(e)<b?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=kr(this.e,1),this.mmf=.5/(1-this.es),this.apa=Wr(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),t=Math.sin(this.lat0),this.sinb1=kr(this.e,t)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*t*t)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Pr(t){var e,n,r,i,s,o,a,c,l,u,h=t.x,f=t.y;if(h=ut(h-this.long0),this.sphere){if(s=Math.sin(f),u=Math.cos(f),r=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(n=this.mode===this.EQUIT?1+u*r:1+this.sinph0*s+this.cosph0*u*r,n<=b)return null;n=Math.sqrt(2/n),e=n*u*Math.sin(h),n*=this.mode===this.EQUIT?s:this.cosph0*s-this.sinph0*u*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(f+this.lat0)<b)return null;n=_-.5*f,n=2*(this.mode===this.S_POLE?Math.cos(n):Math.sin(n)),e=n*Math.sin(h),n*=r}}else{switch(a=0,c=0,l=0,r=Math.cos(h),i=Math.sin(h),s=Math.sin(f),o=kr(this.e,s),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(a=o/this.qp,c=Math.sqrt(1-a*a)),this.mode){case this.OBLIQ:l=1+this.sinb1*a+this.cosb1*c*r;break;case this.EQUIT:l=1+c*r;break;case this.N_POLE:l=p+f,o=this.qp-o;break;case this.S_POLE:l=f-p,o=this.qp+o;break}if(Math.abs(l)<b)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:l=Math.sqrt(2/l),n=this.mode===this.OBLIQ?this.ymf*l*(this.cosb1*a-this.sinb1*c*r):(l=Math.sqrt(2/(1+c*r)))*a*this.ymf,e=this.xmf*l*c*i;break;case this.N_POLE:case this.S_POLE:o>=0?(e=(l=Math.sqrt(o))*i,n=r*(this.mode===this.S_POLE?l:-l)):e=n=0;break}}return t.x=this.a*e+this.x0,t.y=this.a*n+this.y0,t}function Rr(t){t.x-=this.x0,t.y-=this.y0;var e,n,r,i,s,o,a,c=t.x/this.a,l=t.y/this.a;if(this.sphere){var u,h=0,f=0;if(u=Math.sqrt(c*c+l*l),n=.5*u,n>1)return null;switch(n=2*Math.asin(n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(f=Math.sin(n),h=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(u)<=b?0:Math.asin(l*f/u),c*=f,l=h*u;break;case this.OBLIQ:n=Math.abs(u)<=b?this.lat0:Math.asin(h*this.sinph0+l*f*this.cosph0/u),c*=f*this.cosph0,l=(h-Math.sin(n)*this.sinph0)*u;break;case this.N_POLE:l=-l,n=p-n;break;case this.S_POLE:n-=p;break}e=0!==l||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,l):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,l*=this.dd,o=Math.sqrt(c*c+l*l),o<b)return t.x=this.long0,t.y=this.lat0,t;i=2*Math.asin(.5*o/this.rq),r=Math.cos(i),c*=i=Math.sin(i),this.mode===this.OBLIQ?(a=r*this.sinb1+l*i*this.cosb1/o,s=this.qp*a,l=o*this.cosb1*r-l*this.sinb1*i):(a=l*i/o,s=this.qp*a,l=o*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(l=-l),s=c*c+l*l,!s)return t.x=this.long0,t.y=this.lat0,t;a=1-s/this.qp,this.mode===this.S_POLE&&(a=-a)}e=Math.atan2(c,l),n=Vr(Math.asin(a),this.apa)}return t.x=ut(this.long0+e),t.y=n,t}var Fr=.3333333333333333,Ur=.17222222222222222,Dr=.10257936507936508,$r=.06388888888888888,Br=.0664021164021164,qr=.016415012942191543;function Wr(t){var e,n=[];return n[0]=t*Fr,e=t*t,n[0]+=e*Ur,n[1]=e*$r,e*=t,n[0]+=e*Dr,n[1]+=e*Br,n[2]=e*qr,n}function Vr(t,e){var n=t+t;return t+e[0]*Math.sin(n)+e[1]*Math.sin(n+n)+e[2]*Math.sin(n+n+n)}var Hr=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"],Yr={init:Lr,forward:Pr,inverse:Rr,names:Hr,S_POLE:Tr,N_POLE:Sr,EQUIT:Nr,OBLIQ:Ir},Gr=function(t){return Math.abs(t)>1&&(t=t>1?1:-1),Math.asin(t)};function zr(){Math.abs(this.lat1+this.lat2)<b||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=ct(this.e3,this.sin_po,this.cos_po),this.qs1=kr(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=ct(this.e3,this.sin_po,this.cos_po),this.qs2=kr(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=kr(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>b?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function Xr(t){var e=t.x,n=t.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var r=kr(this.e3,this.sin_phi,this.cos_phi),i=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,s=this.ns0*ut(e-this.long0),o=i*Math.sin(s)+this.x0,a=this.rh-i*Math.cos(s)+this.y0;return t.x=o,t.y=a,t}function Kr(t){var e,n,r,i,s,o;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),r=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),r=-1),i=0,0!==e&&(i=Math.atan2(r*t.x,r*t.y)),r=e*this.ns0/this.a,this.sphere?o=Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,o=this.phi1z(this.e3,n)),s=ut(i/this.ns0+this.long0),t.x=s,t.y=o,t}function Qr(t,e){var n,r,i,s,o,a=Gr(.5*e);if(t<b)return a;for(var c=t*t,l=1;l<=25;l++)if(n=Math.sin(a),r=Math.cos(a),i=t*n,s=1-i*i,o=.5*s*s/r*(e/(1-c)-n/s+.5/t*Math.log((1-i)/(1+i))),a+=o,Math.abs(o)<=1e-7)return a;return null}var Jr=["Albers_Conic_Equal_Area","Albers","aea"],Zr={init:zr,forward:Xr,inverse:Kr,names:Jr,phi1z:Qr};function ti(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1}function ei(t){var e,n,r,i,s,o,a,c,l=t.x,u=t.y;return r=ut(l-this.long0),e=Math.sin(u),n=Math.cos(u),i=Math.cos(r),o=this.sin_p14*e+this.cos_p14*n*i,s=1,o>0||Math.abs(o)<=b?(a=this.x0+this.a*s*n*Math.sin(r)/o,c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*i)/o):(a=this.x0+this.infinity_dist*n*Math.sin(r),c=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*n*i)),t.x=a,t.y=c,t}function ni(t){var e,n,r,i,s,o;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(i=Math.atan2(e,this.rc),n=Math.sin(i),r=Math.cos(i),o=Gr(r*this.sin_p14+t.y*n*this.cos_p14/e),s=Math.atan2(t.x*n,e*this.cos_p14*r-t.y*this.sin_p14*n),s=ut(this.long0+s)):(o=this.phic0,s=0),t.x=s,t.y=o,t}var ri=["gnom"],ii={init:ti,forward:ei,inverse:ni,names:ri},si=function(t,e){var n=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-n)<1e-6)return e<0?-1*p:p;for(var r,i,s,o,a=Math.asin(.5*e),c=0;c<30;c++)if(i=Math.sin(a),s=Math.cos(a),o=t*i,r=Math.pow(1-o*o,2)/(2*s)*(e/(1-t*t)-i/(1-o*o)+.5/t*Math.log((1-o)/(1+o))),a+=r,Math.abs(r)<=1e-10)return a;return NaN};function oi(){this.sphere||(this.k0=ct(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function ai(t){var e,n,r=t.x,i=t.y,s=ut(r-this.long0);if(this.sphere)e=this.x0+this.a*s*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var o=kr(this.e,Math.sin(i));e=this.x0+this.a*this.k0*s,n=this.y0+this.a*o*.5/this.k0}return t.x=e,t.y=n,t}function ci(t){var e,n;return t.x-=this.x0,t.y-=this.y0,this.sphere?(e=ut(this.long0+t.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(n=si(this.e,2*t.y*this.k0/this.a),e=ut(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=n,t}var li=["cea"],ui={init:oi,forward:ai,inverse:ci,names:li};function hi(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function fi(t){var e=t.x,n=t.y,r=ut(e-this.long0),i=wr(n-this.lat0);return t.x=this.x0+this.a*r*this.rc,t.y=this.y0+this.a*i,t}function pi(t){var e=t.x,n=t.y;return t.x=ut(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=wr(this.lat0+(n-this.y0)/this.a),t}var di=["Equirectangular","Equidistant_Cylindrical","eqc"],mi={init:hi,forward:fi,inverse:pi,names:di},gi=20;function bi(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=br(this.es),this.e1=vr(this.es),this.e2=yr(this.es),this.e3=_r(this.es),this.ml0=this.a*gr(this.e0,this.e1,this.e2,this.e3,this.lat0)}function vi(t){var e,n,r,i=t.x,s=t.y,o=ut(i-this.long0);if(r=o*Math.sin(s),this.sphere)Math.abs(s)<=b?(e=this.a*o,n=-1*this.a*this.lat0):(e=this.a*Math.sin(r)/Math.tan(s),n=this.a*(wr(s-this.lat0)+(1-Math.cos(r))/Math.tan(s)));else if(Math.abs(s)<=b)e=this.a*o,n=-1*this.ml0;else{var a=Or(this.a,this.e,Math.sin(s))/Math.tan(s);e=a*Math.sin(r),n=this.a*gr(this.e0,this.e1,this.e2,this.e3,s)-this.ml0+a*(1-Math.cos(r))}return t.x=e+this.x0,t.y=n+this.y0,t}function yi(t){var e,n,r,i,s,o,a,c,l;if(r=t.x-this.x0,i=t.y-this.y0,this.sphere)if(Math.abs(i+this.a*this.lat0)<=b)e=ut(r/this.a+this.long0),n=0;else{var u;for(o=this.lat0+i/this.a,a=r*r/this.a/this.a+o*o,c=o,s=gi;s;--s)if(u=Math.tan(c),l=-1*(o*(c*u+1)-c-.5*(c*c+a)*u)/((c-o)/u-1),c+=l,Math.abs(l)<=b){n=c;break}e=ut(this.long0+Math.asin(r*Math.tan(c)/this.a)/Math.sin(n))}else if(Math.abs(i+this.ml0)<=b)n=0,e=ut(this.long0+r/this.a);else{var h,f,p,d,m;for(o=(this.ml0+i)/this.a,a=r*r/this.a/this.a+o*o,c=o,s=gi;s;--s)if(m=this.e*Math.sin(c),h=Math.sqrt(1-m*m)*Math.tan(c),f=this.a*gr(this.e0,this.e1,this.e2,this.e3,c),p=this.e0-2*this.e1*Math.cos(2*c)+4*this.e2*Math.cos(4*c)-6*this.e3*Math.cos(6*c),d=f/this.a,l=(o*(h*d+1)-d-.5*h*(d*d+a))/(this.es*Math.sin(2*c)*(d*d+a-2*o*d)/(4*h)+(o-d)*(h*p-2/Math.sin(2*c))-p),c-=l,Math.abs(l)<=b){n=c;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),e=ut(this.long0+Math.asin(r*h/this.a)/Math.sin(n))}return t.x=e,t.y=n,t}var _i=["Polyconic","poly"],Oi={init:bi,forward:vi,inverse:yi,names:_i};function wi(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function Mi(t){var e,n=t.x,r=t.y,i=r-this.lat0,s=n-this.long0,o=i/f*1e-5,a=s,c=1,l=0;for(e=1;e<=10;e++)c*=o,l+=this.A[e]*c;var u,h,p=l,d=a,m=1,g=0,b=0,v=0;for(e=1;e<=6;e++)u=m*p-g*d,h=g*p+m*d,m=u,g=h,b=b+this.B_re[e]*m-this.B_im[e]*g,v=v+this.B_im[e]*m+this.B_re[e]*g;return t.x=v*this.a+this.x0,t.y=b*this.a+this.y0,t}function xi(t){var e,n,r,i=t.x,s=t.y,o=i-this.x0,a=s-this.y0,c=a/this.a,l=o/this.a,u=1,h=0,p=0,d=0;for(e=1;e<=6;e++)n=u*c-h*l,r=h*c+u*l,u=n,h=r,p=p+this.C_re[e]*u-this.C_im[e]*h,d=d+this.C_im[e]*u+this.C_re[e]*h;for(var m=0;m<this.iterations;m++){var g,b,v=p,y=d,_=c,O=l;for(e=2;e<=6;e++)g=v*p-y*d,b=y*p+v*d,v=g,y=b,_+=(e-1)*(this.B_re[e]*v-this.B_im[e]*y),O+=(e-1)*(this.B_im[e]*v+this.B_re[e]*y);v=1,y=0;var w=this.B_re[1],M=this.B_im[1];for(e=2;e<=6;e++)g=v*p-y*d,b=y*p+v*d,v=g,y=b,w+=e*(this.B_re[e]*v-this.B_im[e]*y),M+=e*(this.B_im[e]*v+this.B_re[e]*y);var x=w*w+M*M;p=(_*w+O*M)/x,d=(O*w-_*M)/x}var E=p,j=d,A=1,C=0;for(e=1;e<=9;e++)A*=E,C+=this.D[e]*A;var k=this.lat0+C*f*1e5,T=this.long0+j;return t.x=T,t.y=k,t}var Ei=["New_Zealand_Map_Grid","nzmg"],ji={init:wi,forward:Mi,inverse:xi,names:Ei};function Ai(){}function Ci(t){var e=t.x,n=t.y,r=ut(e-this.long0),i=this.x0+this.a*r,s=this.y0+this.a*Math.log(Math.tan(Math.PI/4+n/2.5))*1.25;return t.x=i,t.y=s,t}function ki(t){t.x-=this.x0,t.y-=this.y0;var e=ut(this.long0+t.x/this.a),n=2.5*(Math.atan(Math.exp(.8*t.y/this.a))-Math.PI/4);return t.x=e,t.y=n,t}var Ti=["Miller_Cylindrical","mill"],Si={init:Ai,forward:Ci,inverse:ki,names:Ti},Ni=20;function Ii(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=nn(this.es)}function Li(t){var e,n,r=t.x,i=t.y;if(r=ut(r-this.long0),this.sphere){if(this.m)for(var s=this.n*Math.sin(i),o=Ni;o;--o){var a=(this.m*i+Math.sin(i)-s)/(this.m+Math.cos(i));if(i-=a,Math.abs(a)<b)break}else i=1!==this.n?Math.asin(this.n*Math.sin(i)):i;e=this.a*this.C_x*r*(this.m+Math.cos(i)),n=this.a*this.C_y*i}else{var c=Math.sin(i),l=Math.cos(i);n=this.a*rn(i,c,l,this.en),e=this.a*r*l/Math.sqrt(1-this.es*c*c)}return t.x=e,t.y=n,t}function Pi(t){var e,n,r,i;return t.x-=this.x0,r=t.x/this.a,t.y-=this.y0,e=t.y/this.a,this.sphere?(e/=this.C_y,r/=this.C_x*(this.m+Math.cos(e)),this.m?e=Gr((this.m*e+Math.sin(e))/this.n):1!==this.n&&(e=Gr(Math.sin(e)/this.n)),r=ut(r+this.long0),e=wr(e)):(e=on(t.y/this.a,this.es,this.en),i=Math.abs(e),i<p?(i=Math.sin(e),n=this.long0+t.x*Math.sqrt(1-this.es*i*i)/(this.a*Math.cos(e)),r=ut(n)):i-b<p&&(r=this.long0)),t.x=r,t.y=e,t}var Ri=["Sinusoidal","sinu"],Fi={init:Ii,forward:Li,inverse:Pi,names:Ri};function Ui(){}function Di(t){var e=t.x,n=t.y,r=ut(e-this.long0),i=n,s=Math.PI*Math.sin(n);while(1){var o=-(i+Math.sin(i)-s)/(1+Math.cos(i));if(i+=o,Math.abs(o)<b)break}i/=2,Math.PI/2-Math.abs(n)<b&&(r=0);var a=.900316316158*this.a*r*Math.cos(i)+this.x0,c=1.4142135623731*this.a*Math.sin(i)+this.y0;return t.x=a,t.y=c,t}function $i(t){var e,n;t.x-=this.x0,t.y-=this.y0,n=t.y/(1.4142135623731*this.a),Math.abs(n)>.999999999999&&(n=.999999999999),e=Math.asin(n);var r=ut(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),n=(2*e+Math.sin(2*e))/Math.PI,Math.abs(n)>1&&(n=1);var i=Math.asin(n);return t.x=r,t.y=i,t}var Bi=["Mollweide","moll"],qi={init:Ui,forward:Di,inverse:$i,names:Bi};function Wi(){Math.abs(this.lat1+this.lat2)<b||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=br(this.es),this.e1=vr(this.es),this.e2=yr(this.es),this.e3=_r(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=ct(this.e,this.sinphi,this.cosphi),this.ml1=gr(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<b?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=ct(this.e,this.sinphi,this.cosphi),this.ml2=gr(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=gr(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))}function Vi(t){var e,n=t.x,r=t.y;if(this.sphere)e=this.a*(this.g-r);else{var i=gr(this.e0,this.e1,this.e2,this.e3,r);e=this.a*(this.g-i)}var s=this.ns*ut(n-this.long0),o=this.x0+e*Math.sin(s),a=this.y0+this.rh-e*Math.cos(s);return t.x=o,t.y=a,t}function Hi(t){var e,n,r,i;t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns>=0?(n=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(n=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var s=0;if(0!==n&&(s=Math.atan2(e*t.x,e*t.y)),this.sphere)return i=ut(this.long0+s/this.ns),r=wr(this.g-n/this.a),t.x=i,t.y=r,t;var o=this.g-n/this.a;return r=Mr(o,this.e0,this.e1,this.e2,this.e3),i=ut(this.long0+s/this.ns),t.x=i,t.y=r,t}var Yi=["Equidistant_Conic","eqdc"],Gi={init:Wi,forward:Vi,inverse:Hi,names:Yi};function zi(){this.R=this.a}function Xi(t){var e,n,r=t.x,i=t.y,s=ut(r-this.long0);Math.abs(i)<=b&&(e=this.x0+this.R*s,n=this.y0);var o=Gr(2*Math.abs(i/Math.PI));(Math.abs(s)<=b||Math.abs(Math.abs(i)-p)<=b)&&(e=this.x0,n=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*o):this.y0+Math.PI*this.R*-Math.tan(.5*o));var a=.5*Math.abs(Math.PI/s-s/Math.PI),c=a*a,l=Math.sin(o),u=Math.cos(o),h=u/(l+u-1),f=h*h,d=h*(2/l-1),m=d*d,g=Math.PI*this.R*(a*(h-m)+Math.sqrt(c*(h-m)*(h-m)-(m+c)*(f-m)))/(m+c);s<0&&(g=-g),e=this.x0+g;var v=c+h;return g=Math.PI*this.R*(d*v-a*Math.sqrt((m+c)*(c+1)-v*v))/(m+c),n=i>=0?this.y0+g:this.y0-g,t.x=e,t.y=n,t}function Ki(t){var e,n,r,i,s,o,a,c,l,u,h,f,p;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,r=t.x/h,i=t.y/h,s=r*r+i*i,o=-Math.abs(i)*(1+s),a=o-2*i*i+r*r,c=-2*o+1+2*i*i+s*s,p=i*i/c+(2*a*a*a/c/c/c-9*o*a/c/c)/27,l=(o-a*a/3/c)/c,u=2*Math.sqrt(-l/3),h=3*p/l/u,Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,n=t.y>=0?(-u*Math.cos(f+Math.PI/3)-a/3/c)*Math.PI:-(-u*Math.cos(f+Math.PI/3)-a/3/c)*Math.PI,e=Math.abs(r)<b?this.long0:ut(this.long0+Math.PI*(s-1+Math.sqrt(1+2*(r*r-i*i)+s*s))/2/r),t.x=e,t.y=n,t}var Qi=["Van_der_Grinten_I","VanDerGrinten","vandg"],Ji={init:zi,forward:Xi,inverse:Ki,names:Qi};function Zi(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)}function ts(t){var e,n,r,i,s,o,a,c,l,u,h,f,d,m,g,v,y,_,O,w,M,x,E,j=t.x,A=t.y,C=Math.sin(t.y),k=Math.cos(t.y),T=ut(j-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=b?(t.x=this.x0+this.a*(p-A)*Math.sin(T),t.y=this.y0-this.a*(p-A)*Math.cos(T),t):Math.abs(this.sin_p12+1)<=b?(t.x=this.x0+this.a*(p+A)*Math.sin(T),t.y=this.y0+this.a*(p+A)*Math.cos(T),t):(_=this.sin_p12*C+this.cos_p12*k*Math.cos(T),v=Math.acos(_),y=v?v/Math.sin(v):1,t.x=this.x0+this.a*y*k*Math.sin(T),t.y=this.y0+this.a*y*(this.cos_p12*C-this.sin_p12*k*Math.cos(T)),t):(e=br(this.es),n=vr(this.es),r=yr(this.es),i=_r(this.es),Math.abs(this.sin_p12-1)<=b?(s=this.a*gr(e,n,r,i,p),o=this.a*gr(e,n,r,i,A),t.x=this.x0+(s-o)*Math.sin(T),t.y=this.y0-(s-o)*Math.cos(T),t):Math.abs(this.sin_p12+1)<=b?(s=this.a*gr(e,n,r,i,p),o=this.a*gr(e,n,r,i,A),t.x=this.x0+(s+o)*Math.sin(T),t.y=this.y0+(s+o)*Math.cos(T),t):(a=C/k,c=Or(this.a,this.e,this.sin_p12),l=Or(this.a,this.e,C),u=Math.atan((1-this.es)*a+this.es*c*this.sin_p12/(l*k)),h=Math.atan2(Math.sin(T),this.cos_p12*Math.tan(u)-this.sin_p12*Math.cos(T)),O=0===h?Math.asin(this.cos_p12*Math.sin(u)-this.sin_p12*Math.cos(u)):Math.abs(Math.abs(h)-Math.PI)<=b?-Math.asin(this.cos_p12*Math.sin(u)-this.sin_p12*Math.cos(u)):Math.asin(Math.sin(T)*Math.cos(u)/Math.sin(h)),f=this.e*this.sin_p12/Math.sqrt(1-this.es),d=this.e*this.cos_p12*Math.cos(h)/Math.sqrt(1-this.es),m=f*d,g=d*d,w=O*O,M=w*O,x=M*O,E=x*O,v=c*O*(1-w*g*(1-g)/6+M/8*m*(1-2*g)+x/120*(g*(4-7*g)-3*f*f*(1-7*g))-E/48*m),t.x=this.x0+v*Math.sin(h),t.y=this.y0+v*Math.cos(h),t))}function es(t){var e,n,r,i,s,o,a,c,l,u,h,f,d,m,g,v,y,_,O,w,M,x,E,j;if(t.x-=this.x0,t.y-=this.y0,this.sphere){if(e=Math.sqrt(t.x*t.x+t.y*t.y),e>2*p*this.a)return;return n=e/this.a,r=Math.sin(n),i=Math.cos(n),s=this.long0,Math.abs(e)<=b?o=this.lat0:(o=Gr(i*this.sin_p12+t.y*r*this.cos_p12/e),a=Math.abs(this.lat0)-p,s=Math.abs(a)<=b?this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)):ut(this.long0+Math.atan2(t.x*r,e*this.cos_p12*i-t.y*this.sin_p12*r))),t.x=s,t.y=o,t}return c=br(this.es),l=vr(this.es),u=yr(this.es),h=_r(this.es),Math.abs(this.sin_p12-1)<=b?(f=this.a*gr(c,l,u,h,p),e=Math.sqrt(t.x*t.x+t.y*t.y),d=f-e,o=Mr(d/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,-1*t.y)),t.x=s,t.y=o,t):Math.abs(this.sin_p12+1)<=b?(f=this.a*gr(c,l,u,h,p),e=Math.sqrt(t.x*t.x+t.y*t.y),d=e-f,o=Mr(d/this.a,c,l,u,h),s=ut(this.long0+Math.atan2(t.x,t.y)),t.x=s,t.y=o,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),v=Math.atan2(t.x,t.y),m=Or(this.a,this.e,this.sin_p12),y=Math.cos(v),_=this.e*this.cos_p12*y,O=-_*_/(1-this.es),w=3*this.es*(1-O)*this.sin_p12*this.cos_p12*y/(1-this.es),M=e/m,x=M-O*(1+O)*Math.pow(M,3)/6-w*(1+3*O)*Math.pow(M,4)/24,E=1-O*x*x/2-M*x*x*x/6,g=Math.asin(this.sin_p12*Math.cos(x)+this.cos_p12*Math.sin(x)*y),s=ut(this.long0+Math.asin(Math.sin(v)*Math.sin(x)/Math.cos(g))),j=Math.sin(g),o=Math.atan2((j-this.es*E*this.sin_p12)*Math.tan(g),j*(1-this.es)),t.x=s,t.y=o,t)}var ns=["Azimuthal_Equidistant","aeqd"],rs={init:Zi,forward:ts,inverse:es,names:ns};function is(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function ss(t){var e,n,r,i,s,o,a,c,l=t.x,u=t.y;return r=ut(l-this.long0),e=Math.sin(u),n=Math.cos(u),i=Math.cos(r),o=this.sin_p14*e+this.cos_p14*n*i,s=1,(o>0||Math.abs(o)<=b)&&(a=this.a*s*n*Math.sin(r),c=this.y0+this.a*s*(this.cos_p14*e-this.sin_p14*n*i)),t.x=a,t.y=c,t}function os(t){var e,n,r,i,s,o,a;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),n=Gr(e/this.a),r=Math.sin(n),i=Math.cos(n),o=this.long0,Math.abs(e)<=b?(a=this.lat0,t.x=o,t.y=a,t):(a=Gr(i*this.sin_p14+t.y*r*this.cos_p14/e),s=Math.abs(this.lat0)-p,Math.abs(s)<=b?(o=this.lat0>=0?ut(this.long0+Math.atan2(t.x,-t.y)):ut(this.long0-Math.atan2(-t.x,t.y)),t.x=o,t.y=a,t):(o=ut(this.long0+Math.atan2(t.x*r,e*this.cos_p14*i-t.y*this.sin_p14*r)),t.x=o,t.y=a,t))}var as=["ortho"],cs={init:is,forward:ss,inverse:os,names:as},ls={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},us={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function hs(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=p-_/2?this.face=ls.TOP:this.lat0<=-(p-_/2)?this.face=ls.BOTTOM:Math.abs(this.long0)<=_?this.face=ls.FRONT:Math.abs(this.long0)<=p+_?this.face=this.long0>0?ls.RIGHT:ls.LEFT:this.face=ls.BACK,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function fs(t){var e,n,r,i,s,o,a={x:0,y:0},c={value:0};if(t.x-=this.long0,e=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(t.y)):t.y,n=t.x,this.face===ls.TOP)i=p-e,n>=_&&n<=p+_?(c.value=us.AREA_0,r=n-p):n>p+_||n<=-(p+_)?(c.value=us.AREA_1,r=n>0?n-w:n+w):n>-(p+_)&&n<=-_?(c.value=us.AREA_2,r=n+p):(c.value=us.AREA_3,r=n);else if(this.face===ls.BOTTOM)i=p+e,n>=_&&n<=p+_?(c.value=us.AREA_0,r=-n+p):n<_&&n>=-_?(c.value=us.AREA_1,r=-n):n<-_&&n>=-(p+_)?(c.value=us.AREA_2,r=-n-p):(c.value=us.AREA_3,r=n>0?-n+w:-n-w);else{var l,u,h,f,d,m,g;this.face===ls.RIGHT?n=ms(n,+p):this.face===ls.BACK?n=ms(n,+w):this.face===ls.LEFT&&(n=ms(n,-p)),f=Math.sin(e),d=Math.cos(e),m=Math.sin(n),g=Math.cos(n),l=d*g,u=d*m,h=f,this.face===ls.FRONT?(i=Math.acos(l),r=ds(i,h,u,c)):this.face===ls.RIGHT?(i=Math.acos(u),r=ds(i,h,-l,c)):this.face===ls.BACK?(i=Math.acos(-l),r=ds(i,h,-u,c)):this.face===ls.LEFT?(i=Math.acos(-u),r=ds(i,h,l,c)):(i=r=0,c.value=us.AREA_0)}return o=Math.atan(12/w*(r+Math.acos(Math.sin(r)*Math.cos(_))-p)),s=Math.sqrt((1-Math.cos(i))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(r))))),c.value===us.AREA_1?o+=p:c.value===us.AREA_2?o+=w:c.value===us.AREA_3&&(o+=1.5*w),a.x=s*Math.cos(o),a.y=s*Math.sin(o),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,t.x=a.x,t.y=a.y,t}function ps(t){var e,n,r,i,s,o,a,c,l,u,h,f,d={lam:0,phi:0},m={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,n=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),e=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?m.value=us.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(m.value=us.AREA_1,e-=p):t.x<0&&-t.x>=Math.abs(t.y)?(m.value=us.AREA_2,e=e<0?e+w:e-w):(m.value=us.AREA_3,e+=p),l=w/12*Math.tan(e),s=Math.sin(l)/(Math.cos(l)-1/Math.sqrt(2)),o=Math.atan(s),r=Math.cos(e),i=Math.tan(n),a=1-r*r*i*i*(1-Math.cos(Math.atan(1/Math.cos(o)))),a<-1?a=-1:a>1&&(a=1),this.face===ls.TOP)c=Math.acos(a),d.phi=p-c,m.value===us.AREA_0?d.lam=o+p:m.value===us.AREA_1?d.lam=o<0?o+w:o-w:m.value===us.AREA_2?d.lam=o-p:d.lam=o;else if(this.face===ls.BOTTOM)c=Math.acos(a),d.phi=c-p,m.value===us.AREA_0?d.lam=-o+p:m.value===us.AREA_1?d.lam=-o:m.value===us.AREA_2?d.lam=-o-p:d.lam=o<0?-o-w:-o+w;else{var g,b,v;g=a,l=g*g,v=l>=1?0:Math.sqrt(1-l)*Math.sin(o),l+=v*v,b=l>=1?0:Math.sqrt(1-l),m.value===us.AREA_1?(l=b,b=-v,v=l):m.value===us.AREA_2?(b=-b,v=-v):m.value===us.AREA_3&&(l=b,b=v,v=-l),this.face===ls.RIGHT?(l=g,g=-b,b=l):this.face===ls.BACK?(g=-g,b=-b):this.face===ls.LEFT&&(l=g,g=b,b=-l),d.phi=Math.acos(-v)-p,d.lam=Math.atan2(b,g),this.face===ls.RIGHT?d.lam=ms(d.lam,-p):this.face===ls.BACK?d.lam=ms(d.lam,-w):this.face===ls.LEFT&&(d.lam=ms(d.lam,+p))}0!==this.es&&(u=d.phi<0?1:0,h=Math.tan(d.phi),f=this.b/Math.sqrt(h*h+this.one_minus_f_squared),d.phi=Math.atan(Math.sqrt(this.a*this.a-f*f)/(this.one_minus_f*f)),u&&(d.phi=-d.phi));return d.lam+=this.long0,t.x=d.lam,t.y=d.phi,t}function ds(t,e,n,r){var i;return t<b?(r.value=us.AREA_0,i=0):(i=Math.atan2(e,n),Math.abs(i)<=_?r.value=us.AREA_0:i>_&&i<=p+_?(r.value=us.AREA_1,i-=p):i>p+_||i<=-(p+_)?(r.value=us.AREA_2,i=i>=0?i-w:i+w):(r.value=us.AREA_3,i+=p)),i}function ms(t,e){var n=t+e;return n<-w?n+=O:n>+w&&(n-=O),n}var gs=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"],bs={init:hs,forward:fs,inverse:ps,names:gs},vs=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],ys=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],_s=.8487,Os=1.3523,ws=y/5,Ms=1/ws,xs=18,Es=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},js=function(t,e){return t[1]+e*(2*t[2]+3*e*t[3])};function As(t,e,n,r){for(var i=e;r;--r){var s=t(i);if(i-=s,Math.abs(s)<n)break}return i}function Cs(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"}function ks(t){var e=ut(t.x-this.long0),n=Math.abs(t.y),r=Math.floor(n*ws);r<0?r=0:r>=xs&&(r=xs-1),n=y*(n-Ms*r);var i={x:Es(vs[r],n)*e,y:Es(ys[r],n)};return t.y<0&&(i.y=-i.y),i.x=i.x*this.a*_s+this.x0,i.y=i.y*this.a*Os+this.y0,i}function Ts(t){var e={x:(t.x-this.x0)/(this.a*_s),y:Math.abs(t.y-this.y0)/(this.a*Os)};if(e.y>=1)e.x/=vs[xs][0],e.y=t.y<0?-p:p;else{var n=Math.floor(e.y*xs);for(n<0?n=0:n>=xs&&(n=xs-1);;)if(ys[n][0]>e.y)--n;else{if(!(ys[n+1][0]<=e.y))break;++n}var r=ys[n],i=5*(e.y-r[0])/(ys[n+1][0]-r[0]);i=As((function(t){return(Es(r,t)-e.y)/js(r,t)}),i,b,100),e.x/=Es(vs[n],i),e.y=(5*n+i)*v,t.y<0&&(e.y=-e.y)}return e.x=ut(e.x+this.long0),e}var Ss=["Robinson","robin"],Ns={init:Cs,forward:ks,inverse:Ts,names:Ss};function Is(){this.name="geocent"}function Ls(t){var e=Qt(t,this.es,this.a);return e}function Ps(t){var e=Jt(t,this.es,this.a,this.b);return e}var Rs=["Geocentric","geocentric","geocent","Geocent"],Fs={init:Is,forward:Ls,inverse:Ps,names:Rs},Us={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Ds={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function $s(){if(Object.keys(Ds).forEach(function(t){if("undefined"===typeof this[t])this[t]=Ds[t].def;else{if(Ds[t].num&&isNaN(this[t]))throw new Error("Invalid parameter value, must be numeric "+t+" = "+this[t]);Ds[t].num&&(this[t]=parseFloat(this[t]))}Ds[t].degrees&&(this[t]=this[t]*v)}.bind(this)),Math.abs(Math.abs(this.lat0)-p)<b?this.mode=this.lat0<0?Us.S_POLE:Us.N_POLE:Math.abs(this.lat0)<b?this.mode=Us.EQUIT:(this.mode=Us.OBLIQ,this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0)),this.pn1=this.h/this.a,this.pn1<=0||this.pn1>1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var t=this.tilt,e=this.azi;this.cg=Math.cos(e),this.sg=Math.sin(e),this.cw=Math.cos(t),this.sw=Math.sin(t)}function Bs(t){t.x-=this.long0;var e,n,r,i,s=Math.sin(t.y),o=Math.cos(t.y),a=Math.cos(t.x);switch(this.mode){case Us.OBLIQ:n=this.sinph0*s+this.cosph0*o*a;break;case Us.EQUIT:n=o*a;break;case Us.S_POLE:n=-s;break;case Us.N_POLE:n=s;break}switch(n=this.pn1/(this.p-n),e=n*o*Math.sin(t.x),this.mode){case Us.OBLIQ:n*=this.cosph0*s-this.sinph0*o*a;break;case Us.EQUIT:n*=s;break;case Us.N_POLE:n*=-o*a;break;case Us.S_POLE:n*=o*a;break}return r=n*this.cg+e*this.sg,i=1/(r*this.sw*this.h1+this.cw),e=(e*this.cg-n*this.sg)*this.cw*i,n=r*i,t.x=e*this.a,t.y=n*this.a,t}function qs(t){t.x/=this.a,t.y/=this.a;var e,n,r,i={x:t.x,y:t.y};r=1/(this.pn1-t.y*this.sw),e=this.pn1*t.x*r,n=this.pn1*t.y*this.cw*r,t.x=e*this.cg+n*this.sg,t.y=n*this.cg-e*this.sg;var s=pn(t.x,t.y);if(Math.abs(s)<b)i.x=0,i.y=t.y;else{var o,a;switch(a=1-s*s*this.pfact,a=(this.p-Math.sqrt(a))/(this.pn1/s+s/this.pn1),o=Math.sqrt(1-a*a),this.mode){case Us.OBLIQ:i.y=Math.asin(o*this.sinph0+t.y*a*this.cosph0/s),t.y=(o-this.sinph0*Math.sin(i.y))*s,t.x*=a*this.cosph0;break;case Us.EQUIT:i.y=Math.asin(t.y*a/s),t.y=o*s,t.x*=a;break;case Us.N_POLE:i.y=Math.asin(o),t.y=-t.y;break;case Us.S_POLE:i.y=-Math.asin(o);break}i.x=Math.atan2(t.x,t.y)}return t.x=i.x+this.long0,t.y=i.y,t}var Ws=["Tilted_Perspective","tpers"],Vs={init:$s,forward:Bs,inverse:qs,names:Ws};function Hs(){if(this.flip_axis="x"===this.sweep?1:0,this.h=Number(this.h),this.radius_g_1=this.h/this.a,this.radius_g_1<=0||this.radius_g_1>1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function Ys(t){var e,n,r,i,s=t.x,o=t.y;if(s-=this.long0,"ellipse"===this.shape){o=Math.atan(this.radius_p2*Math.tan(o));var a=this.radius_p/pn(this.radius_p*Math.cos(o),Math.sin(o));if(n=a*Math.cos(s)*Math.cos(o),r=a*Math.sin(s)*Math.cos(o),i=a*Math.sin(o),(this.radius_g-n)*n-r*r-i*i*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;e=this.radius_g-n,this.flip_axis?(t.x=this.radius_g_1*Math.atan(r/pn(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(r/e),t.y=this.radius_g_1*Math.atan(i/pn(r,e)))}else"sphere"===this.shape&&(e=Math.cos(o),n=Math.cos(s)*e,r=Math.sin(s)*e,i=Math.sin(o),e=this.radius_g-n,this.flip_axis?(t.x=this.radius_g_1*Math.atan(r/pn(i,e)),t.y=this.radius_g_1*Math.atan(i/e)):(t.x=this.radius_g_1*Math.atan(r/e),t.y=this.radius_g_1*Math.atan(i/pn(r,e))));return t.x=t.x*this.a,t.y=t.y*this.a,t}function Gs(t){var e,n,r,i,s=-1,o=0,a=0;if(t.x=t.x/this.a,t.y=t.y/this.a,"ellipse"===this.shape){this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),o=Math.tan(t.x/this.radius_g_1)*pn(1,a)):(o=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*pn(1,o));var c=a/this.radius_p;if(e=o*o+c*c+s*s,n=2*this.radius_g*s,r=n*n-4*e*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-n-Math.sqrt(r))/(2*e),s=this.radius_g+i*s,o*=i,a*=i,t.x=Math.atan2(o,s),t.y=Math.atan(a*Math.cos(t.x)/s),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if("sphere"===this.shape){if(this.flip_axis?(a=Math.tan(t.y/this.radius_g_1),o=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+a*a)):(o=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+o*o)),e=o*o+a*a+s*s,n=2*this.radius_g*s,r=n*n-4*e*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;i=(-n-Math.sqrt(r))/(2*e),s=this.radius_g+i*s,o*=i,a*=i,t.x=Math.atan2(o,s),t.y=Math.atan(a*Math.cos(t.x)/s)}return t.x=t.x+this.long0,t}var zs=["Geostationary Satellite View","Geostationary_Satellite","geos"],Xs={init:Hs,forward:Ys,inverse:Gs,names:zs},Ks=function(t){t.Proj.projections.add(hn),t.Proj.projections.add(xn),t.Proj.projections.add(kn),t.Proj.projections.add(Bn),t.Proj.projections.add(Gn),t.Proj.projections.add(Jn),t.Proj.projections.add(sr),t.Proj.projections.add(ur),t.Proj.projections.add(mr),t.Proj.projections.add(Cr),t.Proj.projections.add(Yr),t.Proj.projections.add(Zr),t.Proj.projections.add(ii),t.Proj.projections.add(ui),t.Proj.projections.add(mi),t.Proj.projections.add(Oi),t.Proj.projections.add(ji),t.Proj.projections.add(Si),t.Proj.projections.add(Fi),t.Proj.projections.add(qi),t.Proj.projections.add(Gi),t.Proj.projections.add(Ji),t.Proj.projections.add(rs),t.Proj.projections.add(cs),t.Proj.projections.add(bs),t.Proj.projections.add(Ns),t.Proj.projections.add(Fs),t.Proj.projections.add(Vs),t.Proj.projections.add(Xs)};ge.defaultDatum="WGS84",ge.Proj=Xt,ge.WGS84=new ge.Proj("WGS84"),ge.Point=We,ge.toPoint=ae,ge.defs=K,ge.nadgrid=Ft,ge.transform=he,ge.mgrs=Ee,ge.version="__VERSION__",Ks(ge);e["a"]=ge},,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(26),i=n(95),s=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===s}:function(t){return"object"==typeof t?null!==t:r(t)}},,,,,function(t,e,n){var r=n(28),i=n(102),s=n(34),o=n(88),a=n(98),c=n(97),l=i("wks"),u=r.Symbol,h=u&&u["for"],f=c?u:u&&u.withoutSetter||o;t.exports=function(t){if(!s(l,t)||!a&&"string"!=typeof l[t]){var e="Symbol."+t;a&&s(u,t)?l[t]=u[t]:l[t]=c&&h?h(e):f(e)}return l[t]}},function(t,e,n){var r=n(83),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){var r=n(38),i=n(103),s=n(157),o=n(72),a=n(94),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";e.f=r?s?function(t,e,n){if(o(t),e=a(e),o(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=u(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(o(t),e=a(e),o(n),i)try{return l(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},,function(t,e,n){var r=n(28),i=n(93).f,s=n(62),o=n(104),a=n(87),c=n(108),l=n(171);t.exports=function(t,e){var n,u,h,f,p,d,m=t.target,g=t.global,b=t.stat;if(u=g?r:b?r[m]||a(m,{}):(r[m]||{}).prototype,u)for(h in e){if(p=e[h],t.dontCallGetSet?(d=i(u,h),f=d&&d.value):f=u[h],n=l(g?h:m+(b?".":"#")+h,t.forced),!n&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(t.sham||f&&f.sham)&&s(p,"sham",!0),o(u,h,p,t)}}},function(t,e,n){var r=n(69),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){var r=n(33),i=r({}.toString),s=r("".slice);t.exports=function(t){return s(i(t),8,-1)}},function(t,e,n){var r=n(168);t.exports=function(t){return r(t.length)}},,,function(t,e,n){t.exports=n(202)},function(t,e,n){var r,i,s;(function(n,o){i=[],r=o,s="function"===typeof r?r.apply(e,i):r,void 0===s||(t.exports=s)})(0,(function(){var t=52.35987755982988,e=3.141592653589793,n=6378245,r=.006693421622965943,i=function(e,n){e=+e,n=+n;var r=e-.0065,i=n-.006,s=Math.sqrt(r*r+i*i)-2e-5*Math.sin(i*t),o=Math.atan2(i,r)-3e-6*Math.cos(r*t),a=s*Math.cos(o),c=s*Math.sin(o);return[a,c]},s=function(e,n){n=+n,e=+e;var r=Math.sqrt(e*e+n*n)+2e-5*Math.sin(n*t),i=Math.atan2(n,e)+3e-6*Math.cos(e*t),s=r*Math.cos(i)+.0065,o=r*Math.sin(i)+.006;return[s,o]},o=function(t,i){i=+i,t=+t;if(u(t,i))return[t,i];var s=c(t-105,i-35),o=l(t-105,i-35),a=i/180*e,h=Math.sin(a);h=1-r*h*h;var f=Math.sqrt(h);s=180*s/(n*(1-r)/(h*f)*e),o=180*o/(n/f*Math.cos(a)*e);var p=i+s,d=t+o;return[d,p]},a=function(t,i){i=+i,t=+t;if(u(t,i))return[t,i];var s=c(t-105,i-35),o=l(t-105,i-35),a=i/180*e,h=Math.sin(a);h=1-r*h*h;var f=Math.sqrt(h);s=180*s/(n*(1-r)/(h*f)*e),o=180*o/(n/f*Math.cos(a)*e);var p=i+s,d=t+o;return[2*t-d,2*i-p]},c=function(t,n){n=+n,t=+t;var r=2*t-100+3*n+.2*n*n+.1*t*n+.2*Math.sqrt(Math.abs(t));return r+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,r+=2*(20*Math.sin(n*e)+40*Math.sin(n/3*e))/3,r+=2*(160*Math.sin(n/12*e)+320*Math.sin(n*e/30))/3,r},l=function(t,n){n=+n,t=+t;var r=300+t+2*n+.1*t*t+.1*t*n+.1*Math.sqrt(Math.abs(t));return r+=2*(20*Math.sin(6*t*e)+20*Math.sin(2*t*e))/3,r+=2*(20*Math.sin(t*e)+40*Math.sin(t/3*e))/3,r+=2*(150*Math.sin(t/12*e)+300*Math.sin(t/30*e))/3,r},u=function(t,e){e=+e,t=+t;return!(t>73.66&&t<135.05&&e>3.86&&e<53.55)};return{bd09togcj02:i,gcj02tobd09:s,wgs84togcj02:o,gcj02towgs84:a}}))},function(t,e,n){var r=n(28),i=n(26),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(33);t.exports=r({}.isPrototypeOf)},function(t,e,n){var r=n(38),i=n(50),s=n(70);t.exports=r?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n(207)),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},,,,,,function(t,e,n){var r=n(32);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(43),i=String,s=TypeError;t.exports=function(t){if(r(t))return t;throw s(i(t)+" is not an object")}},function(t,e,n){var r=n(167);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},function(t,e,n){"use strict";var r,i,s,o=n(186),a=n(38),c=n(28),l=n(26),u=n(43),h=n(34),f=n(112),p=n(101),d=n(62),m=n(104),g=n(50).f,b=n(61),v=n(187),y=n(89),_=n(48),O=n(88),w=n(105),M=w.enforce,x=w.get,E=c.Int8Array,j=E&&E.prototype,A=c.Uint8ClampedArray,C=A&&A.prototype,k=E&&v(E),T=j&&v(j),S=Object.prototype,N=c.TypeError,I=_("toStringTag"),L=O("TYPED_ARRAY_TAG"),P="TypedArrayConstructor",R=o&&!!y&&"Opera"!==f(c.opera),F=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},$=function(t){if(!u(t))return!1;var e=f(t);return"DataView"===e||h(U,e)||h(D,e)},B=function(t){var e=v(t);if(u(e)){var n=x(e);return n&&h(n,P)?n[P]:B(e)}},q=function(t){if(!u(t))return!1;var e=f(t);return h(U,e)||h(D,e)},W=function(t){if(q(t))return t;throw N("Target is not a typed array")},V=function(t){if(l(t)&&(!y||b(k,t)))return t;throw N(p(t)+" is not a typed array constructor")},H=function(t,e,n,r){if(a){if(n)for(var i in U){var s=c[i];if(s&&h(s.prototype,t))try{delete s.prototype[t]}catch(o){try{s.prototype[t]=e}catch(l){}}}T[t]&&!n||m(T,t,n?e:R&&j[t]||e,r)}},Y=function(t,e,n){var r,i;if(a){if(y){if(n)for(r in U)if(i=c[r],i&&h(i,t))try{delete i[t]}catch(s){}if(k[t]&&!n)return;try{return m(k,t,n?e:R&&k[t]||e)}catch(s){}}for(r in U)i=c[r],!i||i[t]&&!n||m(i,t,e)}};for(r in U)i=c[r],s=i&&i.prototype,s?M(s)[P]=i:R=!1;for(r in D)i=c[r],s=i&&i.prototype,s&&(M(s)[P]=i);if((!R||!l(k)||k===Function.prototype)&&(k=function(){throw N("Incorrect invocation")},R))for(r in U)c[r]&&y(c[r],k);if((!R||!T||T===S)&&(T=k.prototype,R))for(r in U)c[r]&&y(c[r].prototype,T);if(R&&v(C)!==T&&y(C,T),a&&!h(T,I))for(r in F=!0,g(T,I,{get:function(){return u(this)?this[L]:void 0}}),U)c[r]&&d(c[r],L,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:F&&L,aTypedArray:W,aTypedArrayConstructor:V,exportTypedArrayMethod:H,exportTypedArrayStaticMethod:Y,getTypedArrayConstructor:B,isView:$,isTypedArray:q,TypedArray:k,TypedArrayPrototype:T}},,,,function(t,e,n){"use strict";(function(t){let r,i;function s(){var e;return void 0!==r||("undefined"!==typeof window&&window.performance?(r=!0,i=window.performance):"undefined"!==typeof t&&(null===(e=t.perf_hooks)||void 0===e?void 0:e.performance)?(r=!0,i=t.perf_hooks.performance):r=!1),r}function o(){return s()?i.now():Date.now()}n.d(e,"a",(function(){return o}))}).call(this,n(42))},,function(t,e,n){"use strict";(function(t){function r(){return i().__VUE_DEVTOOLS_GLOBAL_HOOK__}function i(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof t?t:{}}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s}));const s="function"===typeof Proxy}).call(this,n(42))},function(t,e,n){var r=n(82),i=n(83);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(33),i=n(32),s=n(54),o=Object,a=r("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?a(t,""):o(t)}:o},function(t,e,n){var r=n(84),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){return null===t||void 0===t}},function(t,e,n){var r=n(26),i=n(101),s=TypeError;t.exports=function(t){if(r(t))return t;throw s(i(t)+" is not a function")}},function(t,e,n){var r=n(28),i=n(87),s="__core-js_shared__",o=r[s]||i(s,{});t.exports=o},function(t,e,n){var r=n(28),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(33),i=0,s=Math.random(),o=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++i+s,36)}},function(t,e,n){var r=n(33),i=n(72),s=n(174);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(o){}return function(n,r){return i(n),s(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";(function(e){var r=n(35),i=n(208),s=n(118),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n(119)),t}function l(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(a(e,"application/json"),l(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(o){if("SyntaxError"===a.name)throw s(a,this,"E_JSON_PARSE");throw a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){u.headers[t]=r.merge(o)})),t.exports=u}).call(this,n(63))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Ne})),n.d(e,"b",(function(){return Y})),n.d(e,"c",(function(){return Pe}));var r=n(0);
  8. /*!
  9. * vue-router v4.0.3
  10. * (c) 2021 Eduardo San Martin Morote
  11. * @license MIT
  12. */const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,s=t=>i?Symbol("[vue-router]: "+t):"[vue-router]: "+t,o=s("router view location matched"),a=s("router view depth"),c=s("router"),l=s("route location"),u=s("router view location"),h="undefined"!==typeof window;function f(t){return t.__esModule||i&&"Module"===t[Symbol.toStringTag]}const p=Object.assign;function d(t,e){const n={};for(const r in e){const i=e[r];n[r]=Array.isArray(i)?i.map(t):t(i)}return n}let m=()=>{};function g(t){const e=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+t].concat(e))}const b=/\/$/,v=t=>t.replace(b,"");function y(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("?"),c=e.indexOf("#",a>-1?a:0);return a>-1&&(r=e.slice(0,a),s=e.slice(a+1,c>-1?c:e.length),i=t(s)),c>-1&&(r=r||e.slice(0,c),o=e.slice(c,e.length)),r=A(null!=r?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function _(t,e){let n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function O(t,e){return!e||t.toLowerCase().indexOf(e.toLowerCase())?t:t.slice(e.length)||"/"}function w(t,e,n){let r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&M(e.matched[r],n.matched[i])&&x(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function M(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function x(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(let n in t)if(!E(t[n],e[n]))return!1;return!0}function E(t,e){return Array.isArray(t)?j(t,e):Array.isArray(e)?j(e,t):t===e}function j(t,e){return Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}function A(t,e){if(t.startsWith("/"))return t;if(!e.startsWith("/"))return g(`Cannot resolve a relative location without an absolute path. Trying to resolve "${t}" from "${e}". It should look like "/${e}".`),t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i,s,o=n.length-1;for(i=0;i<r.length;i++)if(s=r[i],1!==o&&"."!==s){if(".."!==s)break;o--}return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var C,k;(function(t){t["pop"]="pop",t["push"]="push"})(C||(C={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(k||(k={}));function T(t){if(!t)if(h){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),v(t)}const S=/^[^#]+#/;function N(t,e){return t.replace(S,"#")+e}function I(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const L=()=>({left:window.pageXOffset,top:window.pageYOffset});function P(t){let e;if("el"in t){let r=t.el;const i="string"===typeof r&&r.startsWith("#");if("string"===typeof t.el&&(!i||!document.getElementById(t.el.slice(1))))try{let e=document.querySelector(t.el);if(i&&e)return void g(`The selector "${t.el}" should be passed as "el: document.querySelector('${t.el}')" because it starts with "#".`)}catch(n){return void g(`The selector "${t.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`)}const s="string"===typeof r?i?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!s)return void g(`Couldn't find element using selector "${t.el}" returned by scrollBehavior.`);e=I(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function R(t,e){const n=history.state?history.state.position-e:-1;return n+t}const F=new Map;function U(t,e){F.set(t,e)}function D(t){const e=F.get(t);return F.delete(t),e}let $=()=>location.protocol+"//"+location.host;function B(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let t=i.slice(1);return"/"!==t[0]&&(t="/"+t),O(t,"")}const o=O(n,t);return o+r+i}function q(t,e,n,r){let i=[],s=[],o=null;const a=({state:s})=>{const a=B(t,location),c=n.value,l=e.value;let u=0;if(s){if(n.value=a,e.value=s,o&&o===c)return void(o=null);u=l?s.position-l.position:0}else r(a);i.forEach(t=>{t(n.value,c,{delta:u,type:C.pop,direction:u?u>0?k.forward:k.back:k.unknown})})};function c(){o=n.value}function l(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return s.push(e),e}function u(){const{history:t}=window;t.state&&t.replaceState(p({},t.state,{scroll:L()}),"")}function h(){for(const t of s)t();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:c,listen:l,destroy:h}}function W(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?L():null}}function V(t){const{history:e,location:n}=window;let r={value:B(t,n)},i={value:e.state};function s(r,s,o){const a=t.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+r:$()+t+r;try{e[o?"replaceState":"pushState"](s,"",c),i.value=s}catch(l){g("Error with push/replace State",l),n[o?"replace":"assign"](c)}}function o(t,n){const o=p({},e.state,W(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});s(t,o,!0),r.value=t}function a(t,n){const o=p({},i.value,e.state,{forward:t,scroll:L()});e.state||g("history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\n\nhistory.replaceState(history.state, '', url)\n\nYou can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state."),s(o.current,o,!0);const a=p({},W(r.value,t,null),{position:o.position+1},n);s(t,a,!1),r.value=t}return i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:a,replace:o}}function H(t){t=T(t);const e=V(t),n=q(t,e.state,e.location,e.replace);function r(t,e=!0){e||n.pauseListeners(),history.go(t)}const i=p({location:"",base:t,go:r,createHref:N.bind(null,t)},e,n);return Object.defineProperty(i,"location",{get:()=>e.location.value}),Object.defineProperty(i,"state",{get:()=>e.state.value}),i}function Y(t){return t=location.host?t||location.pathname+location.search:"",t.indexOf("#")<0&&(t+="#"),t.endsWith("#/")||t.endsWith("#")||g(`A hash base must end with a "#":\n"${t}" should be "${t.replace(/#.*$/,"#")}".`),H(t)}function G(t){return"string"===typeof t||t&&"object"===typeof t}function z(t){return"string"===typeof t||"symbol"===typeof t}const X={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},K=s("navigation failure");var Q;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(Q||(Q={}));const J={[1]({location:t,currentLocation:e}){return`No match for\n ${JSON.stringify(t)}${e?"\nwhile being at\n"+JSON.stringify(e):""}`},[2]({from:t,to:e}){return`Redirected from "${t.fullPath}" to "${nt(e)}" via a navigation guard.`},[4]({from:t,to:e}){return`Navigation aborted from "${t.fullPath}" to "${e.fullPath}" via a navigation guard.`},[8]({from:t,to:e}){return`Navigation cancelled from "${t.fullPath}" to "${e.fullPath}" with a new navigation.`},[16]({from:t,to:e}){return`Avoided redundant navigation to current location: "${t.fullPath}".`}};function Z(t,e){return p(new Error(J[t](e)),{type:t,[K]:!0},e)}function tt(t,e){return t instanceof Error&&K in t&&(null==e||!!(t.type&e))}const et=["params","query","hash"];function nt(t){if("string"===typeof t)return t;if("path"in t)return t.path;const e={};for(const n of et)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}const rt="[^/]+?",it={sensitive:!1,strict:!1,start:!0,end:!0},st=/[.+*?^${}()[\]/\\]/g;function ot(t,e){const n=p({},it,e);let r=[],i=n.start?"^":"";const s=[];for(const u of t){const t=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let e=0;e<u.length;e++){const r=u[e];let o=40+(n.sensitive?.25:0);if(0===r.type)e||(i+="/"),i+=r.value.replace(st,"\\$&"),o+=40;else if(1===r.type){const{value:t,repeatable:n,optional:a,regexp:c}=r;s.push({name:t,repeatable:n,optional:a});const u=c||rt;if(u!==rt){o+=10;try{new RegExp(`(${u})`)}catch(l){throw new Error(`Invalid custom RegExp for param "${t}" (${u}): `+l.message)}}let h=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;e||(h=a?`(?:/${h})`:"/"+h),a&&(h+="?"),i+=h,o+=20,a&&(o+=-8),n&&(o+=-20),".*"===u&&(o+=-50)}t.push(o)}r.push(t)}if(n.strict&&n.end){const t=r.length-1;r[t][r[t].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(t){const e=t.match(o),n={};if(!e)return null;for(let r=1;r<e.length;r++){const t=e[r]||"",i=s[r-1];n[i.name]=t&&i.repeatable?t.split("/"):t}return n}function c(e){let n="",r=!1;for(const i of t){r&&n.endsWith("/")||(n+="/"),r=!1;for(const t of i)if(0===t.type)n+=t.value;else if(1===t.type){const{value:i,repeatable:s,optional:o}=t,a=i in e?e[i]:"";if(Array.isArray(a)&&!s)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const c=Array.isArray(a)?a.join("/"):a;if(!c){if(!o)throw new Error(`Missing required param "${i}"`);n.endsWith("/")?n=n.slice(0,-1):r=!0}n+=c}}return n}return{re:o,score:r,keys:s,parse:a,stringify:c}}function at(t,e){let n=0;while(n<t.length&&n<e.length){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function ct(t,e){let n=0;const r=t.score,i=e.score;while(n<r.length&&n<i.length){const t=at(r[n],i[n]);if(t)return t;n++}return i.length-r.length}const lt={type:0,value:""},ut=/[a-zA-Z0-9_]/;function ht(t){if(!t)return[[]];if("/"===t)return[[lt]];if(!t.startsWith("/"))throw new Error(`Route paths should start with a "/": "${t}" should be "/${t}".`);function e(t){throw new Error(`ERR (${n})/"${l}": ${t}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a,c=0,l="",u="";function h(){l&&(0===n?s.push({type:0,value:l}):1===n||2===n||3===n?(s.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),l="")}function f(){l+=a}while(c<t.length)if(a=t[c++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(l&&h(),o()):":"===a?(h(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===a?n=2:ut.test(a)?f():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--,u="";break;default:e("Unknown state");break}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${l}"`),h(),o(),i}function ft(t,e,n){const r=ot(ht(t.path),n);{const e=new Set;for(const n of r.keys)e.has(n.name)&&g(`Found duplicated params with name "${n.name}" for path "${t.path}". Only the last one will be available on "$route.params".`),e.add(n.name)}const i=p(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf===!e.record.aliasOf&&e.children.push(i),i}function pt(t,e){const n=[],r=new Map;function i(t){return r.get(t)}function s(t,n,r){let i=!r,a=mt(t);a.aliasOf=r&&r.record;const l=yt(e,t),u=[a];if("alias"in t){const e="string"===typeof t.alias?[t.alias]:t.alias;for(const t of e)u.push(p({},a,{components:r?r.record.components:a.components,path:t,aliasOf:r?r.record:a}))}let h,f;for(const e of u){let{path:u}=e;if(n&&"/"!==u[0]){let t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(u&&r+u)}if("*"===e.path)throw new Error('Catch all routes ("*") must now be defined using a param with a custom regexp.\nSee more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.');if(h=ft(e,n,l),n&&"/"===u[0]&&wt(h,n),r?(r.alias.push(h),Ot(r,h)):(f=f||h,f!==h&&f.alias.push(h),i&&t.name&&!bt(h)&&o(t.name)),"children"in a){let t=a.children;for(let e=0;e<t.length;e++)s(t[e],h,r&&r.children[e])}r=r||h,c(h)}return f?()=>{o(f)}:m}function o(t){if(z(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{let e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function a(){return n}function c(t){let e=0;while(e<n.length&&ct(t,n[e])>=0)e++;n.splice(e,0,t),t.record.name&&!bt(t)&&r.set(t.record.name,t)}function l(t,e){let i,s,o,a={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw Z(1,{location:t});o=i.record.name,a=p(dt(e.params,i.keys.filter(t=>!t.optional).map(t=>t.name)),t.params),s=i.stringify(a)}else if("path"in t)s=t.path,s.startsWith("/")||g(`The Matcher cannot resolve relative paths but received "${s}". Unless you directly called \`matcher.resolve("${s}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-router-next.`),i=n.find(t=>t.re.test(s)),i&&(a=i.parse(s),o=i.record.name);else{if(i=e.name?r.get(e.name):n.find(t=>t.re.test(e.path)),!i)throw Z(1,{location:t,currentLocation:e});o=i.record.name,a=p({},e.params,t.params),s=i.stringify(a)}const c=[];let l=i;while(l)c.unshift(l.record),l=l.parent;return{name:o,path:s,params:a,matched:c,meta:vt(c)}}return e=yt({strict:!1,end:!0,sensitive:!1},e),t.forEach(t=>s(t)),{addRoute:s,resolve:l,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function dt(t,e){let n={};for(let r of e)r in t&&(n[r]=t[r]);return n}function mt(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:gt(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function gt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(let r in t.components)e[r]="boolean"===typeof n?n:n[r];return e}function bt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function vt(t){return t.reduce((t,e)=>p(t,e.meta),{})}function yt(t,e){let n={};for(let r in t)n[r]=r in e?e[r]:t[r];return n}function _t(t,e){return t.name===e.name&&t.optional===e.optional&&t.repeatable===e.repeatable}function Ot(t,e){for(let n of t.keys)if(!e.keys.find(_t.bind(null,n)))return g(`Alias "${e.record.path}" and the original record: "${t.record.path}" should have the exact same param named "${n.name}"`);for(let n of e.keys)if(!t.keys.find(_t.bind(null,n)))return g(`Alias "${e.record.path}" and the original record: "${t.record.path}" should have the exact same param named "${n.name}"`)}function wt(t,e){for(let n of e.keys)if(!t.keys.find(_t.bind(null,n)))return g(`Absolute path "${t.record.path}" should have the exact same param named "${n.name}" as its parent "${e.record.path}".`)}const Mt=/#/g,xt=/&/g,Et=/\//g,jt=/=/g,At=/\?/g,Ct=/\+/g,kt=/%5B/g,Tt=/%5D/g,St=/%5E/g,Nt=/%60/g,It=/%7B/g,Lt=/%7C/g,Pt=/%7D/g,Rt=/%20/g;function Ft(t){return encodeURI(""+t).replace(Lt,"|").replace(kt,"[").replace(Tt,"]")}function Ut(t){return Ft(t).replace(It,"{").replace(Pt,"}").replace(St,"^")}function Dt(t){return Ft(t).replace(Ct,"%2B").replace(Rt,"+").replace(Mt,"%23").replace(xt,"%26").replace(Nt,"`").replace(It,"{").replace(Pt,"}").replace(St,"^")}function $t(t){return Dt(t).replace(jt,"%3D")}function Bt(t){return Ft(t).replace(Mt,"%23").replace(At,"%3F")}function qt(t){return Bt(t).replace(Et,"%2F")}function Wt(t){try{return decodeURIComponent(""+t)}catch(e){g(`Error decoding "${t}". Using original value`)}return""+t}function Vt(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],r=(n?t.slice(1):t).split("&");for(let i=0;i<r.length;++i){const t=r[i].replace(Ct," ");let n=t.indexOf("="),s=Wt(n<0?t:t.slice(0,n)),o=n<0?null:Wt(t.slice(n+1));if(s in e){let t=e[s];Array.isArray(t)||(t=e[s]=[t]),t.push(o)}else e[s]=o}return e}function Ht(t){let e="";for(let n in t){e.length&&(e+="&");const r=t[n];if(n=$t(n),null==r){void 0!==r&&(e+=n);continue}let i=Array.isArray(r)?r.map(t=>t&&Dt(t)):[r&&Dt(r)];for(let t=0;t<i.length;t++)e+=(t?"&":"")+n,null!=i[t]&&(e+="="+i[t])}return e}function Yt(t){const e={};for(let n in t){let r=t[n];void 0!==r&&(e[n]=Array.isArray(r)?r.map(t=>null==t?null:""+t):null==r?r:""+r)}return e}function Gt(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function zt(t,e,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const c=t=>{!1===t?a(Z(4,{from:n,to:e})):t instanceof Error?a(t):G(t)?a(Z(2,{from:e,to:t})):(s&&r.enterCallbacks[i]===s&&"function"===typeof t&&s.push(t),o())},l=t.call(r&&r.instances[i],e,n,Xt(c,e,n));let u=Promise.resolve(l);if(t.length<3&&(u=u.then(c)),t.length>2){const e=`The "next" callback was never called inside of ${t.name?'"'+t.name+'"':""}:\n${t.toString()}\n. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if("object"===typeof l&&"then"in l)u=u.then(t=>c._called?t:(g(e),Promise.reject(new Error("Invalid navigation guard"))));else if(void 0!==l&&!c._called)return g(e),void a(new Error("Invalid navigation guard"))}u.catch(t=>a(t))})}function Xt(t,e,n){let r=0;return function(){1===r++&&g(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${e.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),t._called=!0,1===r&&t.apply(null,arguments)}}function Kt(t,e,n,r){const i=[];for(const s of t)for(const t in s.components){let o=s.components[t];if(!o||"object"!==typeof o&&"function"!==typeof o)throw g(`Component "${t}" in record with path "${s.path}" is not a valid component. Received "${String(o)}".`),new Error("Invalid route component");if("then"in o){g(`Component "${t}" in record with path "${s.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);let e=o;o=()=>e}else o.__asyncLoader&&!o.__warnedDefineAsync&&(o.__warnedDefineAsync=!0,g(`Component "${t}" in record with path "${s.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));if("beforeRouteEnter"===e||s.instances[t])if(Qt(o)){let a=o.__vccOpts||o;const c=a[e];c&&i.push(zt(c,n,r,s,t))}else{let a=o();"catch"in a?a=a.catch(t=>t&&g(t)):(g(`Component "${t}" in record with path "${s.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),a=Promise.resolve(a)),i.push(()=>a.then(i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${s.path}"`));const o=f(i)?i.default:i;s.components[t]=o;const a=o[e];return a&&zt(a,n,r,s,t)()}))}}return i}function Qt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function Jt(t){const e=Object(r["u"])(c),n=Object(r["u"])(l),i=Object(r["f"])(()=>e.resolve(Object(r["Z"])(t.to))),s=Object(r["f"])(()=>{let{matched:t}=i.value,{length:e}=t;const r=t[e-1];let s=n.matched;if(!r||!s.length)return-1;let o=s.findIndex(M.bind(null,r));if(o>-1)return o;let a=re(t[e-2]);return e>1&&re(r)===a&&s[s.length-1].path!==a?s.findIndex(M.bind(null,t[e-2])):o}),o=Object(r["f"])(()=>s.value>-1&&ne(n.params,i.value.params)),a=Object(r["f"])(()=>s.value>-1&&s.value===n.matched.length-1&&x(n.params,i.value.params));function u(n={}){return ee(n)?e[Object(r["Z"])(t.replace)?"replace":"push"](Object(r["Z"])(t.to)):Promise.resolve()}return{route:i,href:Object(r["f"])(()=>i.value.href),isActive:o,isExactActive:a,navigate:u}}const Zt=Object(r["p"])({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup(t,{slots:e,attrs:n}){const i=Object(r["M"])(Jt(t)),{options:s}=Object(r["u"])(c),o=Object(r["f"])(()=>({[ie(t.activeClass,s.linkActiveClass,"router-link-active")]:i.isActive,[ie(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const s=e.default&&e.default(i);return t.custom?s:Object(r["t"])("a",p({"aria-current":i.isExactActive?t.ariaCurrentValue:null,onClick:i.navigate,href:i.href},n,{class:o.value}),s)}}}),te=Zt;function ee(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function ne(t,e){for(let n in e){let r=e[n],i=t[n];if("string"===typeof r){if(r!==i)return!1}else if(!Array.isArray(i)||i.length!==r.length||r.some((t,e)=>t!==i[e]))return!1}return!0}function re(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ie=(t,e,n)=>null!=t?t:null!=e?e:n,se=Object(r["p"])({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:e,slots:n}){ce();const i=Object(r["u"])(u),s=Object(r["f"])(()=>t.route||i.value),c=Object(r["u"])(a,0),l=Object(r["f"])(()=>s.value.matched[c]);Object(r["K"])(a,c+1),Object(r["K"])(o,l),Object(r["K"])(u,s);const h=Object(r["N"])();return Object(r["cb"])(()=>[h.value,l.value,t.name],([t,e,n],[r,i,s])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards=i.leaveGuards,e.updateGuards=i.updateGuards)),!t||!e||i&&M(e,i)&&r||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=s.value,o=l.value,a=o&&o.components[t.name],c=t.name;if(!a)return oe(n.default,{Component:a,route:i});const u=o.props[t.name],f=u?!0===u?i.params:"function"===typeof u?u(i):u:null,d=t=>{t.component.isUnmounted&&(o.instances[c]=null)},m=Object(r["t"])(a,p({},f,e,{onVnodeUnmounted:d,ref:h}));return oe(n.default,{Component:m,route:i})||m}}});function oe(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ae=se;function ce(){const t=Object(r["r"])(),e=t.parent&&t.parent.type.name;if(e&&("KeepAlive"===e||e.includes("Transition"))){const t="KeepAlive"===e?"keep-alive":"transition";g(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.\nUse slot props instead:\n\n<router-view v-slot="{ Component }">\n <${t}>\n <component :is="Component" />\n </${t}>\n</router-view>`)}}function le(){return ue().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ue(){return"undefined"!==typeof navigator?window:"undefined"!==typeof t?t:{}}const he="devtools-plugin:setup";function fe(t,e){const n=le();if(n)n.emit(he,t,e);else{const n=ue(),r=n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[];r.push({pluginDescriptor:t,setupFn:e})}}function pe(t,e){const n=p({},t,{matched:t.matched.map(t=>Se(t,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:t.fullPath,tooltip:e,value:n}}}function de(t){return{_custom:{display:t}}}let me=0;function ge(t,e,n){const i=me++;fe({id:" "+i,label:"Router devtools",app:t},s=>{s.on.inspectComponent((t,n)=>{t.instanceData&&t.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:pe(e.currentRoute.value,"Current Route")})}),Object(r["cb"])(e.currentRoute,()=>{c(),s.notifyComponentUpdate(),s.sendInspectorTree(a)});const o="router:navigations:"+i;s.addTimelineLayer({id:o,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError(t=>{s.addTimelineEvent({layerId:o,event:{logType:"error",time:Date.now(),data:{error:t}}})}),e.beforeEach((t,e)=>{const n={guard:de("beforeEach"),from:pe(e,"Current Location during this navigation"),to:pe(t,"Target location")};s.addTimelineEvent({layerId:o,event:{time:Date.now(),meta:{},data:n}})}),e.afterEach((t,e,n)=>{const r={guard:de("afterEach")};n?(r.failure={_custom:{type:Error,readOnly:!0,display:n?n.message:"",tooltip:"Navigation Failure",value:n}},r.status=de("❌")):r.status=de("✅"),r.from=pe(e,"Current Location during this navigation"),r.to=pe(t,"Target location"),s.addTimelineEvent({layerId:o,event:{time:Date.now(),data:r,logType:n?"warning":"default",meta:{}}})});const a="router-inspector:"+i;function c(){if(!l)return;const t=l;let r=n.getRoutes().filter(t=>!t.parent);r.forEach(ke),t.filter&&(r=r.filter(e=>Te(e,t.filter.toLowerCase()))),r.forEach(t=>Ce(t,e.currentRoute.value)),t.rootNodes=r.map(Ee)}let l;s.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),s.on.getInspectorTree(e=>{l=e,e.app===t&&e.inspectorId===a&&c()}),s.on.getInspectorState(e=>{if(e.app===t&&e.inspectorId===a){const t=n.getRoutes(),r=t.find(t=>t.record.__vd_id===e.nodeId);r&&(e.state={options:ve(r)})}}),s.sendInspectorTree(a),s.sendInspectorState(a)})}function be(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}function ve(t){const{record:e}=t,n=[{editable:!1,key:"path",value:e.path}];return null!=e.name&&n.push({editable:!1,key:"name",value:e.name}),n.push({editable:!1,key:"regexp",value:t.re}),t.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:t.keys.map(t=>`${t.name}${be(t)}`).join(" "),tooltip:"Param keys",value:t.keys}}}),null!=e.redirect&&n.push({editable:!1,key:"redirect",value:e.redirect}),t.alias.length&&n.push({editable:!1,key:"aliases",value:t.alias.map(t=>t.record.path)}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:t.score.map(t=>t.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:t.score}}}),n}const ye=15485081,_e=2450411,Oe=8702998,we=2282478,Me=16486972,xe=6710886;function Ee(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:we}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:Me}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:ye}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:Oe}),t.__vd_active&&e.push({label:"active",textColor:0,backgroundColor:_e}),n.redirect&&e.push({label:"redirect: "+("string"===typeof n.redirect?n.redirect:"Object"),textColor:16777215,backgroundColor:xe});let r=String(je++);return n.__vd_id=r,{id:r,label:n.path,tags:e,children:t.children.map(Ee)}}let je=0;const Ae=/^\/(.*)\/([a-z]*)$/;function Ce(t,e){const n=e.matched.length&&M(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(e=>M(e,t.record))),t.children.forEach(t=>Ce(t,e))}function ke(t){t.__vd_match=!1,t.children.forEach(ke)}function Te(t,e){const n=String(t.re).match(Ae);if(t.__vd_match=!1,!n||n.length<3)return!1;const r=new RegExp(n[1].replace(/\$$/,""),n[2]);if(r.test(e))return t.children.forEach(t=>Te(t,e)),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),s=Wt(i);return!(e.startsWith("/")||!s.includes(e)&&!i.includes(e))||(!(!s.startsWith(e)&&!i.startsWith(e))||(!(!t.record.name||!String(t.record.name).includes(e))||t.children.some(t=>Te(t,e))))}function Se(t,e){const n={};for(let r in t)e.includes(r)||(n[r]=t[r]);return n}function Ne(t){const e=pt(t.routes,t);let n=t.parseQuery||Vt,i=t.stringifyQuery||Ht,s=t.history;const o=Gt(),a=Gt(),f=Gt(),b=Object(r["V"])(X);let v=X;h&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const O=d.bind(null,t=>""+t),M=d.bind(null,qt),x=d.bind(null,Wt);function E(t,n){let r,i;return z(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)}function j(t){let n=e.getRecordMatcher(t);n?e.removeRoute(n):g(`Cannot remove non-existent route "${String(t)}"`)}function A(){return e.getRoutes().map(t=>t.record)}function C(t){return!!e.getRecordMatcher(t)}function k(t,r){if(r=p({},r||b.value),"string"===typeof t){let i=y(n,t,r.path),o=e.resolve({path:i.path},r),a=s.createHref(i.fullPath);return a.startsWith("//")?g(`Location "${t}" resolved to "${a}". A resolved location cannot start with multiple slashes.`):o.matched.length||g(`No match found for location with path "${t}"`),p(i,o,{params:x(o.params),hash:Wt(i.hash),redirectedFrom:void 0,href:a})}let o;"path"in t?("params"in t&&!("name"in t)&&Object.keys(t.params).length&&g(`Path "${t.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),o=p({},t,{path:y(n,t.path,r.path).path})):(o=p({},t,{params:M(t.params)}),r.params=M(r.params));let a=e.resolve(o,r);const c=t.hash||"";c&&!c.startsWith("#")&&g(`A \`hash\` should always start with the character "#". Replace "${c}" with "#${c}".`),a.params=O(x(a.params));const l=_(i,p({},t,{hash:Ut(c),path:a.path}));let u=s.createHref(l);return u.startsWith("//")?g(`Location "${t}" resolved to "${u}". A resolved location cannot start with multiple slashes.`):a.matched.length||g(`No match found for location with path "${"path"in t?t.path:t}"`),p({fullPath:l,hash:c,query:i===Ht?Yt(t.query):t.query},a,{redirectedFrom:void 0,href:u})}function T(t){return"string"===typeof t?y(n,t,b.value.path):p({},t)}function S(t,e){if(v!==t)return Z(8,{from:e,to:t})}function N(t){return $(t)}function I(t){return N(p(T(t),{replace:!0}))}function F(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"===typeof n?n(t):n;if("string"===typeof r&&(r=r.indexOf("?")>-1||r.indexOf("#")>-1?r=T(r):{path:r}),!("path"in r)&&!("name"in r))throw g(`Invalid redirect found:\n${JSON.stringify(r,null,2)}\n when navigating to "${t.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return p({query:t.query,hash:t.hash,params:t.params},r)}}function $(t,e){const n=v=k(t),r=b.value,s=t.state,o=t.force,a=!0===t.replace,c=F(n);if(c)return $(p(T(c),{state:s,force:o,replace:a}),e||n);const l=n;let u;return l.redirectedFrom=e,!o&&w(i,r,n)&&(u=Z(16,{to:l,from:r}),rt(r,r,!0,!1)),(u?Promise.resolve(u):q(l,r)).catch(t=>tt(t)?t:J(t)).then(t=>{if(t){if(tt(t,2))return w(i,k(t.to),l)&&e&&(e._count=e._count?e._count+1:1)>10?(g(`Detected an infinite redirection in a navigation guard when going from "${r.fullPath}" to "${l.fullPath}". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$(p(T(t.to),{state:s,force:o,replace:a}),e||l)}else t=V(l,r,!0,a,s);return W(l,r,t),t})}function B(t,e){const n=S(t,e);return n?Promise.reject(n):Promise.resolve()}function q(t,e){let n;const[r,i,s]=Le(t,e);n=Kt(r.reverse(),"beforeRouteLeave",t,e);for(const o of r)o.leaveGuards.forEach(r=>{n.push(zt(r,t,e))});const c=B.bind(null,t,e);return n.push(c),Ie(n).then(()=>{n=[];for(const r of o.list())n.push(zt(r,t,e));return n.push(c),Ie(n)}).then(()=>{n=Kt(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach(r=>{n.push(zt(r,t,e))});return n.push(c),Ie(n)}).then(()=>{n=[];for(const r of t.matched)if(r.beforeEnter&&e.matched.indexOf(r)<0)if(Array.isArray(r.beforeEnter))for(const i of r.beforeEnter)n.push(zt(i,t,e));else n.push(zt(r.beforeEnter,t,e));return n.push(c),Ie(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=Kt(s,"beforeRouteEnter",t,e),n.push(c),Ie(n))).then(()=>{n=[];for(const r of a.list())n.push(zt(r,t,e));return n.push(c),Ie(n)}).catch(t=>tt(t,8)?t:Promise.reject(t))}function W(t,e,n){for(const r of f.list())r(t,e,n)}function V(t,e,n,r,i){const o=S(t,e);if(o)return o;const a=e===X,c=h?history.state:{};n&&(r||a?s.replace(t.fullPath,p({scroll:a&&c&&c.scroll},i)):s.push(t.fullPath,i)),b.value=t,rt(t,e,n,a),nt()}let H;function Y(){H=s.listen((t,e,n)=>{let r=k(t);const i=F(r);if(i)return void $(p(i,{replace:!0}),r).catch(m);v=r;const o=b.value;h&&U(R(o.fullPath,n.delta),L()),q(r,o).catch(t=>tt(t,12)?t:tt(t,2)?($(t.to,r).catch(m),Promise.reject()):(n.delta&&s.go(-n.delta,!1),J(t))).then(t=>{t=t||V(r,o,!1),t&&n.delta&&s.go(-n.delta,!1),W(r,o,t)}).catch(m)})}let G,K=Gt(),Q=Gt();function J(t){return nt(t),Q.list().forEach(e=>e(t)),Promise.reject(t)}function et(){return G&&b.value!==X?Promise.resolve():new Promise((t,e)=>{K.add([t,e])})}function nt(t){G||(G=!0,Y(),K.list().forEach(([e,n])=>t?n(t):e()),K.reset())}function rt(e,n,i,s){const{scrollBehavior:o}=t;if(!h||!o)return Promise.resolve();let a=!i&&D(R(e.fullPath,0))||(s||!i)&&history.state&&history.state.scroll||null;return Object(r["y"])().then(()=>o(e,n,a)).then(t=>t&&P(t)).catch(J)}const it=t=>s.go(t);let st;const ot=new Set,at={currentRoute:b,addRoute:E,removeRoute:j,hasRoute:C,getRoutes:A,resolve:k,options:t,push:N,replace:I,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:o.add,beforeResolve:a.add,afterEach:f.add,onError:Q.add,isReady:et,install(t){const n=this;t.component("RouterLink",te),t.component("RouterView",ae),t.config.globalProperties.$router=n,Object.defineProperty(t.config.globalProperties,"$route",{get:()=>Object(r["Z"])(b)}),h&&!st&&b.value===X&&(st=!0,N(s.location).catch(t=>{g("Unexpected error when starting the router:",t)}));const i={};for(let e in X)i[e]=Object(r["f"])(()=>b.value[e]);t.provide(c,n),t.provide(l,Object(r["M"])(i)),t.provide(u,b);let o=t.unmount;ot.add(t),t.unmount=function(){ot.delete(t),ot.size<1&&(H(),b.value=X,st=!1,G=!1),o.call(this,arguments)},ge(t,n,e)}};return at}function Ie(t){return t.reduce((t,e)=>t.then(()=>e()),Promise.resolve())}function Le(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;o<s;o++){const s=e.matched[o];s&&(t.matched.indexOf(s)<0?n.push(s):r.push(s));const a=t.matched[o];a&&e.matched.indexOf(a)<0&&i.push(a)}return[n,r,i]}function Pe(){return Object(r["u"])(l)}}).call(this,n(42))},,function(t,e,n){var r=n(38),i=n(53),s=n(152),o=n(70),a=n(81),c=n(94),l=n(34),u=n(103),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=a(t),e=c(e),u)try{return h(t,e)}catch(n){}if(l(t,e))return o(!i(s.f,t,e),t[e])}},function(t,e,n){var r=n(153),i=n(96);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},function(t,e,n){var r=n(60),i=n(26),s=n(61),o=n(97),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&s(e.prototype,a(t))}},function(t,e,n){var r=n(98);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(99),i=n(32);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r,i,s=n(28),o=n(154),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},function(t,e,n){var r=n(85),i=n(84);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},function(t,e,n){var r=n(71),i=n(86);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var r=n(38),i=n(32),s=n(156);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(26),i=n(50),s=n(158),o=n(87);t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:e;if(r(n)&&s(n,l,a),a.global)c?t[e]=n:o(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(u){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},function(t,e,n){var r,i,s,o=n(161),a=n(28),c=n(43),l=n(62),u=n(34),h=n(86),f=n(106),p=n(107),d="Object already initialized",m=a.TypeError,g=a.WeakMap,b=function(t){return s(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(o||h.state){var y=h.state||(h.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw m(d);return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},s=function(t){return y.has(t)}}else{var _=f("state");p[_]=!0,r=function(t,e){if(u(t,_))throw m(d);return e.facade=t,l(t,_,e),e},i=function(t){return u(t,_)?t[_]:{}},s=function(t){return u(t,_)}}t.exports={set:r,get:i,has:s,enforce:b,getterFor:v}},function(t,e,n){var r=n(102),i=n(88),s=r("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(34),i=n(162),s=n(93),o=n(50);t.exports=function(t,e,n){for(var a=i(e),c=o.f,l=s.f,u=0;u<a.length;u++){var h=a[u];r(t,h)||n&&r(n,h)||c(t,h,l(e,h))}}},function(t,e,n){var r=n(26),i=n(43),s=n(89);t.exports=function(t,e,n){var o,a;return s&&r(o=e.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&s(t,a),t}},function(t,e,n){var r=n(111);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},function(t,e,n){var r=n(112),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e,n){var r=n(176),i=n(26),s=n(54),o=n(48),a=o("toStringTag"),c=Object,l="Arguments"==s(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(n){}};t.exports=r?s:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=c(t),a))?n:l?s(e):"Object"==(r=s(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){var r=n(33),i=Error,s=r("".replace),o=function(t){return String(i(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=s(t,a,"");return t}},function(t,e,n){var r=n(190),i=n(82),s=n(49),o=n(55),a=function(t){var e=1==t;return function(n,a,c){var l,u,h=s(n),f=i(h),p=r(a,c),d=o(f);while(d-- >0)if(l=f[d],u=p(l,d,h),u)switch(t){case 0:return l;case 1:return d}return e?-1:void 0}};t.exports={findLast:a(0),findLastIndex:a(1)}},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(35);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var s;if(n)s=n(e);else if(r.isURLSearchParams(e))s=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))})))})),s=o.join("&")}if(s){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(35),i=n(209),s=n(210),o=n(117),a=n(211),c=n(214),l=n(215),u=n(120);t.exports=function(t){return new Promise((function(e,n){var h=t.data,f=t.headers,p=t.responseType;r.isFormData(h)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var m=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";f.Authorization="Basic "+btoa(m+":"+g)}var b=a(t.baseURL,t.url);function v(){if(d){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,s=p&&"text"!==p&&"json"!==p?d.response:d.responseText,o={data:s,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,n,o),d=null}}if(d.open(t.method.toUpperCase(),o(b,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=v:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(v)},d.onabort=function(){d&&(n(u("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=(t.withCredentials||l(b))&&t.xsrfCookieName?s.read(t.xsrfCookieName):void 0;y&&(f[t.xsrfHeaderName]=y)}"setRequestHeader"in d&&r.forEach(f,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),p&&"json"!==p&&(d.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),h||(h=null),d.send(h)}))}},function(t,e,n){"use strict";var r=n(118);t.exports=function(t,e,n,i,s){var o=new Error(t);return r(o,e,n,i,s)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(35);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],s=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function l(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(s,l),r.forEach(o,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(a,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var u=i.concat(s).concat(o).concat(a),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(h,l),n}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},,,,function(t,e,n){"use strict";var r=n(52),i=n(232).left,s=n(233),o=n(99),a=n(234),c=s("reduce"),l=!a&&o>79&&o<83;r({target:"Array",proto:!0,forced:!c||l},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return W}));const r="3.7.3",i=r,s="function"===typeof atob,o="function"===typeof btoa,a="function"===typeof t,c="function"===typeof TextDecoder?new TextDecoder:void 0,l="function"===typeof TextEncoder?new TextEncoder:void 0,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=Array.prototype.slice.call(u),f=(t=>{let e={};return t.forEach((t,n)=>e[t]=n),e})(h),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,d=String.fromCharCode.bind(String),m="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(t,e=(t=>t))=>new Uint8Array(Array.prototype.slice.call(t,0).map(e)),g=t=>t.replace(/=/g,"").replace(/[+\/]/g,t=>"+"==t?"-":"_"),b=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),v=t=>{let e,n,r,i,s="";const o=t.length%3;for(let a=0;a<t.length;){if((n=t.charCodeAt(a++))>255||(r=t.charCodeAt(a++))>255||(i=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=n<<16|r<<8|i,s+=h[e>>18&63]+h[e>>12&63]+h[e>>6&63]+h[63&e]}return o?s.slice(0,o-3)+"===".substring(o):s},y=o?t=>btoa(t):a?e=>t.from(e,"binary").toString("base64"):v,_=a?e=>t.from(e).toString("base64"):t=>{const e=4096;let n=[];for(let r=0,i=t.length;r<i;r+=e)n.push(d.apply(null,t.subarray(r,r+e)));return y(n.join(""))},O=(t,e=!1)=>e?g(_(t)):_(t),w=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?d(192|e>>>6)+d(128|63&e):d(224|e>>>12&15)+d(128|e>>>6&63)+d(128|63&e)}e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return d(240|e>>>18&7)+d(128|e>>>12&63)+d(128|e>>>6&63)+d(128|63&e)},M=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,x=t=>t.replace(M,w),E=a?e=>t.from(e,"utf8").toString("base64"):l?t=>_(l.encode(t)):t=>y(x(t)),j=(t,e=!1)=>e?g(E(t)):E(t),A=t=>j(t,!0),C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,k=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return d(55296+(n>>>10))+d(56320+(1023&n));case 3:return d((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return d((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},T=t=>t.replace(C,k),S=t=>{if(t=t.replace(/\s+/g,""),!p.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let e,n,r,i="";for(let s=0;s<t.length;)e=f[t.charAt(s++)]<<18|f[t.charAt(s++)]<<12|(n=f[t.charAt(s++)])<<6|(r=f[t.charAt(s++)]),i+=64===n?d(e>>16&255):64===r?d(e>>16&255,e>>8&255):d(e>>16&255,e>>8&255,255&e);return i},N=s?t=>atob(b(t)):a?e=>t.from(e,"base64").toString("binary"):S,I=a?e=>m(t.from(e,"base64")):t=>m(N(t),t=>t.charCodeAt(0)),L=t=>I(R(t)),P=a?e=>t.from(e,"base64").toString("utf8"):c?t=>c.decode(I(t)):t=>T(N(t)),R=t=>b(t.replace(/[-_]/g,t=>"-"==t?"+":"/")),F=t=>P(R(t)),U=t=>{if("string"!==typeof t)return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},D=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),$=function(){const t=(t,e)=>Object.defineProperty(String.prototype,t,D(e));t("fromBase64",(function(){return F(this)})),t("toBase64",(function(t){return j(this,t)})),t("toBase64URI",(function(){return j(this,!0)})),t("toBase64URL",(function(){return j(this,!0)})),t("toUint8Array",(function(){return L(this)}))},B=function(){const t=(t,e)=>Object.defineProperty(Uint8Array.prototype,t,D(e));t("toBase64",(function(t){return O(this,t)})),t("toBase64URI",(function(){return O(this,!0)})),t("toBase64URL",(function(){return O(this,!0)}))},q=()=>{$(),B()},W={version:r,VERSION:i,atob:N,atobPolyfill:S,btoa:y,btoaPolyfill:v,fromBase64:F,toBase64:j,encode:j,encodeURI:A,encodeURL:A,utob:x,btou:T,decode:F,isValid:U,fromUint8Array:O,toUint8Array:L,extendString:$,extendUint8Array:B,extendBuiltins:q}}).call(this,n(196).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(0);const i={};function s(t){let e=null;return new Promise((n,r)=>{if(t.src)if(/^data\:/i.test(t.src))e=a(t.src),n(e);else if(/^blob\:/i.test(t.src)){var i=new FileReader;i.onload=function(t){e=t.target.result,n(e)},o(t.src,(function(t){i.readAsArrayBuffer(t)}))}else{var s=new XMLHttpRequest;s.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=s.response,n(e),s=null},s.open("GET",t.src,!0),s.responseType="arraybuffer",s.send(null)}else r("img error")})}function o(t,e){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(t){200!=this.status&&0!==this.status||e(this.response)},n.send()}function a(t){t=t.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var e=atob(t),n=e.length,r=new ArrayBuffer(n),i=new Uint8Array(r),s=0;s<n;s++)i[s]=e.charCodeAt(s);return r}function c(t,e,n){var r,i="";for(r=e,n+=e;r<n;r++)i+=String.fromCharCode(t.getUint8(r));return i}function l(t){var e,n,r,i,s,o,a,l,u,h,f=new DataView(t),p=f.byteLength;if(255===f.getUint8(0)&&216===f.getUint8(1)){u=2;while(u<p){if(255===f.getUint8(u)&&225===f.getUint8(u+1)){a=u;break}u++}}if(a&&(n=a+4,r=a+10,"Exif"===c(f,n,4)&&(o=f.getUint16(r),s=18761===o,(s||19789===o)&&42===f.getUint16(r+2,s)&&(i=f.getUint32(r+4,s),i>=8&&(l=r+i)))),l)for(p=f.getUint16(l,s),h=0;h<p;h++)if(u=l+12*h+2,274===f.getUint16(u,s)){u+=8,e=f.getUint16(u,s);break}return e}i.getData=t=>new Promise((e,n)=>{let r={};s(t).then(t=>{r.arrayBuffer=t,r.orientation=l(t),e(r)}).catch(t=>{n(t)})});var u=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n};const h=Object(r["p"])({data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10}},computed:{cropInfo(){let t={};if(t.top=this.cropOffsertY>21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){let e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE(){const t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(t){""!==t&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(t,e){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(t){t&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(t){var e=navigator.userAgent.split(" "),n="";let r=0;const i=new RegExp(t,"i");for(var s=0;s<e.length;s++)i.test(e[s])&&(n=e[s]);return r=n?n.split("/")[1].split("."):["0","0","0"],r},checkOrientationImage(t,e,n,r){if(this.getVersion("chrome")[0]>=81)e=-1;else if(this.getVersion("safari")[0]>=605){const t=this.getVersion("version");t[0]>13&&t[1]>1&&(e=-1)}else{const t=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(t){let n=t[1];n=n.split("_"),(n[0]>13||n[0]>=13&&n[1]>=4)&&(e=-1)}}let i=document.createElement("canvas"),s=i.getContext("2d");switch(s.save(),e){case 2:i.width=n,i.height=r,s.translate(n,0),s.scale(-1,1);break;case 3:i.width=n,i.height=r,s.translate(n/2,r/2),s.rotate(180*Math.PI/180),s.translate(-n/2,-r/2);break;case 4:i.width=n,i.height=r,s.translate(0,r),s.scale(1,-1);break;case 5:i.height=n,i.width=r,s.rotate(.5*Math.PI),s.scale(1,-1);break;case 6:i.width=r,i.height=n,s.translate(r/2,n/2),s.rotate(90*Math.PI/180),s.translate(-n/2,-r/2);break;case 7:i.height=n,i.width=r,s.rotate(.5*Math.PI),s.translate(n,-r),s.scale(-1,1);break;case 8:i.height=n,i.width=r,s.translate(r/2,n/2),s.rotate(-90*Math.PI/180),s.translate(-n/2,-r/2);break;default:i.width=n,i.height=r}s.drawImage(t,0,0,n,r),s.restore(),i.toBlob(t=>{let e=URL.createObjectURL(t);URL.revokeObjectURL(this.imgs),this.imgs=e},"image/"+this.outputType,1)},checkedImg(){if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let t=new Image;if(t.onload=()=>{if(""===this.img)return this.$emit("img-load","error"),!1;let e=t.width,n=t.height;i.getData(t).then(r=>{this.orientation=r.orientation||1;let i=Number(this.maxImgSize);!this.orientation&&e<i&n<i?this.imgs=this.img:(e>i&&(n=n/e*i,e=i),n>i&&(e=e/n*i,n=i),this.checkOrientationImage(t,this.orientation,e,n))})},t.onerror=()=>{this.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(t.crossOrigin=""),this.isIE){var e=new XMLHttpRequest;e.onload=function(){var e=URL.createObjectURL(this.response);t.src=e},e.open("GET",this.img,!0),e.responseType="blob",e.send()}else t.src=this.img},startMove(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(t){t.preventDefault();let e=this.scale;var n={x:this.touches[0].clientX,y:this.touches[0].clientY},r={x:t.touches[0].clientX,y:t.touches[0].clientY},i={x:this.touches[1].clientX,y:this.touches[1].clientY},s={x:t.touches[1].clientX,y:t.touches[1].clientY},o=Math.sqrt(Math.pow(n.x-i.x,2)+Math.pow(n.y-i.y,2)),a=Math.sqrt(Math.pow(r.x-s.x,2)+Math.pow(r.y-s.y,2)),c=a-o,l=1;l=l/this.trueWidth>l/this.trueHeight?l/this.trueHeight:l/this.trueWidth,l=l>.1?.1:l;var u=l*c;if(!this.touchNow){if(this.touchNow=!0,c>0?e+=Math.abs(u):c<0&&e>Math.abs(u)&&(e-=Math.abs(u)),this.touches=t.touches,setTimeout(()=>{this.touchNow=!1},8),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e}},cancelTouchScale(t){window.removeEventListener("touchmove",this.touchScale)},moveImg(t){if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let e,n,r="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY;e=r-this.moveX,n=i-this.moveY,this.$nextTick(()=>{if(this.centerBox){let t,r,i,s,o=this.getImgAxis(e,n,this.scale),a=this.getCropAxis(),c=this.trueHeight*this.scale,l=this.trueWidth*this.scale;switch(this.rotate){case 1:case-1:case 3:case-3:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(c-l)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(l-c)/2,i=t-c+this.cropW,s=r-l+this.cropH;break;default:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,i=t-l+this.cropW,s=r-c+this.cropH;break}o.x1>=a.x1&&(e=t),o.y1>=a.y1&&(n=r),o.x2<=a.x2&&(e=i),o.y2<=a.y2&&(n=s)}this.x=e,this.y=n,this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})})},leaveImg(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(t){t.preventDefault();let e=this.scale;var n=t.deltaY||t.wheelDelta,r=navigator.userAgent.indexOf("Firefox");n=r>0?30*n:n,this.isIE&&(n=-n);var i=this.coe;i=i/this.trueWidth>i/this.trueHeight?i/this.trueHeight:i/this.trueWidth;var s=i*n;s<0?e+=Math.abs(s):e>Math.abs(s)&&(e-=Math.abs(s));let o=s<0?"add":"reduce";if(o!==this.coeStatus&&(this.coeStatus=o,this.coe=.2),this.scaling||(this.scalingSet=setTimeout(()=>{this.scaling=!1,this.coe=this.coe+=.01},50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},changeScale(t){let e=this.scale;t=t||1;var n=20;if(n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth,t*=n,t>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,n="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick(()=>{var t=e-this.cropX,r=n-this.cropY;if(t>0?(this.cropW=t+this.cropChangeX>this.w?this.w-this.cropChangeX:t,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(t)>this.w?this.cropChangeX:Math.abs(t),this.cropOffsertX=this.cropChangeX+t>0?this.cropChangeX+t:0),this.fixed){var i=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];i+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.cropOffsertX=t>0?this.cropChangeX:this.cropChangeX-this.cropW):this.cropH=i,this.cropOffsertY=this.cropOffsertY}else r>0?(this.cropH=r+this.cropChangeY>this.h?this.h-this.cropChangeY:r,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(r)>this.h?this.cropChangeY:Math.abs(r),this.cropOffsertY=this.cropChangeY+r>0?this.cropChangeY+r:0)})},changeCropSize(t,e,n,r,i){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=n,this.changeCropTypeX=r,this.changeCropTypeY=i,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(t){t.preventDefault();var e="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,n="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;let r=this.w,i=this.h,s=0,o=0;if(this.centerBox){let t=this.getImgAxis(),e=t.x2,n=t.y2;s=t.x1>0?t.x1:0,o=t.y1>0?t.y1:0,r>e&&(r=e),i>n&&(i=n)}this.$nextTick(()=>{var t=e-this.cropX,a=n-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-t>0?(this.cropW=r-this.cropChangeX-t<=r-s?this.cropOldW-t:this.cropOldW+this.cropChangeX-s,this.cropOffsertX=r-this.cropChangeX-t<=r-s?this.cropChangeX+t:s):(this.cropW=Math.abs(t)+this.cropChangeX<=r?Math.abs(t)-this.cropOldW:r-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):2===this.changeCropTypeX&&(this.cropOldW+t>0?(this.cropW=this.cropOldW+t+this.cropOffsertX<=r?this.cropOldW+t:r-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=r-this.cropChangeX+Math.abs(t+this.cropOldW)<=r-s?Math.abs(t+this.cropOldW):this.cropChangeX-s,this.cropOffsertX=r-this.cropChangeX+Math.abs(t+this.cropOldW)<=r-s?this.cropChangeX-Math.abs(t+this.cropOldW):s))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-a>0?(this.cropH=i-this.cropChangeY-a<=i-o?this.cropOldH-a:this.cropOldH+this.cropChangeY-o,this.cropOffsertY=i-this.cropChangeY-a<=i-o?this.cropChangeY+a:o):(this.cropH=Math.abs(a)+this.cropChangeY<=i?Math.abs(a)-this.cropOldH:i-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+a>0?(this.cropH=this.cropOldH+a+this.cropOffsertY<=i?this.cropOldH+a:i-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=i-this.cropChangeY+Math.abs(a+this.cropOldH)<=i-o?Math.abs(a+this.cropOldH):this.cropChangeY-o,this.cropOffsertY=i-this.cropChangeY+Math.abs(a+this.cropOldH)<=i-o?this.cropChangeY-Math.abs(a+this.cropOldH):o))),this.canChangeX&&this.fixed){var c=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];c+this.cropOffsertY>i?(this.cropH=i-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0]):this.cropH=c}if(this.canChangeY&&this.fixed){var l=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];l+this.cropOffsertX>r?(this.cropW=r-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=l}})},checkCropLimitSize(){let{cropW:t,cropH:e,limitMinSize:n}=this,r=new Array;return r=Array.isArray[n]?n:[n,n],t=parseFloat(r[0]),e=parseFloat(r[1]),[t,e]},changeCropEnd(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let e,n,r="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY;e=r-this.cropOffsertX,n=i-this.cropOffsertY,this.cropX=e,this.cropY=n,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(t,e){let n=0,r=0;t&&(t.preventDefault(),n="clientX"in t?t.clientX:t.touches[0].clientX,r="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick(()=>{let t,i,s=n-this.cropX,o=r-this.cropY;if(e&&(s=this.cropOffsertX,o=this.cropOffsertY),t=s<=0?0:s+this.cropW>this.w?this.w-this.cropW:s,i=o<=0?0:o+this.cropH>this.h?this.h-this.cropH:o,this.centerBox){let e=this.getImgAxis();t<=e.x1&&(t=e.x1),t+this.cropW>e.x2&&(t=e.x2-this.cropW),i<=e.y1&&(i=e.y1),i+this.cropH>e.y2&&(i=e.y2-this.cropH)}this.cropOffsertX=t,this.cropOffsertY=i,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})})},getImgAxis(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;let r={x1:0,x2:0,y1:0,y2:0},i=this.trueWidth*n,s=this.trueHeight*n;switch(this.rotate){case 0:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n;break;case 1:case-1:case 3:case-3:r.x1=t+this.trueWidth*(1-n)/2+(i-s)/2,r.x2=r.x1+this.trueHeight*n,r.y1=e+this.trueHeight*(1-n)/2+(s-i)/2,r.y2=r.y1+this.trueWidth*n;break;default:r.x1=t+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=e+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n;break}return r},getCropAxis(){let t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,s=this.trueHeight,o=this.cropOffsertX,a=this.cropOffsertY;n.onload=()=>{if(0!==this.cropW){let t=e.getContext("2d"),c=1;this.high&!this.full&&(c=window.devicePixelRatio),1!==this.enlarge&!this.full&&(c=Math.abs(Number(this.enlarge)));let u=this.cropW*c,h=this.cropH*c,f=i*this.scale*c,p=s*this.scale*c,d=(this.x-o+this.trueWidth*(1-this.scale)/2)*c,m=(this.y-a+this.trueHeight*(1-this.scale)/2)*c;switch(l(u,h),t.save(),r){case 0:this.full?(l(u/this.scale,h/this.scale),t.drawImage(n,d/this.scale,m/this.scale,f/this.scale,p/this.scale)):t.drawImage(n,d,m,f,p);break;case 1:case-3:this.full?(l(u/this.scale,h/this.scale),d=d/this.scale+(f/this.scale-p/this.scale)/2,m=m/this.scale+(p/this.scale-f/this.scale)/2,t.rotate(90*r*Math.PI/180),t.drawImage(n,m,-d-p/this.scale,f/this.scale,p/this.scale)):(d+=(f-p)/2,m+=(p-f)/2,t.rotate(90*r*Math.PI/180),t.drawImage(n,m,-d-p,f,p));break;case 2:case-2:this.full?(l(u/this.scale,h/this.scale),t.rotate(90*r*Math.PI/180),d/=this.scale,m/=this.scale,t.drawImage(n,-d-f/this.scale,-m-p/this.scale,f/this.scale,p/this.scale)):(t.rotate(90*r*Math.PI/180),t.drawImage(n,-d-f,-m-p,f,p));break;case 3:case-1:this.full?(l(u/this.scale,h/this.scale),d=d/this.scale+(f/this.scale-p/this.scale)/2,m=m/this.scale+(p/this.scale-f/this.scale)/2,t.rotate(90*r*Math.PI/180),t.drawImage(n,-m-f/this.scale,d,f/this.scale,p/this.scale)):(d+=(f-p)/2,m+=(p-f)/2,t.rotate(90*r*Math.PI/180),t.drawImage(n,-m-f,d,f,p));break;default:this.full?(l(u/this.scale,h/this.scale),t.drawImage(n,d/this.scale,m/this.scale,f/this.scale,p/this.scale)):t.drawImage(n,d,m,f,p)}t.restore()}else{let t=i*this.scale,o=s*this.scale,a=e.getContext("2d");switch(a.save(),r){case 0:l(t,o),a.drawImage(n,0,0,t,o);break;case 1:case-3:l(o,t),a.rotate(90*r*Math.PI/180),a.drawImage(n,0,-o,t,o);break;case 2:case-2:l(t,o),a.rotate(90*r*Math.PI/180),a.drawImage(n,-t,-o,t,o);break;case 3:case-1:l(o,t),a.rotate(90*r*Math.PI/180),a.drawImage(n,-t,0,t,o);break;default:l(t,o),a.drawImage(n,0,0,t,o)}a.restore()}t(e)};var c=this.img.substr(0,4);function l(t,n){e.width=Math.round(t),e.height=Math.round(n)}"data"!==c&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData(t){this.getCropChecked(e=>{t(e.toDataURL("image/"+this.outputType,this.outputSize))})},getCropBlob(t){this.getCropChecked(e=>{e.toBlob(e=>t(e),"image/"+this.outputType,this.outputSize)})},showPreview(){if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout(()=>{this.isCanShow=!0},16);let t=this.cropW,e=this.cropH,n=this.scale;var r={};r.div={width:t+"px",height:e+"px"};let i=(this.x-this.cropOffsertX)/n,s=(this.y-this.cropOffsertY)/n,o=0;r.w=t,r.h=e,r.url=this.imgs,r.img={width:this.trueWidth+"px",height:this.trueHeight+"px",transform:`scale(${n})translate3d(${i}px, ${s}px, ${o}px)rotateZ(${90*this.rotate}deg)`},r.html=`\n <div class="show-preview" style="width: ${r.w}px; height: ${r.h}px,; overflow: hidden">\n <div style="width: ${t}px; height: ${e}px">\n <img src=${r.url} style="width: ${this.trueWidth}px; height: ${this.trueHeight}px; transform:\n scale(${n})translate3d(${i}px, ${s}px, ${o}px)rotateZ(${90*this.rotate}deg)">\n </div>\n </div>`,this.$emit("realTime",r),this.$emit("real-time",r)},reload(){let t=new Image;t.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=t.width,this.trueHeight=t.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick(()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),this.$emit("imgLoad","success"),setTimeout(()=>{this.showPreview()},20)})},t.onerror=()=>{this.$emit("imgLoad","error"),this.$emit("img-load","error")},t.src=this.imgs},checkedMode(){let t=1,e=this.trueWidth,n=this.trueHeight;const r=this.mode.split(" ");switch(r[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":e=this.w,t=e/this.trueWidth,n*=t,n<this.h&&(n=this.h,t=n/this.trueHeight);break;default:try{let i=r[0];if(-1!==i.search("px")){i=i.replace("px",""),e=parseFloat(i);const s=e/this.trueWidth;let o=1,a=r[1];-1!==a.search("px")&&(a=a.replace("px",""),n=parseFloat(a),o=n/this.trueHeight),t=Math.min(s,o)}if(-1!==i.search("%")&&(i=i.replace("%",""),e=parseFloat(i)/100*this.w,t=e/this.trueWidth),2===r.length&&"auto"===i){let e=r[1];-1!==e.search("px")&&(e=e.replace("px",""),n=parseFloat(e),t=n/this.trueHeight),-1!==e.search("%")&&(e=e.replace("%",""),n=parseFloat(e)/100*this.h,t=n/this.trueHeight)}}catch(i){t=1}}return t},goAutoCrop(t,e){if(""===this.imgs||null===this.imgs)return;this.clearCrop(),this.cropping=!0;let n=this.w,r=this.h;if(this.centerBox){const t=Math.abs(this.rotate)%2>0;let e=(t?this.trueHeight:this.trueWidth)*this.scale,i=(t?this.trueWidth:this.trueHeight)*this.scale;n=e<n?e:n,r=i<r?i:r}var i=t||parseFloat(this.autoCropWidth),s=e||parseFloat(this.autoCropHeight);0!==i&&0!==s||(i=.8*n,s=.8*r),i=i>n?n:i,s=s>r?r:s,this.fixed&&(s=i/this.fixedNumber[0]*this.fixedNumber[1]),s>this.h&&(s=this.h,i=s/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(i,s)},changeCrop(t,e){if(this.centerBox){let n=this.getImgAxis();t>n.x2-n.x1&&(t=n.x2-n.x1,e=t/this.fixedNumber[0]*this.fixedNumber[1]),e>n.y2-n.y1&&(e=n.y2-n.y1,t=e/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick(()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)})},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick(()=>{this.checkedImg()})},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(t,e,n){t=t||this.x,e=e||this.y,n=n||this.scale;let r=!0;if(this.centerBox){let i=this.getImgAxis(t,e,n),s=this.getCropAxis();i.x1>=s.x1&&(r=!1),i.x2<=s.x2&&(r=!1),i.y1>=s.y1&&(r=!1),i.y2<=s.y2&&(r=!1)}return r}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";let t=this;var e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,n,r){for(var i=atob(this.toDataURL(n,r).split(",")[1]),s=i.length,o=new Uint8Array(s),a=0;a<s;a++)o[a]=i.charCodeAt(a);e(new Blob([o],{type:t.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},unmounted(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}}),f={key:0,class:"cropper-box"},p=["src"],d={class:"cropper-view-box"},m=["src"],g={key:1};function b(t,e,n,i,s,o){return Object(r["I"])(),Object(r["j"])("div",{class:"vue-cropper",ref:"cropper",onMouseover:e[28]||(e[28]=(...e)=>t.scaleImg&&t.scaleImg(...e)),onMouseout:e[29]||(e[29]=(...e)=>t.cancelScale&&t.cancelScale(...e))},[t.imgs?(Object(r["I"])(),Object(r["j"])("div",f,[Object(r["fb"])(Object(r["k"])("div",{class:"cropper-box-canvas",style:Object(r["B"])({width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+t.x/t.scale+"px,"+t.y/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"})},[Object(r["k"])("img",{src:t.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,p)],4),[[r["bb"],!t.loading]])])):Object(r["i"])("",!0),Object(r["k"])("div",{class:Object(r["z"])(["cropper-drag-box",{"cropper-move":t.move&&!t.crop,"cropper-crop":t.crop,"cropper-modal":t.cropping}]),onMousedown:e[0]||(e[0]=(...e)=>t.startMove&&t.startMove(...e)),onTouchstart:e[1]||(e[1]=(...e)=>t.startMove&&t.startMove(...e))},null,34),Object(r["fb"])(Object(r["k"])("div",{class:"cropper-crop-box",style:Object(r["B"])({width:t.cropW+"px",height:t.cropH+"px",transform:"translate3d("+t.cropOffsertX+"px,"+t.cropOffsertY+"px,0)"})},[Object(r["k"])("span",d,[Object(r["k"])("img",{style:Object(r["B"])({width:t.trueWidth+"px",height:t.trueHeight+"px",transform:"scale("+t.scale+","+t.scale+") translate3d("+(t.x-t.cropOffsertX)/t.scale+"px,"+(t.y-t.cropOffsertY)/t.scale+"px,0)rotateZ("+90*t.rotate+"deg)"}),src:t.imgs,alt:"cropper-img"},null,12,m)]),Object(r["k"])("span",{class:"cropper-face cropper-move",onMousedown:e[2]||(e[2]=(...e)=>t.cropMove&&t.cropMove(...e)),onTouchstart:e[3]||(e[3]=(...e)=>t.cropMove&&t.cropMove(...e))},null,32),t.info?(Object(r["I"])(),Object(r["j"])("span",{key:0,class:"crop-info",style:Object(r["B"])({top:t.cropInfo.top})},Object(r["W"])(t.cropInfo.width)+" × "+Object(r["W"])(t.cropInfo.height),5)):Object(r["i"])("",!0),t.fixedBox?Object(r["i"])("",!0):(Object(r["I"])(),Object(r["j"])("span",g,[Object(r["k"])("span",{class:"crop-line line-w",onMousedown:e[4]||(e[4]=e=>t.changeCropSize(e,!1,!0,0,1)),onTouchstart:e[5]||(e[5]=e=>t.changeCropSize(e,!1,!0,0,1))},null,32),Object(r["k"])("span",{class:"crop-line line-a",onMousedown:e[6]||(e[6]=e=>t.changeCropSize(e,!0,!1,1,0)),onTouchstart:e[7]||(e[7]=e=>t.changeCropSize(e,!0,!1,1,0))},null,32),Object(r["k"])("span",{class:"crop-line line-s",onMousedown:e[8]||(e[8]=e=>t.changeCropSize(e,!1,!0,0,2)),onTouchstart:e[9]||(e[9]=e=>t.changeCropSize(e,!1,!0,0,2))},null,32),Object(r["k"])("span",{class:"crop-line line-d",onMousedown:e[10]||(e[10]=e=>t.changeCropSize(e,!0,!1,2,0)),onTouchstart:e[11]||(e[11]=e=>t.changeCropSize(e,!0,!1,2,0))},null,32),Object(r["k"])("span",{class:"crop-point point1",onMousedown:e[12]||(e[12]=e=>t.changeCropSize(e,!0,!0,1,1)),onTouchstart:e[13]||(e[13]=e=>t.changeCropSize(e,!0,!0,1,1))},null,32),Object(r["k"])("span",{class:"crop-point point2",onMousedown:e[14]||(e[14]=e=>t.changeCropSize(e,!1,!0,0,1)),onTouchstart:e[15]||(e[15]=e=>t.changeCropSize(e,!1,!0,0,1))},null,32),Object(r["k"])("span",{class:"crop-point point3",onMousedown:e[16]||(e[16]=e=>t.changeCropSize(e,!0,!0,2,1)),onTouchstart:e[17]||(e[17]=e=>t.changeCropSize(e,!0,!0,2,1))},null,32),Object(r["k"])("span",{class:"crop-point point4",onMousedown:e[18]||(e[18]=e=>t.changeCropSize(e,!0,!1,1,0)),onTouchstart:e[19]||(e[19]=e=>t.changeCropSize(e,!0,!1,1,0))},null,32),Object(r["k"])("span",{class:"crop-point point5",onMousedown:e[20]||(e[20]=e=>t.changeCropSize(e,!0,!1,2,0)),onTouchstart:e[21]||(e[21]=e=>t.changeCropSize(e,!0,!1,2,0))},null,32),Object(r["k"])("span",{class:"crop-point point6",onMousedown:e[22]||(e[22]=e=>t.changeCropSize(e,!0,!0,1,2)),onTouchstart:e[23]||(e[23]=e=>t.changeCropSize(e,!0,!0,1,2))},null,32),Object(r["k"])("span",{class:"crop-point point7",onMousedown:e[24]||(e[24]=e=>t.changeCropSize(e,!1,!0,0,2)),onTouchstart:e[25]||(e[25]=e=>t.changeCropSize(e,!1,!0,0,2))},null,32),Object(r["k"])("span",{class:"crop-point point8",onMousedown:e[26]||(e[26]=e=>t.changeCropSize(e,!0,!0,2,2)),onTouchstart:e[27]||(e[27]=e=>t.changeCropSize(e,!0,!0,2,2))},null,32)]))],4),[[r["bb"],t.cropping]])],544)}var v=u(h,[["render",b],["__scopeId","data-v-26736c2c"]]);"undefined"!==typeof window&&window.Vue&&window.Vue.createApp({}).component("VueCropper",v)},function(t,e,n){"use strict";n.d(e,"a",(function(){return Bn}));var r=n(2);
  13. /*!
  14. * message-compiler v9.2.2
  15. * (c) 2022 kazuya kawaguchi
  16. * Released under the MIT License.
  17. */const i={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},s={[i.EXPECTED_TOKEN]:"Expected token: '{0}'",[i.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[i.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[i.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[i.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[i.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[i.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[i.EMPTY_PLACEHOLDER]:"Empty placeholder",[i.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[i.INVALID_LINKED_FORMAT]:"Invalid linked format",[i.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[i.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[i.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[i.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function o(t,e,n={}){const{domain:i,messages:o,args:a}=n,c=Object(r["d"])((o||s)[t]||"",...a||[]),l=new SyntaxError(String(c));return l.code=t,e&&(l.location=e),l.domain=i,l}function a(t){throw t}function c(t,e,n){return{line:t,column:e,offset:n}}function l(t,e,n){const r={start:t,end:e};return null!=n&&(r.source=n),r}const u=" ",h="\r",f="\n",p=String.fromCharCode(8232),d=String.fromCharCode(8233);function m(t){const e=t;let n=0,r=1,i=1,s=0;const o=t=>e[t]===h&&e[t+1]===f,a=t=>e[t]===f,c=t=>e[t]===d,l=t=>e[t]===p,u=t=>o(t)||a(t)||c(t)||l(t),m=()=>n,g=()=>r,b=()=>i,v=()=>s,y=t=>o(t)||c(t)||l(t)?f:e[t],_=()=>y(n),O=()=>y(n+s);function w(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,e[n]}function M(){return o(n+s)&&s++,s++,e[n+s]}function x(){n=0,r=1,i=1,s=0}function E(t=0){s=t}function j(){const t=n+s;while(t!==n)w();s=0}return{index:m,line:g,column:b,peekOffset:v,charAt:y,currentChar:_,currentPeek:O,next:w,peek:M,reset:x,resetPeek:E,skipToPeek:j}}const g=void 0,b="'",v="tokenizer";function y(t,e={}){const n=!1!==e.location,r=m(t),s=()=>r.index(),a=()=>c(r.line(),r.column(),r.index()),h=a(),p=s(),d={currentType:14,offset:p,startLoc:h,endLoc:h,lastType:14,lastOffset:p,lastStartLoc:h,lastEndLoc:h,braceNest:0,inLinked:!1,text:""},y=()=>d,{onError:_}=e;function O(t,e,n,...r){const i=y();if(e.column+=n,e.offset+=n,_){const n=l(i.startLoc,e),s=o(t,n,{domain:v,args:r});_(s)}}function w(t,e,r){t.endLoc=a(),t.currentType=e;const i={type:e};return n&&(i.loc=l(t.startLoc,t.endLoc)),null!=r&&(i.value=r),i}const M=t=>w(t,14);function x(t,e){return t.currentChar()===e?(t.next(),e):(O(i.EXPECTED_TOKEN,a(),0,e),"")}function E(t){let e="";while(t.currentPeek()===u||t.currentPeek()===f)e+=t.currentPeek(),t.peek();return e}function j(t){const e=E(t);return t.skipToPeek(),e}function A(t){if(t===g)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function C(t){if(t===g)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function k(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r=A(t.currentPeek());return t.resetPeek(),r}function T(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r="-"===t.currentPeek()?t.peek():t.currentPeek(),i=C(r);return t.resetPeek(),i}function S(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r=t.currentPeek()===b;return t.resetPeek(),r}function N(t,e){const{currentType:n}=e;if(8!==n)return!1;E(t);const r="."===t.currentPeek();return t.resetPeek(),r}function I(t,e){const{currentType:n}=e;if(9!==n)return!1;E(t);const r=A(t.currentPeek());return t.resetPeek(),r}function L(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;E(t);const r=":"===t.currentPeek();return t.resetPeek(),r}function P(t,e){const{currentType:n}=e;if(10!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?A(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===u||!e)&&(e===f?(t.peek(),r()):A(e))},i=r();return t.resetPeek(),i}function R(t){E(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function F(t){const e=E(t),n="%"===t.currentPeek()&&"{"===t.peek();return t.resetPeek(),{isModulo:n,hasSpace:e.length>0}}function U(t,e=!0){const n=(e=!1,r="",i=!1)=>{const s=t.currentPeek();return"{"===s?"%"!==r&&e:"@"!==s&&s?"%"===s?(t.peek(),n(e,"%",!0)):"|"===s?!("%"!==r&&!i)||!(r===u||r===f):s===u?(t.peek(),n(!0,u,i)):s!==f||(t.peek(),n(!0,f,i)):"%"===r||e},r=n();return e&&t.resetPeek(),r}function D(t,e){const n=t.currentChar();return n===g?g:e(n)?(t.next(),n):null}function $(t){const e=t=>{const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e};return D(t,e)}function B(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57};return D(t,e)}function q(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};return D(t,e)}function W(t){let e="",n="";while(e=B(t))n+=e;return n}function V(t){j(t);const e=t.currentChar();return"%"!==e&&O(i.EXPECTED_TOKEN,a(),0,e),t.next(),"%"}function H(t){let e="";while(1){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!U(t))break;e+=n,t.next()}else if(n===u||n===f)if(U(t))e+=n,t.next();else{if(R(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function Y(t){j(t);let e="",n="";while(e=$(t))n+=e;return t.currentChar()===g&&O(i.UNTERMINATED_CLOSING_BRACE,a(),0),n}function G(t){j(t);let e="";return"-"===t.currentChar()?(t.next(),e+="-"+W(t)):e+=W(t),t.currentChar()===g&&O(i.UNTERMINATED_CLOSING_BRACE,a(),0),e}function z(t){j(t),x(t,"'");let e="",n="";const r=t=>t!==b&&t!==f;while(e=D(t,r))n+="\\"===e?X(t):e;const s=t.currentChar();return s===f||s===g?(O(i.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),s===f&&(t.next(),x(t,"'")),n):(x(t,"'"),n)}function X(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),"\\"+e;case"u":return K(t,e,4);case"U":return K(t,e,6);default:return O(i.UNKNOWN_ESCAPE_SEQUENCE,a(),0,e),""}}function K(t,e,n){x(t,e);let r="";for(let s=0;s<n;s++){const n=q(t);if(!n){O(i.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function Q(t){j(t);let e="",n="";const r=t=>"{"!==t&&"}"!==t&&t!==u&&t!==f;while(e=D(t,r))n+=e;return n}function J(t){let e="",n="";while(e=$(t))n+=e;return n}function Z(t){const e=(n=!1,r)=>{const i=t.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===u?r:i===f?(r+=i,t.next(),e(n,r)):(r+=i,t.next(),e(!0,r)):r};return e(!1,"")}function tt(t){j(t);const e=x(t,"|");return j(t),e}function et(t,e){let n=null;const r=t.currentChar();switch(r){case"{":return e.braceNest>=1&&O(i.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),t.next(),n=w(e,2,"{"),j(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&O(i.EMPTY_PLACEHOLDER,a(),0),t.next(),n=w(e,3,"}"),e.braceNest--,e.braceNest>0&&j(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&O(i.UNTERMINATED_CLOSING_BRACE,a(),0),n=nt(t,e)||M(e),e.braceNest=0,n;default:let r=!0,s=!0,o=!0;if(R(t))return e.braceNest>0&&O(i.UNTERMINATED_CLOSING_BRACE,a(),0),n=w(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(5===e.currentType||6===e.currentType||7===e.currentType))return O(i.UNTERMINATED_CLOSING_BRACE,a(),0),e.braceNest=0,rt(t,e);if(r=k(t,e))return n=w(e,5,Y(t)),j(t),n;if(s=T(t,e))return n=w(e,6,G(t)),j(t),n;if(o=S(t,e))return n=w(e,7,z(t)),j(t),n;if(!r&&!s&&!o)return n=w(e,13,Q(t)),O(i.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),j(t),n;break}return n}function nt(t,e){const{currentType:n}=e;let r=null;const s=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||s!==f&&s!==u||O(i.INVALID_LINKED_FORMAT,a(),0),s){case"@":return t.next(),r=w(e,8,"@"),e.inLinked=!0,r;case".":return j(t),t.next(),w(e,9,".");case":":return j(t),t.next(),w(e,10,":");default:return R(t)?(r=w(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,r):N(t,e)||L(t,e)?(j(t),nt(t,e)):I(t,e)?(j(t),w(e,12,J(t))):P(t,e)?(j(t),"{"===s?et(t,e)||r:w(e,11,Z(t))):(8===n&&O(i.INVALID_LINKED_FORMAT,a(),0),e.braceNest=0,e.inLinked=!1,rt(t,e))}}function rt(t,e){let n={type:14};if(e.braceNest>0)return et(t,e)||M(e);if(e.inLinked)return nt(t,e)||M(e);const r=t.currentChar();switch(r){case"{":return et(t,e)||M(e);case"}":return O(i.UNBALANCED_CLOSING_BRACE,a(),0),t.next(),w(e,3,"}");case"@":return nt(t,e)||M(e);default:if(R(t))return n=w(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,n;const{isModulo:r,hasSpace:s}=F(t);if(r)return s?w(e,0,H(t)):w(e,4,V(t));if(U(t))return w(e,0,H(t));break}return n}function it(){const{currentType:t,offset:e,startLoc:n,endLoc:i}=d;return d.lastType=t,d.lastOffset=e,d.lastStartLoc=n,d.lastEndLoc=i,d.offset=s(),d.startLoc=a(),r.currentChar()===g?w(d,14):rt(r,d)}return{nextToken:it,currentOffset:s,currentPosition:a,context:y}}const _="parser",O=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function w(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"�"}}}function M(t={}){const e=!1!==t.location,{onError:n}=t;function s(t,e,r,i,...s){const a=t.currentPosition();if(a.offset+=i,a.column+=i,n){const t=l(r,a),i=o(e,t,{domain:_,args:s});n(i)}}function a(t,n,r){const i={type:t,start:n,end:n};return e&&(i.loc={start:r,end:r}),i}function c(t,n,r,i){t.end=n,i&&(t.type=i),e&&t.loc&&(t.loc.end=r)}function u(t,e){const n=t.context(),r=a(3,n.offset,n.startLoc);return r.value=e,c(r,t.currentOffset(),t.currentPosition()),r}function h(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,s=a(5,r,i);return s.index=parseInt(e,10),t.nextToken(),c(s,t.currentOffset(),t.currentPosition()),s}function f(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,s=a(4,r,i);return s.key=e,t.nextToken(),c(s,t.currentOffset(),t.currentPosition()),s}function p(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,s=a(9,r,i);return s.value=e.replace(O,w),t.nextToken(),c(s,t.currentOffset(),t.currentPosition()),s}function d(t){const e=t.nextToken(),n=t.context(),{lastOffset:r,lastStartLoc:o}=n,l=a(8,r,o);return 12!==e.type?(s(t,i.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",c(l,r,o),{nextConsumeToken:e,node:l}):(null==e.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,x(e)),l.value=e.value||"",c(l,t.currentOffset(),t.currentPosition()),{node:l})}function m(t,e){const n=t.context(),r=a(7,n.offset,n.startLoc);return r.value=e,c(r,t.currentOffset(),t.currentPosition()),r}function g(t){const e=t.context(),n=a(6,e.offset,e.startLoc);let r=t.nextToken();if(9===r.type){const e=d(t);n.modifier=e.node,r=e.nextConsumeToken||t.nextToken()}switch(10!==r.type&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(r)),r=t.nextToken(),2===r.type&&(r=t.nextToken()),r.type){case 11:null==r.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(r)),n.key=m(t,r.value||"");break;case 5:null==r.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(r)),n.key=f(t,r.value||"");break;case 6:null==r.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(r)),n.key=h(t,r.value||"");break;case 7:null==r.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(r)),n.key=p(t,r.value||"");break;default:s(t,i.UNEXPECTED_EMPTY_LINKED_KEY,e.lastStartLoc,0);const o=t.context(),l=a(7,o.offset,o.startLoc);return l.value="",c(l,o.offset,o.startLoc),n.key=l,c(n,o.offset,o.startLoc),{nextConsumeToken:r,node:n}}return c(n,t.currentOffset(),t.currentPosition()),{node:n}}function b(t){const e=t.context(),n=1===e.currentType?t.currentOffset():e.offset,r=1===e.currentType?e.endLoc:e.startLoc,o=a(2,n,r);o.items=[];let l=null;do{const n=l||t.nextToken();switch(l=null,n.type){case 0:null==n.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(n)),o.items.push(u(t,n.value||""));break;case 6:null==n.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(n)),o.items.push(h(t,n.value||""));break;case 5:null==n.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(n)),o.items.push(f(t,n.value||""));break;case 7:null==n.value&&s(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,x(n)),o.items.push(p(t,n.value||""));break;case 8:const r=g(t);o.items.push(r.node),l=r.nextConsumeToken||null;break}}while(14!==e.currentType&&1!==e.currentType);const d=1===e.currentType?e.lastOffset:t.currentOffset(),m=1===e.currentType?e.lastEndLoc:t.currentPosition();return c(o,d,m),o}function v(t,e,n,r){const o=t.context();let l=0===r.items.length;const u=a(1,e,n);u.cases=[],u.cases.push(r);do{const e=b(t);l||(l=0===e.items.length),u.cases.push(e)}while(14!==o.currentType);return l&&s(t,i.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),c(u,t.currentOffset(),t.currentPosition()),u}function M(t){const e=t.context(),{offset:n,startLoc:r}=e,i=b(t);return 14===e.currentType?i:v(t,n,r,i)}function E(n){const o=y(n,Object(r["a"])({},t)),l=o.context(),u=a(0,l.offset,l.startLoc);return e&&u.loc&&(u.loc.source=n),u.body=M(o),14!==l.currentType&&s(o,i.UNEXPECTED_LEXICAL_ANALYSIS,l.lastStartLoc,0,n[l.offset]||""),c(u,o.currentOffset(),o.currentPosition()),u}return{parse:E}}function x(t){if(14===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function E(t,e={}){const n={ast:t,helpers:new Set},r=()=>n,i=t=>(n.helpers.add(t),t);return{context:r,helper:i}}function j(t,e){for(let n=0;n<t.length;n++)A(t[n],e)}function A(t,e){switch(t.type){case 1:j(t.cases,e),e.helper("plural");break;case 2:j(t.items,e);break;case 6:const n=t;A(n.key,e),e.helper("linked"),e.helper("type");break;case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function C(t,e={}){const n=E(t);n.helper("normalize"),t.body&&A(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function k(t,e){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=e,o={source:t.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0},a=()=>o;function c(t,e){o.code+=t}function l(t,e=!0){const n=e?i:"";c(s?n+" ".repeat(t):n)}function u(t=!0){const e=++o.indentLevel;t&&l(e)}function h(t=!0){const e=--o.indentLevel;t&&l(e)}function f(){l(o.indentLevel)}const p=t=>"_"+t,d=()=>o.needIndent;return{context:a,push:c,indent:u,deindent:h,newline:f,helper:p,needIndent:d}}function T(t,e){const{helper:n}=t;t.push(n("linked")+"("),L(t,e.key),e.modifier?(t.push(", "),L(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function S(t,e){const{helper:n,needIndent:r}=t;t.push(n("normalize")+"(["),t.indent(r());const i=e.items.length;for(let s=0;s<i;s++){if(L(t,e.items[s]),s===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}function N(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(n("plural")+"(["),t.indent(r());const i=e.cases.length;for(let n=0;n<i;n++){if(L(t,e.cases[n]),n===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}}function I(t,e){e.body?L(t,e.body):t.push("null")}function L(t,e){const{helper:n}=t;switch(e.type){case 0:I(t,e);break;case 1:N(t,e);break;case 2:S(t,e);break;case 6:T(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:throw new Error("unhandled codegen node type: "+e.type)}}const P=(t,e={})=>{const n=Object(r["s"])(e.mode)?e.mode:"normal",i=Object(r["s"])(e.filename)?e.filename:"message.intl",s=!!e.sourceMap,o=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",a=e.needIndent?e.needIndent:"arrow"!==n,c=t.helpers||[],l=k(t,{mode:n,filename:i,sourceMap:s,breakLineCode:o,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),c.length>0&&(l.push(`const { ${c.map(t=>`${t}: _${t}`).join(", ")} } = ctx`),l.newline()),l.push("return "),L(l,t),l.deindent(a),l.push("}");const{code:u,map:h}=l.context();return{ast:t,code:u,map:h?h.toJSON():void 0}};function R(t,e={}){const n=Object(r["a"])({},e),i=M(n),s=i.parse(t);return C(s,n),P(s,n)}
  18. /*!
  19. * devtools-if v9.2.2
  20. * (c) 2022 kazuya kawaguchi
  21. * Released under the MIT License.
  22. */const F={I18nInit:"i18n:init",FunctionTranslate:"function:translate"},U=[];
  23. /*!
  24. * core-base v9.2.2
  25. * (c) 2022 kazuya kawaguchi
  26. * Released under the MIT License.
  27. */U[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},U[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},U[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},U[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},U[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},U[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},U[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const D=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $(t){return D.test(t)}function B(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function q(t){if(void 0===t||null===t)return"o";const e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function W(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&($(e)?B(e):"*"+e)}function V(t){const e=[];let n,r,i,s,o,a,c,l=-1,u=0,h=0;const f=[];function p(){const e=t[l+1];if(5===u&&"'"===e||6===u&&'"'===e)return l++,i="\\"+e,f[0](),!0}f[0]=()=>{void 0===r?r=i:r+=i},f[1]=()=>{void 0!==r&&(e.push(r),r=void 0)},f[2]=()=>{f[0](),h++},f[3]=()=>{if(h>0)h--,u=4,f[0]();else{if(h=0,void 0===r)return!1;if(r=W(r),!1===r)return!1;f[1]()}};while(null!==u)if(l++,n=t[l],"\\"!==n||!p()){if(s=q(n),c=U[u],o=c[s]||c["l"]||8,8===o)return;if(u=o[0],void 0!==o[1]&&(a=f[o[1]],a&&(i=n,!1===a())))return;if(7===u)return e}}const H=new Map;function Y(t,e){return Object(r["p"])(t)?t[e]:null}function G(t,e){if(!Object(r["p"])(t))return null;let n=H.get(e);if(n||(n=V(e),n&&H.set(e,n)),!n)return null;const i=n.length;let s=t,o=0;while(o<i){const t=s[n[o]];if(void 0===t)return null;s=t,o++}return s}const z=t=>t,X=t=>"",K="text",Q=t=>0===t.length?"":t.join(""),J=r["w"];function Z(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function tt(t){const e=Object(r["o"])(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Object(r["o"])(t.named.count)||Object(r["o"])(t.named.n))?Object(r["o"])(t.named.count)?t.named.count:Object(r["o"])(t.named.n)?t.named.n:e:e}function et(t,e){e.count||(e.count=t),e.n||(e.n=t)}function nt(t={}){const e=t.locale,n=tt(t),i=Object(r["p"])(t.pluralRules)&&Object(r["s"])(e)&&Object(r["n"])(t.pluralRules[e])?t.pluralRules[e]:Z,s=Object(r["p"])(t.pluralRules)&&Object(r["s"])(e)&&Object(r["n"])(t.pluralRules[e])?Z:void 0,o=t=>t[i(n,t.length,s)],a=t.list||[],c=t=>a[t],l=t.named||{};Object(r["o"])(t.pluralIndex)&&et(n,l);const u=t=>l[t];function h(e){const n=Object(r["n"])(t.messages)?t.messages(e):!!Object(r["p"])(t.messages)&&t.messages[e];return n||(t.parent?t.parent.message(e):X)}const f=e=>t.modifiers?t.modifiers[e]:z,p=Object(r["q"])(t.processor)&&Object(r["n"])(t.processor.normalize)?t.processor.normalize:Q,d=Object(r["q"])(t.processor)&&Object(r["n"])(t.processor.interpolate)?t.processor.interpolate:J,m=Object(r["q"])(t.processor)&&Object(r["s"])(t.processor.type)?t.processor.type:K,g=(t,...e)=>{const[n,i]=e;let s="text",o="";1===e.length?Object(r["p"])(n)?(o=n.modifier||o,s=n.type||s):Object(r["s"])(n)&&(o=n||o):2===e.length&&(Object(r["s"])(n)&&(o=n||o),Object(r["s"])(i)&&(s=i||s));let a=h(t)(b);return"vnode"===s&&Object(r["j"])(a)&&o&&(a=a[0]),o?f(o)(a,s):a},b={["list"]:c,["named"]:u,["plural"]:o,["linked"]:g,["message"]:h,["type"]:m,["interpolate"]:d,["normalize"]:p};return b}let rt=null;function it(t){rt=t}function st(t,e,n){rt&&rt.emit(F.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const ot=at(F.FunctionTranslate);function at(t){return e=>rt&&rt.emit(t,e)}const ct={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},lt={[ct.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ct.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ct.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ct.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ct.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ct.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function ut(t,...e){return Object(r["d"])(lt[t],...e)}function ht(t,e,n){return[...new Set([n,...Object(r["j"])(e)?e:Object(r["p"])(e)?Object.keys(e):Object(r["s"])(e)?[e]:[n]])]}function ft(t,e,n){const i=Object(r["s"])(n)?n:vt,s=t;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(i);if(!o){o=[];let t=[n];while(Object(r["j"])(t))t=pt(o,t,e);const a=Object(r["j"])(e)||!Object(r["q"])(e)?e:e["default"]?e["default"]:null;t=Object(r["s"])(a)?[a]:a,Object(r["j"])(t)&&pt(o,t,!1),s.__localeChainCache.set(i,o)}return o}function pt(t,e,n){let i=!0;for(let s=0;s<e.length&&Object(r["k"])(i);s++){const o=e[s];Object(r["s"])(o)&&(i=dt(t,e[s],n))}return i}function dt(t,e,n){let r;const i=e.split("-");do{const e=i.join("-");r=mt(t,e,n),i.splice(-1,1)}while(i.length&&!0===r);return r}function mt(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i="!"!==e[e.length-1];const s=e.replace(/!/g,"");t.push(s),(Object(r["j"])(n)||Object(r["q"])(n))&&n[s]&&(i=n[s])}return i}const gt="9.2.2",bt=-1,vt="en-US",yt="",_t=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ot(){return{upper:(t,e)=>"text"===e&&Object(r["s"])(t)?t.toUpperCase():"vnode"===e&&Object(r["p"])(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>"text"===e&&Object(r["s"])(t)?t.toLowerCase():"vnode"===e&&Object(r["p"])(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>"text"===e&&Object(r["s"])(t)?_t(t):"vnode"===e&&Object(r["p"])(t)&&"__v_isVNode"in t?_t(t.children):t}}let wt,Mt,xt;function Et(t){wt=t}function jt(t){Mt=t}function At(t){xt=t}let Ct=null;const kt=t=>{Ct=t},Tt=()=>Ct;let St=null;const Nt=t=>{St=t},It=()=>St;let Lt=0;function Pt(t={}){const e=Object(r["s"])(t.version)?t.version:gt,n=Object(r["s"])(t.locale)?t.locale:vt,i=Object(r["j"])(t.fallbackLocale)||Object(r["q"])(t.fallbackLocale)||Object(r["s"])(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:n,s=Object(r["q"])(t.messages)?t.messages:{[n]:{}},o=Object(r["q"])(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},a=Object(r["q"])(t.numberFormats)?t.numberFormats:{[n]:{}},c=Object(r["a"])({},t.modifiers||{},Ot()),l=t.pluralRules||{},u=Object(r["n"])(t.missing)?t.missing:null,h=!Object(r["k"])(t.missingWarn)&&!Object(r["r"])(t.missingWarn)||t.missingWarn,f=!Object(r["k"])(t.fallbackWarn)&&!Object(r["r"])(t.fallbackWarn)||t.fallbackWarn,p=!!t.fallbackFormat,d=!!t.unresolving,m=Object(r["n"])(t.postTranslation)?t.postTranslation:null,g=Object(r["q"])(t.processor)?t.processor:null,b=!Object(r["k"])(t.warnHtmlMessage)||t.warnHtmlMessage,v=!!t.escapeParameter,y=Object(r["n"])(t.messageCompiler)?t.messageCompiler:wt,_=Object(r["n"])(t.messageResolver)?t.messageResolver:Mt||Y,O=Object(r["n"])(t.localeFallbacker)?t.localeFallbacker:xt||ht,w=Object(r["p"])(t.fallbackContext)?t.fallbackContext:void 0,M=Object(r["n"])(t.onWarn)?t.onWarn:r["x"],x=t,E=Object(r["p"])(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,j=Object(r["p"])(x.__numberFormatters)?x.__numberFormatters:new Map,A=Object(r["p"])(x.__meta)?x.__meta:{};Lt++;const C={version:e,cid:Lt,locale:n,fallbackLocale:i,messages:s,modifiers:c,pluralRules:l,missing:u,missingWarn:h,fallbackWarn:f,fallbackFormat:p,unresolving:d,postTranslation:m,processor:g,warnHtmlMessage:b,escapeParameter:v,messageCompiler:y,messageResolver:_,localeFallbacker:O,fallbackContext:w,onWarn:M,__meta:A};return C.datetimeFormats=o,C.numberFormats=a,C.__datetimeFormatters=E,C.__numberFormatters=j,C.__v_emitter=null!=x.__v_emitter?x.__v_emitter:void 0,st(C,e,A),C}function Rt(t,e){return t instanceof RegExp?t.test(e):t}function Ft(t,e){return t instanceof RegExp?t.test(e):t}function Ut(t,e,n,i,s){const{missing:o,onWarn:a}=t;{const r=t.__v_emitter;r&&r.emit("missing",{locale:n,key:e,type:s,groupId:`${s}:${e}`})}if(null!==o){const i=o(t,n,e,s);return Object(r["s"])(i)?i:e}return Ft(i,e)&&a(ut(ct.NOT_FOUND_KEY,{key:e,locale:n})),e}function Dt(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}const $t=/<\/?[\w\s="/.':;#-\/]+>/,Bt="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function qt(t,e){const n=!Object(r["k"])(e.warnHtmlMessage)||e.warnHtmlMessage;n&&$t.test(t)&&Object(r["x"])(Object(r["d"])(Bt,{source:t}))}const Wt=t=>t;let Vt=Object.create(null);function Ht(t,e={}){{qt(t,e);const n=e.onCacheKey||Wt,r=n(t),i=Vt[r];if(i)return i;let s=!1;const o=e.onError||a;e.onError=t=>{s=!0,o(t)};const{code:c}=R(t,e),l=new Function("return "+c)();return s?l:Vt[r]=l}}let Yt=i.__EXTEND_POINT__;const Gt=()=>++Yt,zt={INVALID_ARGUMENT:Yt,INVALID_DATE_ARGUMENT:Gt(),INVALID_ISO_DATE_ARGUMENT:Gt(),__EXTEND_POINT__:Gt()};function Xt(t){return o(t,null,{messages:Kt})}const Kt={[zt.INVALID_ARGUMENT]:"Invalid arguments",[zt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[zt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},Qt=()=>"",Jt=t=>Object(r["n"])(t);function Zt(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:c}=t,[l,u]=ie(...e),h=Object(r["k"])(u.missingWarn)?u.missingWarn:t.missingWarn,f=Object(r["k"])(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,p=Object(r["k"])(u.escapeParameter)?u.escapeParameter:t.escapeParameter,d=!!u.resolvedMessage,m=Object(r["s"])(u.default)||Object(r["k"])(u.default)?Object(r["k"])(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:"",g=n||""!==m,b=Object(r["s"])(u.locale)?u.locale:t.locale;p&&te(u);let[v,y,_]=d?[l,b,c[b]||{}]:ee(t,l,b,a,f,h),O=v,w=l;if(d||Object(r["s"])(O)||Jt(O)||g&&(O=m,w=O),!d&&(!Object(r["s"])(O)&&!Jt(O)||!Object(r["s"])(y)))return s?bt:l;if(Object(r["s"])(O)&&null==t.messageCompiler)return Object(r["x"])(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let M=!1;const x=()=>{M=!0},E=Jt(O)?O:ne(t,l,y,O,w,x);if(M)return O;const j=oe(t,y,_,u),A=nt(j),C=re(t,E,A),k=i?i(C,l):C;{const e={timestamp:Date.now(),key:Object(r["s"])(l)?l:Jt(O)?O.key:"",locale:y||(Jt(O)?O.locale:""),format:Object(r["s"])(O)?O:Jt(O)?O.source:"",message:k};e.meta=Object(r["a"])({},t.__meta,Tt()||{}),ot(e)}return k}function te(t){Object(r["j"])(t.list)?t.list=t.list.map(t=>Object(r["s"])(t)?Object(r["c"])(t):t):Object(r["p"])(t.named)&&Object.keys(t.named).forEach(e=>{Object(r["s"])(t.named[e])&&(t.named[e]=Object(r["c"])(t.named[e]))})}function ee(t,e,n,i,s,o){const{messages:a,onWarn:c,messageResolver:l,localeFallbacker:u}=t,h=u(t,i,n);let f,p={},d=null,m=n,g=null;const b="translate";for(let v=0;v<h.length;v++){if(f=g=h[v],n!==f&&Rt(s,e)&&c(ut(ct.FALLBACK_TO_TRANSLATE,{key:e,target:f})),n!==f){const n=t.__v_emitter;n&&n.emit("fallback",{type:b,key:e,from:m,to:g,groupId:`${b}:${e}`})}p=a[f]||{};let i,u,y=null;if(r["i"]&&(y=window.performance.now(),i="intlify-message-resolve-start",u="intlify-message-resolve-end",r["u"]&&Object(r["u"])(i)),null===(d=l(p,e))&&(d=p[e]),r["i"]){const n=window.performance.now(),s=t.__v_emitter;s&&y&&d&&s.emit("message-resolve",{type:"message-resolve",key:e,message:d,time:n-y,groupId:`${b}:${e}`}),i&&u&&r["u"]&&r["v"]&&(Object(r["u"])(u),Object(r["v"])("intlify message resolve",i,u))}if(Object(r["s"])(d)||Object(r["n"])(d))break;const _=Ut(t,e,f,o,b);_!==e&&(d=_),m=g}return[d,f,p]}function ne(t,e,n,i,s,o){const{messageCompiler:a,warnHtmlMessage:c}=t;if(Jt(i)){const t=i;return t.locale=t.locale||n,t.key=t.key||e,t}if(null==a){const t=()=>i;return t.locale=n,t.key=e,t}let l,u,h=null;r["i"]&&(h=window.performance.now(),l="intlify-message-compilation-start",u="intlify-message-compilation-end",r["u"]&&Object(r["u"])(l));const f=a(i,se(t,n,s,i,c,o));if(r["i"]){const n=window.performance.now(),s=t.__v_emitter;s&&h&&s.emit("message-compilation",{type:"message-compilation",message:i,time:n-h,groupId:"translate:"+e}),l&&u&&r["u"]&&r["v"]&&(Object(r["u"])(u),Object(r["v"])("intlify message compilation",l,u))}return f.locale=n,f.key=e,f.source=i,f}function re(t,e,n){let i,s,o=null;r["i"]&&(o=window.performance.now(),i="intlify-message-evaluation-start",s="intlify-message-evaluation-end",r["u"]&&Object(r["u"])(i));const a=e(n);if(r["i"]){const n=window.performance.now(),c=t.__v_emitter;c&&o&&c.emit("message-evaluation",{type:"message-evaluation",value:a,time:n-o,groupId:"translate:"+e.key}),i&&s&&r["u"]&&r["v"]&&(Object(r["u"])(s),Object(r["v"])("intlify message evaluation",i,s))}return a}function ie(...t){const[e,n,i]=t,s={};if(!Object(r["s"])(e)&&!Object(r["o"])(e)&&!Jt(e))throw Xt(zt.INVALID_ARGUMENT);const o=Object(r["o"])(e)?String(e):(Jt(e),e);return Object(r["o"])(n)?s.plural=n:Object(r["s"])(n)?s.default=n:Object(r["q"])(n)&&!Object(r["m"])(n)?s.named=n:Object(r["j"])(n)&&(s.list=n),Object(r["o"])(i)?s.plural=i:Object(r["s"])(i)?s.default=i:Object(r["q"])(i)&&Object(r["a"])(s,i),[o,s]}function se(t,e,n,i,s,o){return{warnHtmlMessage:s,onError:e=>{o&&o(e);{const s="Message compilation error: "+e.message,o=e.location&&Object(r["e"])(i,e.location.start.offset,e.location.end.offset),a=t.__v_emitter;a&&a.emit("compile-error",{message:i,error:e.message,start:e.location&&e.location.start.offset,end:e.location&&e.location.end.offset,groupId:"translate:"+n}),console.error(o?`${s}\n${o}`:s)}},onCacheKey:t=>Object(r["f"])(e,n,t)}}function oe(t,e,n,i){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:c,fallbackWarn:l,missingWarn:u,fallbackContext:h}=t,f=i=>{let s=a(n,i);if(null==s&&h){const[,,t]=ee(h,i,e,c,l,u);s=a(t,i)}if(Object(r["s"])(s)){let n=!1;const r=()=>{n=!0},o=ne(t,i,e,s,i,r);return n?Qt:o}return Jt(s)?s:Qt},p={locale:e,modifiers:s,pluralRules:o,messages:f};return t.processor&&(p.processor=t.processor),i.list&&(p.list=i.list),i.named&&(p.named=i.named),Object(r["o"])(i.plural)&&(p.pluralIndex=i.plural),p}const ae="undefined"!==typeof Intl,ce={dateTimeFormat:ae&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:ae&&"undefined"!==typeof Intl.NumberFormat};function le(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:s,onWarn:o,localeFallbacker:a}=t,{__datetimeFormatters:c}=t;if(!ce.dateTimeFormat)return o(ut(ct.CANNOT_FORMAT_DATE)),yt;const[l,u,h,f]=he(...e),p=Object(r["k"])(h.missingWarn)?h.missingWarn:t.missingWarn,d=Object(r["k"])(h.fallbackWarn)?h.fallbackWarn:t.fallbackWarn,m=!!h.part,g=Object(r["s"])(h.locale)?h.locale:t.locale,b=a(t,s,g);if(!Object(r["s"])(l)||""===l)return new Intl.DateTimeFormat(g,f).format(u);let v,y={},_=null,O=g,w=null;const M="datetime format";for(let j=0;j<b.length;j++){if(v=w=b[j],g!==v&&Rt(d,l)&&o(ut(ct.FALLBACK_TO_DATE_FORMAT,{key:l,target:v})),g!==v){const e=t.__v_emitter;e&&e.emit("fallback",{type:M,key:l,from:O,to:w,groupId:`${M}:${l}`})}if(y=n[v]||{},_=y[l],Object(r["q"])(_))break;Ut(t,l,v,p,M),O=w}if(!Object(r["q"])(_)||!Object(r["s"])(v))return i?bt:l;let x=`${v}__${l}`;Object(r["m"])(f)||(x=`${x}__${JSON.stringify(f)}`);let E=c.get(x);return E||(E=new Intl.DateTimeFormat(v,Object(r["a"])({},_,f)),c.set(x,E)),m?E.formatToParts(u):E.format(u)}const ue=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function he(...t){const[e,n,i,s]=t,o={};let a,c={};if(Object(r["s"])(e)){const t=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!t)throw Xt(zt.INVALID_ISO_DATE_ARGUMENT);const n=t[3]?t[3].trim().startsWith("T")?`${t[1].trim()}${t[3].trim()}`:`${t[1].trim()}T${t[3].trim()}`:t[1].trim();a=new Date(n);try{a.toISOString()}catch(l){throw Xt(zt.INVALID_ISO_DATE_ARGUMENT)}}else if(Object(r["l"])(e)){if(isNaN(e.getTime()))throw Xt(zt.INVALID_DATE_ARGUMENT);a=e}else{if(!Object(r["o"])(e))throw Xt(zt.INVALID_ARGUMENT);a=e}return Object(r["s"])(n)?o.key=n:Object(r["q"])(n)&&Object.keys(n).forEach(t=>{ue.includes(t)?c[t]=n[t]:o[t]=n[t]}),Object(r["s"])(i)?o.locale=i:Object(r["q"])(i)&&(c=i),Object(r["q"])(s)&&(c=s),[o.key||"",a,o,c]}function fe(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__datetimeFormatters.has(t)&&r.__datetimeFormatters.delete(t)}}function pe(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:s,onWarn:o,localeFallbacker:a}=t,{__numberFormatters:c}=t;if(!ce.numberFormat)return o(ut(ct.CANNOT_FORMAT_NUMBER)),yt;const[l,u,h,f]=me(...e),p=Object(r["k"])(h.missingWarn)?h.missingWarn:t.missingWarn,d=Object(r["k"])(h.fallbackWarn)?h.fallbackWarn:t.fallbackWarn,m=!!h.part,g=Object(r["s"])(h.locale)?h.locale:t.locale,b=a(t,s,g);if(!Object(r["s"])(l)||""===l)return new Intl.NumberFormat(g,f).format(u);let v,y={},_=null,O=g,w=null;const M="number format";for(let j=0;j<b.length;j++){if(v=w=b[j],g!==v&&Rt(d,l)&&o(ut(ct.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:v})),g!==v){const e=t.__v_emitter;e&&e.emit("fallback",{type:M,key:l,from:O,to:w,groupId:`${M}:${l}`})}if(y=n[v]||{},_=y[l],Object(r["q"])(_))break;Ut(t,l,v,p,M),O=w}if(!Object(r["q"])(_)||!Object(r["s"])(v))return i?bt:l;let x=`${v}__${l}`;Object(r["m"])(f)||(x=`${x}__${JSON.stringify(f)}`);let E=c.get(x);return E||(E=new Intl.NumberFormat(v,Object(r["a"])({},_,f)),c.set(x,E)),m?E.formatToParts(u):E.format(u)}const de=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function me(...t){const[e,n,i,s]=t,o={};let a={};if(!Object(r["o"])(e))throw Xt(zt.INVALID_ARGUMENT);const c=e;return Object(r["s"])(n)?o.key=n:Object(r["q"])(n)&&Object.keys(n).forEach(t=>{de.includes(t)?a[t]=n[t]:o[t]=n[t]}),Object(r["s"])(i)?o.locale=i:Object(r["q"])(i)&&(a=i),Object(r["q"])(s)&&(a=s),[o.key||"",c,o,a]}function ge(t,e,n){const r=t;for(const i in n){const t=`${e}__${i}`;r.__numberFormatters.has(t)&&r.__numberFormatters.delete(t)}}"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(Object(r["g"])().__INTLIFY_PROD_DEVTOOLS__=!1);var be=n(0),ve=n(80);const ye="devtools-plugin:setup",_e="plugin:settings:set";var Oe=n(78);class we{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const o in t.settings){const e=t.settings[o];n[o]=e.defaultValue}const r="__vue-devtools-plugin-settings__"+t.id;let i=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(i,e)}catch(s){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(s){}i=t},now(){return Object(Oe["a"])()}},e&&e.on(_e,(t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)}),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise(n=>{this.targetQueue.push({method:e,args:t,resolve:n})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function Me(t,e){const n=t,r=Object(ve["b"])(),i=Object(ve["a"])(),s=ve["c"]&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&s){const t=s?new we(n,i):null,o=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];o.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(ye,t,e)}
  28. /*!
  29. * vue-devtools v9.2.2
  30. * (c) 2022 kazuya kawaguchi
  31. * Released under the MIT License.
  32. */const xe={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},Ee={["vue-i18n-resource-inspector"]:"Search for scopes ..."},je={["vue-i18n-timeline"]:16764185},Ae="9.2.2";function Ce(){let t=!1;"boolean"!==typeof __VUE_I18N_FULL_INSTALL__&&(t=!0,Object(r["g"])().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!==typeof __VUE_I18N_LEGACY_API__&&(t=!0,Object(r["g"])().__VUE_I18N_LEGACY_API__=!0),"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(Object(r["g"])().__INTLIFY_PROD_DEVTOOLS__=!1),t&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let ke=ct.__EXTEND_POINT__;const Te=()=>++ke,Se={FALLBACK_TO_ROOT:ke,NOT_SUPPORTED_PRESERVE:Te(),NOT_SUPPORTED_FORMATTER:Te(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Te(),NOT_SUPPORTED_GET_CHOICE_INDEX:Te(),COMPONENT_NAME_LEGACY_COMPATIBLE:Te(),NOT_FOUND_PARENT_SCOPE:Te()},Ne={[Se.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Se.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Se.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Se.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Se.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Se.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Ie(t,...e){return Object(r["d"])(Ne[t],...e)}let Le=i.__EXTEND_POINT__;const Pe=()=>++Le,Re={UNEXPECTED_RETURN_TYPE:Le,INVALID_ARGUMENT:Pe(),MUST_BE_CALL_SETUP_TOP:Pe(),NOT_INSLALLED:Pe(),NOT_AVAILABLE_IN_LEGACY_MODE:Pe(),REQUIRED_VALUE:Pe(),INVALID_VALUE:Pe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Pe(),NOT_INSLALLED_WITH_PROVIDE:Pe(),UNEXPECTED_ERROR:Pe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Pe(),BRIDGE_SUPPORT_VUE_2_ONLY:Pe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Pe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Pe(),__EXTEND_POINT__:Pe()};function Fe(t,...e){return o(t,null,{messages:Ue,args:e})}const Ue={[Re.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Re.INVALID_ARGUMENT]:"Invalid argument",[Re.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Re.NOT_INSLALLED]:"Need to install with `app.use` function",[Re.UNEXPECTED_ERROR]:"Unexpected error",[Re.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Re.REQUIRED_VALUE]:"Required in value: {0}",[Re.INVALID_VALUE]:"Invalid value",[Re.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Re.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Re.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Re.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Re.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Re.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},De=Object(r["t"])("__transrateVNode"),$e=Object(r["t"])("__datetimeParts"),Be=Object(r["t"])("__numberParts"),qe=Object(r["t"])("__enableEmitter"),We=Object(r["t"])("__disableEmitter"),Ve=Object(r["t"])("__setPluralRules");Object(r["t"])("__intlifyMeta");const He=Object(r["t"])("__injectWithOption");function Ye(t){if(!Object(r["p"])(t))return t;for(const e in t)if(Object(r["h"])(t,e))if(e.includes(".")){const n=e.split("."),i=n.length-1;let s=t;for(let t=0;t<i;t++)n[t]in s||(s[n[t]]={}),s=s[n[t]];s[n[i]]=t[e],delete t[e],Object(r["p"])(s[n[i]])&&Ye(s[n[i]])}else Object(r["p"])(t[e])&&Ye(t[e]);return t}function Ge(t,e){const{messages:n,__i18n:i,messageResolver:s,flatJson:o}=e,a=Object(r["q"])(n)?n:Object(r["j"])(i)?{}:{[t]:{}};if(Object(r["j"])(i)&&i.forEach(t=>{if("locale"in t&&"resource"in t){const{locale:e,resource:n}=t;e?(a[e]=a[e]||{},Xe(n,a[e])):Xe(n,a)}else Object(r["s"])(t)&&Xe(JSON.parse(t),a)}),null==s&&o)for(const c in a)Object(r["h"])(a,c)&&Ye(a[c]);return a}const ze=t=>!Object(r["p"])(t)||Object(r["j"])(t);function Xe(t,e){if(ze(t)||ze(e))throw Fe(Re.INVALID_VALUE);for(const n in t)Object(r["h"])(t,n)&&(ze(t[n])||ze(e[n])?e[n]=t[n]:Xe(t[n],e[n]))}function Ke(t){return t.type}function Qe(t,e,n){let i=Object(r["p"])(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Ge(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const s=Object.keys(i);if(s.length&&s.forEach(e=>{t.mergeLocaleMessage(e,i[e])}),Object(r["p"])(e.datetimeFormats)){const n=Object.keys(e.datetimeFormats);n.length&&n.forEach(n=>{t.mergeDateTimeFormat(n,e.datetimeFormats[n])})}if(Object(r["p"])(e.numberFormats)){const n=Object.keys(e.numberFormats);n.length&&n.forEach(n=>{t.mergeNumberFormat(n,e.numberFormats[n])})}}function Je(t){return Object(be["n"])(be["d"],null,t,0)}const Ze="__INTLIFY_META__";let tn=0;function en(t){return(e,n,r,i)=>t(n,r,Object(be["r"])()||void 0,i)}const nn=()=>{const t=Object(be["r"])();let e=null;return t&&(e=Ke(t)[Ze])?{[Ze]:e}:null};function rn(t={},e){const{__root:n}=t,i=void 0===n;let s=!Object(r["k"])(t.inheritLocale)||t.inheritLocale;const o=Object(be["N"])(n&&s?n.locale.value:Object(r["s"])(t.locale)?t.locale:vt),a=Object(be["N"])(n&&s?n.fallbackLocale.value:Object(r["s"])(t.fallbackLocale)||Object(r["j"])(t.fallbackLocale)||Object(r["q"])(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:o.value),c=Object(be["N"])(Ge(o.value,t)),l=Object(be["N"])(Object(r["q"])(t.datetimeFormats)?t.datetimeFormats:{[o.value]:{}}),u=Object(be["N"])(Object(r["q"])(t.numberFormats)?t.numberFormats:{[o.value]:{}});let h=n?n.missingWarn:!Object(r["k"])(t.missingWarn)&&!Object(r["r"])(t.missingWarn)||t.missingWarn,f=n?n.fallbackWarn:!Object(r["k"])(t.fallbackWarn)&&!Object(r["r"])(t.fallbackWarn)||t.fallbackWarn,p=n?n.fallbackRoot:!Object(r["k"])(t.fallbackRoot)||t.fallbackRoot,d=!!t.fallbackFormat,m=Object(r["n"])(t.missing)?t.missing:null,g=Object(r["n"])(t.missing)?en(t.missing):null,b=Object(r["n"])(t.postTranslation)?t.postTranslation:null,v=n?n.warnHtmlMessage:!Object(r["k"])(t.warnHtmlMessage)||t.warnHtmlMessage,y=!!t.escapeParameter;const _=n?n.modifiers:Object(r["q"])(t.modifiers)?t.modifiers:{};let O,w=t.pluralRules||n&&n.pluralRules;const M=()=>{i&&Nt(null);const e={version:Ae,locale:o.value,fallbackLocale:a.value,messages:c.value,modifiers:_,pluralRules:w,missing:null===g?void 0:g,missingWarn:h,fallbackWarn:f,fallbackFormat:d,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:v,escapeParameter:y,messageResolver:t.messageResolver,__meta:{framework:"vue"}};e.datetimeFormats=l.value,e.numberFormats=u.value,e.__datetimeFormatters=Object(r["q"])(O)?O.__datetimeFormatters:void 0,e.__numberFormatters=Object(r["q"])(O)?O.__numberFormatters:void 0,e.__v_emitter=Object(r["q"])(O)?O.__v_emitter:void 0;const n=Pt(e);return i&&Nt(n),n};function x(){return[o.value,a.value,c.value,l.value,u.value]}O=M(),Dt(O,o.value,a.value);const E=Object(be["f"])({get:()=>o.value,set:t=>{o.value=t,O.locale=o.value}}),j=Object(be["f"])({get:()=>a.value,set:t=>{a.value=t,O.fallbackLocale=a.value,Dt(O,o.value,t)}}),A=Object(be["f"])(()=>c.value),C=Object(be["f"])(()=>l.value),k=Object(be["f"])(()=>u.value);function T(){return Object(r["n"])(b)?b:null}function S(t){b=t,O.postTranslation=t}function N(){return m}function I(t){null!==t&&(g=en(t)),m=t,O.missing=g}function L(t,e){return"translate"!==t||!e.resolvedMessage}const P=(t,e,s,o,a,c)=>{let l;x();try{kt(nn()),i||(O.fallbackContext=n?It():void 0),l=t(O)}finally{kt(null),i||(O.fallbackContext=void 0)}if(Object(r["o"])(l)&&l===bt){const[t,i]=e();if(n&&Object(r["s"])(t)&&L(s,i)){p&&(Rt(f,t)||Ft(h,t))&&Object(r["x"])(Ie(Se.FALLBACK_TO_ROOT,{key:t,type:s}));{const{__v_emitter:e}=O;e&&p&&e.emit("fallback",{type:s,key:t,to:"global",groupId:`${s}:${t}`})}}return n&&p?o(n):a(t)}if(c(l))return l;throw Fe(Re.UNEXPECTED_RETURN_TYPE)};function R(...t){return P(e=>Reflect.apply(Zt,null,[e,...t]),()=>ie(...t),"translate",e=>Reflect.apply(e.t,e,[...t]),t=>t,t=>Object(r["s"])(t))}function F(...t){const[e,n,i]=t;if(i&&!Object(r["p"])(i))throw Fe(Re.INVALID_ARGUMENT);return R(e,n,Object(r["a"])({resolvedMessage:!0},i||{}))}function U(...t){return P(e=>Reflect.apply(le,null,[e,...t]),()=>he(...t),"datetime format",e=>Reflect.apply(e.d,e,[...t]),()=>yt,t=>Object(r["s"])(t))}function D(...t){return P(e=>Reflect.apply(pe,null,[e,...t]),()=>me(...t),"number format",e=>Reflect.apply(e.n,e,[...t]),()=>yt,t=>Object(r["s"])(t))}function $(t){return t.map(t=>Object(r["s"])(t)||Object(r["o"])(t)||Object(r["k"])(t)?Je(String(t)):t)}const B=t=>t,q={normalize:$,interpolate:B,type:"vnode"};function W(...t){return P(e=>{let n;const r=e;try{r.processor=q,n=Reflect.apply(Zt,null,[r,...t])}finally{r.processor=null}return n},()=>ie(...t),"translate",e=>e[De](...t),t=>[Je(t)],t=>Object(r["j"])(t))}function V(...t){return P(e=>Reflect.apply(pe,null,[e,...t]),()=>me(...t),"number format",e=>e[Be](...t),()=>[],t=>Object(r["s"])(t)||Object(r["j"])(t))}function H(...t){return P(e=>Reflect.apply(le,null,[e,...t]),()=>he(...t),"datetime format",e=>e[$e](...t),()=>[],t=>Object(r["s"])(t)||Object(r["j"])(t))}function Y(t){w=t,O.pluralRules=w}function G(t,e){const n=Object(r["s"])(e)?e:o.value,i=K(n);return null!==O.messageResolver(i,t)}function z(t){let e=null;const n=ft(O,a.value,o.value);for(let r=0;r<n.length;r++){const i=c.value[n[r]]||{},s=O.messageResolver(i,t);if(null!=s){e=s;break}}return e}function X(t){const e=z(t);return null!=e?e:n&&n.tm(t)||{}}function K(t){return c.value[t]||{}}function Q(t,e){c.value[t]=e,O.messages=c.value}function J(t,e){c.value[t]=c.value[t]||{},Xe(e,c.value[t]),O.messages=c.value}function Z(t){return l.value[t]||{}}function tt(t,e){l.value[t]=e,O.datetimeFormats=l.value,fe(O,t,e)}function et(t,e){l.value[t]=Object(r["a"])(l.value[t]||{},e),O.datetimeFormats=l.value,fe(O,t,e)}function nt(t){return u.value[t]||{}}function rt(t,e){u.value[t]=e,O.numberFormats=u.value,ge(O,t,e)}function it(t,e){u.value[t]=Object(r["a"])(u.value[t]||{},e),O.numberFormats=u.value,ge(O,t,e)}tn++,n&&r["i"]&&(Object(be["cb"])(n.locale,t=>{s&&(o.value=t,O.locale=t,Dt(O,o.value,a.value))}),Object(be["cb"])(n.fallbackLocale,t=>{s&&(a.value=t,O.fallbackLocale=t,Dt(O,o.value,a.value))}));const st={id:tn,locale:E,fallbackLocale:j,get inheritLocale(){return s},set inheritLocale(t){s=t,t&&n&&(o.value=n.locale.value,a.value=n.fallbackLocale.value,Dt(O,o.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:A,get modifiers(){return _},get pluralRules(){return w||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(t){h=t,O.missingWarn=h},get fallbackWarn(){return f},set fallbackWarn(t){f=t,O.fallbackWarn=f},get fallbackRoot(){return p},set fallbackRoot(t){p=t},get fallbackFormat(){return d},set fallbackFormat(t){d=t,O.fallbackFormat=d},get warnHtmlMessage(){return v},set warnHtmlMessage(t){v=t,O.warnHtmlMessage=t},get escapeParameter(){return y},set escapeParameter(t){y=t,O.escapeParameter=t},t:R,getLocaleMessage:K,setLocaleMessage:Q,mergeLocaleMessage:J,getPostTranslationHandler:T,setPostTranslationHandler:S,getMissingHandler:N,setMissingHandler:I,[Ve]:Y};return st.datetimeFormats=C,st.numberFormats=k,st.rt=F,st.te=G,st.tm=X,st.d=U,st.n=D,st.getDateTimeFormat=Z,st.setDateTimeFormat=tt,st.mergeDateTimeFormat=et,st.getNumberFormat=nt,st.setNumberFormat=rt,st.mergeNumberFormat=it,st[He]=t.__injectWithOption,st[De]=W,st[$e]=H,st[Be]=V,st[qe]=t=>{O.__v_emitter=t},st[We]=()=>{O.__v_emitter=void 0},st}function sn(t){const e=Object(r["s"])(t.locale)?t.locale:vt,n=Object(r["s"])(t.fallbackLocale)||Object(r["j"])(t.fallbackLocale)||Object(r["q"])(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:e,i=Object(r["n"])(t.missing)?t.missing:void 0,s=!Object(r["k"])(t.silentTranslationWarn)&&!Object(r["r"])(t.silentTranslationWarn)||!t.silentTranslationWarn,o=!Object(r["k"])(t.silentFallbackWarn)&&!Object(r["r"])(t.silentFallbackWarn)||!t.silentFallbackWarn,a=!Object(r["k"])(t.fallbackRoot)||t.fallbackRoot,c=!!t.formatFallbackMessages,l=Object(r["q"])(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,h=Object(r["n"])(t.postTranslation)?t.postTranslation:void 0,f=!Object(r["s"])(t.warnHtmlInMessage)||"off"!==t.warnHtmlInMessage,p=!!t.escapeParameterHtml,d=!Object(r["k"])(t.sync)||t.sync;t.formatter&&Object(r["x"])(Ie(Se.NOT_SUPPORTED_FORMATTER)),t.preserveDirectiveContent&&Object(r["x"])(Ie(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let m=t.messages;if(Object(r["q"])(t.sharedMessages)){const e=t.sharedMessages,n=Object.keys(e);m=n.reduce((t,n)=>{const i=t[n]||(t[n]={});return Object(r["a"])(i,e[n]),t},m||{})}const{__i18n:g,__root:b,__injectWithOption:v}=t,y=t.datetimeFormats,_=t.numberFormats,O=t.flatJson;return{locale:e,fallbackLocale:n,messages:m,flatJson:O,datetimeFormats:y,numberFormats:_,missing:i,missingWarn:s,fallbackWarn:o,fallbackRoot:a,fallbackFormat:c,modifiers:l,pluralRules:u,postTranslation:h,warnHtmlMessage:f,escapeParameter:p,messageResolver:t.messageResolver,inheritLocale:d,__i18n:g,__root:b,__injectWithOption:v}}function on(t={},e){{const e=rn(sn(t)),n={id:e.id,get locale(){return e.locale.value},set locale(t){e.locale.value=t},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(t){e.fallbackLocale.value=t},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return Object(r["x"])(Ie(Se.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(t){Object(r["x"])(Ie(Se.NOT_SUPPORTED_FORMATTER))},get missing(){return e.getMissingHandler()},set missing(t){e.setMissingHandler(t)},get silentTranslationWarn(){return Object(r["k"])(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(t){e.missingWarn=Object(r["k"])(t)?!t:t},get silentFallbackWarn(){return Object(r["k"])(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(t){e.fallbackWarn=Object(r["k"])(t)?!t:t},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(t){e.fallbackFormat=t},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(t){e.setPostTranslationHandler(t)},get sync(){return e.inheritLocale},set sync(t){e.inheritLocale=t},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(t){e.warnHtmlMessage="off"!==t},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(t){e.escapeParameter=t},get preserveDirectiveContent(){return Object(r["x"])(Ie(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(t){Object(r["x"])(Ie(Se.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...t){const[n,i,s]=t,o={};let a=null,c=null;if(!Object(r["s"])(n))throw Fe(Re.INVALID_ARGUMENT);const l=n;return Object(r["s"])(i)?o.locale=i:Object(r["j"])(i)?a=i:Object(r["q"])(i)&&(c=i),Object(r["j"])(s)?a=s:Object(r["q"])(s)&&(c=s),Reflect.apply(e.t,e,[l,a||c||{},o])},rt(...t){return Reflect.apply(e.rt,e,[...t])},tc(...t){const[n,i,s]=t,o={plural:1};let a=null,c=null;if(!Object(r["s"])(n))throw Fe(Re.INVALID_ARGUMENT);const l=n;return Object(r["s"])(i)?o.locale=i:Object(r["o"])(i)?o.plural=i:Object(r["j"])(i)?a=i:Object(r["q"])(i)&&(c=i),Object(r["s"])(s)?o.locale=s:Object(r["j"])(s)?a=s:Object(r["q"])(s)&&(c=s),Reflect.apply(e.t,e,[l,a||c||{},o])},te(t,n){return e.te(t,n)},tm(t){return e.tm(t)},getLocaleMessage(t){return e.getLocaleMessage(t)},setLocaleMessage(t,n){e.setLocaleMessage(t,n)},mergeLocaleMessage(t,n){e.mergeLocaleMessage(t,n)},d(...t){return Reflect.apply(e.d,e,[...t])},getDateTimeFormat(t){return e.getDateTimeFormat(t)},setDateTimeFormat(t,n){e.setDateTimeFormat(t,n)},mergeDateTimeFormat(t,n){e.mergeDateTimeFormat(t,n)},n(...t){return Reflect.apply(e.n,e,[...t])},getNumberFormat(t){return e.getNumberFormat(t)},setNumberFormat(t,n){e.setNumberFormat(t,n)},mergeNumberFormat(t,n){e.mergeNumberFormat(t,n)},getChoiceIndex(t,e){return Object(r["x"])(Ie(Se.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1},__onComponentInstanceCreated(e){const{componentInstanceCreatedListener:r}=t;r&&r(e,n)}};return n.__enableEmitter=t=>{const n=e;n[qe]&&n[qe](t)},n.__disableEmitter=()=>{const t=e;t[We]&&t[We]()},n}}const an={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>"parent"===t||"global"===t,default:"parent"},i18n:{type:Object}};function cn({slots:t},e){if(1===e.length&&"default"===e[0]){const e=t.default?t.default():[];return e.reduce((t,e)=>[...t,...Object(r["j"])(e.children)?e.children:[e]],[])}return e.reduce((e,n)=>{const r=t[n];return r&&(e[n]=r()),e},{})}function ln(t){return be["a"]}const un={name:"i18n-t",props:Object(r["a"])({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Object(r["o"])(t)||!isNaN(t)}},an),setup(t,e){const{slots:n,attrs:i}=e,s=t.i18n||qn({useScope:t.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(t=>"_"!==t),a={};t.locale&&(a.locale=t.locale),void 0!==t.plural&&(a.plural=Object(r["s"])(t.plural)?+t.plural:t.plural);const c=cn(e,o),l=s[De](t.keypath,c,a),u=Object(r["a"])({},i),h=Object(r["s"])(t.tag)||Object(r["p"])(t.tag)?t.tag:ln();return Object(be["t"])(h,u,l)}}};function hn(t){return Object(r["j"])(t)&&!Object(r["s"])(t[0])}function fn(t,e,n,i){const{slots:s,attrs:o}=e;return()=>{const e={part:!0};let a={};t.locale&&(e.locale=t.locale),Object(r["s"])(t.format)?e.key=t.format:Object(r["p"])(t.format)&&(Object(r["s"])(t.format.key)&&(e.key=t.format.key),a=Object.keys(t.format).reduce((e,i)=>n.includes(i)?Object(r["a"])({},e,{[i]:t.format[i]}):e,{}));const c=i(t.value,e,a);let l=[e.key];Object(r["j"])(c)?l=c.map((t,e)=>{const n=s[t.type],r=n?n({[t.type]:t.value,index:e,parts:c}):[t.value];return hn(r)&&(r[0].key=`${t.type}-${e}`),r}):Object(r["s"])(c)&&(l=[c]);const u=Object(r["a"])({},o),h=Object(r["s"])(t.tag)||Object(r["p"])(t.tag)?t.tag:ln();return Object(be["t"])(h,u,l)}}const pn={name:"i18n-n",props:Object(r["a"])({value:{type:Number,required:!0},format:{type:[String,Object]}},an),setup(t,e){const n=t.i18n||qn({useScope:"parent",__useComponent:!0});return fn(t,e,de,(...t)=>n[Be](...t))}},dn={name:"i18n-d",props:Object(r["a"])({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},an),setup(t,e){const n=t.i18n||qn({useScope:"parent",__useComponent:!0});return fn(t,e,ue,(...t)=>n[$e](...t))}};function mn(t,e){const n=t;if("composition"===t.mode)return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return null!=r?r.__composer:t.global.__composer}}function gn(t){const e=e=>{const{instance:n,modifiers:i,value:s}=e;if(!n||!n.$)throw Fe(Re.UNEXPECTED_ERROR);const o=mn(t,n.$);i.preserve&&Object(r["x"])(Ie(Se.NOT_SUPPORTED_PRESERVE));const a=bn(s);return[Reflect.apply(o.t,o,[...vn(a)]),o]},n=(n,i)=>{const[s,o]=e(i);r["i"]&&t.global===o&&(n.__i18nWatcher=Object(be["cb"])(o.locale,()=>{i.instance&&i.instance.$forceUpdate()})),n.__composer=o,n.textContent=s},i=t=>{r["i"]&&t.__i18nWatcher&&(t.__i18nWatcher(),t.__i18nWatcher=void 0,delete t.__i18nWatcher),t.__composer&&(t.__composer=void 0,delete t.__composer)},s=(t,{value:e})=>{if(t.__composer){const n=t.__composer,r=bn(e);t.textContent=Reflect.apply(n.t,n,[...vn(r)])}},o=t=>{const[n]=e(t);return{textContent:n}};return{created:n,unmounted:i,beforeUpdate:s,getSSRProps:o}}function bn(t){if(Object(r["s"])(t))return{path:t};if(Object(r["q"])(t)){if(!("path"in t))throw Fe(Re.REQUIRED_VALUE,"path");return t}throw Fe(Re.INVALID_VALUE)}function vn(t){const{path:e,locale:n,args:i,choice:s,plural:o}=t,a={},c=i||{};return Object(r["s"])(n)&&(a.locale=n),Object(r["o"])(s)&&(a.plural=s),Object(r["o"])(o)&&(a.plural=o),[e,c,a]}function yn(t,e,...n){const i=Object(r["q"])(n[0])?n[0]:{},s=!!i.useI18nComponentName,o=!Object(r["k"])(i.globalInstall)||i.globalInstall;o&&s&&Object(r["x"])(Ie(Se.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:un.name})),o&&(t.component(s?"i18n":un.name,un),t.component(pn.name,pn),t.component(dn.name,dn)),t.directive("t",gn(e))}const _n="vue-i18n: composer properties";let On;async function wn(t,e){return new Promise((n,r)=>{try{Me({id:"vue-devtools-plugin-vue-i18n",label:xe["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[_n],app:t},r=>{On=r,r.on.visitComponentTree(({componentInstance:t,treeNode:n})=>{xn(t,n,e)}),r.on.inspectComponent(({componentInstance:t,instanceData:n})=>{t.vnode.el&&t.vnode.el.__VUE_I18N__&&n&&("legacy"===e.mode?t.vnode.el.__VUE_I18N__!==e.global.__composer&&En(n,t.vnode.el.__VUE_I18N__):En(n,t.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:xe["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Ee["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(n=>{n.app===t&&"vue-i18n-resource-inspector"===n.inspectorId&&Sn(n,e)});const i=new Map;r.on.getInspectorState(async n=>{if(n.app===t&&"vue-i18n-resource-inspector"===n.inspectorId)if(r.unhighlightElement(),Ln(n,e),"global"===n.nodeId){if(!i.has(n.app)){const[t]=await r.getComponentInstances(n.app);i.set(n.app,t)}r.highlightElement(i.get(n.app))}else{const t=Nn(n.nodeId,e);t&&r.highlightElement(t)}}),r.on.editInspectorState(n=>{n.app===t&&"vue-i18n-resource-inspector"===n.inspectorId&&Fn(n,e)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:xe["vue-i18n-timeline"],color:je["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})}function Mn(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function xn(t,e,n){const r="composition"===n.mode?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==r){const n={label:`i18n (${Mn(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(n)}}function En(t,e){const n=_n;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:jn(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function jn(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];Object(r["n"])(i)&&"source"in i?e[n]=Tn(i):Object(r["p"])(i)?e[n]=jn(i):e[n]=i}),e}const An={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function Cn(t){return t.replace(/[<>"&]/g,kn)}function kn(t){return An[t]||t}function Tn(t){const e=t.source?`("${Cn(t.source)}")`:"(?)";return{_custom:{type:"function",display:"<span>ƒ</span> "+e}}}function Sn(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n="composition"===e.mode?e.global:e.global.__composer;for(const[r,i]of e.__instances){const s="composition"===e.mode?i:i.__composer;n!==s&&t.rootNodes.push({id:s.id.toString(),label:Mn(r)+" Scope"})}}function Nn(t,e){let n=null;if("global"!==t)for(const[r,i]of e.__instances.entries())if(i.id.toString()===t){n=r;break}return n}function In(t,e){if("global"===t)return"composition"===e.mode?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(e=>e.id.toString()===t);return n?"composition"===e.mode?n:n.__composer:null}}function Ln(t,e){const n=In(t.nodeId,e);return n&&(t.state=Pn(n)),null}function Pn(t){const e={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=r;const i="Locale messages info",s=[{type:i,key:"messages",editable:!1,value:jn(t.messages.value)}];e[i]=s;{const n="Datetime formats info",r=[{type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[n]=r;const i="Datetime formats info",s=[{type:i,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[i]=s}return e}function Rn(t,e){if(On){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),On.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:"compile-error"===t?"error":"fallback"===t||"missing"===t?"warning":"default"}})}}function Fn(t,e){const n=In(t.nodeId,e);if(n){const[e]=t.path;"locale"===e&&Object(r["s"])(t.state.value)?n.locale.value=t.state.value:"fallbackLocale"===e&&(Object(r["s"])(t.state.value)||Object(r["j"])(t.state.value)||Object(r["p"])(t.state.value))?n.fallbackLocale.value=t.state.value:"inheritLocale"===e&&Object(r["k"])(t.state.value)&&(n.inheritLocale=t.state.value)}}function Un(t,e,n){return{beforeCreate(){const r=Object(be["r"])();if(!r)throw Fe(Re.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const n=i.i18n;i.__i18n&&(n.__i18n=i.__i18n),n.__root=e,this===this.$root?this.$i18n=Dn(t,n):(n.__injectWithOption=!0,this.$i18n=on(n))}else i.__i18n?this===this.$root?this.$i18n=Dn(t,i):this.$i18n=on({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&Qe(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,e)=>this.$i18n.te(t,e),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){if(this.$el&&this.$i18n){this.$el.__VUE_I18N__=this.$i18n.__composer;const t=this.__v_emitter=Object(r["b"])(),e=this.$i18n;e.__enableEmitter&&e.__enableEmitter(t),t.on("*",Rn)}},unmounted(){const t=Object(be["r"])();if(!t)throw Fe(Re.UNEXPECTED_ERROR);if(this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rn),delete this.__v_emitter),this.$i18n)){const t=this.$i18n;t.__disableEmitter&&t.__disableEmitter(),delete this.$el.__VUE_I18N__}delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(t),delete this.$i18n}}}function Dn(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Ve](e.pluralizationRules||t.pluralizationRules);const n=Ge(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(e=>t.mergeLocaleMessage(e,n[e])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(n=>t.mergeDateTimeFormat(n,e.datetimeFormats[n])),e.numberFormats&&Object.keys(e.numberFormats).forEach(n=>t.mergeNumberFormat(n,e.numberFormats[n])),t}const $n=Object(r["t"])("global-vue-i18n");function Bn(t={},e){const n=__VUE_I18N_LEGACY_API__&&Object(r["k"])(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=!Object(r["k"])(t.globalInjection)||t.globalInjection,s=!__VUE_I18N_LEGACY_API__||!n||!!t.allowComposition,o=new Map,[a,c]=Wn(t,n),l=Object(r["t"])("vue-i18n");function u(t){return o.get(t)||null}function h(t,e){o.set(t,e)}function f(t){o.delete(t)}{const t={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(e,...s){e.__VUE_I18N__=t,e.__VUE_I18N_SYMBOL__=l,e.provide(e.__VUE_I18N_SYMBOL__,t),!n&&i&&Jn(e,t.global),__VUE_I18N_FULL_INSTALL__&&yn(e,t,...s),__VUE_I18N_LEGACY_API__&&n&&e.mixin(Un(c,c.__composer,t));const o=e.unmount;e.unmount=()=>{t.dispose(),o()};{const i=await wn(e,t);if(!i)throw Fe(Re.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const s=Object(r["b"])();if(n){const t=c;t.__enableEmitter&&t.__enableEmitter(s)}else{const t=c;t[qe]&&t[qe](s)}s.on("*",Rn)}},get global(){return c},dispose(){a.stop()},__instances:o,__getInstance:u,__setInstance:h,__deleteInstance:f};return t}}function qn(t={}){const e=Object(be["r"])();if(null==e)throw Fe(Re.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&null!=e.appContext.app&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Fe(Re.NOT_INSLALLED);const n=Vn(e),i=Yn(n),s=Ke(e),o=Hn(t,s);if(__VUE_I18N_LEGACY_API__&&"legacy"===n.mode&&!t.__useComponent){if(!n.allowComposition)throw Fe(Re.NOT_AVAILABLE_IN_LEGACY_MODE);return Xn(e,o,i,t)}if("global"===o)return Qe(i,t,s),i;if("parent"===o){let s=Gn(n,e,t.__useComponent);return null==s&&(Object(r["x"])(Ie(Se.NOT_FOUND_PARENT_SCOPE)),s=i),s}const a=n;let c=a.__getInstance(e);if(null==c){const n=Object(r["a"])({},t);"__i18n"in s&&(n.__i18n=s.__i18n),i&&(n.__root=i),c=rn(n),zn(a,e,c),a.__setInstance(e,c)}return c}function Wn(t,e,n){const r=Object(be["q"])();{const n=__VUE_I18N_LEGACY_API__&&e?r.run(()=>on(t)):r.run(()=>rn(t));if(null==n)throw Fe(Re.UNEXPECTED_ERROR);return[r,n]}}function Vn(t){{const e=Object(be["u"])(t.isCE?$n:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Fe(t.isCE?Re.NOT_INSLALLED_WITH_PROVIDE:Re.UNEXPECTED_ERROR);return e}}function Hn(t,e){return Object(r["m"])(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Yn(t){return"composition"===t.mode?t.global:t.global.__composer}function Gn(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;while(null!=s){const e=t;if("composition"===t.mode)r=e.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const t=e.__getInstance(s);null!=t&&(r=t.__composer,n&&r&&!r[He]&&(r=null))}if(null!=r)break;if(i===s)break;s=s.parent}return r}function zn(t,e,n){let i=null;Object(be["F"])(()=>{if(e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=Object(r["b"])();const t=n;t[qe]&&t[qe](i),i.on("*",Rn)}},e),Object(be["G"])(()=>{if(e.vnode.el&&e.vnode.el.__VUE_I18N__){i&&i.off("*",Rn);const t=n;t[We]&&t[We](),delete e.vnode.el.__VUE_I18N__}t.__deleteInstance(e)},e)}function Xn(t,e,n,i={}){const s="local"===e,o=Object(be["V"])(null);if(s&&t.proxy&&!t.proxy.$options.i18n&&!t.proxy.$options.__i18n)throw Fe(Re.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=!Object(r["k"])(i.inheritLocale)||i.inheritLocale,c=Object(be["N"])(s&&a?n.locale.value:Object(r["s"])(i.locale)?i.locale:vt),l=Object(be["N"])(s&&a?n.fallbackLocale.value:Object(r["s"])(i.fallbackLocale)||Object(r["j"])(i.fallbackLocale)||Object(r["q"])(i.fallbackLocale)||!1===i.fallbackLocale?i.fallbackLocale:c.value),u=Object(be["N"])(Ge(c.value,i)),h=Object(be["N"])(Object(r["q"])(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),f=Object(be["N"])(Object(r["q"])(i.numberFormats)?i.numberFormats:{[c.value]:{}}),p=s?n.missingWarn:!Object(r["k"])(i.missingWarn)&&!Object(r["r"])(i.missingWarn)||i.missingWarn,d=s?n.fallbackWarn:!Object(r["k"])(i.fallbackWarn)&&!Object(r["r"])(i.fallbackWarn)||i.fallbackWarn,m=s?n.fallbackRoot:!Object(r["k"])(i.fallbackRoot)||i.fallbackRoot,g=!!i.fallbackFormat,b=Object(r["n"])(i.missing)?i.missing:null,v=Object(r["n"])(i.postTranslation)?i.postTranslation:null,y=s?n.warnHtmlMessage:!Object(r["k"])(i.warnHtmlMessage)||i.warnHtmlMessage,_=!!i.escapeParameter,O=s?n.modifiers:Object(r["q"])(i.modifiers)?i.modifiers:{},w=i.pluralRules||s&&n.pluralRules;function M(){return[c.value,l.value,u.value,h.value,f.value]}const x=Object(be["f"])({get:()=>o.value?o.value.locale.value:c.value,set:t=>{o.value&&(o.value.locale.value=t),c.value=t}}),E=Object(be["f"])({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:t=>{o.value&&(o.value.fallbackLocale.value=t),l.value=t}}),j=Object(be["f"])(()=>o.value?o.value.messages.value:u.value),A=Object(be["f"])(()=>h.value),C=Object(be["f"])(()=>f.value);function k(){return o.value?o.value.getPostTranslationHandler():v}function T(t){o.value&&o.value.setPostTranslationHandler(t)}function S(){return o.value?o.value.getMissingHandler():b}function N(t){o.value&&o.value.setMissingHandler(t)}function I(t){return M(),t()}function L(...t){return o.value?I(()=>Reflect.apply(o.value.t,null,[...t])):I(()=>"")}function P(...t){return o.value?Reflect.apply(o.value.rt,null,[...t]):""}function R(...t){return o.value?I(()=>Reflect.apply(o.value.d,null,[...t])):I(()=>"")}function F(...t){return o.value?I(()=>Reflect.apply(o.value.n,null,[...t])):I(()=>"")}function U(t){return o.value?o.value.tm(t):{}}function D(t,e){return!!o.value&&o.value.te(t,e)}function $(t){return o.value?o.value.getLocaleMessage(t):{}}function B(t,e){o.value&&(o.value.setLocaleMessage(t,e),u.value[t]=e)}function q(t,e){o.value&&o.value.mergeLocaleMessage(t,e)}function W(t){return o.value?o.value.getDateTimeFormat(t):{}}function V(t,e){o.value&&(o.value.setDateTimeFormat(t,e),h.value[t]=e)}function H(t,e){o.value&&o.value.mergeDateTimeFormat(t,e)}function Y(t){return o.value?o.value.getNumberFormat(t):{}}function G(t,e){o.value&&(o.value.setNumberFormat(t,e),f.value[t]=e)}function z(t,e){o.value&&o.value.mergeNumberFormat(t,e)}const X={get id(){return o.value?o.value.id:-1},locale:x,fallbackLocale:E,messages:j,datetimeFormats:A,numberFormats:C,get inheritLocale(){return o.value?o.value.inheritLocale:a},set inheritLocale(t){o.value&&(o.value.inheritLocale=t)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(u.value)},get modifiers(){return o.value?o.value.modifiers:O},get pluralRules(){return o.value?o.value.pluralRules:w},get isGlobal(){return!!o.value&&o.value.isGlobal},get missingWarn(){return o.value?o.value.missingWarn:p},set missingWarn(t){o.value&&(o.value.missingWarn=t)},get fallbackWarn(){return o.value?o.value.fallbackWarn:d},set fallbackWarn(t){o.value&&(o.value.missingWarn=t)},get fallbackRoot(){return o.value?o.value.fallbackRoot:m},set fallbackRoot(t){o.value&&(o.value.fallbackRoot=t)},get fallbackFormat(){return o.value?o.value.fallbackFormat:g},set fallbackFormat(t){o.value&&(o.value.fallbackFormat=t)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(t){o.value&&(o.value.warnHtmlMessage=t)},get escapeParameter(){return o.value?o.value.escapeParameter:_},set escapeParameter(t){o.value&&(o.value.escapeParameter=t)},t:L,getPostTranslationHandler:k,setPostTranslationHandler:T,getMissingHandler:S,setMissingHandler:N,rt:P,d:R,n:F,tm:U,te:D,getLocaleMessage:$,setLocaleMessage:B,mergeLocaleMessage:q,getDateTimeFormat:W,setDateTimeFormat:V,mergeDateTimeFormat:H,getNumberFormat:Y,setNumberFormat:G,mergeNumberFormat:z};function K(t){t.locale.value=c.value,t.fallbackLocale.value=l.value,Object.keys(u.value).forEach(e=>{t.mergeLocaleMessage(e,u.value[e])}),Object.keys(h.value).forEach(e=>{t.mergeDateTimeFormat(e,h.value[e])}),Object.keys(f.value).forEach(e=>{t.mergeNumberFormat(e,f.value[e])}),t.escapeParameter=_,t.fallbackFormat=g,t.fallbackRoot=m,t.fallbackWarn=d,t.missingWarn=p,t.warnHtmlMessage=y}return Object(be["D"])(()=>{if(null==t.proxy||null==t.proxy.$i18n)throw Fe(Re.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=o.value=t.proxy.$i18n.__composer;"global"===e?(c.value=n.locale.value,l.value=n.fallbackLocale.value,u.value=n.messages.value,h.value=n.datetimeFormats.value,f.value=n.numberFormats.value):s&&K(n)}),X}const Kn=["locale","fallbackLocale","availableLocales"],Qn=["t","rt","d","n","tm"];function Jn(t,e){const n=Object.create(null);Kn.forEach(t=>{const r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw Fe(Re.UNEXPECTED_ERROR);const i=Object(be["v"])(r.value)?{get(){return r.value.value},set(t){r.value.value=t}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,t,i)}),t.config.globalProperties.$i18n=n,Qn.forEach(n=>{const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!r.value)throw Fe(Re.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,"$"+n,r)})}Et(Ht),jt(G),At(ft),Ce();{const t=Object(r["g"])();t.__INTLIFY__=!0,it(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},,,,function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);e.f=s?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(53),i=n(43),s=n(96),o=n(100),a=n(155),c=n(48),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||s(t))return t;var n,c=o(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||s(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){var r=n(60);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(53),i=n(26),s=n(43),o=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!s(a=r(n,t)))return a;if(i(n=t.valueOf)&&!s(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!s(a=r(n,t)))return a;throw o("Can't convert object to primitive value")}},function(t,e,n){var r=n(28),i=n(43),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},function(t,e,n){var r=n(38),i=n(32);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var r=n(32),i=n(26),s=n(34),o=n(38),a=n(159).CONFIGURABLE,c=n(160),l=n(105),u=l.enforce,h=l.get,f=Object.defineProperty,p=o&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),d=String(String).split("String"),m=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||a&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),p&&n&&s(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=u(t);return s(r,"source")||(r.source=d.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return i(this)&&h(this).source||c(this)}),"toString")},function(t,e,n){var r=n(38),i=n(34),s=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function(){}.name,l=a&&(!r||r&&o(s,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},function(t,e,n){var r=n(33),i=n(26),s=n(86),o=r(Function.toString);i(s.inspectSource)||(s.inspectSource=function(t){return o(t)}),t.exports=s.inspectSource},function(t,e,n){var r=n(28),i=n(26),s=r.WeakMap;t.exports=i(s)&&/native code/.test(String(s))},function(t,e,n){var r=n(60),i=n(33),s=n(163),o=n(170),a=n(72),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=s.f(a(t)),n=o.f;return n?c(e,n(t)):e}},function(t,e,n){var r=n(164),i=n(169),s=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,s)}},function(t,e,n){var r=n(33),i=n(34),s=n(81),o=n(165).indexOf,a=n(107),c=r([].push);t.exports=function(t,e){var n,r=s(t),l=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&c(u,n);while(e.length>l)i(r,n=e[l++])&&(~o(u,n)||c(u,n));return u}},function(t,e,n){var r=n(81),i=n(166),s=n(55),o=function(t){return function(e,n,o){var a,c=r(e),l=s(c),u=i(o,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},function(t,e,n){var r=n(73),i=Math.max,s=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):s(n,e)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},function(t,e,n){var r=n(73),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(32),i=n(26),s=/#|\.prototype\./,o=function(t,e){var n=c[a(t)];return n==u||n!=l&&(i(e)?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(s,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},function(t,e,n){var r=n(69),i=Function.prototype,s=i.apply,o=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(s):function(){return o.apply(s,arguments)})},function(t,e,n){"use strict";var r=n(60),i=n(34),s=n(62),o=n(61),a=n(89),c=n(108),l=n(175),u=n(109),h=n(110),f=n(177),p=n(113),d=n(178),m=n(38),g=n(71);t.exports=function(t,e,n,b){var v="stackTraceLimit",y=b?2:1,_=t.split("."),O=_[_.length-1],w=r.apply(null,_);if(w){var M=w.prototype;if(!g&&i(M,"cause")&&delete M.cause,!n)return w;var x=r("Error"),E=e((function(t,e){var n=h(b?e:t,void 0),r=b?new w(t):new w;return void 0!==n&&s(r,"message",n),d&&s(r,"stack",p(r.stack,2)),this&&o(M,this)&&u(r,this,E),arguments.length>y&&f(r,arguments[y]),r}));if(E.prototype=M,"Error"!==O?a?a(E,x):c(E,x,{name:!0}):m&&v in w&&(l(E,w,v),l(E,w,"prepareStackTrace")),c(E,w),!g)try{M.name!==O&&s(M,"name",O),M.constructor=E}catch(j){}return E}}},function(t,e,n){var r=n(26),i=String,s=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw s("Can't set "+i(t)+" as a prototype")}},function(t,e,n){var r=n(50).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},function(t,e,n){var r=n(48),i=r("toStringTag"),s={};s[i]="z",t.exports="[object z]"===String(s)},function(t,e,n){var r=n(43),i=n(62);t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},function(t,e,n){var r=n(32),i=n(70);t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},function(t,e,n){"use strict";var r=n(38),i=n(180),s=TypeError,o=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!o(t,"length").writable)throw s("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},function(t,e,n){var r=n(54);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";var r=n(52),i=n(28),s=n(60),o=n(70),a=n(50).f,c=n(34),l=n(183),u=n(109),h=n(110),f=n(184),p=n(113),d=n(38),m=n(71),g="DOMException",b=s("Error"),v=s(g),y=function(){l(this,_);var t=arguments.length,e=h(t<1?void 0:arguments[0]),n=h(t<2?void 0:arguments[1],"Error"),r=new v(e,n),i=b(e);return i.name=g,a(r,"stack",o(1,p(i.stack,1))),u(r,this,y),r},_=y.prototype=v.prototype,O="stack"in b(g),w="stack"in new v(1,2),M=v&&d&&Object.getOwnPropertyDescriptor(i,g),x=!!M&&!(M.writable&&M.configurable),E=O&&!x&&!w;r({global:!0,constructor:!0,forced:m||E},{DOMException:E?y:v});var j=s(g),A=j.prototype;if(A.constructor!==j)for(var C in m||a(A,"constructor",o(1,j)),f)if(c(f,C)){var k=f[C],T=k.s;c(j,T)||a(j,T,o(6,k.c))}},function(t,e,n){var r=n(61),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},function(t,e){t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(t,e,n){"use strict";var r=n(74),i=n(55),s=n(73),o=r.aTypedArray,a=r.exportTypedArrayMethod;a("at",(function(t){var e=o(this),n=i(e),r=s(t),a=r>=0?r:n+r;return a<0||a>=n?void 0:e[a]}))},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,n){var r=n(34),i=n(26),s=n(49),o=n(106),a=n(188),c=o("IE_PROTO"),l=Object,u=l.prototype;t.exports=a?l.getPrototypeOf:function(t){var e=s(t);if(r(e,c))return e[c];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof l?u:null}},function(t,e,n){var r=n(32);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){"use strict";var r=n(74),i=n(114).findLast,s=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLast",(function(t){return i(s(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){var r=n(191),i=n(85),s=n(69),o=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:s?o(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(54),i=n(33);t.exports=function(t){if("Function"===r(t))return i(t)}},function(t,e,n){"use strict";var r=n(74),i=n(114).findLastIndex,s=r.aTypedArray,o=r.exportTypedArrayMethod;o("findLastIndex",(function(t){return i(s(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(28),i=n(53),s=n(74),o=n(55),a=n(194),c=n(49),l=n(32),u=r.RangeError,h=r.Int8Array,f=h&&h.prototype,p=f&&f.set,d=s.aTypedArray,m=s.exportTypedArrayMethod,g=!l((function(){var t=new Uint8ClampedArray(2);return i(p,t,{length:1,0:3},1),3!==t[1]})),b=g&&s.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));m("set",(function(t){d(this);var e=a(arguments.length>1?arguments[1]:void 0,1),n=c(t);if(g)return i(p,this,n,e);var r=this.length,s=o(n),l=0;if(s+e>r)throw u("Wrong length");while(l<s)this[e+l]=n[l++]}),!g||b)},function(t,e,n){var r=n(195),i=RangeError;t.exports=function(t,e){var n=r(t);if(n%e)throw i("Wrong offset");return n}},function(t,e,n){var r=n(73),i=RangeError;t.exports=function(t){var e=r(t);if(e<0)throw i("The argument can't be less than 0");return e}},function(t,e,n){"use strict";(function(t){
  33. /*!
  34. * The buffer module from node.js, for the browser.
  35. *
  36. * @author Feross Aboukhadijeh <http://feross.org>
  37. * @license MIT
  38. */
  39. var r=n(197),i=n(198),s=n(199);function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=l.prototype):(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,n,r):"string"===typeof e?d(t,e,n):b(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,n,r){return h(e),e<=0?c(t,e):void 0!==n?"string"===typeof r?c(t,e).fill(n,r):c(t,e).fill(n):c(t,e)}function p(t,e){if(h(e),t=c(t,e<0?0:0|v(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(e,n);t=c(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function m(t,e){var n=e.length<0?0:0|v(e.length);t=c(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function g(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),l.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=l.prototype):t=m(t,e),t}function b(t,e){if(l.isBuffer(e)){var n=0|v(e.length);return t=c(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?c(t,0):m(t,e);if("Buffer"===e.type&&s(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function y(t){return+t!=t&&(t=0),l.alloc(+t)}function _(t,e){if(l.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(t).length;default:if(r)return K(t).length;e=(""+e).toLowerCase(),r=!0}}function O(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return F(this,e,n);case"utf8":case"utf-8":return N(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function w(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function M(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,i);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,i){var s,o=1,a=t.length,c=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,n/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var u=-1;for(s=n;s<a;s++)if(l(t,s)===l(e,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===c)return u*o}else-1!==u&&(s-=s-u),u=-1}else for(n+c>a&&(n=a-c),s=n;s>=0;s--){for(var h=!0,f=0;f<c;f++)if(l(t,s+f)!==l(e,f)){h=!1;break}if(h)return s}return-1}function E(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var s=e.length;if(s%2!==0)throw new TypeError("Invalid hex string");r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[n+o]=a}return o}function j(t,e,n,r){return tt(K(e,t.length-n),t,n,r)}function A(t,e,n,r){return tt(Q(e),t,n,r)}function C(t,e,n,r){return A(t,e,n,r)}function k(t,e,n,r){return tt(Z(e),t,n,r)}function T(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function S(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function N(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var s,o,a,c,l=t[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:s=t[i+1],128===(192&s)&&(c=(31&l)<<6|63&s,c>127&&(u=c));break;case 3:s=t[i+1],o=t[i+2],128===(192&s)&&128===(192&o)&&(c=(15&l)<<12|(63&s)<<6|63&o,c>2047&&(c<55296||c>57343)&&(u=c));break;case 4:s=t[i+1],o=t[i+2],a=t[i+3],128===(192&s)&&128===(192&o)&&128===(192&a)&&(c=(15&l)<<18|(63&s)<<12|(63&o)<<6|63&a,c>65535&&c<1114112&&(u=c))}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return L(r)}e.Buffer=l,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return f(null,t,e,n)},l.allocUnsafe=function(t){return p(null,t)},l.allocUnsafeSlow=function(t){return p(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,s=Math.min(n,r);i<s;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},l.byteLength=_,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)w(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?N(this,0,t):O.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var s=i-r,o=n-e,a=Math.min(s,o),c=this.slice(r,i),u=t.slice(e,n),h=0;h<a;++h)if(c[h]!==u[h]){s=c[h],o=u[h];break}return s<o?-1:o<s?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return M(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return M(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var s=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return j(this,t,e,n);case"ascii":return A(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return k(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function L(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var n="",r=0;while(r<e)n+=String.fromCharCode.apply(String,t.slice(r,r+=I));return n}function P(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function R(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function F(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",s=e;s<n;++s)i+=X(t[s]);return i}function U(t,e,n){for(var r=t.slice(e,n),i="",s=0;s<r.length;s+=2)i+=String.fromCharCode(r[s]+256*r[s+1]);return i}function D(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,i,s){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<s)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function B(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-n,2);i<s;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function q(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-n,4);i<s;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function W(t,e,n,r,i,s){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(t,e,n,r,s){return s||W(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function H(t,e,n,r,s){return s||W(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var s=0;s<i;++s)n[s]=this[s+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);var r=this[t],i=1,s=0;while(++s<e&&(i*=256))r+=this[t+s]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);var r=this[t],i=1,s=0;while(++s<e&&(i*=256))r+=this[t+s]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||D(t,e,this.length);var r=e,i=1,s=this[t+--r];while(r>0&&(i*=256))s+=this[t+--r]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*e)),s},l.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;$(this,t,e,n,i,0)}var s=1,o=0;this[e]=255&t;while(++o<n&&(s*=256))this[e+o]=t/s&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;$(this,t,e,n,i,0)}var s=n-1,o=1;this[e+s]=255&t;while(--s>=0&&(o*=256))this[e+s]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var s=0,o=1,a=0;this[e]=255&t;while(++s<n&&(o*=256))t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(this,t,e,n,i-1,-i)}var s=n-1,o=1,a=0;this[e+s]=255&t;while(--s>=0&&(o*=256))t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return V(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return V(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,s=r-n;if(this===t&&n<e&&e<r)for(i=s-1;i>=0;--i)t[i+e]=this[i+n];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+s),e);return s},l.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var s;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(s=e;s<n;++s)this[s]=t;else{var o=l.isBuffer(t)?t:K(new l(t,r).toString()),a=o.length;for(s=0;s<n-e;++s)this[s+e]=o[s%a]}return this};var Y=/[^+\/0-9A-Za-z-_]/g;function G(t){if(t=z(t).replace(Y,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var n;e=e||1/0;for(var r=t.length,i=null,s=[],o=0;o<r;++o){if(n=t.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&s.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;s.push(n)}else if(n<2048){if((e-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return s}function Q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,r,i,s=[],o=0;o<t.length;++o){if((e-=2)<0)break;n=t.charCodeAt(o),r=n>>8,i=n%256,s.push(i),s.push(r)}return s}function Z(t){return r.toByteArray(G(t))}function tt(t,e,n,r){for(var i=0;i<r;++i){if(i+n>=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n(42))},function(t,e,n){"use strict";e.byteLength=u,e.toByteArray=f,e.fromByteArray=m;for(var r=[],i=[],s="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=o.length;a<c;++a)r[a]=o[a],i[o.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function u(t){var e=l(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function h(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,r=l(t),o=r[0],a=r[1],c=new s(h(t,o,a)),u=0,f=a>0?o-4:o;for(n=0;n<f;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c}function p(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function d(t,e,n){for(var r,i=[],s=e;s<n;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(p(r));return i.join("")}function m(t){for(var e,n=t.length,i=n%3,s=[],o=16383,a=0,c=n-i;a<c;a+=o)s.push(d(t,a,a+o>c?c:a+o));return 1===i?(e=t[n-1],s.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],s.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){
  40. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  41. e.read=function(t,e,n,r,i){var s,o,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,f=n?-1:1,p=t[e+h];for(h+=f,s=p&(1<<-u)-1,p>>=-u,u+=a;u>0;s=256*s+t[e+h],h+=f,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=r;u>0;o=256*o+t[e+h],h+=f,u-=8);if(0===s)s=1-l;else{if(s===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),s-=l}return(p?-1:1)*o*Math.pow(2,s-r)},e.write=function(t,e,n,r,i,s){var o,a,c,l=8*s-i-1,u=(1<<l)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:s-1,d=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),e+=o+h>=1?f/c:f*Math.pow(2,1-h),e*c>=2&&(o++,c/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*c-1)*Math.pow(2,i),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[n+p]=255&a,p+=d,a/=256,i-=8);for(o=o<<i|a,l+=i;l>0;t[n+p]=255&o,p+=d,o/=256,l-=8);t[n+p-d]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){var r=n(52),i=n(28),s=n(201);r({global:!0},{Reflect:{}}),s(i.Reflect,"Reflect",!0)},function(t,e,n){var r=n(50).f,i=n(34),s=n(48),o=s("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(35),i=n(116),s=n(203),o=n(122),a=n(90);function c(t){var e=new s(t),n=i(s.prototype.request,e);return r.extend(n,s.prototype,e),r.extend(n,e),n}var l=c(a);l.Axios=s,l.create=function(t){return c(o(l.defaults,t))},l.Cancel=n(123),l.CancelToken=n(218),l.isCancel=n(121),l.all=function(t){return Promise.all(t)},l.spread=n(219),l.isAxiosError=n(220),t.exports=l,t.exports.default=l},function(t,e,n){"use strict";var r=n(35),i=n(117),s=n(204),o=n(205),a=n(122),c=n(216),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new s,response:new s}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,s=[];if(this.interceptors.response.forEach((function(t){s.push(t.fulfilled,t.rejected)})),!r){var u=[o,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(s),i=Promise.resolve(t);while(u.length)i=i.then(u.shift(),u.shift());return i}var h=t;while(n.length){var f=n.shift(),p=n.shift();try{h=f(h)}catch(d){p(d);break}}try{i=o(h)}catch(d){return Promise.reject(d)}while(s.length)i=i.then(s.shift(),s.shift());return i},u.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=u},function(t,e,n){"use strict";var r=n(35);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(35),i=n(206),s=n(121),o=n(90);function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){a(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||o.adapter;return e(t).then((function(e){return a(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return s(e)||(a(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(35),i=n(90);t.exports=function(t,e,n){var s=this||i;return r.forEach(n,(function(n){t=n.call(s,t,e)})),t}},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,r="/"===o.charAt(0))}return e=n(i(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),o="/"===s(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&o&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),s=r(n.split("/")),o=Math.min(i.length,s.length),a=o,c=0;c<o;c++)if(i[c]!==s[c]){a=c;break}var l=[];for(c=a;c<i.length;c++)l.push("..");return l=l.concat(s.slice(a)),l.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,s=t.length-1;s>=1;--s)if(e=t.charCodeAt(s),47===e){if(!i){r=s;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===r&&(i=!1,r=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!i){n=o+1;break}}return-1===e||-1===r||0===s||1===s&&e===r-1&&e===n+1?"":t.slice(e,r)};var s="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(63))},function(t,e,n){"use strict";var r=n(35);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(120);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(35);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,s,o){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(s)&&a.push("domain="+s),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";var r=n(212),i=n(213);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(35),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,s,o={};return t?(r.forEach(t.split("\n"),(function(t){if(s=t.indexOf(":"),e=r.trim(t.substr(0,s)).toLowerCase(),n=r.trim(t.substr(s+1)),e){if(o[e]&&i.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var r=n(35);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var r=n(217),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var s={},o=r.version.split(".");function a(t,e){for(var n=e?e.split("."):o,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}function c(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),i=r.length;while(i-- >0){var s=r[i],o=e[s];if(o){var a=t[s],c=void 0===a||o(a,s,t);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}}i.transitional=function(t,e,n){var i=e&&a(e);function o(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(o(r," has been removed in "+e));return i&&!s[r]&&(s[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={isOlderVersion:a,assertOptions:c,validators:i}},function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(t,e,n){"use strict";var r=n(123);function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},,,,,,,,,,,,function(t,e,n){var r=n(85),i=n(49),s=n(82),o=n(55),a=TypeError,c=function(t){return function(e,n,c,l){r(n);var u=i(e),h=s(u),f=o(u),p=t?f-1:0,d=t?-1:1;if(c<2)while(1){if(p in h){l=h[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw a("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in h&&(l=n(l,h[p],p,u));return l}};t.exports={left:c(!1),right:c(!0)}},function(t,e,n){"use strict";var r=n(32);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},function(t,e,n){var r=n(54),i=n(28);t.exports="process"==r(i.process)},function(t,e,n){var r=n(236);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(21).default;i("434cf6b6",r,!1,{sourceMap:!1,shadowMode:!1})},function(t,e,n){var r=n(19);e=r(!1),e.push([t.i,".vue-cropper[data-v-26736c2c]{position:relative;width:100%;height:100%;box-sizing:border-box;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;direction:ltr;touch-action:none;text-align:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-box[data-v-26736c2c],.cropper-box-canvas[data-v-26736c2c],.cropper-drag-box[data-v-26736c2c],.cropper-crop-box[data-v-26736c2c],.cropper-face[data-v-26736c2c]{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-box-canvas img[data-v-26736c2c]{position:relative;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:none;max-width:none;max-height:none}.cropper-box[data-v-26736c2c]{overflow:hidden}.cropper-move[data-v-26736c2c]{cursor:move}.cropper-crop[data-v-26736c2c]{cursor:crosshair}.cropper-modal[data-v-26736c2c]{background:rgba(0,0,0,.5)}.cropper-view-box[data-v-26736c2c]{display:block;overflow:hidden;width:100%;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-view-box img[data-v-26736c2c]{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:left;max-width:none;max-height:none}.cropper-face[data-v-26736c2c]{top:0;left:0;background-color:#fff;opacity:.1}.crop-info[data-v-26736c2c]{position:absolute;left:0px;min-width:65px;text-align:center;color:#fff;line-height:20px;background-color:#000c;font-size:12px}.crop-line[data-v-26736c2c]{position:absolute;display:block;width:100%;height:100%;opacity:.1}.line-w[data-v-26736c2c]{top:-3px;left:0;height:5px;cursor:n-resize}.line-a[data-v-26736c2c]{top:0;left:-3px;width:5px;cursor:w-resize}.line-s[data-v-26736c2c]{bottom:-3px;left:0;height:5px;cursor:s-resize}.line-d[data-v-26736c2c]{top:0;right:-3px;width:5px;cursor:e-resize}.crop-point[data-v-26736c2c]{position:absolute;width:8px;height:8px;opacity:.75;background-color:#39f;border-radius:100%}.point1[data-v-26736c2c]{top:-4px;left:-4px;cursor:nw-resize}.point2[data-v-26736c2c]{top:-5px;left:50%;margin-left:-3px;cursor:n-resize}.point3[data-v-26736c2c]{top:-4px;right:-4px;cursor:ne-resize}.point4[data-v-26736c2c]{top:50%;left:-4px;margin-top:-3px;cursor:w-resize}.point5[data-v-26736c2c]{top:50%;right:-4px;margin-top:-3px;cursor:e-resize}.point6[data-v-26736c2c]{bottom:-5px;left:-4px;cursor:sw-resize}.point7[data-v-26736c2c]{bottom:-5px;left:50%;margin-left:-3px;cursor:s-resize}.point8[data-v-26736c2c]{bottom:-5px;right:-4px;cursor:se-resize}@media screen and (max-width: 500px){.crop-point[data-v-26736c2c]{position:absolute;width:20px;height:20px;opacity:.45;background-color:#39f;border-radius:100%}.point1[data-v-26736c2c]{top:-10px;left:-10px}.point2[data-v-26736c2c],.point4[data-v-26736c2c],.point5[data-v-26736c2c],.point7[data-v-26736c2c]{display:none}.point3[data-v-26736c2c]{top:-10px;right:-10px}.point4[data-v-26736c2c]{top:0;left:0}.point6[data-v-26736c2c]{bottom:-10px;left:-10px}.point8[data-v-26736c2c]{bottom:-10px;right:-10px}}\n",""]),t.exports=e},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(52),i=n(53),s=n(33),o=n(83),a=n(26),c=n(84),l=n(305),u=n(111),h=n(100),f=n(306),p=n(308),d=n(48),m=n(71),g=d("replace"),b=TypeError,v=s("".indexOf),y=s("".replace),_=s("".slice),O=Math.max,w=function(t,e,n){return n>t.length?-1:""===e?n:v(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,s,d,M,x,E,j,A,C=o(this),k=0,T=0,S="";if(!c(t)){if(n=l(t),n&&(r=u(o(f(t))),!~v(r,"g")))throw b("`.replaceAll` does not allow non-global regexes");if(s=h(t,g),s)return i(s,t,C,e);if(m&&n)return y(u(C),t,e)}d=u(C),M=u(t),x=a(e),x||(e=u(e)),E=M.length,j=O(1,E),k=w(d,M,0);while(-1!==k)A=x?u(e(M,k,d)):p(M,d,k,[],void 0,e),S+=_(d,T,k)+A,T=k+E,k=w(d,M,k+j);return T<d.length&&(S+=_(d,T)),S}})},function(t,e,n){var r=n(43),i=n(54),s=n(48),o=s("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(53),i=n(34),s=n(61),o=n(307),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||i(t,"flags")||!s(a,t)?e:r(o,t)}},function(t,e,n){"use strict";var r=n(72);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(33),i=n(49),s=Math.floor,o=r("".charAt),a=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,h,f){var p=n+t.length,d=r.length,m=u;return void 0!==h&&(h=i(h),m=l),a(f,m,(function(i,a){var l;switch(o(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,p);case"<":l=h[c(a,1,-1)];break;default:var u=+a;if(0===u)return i;if(u>d){var f=s(u/10);return 0===f?i:f<=d?void 0===r[f-1]?o(a,1):r[f-1]+o(a,1):i}l=r[u-1]}return void 0===l?"":l}))}}]]);