1234567891011121314151617181920212223242526272829303132333435363738394041 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],[function(t,e,n){"use strict";n.d(e,"q",(function(){return a})),n.d(e,"v",(function(){return Ht})),n.d(e,"w",(function(){return Dt})),n.d(e,"M",(function(){return At})),n.d(e,"N",(function(){return Wt})),n.d(e,"U",(function(){return Ct})),n.d(e,"V",(function(){return zt})),n.d(e,"Y",(function(){return Ft})),n.d(e,"Z",(function(){return Gt})),n.d(e,"z",(function(){return r["L"]})),n.d(e,"A",(function(){return r["M"]})),n.d(e,"B",(function(){return r["N"]})),n.d(e,"W",(function(){return r["P"]})),n.d(e,"a",(function(){return lo})),n.d(e,"b",(function(){return or})),n.d(e,"c",(function(){return co})),n.d(e,"d",(function(){return ho})),n.d(e,"f",(function(){return _s})),n.d(e,"h",(function(){return Mo})),n.d(e,"i",(function(){return Do})),n.d(e,"j",(function(){return xo})),n.d(e,"k",(function(){return No})),n.d(e,"l",(function(){return Pr})),n.d(e,"m",(function(){return Fo})),n.d(e,"n",(function(){return To})),n.d(e,"o",(function(){return er})),n.d(e,"p",(function(){return Zn})),n.d(e,"r",(function(){return Go})),n.d(e,"s",(function(){return Po})),n.d(e,"t",(function(){return ws})),n.d(e,"u",(function(){return gi})),n.d(e,"x",(function(){return qo})),n.d(e,"y",(function(){return Me})),n.d(e,"C",(function(){return ar})),n.d(e,"D",(function(){return mr})),n.d(e,"E",(function(){return cr})),n.d(e,"F",(function(){return gr})),n.d(e,"G",(function(){return _r})),n.d(e,"H",(function(){return yr})),n.d(e,"I",(function(){return vo})),n.d(e,"J",(function(){return vn})),n.d(e,"K",(function(){return mi})),n.d(e,"L",(function(){return gn})),n.d(e,"P",(function(){return Ir})),n.d(e,"Q",(function(){return Lr})),n.d(e,"R",(function(){return jr})),n.d(e,"S",(function(){return Sr})),n.d(e,"T",(function(){return Cr})),n.d(e,"X",(function(){return Fr})),n.d(e,"ab",(function(){return Vr})),n.d(e,"cb",(function(){return Pn})),n.d(e,"db",(function(){return Tn})),n.d(e,"eb",(function(){return yn})),n.d(e,"fb",(function(){return Bn})),n.d(e,"e",(function(){return ra})),n.d(e,"g",(function(){return Da})),n.d(e,"O",(function(){return Fa})),n.d(e,"bb",(function(){return Ta})),n.d(e,"gb",(function(){return Na})),n.d(e,"hb",(function(){return Ca}));var r=n(1);function i(t,...e){console.warn("[Vue warn] "+t,...e)}let o;class s{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!t&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=o;try{return o=this,t()}finally{o=e}}else i("cannot run an inactive effect scope.")}on(){o=this}off(){o=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 s(t)}function c(t,e=o){e&&e.active&&e.effects.push(t)}function u(){return o}const l=t=>{const e=new Set(t);return e.w=0,e.n=0,e},h=t=>(t.w&v)>0,f=t=>(t.n&v)>0,p=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=v},d=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];h(i)&&!f(i)?i.delete(t):e[n++]=i,i.w&=~v,i.n&=~v}e.length=n}},m=new WeakMap;let g=0,v=1;const y=30;let b;const _=Symbol("iterate"),w=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=b,e=M;while(t){if(t===this)return;t=t.parent}try{return this.parent=b,b=this,M=!0,v=1<<++g,g<=y?p(this):x(this),this.fn()}finally{g<=y&&d(this),v=1<<--g,b=this.parent,M=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){b===this?this.deferStop=!0:this.active&&(x(this),this.onStop&&this.onStop(),this.active=!1)}}function x(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 E=[];function k(){E.push(M),M=!1}function j(){const t=E.pop();M=void 0===t||t}function A(t,e,n){if(M&&b){let r=m.get(t);r||m.set(t,r=new Map);let i=r.get(n);i||r.set(n,i=l());const o={effect:b,target:t,type:e,key:n};C(i,o)}}function C(t,e){let n=!1;g<=y?f(t)||(t.n|=v,n=!h(t)):n=!t.has(b),n&&(t.add(b),b.deps.push(t),b.onTrack&&b.onTrack(Object(r["h"])({effect:b},e)))}function S(t,e,n,i,o,s){const a=m.get(t);if(!a)return;let c=[];if("clear"===e)c=[...a.values()];else if("length"===n&&Object(r["o"])(t)){const t=Number(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(_)),Object(r["u"])(t)&&c.push(a.get(w)));break;case"delete":Object(r["o"])(t)||(c.push(a.get(_)),Object(r["u"])(t)&&c.push(a.get(w)));break;case"set":Object(r["u"])(t)&&c.push(a.get(_));break}const u={target:t,type:e,key:n,newValue:i,oldValue:o,oldTarget:s};if(1===c.length)c[0]&&N(c[0],u);else{const t=[];for(const e of c)e&&t.push(...e);N(l(t),u)}}function N(t,e){const n=Object(r["o"])(t)?t:[...t];for(const r of n)r.computed&&T(r,e);for(const r of n)r.computed||T(r,e)}function T(t,e){(t!==b||t.allowRecurse)&&(t.onTrigger&&t.onTrigger(Object(r["h"])({effect:t},e)),t.scheduler?t.scheduler():t.run())}const I=Object(r["K"])("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(r["G"])),L=q(),R=q(!1,!0),F=q(!0),D=q(!0,!0),U=B();function B(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=Ft(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(Ft)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...t){k();const n=Ft(this)[e].apply(this,t);return j(),n}}),t}function $(t){const e=Ft(this);return A(e,"has",t),e.hasOwnProperty(t)}function q(t=!1,e=!1){return function(n,i,o){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&o===(t?e?Et:Mt:e?xt:Ot).get(n))return n;const s=Object(r["o"])(n);if(!t){if(s&&Object(r["k"])(U,i))return Reflect.get(U,i,o);if("hasOwnProperty"===i)return $}const a=Reflect.get(n,i,o);return(Object(r["G"])(i)?P.has(i):I(i))?a:(t||A(n,"get",i),e?a:Ht(a)?s&&Object(r["t"])(i)?a:a.value:Object(r["w"])(a)?t?St(a):At(a):a)}}const H=z(),W=z(!0);function z(t=!1){return function(e,n,i,o){let s=e[n];if(Pt(s)&&Ht(s)&&!Ht(i))return!1;if(!t&&(Lt(i)||Pt(i)||(s=Ft(s),i=Ft(i)),!Object(r["o"])(e)&&Ht(s)&&!Ht(i)))return s.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,o);return e===Ft(o)&&(a?Object(r["j"])(i,s)&&S(e,"set",n,i,s):S(e,"add",n,i)),c}}function V(t,e){const n=Object(r["k"])(t,e),i=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&S(t,"delete",e,void 0,i),o}function Y(t,e){const n=Reflect.has(t,e);return Object(r["G"])(e)&&P.has(e)||A(t,"has",e),n}function G(t){return A(t,"iterate",Object(r["o"])(t)?"length":_),Reflect.ownKeys(t)}const X={get:L,set:H,deleteProperty:V,has:Y,ownKeys:G},K={get:F,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}},Q=Object(r["h"])({},X,{get:R,set:W}),J=Object(r["h"])({},K,{get:D}),Z=t=>t,tt=t=>Reflect.getPrototypeOf(t);function et(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Ft(t),o=Ft(e);n||(e!==o&&A(i,"get",e),A(i,"get",o));const{has:s}=tt(i),a=r?Z:n?Bt:Ut;return s.call(i,e)?a(t.get(e)):s.call(i,o)?a(t.get(o)):void(t!==i&&t.get(e))}function nt(t,e=!1){const n=this["__v_raw"],r=Ft(n),i=Ft(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 rt(t,e=!1){return t=t["__v_raw"],!e&&A(Ft(t),"iterate",_),Reflect.get(t,"size",t)}function it(t){t=Ft(t);const e=Ft(this),n=tt(e),r=n.has.call(e,t);return r||(e.add(t),S(e,"add",t,t)),this}function ot(t,e){e=Ft(e);const n=Ft(this),{has:i,get:o}=tt(n);let s=i.call(n,t);s?wt(n,i,t):(t=Ft(t),s=i.call(n,t));const a=o.call(n,t);return n.set(t,e),s?Object(r["j"])(e,a)&&S(n,"set",t,e,a):S(n,"add",t,e),this}function st(t){const e=Ft(this),{has:n,get:r}=tt(e);let i=n.call(e,t);i?wt(e,n,t):(t=Ft(t),i=n.call(e,t));const o=r?r.call(e,t):void 0,s=e.delete(t);return i&&S(e,"delete",t,void 0,o),s}function at(){const t=Ft(this),e=0!==t.size,n=Object(r["u"])(t)?new Map(t):new Set(t),i=t.clear();return e&&S(t,"clear",void 0,void 0,n),i}function ct(t,e){return function(n,r){const i=this,o=i["__v_raw"],s=Ft(o),a=e?Z:t?Bt:Ut;return!t&&A(s,"iterate",_),o.forEach((t,e)=>n.call(r,a(t),a(e),i))}}function ut(t,e,n){return function(...i){const o=this["__v_raw"],s=Ft(o),a=Object(r["u"])(s),c="entries"===t||t===Symbol.iterator&&a,u="keys"===t&&a,l=o[t](...i),h=n?Z:e?Bt:Ut;return!e&&A(s,"iterate",u?w:_),{next(){const{value:t,done:e}=l.next();return e?{value:t,done:e}:{value:c?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function lt(t){return function(...e){{const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${Object(r["f"])(t)} operation ${n}failed: target is readonly.`,Ft(this))}return"delete"!==t&&this}}function ht(){const t={get(t){return et(this,t)},get size(){return rt(this)},has:nt,add:it,set:ot,delete:st,clear:at,forEach:ct(!1,!1)},e={get(t){return et(this,t,!1,!0)},get size(){return rt(this)},has:nt,add:it,set:ot,delete:st,clear:at,forEach:ct(!1,!0)},n={get(t){return et(this,t,!0)},get size(){return rt(this,!0)},has(t){return nt.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:ct(!0,!1)},r={get(t){return et(this,t,!0,!0)},get size(){return rt(this,!0)},has(t){return nt.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:ct(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach(i=>{t[i]=ut(i,!1,!1),n[i]=ut(i,!0,!1),e[i]=ut(i,!1,!0),r[i]=ut(i,!0,!0)}),[t,n,e,r]}const[ft,pt,dt,mt]=ht();function gt(t,e){const n=e?t?mt:dt:t?pt:ft;return(e,i,o)=>"__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,o)}const vt={get:gt(!1,!1)},yt={get:gt(!1,!0)},bt={get:gt(!0,!1)},_t={get:gt(!0,!0)};function wt(t,e,n){const i=Ft(n);if(i!==n&&e.call(t,i)){const e=Object(r["S"])(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 Ot=new WeakMap,xt=new WeakMap,Mt=new WeakMap,Et=new WeakMap;function kt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:kt(Object(r["S"])(t))}function At(t){return Pt(t)?t:Tt(t,!1,X,vt,Ot)}function Ct(t){return Tt(t,!1,Q,yt,xt)}function St(t){return Tt(t,!0,K,bt,Mt)}function Nt(t){return Tt(t,!0,J,_t,Et)}function Tt(t,e,n,i,o){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 s=o.get(t);if(s)return s;const a=jt(t);if(0===a)return t;const c=new Proxy(t,2===a?i:n);return o.set(t,c),c}function It(t){return Pt(t)?It(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Pt(t){return!(!t||!t["__v_isReadonly"])}function Lt(t){return!(!t||!t["__v_isShallow"])}function Rt(t){return It(t)||Pt(t)}function Ft(t){const e=t&&t["__v_raw"];return e?Ft(e):t}function Dt(t){return Object(r["g"])(t,"__v_skip",!0),t}const Ut=t=>Object(r["w"])(t)?At(t):t,Bt=t=>Object(r["w"])(t)?St(t):t;function $t(t){M&&b&&(t=Ft(t),C(t.dep||(t.dep=l()),{target:t,type:"get",key:"value"}))}function qt(t,e){t=Ft(t);const n=t.dep;n&&N(n,{target:t,type:"set",key:"value",newValue:e})}function Ht(t){return!(!t||!0!==t.__v_isRef)}function Wt(t){return Vt(t,!1)}function zt(t){return Vt(t,!0)}function Vt(t,e){return Ht(t)?t:new Yt(t,e)}class Yt{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Ft(t),this._value=e?t:Ut(t)}get value(){return $t(this),this._value}set value(t){const e=this.__v_isShallow||Lt(t)||Pt(t);t=e?t:Ft(t),Object(r["j"])(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Ut(t),qt(this,t))}}function Gt(t){return Ht(t)?t.value:t}const Xt={get:(t,e,n)=>Gt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Ht(i)&&!Ht(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Kt(t){return It(t)?t:new Proxy(t,Xt)}class Qt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new O(t,()=>{this._dirty||(this._dirty=!0,qt(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Ft(this);return $t(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Jt(t,e,n=!1){let i,o;const s=Object(r["q"])(t);s?(i=t,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(i=t.get,o=t.set);const a=new Qt(i,o,s||!o,n);return e&&!n&&(a.effect.onTrack=e.onTrack,a.effect.onTrigger=e.onTrigger),a}const Zt=[];function te(t){Zt.push(t)}function ee(){Zt.pop()}function ne(t,...e){k();const n=Zt.length?Zt[Zt.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=re();if(r)le(r,n,11,[t+e.join(""),n&&n.proxy,i.map(({vnode:t})=>`at <${ys(n,t.type)}>`).join("\n"),i]);else{const n=["[Vue warn]: "+t,...e];i.length&&n.push("\n",...ie(i)),console.warn(...n)}j()}function re(){let t=Zt[Zt.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 ie(t){const e=[];return t.forEach((t,n)=>{e.push(...0===n?[]:["\n"],...oe(t))}),e}function oe({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=!!t.component&&null==t.component.parent,i=" at <"+ys(t.component,t.type,r),o=">"+n;return t.props?[i,...se(t.props),o]:[i+o]}function se(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(n=>{e.push(...ae(n,t[n]))}),n.length>3&&e.push(" ..."),e}function ae(t,e,n){return Object(r["F"])(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):"number"===typeof e||"boolean"===typeof e||null==e?n?e:[`${t}=${e}`]:Ht(e)?(e=ae(t,Ft(e.value),!0),n?e:[t+"=Ref<",e,">"]):Object(r["q"])(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Ft(e),n?e:[t+"=",e])}function ce(t,e){void 0!==t&&("number"!==typeof t?ne(`${e} is not a valid number - got ${JSON.stringify(t)}.`):isNaN(t)&&ne(e+" is NaN - the duration expression might be incorrect."))}const ue={["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 le(t,e,n,r){let i;try{i=r?t(...r):t()}catch(o){fe(o,e,n)}return i}function he(t,e,n,i){if(Object(r["q"])(t)){const o=le(t,e,n,i);return o&&Object(r["z"])(o)&&o.catch(t=>{fe(t,e,n)}),o}const o=[];for(let r=0;r<t.length;r++)o.push(he(t[r],e,n,i));return o}function fe(t,e,n,r=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,o=ue[n];while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,o))return;r=r.parent}const s=e.appContext.config.errorHandler;if(s)return void le(s,null,10,[t,i,o])}pe(t,n,i,r)}function pe(t,e,n,r=!0){{const i=ue[e];if(n&&te(n),ne("Unhandled error"+(i?" during execution of "+i:"")),n&&ee(),r)throw t;console.error(t)}}let de=!1,me=!1;const ge=[];let ve=0;const ye=[];let be=null,_e=0;const we=Promise.resolve();let Oe=null;const xe=100;function Me(t){const e=Oe||we;return t?e.then(this?t.bind(this):t):e}function Ee(t){let e=ve+1,n=ge.length;while(e<n){const r=e+n>>>1,i=Te(ge[r]);i<t?e=r+1:n=r}return e}function ke(t){ge.length&&ge.includes(t,de&&t.allowRecurse?ve+1:ve)||(null==t.id?ge.push(t):ge.splice(Ee(t.id),0,t),je())}function je(){de||me||(me=!0,Oe=we.then(Pe))}function Ae(t){const e=ge.indexOf(t);e>ve&&ge.splice(e,1)}function Ce(t){Object(r["o"])(t)?ye.push(...t):be&&be.includes(t,t.allowRecurse?_e+1:_e)||ye.push(t),je()}function Se(t,e=(de?ve+1:0)){for(t=t||new Map;e<ge.length;e++){const n=ge[e];if(n&&n.pre){if(Le(t,n))continue;ge.splice(e,1),e--,n()}}}function Ne(t){if(ye.length){const e=[...new Set(ye)];if(ye.length=0,be)return void be.push(...e);for(be=e,t=t||new Map,be.sort((t,e)=>Te(t)-Te(e)),_e=0;_e<be.length;_e++)Le(t,be[_e])||be[_e]();be=null,_e=0}}const Te=t=>null==t.id?1/0:t.id,Ie=(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 Pe(t){me=!1,de=!0,t=t||new Map,ge.sort(Ie);const e=e=>Le(t,e);try{for(ve=0;ve<ge.length;ve++){const t=ge[ve];if(t&&!1!==t.active){if(e(t))continue;le(t,null,14)}}}finally{ve=0,ge.length=0,Ne(t),de=!1,Oe=null,(ge.length||ye.length)&&Pe(t)}}function Le(t,e){if(t.has(e)){const n=t.get(e);if(n>xe){const t=e.ownerInstance,n=t&&vs(t.type);return ne(`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 Re=!1;const Fe=new Set;Object(r["i"])().__VUE_HMR_RUNTIME__={createRecord:Ve($e),rerender:Ve(He),reload:Ve(We)};const De=new Map;function Ue(t){const e=t.type.__hmrId;let n=De.get(e);n||($e(e,t.type),n=De.get(e)),n.instances.add(t)}function Be(t){De.get(t.type.__hmrId).instances.delete(t)}function $e(t,e){return!De.has(t)&&(De.set(t,{initialDef:qe(e),instances:new Set}),!0)}function qe(t){return bs(t)?t.__vccOpts:t}function He(t,e){const n=De.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(t=>{e&&(t.render=e,qe(t.type).render=e),t.renderCache=[],Re=!0,t.update(),Re=!1}))}function We(t,e){const n=De.get(t);if(!n)return;e=qe(e),ze(n.initialDef,e);const r=[...n.instances];for(const i of r){const t=qe(i.type);Fe.has(t)||(t!==n.initialDef&&ze(t,e),Fe.add(t)),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(Fe.add(t),i.ceReload(e.styles),Fe.delete(t)):i.parent?ke(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.")}Ce(()=>{for(const t of r)Fe.delete(qe(t.type))})}function ze(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 Ye,Ge=[],Xe=!1;function Ke(t,...e){Ye?Ye.emit(t,...e):Xe||Ge.push({event:t,args:e})}function Qe(t,e){var n,r;if(Ye=t,Ye)Ye.enabled=!0,Ge.forEach(({event:t,args:e})=>Ye.emit(t,...e)),Ge=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))){const t=e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[];t.push(t=>{Qe(t,e)}),setTimeout(()=>{Ye||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Xe=!0,Ge=[])},3e3)}else Xe=!0,Ge=[]}function Je(t,e){Ke("app:init",t,e,{Fragment:lo,Text:ho,Comment:fo,Static:po})}function Ze(t){Ke("app:unmount",t)}const tn=on("component:added"),en=on("component:updated"),nn=on("component:removed"),rn=t=>{Ye&&"function"===typeof Ye.cleanupBuffer&&!Ye.cleanupBuffer(t)&&nn(t)};function on(t){return e=>{Ke(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const sn=cn("perf:start"),an=cn("perf:end");function cn(t){return(e,n,r)=>{Ke(t,e.appContext.app,e.uid,e,n,r)}}function un(t,e,n){Ke("component:emit",t.appContext.app,t,e,n)}function ln(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||r["b"];{const{emitsOptions:i,propsOptions:[o]}=t;if(i)if(e in i){const t=i[e];if(Object(r["q"])(t)){const r=t(...n);r||ne(`Invalid event arguments: event validation failed for event "${e}".`)}}else o&&Object(r["Q"])(e)in o||ne(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Object(r["Q"])(e)}" prop.`)}let o=n;const s=e.startsWith("update:"),a=s&&e.slice(7);if(a&&a in i){const t=("modelValue"===a?"model":a)+"Modifiers",{number:e,trim:s}=i[t]||r["b"];s&&(o=n.map(t=>Object(r["F"])(t)?t.trim():t)),e&&(o=n.map(r["J"]))}un(t,e,o);{const n=e.toLowerCase();n!==e&&i[Object(r["Q"])(n)]&&ne(`Event "${n}" is emitted in component ${ys(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,u=i[c=Object(r["Q"])(e)]||i[c=Object(r["Q"])(Object(r["e"])(e))];!u&&s&&(u=i[c=Object(r["Q"])(Object(r["l"])(e))]),u&&he(u,t,6,o);const l=i[c+"Once"];if(l){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,he(l,t,6,o)}}function hn(t,e,n=!1){const i=e.emitsCache,o=i.get(t);if(void 0!==o)return o;const s=t.emits;let a={},c=!1;if(!Object(r["q"])(t)){const i=t=>{const n=hn(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 s||c?(Object(r["o"])(s)?s.forEach(t=>a[t]=null):Object(r["h"])(a,s),Object(r["w"])(t)&&i.set(t,a),a):(Object(r["w"])(t)&&i.set(t,null),null)}function fn(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 pn=null,dn=null;function mn(t){const e=pn;return pn=t,dn=t&&t.type.__scopeId||null,e}function gn(t){dn=t}function vn(){dn=null}function yn(t,e=pn,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&wo(-1);const i=mn(e);let o;try{o=t(...n)}finally{mn(i),r._d&&wo(1)}return en(e),o};return r._n=!0,r._c=!0,r._d=!0,r}let bn=!1;function _n(){bn=!0}function wn(t){const{type:e,vnode:n,proxy:i,withProxy:o,props:s,propsOptions:[a],slots:c,attrs:u,emit:l,render:h,renderCache:f,data:p,setupState:d,ctx:m,inheritAttrs:g}=t;let v,y;const b=mn(t);bn=!1;try{if(4&n.shapeFlag){const t=o||i;v=Uo(h.call(t,t,f,s,d,p,m)),y=u}else{const t=e;u===s&&_n(),v=Uo(t.length>1?t(s,{get attrs(){return _n(),u},slots:c,emit:l}):t(s,null)),y=e.props?u:Mn(u)}}catch(O){mo.length=0,fe(O,t,1),v=To(fo)}let _=v,w=void 0;if(v.patchFlag>0&&2048&v.patchFlag&&([_,w]=On(v)),y&&!1!==g){const t=Object.keys(y),{shapeFlag:e}=_;if(t.length)if(7&e)a&&t.some(r["v"])&&(y=En(y,a)),_=Lo(_,y);else if(!bn&&_.type!==fo){const t=Object.keys(u),e=[],n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i];Object(r["x"])(o)?Object(r["v"])(o)||e.push(o[2].toLowerCase()+o.slice(3)):n.push(o)}n.length&&ne(`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&&ne(`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&&(kn(_)||ne("Runtime directive used on component with non-element root node. The directives will not function as intended."),_=Lo(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(kn(_)||ne("Component inside <Transition> renders non-element root node that cannot be animated."),_.transition=n.transition),w?w(_):v=_,mn(b),v}const On=t=>{const e=t.children,n=t.dynamicChildren,r=xn(e);if(!r)return[t,void 0];const i=e.indexOf(r),o=n?n.indexOf(r):-1,s=r=>{e[i]=r,n&&(o>-1?n[o]=r:r.patchFlag>0&&(t.dynamicChildren=[...n,r]))};return[Uo(r),s]};function xn(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(!Eo(r))return;if(r.type!==fo||"v-if"===r.children){if(e)return;e=r}}return e}const Mn=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(r["x"])(n))&&((e||(e={}))[n]=t[n]);return e},En=(t,e)=>{const n={};for(const i in t)Object(r["v"])(i)&&i.slice(9)in e||(n[i]=t[i]);return n},kn=t=>7&t.shapeFlag||t.type===fo;function jn(t,e,n){const{props:r,children:i,component:o}=t,{props:s,children:a,patchFlag:c}=e,u=o.emitsOptions;if((i||a)&&Re)return!0;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||An(r,s,u):!!s);if(1024&c)return!0;if(16&c)return r?An(r,s,u):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==r[n]&&!fn(u,n))return!0}}return!1}function An(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 o=r[i];if(e[o]!==t[o]&&!fn(n,o))return!0}return!1}function Cn({vnode:t,parent:e},n){while(e&&e.subTree===t)(t=e.vnode).el=n,e=e.parent}const Sn=t=>t.__isSuspense;function Nn(t,e){e&&e.pendingBranch?Object(r["o"])(t)?e.effects.push(...t):e.effects.push(t):Ce(t)}function Tn(t,e){return Ln(t,null,e)}const In={};function Pn(t,e,n){return Object(r["q"])(e)||ne("`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."),Ln(t,e,n)}function Ln(t,e,{immediate:n,deep:i,flush:o,onTrack:s,onTrigger:a}=r["b"]){var c;e||(void 0!==n&&ne('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==i&&ne('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=t=>{ne("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.")},h=u()===(null==(c=Yo)?void 0:c.scope)?Yo:null;let f,p,d=!1,m=!1;if(Ht(t)?(f=()=>t.value,d=Lt(t)):It(t)?(f=()=>t,i=!0):Object(r["o"])(t)?(m=!0,d=t.some(t=>It(t)||Lt(t)),f=()=>t.map(t=>Ht(t)?t.value:It(t)?Dn(t):Object(r["q"])(t)?le(t,h,2):void l(t))):Object(r["q"])(t)?f=e?()=>le(t,h,2):()=>{if(!h||!h.isUnmounted)return p&&p(),he(t,h,3,[v])}:(f=r["d"],l(t)),e&&i){const t=f;f=()=>Dn(t())}let g,v=t=>{p=w.onStop=()=>{le(t,h,4)}};if(os){if(v=r["d"],e?n&&he(e,h,3,[f(),m?[]:void 0,v]):f(),"sync"!==o)return r["d"];{const t=xs();g=t.__watcherHandles||(t.__watcherHandles=[])}}let y=m?new Array(t.length).fill(In):In;const b=()=>{if(w.active)if(e){const t=w.run();(i||d||(m?t.some((t,e)=>Object(r["j"])(t,y[e])):Object(r["j"])(t,y)))&&(p&&p(),he(e,h,3,[t,y===In?void 0:m&&y[0]===In?[]:y,v]),y=t)}else w.run()};let _;b.allowRecurse=!!e,"sync"===o?_=b:"post"===o?_=()=>Xi(b,h&&h.suspense):(b.pre=!0,h&&(b.id=h.uid),_=()=>ke(b));const w=new O(f,_);w.onTrack=s,w.onTrigger=a,e?n?b():y=w.run():"post"===o?Xi(w.run.bind(w),h&&h.suspense):w.run();const x=()=>{w.stop(),h&&h.scope&&Object(r["O"])(h.scope.effects,w)};return g&&g.push(x),x}function Rn(t,e,n){const i=this.proxy,o=Object(r["F"])(t)?t.includes(".")?Fn(i,t):()=>i[t]:t.bind(i,i);let s;Object(r["q"])(e)?s=e:(s=e.handler,n=e);const a=Yo;Jo(this);const c=Ln(o,s.bind(i),n);return a?Jo(a):Zo(),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 Dn(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),Ht(t))Dn(t.value,e);else if(Object(r["o"])(t))for(let n=0;n<t.length;n++)Dn(t[n],e);else if(Object(r["D"])(t)||Object(r["u"])(t))t.forEach(t=>{Dn(t,e)});else if(Object(r["y"])(t))for(const n in t)Dn(t[n],e);return t}function Un(t){Object(r["p"])(t)&&ne("Do not use built-in directive ids as custom directive id: "+t)}function Bn(t,e){const n=pn;if(null===n)return ne("withDirectives can only be used inside render functions."),t;const i=ds(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[t,n,a,c=r["b"]]=e[s];t&&(Object(r["q"])(t)&&(t={mounted:t,updated:t}),t.deep&&Dn(n),o.push({dir:t,instance:i,value:n,oldValue:void 0,arg:a,modifiers:c}))}return t}function $n(t,e,n,r){const i=t.dirs,o=e&&e.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let c=a.dir[r];c&&(k(),he(c,n,8,[t.el,a,t,e]),j())}}function qn(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{t.isMounted=!0}),br(()=>{t.isUnmounting=!0}),t}const Hn=[Function,Array],Wn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Hn,onEnter:Hn,onAfterEnter:Hn,onEnterCancelled:Hn,onBeforeLeave:Hn,onLeave:Hn,onAfterLeave:Hn,onLeaveCancelled:Hn,onBeforeAppear:Hn,onAppear:Hn,onAfterAppear:Hn,onAppearCancelled:Hn},zn={name:"BaseTransition",props:Wn,setup(t,{slots:e}){const n=Go(),r=qn();let i;return()=>{const o=e.default&&Jn(e.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){let t=!1;for(const e of o)if(e.type!==fo){if(t){ne("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}s=e,t=!0}}const a=Ft(t),{mode:c}=a;if(c&&"in-out"!==c&&"out-in"!==c&&"default"!==c&&ne("invalid <transition> mode: "+c),r.isLeaving)return Xn(s);const u=Kn(s);if(!u)return Xn(s);const l=Gn(u,a,r,n);Qn(u,l);const h=n.subTree,f=h&&Kn(h);let p=!1;const{getTransitionKey:d}=u.type;if(d){const t=d();void 0===i?i=t:t!==i&&(i=t,p=!0)}if(f&&f.type!==fo&&(!ko(u,f)||p)){const t=Gn(f,a,r,n);if(Qn(f,t),"out-in"===c)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&n.update()},Xn(s);"in-out"===c&&u.type!==fo&&(t.delayLeave=(t,e,n)=>{const i=Yn(r,f);i[String(f.key)]=f,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return s}}},Vn=zn;function Yn(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 Gn(t,e,n,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:l,onEnterCancelled:h,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=e,_=String(t.key),w=Yn(n,t),O=(t,e)=>{t&&he(t,i,9,e)},x=(t,e)=>{const n=e[1];O(t,e),Object(r["o"])(t)?t.every(t=>t.length<=1)&&n():t.length<=1&&n()},M={mode:s,persisted:a,beforeEnter(e){let r=c;if(!n.isMounted){if(!o)return;r=g||c}e._leaveCb&&e._leaveCb(!0);const i=w[_];i&&ko(t,i)&&i.el._leaveCb&&i.el._leaveCb(),O(r,[e])},enter(t){let e=u,r=l,i=h;if(!n.isMounted){if(!o)return;e=v||u,r=y||l,i=b||h}let s=!1;const a=t._enterCb=e=>{s||(s=!0,O(e?i:r,[t]),M.delayedLeave&&M.delayedLeave(),t._enterCb=void 0)};e?x(e,[t,a]):a()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();O(f,[e]);let o=!1;const s=e._leaveCb=n=>{o||(o=!0,r(),O(n?m:d,[e]),e._leaveCb=void 0,w[i]===t&&delete w[i])};w[i]=t,p?x(p,[e,s]):s()},clone(t){return Gn(t,e,n,i)}};return M}function Xn(t){if(rr(t))return t=Lo(t),t.children=null,t}function Kn(t){return rr(t)?t.children?t.children[0]:void 0:t}function Qn(t,e){6&t.shapeFlag&&t.component?Qn(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 Jn(t,e=!1,n){let r=[],i=0;for(let o=0;o<t.length;o++){let s=t[o];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:o);s.type===lo?(128&s.patchFlag&&i++,r=r.concat(Jn(s.children,e,a))):(e||s.type!==fo)&&r.push(null!=a?Lo(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Zn(t,e){return Object(r["q"])(t)?(()=>Object(r["h"])({name:t.name},e,{setup:t}))():t}const tr=t=>!!t.type.__asyncLoader;function er(t){Object(r["q"])(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:i,delay:o=200,timeout:s,suspensible:a=!0,onError:c}=t;let u,l=null,h=0;const f=()=>(h++,l=null,p()),p=()=>{let t;return l||(t=l=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!==l&&l)return l;if(e||ne("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 u=e,e}))};return Zn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return u},setup(){const t=Yo;if(u)return()=>nr(u,t);const e=e=>{l=null,fe(e,t,13,!i)};if(a&&t.suspense||os)return p().then(e=>()=>nr(e,t)).catch(t=>(e(t),()=>i?To(i,{error:t}):null));const r=Wt(!1),c=Wt(),h=Wt(!!o);return o&&setTimeout(()=>{h.value=!1},o),null!=s&&setTimeout(()=>{if(!r.value&&!c.value){const t=new Error(`Async component timed out after ${s}ms.`);e(t),c.value=t}},s),p().then(()=>{r.value=!0,t.parent&&rr(t.parent.vnode)&&ke(t.parent.update)}).catch(t=>{e(t),c.value=t}),()=>r.value&&u?nr(u,t):c.value&&i?To(i,{error:c.value}):n&&!h.value?To(n):void 0}})}function nr(t,e){const{ref:n,props:r,children:i,ce:o}=e.vnode,s=To(t,r,i);return s.ref=n,s.ce=o,delete e.vnode.ce,s}const rr=t=>t.type.__isKeepAlive,ir={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Go(),i=n.ctx;if(!i.renderer)return()=>{const t=e.default&&e.default();return t&&1===t.length?t[0]:t};const o=new Map,s=new Set;let a=null;n.__v_cache=o;const c=n.suspense,{renderer:{p:u,m:l,um:h,o:{createElement:f}}}=i,p=f("div");function d(t){hr(t),h(t,n,c,!0)}function m(t){o.forEach((e,n)=>{const r=vs(e.type);!r||t&&t(r)||g(n)})}function g(t){const e=o.get(t);a&&ko(e,a)?a&&hr(a):d(e),o.delete(t),s.delete(t)}i.activate=(t,e,n,i,o)=>{const s=t.component;l(t,e,n,0,c),u(s.vnode,t,e,n,s,c,i,t.slotScopeIds,o),Xi(()=>{s.isDeactivated=!1,s.a&&Object(r["n"])(s.a);const e=t.props&&t.props.onVnodeMounted;e&&Ho(e,s.parent,t)},c),tn(s)},i.deactivate=t=>{const e=t.component;l(t,p,null,1,c),Xi(()=>{e.da&&Object(r["n"])(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&Ho(n,e.parent,t),e.isDeactivated=!0},c),tn(e)},Pn(()=>[t.include,t.exclude],([t,e])=>{t&&m(e=>sr(t,e)),e&&m(t=>!sr(e,t))},{flush:"post",deep:!0});let v=null;const y=()=>{null!=v&&o.set(v,fr(n.subTree))};return gr(y),yr(y),br(()=>{o.forEach(t=>{const{subTree:e,suspense:r}=n,i=fr(e);if(t.type!==i.type||t.key!==i.key)d(t);else{hr(i);const t=i.component.da;t&&Xi(t,r)}})}),()=>{if(v=null,!e.default)return null;const n=e.default(),r=n[0];if(n.length>1)return ne("KeepAlive should contain exactly one component child."),a=null,n;if(!Eo(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return a=null,r;let i=fr(r);const c=i.type,u=vs(tr(i)?i.type.__asyncResolved||{}:c),{include:l,exclude:h,max:f}=t;if(l&&(!u||!sr(l,u))||h&&u&&sr(h,u))return a=i,r;const p=null==i.key?c:i.key,d=o.get(p);return i.el&&(i=Lo(i),128&r.shapeFlag&&(r.ssContent=i)),v=p,d?(i.el=d.el,i.component=d.component,i.transition&&Qn(i,i.transition),i.shapeFlag|=512,s.delete(p),s.add(p)):(s.add(p),f&&s.size>parseInt(f,10)&&g(s.values().next().value)),i.shapeFlag|=256,a=i,Sn(r.type)?r:i}}},or=ir;function sr(t,e){return Object(r["o"])(t)?t.some(t=>sr(t,e)):Object(r["F"])(t)?t.split(",").includes(e):!!Object(r["A"])(t)&&t.test(e)}function ar(t,e){ur(t,"a",e)}function cr(t,e){ur(t,"da",e)}function ur(t,e,n=Yo){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(pr(e,r,n),n){let t=n.parent;while(t&&t.parent)rr(t.parent.vnode)&&lr(r,e,n,t),t=t.parent}}function lr(t,e,n,i){const o=pr(e,t,i,!0);_r(()=>{Object(r["O"])(i[e],o)},n)}function hr(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function fr(t){return 128&t.shapeFlag?t.ssContent:t}function pr(t,e,n=Yo,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;k(),Jo(n);const i=he(e,n,t,r);return Zo(),j(),i});return i?r.unshift(o):r.push(o),o}{const e=Object(r["Q"])(ue[t].replace(/ hook$/,""));ne(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 dr=t=>(e,n=Yo)=>(!os||"sp"===t)&&pr(t,(...t)=>e(...t),n),mr=dr("bm"),gr=dr("m"),vr=dr("bu"),yr=dr("u"),br=dr("bum"),_r=dr("um"),wr=dr("sp"),Or=dr("rtg"),xr=dr("rtc");function Mr(t,e=Yo){pr("ec",t,e)}const Er="components",kr="directives";function jr(t,e){return Nr(Er,t,!0,e)||t}const Ar=Symbol.for("v-ndc");function Cr(t){return Object(r["F"])(t)?Nr(Er,t,!1)||t:t||Ar}function Sr(t){return Nr(kr,t)}function Nr(t,e,n=!0,i=!1){const o=pn||Yo;if(o){const s=o.type;if(t===Er){const t=vs(s,!1);if(t&&(t===e||t===Object(r["e"])(e)||t===Object(r["f"])(Object(r["e"])(e))))return s}const a=Tr(o[t]||s[t],e)||Tr(o.appContext[t],e);if(!a&&i)return s;if(n&&!a){const n=t===Er?"\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.":"";ne(`Failed to resolve ${t.slice(0,-1)}: ${e}${n}`)}return a}ne(`resolve${Object(r["f"])(t.slice(0,-1))} can only be used in render() or setup().`)}function Tr(t,e){return t&&(t[e]||t[Object(r["e"])(e)]||t[Object(r["f"])(Object(r["e"])(e))])}function Ir(t,e,n,i){let o;const s=n&&n[i];if(Object(r["o"])(t)||Object(r["F"])(t)){o=new Array(t.length);for(let n=0,r=t.length;n<r;n++)o[n]=e(t[n],n,void 0,s&&s[n])}else if("number"===typeof t){Number.isInteger(t)||ne(`The v-for range expect an integer value but got ${t}.`),o=new Array(t);for(let n=0;n<t;n++)o[n]=e(n+1,n,void 0,s&&s[n])}else if(Object(r["w"])(t))if(t[Symbol.iterator])o=Array.from(t,(t,n)=>e(t,n,void 0,s&&s[n]));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=e(t[i],i,r,s&&s[r])}}else o=[];return n&&(n[i]=o),o}function Pr(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(pn.isCE||pn.parent&&tr(pn.parent)&&pn.parent.isCE)return"default"!==e&&(n.name=e),To("slot",n,r&&r());let o=t[e];o&&o.length>1&&(ne("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."),o=()=>[]),o&&o._c&&(o._d=!1),vo();const s=o&&Rr(o(n)),a=Mo(lo,{key:n.key||s&&s.key||"_"+e},s||(r?r():[]),s&&1===t._?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Rr(t){return t.some(t=>!Eo(t)||t.type!==fo&&!(t.type===lo&&!Rr(t.children)))?t:null}function Fr(t,e){const n={};if(!Object(r["w"])(t))return ne("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["Q"])(i)]=t[i];return n}const Dr=t=>t?ns(t)?ds(t)||t.proxy:Dr(t.parent):null,Ur=Object(r["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>Nt(t.props),$attrs:t=>Nt(t.attrs),$slots:t=>Nt(t.slots),$refs:t=>Nt(t.refs),$parent:t=>Dr(t.parent),$root:t=>Dr(t.root),$emit:t=>t.emit,$options:t=>ei(t),$forceUpdate:t=>t.f||(t.f=()=>ke(t.update)),$nextTick:t=>t.n||(t.n=Me.bind(t.proxy)),$watch:t=>Rn.bind(t)}),Br=t=>"_"===t||"$"===t,$r=(t,e)=>t!==r["b"]&&!t.__isScriptSetup&&Object(r["k"])(t,e),qr={get({_:t},e){const{ctx:n,setupState:i,data:o,props:s,accessCache:a,type:c,appContext:u}=t;if("__isVue"===e)return!0;let l;if("$"!==e[0]){const c=a[e];if(void 0!==c)switch(c){case 1:return i[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if($r(i,e))return a[e]=1,i[e];if(o!==r["b"]&&Object(r["k"])(o,e))return a[e]=2,o[e];if((l=t.propsOptions[0])&&Object(r["k"])(l,e))return a[e]=3,s[e];if(n!==r["b"]&&Object(r["k"])(n,e))return a[e]=4,n[e];Kr&&(a[e]=0)}}const h=Ur[e];let f,p;return h?("$attrs"===e?(A(t,"get",e),_n()):"$slots"===e&&A(t,"get",e),h(t)):(f=c.__cssModules)&&(f=f[e])?f:n!==r["b"]&&Object(r["k"])(n,e)?(a[e]=4,n[e]):(p=u.config.globalProperties,Object(r["k"])(p,e)?p[e]:void(!pn||Object(r["F"])(e)&&0===e.indexOf("__v")||(o!==r["b"]&&Br(e[0])&&Object(r["k"])(o,e)?ne(`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===pn&&ne(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))))},set({_:t},e,n){const{data:i,setupState:o,ctx:s}=t;return $r(o,e)?(o[e]=n,!0):o.__isScriptSetup&&Object(r["k"])(o,e)?(ne(`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)?(ne(`Attempting to mutate prop "${e}". Props are readonly.`),!1):"$"===e[0]&&e.slice(1)in t?(ne(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(e in t.appContext.config.globalProperties?Object.defineProperty(s,e,{enumerable:!0,configurable:!0,value:n}):s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:o,propsOptions:s}},a){let c;return!!n[a]||t!==r["b"]&&Object(r["k"])(t,a)||$r(e,a)||(c=s[0])&&Object(r["k"])(c,a)||Object(r["k"])(i,a)||Object(r["k"])(Ur,a)||Object(r["k"])(o.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=>(ne("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 Hr(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 zr(t){const{ctx:e,setupState:n}=t;Object.keys(Ft(n)).forEach(t=>{if(!n.__isScriptSetup){if(Br(t[0]))return void ne(`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 Vr(){return Yr().attrs}function Yr(){const t=Go();return t||ne("useContext() called without active instance."),t.setupContext||(t.setupContext=ps(t))}function Gr(t){return Object(r["o"])(t)?t.reduce((t,e)=>(t[e]=null,t),{}):t}function Xr(){const t=Object.create(null);return(e,n)=>{t[n]?ne(`${e} property "${n}" is already defined in ${t[n]}.`):t[n]=e}}let Kr=!0;function Qr(t){const e=ei(t),n=t.proxy,i=t.ctx;Kr=!1,e.beforeCreate&&Zr(e.beforeCreate,t,"bc");const{data:o,computed:s,methods:a,watch:c,provide:u,inject:l,created:h,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:g,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:w,render:O,renderTracked:x,renderTriggered:M,errorCaptured:E,serverPrefetch:k,expose:j,inheritAttrs:A,components:C,directives:S,filters:N}=e,T=Xr();{const[e]=t.propsOptions;if(e)for(const t in e)T("Props",t)}if(l&&Jr(l,i,T),a)for(const P in a){const t=a[P];Object(r["q"])(t)?(Object.defineProperty(i,P,{value:t.bind(n),configurable:!0,enumerable:!0,writable:!0}),T("Methods",P)):ne(`Method "${P}" has type "${typeof t}" in the component definition. Did you reference the function correctly?`)}if(o){Object(r["q"])(o)||ne("The data option must be a function. Plain object usage is no longer supported.");const e=o.call(n,n);if(Object(r["z"])(e)&&ne("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=At(e);for(const t in e)T("Data",t),Br(t[0])||Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t],set:r["d"]})}else ne("data() should return an object.")}if(Kr=!0,s)for(const P in s){const t=s[P],e=Object(r["q"])(t)?t.bind(n,n):Object(r["q"])(t.get)?t.get.bind(n,n):r["d"];e===r["d"]&&ne(`Computed property "${P}" has no getter.`);const o=!Object(r["q"])(t)&&Object(r["q"])(t.set)?t.set.bind(n):()=>{ne(`Write operation failed: computed property "${P}" is readonly.`)},a=_s({get:e,set:o});Object.defineProperty(i,P,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t}),T("Computed",P)}if(c)for(const r in c)ti(c[r],i,n,r);if(u){const t=Object(r["q"])(u)?u.call(n):u;Reflect.ownKeys(t).forEach(e=>{mi(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&&Zr(h,t,"c"),I(mr,f),I(gr,p),I(vr,d),I(yr,m),I(ar,g),I(cr,v),I(Mr,E),I(xr,x),I(Or,M),I(br,b),I(_r,w),I(wr,k),Object(r["o"])(j))if(j.length){const e=t.exposed||(t.exposed={});j.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});O&&t.render===r["d"]&&(t.render=O),null!=A&&(t.inheritAttrs=A),C&&(t.components=C),S&&(t.directives=S)}function Jr(t,e,n=r["d"]){Object(r["o"])(t)&&(t=si(t));for(const i in t){const o=t[i];let s;s=Object(r["w"])(o)?"default"in o?gi(o.from||i,o.default,!0):gi(o.from||i):gi(o),Ht(s)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t}):e[i]=s,n("Inject",i)}}function Zr(t,e,n){he(Object(r["o"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function ti(t,e,n,i){const o=i.includes(".")?Fn(n,i):()=>n[i];if(Object(r["F"])(t)){const n=e[t];Object(r["q"])(n)?Pn(o,n):ne(`Invalid watch handler specified by key "${t}"`,n)}else if(Object(r["q"])(t))Pn(o,t.bind(n));else if(Object(r["w"])(t))if(Object(r["o"])(t))t.forEach(t=>ti(t,e,n,i));else{const i=Object(r["q"])(t.handler)?t.handler.bind(n):e[t.handler];Object(r["q"])(i)?Pn(o,i,t):ne(`Invalid watch handler specified by key "${t.handler}"`,i)}else ne(`Invalid watch option: "${i}"`,t)}function ei(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,c=s.get(e);let u;return c?u=c:o.length||n||i?(u={},o.length&&o.forEach(t=>ni(u,t,a,!0)),ni(u,e,a)):u=e,Object(r["w"])(e)&&s.set(e,u),u}function ni(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&ni(t,o,n,!0),i&&i.forEach(e=>ni(t,e,n,!0));for(const s in e)if(r&&"expose"===s)ne('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const r=ri[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const ri={data:ii,props:ui,emits:ui,methods:ci,computed:ci,beforeCreate:ai,created:ai,beforeMount:ai,mounted:ai,beforeUpdate:ai,updated:ai,beforeDestroy:ai,beforeUnmount:ai,destroyed:ai,unmounted:ai,activated:ai,deactivated:ai,errorCaptured:ai,serverPrefetch:ai,components:ci,directives:ci,watch:li,provide:ii,inject:oi};function ii(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 oi(t,e){return ci(si(t),si(e))}function si(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 ai(t,e){return t?[...new Set([].concat(t,e))]:e}function ci(t,e){return t?Object(r["h"])(Object.create(null),t,e):e}function ui(t,e){return t?Object(r["o"])(t)&&Object(r["o"])(e)?[...new Set([...t,...e])]:Object(r["h"])(Object.create(null),Gr(t),Gr(null!=e?e:{})):e}function li(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]=ai(t[r],e[r]);return n}function hi(){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 fi=0;function pi(t,e){return function(n,i=null){Object(r["q"])(n)||(n=Object(r["h"])({},n)),null==i||Object(r["w"])(i)||(ne("root props passed to app.mount() must be an object."),i=null);const o=hi();Object.defineProperty(o.config,"unwrapInjectedRef",{get(){return!0},set(){ne("app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API.")}});const s=new Set;let a=!1;const c=o.app={_uid:fi++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:ks,get config(){return o.config},set config(t){ne("app.config cannot be replaced. Modify individual options instead.")},use(t,...e){return s.has(t)?ne("Plugin has already been applied to target app."):t&&Object(r["q"])(t.install)?(s.add(t),t.install(c,...e)):Object(r["q"])(t)?(s.add(t),t(c,...e)):ne('A plugin must either be a function or an object with an "install" function.'),c},mixin(t){return o.mixins.includes(t)?ne("Mixin has already been applied to target app"+(t.name?": "+t.name:"")):o.mixins.push(t),c},component(t,e){return es(t,o.config),e?(o.components[t]&&ne(`Component "${t}" has already been registered in target app.`),o.components[t]=e,c):o.components[t]},directive(t,e){return Un(t),e?(o.directives[t]&&ne(`Directive "${t}" has already been registered in target app.`),o.directives[t]=e,c):o.directives[t]},mount(r,s,u){if(!a){r.__vue_app__&&ne("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 l=To(n,i);return l.appContext=o,o.reload=()=>{t(Lo(l),r,u)},s&&e?e(l,r):t(l,r,u),a=!0,c._container=r,r.__vue_app__=c,c._instance=l.component,Je(c,ks),ds(l.component)||l.component.proxy}ne("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,Ze(c),delete c._container.__vue_app__):ne("Cannot unmount an app that is not mounted.")},provide(t,e){return t in o.provides&&ne(`App already provides property with key "${String(t)}". It will be overwritten with the new value.`),o.provides[t]=e,c},runWithContext(t){di=c;try{return t()}finally{di=null}}};return c}}let di=null;function mi(t,e){if(Yo){let n=Yo.provides;const r=Yo.parent&&Yo.parent.provides;r===n&&(n=Yo.provides=Object.create(r)),n[t]=e}else ne("provide() can only be used inside setup().")}function gi(t,e,n=!1){const i=Yo||pn;if(i||di){const o=i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:di._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Object(r["q"])(e)?e.call(i&&i.proxy):e;ne(`injection "${String(t)}" not found.`)}else ne("inject() can only be used inside setup() or functional components.")}function vi(t,e,n,i=!1){const o={},s={};Object(r["g"])(s,Ao,1),t.propsDefaults=Object.create(null),_i(t,e,o,s);for(const r in t.propsOptions[0])r in o||(o[r]=void 0);ji(e||{},o,t),n?t.props=i?o:Ct(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function yi(t){while(t){if(t.type.__hmrId)return!0;t=t.parent}}function bi(t,e,n,i){const{props:o,attrs:s,vnode:{patchFlag:a}}=t,c=Ft(o),[u]=t.propsOptions;let l=!1;if(yi(t)||!(i||a>0)||16&a){let i;_i(t,e,o,s)&&(l=!0);for(const s in c)e&&(Object(r["k"])(e,s)||(i=Object(r["l"])(s))!==s&&Object(r["k"])(e,i))||(u?!n||void 0===n[s]&&void 0===n[i]||(o[s]=wi(u,c,s,void 0,t,!0)):delete o[s]);if(s!==c)for(const t in s)e&&Object(r["k"])(e,t)||(delete s[t],l=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];if(fn(t.emitsOptions,a))continue;const h=e[a];if(u)if(Object(r["k"])(s,a))h!==s[a]&&(s[a]=h,l=!0);else{const e=Object(r["e"])(a);o[e]=wi(u,c,e,h,t,!1)}else h!==s[a]&&(s[a]=h,l=!0)}}l&&S(t,"set","$attrs"),ji(e||{},o,t)}function _i(t,e,n,i){const[o,s]=t.propsOptions;let a,c=!1;if(e)for(let u in e){if(Object(r["B"])(u))continue;const l=e[u];let h;o&&Object(r["k"])(o,h=Object(r["e"])(u))?s&&s.includes(h)?(a||(a={}))[h]=l:n[h]=l:fn(t.emitsOptions,u)||u in i&&l===i[u]||(i[u]=l,c=!0)}if(s){const e=Ft(n),i=a||r["b"];for(let a=0;a<s.length;a++){const c=s[a];n[c]=wi(o,e,c,i[c],t,!Object(r["k"])(i,c))}}return c}function wi(t,e,n,i,o,s){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&&!a.skipFactory&&Object(r["q"])(t)){const{propsDefaults:r}=o;n in r?i=r[n]:(Jo(o),i=r[n]=t.call(null,e),Zo())}else i=t}a[0]&&(s&&!t?i=!1:!a[1]||""!==i&&i!==Object(r["l"])(n)||(i=!0))}return i}function Oi(t,e,n=!1){const i=e.propsCache,o=i.get(t);if(o)return o;const s=t.props,a={},c=[];let u=!1;if(!Object(r["q"])(t)){const i=t=>{u=!0;const[n,i]=Oi(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(!s&&!u)return Object(r["w"])(t)&&i.set(t,r["a"]),r["a"];if(Object(r["o"])(s))for(let h=0;h<s.length;h++){Object(r["F"])(s[h])||ne("props must be strings when using array syntax.",s[h]);const t=Object(r["e"])(s[h]);xi(t)&&(a[t]=r["b"])}else if(s){Object(r["w"])(s)||ne("invalid props options",s);for(const t in s){const e=Object(r["e"])(t);if(xi(e)){const n=s[t],i=a[e]=Object(r["o"])(n)||Object(r["q"])(n)?{type:n}:Object(r["h"])({},n);if(i){const t=ki(Boolean,i.type),n=ki(String,i.type);i[0]=t>-1,i[1]=n<0||t<n,(t>-1||Object(r["k"])(i,"default"))&&c.push(e)}}}}const l=[a,c];return Object(r["w"])(t)&&i.set(t,l),l}function xi(t){return"$"!==t[0]||(ne(`Invalid prop name: "${t}" is a reserved property.`),!1)}function Mi(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function Ei(t,e){return Mi(t)===Mi(e)}function ki(t,e){return Object(r["o"])(e)?e.findIndex(e=>Ei(e,t)):Object(r["q"])(e)&&Ei(e,t)?0:-1}function ji(t,e,n){const i=Ft(e),o=n.propsOptions[0];for(const s in o){let e=o[s];null!=e&&Ai(s,i[s],e,!Object(r["k"])(t,s)&&!Object(r["k"])(t,Object(r["l"])(s)))}}function Ai(t,e,n,i){const{type:o,required:s,validator:a,skipCheck:c}=n;if(s&&i)ne('Missing required prop: "'+t+'"');else if(null!=e||s){if(null!=o&&!0!==o&&!c){let n=!1;const i=Object(r["o"])(o)?o:[o],s=[];for(let t=0;t<i.length&&!n;t++){const{valid:r,expectedType:o}=Si(e,i[t]);s.push(o||""),n=r}if(!n)return void ne(Ni(t,e,s))}a&&!a(e)&&ne('Invalid prop: custom validator check failed for prop "'+t+'".')}}const Ci=Object(r["K"])("String,Number,Boolean,Function,Symbol,BigInt");function Si(t,e){let n;const i=Mi(e);if(Ci(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 Ni(t,e,n){let i=`Invalid prop: type check failed for prop "${t}". Expected ${n.map(r["f"]).join(" | ")}`;const o=n[0],s=Object(r["S"])(e),a=Ti(e,o),c=Ti(e,s);return 1===n.length&&Ii(o)&&!Pi(o,s)&&(i+=" with value "+a),i+=`, got ${s} `,Ii(s)&&(i+=`with value ${c}.`),i}function Ti(t,e){return"String"===e?`"${t}"`:"Number"===e?""+Number(t):""+t}function Ii(t){const e=["string","number","boolean"];return e.some(e=>t.toLowerCase()===e)}function Pi(...t){return t.some(t=>"boolean"===t.toLowerCase())}const Li=t=>"_"===t[0]||"$stable"===t,Ri=t=>Object(r["o"])(t)?t.map(Uo):[Uo(t)],Fi=(t,e,n)=>{if(e._n)return e;const r=yn((...n)=>(Yo&&ne(`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.`),Ri(e(...n))),n);return r._c=!1,r},Di=(t,e,n)=>{const i=t._ctx;for(const o in t){if(Li(o))continue;const n=t[o];if(Object(r["q"])(n))e[o]=Fi(o,n,i);else if(null!=n){ne(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const t=Ri(n);e[o]=()=>t}}},Ui=(t,e)=>{rr(t.vnode)||ne("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Ri(e);t.slots.default=()=>n},Bi=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=Ft(e),Object(r["g"])(e,"_",n)):Di(e,t.slots={})}else t.slots={},e&&Ui(t,e);Object(r["g"])(t.slots,Ao,1)},$i=(t,e,n)=>{const{vnode:i,slots:o}=t;let s=!0,a=r["b"];if(32&i.shapeFlag){const i=e._;i?Re?(Object(r["h"])(o,e),S(t,"set","$slots")):n&&1===i?s=!1:(Object(r["h"])(o,e),n||1!==i||delete o._):(s=!e.$stable,Di(e,o)),a=e}else e&&(Ui(t,e),a={default:1});if(s)for(const r in o)Li(r)||r in a||delete o[r]};function qi(t,e,n,i,o=!1){if(Object(r["o"])(t))return void t.forEach((t,s)=>qi(t,e&&(Object(r["o"])(e)?e[s]:e),n,i,o));if(tr(i)&&!o)return;const s=4&i.shapeFlag?ds(i.component)||i.component.proxy:i.el,a=o?null:s,{i:c,r:u}=t;if(!c)return void ne("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");const l=e&&e.r,h=c.refs===r["b"]?c.refs={}:c.refs,f=c.setupState;if(null!=l&&l!==u&&(Object(r["F"])(l)?(h[l]=null,Object(r["k"])(f,l)&&(f[l]=null)):Ht(l)&&(l.value=null)),Object(r["q"])(u))le(u,c,12,[a,h]);else{const e=Object(r["F"])(u),i=Ht(u);if(e||i){const c=()=>{if(t.f){const n=e?Object(r["k"])(f,u)?f[u]:h[u]:u.value;o?Object(r["o"])(n)&&Object(r["O"])(n,s):Object(r["o"])(n)?n.includes(s)||n.push(s):e?(h[u]=[s],Object(r["k"])(f,u)&&(f[u]=h[u])):(u.value=[s],t.k&&(h[t.k]=u.value))}else e?(h[u]=a,Object(r["k"])(f,u)&&(f[u]=a)):i?(u.value=a,t.k&&(h[t.k]=a)):ne("Invalid template ref type:",u,`(${typeof u})`)};a?(c.id=-1,Xi(c,n)):c()}else ne("Invalid template ref type:",u,`(${typeof u})`)}}let Hi,Wi;function zi(t,e){t.appContext.config.performance&&Yi()&&Wi.mark(`vue-${e}-${t.uid}`),sn(t,e,Yi()?Wi.now():Date.now())}function Vi(t,e){if(t.appContext.config.performance&&Yi()){const n=`vue-${e}-${t.uid}`,r=n+":end";Wi.mark(r),Wi.measure(`<${ys(t,t.type)}> ${e}`,n,r),Wi.clearMarks(n),Wi.clearMarks(r)}an(t,e,Yi()?Wi.now():Date.now())}function Yi(){return void 0!==Hi||("undefined"!==typeof window&&window.performance?(Hi=!0,Wi=window.performance):Hi=!1),Hi}function Gi(){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 Xi=Nn;function Ki(t){return Qi(t)}function Qi(t,e){Gi();const n=Object(r["i"])();n.__VUE__=!0,Qe(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:i,remove:o,patchProp:s,createElement:a,createText:c,createComment:u,setText:l,setElementText:h,parentNode:f,nextSibling:p,setScopeId:d=r["d"],insertStaticContent:m}=t,g=(t,e,n,r=null,i=null,o=null,s=!1,a=null,c=!Re&&!!e.dynamicChildren)=>{if(t===e)return;t&&!ko(t,e)&&(r=G(t),H(t,i,o,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:u,ref:l,shapeFlag:h}=e;switch(u){case ho:v(t,e,n,r);break;case fo:y(t,e,n,r);break;case po:null==t?b(e,n,r,s):_(t,e,n,s);break;case lo:I(t,e,n,r,i,o,s,a,c);break;default:1&h?M(t,e,n,r,i,o,s,a,c):6&h?P(t,e,n,r,i,o,s,a,c):64&h||128&h?u.process(t,e,n,r,i,o,s,a,c,K):ne("Invalid VNode type:",u,`(${typeof u})`)}null!=l&&i&&qi(l,t&&t.ref,o,e||t,!e)},v=(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&&l(n,e.children)}},y=(t,e,n,r)=>{null==t?i(e.el=u(e.children||""),n,r):e.el=t.el},b=(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);x(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 o;while(t&&t!==e)o=p(t),i(t,n,r),t=o;i(e,n,r)},x=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),o(t),t=n;o(e)},M=(t,e,n,r,i,o,s,a,c)=>{s=s||"svg"===e.type,null==t?E(e,n,r,i,o,s,a,c):S(t,e,i,o,s,a,c)},E=(t,e,n,o,c,u,l,f)=>{let p,d;const{type:m,props:g,shapeFlag:v,transition:y,dirs:b}=t;if(p=t.el=a(t.type,u,g&&g.is,g),8&v?h(p,t.children):16&v&&C(t.children,p,null,o,c,u&&"foreignObject"!==m,l,f),b&&$n(t,null,o,"created"),A(p,t,t.scopeId,l,o),g){for(const e in g)"value"===e||Object(r["B"])(e)||s(p,e,null,g[e],u,t.children,o,c,Y);"value"in g&&s(p,"value",null,g.value),(d=g.onVnodeBeforeMount)&&Ho(d,o,t)}Object.defineProperty(p,"__vnode",{value:t,enumerable:!1}),Object.defineProperty(p,"__vueParentComponent",{value:o,enumerable:!1}),b&&$n(t,null,o,"beforeMount");const _=(!c||c&&!c.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(p),i(p,e,n),((d=g&&g.onVnodeMounted)||_||b)&&Xi(()=>{d&&Ho(d,o,t),_&&y.enter(p),b&&$n(t,null,o,"mounted")},c)},A=(t,e,n,r,i)=>{if(n&&d(t,n),r)for(let o=0;o<r.length;o++)d(t,r[o]);if(i){let n=i.subTree;if(n.patchFlag>0&&2048&n.patchFlag&&(n=xn(n.children)||n),e===n){const e=i.vnode;A(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},C=(t,e,n,r,i,o,s,a,c=0)=>{for(let u=c;u<t.length;u++){const c=t[u]=a?Bo(t[u]):Uo(t[u]);g(null,c,e,n,r,i,o,s,a)}},S=(t,e,n,i,o,a,c)=>{const u=e.el=t.el;let{patchFlag:l,dynamicChildren:f,dirs:p}=e;l|=16&t.patchFlag;const d=t.props||r["b"],m=e.props||r["b"];let g;n&&Ji(n,!1),(g=m.onVnodeBeforeUpdate)&&Ho(g,n,e,t),p&&$n(e,t,n,"beforeUpdate"),n&&Ji(n,!0),Re&&(l=0,c=!1,f=null);const v=o&&"foreignObject"!==e.type;if(f?(N(t.dynamicChildren,f,u,n,i,v,a),Zi(t,e)):c||U(t,e,u,null,n,i,v,a,!1),l>0){if(16&l)T(u,e,d,m,n,i,o);else if(2&l&&d.class!==m.class&&s(u,"class",null,m.class,o),4&l&&s(u,"style",d.style,m.style,o),8&l){const r=e.dynamicProps;for(let e=0;e<r.length;e++){const a=r[e],c=d[a],l=m[a];l===c&&"value"!==a||s(u,a,c,l,o,t.children,n,i,Y)}}1&l&&t.children!==e.children&&h(u,e.children)}else c||null!=f||T(u,e,d,m,n,i,o);((g=m.onVnodeUpdated)||p)&&Xi(()=>{g&&Ho(g,n,e,t),p&&$n(e,t,n,"updated")},i)},N=(t,e,n,r,i,o,s)=>{for(let a=0;a<e.length;a++){const c=t[a],u=e[a],l=c.el&&(c.type===lo||!ko(c,u)||70&c.shapeFlag)?f(c.el):n;g(c,u,l,null,r,i,o,s,!0)}},T=(t,e,n,i,o,a,c)=>{if(n!==i){if(n!==r["b"])for(const u in n)Object(r["B"])(u)||u in i||s(t,u,n[u],null,c,e.children,o,a,Y);for(const u in i){if(Object(r["B"])(u))continue;const l=i[u],h=n[u];l!==h&&"value"!==u&&s(t,u,h,l,c,e.children,o,a,Y)}"value"in i&&s(t,"value",n.value,i.value)}},I=(t,e,n,r,o,s,a,u,l)=>{const h=e.el=t?t.el:c(""),f=e.anchor=t?t.anchor:c("");let{patchFlag:p,dynamicChildren:d,slotScopeIds:m}=e;(Re||2048&p)&&(p=0,l=!1,d=null),m&&(u=u?u.concat(m):m),null==t?(i(h,n,r),i(f,n,r),C(e.children,n,f,o,s,a,u,l)):p>0&&64&p&&d&&t.dynamicChildren?(N(t.dynamicChildren,d,n,o,s,a,u),Zi(t,e)):U(t,e,n,f,o,s,a,u,l)},P=(t,e,n,r,i,o,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,s,c):L(e,n,r,i,o,s,c):R(t,e,c)},L=(t,e,n,r,i,o,s)=>{const a=t.component=Vo(t,r,i);if(a.type.__hmrId&&Ue(a),te(t),zi(a,"mount"),rr(t)&&(a.ctx.renderer=K),zi(a,"init"),ss(a),Vi(a,"init"),a.asyncDep){if(i&&i.registerDep(a,F),!t.el){const t=a.subTree=To(fo);y(null,t,e,n)}}else F(a,t,e,n,i,o,s),ee(),Vi(a,"mount")},R=(t,e,n)=>{const r=e.component=t.component;if(jn(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return te(e),D(r,e,n),void ee();r.next=e,Ae(r.update),r.update()}else e.el=t.el,r.vnode=e},F=(t,e,n,i,o,s,a)=>{const c=()=>{if(t.isMounted){let e,{next:n,bu:i,u:c,parent:u,vnode:l}=t,h=n;te(n||t.vnode),Ji(t,!1),n?(n.el=l.el,D(t,n,a)):n=l,i&&Object(r["n"])(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Ho(e,u,n,l),Ji(t,!0),zi(t,"render");const p=wn(t);Vi(t,"render");const d=t.subTree;t.subTree=p,zi(t,"patch"),g(d,p,f(d.el),G(d),t,o,s),Vi(t,"patch"),n.el=p.el,null===h&&Cn(t,p.el),c&&Xi(c,o),(e=n.props&&n.props.onVnodeUpdated)&&Xi(()=>Ho(e,u,n,l),o),en(t),ee()}else{let a;const{el:c,props:u}=e,{bm:l,m:h,parent:f}=t,p=tr(e);if(Ji(t,!1),l&&Object(r["n"])(l),!p&&(a=u&&u.onVnodeBeforeMount)&&Ho(a,f,e),Ji(t,!0),c&&J){const n=()=>{zi(t,"render"),t.subTree=wn(t),Vi(t,"render"),zi(t,"hydrate"),J(c,t.subTree,t,o,null),Vi(t,"hydrate")};p?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{zi(t,"render");const r=t.subTree=wn(t);Vi(t,"render"),zi(t,"patch"),g(null,r,n,i,t,o,s),Vi(t,"patch"),e.el=r.el}if(h&&Xi(h,o),!p&&(a=u&&u.onVnodeMounted)){const t=e;Xi(()=>Ho(a,f,t),o)}(256&e.shapeFlag||f&&tr(f.vnode)&&256&f.vnode.shapeFlag)&&t.a&&Xi(t.a,o),t.isMounted=!0,tn(t),e=n=i=null}},u=t.effect=new O(c,()=>ke(l),t.scope),l=t.update=()=>u.run();l.id=t.uid,Ji(t,!0),u.onTrack=t.rtc?e=>Object(r["n"])(t.rtc,e):void 0,u.onTrigger=t.rtg?e=>Object(r["n"])(t.rtg,e):void 0,l.ownerInstance=t,l()},D=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,bi(t,e.props,r,n),$i(t,e.children,n),k(),Se(),j()},U=(t,e,n,r,i,o,s,a,c=!1)=>{const u=t&&t.children,l=t?t.shapeFlag:0,f=e.children,{patchFlag:p,shapeFlag:d}=e;if(p>0){if(128&p)return void $(u,f,n,r,i,o,s,a,c);if(256&p)return void B(u,f,n,r,i,o,s,a,c)}8&d?(16&l&&Y(u,i,o),f!==u&&h(n,f)):16&l?16&d?$(u,f,n,r,i,o,s,a,c):Y(u,i,o,!0):(8&l&&h(n,""),16&d&&C(f,n,r,i,o,s,a,c))},B=(t,e,n,i,o,s,a,c,u)=>{t=t||r["a"],e=e||r["a"];const l=t.length,h=e.length,f=Math.min(l,h);let p;for(p=0;p<f;p++){const r=e[p]=u?Bo(e[p]):Uo(e[p]);g(t[p],r,n,null,o,s,a,c,u)}l>h?Y(t,o,s,!0,!1,f):C(e,n,i,o,s,a,c,u,f)},$=(t,e,n,i,o,s,a,c,u)=>{let l=0;const h=e.length;let f=t.length-1,p=h-1;while(l<=f&&l<=p){const r=t[l],i=e[l]=u?Bo(e[l]):Uo(e[l]);if(!ko(r,i))break;g(r,i,n,null,o,s,a,c,u),l++}while(l<=f&&l<=p){const r=t[f],i=e[p]=u?Bo(e[p]):Uo(e[p]);if(!ko(r,i))break;g(r,i,n,null,o,s,a,c,u),f--,p--}if(l>f){if(l<=p){const t=p+1,r=t<h?e[t].el:i;while(l<=p)g(null,e[l]=u?Bo(e[l]):Uo(e[l]),n,r,o,s,a,c,u),l++}}else if(l>p)while(l<=f)H(t[l],o,s,!0),l++;else{const d=l,m=l,v=new Map;for(l=m;l<=p;l++){const t=e[l]=u?Bo(e[l]):Uo(e[l]);null!=t.key&&(v.has(t.key)&&ne("Duplicate keys found during update:",JSON.stringify(t.key),"Make sure keys are unique."),v.set(t.key,l))}let y,b=0;const _=p-m+1;let w=!1,O=0;const x=new Array(_);for(l=0;l<_;l++)x[l]=0;for(l=d;l<=f;l++){const r=t[l];if(b>=_){H(r,o,s,!0);continue}let i;if(null!=r.key)i=v.get(r.key);else for(y=m;y<=p;y++)if(0===x[y-m]&&ko(r,e[y])){i=y;break}void 0===i?H(r,o,s,!0):(x[i-m]=l+1,i>=O?O=i:w=!0,g(r,e[i],n,null,o,s,a,c,u),b++)}const M=w?to(x):r["a"];for(y=M.length-1,l=_-1;l>=0;l--){const t=m+l,r=e[t],f=t+1<h?e[t+1].el:i;0===x[l]?g(null,r,n,f,o,s,a,c,u):w&&(y<0||l!==M[y]?q(r,n,f,2):y--)}}},q=(t,e,n,r,o=null)=>{const{el:s,type:a,transition:c,children:u,shapeFlag:l}=t;if(6&l)return void q(t.component.subTree,e,n,r);if(128&l)return void t.suspense.move(e,n,r);if(64&l)return void a.move(t,e,n,K);if(a===lo){i(s,e,n);for(let t=0;t<u.length;t++)q(u[t],e,n,r);return void i(t.anchor,e,n)}if(a===po)return void w(t,e,n);const h=2!==r&&1&l&&c;if(h)if(0===r)c.beforeEnter(s),i(s,e,n),Xi(()=>c.enter(s),o);else{const{leave:t,delayLeave:r,afterLeave:o}=c,a=()=>i(s,e,n),u=()=>{t(s,()=>{a(),o&&o()})};r?r(s,a,u):u()}else i(s,e,n)},H=(t,e,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:c,dynamicChildren:u,shapeFlag:l,patchFlag:h,dirs:f}=t;if(null!=a&&qi(a,null,n,t,!0),256&l)return void e.ctx.deactivate(t);const p=1&l&&f,d=!tr(t);let m;if(d&&(m=s&&s.onVnodeBeforeUnmount)&&Ho(m,e,t),6&l)V(t.component,n,r);else{if(128&l)return void t.suspense.unmount(n,r);p&&$n(t,null,e,"beforeUnmount"),64&l?t.type.remove(t,e,n,i,K,r):u&&(o!==lo||h>0&&64&h)?Y(u,e,n,!1,!0):(o===lo&&384&h||!i&&16&l)&&Y(c,e,n),r&&W(t)}(d&&(m=s&&s.onVnodeUnmounted)||p)&&Xi(()=>{m&&Ho(m,e,t),p&&$n(t,null,e,"unmounted")},n)},W=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===lo)return void(t.patchFlag>0&&2048&t.patchFlag&&i&&!i.persisted?t.children.forEach(t=>{t.type===fo?o(t.el):W(t)}):z(n,r));if(e===po)return void x(t);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,o=()=>e(n,s);r?r(t.el,s,o):o()}else s()},z=(t,e)=>{let n;while(t!==e)n=p(t),o(t),t=n;o(e)},V=(t,e,n)=>{t.type.__hmrId&&Be(t);const{bum:i,scope:o,update:s,subTree:a,um:c}=t;i&&Object(r["n"])(i),o.stop(),s&&(s.active=!1,H(a,t,e,n)),c&&Xi(c,e),Xi(()=>{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve()),rn(t)},Y=(t,e,n,r=!1,i=!1,o=0)=>{for(let s=o;s<t.length;s++)H(t[s],e,n,r,i)},G=t=>6&t.shapeFlag?G(t.component.subTree):128&t.shapeFlag?t.suspense.next():p(t.anchor||t.el),X=(t,e,n)=>{null==t?e._vnode&&H(e._vnode,null,null,!0):g(e._vnode||null,t,e,null,null,null,n),Se(),Ne(),e._vnode=t},K={p:g,um:H,m:q,r:W,mt:L,mc:C,pc:U,pbc:N,n:G,o:t};let Q,J;return e&&([Q,J]=e(K)),{render:X,hydrate:Q,createApp:pi(X,Q)}}function Ji({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Zi(t,e,n=!1){const i=t.children,o=e.children;if(Object(r["o"])(i)&&Object(r["o"])(o))for(let r=0;r<i.length;r++){const t=i[r];let e=o[r];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=o[r]=Bo(o[r]),e.el=t.el),n||Zi(t,e)),e.type===ho&&(e.el=t.el),e.type!==fo||e.el||(e.el=t.el)}}function to(t){const e=t.slice(),n=[0];let r,i,o,s,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}o=0,s=n.length-1;while(o<s)a=o+s>>1,t[n[a]]<c?o=a+1:s=a;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];while(o-- >0)n[o]=s,s=e[s];return n}const eo=t=>t.__isTeleport,no=t=>t&&(t.disabled||""===t.disabled),ro=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,io=(t,e)=>{const n=t&&t.to;if(Object(r["F"])(n)){if(e){const t=e(n);return t||ne(`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 ne("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null}return n||no(t)||ne("Invalid Teleport target: "+n),n},oo={__isTeleport:!0,process(t,e,n,r,i,o,s,a,c,u){const{mc:l,pc:h,pbc:f,o:{insert:p,querySelector:d,createText:m,createComment:g}}=u,v=no(e.props);let{shapeFlag:y,children:b,dynamicChildren:_}=e;if(Re&&(c=!1,_=null),null==t){const t=e.el=g("teleport start"),u=e.anchor=g("teleport end");p(t,n,r),p(u,n,r);const h=e.target=io(e.props,d),f=e.targetAnchor=m("");h?(p(f,h),s=s||ro(h)):v||ne("Invalid Teleport target on mount:",h,`(${typeof h})`);const _=(t,e)=>{16&y&&l(b,t,e,i,o,s,a,c)};v?_(n,u):h&&_(h,f)}else{e.el=t.el;const r=e.anchor=t.anchor,l=e.target=t.target,p=e.targetAnchor=t.targetAnchor,m=no(t.props),g=m?n:l,y=m?r:p;if(s=s||ro(l),_?(f(t.dynamicChildren,_,g,i,o,s,a),Zi(t,e,!0)):c||h(t,e,g,y,i,o,s,a,!1),v)m||so(e,n,r,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=io(e.props,d);t?so(e,t,null,u,0):ne("Invalid Teleport target on update:",l,`(${typeof l})`)}else m&&so(e,l,p,u,1)}uo(e)},remove(t,e,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:a,children:c,anchor:u,targetAnchor:l,target:h,props:f}=t;if(h&&o(l),(s||!no(f))&&(o(u),16&a))for(let p=0;p<c.length;p++){const t=c[p];i(t,e,n,!0,!!t.dynamicChildren)}},move:so,hydrate:ao};function so(t,e,n,{o:{insert:r},m:i},o=2){0===o&&r(t.targetAnchor,e,n);const{el:s,anchor:a,shapeFlag:c,children:u,props:l}=t,h=2===o;if(h&&r(s,e,n),(!h||no(l))&&16&c)for(let f=0;f<u.length;f++)i(u[f],e,n,2);h&&r(a,e,n)}function ao(t,e,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:c}},u){const l=e.target=io(e.props,c);if(l){const c=l._lpa||l.firstChild;if(16&e.shapeFlag)if(no(e.props))e.anchor=u(s(t),e,a(t),n,r,i,o),e.targetAnchor=c;else{e.anchor=s(t);let a=c;while(a)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){e.targetAnchor=a,l._lpa=e.targetAnchor&&s(e.targetAnchor);break}u(c,e,l,n,r,i,o)}uo(e)}return e.anchor&&s(e.anchor)}const co=oo;function uo(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 lo=Symbol.for("v-fgt"),ho=Symbol.for("v-txt"),fo=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),mo=[];let go=null;function vo(t=!1){mo.push(go=t?null:[])}function yo(){mo.pop(),go=mo[mo.length-1]||null}let bo,_o=1;function wo(t){_o+=t}function Oo(t){return t.dynamicChildren=_o>0?go||r["a"]:null,yo(),_o>0&&go&&go.push(t),t}function xo(t,e,n,r,i,o){return Oo(No(t,e,n,r,i,o,!0))}function Mo(t,e,n,r,i){return Oo(To(t,e,n,r,i,!0))}function Eo(t){return!!t&&!0===t.__v_isVNode}function ko(t,e){return 6&e.shapeFlag&&Fe.has(e.type)?(t.shapeFlag&=-257,e.shapeFlag&=-513,!1):t.type===e.type&&t.key===e.key}const jo=(...t)=>Io(...bo?bo(t,pn):t),Ao="__vInternal",Co=({key:t})=>null!=t?t:null,So=({ref:t,ref_key:e,ref_for:n})=>("number"===typeof t&&(t=""+t),null!=t?Object(r["F"])(t)||Ht(t)||Object(r["q"])(t)?{i:pn,r:t,k:e,f:!!n}:t:null);function No(t,e=null,n=null,i=0,o=null,s=(t===lo?0:1),a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Co(e),ref:e&&So(e),scopeId:dn,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:s,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:pn};return c?($o(u,n),128&s&&t.normalize(u)):n&&(u.shapeFlag|=Object(r["F"])(n)?8:16),u.key!==u.key&&ne("VNode created with invalid key (NaN). VNode type:",u.type),_o>0&&!a&&go&&(u.patchFlag>0||6&s)&&32!==u.patchFlag&&go.push(u),u}const To=jo;function Io(t,e=null,n=null,i=0,o=null,s=!1){if(t&&t!==Ar||(t||ne(`Invalid vnode type when creating vnode: ${t}.`),t=fo),Eo(t)){const r=Lo(t,e,!0);return n&&$o(r,n),_o>0&&!s&&go&&(6&r.shapeFlag?go[go.indexOf(t)]=r:go.push(r)),r.patchFlag|=-2,r}if(bs(t)&&(t=t.__vccOpts),e){e=Po(e);let{class:t,style:n}=e;t&&!Object(r["F"])(t)&&(e.class=Object(r["L"])(t)),Object(r["w"])(n)&&(Rt(n)&&!Object(r["o"])(n)&&(n=Object(r["h"])({},n)),e.style=Object(r["N"])(n))}const a=Object(r["F"])(t)?1:Sn(t)?128:eo(t)?64:Object(r["w"])(t)?4:Object(r["q"])(t)?2:0;return 4&a&&Rt(t)&&(t=Ft(t),ne("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)),No(t,e,n,i,o,a,s,!0)}function Po(t){return t?Rt(t)||Ao in t?Object(r["h"])({},t):t:null}function Lo(t,e,n=!1){const{props:i,ref:o,patchFlag:s,children:a}=t,c=e?qo(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Co(c),ref:e&&e.ref?n&&o?Object(r["o"])(o)?o.concat(So(e)):[o,So(e)]:So(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:-1===s&&Object(r["o"])(a)?a.map(Ro):a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==lo?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Lo(t.ssContent),ssFallback:t.ssFallback&&Lo(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u}function Ro(t){const e=Lo(t);return Object(r["o"])(t.children)&&(e.children=t.children.map(Ro)),e}function Fo(t=" ",e=0){return To(ho,null,t,e)}function Do(t="",e=!1){return e?(vo(),Mo(fo,null,t)):To(fo,null,t)}function Uo(t){return null==t||"boolean"===typeof t?To(fo):Object(r["o"])(t)?To(lo,null,t.slice()):"object"===typeof t?Bo(t):To(ho,null,String(t))}function Bo(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Lo(t)}function $o(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),$o(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Ao in e?3===r&&pn&&(1===pn.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=pn}}else Object(r["q"])(e)?(e={default:e,_ctx:pn},n=32):(e=String(e),64&i?(n=16,e=[Fo(e)]):n=8);t.children=e,t.shapeFlag|=n}function qo(...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["L"])([e.class,i.class]));else if("style"===t)e.style=Object(r["N"])([e.style,i.style]);else if(Object(r["x"])(t)){const n=e[t],o=i[t];!o||n===o||Object(r["o"])(n)&&n.includes(o)||(e[t]=n?[].concat(n,o):o)}else""!==t&&(e[t]=i[t])}return e}function Ho(t,e,n,r=null){he(t,e,7,[n,r])}const Wo=hi();let zo=0;function Vo(t,e,n){const i=t.type,o=(e?e.appContext:t.appContext)||Wo,a={uid:zo++,vnode:t,type:i,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oi(i,o),emitsOptions:hn(i,o),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,attrsProxy:null,slotsProxy: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=Hr(a),a.root=e?e.root:a,a.emit=ln.bind(null,a),t.ce&&t.ce(a),a}let Yo=null;const Go=()=>Yo||pn;let Xo,Ko,Qo="__VUE_INSTANCE_SETTERS__";(Ko=Object(r["i"])()[Qo])||(Ko=Object(r["i"])()[Qo]=[]),Ko.push(t=>Yo=t),Xo=t=>{Ko.length>1?Ko.forEach(e=>e(t)):Ko[0](t)};const Jo=t=>{Xo(t),t.scope.on()},Zo=()=>{Yo&&Yo.scope.off(),Xo(null)},ts=Object(r["K"])("slot,component");function es(t,e){const n=e.isNativeTag||r["c"];(ts(t)||n(t))&&ne("Do not use built-in or reserved HTML elements as component id: "+t)}function ns(t){return 4&t.vnode.shapeFlag}let rs,is,os=!1;function ss(t,e=!1){os=e;const{props:n,children:r}=t.vnode,i=ns(t);vi(t,n,i,e),Bi(t,r);const o=i?as(t,e):void 0;return os=!1,o}function as(t,e){var n;const i=t.type;if(i.name&&es(i.name,t.appContext.config),i.components){const e=Object.keys(i.components);for(let n=0;n<e.length;n++)es(e[n],t.appContext.config)}if(i.directives){const t=Object.keys(i.directives);for(let e=0;e<t.length;e++)Un(t[e])}i.compilerOptions&&us()&&ne('"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=Dt(new Proxy(t.ctx,qr)),Wr(t);const{setup:o}=i;if(o){const s=t.setupContext=o.length>1?ps(t):null;Jo(t),k();const a=le(o,t,0,[Nt(t.props),s]);if(j(),Zo(),Object(r["z"])(a)){if(a.then(Zo,Zo),e)return a.then(n=>{cs(t,n,e)}).catch(e=>{fe(e,t,0)});if(t.asyncDep=a,!t.suspense){const t=null!=(n=i.name)?n:"Anonymous";ne(`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 cs(t,a,e)}else ls(t,e)}function cs(t,e,n){Object(r["q"])(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Object(r["w"])(e)?(Eo(e)&&ne("setup() should not return VNodes directly - return a render function instead."),t.devtoolsRawSetupState=e,t.setupState=Kt(e),zr(t)):void 0!==e&&ne("setup() should return an object. Received: "+(null===e?"null":typeof e)),ls(t,n)}const us=()=>!rs;function ls(t,e,n){const i=t.type;if(!t.render){if(!e&&rs&&!i.render){const e=i.template||ei(t).template;if(e){zi(t,"compile");const{isCustomElement:n,compilerOptions:o}=t.appContext.config,{delimiters:s,compilerOptions:a}=i,c=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:s},o),a);i.render=rs(e,c),Vi(t,"compile")}}t.render=i.render||r["d"],is&&is(t)}Jo(t),k(),Qr(t),j(),Zo(),i.render||t.render!==r["d"]||e||(!rs&&i.template?ne('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".'):ne("Component is missing template or render function."))}function hs(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return _n(),A(t,"get","$attrs"),e[n]},set(){return ne("setupContext.attrs is readonly."),!1},deleteProperty(){return ne("setupContext.attrs is readonly."),!1}}))}function fs(t){return t.slotsProxy||(t.slotsProxy=new Proxy(t.slots,{get(e,n){return A(t,"get","$slots"),e[n]}}))}function ps(t){const e=e=>{if(t.exposed&&ne("expose() should be called only once per setup()."),null!=e){let t=typeof e;"object"===t&&(Object(r["o"])(e)?t="array":Ht(e)&&(t="ref")),"object"!==t&&ne(`expose() should be passed a plain object, received ${t}.`)}t.exposed=e||{}};return Object.freeze({get attrs(){return hs(t)},get slots(){return fs(t)},get emit(){return(e,...n)=>t.emit(e,...n)},expose:e})}function ds(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Kt(Dt(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 ms=/(?:^|[-_])(\w)/g,gs=t=>t.replace(ms,t=>t.toUpperCase()).replace(/[-_]/g,"");function vs(t,e=!0){return Object(r["q"])(t)?t.displayName||t.name:t.name||e&&t.__name}function ys(t,e,n=!1){let r=vs(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?gs(r):n?"App":"Anonymous"}function bs(t){return Object(r["q"])(t)&&"__vccOpts"in t}const _s=(t,e)=>Jt(t,e,os);function ws(t,e,n){const i=arguments.length;return 2===i?Object(r["w"])(e)&&!Object(r["o"])(e)?Eo(e)?To(t,null,[e]):To(t,e):To(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Eo(n)&&(n=[n]),To(t,e,n))}const Os=Symbol.for("v-scx"),xs=()=>{{const t=gi(Os);return t||ne("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function Ms(t){return!(!t||!t["__v_isShallow"])}function Es(){if("undefined"===typeof window)return;const t={style:"color:#3ba776"},e={style:"color:#0b1bc9"},n={style:"color:#b62e24"},i={style:"color:#9d288c"},o={header(e){return Object(r["w"])(e)?e.__isVue?["div",t,"VueInstance"]:Ht(e)?["div",{},["span",t,h(e)],"<",c(e.value),">"]:It(e)?["div",{},["span",t,Ms(e)?"ShallowReactive":"Reactive"],"<",c(e),">"+(Pt(e)?" (readonly)":"")]:Pt(e)?["div",{},["span",t,Ms(e)?"ShallowReadonly":"Readonly"],"<",c(e),">"]:null:null},hasBody(t){return t&&t.__isVue},body(t){if(t&&t.__isVue)return["div",{},...s(t.$)]}};function s(t){const e=[];t.type.props&&t.props&&e.push(a("props",Ft(t.props))),t.setupState!==r["b"]&&e.push(a("setup",t.setupState)),t.data!==r["b"]&&e.push(a("data",Ft(t.data)));const n=u(t,"computed");n&&e.push(a("computed",n));const o=u(t,"inject");return o&&e.push(a("injected",o)),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,o=!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:o?Ft(t):t}]:["span",n,String(t)]}function u(t,e){const n=t.type;if(Object(r["q"])(n))return;const i={};for(const r in t.ctx)l(n,r,e)&&(i[r]=t.ctx[r]);return i}function l(t,e,n){const i=t[n];return!!(Object(r["o"])(i)&&i.includes(e)||Object(r["w"])(i)&&e in i)||(!(!t.extends||!l(t.extends,e,n))||(!(!t.mixins||!t.mixins.some(t=>l(t,e,n)))||void 0))}function h(t){return Ms(t)?"ShallowRef":t.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}const ks="3.3.4",js="http://www.w3.org/2000/svg",As="undefined"!==typeof document?document:null,Cs=As&&As.createElement("template"),Ss={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?As.createElementNS(js,t):As.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>As.createTextNode(t),createComment:t=>As.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>As.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,o){const s=n?n.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{Cs.innerHTML=r?`<svg>${t}</svg>`:t;const i=Cs.content;if(r){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function Ns(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 Ts(t,e,n){const i=t.style,o=Object(r["F"])(n);if(n&&!o){if(e&&!Object(r["F"])(e))for(const t in e)null==n[t]&&Ls(i,t,"");for(const t in n)Ls(i,t,n[t])}else{const r=i.display;o?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=r)}}const Is=/[^\\];\s*$/,Ps=/\s*!important$/;function Ls(t,e,n){if(Object(r["o"])(n))n.forEach(n=>Ls(t,e,n));else if(null==n&&(n=""),Is.test(n)&&ne(`Unexpected semicolon at the end of '${e}' style value: '${n}'`),e.startsWith("--"))t.setProperty(e,n);else{const i=Ds(t,e);Ps.test(n)?t.setProperty(Object(r["l"])(i),n.replace(Ps,""),"important"):t[i]=n}}const Rs=["Webkit","Moz","ms"],Fs={};function Ds(t,e){const n=Fs[e];if(n)return n;let i=Object(r["e"])(e);if("filter"!==i&&i in t)return Fs[e]=i;i=Object(r["f"])(i);for(let r=0;r<Rs.length;r++){const n=Rs[r]+i;if(n in t)return Fs[e]=n}return e}const Us="http://www.w3.org/1999/xlink";function Bs(t,e,n,i,o){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(Us,e.slice(6,e.length)):t.setAttributeNS(Us,e,n);else{const i=Object(r["E"])(e);null==n||i&&!Object(r["m"])(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function $s(t,e,n,i,o,s,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,o,s),void(t[e]=null==n?"":n);const c=t.tagName;if("value"===e&&"PROGRESS"!==c&&!c.includes("-")){t._value=n;const r="OPTION"===c?t.getAttribute("value"):t.value,i=null==n?"":n;return r!==i&&(t.value=i),void(null==n&&t.removeAttribute(e))}let u=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=Object(r["m"])(n):null==n&&"string"===i?(n="",u=!0):"number"===i&&(n=0,u=!0)}try{t[e]=n}catch(l){u||ne(`Failed setting prop "${e}" on <${c.toLowerCase()}>: value ${n} is invalid.`,l)}u&&t.removeAttribute(e)}function qs(t,e,n,r){t.addEventListener(e,n,r)}function Hs(t,e,n,r){t.removeEventListener(e,n,r)}function Ws(t,e,n,r,i=null){const o=t._vei||(t._vei={}),s=o[e];if(r&&s)s.value=r;else{const[n,a]=Vs(e);if(r){const s=o[e]=Ks(r,i);qs(t,n,s,a)}else s&&(Hs(t,n,s,a),o[e]=void 0)}}const zs=/(?:Once|Passive|Capture)$/;function Vs(t){let e;if(zs.test(t)){let n;e={};while(n=t.match(zs))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 Ys=0;const Gs=Promise.resolve(),Xs=()=>Ys||(Gs.then(()=>Ys=0),Ys=Date.now());function Ks(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();he(Qs(t,n.value),e,5,[t])};return n.value=t,n.attached=Xs(),n}function Qs(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 Js=/^on[a-z]/,Zs=(t,e,n,i,o=!1,s,a,c,u)=>{"class"===e?Ns(t,i,o):"style"===e?Ts(t,n,i):Object(r["x"])(e)?Object(r["v"])(e)||Ws(t,e,n,i,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):ta(t,e,i,o))?$s(t,e,i,s,a,c,u):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),Bs(t,e,i,o))};function ta(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&Js.test(e)&&Object(r["q"])(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!Js.test(e)||!Object(r["F"])(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const ea="transition",na="animation",ra=(t,{slots:e})=>ws(Vn,ca(t),e);ra.displayName="Transition";const ia={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},oa=ra.props=Object(r["h"])({},Wn,ia),sa=(t,e=[])=>{Object(r["o"])(t)?t.forEach(t=>t(...e)):t&&t(...e)},aa=t=>!!t&&(Object(r["o"])(t)?t.some(t=>t.length>1):t.length>1);function ca(t){const e={};for(const r in t)r in ia||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:o,enterFromClass:s=n+"-enter-from",enterActiveClass:a=n+"-enter-active",enterToClass:c=n+"-enter-to",appearFromClass:u=s,appearActiveClass:l=a,appearToClass:h=c,leaveFromClass:f=n+"-leave-from",leaveActiveClass:p=n+"-leave-active",leaveToClass:d=n+"-leave-to"}=t,m=ua(o),g=m&&m[0],v=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:O,onBeforeAppear:x=y,onAppear:M=b,onAppearCancelled:E=_}=e,k=(t,e,n)=>{fa(t,e?h:c),fa(t,e?l:a),n&&n()},j=(t,e)=>{t._isLeaving=!1,fa(t,f),fa(t,d),fa(t,p),e&&e()},A=t=>(e,n)=>{const r=t?M:b,o=()=>k(e,t,n);sa(r,[e,o]),pa(()=>{fa(e,t?u:s),ha(e,t?h:c),aa(r)||ma(e,i,g,o)})};return Object(r["h"])(e,{onBeforeEnter(t){sa(y,[t]),ha(t,s),ha(t,a)},onBeforeAppear(t){sa(x,[t]),ha(t,u),ha(t,l)},onEnter:A(!1),onAppear:A(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>j(t,e);ha(t,f),ba(),ha(t,p),pa(()=>{t._isLeaving&&(fa(t,f),ha(t,d),aa(w)||ma(t,i,v,n))}),sa(w,[t,n])},onEnterCancelled(t){k(t,!1),sa(_,[t])},onAppearCancelled(t){k(t,!0),sa(E,[t])},onLeaveCancelled(t){j(t),sa(O,[t])}})}function ua(t){if(null==t)return null;if(Object(r["w"])(t))return[la(t.enter),la(t.leave)];{const e=la(t);return[e,e]}}function la(t){const e=Object(r["R"])(t);return ce(e,"<transition> explicit duration"),e}function ha(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function fa(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 pa(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let da=0;function ma(t,e,n,r){const i=t._endId=++da,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=ga(t,e);if(!s)return r();const u=s+"end";let l=0;const h=()=>{t.removeEventListener(u,f),o()},f=e=>{e.target===t&&++l>=c&&h()};setTimeout(()=>{l<c&&h()},a+1),t.addEventListener(u,f)}function ga(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(ea+"Delay"),o=r(ea+"Duration"),s=va(i,o),a=r(na+"Delay"),c=r(na+"Duration"),u=va(a,c);let l=null,h=0,f=0;e===ea?s>0&&(l=ea,h=s,f=o.length):e===na?u>0&&(l=na,h=u,f=c.length):(h=Math.max(s,u),l=h>0?s>u?ea:na:null,f=l?l===ea?o.length:c.length:0);const p=l===ea&&/\b(transform|all)(,|$)/.test(r(ea+"Property").toString());return{type:l,timeout:h,propCount:f,hasTransform:p}}function va(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map((e,n)=>ya(e)+ya(t[n])))}function ya(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ba(){return document.body.offsetHeight}const _a=new WeakMap,wa=new WeakMap,Oa={name:"TransitionGroup",props:Object(r["h"])({},oa,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Go(),r=qn();let i,o;return yr(()=>{if(!i.length)return;const e=t.moveClass||(t.name||"v")+"-move";if(!ka(i[0].el,n.vnode.el,e))return;i.forEach(xa),i.forEach(Ma);const r=i.filter(Ea);ba(),r.forEach(t=>{const n=t.el,r=n.style;ha(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,fa(n,e))};n.addEventListener("transitionend",i)})}),()=>{const s=Ft(t),a=ca(s);let c=s.tag||lo;i=o,o=e.default?Jn(e.default()):[];for(let t=0;t<o.length;t++){const e=o[t];null!=e.key?Qn(e,Gn(e,a,r,n)):ne("<TransitionGroup> children must be keyed.")}if(i)for(let t=0;t<i.length;t++){const e=i[t];Qn(e,Gn(e,a,r,n)),_a.set(e,e.el.getBoundingClientRect())}return To(c,null,o)}}};Oa.props;function xa(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function Ma(t){wa.set(t,t.el.getBoundingClientRect())}function Ea(t){const e=_a.get(t),n=wa.get(t),r=e.left-n.left,i=e.top-n.top;if(r||i){const e=t.el.style;return e.transform=e.webkitTransform=`translate(${r}px,${i}px)`,e.transitionDuration="0s",t}}function ka(t,e,n){const r=t.cloneNode();t._vtc&&t._vtc.forEach(t=>{t.split(/\s+/).forEach(t=>t&&r.classList.remove(t))}),n.split(/\s+/).forEach(t=>t&&r.classList.add(t)),r.style.display="none";const i=1===e.nodeType?e:e.parentNode;i.appendChild(r);const{hasTransform:o}=ga(r);return i.removeChild(r),o}const ja=["ctrl","shift","alt","meta"],Aa={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)=>ja.some(n=>t[n+"Key"]&&!e.includes(n))},Ca=(t,e)=>(n,...r)=>{for(let t=0;t<e.length;t++){const r=Aa[e[t]];if(r&&r(n,e))return}return t(n,...r)},Sa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Na=(t,e)=>n=>{if(!("key"in n))return;const i=Object(r["l"])(n.key);return e.some(t=>t===i||Sa[t]===i)?t(n):void 0},Ta={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):Ia(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),Ia(t,!0),r.enter(t)):r.leave(t,()=>{Ia(t,!1)}):Ia(t,e))},beforeUnmount(t,{value:e}){Ia(t,e)}};function Ia(t,e){t.style.display=e?t._vod:"none"}const Pa=Object(r["h"])({patchProp:Zs},Ss);let La;function Ra(){return La||(La=Ki(Pa))}const Fa=(...t)=>{Ra().render(...t)},Da=(...t)=>{const e=Ra().createApp(...t);Ua(e),Ba(e);const{mount:n}=e;return e.mount=t=>{const i=$a(t);if(!i)return;const o=e._component;Object(r["q"])(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function Ua(t){Object.defineProperty(t.config,"isNativeTag",{value:t=>Object(r["s"])(t)||Object(r["C"])(t),writable:!1})}function Ba(t){if(us()){const e=t.config.isCustomElement;Object.defineProperty(t.config,"isCustomElement",{get(){return e},set(){ne("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-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(t.config,"compilerOptions",{get(){return ne(r),n},set(){ne(r)}})}}function $a(t){if(Object(r["F"])(t)){const e=document.querySelector(t);return e||ne(`Failed to mount app: mount target selector "${t}" returned null.`),e}return window.ShadowRoot&&t instanceof window.ShadowRoot&&"closed"===t.mode&&ne('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),t}function qa(){Es()}qa()},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 o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return F})),n.d(e,"g",(function(){return $})),n.d(e,"h",(function(){return h})),n.d(e,"i",(function(){return z})),n.d(e,"j",(function(){return U})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return R})),n.d(e,"m",(function(){return at})),n.d(e,"n",(function(){return B})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return N})),n.d(e,"q",(function(){return _})),n.d(e,"r",(function(){return Y})),n.d(e,"s",(function(){return rt})),n.d(e,"t",(function(){return C})),n.d(e,"u",(function(){return g})),n.d(e,"v",(function(){return l})),n.d(e,"w",(function(){return x})),n.d(e,"x",(function(){return u})),n.d(e,"y",(function(){return A})),n.d(e,"z",(function(){return M})),n.d(e,"A",(function(){return b})),n.d(e,"B",(function(){return S})),n.d(e,"C",(function(){return it})),n.d(e,"D",(function(){return v})),n.d(e,"E",(function(){return st})),n.d(e,"F",(function(){return w})),n.d(e,"G",(function(){return O})),n.d(e,"H",(function(){return ut})),n.d(e,"I",(function(){return lt})),n.d(e,"J",(function(){return q})),n.d(e,"K",(function(){return r})),n.d(e,"L",(function(){return Z})),n.d(e,"M",(function(){return tt})),n.d(e,"N",(function(){return G})),n.d(e,"O",(function(){return f})),n.d(e,"P",(function(){return ht})),n.d(e,"Q",(function(){return D})),n.d(e,"R",(function(){return H})),n.d(e,"S",(function(){return j}));const i=Object.freeze({}),o=Object.freeze([]),s=()=>{},a=()=>!1,c=/^on[^a-z]/,u=t=>c.test(t),l=t=>t.startsWith("onUpdate:"),h=Object.assign,f=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},p=Object.prototype.hasOwnProperty,d=(t,e)=>p.call(t,e),m=Array.isArray,g=t=>"[object Map]"===k(t),v=t=>"[object Set]"===k(t),y=t=>"[object Date]"===k(t),b=t=>"[object RegExp]"===k(t),_=t=>"function"===typeof t,w=t=>"string"===typeof t,O=t=>"symbol"===typeof t,x=t=>null!==t&&"object"===typeof t,M=t=>x(t)&&_(t.then)&&_(t.catch),E=Object.prototype.toString,k=t=>E.call(t),j=t=>k(t).slice(8,-1),A=t=>"[object Object]"===k(t),C=t=>w(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,S=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),T=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},I=/-(\w)/g,P=T(t=>t.replace(I,(t,e)=>e?e.toUpperCase():"")),L=/\B([A-Z])/g,R=T(t=>t.replace(L,"-$1").toLowerCase()),F=T(t=>t.charAt(0).toUpperCase()+t.slice(1)),D=T(t=>t?"on"+F(t):""),U=(t,e)=>!Object.is(t,e),B=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},$=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},q=t=>{const e=parseFloat(t);return isNaN(e)?t:e},H=t=>{const e=w(t)?Number(t):NaN;return isNaN(e)?t:e};let W;const z=()=>W||(W="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{});const V="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Y=r(V);function G(t){if(m(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=w(r)?J(r):G(r);if(i)for(const t in i)e[t]=i[t]}return e}return w(t)||x(t)?t:void 0}const X=/;(?![^(]*\))/g,K=/:([^]+)/,Q=/\/\*[^]*?\*\//g;function J(t){const e={};return t.replace(Q,"").split(X).forEach(t=>{if(t){const n=t.split(K);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Z(t){let e="";if(w(t))e=t;else if(m(t))for(let n=0;n<t.length;n++){const r=Z(t[n]);r&&(e+=r+" ")}else if(x(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function tt(t){if(!t)return null;let{class:e,style:n}=t;return e&&!w(e)&&(t.class=Z(e)),n&&(t.style=G(n)),t}const et="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,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",nt="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,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",rt=r(et),it=r(nt),ot="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",st=r(ot);function at(t){return!!t||""===t}function ct(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=ut(t[r],e[r]);return n}function ut(t,e){if(t===e)return!0;let n=y(t),r=y(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=O(t),r=O(e),n||r)return t===e;if(n=m(t),r=m(e),n||r)return!(!n||!r)&&ct(t,e);if(n=x(t),r=x(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const n in t){const r=t.hasOwnProperty(n),i=e.hasOwnProperty(n);if(r&&!i||!r&&i||!ut(t[n],e[n]))return!1}}return String(t)===String(e)}function lt(t,e){return t.findIndex(t=>ut(t,e))}const ht=t=>w(t)?t:null==t?"":m(t)||x(t)&&(t.toString===E||!_(t.toString))?JSON.stringify(t,ft,2):String(t),ft=(t,e)=>e&&e.__v_isRef?ft(t,e.value):g(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:v(e)?{[`Set(${e.size})`]:[...e.values()]}:!x(e)||m(e)||A(e)?e:String(e)}).call(this,n(47))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return P})),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 l})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return O})),n.d(e,"i",(function(){return r})),n.d(e,"j",(function(){return x})),n.d(e,"k",(function(){return k})),n.d(e,"l",(function(){return p})),n.d(e,"m",(function(){return m})),n.d(e,"n",(function(){return M})),n.d(e,"o",(function(){return f})),n.d(e,"p",(function(){return j})),n.d(e,"q",(function(){return S})),n.d(e,"r",(function(){return d})),n.d(e,"s",(function(){return E})),n.d(e,"t",(function(){return u})),n.d(e,"u",(function(){return i})),n.d(e,"v",(function(){return o})),n.d(e,"w",(function(){return N})),n.d(e,"x",(function(){return g}));
- /*!
- * shared v9.2.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */
- const r="undefined"!==typeof window;let i,o;{const t=r&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(i=e=>t.mark(e),o=(e,n,r)=>{t.measure(e,n,r),t.clearMarks(n),t.clearMarks(r)})}const s=/\{([0-9a-zA-Z]+)\}/g;function a(t,...e){return 1===e.length&&j(e[0])&&(e=e[0]),e&&e.hasOwnProperty||(e={}),t.replace(s,(t,n)=>e.hasOwnProperty(n)?e[n]:"")}const c="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,u=t=>c?Symbol(t):t,l=(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]"===C(t),d=t=>"[object RegExp]"===C(t),m=t=>S(t)&&0===Object.keys(t).length;function g(t,e){"undefined"!==typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const v=Object.assign;let y;const b=()=>y||(y="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{});function _(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const w=Object.prototype.hasOwnProperty;function O(t,e){return w.call(t,e)}const x=Array.isArray,M=t=>"function"===typeof t,E=t=>"string"===typeof t,k=t=>"boolean"===typeof t,j=t=>null!==t&&"object"===typeof t,A=Object.prototype.toString,C=t=>A.call(t),S=t=>"[object Object]"===C(t),N=t=>null==t?"":x(t)||S(t)&&t.toString===A?JSON.stringify(t,null,2):String(t),T=2;function I(t,e=0,n=t.length){const r=t.split(/\r?\n/);let i=0;const o=[];for(let s=0;s<r.length;s++)if(i+=r[s].length+1,i>=e){for(let t=s-T;t<=s+T||n>i;t++){if(t<0||t>=r.length)continue;const a=t+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[t]}`);const c=r[t].length;if(t===s){const t=e-(i-c)+1,r=Math.max(1,n>i?c-t:n-e);o.push(" | "+" ".repeat(t)+"^".repeat(r))}else if(t>s){if(n>i){const t=Math.max(Math.min(n-i,c),1);o.push(" | "+"^".repeat(t))}i+=c+1}}break}return o.join("\n")}function P(){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(47))},,,,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(58),i=n(55),o=n(50),s=n(250),a=n(252),c=n(40),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},h=u||!l();r({target:"Array",proto:!0,arity:1,forced:h},{push:function(t){var e=i(this),n=o(e),r=arguments.length;a(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return s(e,n),n}})},,,,,,,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 o=i(r),s=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(s).concat([o]).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 o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!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 o=e[i],s=o[0],a=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:a,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}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 o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,u=!1,l=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){u=n,h=i||{};var s=r(t,e);return m(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i],c=o[a.id];c.refs--,n.push(c)}e?(s=r(t,e),m(s)):s=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[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(v(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(v(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,n,r=document.querySelector("style["+f+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var i=c++;r=a||(a=g()),e=b.bind(null,r,i,!1),n=b.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 y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}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){"use strict";var r=n(58),i=n(30),o=n(241),s=n(242),a="WebAssembly",c=i[a],u=7!==Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=s(t,e,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},h=function(t,e){if(c&&c[t]){var n={};n[t]=s(a+"."+t,e,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(t){return function(e){return o(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),l("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},,,,,,,,function(t,e,n){"use strict";var r=n(79),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);t.exports=r?s:function(t){return function(){return o.apply(t,arguments)}}},,function(t,e,n){"use strict";(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}()||this||Function("return this")()}).call(this,n(47))},function(t,e,n){"use strict";var r=n(122),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){"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){"use strict";n.d(e,"b",(function(){return m})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return qo})),n.d(e,"d",(function(){return Me}));var r=function(t){return t},i=1,o=2,s=3,a=4,c=1e-6;function u(t){return"translate("+t+",0)"}function l(t){return"translate(0,"+t+")"}function h(t){return e=>+t(e)}function f(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function p(){return!this.__axis}function d(t,e){var n=[],d=null,m=null,g=6,v=6,y=3,b="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,_=t===i||t===a?-1:1,w=t===a||t===o?"x":"y",O=t===i||t===s?u:l;function x(u){var l=null==d?e.ticks?e.ticks.apply(e,n):e.domain():d,x=null==m?e.tickFormat?e.tickFormat.apply(e,n):r:m,M=Math.max(g,0)+y,E=e.range(),k=+E[0]+b,j=+E[E.length-1]+b,A=(e.bandwidth?f:h)(e.copy(),b),C=u.selection?u.selection():u,S=C.selectAll(".domain").data([null]),N=C.selectAll(".tick").data(l,e).order(),T=N.exit(),I=N.enter().append("g").attr("class","tick"),P=N.select("line"),L=N.select("text");S=S.merge(S.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),N=N.merge(I),P=P.merge(I.append("line").attr("stroke","currentColor").attr(w+"2",_*g)),L=L.merge(I.append("text").attr("fill","currentColor").attr(w,_*M).attr("dy",t===i?"0em":t===s?"0.71em":"0.32em")),u!==C&&(S=S.transition(u),N=N.transition(u),P=P.transition(u),L=L.transition(u),T=T.transition(u).attr("opacity",c).attr("transform",(function(t){return isFinite(t=A(t))?O(t+b):this.getAttribute("transform")})),I.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return O((e&&isFinite(e=e(t))?e:A(t))+b)}))),T.remove(),S.attr("d",t===a||t===o?v?"M"+_*v+","+k+"H"+b+"V"+j+"H"+_*v:"M"+b+","+k+"V"+j:v?"M"+k+","+_*v+"V"+b+"H"+j+"V"+_*v:"M"+k+","+b+"H"+j),N.attr("opacity",1).attr("transform",(function(t){return O(A(t)+b)})),P.attr(w+"2",_*g),L.attr(w,_*M).text(x),C.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===o?"start":t===a?"end":"middle"),C.each((function(){this.__axis=A}))}return x.scale=function(t){return arguments.length?(e=t,x):e},x.ticks=function(){return n=Array.from(arguments),x},x.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),x):n.slice()},x.tickValues=function(t){return arguments.length?(d=null==t?null:Array.from(t),x):d&&d.slice()},x.tickFormat=function(t){return arguments.length?(m=t,x):m},x.tickSize=function(t){return arguments.length?(g=v=+t,x):g},x.tickSizeInner=function(t){return arguments.length?(g=+t,x):g},x.tickSizeOuter=function(t){return arguments.length?(v=+t,x):v},x.tickPadding=function(t){return arguments.length?(y=+t,x):y},x.offset=function(t){return arguments.length?(b=+t,x):b},x}function m(t){return d(i,t)}function g(t){return d(a,t)}var v={value:()=>{}};function y(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new b(r)}function b(t){this._=t}function _(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function w(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function O(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=v,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}b.prototype=y.prototype={constructor:b,on:function(t,e){var n,r=this._,i=_(t+"",r),o=-1,s=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);while(++o<s)if(n=(t=i[o]).type)r[n]=O(r[n],t.name,e);else if(null==e)for(n in r)r[n]=O(r[n],t.name,null);return this}while(++o<s)if((n=(t=i[o]).type)&&(n=w(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new b(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],o=0,n=r.length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var x=y;function M(){}var E=function(t){return null==t?M:function(){return this.querySelector(t)}},k=function(t){"function"!==typeof t&&(t=E(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s,a=e[i],c=a.length,u=r[i]=new Array(c),l=0;l<c;++l)(o=a[l])&&(s=t.call(o,o.__data__,l,a))&&("__data__"in o&&(s.__data__=o.__data__),u[l]=s);return new _e(r,this._parents)};function j(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function A(){return[]}var C=function(t){return null==t?A:function(){return this.querySelectorAll(t)}};function S(t){return function(){return j(t.apply(this,arguments))}}var N=function(t){t="function"===typeof t?S(t):C(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var s,a=e[o],c=a.length,u=0;u<c;++u)(s=a[u])&&(r.push(t.call(s,s.__data__,u,a)),i.push(s));return new _e(r,i)},T=function(t){return function(){return this.matches(t)}};function I(t){return function(e){return e.matches(t)}}var P=Array.prototype.find;function L(t){return function(){return P.call(this.children,t)}}function R(){return this.firstElementChild}var F=function(t){return this.select(null==t?R:L("function"===typeof t?t:I(t)))},D=Array.prototype.filter;function U(){return Array.from(this.children)}function B(t){return function(){return D.call(this.children,t)}}var $=function(t){return this.selectAll(null==t?U:B("function"===typeof t?t:I(t)))},q=function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,c=r[i]=[],u=0;u<a;++u)(o=s[u])&&t.call(o,o.__data__,u,s)&&c.push(o);return new _e(r,this._parents)},H=function(t){return new Array(t.length)},W=function(){return new _e(this._enter||this._groups.map(H),this._parents)};function z(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}z.prototype={constructor:z,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var V=function(t){return function(){return t}};function Y(t,e,n,r,i,o){for(var s,a=0,c=e.length,u=o.length;a<u;++a)(s=e[a])?(s.__data__=o[a],r[a]=s):n[a]=new z(t,o[a]);for(;a<c;++a)(s=e[a])&&(i[a]=s)}function G(t,e,n,r,i,o,s){var a,c,u,l=new Map,h=e.length,f=o.length,p=new Array(h);for(a=0;a<h;++a)(c=e[a])&&(p[a]=u=s.call(c,c.__data__,a,e)+"",l.has(u)?i[a]=c:l.set(u,c));for(a=0;a<f;++a)u=s.call(t,o[a],a,o)+"",(c=l.get(u))?(r[a]=c,c.__data__=o[a],l.delete(u)):n[a]=new z(t,o[a]);for(a=0;a<h;++a)(c=e[a])&&l.get(p[a])===c&&(i[a]=c)}function X(t){return t.__data__}var K=function(t,e){if(!arguments.length)return Array.from(this,X);var n=e?G:Y,r=this._parents,i=this._groups;"function"!==typeof t&&(t=V(t));for(var o=i.length,s=new Array(o),a=new Array(o),c=new Array(o),u=0;u<o;++u){var l=r[u],h=i[u],f=h.length,p=Q(t.call(l,l&&l.__data__,u,r)),d=p.length,m=a[u]=new Array(d),g=s[u]=new Array(d),v=c[u]=new Array(f);n(l,h,m,g,v,p,e);for(var y,b,_=0,w=0;_<d;++_)if(y=m[_]){_>=w&&(w=_+1);while(!(b=g[w])&&++w<d);y._next=b||null}}return s=new _e(s,r),s._enter=a,s._exit=c,s};function Q(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}var J=function(){return new _e(this._exit||this._groups.map(H),this._parents)},Z=function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"===typeof t?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),null!=e&&(i=e(i),i&&(i=i.selection())),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},tt=function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,s=Math.min(i,o),a=new Array(i),c=0;c<s;++c)for(var u,l=n[c],h=r[c],f=l.length,p=a[c]=new Array(f),d=0;d<f;++d)(u=l[d]||h[d])&&(p[d]=u);for(;c<i;++c)a[c]=n[c];return new _e(a,this._parents)},et=function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,s=i[o];--o>=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},nt=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=rt);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var s,a=n[o],c=a.length,u=i[o]=new Array(c),l=0;l<c;++l)(s=a[l])&&(u[l]=s);u.sort(e)}return new _e(i,this._parents).order()};function rt(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var it=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},ot=function(){return Array.from(this)},st=function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null},at=function(){let t=0;for(const e of this)++t;return t},ct=function(){return!this.node()},ut=function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],s=0,a=o.length;s<a;++s)(i=o[s])&&t.call(i,i.__data__,s,o);return this},lt="http://www.w3.org/1999/xhtml",ht={svg:"http://www.w3.org/2000/svg",xhtml:lt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},ft=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ht.hasOwnProperty(e)?{space:ht[e],local:t}:t};function pt(t){return function(){this.removeAttribute(t)}}function dt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function mt(t,e){return function(){this.setAttribute(t,e)}}function gt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function vt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function yt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var bt=function(t,e){var n=ft(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?dt:pt:"function"===typeof e?n.local?yt:vt:n.local?gt:mt)(n,e))},_t=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function wt(t){return function(){this.style.removeProperty(t)}}function Ot(t,e,n){return function(){this.style.setProperty(t,e,n)}}function xt(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}var Mt=function(t,e,n){return arguments.length>1?this.each((null==e?wt:"function"===typeof e?xt:Ot)(t,e,null==n?"":n)):Et(this.node(),t)};function Et(t,e){return t.style.getPropertyValue(e)||_t(t).getComputedStyle(t,null).getPropertyValue(e)}function kt(t){return function(){delete this[t]}}function jt(t,e){return function(){this[t]=e}}function At(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}var Ct=function(t,e){return arguments.length>1?this.each((null==e?kt:"function"===typeof e?At:jt)(t,e)):this.node()[t]};function St(t){return t.trim().split(/^|\s+/)}function Nt(t){return t.classList||new Tt(t)}function Tt(t){this._node=t,this._names=St(t.getAttribute("class")||"")}function It(t,e){var n=Nt(t),r=-1,i=e.length;while(++r<i)n.add(e[r])}function Pt(t,e){var n=Nt(t),r=-1,i=e.length;while(++r<i)n.remove(e[r])}function Lt(t){return function(){It(this,t)}}function Rt(t){return function(){Pt(this,t)}}function Ft(t,e){return function(){(e.apply(this,arguments)?It:Pt)(this,t)}}Tt.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Dt=function(t,e){var n=St(t+"");if(arguments.length<2){var r=Nt(this.node()),i=-1,o=n.length;while(++i<o)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"===typeof e?Ft:e?Lt:Rt)(n,e))};function Ut(){this.textContent=""}function Bt(t){return function(){this.textContent=t}}function $t(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}var qt=function(t){return arguments.length?this.each(null==t?Ut:("function"===typeof t?$t:Bt)(t)):this.node().textContent};function Ht(){this.innerHTML=""}function Wt(t){return function(){this.innerHTML=t}}function zt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}var Vt=function(t){return arguments.length?this.each(null==t?Ht:("function"===typeof t?zt:Wt)(t)):this.node().innerHTML};function Yt(){this.nextSibling&&this.parentNode.appendChild(this)}var Gt=function(){return this.each(Yt)};function Xt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}var Kt=function(){return this.each(Xt)};function Qt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===lt&&e.documentElement.namespaceURI===lt?e.createElement(t):e.createElementNS(n,t)}}function Jt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var Zt=function(t){var e=ft(t);return(e.local?Jt:Qt)(e)},te=function(t){var e="function"===typeof t?t:Zt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))};function ee(){return null}var ne=function(t,e){var n="function"===typeof t?t:Zt(t),r=null==e?ee:"function"===typeof e?e:E(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))};function re(){var t=this.parentNode;t&&t.removeChild(this)}var ie=function(){return this.each(re)};function oe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function se(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var ae=function(t){return this.select(t?se:oe)},ce=function(t){return arguments.length?this.property("__data__",t):this.node().__data__};function ue(t){return function(e){t.call(this,e,this.__data__)}}function le(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function he(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function fe(t,e,n){return function(){var r,i=this.__on,o=ue(e);if(i)for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}var pe=function(t,e,n){var r,i,o=le(t+""),s=o.length;if(!(arguments.length<2)){for(a=e?fe:he,r=0;r<s;++r)this.each(a(o[r],e,n));return this}var a=this.node().__on;if(a)for(var c,u=0,l=a.length;u<l;++u)for(r=0,c=a[u];r<s;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value};function de(t,e,n){var r=_t(t),i=r.CustomEvent;"function"===typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function me(t,e){return function(){return de(this,t,e)}}function ge(t,e){return function(){return de(this,t,e.apply(this,arguments))}}var ve=function(t,e){return this.each(("function"===typeof e?ge:me)(t,e))},ye=function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,s=i.length;o<s;++o)(r=i[o])&&(yield r)},be=[null];function _e(t,e){this._groups=t,this._parents=e}function we(){return new _e([[document.documentElement]],be)}function Oe(){return this}_e.prototype=we.prototype={constructor:_e,select:k,selectAll:N,selectChild:F,selectChildren:$,filter:q,data:K,enter:W,exit:J,join:Z,merge:tt,selection:Oe,order:et,sort:nt,call:it,nodes:ot,node:st,size:at,empty:ct,each:ut,attr:bt,style:Mt,property:Ct,classed:Dt,text:qt,html:Vt,raise:Gt,lower:Kt,append:te,insert:ne,remove:ie,clone:ae,datum:ce,on:pe,dispatch:ve,[Symbol.iterator]:ye};var xe=we,Me=function(t){return"string"===typeof t?new _e([[document.querySelector(t)]],[document.documentElement]):new _e([[t]],be)};var Ee=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function ke(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function je(){}var Ae=.7,Ce=1/Ae,Se="\\s*([+-]?\\d+)\\s*",Ne="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Te="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ie=/^#([0-9a-f]{3,8})$/,Pe=new RegExp(`^rgb\\(${Se},${Se},${Se}\\)$`),Le=new RegExp(`^rgb\\(${Te},${Te},${Te}\\)$`),Re=new RegExp(`^rgba\\(${Se},${Se},${Se},${Ne}\\)$`),Fe=new RegExp(`^rgba\\(${Te},${Te},${Te},${Ne}\\)$`),De=new RegExp(`^hsl\\(${Ne},${Te},${Te}\\)$`),Ue=new RegExp(`^hsla\\(${Ne},${Te},${Te},${Ne}\\)$`),Be={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $e(){return this.rgb().formatHex()}function qe(){return this.rgb().formatHex8()}function He(){return on(this).formatHsl()}function We(){return this.rgb().formatRgb()}function ze(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Ie.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Ve(e):3===n?new Ke(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Ye(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Ye(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Pe.exec(t))?new Ke(e[1],e[2],e[3],1):(e=Le.exec(t))?new Ke(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Re.exec(t))?Ye(e[1],e[2],e[3],e[4]):(e=Fe.exec(t))?Ye(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?rn(e[1],e[2]/100,e[3]/100,1):(e=Ue.exec(t))?rn(e[1],e[2]/100,e[3]/100,e[4]):Be.hasOwnProperty(t)?Ve(Be[t]):"transparent"===t?new Ke(NaN,NaN,NaN,0):null}function Ve(t){return new Ke(t>>16&255,t>>8&255,255&t,1)}function Ye(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ke(t,e,n,r)}function Ge(t){return t instanceof je||(t=ze(t)),t?(t=t.rgb(),new Ke(t.r,t.g,t.b,t.opacity)):new Ke}function Xe(t,e,n,r){return 1===arguments.length?Ge(t):new Ke(t,e,n,null==r?1:r)}function Ke(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Qe(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}`}function Je(){return`#${nn(this.r)}${nn(this.g)}${nn(this.b)}${nn(255*(isNaN(this.opacity)?1:this.opacity))}`}function Ze(){const t=tn(this.opacity);return`${1===t?"rgb(":"rgba("}${en(this.r)}, ${en(this.g)}, ${en(this.b)}${1===t?")":`, ${t})`}`}function tn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function en(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function nn(t){return t=en(t),(t<16?"0":"")+t.toString(16)}function rn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new an(t,e,n,r)}function on(t){if(t instanceof an)return new an(t.h,t.s,t.l,t.opacity);if(t instanceof je||(t=ze(t)),!t)return new an;if(t instanceof an)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,a=o-i,c=(o+i)/2;return a?(s=e===o?(n-r)/a+6*(n<r):n===o?(r-e)/a+2:(e-n)/a+4,a/=c<.5?o+i:2-o-i,s*=60):a=c>0&&c<1?0:s,new an(s,a,c,t.opacity)}function sn(t,e,n,r){return 1===arguments.length?on(t):new an(t,e,n,null==r?1:r)}function an(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function cn(t){return t=(t||0)%360,t<0?t+360:t}function un(t){return Math.max(0,Math.min(1,t||0))}function ln(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function hn(t,e,n,r,i){var o=t*t,s=o*t;return((1-3*t+3*o-s)*e+(4-6*o+3*s)*n+(1+3*t+3*o-3*s)*r+s*i)/6}Ee(je,ze,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:qe,formatHsl:He,formatRgb:We,toString:We}),Ee(Ke,Xe,ke(je,{brighter(t){return t=null==t?Ce:Math.pow(Ce,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new Ke(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ke(en(this.r),en(this.g),en(this.b),tn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qe,formatHex:Qe,formatHex8:Je,formatRgb:Ze,toString:Ze})),Ee(an,sn,ke(je,{brighter(t){return t=null==t?Ce:Math.pow(Ce,t),new an(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new an(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ke(ln(t>=240?t-240:t+120,i,r),ln(t,i,r),ln(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new an(cn(this.h),un(this.s),un(this.l),tn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=tn(this.opacity);return`${1===t?"hsl(":"hsla("}${cn(this.h)}, ${100*un(this.s)}%, ${100*un(this.l)}%${1===t?")":`, ${t})`}`}}));var fn=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r<e-1?t[r+2]:2*o-i;return hn((n-r/e)*e,s,i,o,a)}},pn=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],s=t[(r+1)%e],a=t[(r+2)%e];return hn((n-r/e)*e,i,o,s,a)}},dn=t=>()=>t;function mn(t,e){return function(n){return t+n*e}}function gn(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function vn(t){return 1===(t=+t)?yn:function(e,n){return n-e?gn(e,n,t):dn(isNaN(e)?n:e)}}function yn(t,e){var n=e-t;return n?mn(t,n):dn(isNaN(t)?e:t)}var bn=function t(e){var n=vn(e);function r(t,e){var r=n((t=Xe(t)).r,(e=Xe(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),s=yn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=s(e),t+""}}return r.gamma=t,r}(1);function _n(t){return function(e){var n,r,i=e.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Xe(e[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=t(o),s=t(s),a=t(a),r.opacity=1,function(t){return r.r=o(t),r.g=s(t),r.b=a(t),r+""}}}_n(fn),_n(pn);var wn=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}};function On(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function xn(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=Pn(t[n],e[n]);for(;n<r;++n)s[n]=e[n];return function(t){for(n=0;n<i;++n)s[n]=o[n](t);return s}}var Mn=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}},En=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}},kn=function(t,e){var n,r={},i={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?r[n]=Pn(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},jn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,An=new RegExp(jn.source,"g");function Cn(t){return function(){return t}}function Sn(t){return function(e){return t(e)+""}}var Nn,Tn,In=function(t,e){var n,r,i,o=jn.lastIndex=An.lastIndex=0,s=-1,a=[],c=[];t+="",e+="";while((n=jn.exec(t))&&(r=An.exec(e)))(i=r.index)>o&&(i=e.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,c.push({i:s,x:En(n,r)})),o=An.lastIndex;return o<e.length&&(i=e.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?c[0]?Sn(c[0].x):Cn(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)a[(n=c[r]).i]=n.x(t);return a.join("")})},Pn=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?dn(e):("number"===r?En:"string"===r?(n=ze(e))?(e=n,bn):In:e instanceof ze?bn:e instanceof Date?Mn:On(e)?wn:Array.isArray(e)?xn:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?kn:En)(t,e)},Ln=0,Rn=0,Fn=0,Dn=1e3,Un=0,Bn=0,$n=0,qn="object"===typeof performance&&performance.now?performance:Date,Hn="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Wn(){return Bn||(Hn(zn),Bn=qn.now()+$n)}function zn(){Bn=0}function Vn(){this._call=this._time=this._next=null}function Yn(t,e,n){var r=new Vn;return r.restart(t,e,n),r}function Gn(){Wn(),++Ln;var t,e=Nn;while(e)(t=Bn-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Ln}function Xn(){Bn=(Un=qn.now())+$n,Ln=Rn=0;try{Gn()}finally{Ln=0,Qn(),Bn=0}}function Kn(){var t=qn.now(),e=t-Un;e>Dn&&($n-=e,Un=t)}function Qn(){var t,e,n=Nn,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Nn=e);Tn=t,Jn(r)}function Jn(t){if(!Ln){Rn&&(Rn=clearTimeout(Rn));var e=t-Bn;e>24?(t<1/0&&(Rn=setTimeout(Xn,t-qn.now()-$n)),Fn&&(Fn=clearInterval(Fn))):(Fn||(Un=qn.now(),Fn=setInterval(Kn,Dn)),Ln=1,Hn(Xn))}}Vn.prototype=Yn.prototype={constructor:Vn,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?Wn():+n)+(null==e?0:+e),this._next||Tn===this||(Tn?Tn._next=this:Nn=this,Tn=this),this._call=t,this._time=n,Jn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jn())}};var Zn=function(t,e,n){var r=new Vn;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r},tr=x("start","end","cancel","interrupt"),er=[],nr=0,rr=1,ir=2,or=3,sr=4,ar=5,cr=6,ur=function(t,e,n,r,i,o){var s=t.__transition;if(s){if(n in s)return}else t.__transition={};pr(t,n,{name:e,index:r,group:i,on:tr,tween:er,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:nr})};function lr(t,e){var n=fr(t,e);if(n.state>nr)throw new Error("too late; already scheduled");return n}function hr(t,e){var n=fr(t,e);if(n.state>or)throw new Error("too late; already running");return n}function fr(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function pr(t,e,n){var r,i=t.__transition;function o(t){n.state=rr,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)}function s(o){var u,l,h,f;if(n.state!==rr)return c();for(u in i)if(f=i[u],f.name===n.name){if(f.state===or)return Zn(s);f.state===sr?(f.state=cr,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u<e&&(f.state=cr,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[u])}if(Zn((function(){n.state===or&&(n.state=sr,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=ir,n.on.call("start",t,t.__data__,n.index,n.group),n.state===ir){for(n.state=or,r=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=f);r.length=l+1}}function a(e){var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=ar,1),o=-1,s=r.length;while(++o<s)r[o].call(t,i);n.state===ar&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=cr,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Yn(o,0,n.time)}var dr,mr=function(t,e){var n,r,i,o=t.__transition,s=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>ir&&n.state<ar,n.state=cr,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):s=!1;s&&delete t.__transition}},gr=function(t){return this.each((function(){mr(this,t)}))},vr=180/Math.PI,yr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},br=function(t,e,n,r,i,o){var s,a,c;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,c/=a),t*r<e*n&&(t=-t,e=-e,c=-c,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*vr,skewX:Math.atan(c)*vr,scaleX:s,scaleY:a}};function _r(t){const e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?yr:br(e.a,e.b,e.c,e.d,e.e,e.f)}function wr(t){return null==t?yr:(dr||(dr=document.createElementNS("http://www.w3.org/2000/svg","g")),dr.setAttribute("transform",t),(t=dr.transform.baseVal.consolidate())?(t=t.matrix,br(t.a,t.b,t.c,t.d,t.e,t.f)):yr)}function Or(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,s,a){if(t!==i||r!==o){var c=s.push("translate(",null,e,null,n);a.push({i:c-4,x:En(t,i)},{i:c-2,x:En(r,o)})}else(i||o)&&s.push("translate("+i+e+o+n)}function s(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:En(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function a(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:En(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function c(t,e,n,r,o,s){if(t!==n||e!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:En(t,n)},{i:a-2,x:En(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,i),s(e.rotate,n.rotate,r,i),a(e.skewX,n.skewX,r,i),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){var e,n=-1,o=i.length;while(++n<o)r[(e=i[n]).i]=e.x(t);return r.join("")}}}var xr=Or(_r,"px, ","px)","deg)"),Mr=Or(wr,", ",")",")");function Er(t,e){var n,r;return function(){var i=hr(this,t),o=i.tween;if(o!==n){r=n=o;for(var s=0,a=r.length;s<a;++s)if(r[s].name===e){r=r.slice(),r.splice(s,1);break}}i.tween=r}}function kr(t,e,n){var r,i;if("function"!==typeof n)throw new Error;return function(){var o=hr(this,t),s=o.tween;if(s!==r){i=(r=s).slice();for(var a={name:e,value:n},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=a;break}c===u&&i.push(a)}o.tween=i}}var jr=function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=fr(this.node(),n).tween,o=0,s=i.length;o<s;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Er:kr)(n,t,e))};function Ar(t,e,n){var r=t._id;return t.each((function(){var t=hr(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return fr(t,r).value[e]}}var Cr=function(t,e){var n;return("number"===typeof e?En:e instanceof ze?bn:(n=ze(e))?(e=n,bn):In)(t,e)};function Sr(t){return function(){this.removeAttribute(t)}}function Nr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Tr(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttribute(t);return s===o?null:s===r?i:i=e(r=s,n)}}function Ir(t,e,n){var r,i,o=n+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===o?null:s===r?i:i=e(r=s,n)}}function Pr(t,e,n){var r,i,o;return function(){var s,a,c=n(this);if(null!=c)return s=this.getAttribute(t),a=c+"",s===a?null:s===r&&a===i?o:(i=a,o=e(r=s,c));this.removeAttribute(t)}}function Lr(t,e,n){var r,i,o;return function(){var s,a,c=n(this);if(null!=c)return s=this.getAttributeNS(t.space,t.local),a=c+"",s===a?null:s===r&&a===i?o:(i=a,o=e(r=s,c));this.removeAttributeNS(t.space,t.local)}}var Rr=function(t,e){var n=ft(t),r="transform"===n?Mr:Cr;return this.attrTween(t,"function"===typeof e?(n.local?Lr:Pr)(n,r,Ar(this,"attr."+t,e)):null==e?(n.local?Nr:Sr)(n):(n.local?Ir:Tr)(n,r,e))};function Fr(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Dr(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Ur(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Dr(t,i)),n}return i._value=e,i}function Br(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Fr(t,i)),n}return i._value=e,i}var $r=function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;var r=ft(t);return this.tween(n,(r.local?Ur:Br)(r,e))};function qr(t,e){return function(){lr(this,t).delay=+e.apply(this,arguments)}}function Hr(t,e){return e=+e,function(){lr(this,t).delay=e}}var Wr=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?qr:Hr)(e,t)):fr(this.node(),e).delay};function zr(t,e){return function(){hr(this,t).duration=+e.apply(this,arguments)}}function Vr(t,e){return e=+e,function(){hr(this,t).duration=e}}var Yr=function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?zr:Vr)(e,t)):fr(this.node(),e).duration};function Gr(t,e){if("function"!==typeof e)throw new Error;return function(){hr(this,t).ease=e}}var Xr=function(t){var e=this._id;return arguments.length?this.each(Gr(e,t)):fr(this.node(),e).ease};function Kr(t,e){return function(){var n=e.apply(this,arguments);if("function"!==typeof n)throw new Error;hr(this,t).ease=n}}var Qr=function(t){if("function"!==typeof t)throw new Error;return this.each(Kr(this._id,t))},Jr=function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,s=e[i],a=s.length,c=r[i]=[],u=0;u<a;++u)(o=s[u])&&t.call(o,o.__data__,u,s)&&c.push(o);return new ji(r,this._parents,this._name,this._id)},Zr=function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),s=new Array(r),a=0;a<o;++a)for(var c,u=e[a],l=n[a],h=u.length,f=s[a]=new Array(h),p=0;p<h;++p)(c=u[p]||l[p])&&(f[p]=c);for(;a<r;++a)s[a]=e[a];return new ji(s,this._parents,this._name,this._id)};function ti(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}function ei(t,e,n){var r,i,o=ti(e)?lr:hr;return function(){var s=o(this,t),a=s.on;a!==r&&(i=(r=a).copy()).on(e,n),s.on=i}}var ni=function(t,e){var n=this._id;return arguments.length<2?fr(this.node(),n).on.on(t):this.each(ei(n,t,e))};function ri(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}var ii=function(){return this.on("end.remove",ri(this._id))},oi=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=E(t));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s<i;++s)for(var a,c,u=r[s],l=u.length,h=o[s]=new Array(l),f=0;f<l;++f)(a=u[f])&&(c=t.call(a,a.__data__,f,u))&&("__data__"in a&&(c.__data__=a.__data__),h[f]=c,ur(h[f],e,n,f,h,fr(a,n)));return new ji(o,this._parents,e,n)},si=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=C(t));for(var r=this._groups,i=r.length,o=[],s=[],a=0;a<i;++a)for(var c,u=r[a],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,p=t.call(c,c.__data__,h,u),d=fr(c,n),m=0,g=p.length;m<g;++m)(f=p[m])&&ur(f,e,n,m,p,d);o.push(p),s.push(c)}return new ji(o,s,e,n)},ai=xe.prototype.constructor,ci=function(){return new ai(this._groups,this._parents)};function ui(t,e){var n,r,i;return function(){var o=Et(this,t),s=(this.style.removeProperty(t),Et(this,t));return o===s?null:o===n&&s===r?i:i=e(n=o,r=s)}}function li(t){return function(){this.style.removeProperty(t)}}function hi(t,e,n){var r,i,o=n+"";return function(){var s=Et(this,t);return s===o?null:s===r?i:i=e(r=s,n)}}function fi(t,e,n){var r,i,o;return function(){var s=Et(this,t),a=n(this),c=a+"";return null==a&&(this.style.removeProperty(t),c=a=Et(this,t)),s===c?null:s===r&&c===i?o:(i=c,o=e(r=s,a))}}function pi(t,e){var n,r,i,o,s="style."+e,a="end."+s;return function(){var c=hr(this,t),u=c.on,l=null==c.value[s]?o||(o=li(e)):void 0;u===n&&i===l||(r=(n=u).copy()).on(a,i=l),c.on=r}}var di=function(t,e,n){var r="transform"===(t+="")?xr:Cr;return null==e?this.styleTween(t,ui(t,r)).on("end.style."+t,li(t)):"function"===typeof e?this.styleTween(t,fi(t,r,Ar(this,"style."+t,e))).each(pi(this._id,t)):this.styleTween(t,hi(t,r,e),n).on("end.style."+t,null)};function mi(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function gi(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&mi(t,o,n)),r}return o._value=e,o}var vi=function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;return this.tween(r,gi(t,e,null==n?"":n))};function yi(t){return function(){this.textContent=t}}function bi(t){return function(){var e=t(this);this.textContent=null==e?"":e}}var _i=function(t){return this.tween("text","function"===typeof t?bi(Ar(this,"text",t)):yi(null==t?"":t+""))};function wi(t){return function(e){this.textContent=t.call(this,e)}}function Oi(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&wi(r)),e}return r._value=t,r}var xi=function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,Oi(t))},Mi=function(){for(var t=this._name,e=this._id,n=Ci(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],c=a.length,u=0;u<c;++u)if(s=a[u]){var l=fr(s,e);ur(s,t,n,u,a,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new ji(r,this._parents,t,n)},Ei=function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(o,s){var a={value:s},c={value:function(){0===--i&&o()}};n.each((function(){var n=hr(this,r),i=n.on;i!==t&&(e=(t=i).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(c)),n.on=e})),0===i&&o()}))},ki=0;function ji(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Ai(t){return xe().transition(t)}function Ci(){return++ki}var Si=xe.prototype;function Ni(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}ji.prototype=Ai.prototype={constructor:ji,select:oi,selectAll:si,selectChild:Si.selectChild,selectChildren:Si.selectChildren,filter:Jr,merge:Zr,selection:ci,transition:Mi,call:Si.call,nodes:Si.nodes,node:Si.node,size:Si.size,empty:Si.empty,each:Si.each,on:ni,attr:Rr,attrTween:$r,style:di,styleTween:vi,text:_i,textTween:xi,remove:ii,tween:jr,delay:Wr,duration:Yr,ease:Xr,easeVarying:Qr,end:Ei,[Symbol.iterator]:Si[Symbol.iterator]};var Ti={time:null,delay:0,duration:250,ease:Ni};function Ii(t,e){var n;while(!(n=t.__transition)||!(n=n[e]))if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}var Pi=function(t){var e,n;t instanceof ji?(e=t._id,t=t._name):(e=Ci(),(n=Ti).time=Wn(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],c=a.length,u=0;u<c;++u)(s=a[u])&&ur(s,t,e,u,a,n||Ii(s,e));return new ji(r,this._parents,t,e)};xe.prototype.interrupt=gr,xe.prototype.transition=Pi;const{abs:Li,max:Ri,min:Fi}=Math;function Di(t){return[+t[0],+t[1]]}function Ui(t){return[Di(t[0]),Di(t[1])]}["w","e"].map(Bi),["n","s"].map(Bi),["n","w","e","s","nw","ne","sw","se"].map(Bi);function Bi(t){return{type:t}}const $i=Math.sqrt(50),qi=Math.sqrt(10),Hi=Math.sqrt(2);function Wi(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=$i?10:o>=qi?5:o>=Hi?2:1;let a,c,u;return i<0?(u=Math.pow(10,-i)/s,a=Math.round(t*u),c=Math.round(e*u),a/u<t&&++a,c/u>e&&--c,u=-u):(u=Math.pow(10,i)*s,a=Math.round(t/u),c=Math.round(e/u),a*u<t&&++a,c*u>e&&--c),c<a&&.5<=n&&n<2?Wi(t,e,2*n):[a,c,u]}function zi(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const r=e<t,[i,o,s]=r?Wi(e,t,n):Wi(t,e,n);if(!(o>=i))return[];const a=o-i+1,c=new Array(a);if(r)if(s<0)for(let u=0;u<a;++u)c[u]=(o-u)/-s;else for(let u=0;u<a;++u)c[u]=(o-u)*s;else if(s<0)for(let u=0;u<a;++u)c[u]=(i+u)/-s;else for(let u=0;u<a;++u)c[u]=(i+u)*s;return c}function Vi(t,e,n){return e=+e,t=+t,n=+n,Wi(t,e,n)[2]}function Yi(t,e,n){e=+e,t=+t,n=+n;const r=e<t,i=r?Vi(e,t,n):Vi(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}function Gi(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Xi(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ki(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}function o(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}function s(t,e,n=0,o=t.length){const s=i(t,e,n,o-1);return s>n&&r(t[s-1],e)>-r(t[s],e)?s-1:s}return 2!==t.length?(e=Gi,n=(e,n)=>Gi(t(e),n),r=(e,n)=>t(e)-n):(e=t===Gi||t===Xi?t:Qi,n=t,r=t),{left:i,center:s,right:o}}function Qi(){return 0}function Ji(t){return null===t?NaN:+t}const Zi=Ki(Gi),to=Zi.right;Zi.left,Ki(Ji).center;var eo=to,no=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}};function ro(t){return function(){return t}}function io(t){return+t}var oo=[0,1];function so(t){return t}function ao(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:ro(isNaN(e)?NaN:.5)}function co(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function uo(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i<r?(r=ao(i,r),o=n(s,o)):(r=ao(r,i),o=n(o,s)),function(t){return o(r(t))}}function lo(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),s=-1;t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());while(++s<r)i[s]=ao(t[s],t[s+1]),o[s]=n(e[s],e[s+1]);return function(e){var n=eo(t,e,1,r)-1;return o[n](i[n](e))}}function ho(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function fo(){var t,e,n,r,i,o,s=oo,a=oo,c=Pn,u=so;function l(){var t=Math.min(s.length,a.length);return u!==so&&(u=co(s[0],s[t-1])),r=t>2?lo:uo,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(s.map(t),a,c)))(t(u(e)))}return h.invert=function(n){return u(e((o||(o=r(a,s.map(t),En)))(n)))},h.domain=function(t){return arguments.length?(s=Array.from(t,io),l()):s.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),l()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),c=no,l()},h.clamp=function(t){return arguments.length?(u=!!t||so,l()):u!==so},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}}function po(){return fo()(so,so)}function mo(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var go=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vo(t){if(!(e=go.exec(t)))throw new Error("invalid format: "+t);var e;return new yo({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function yo(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}vo.prototype=yo.prototype,yo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var bo=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)};function _o(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var wo,Oo,xo,Mo,Eo=function(t){return t=_o(Math.abs(t)),t?t[1]:NaN},ko=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Eo(e)/3)))-Eo(Math.abs(t)))},jo=function(t,e){return function(n,r){var i=n.length,o=[],s=0,a=t[0],c=0;while(i>0&&a>0){if(c+a+1>r&&(a=Math.max(1,r-c)),o.push(n.substring(i-=a,i+a)),(c+=a+1)>r)break;a=t[s=(s+1)%t.length]}return o.reverse().join(e)}},Ao=function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}},Co=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(e+1):t},So=function(t,e){var n=_o(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(wo=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+_o(t,Math.max(0,e+o-1))[0]},No=function(t,e){var n=_o(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},To={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:bo,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>No(100*t,e),r:No,s:So,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)},Io=function(t){return t},Po=Array.prototype.map,Lo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ro=function(t){var e=void 0===t.grouping||void 0===t.thousands?Io:jo(Po.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?Io:Ao(Po.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",a=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){t=vo(t);var u=t.fill,l=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,m=t.comma,g=t.precision,v=t.trim,y=t.type;"n"===y?(m=!0,y="g"):To[y]||(void 0===g&&(g=12),v=!0,y="g"),(p||"0"===u&&"="===l)&&(p=!0,u="0",l="=");var b="$"===f?n:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===f?r:/[%p]/.test(y)?s:"",w=To[y],O=/[defgprs%]/.test(y);function x(t){var n,r,s,f=b,x=_;if("c"===y)x=w(t)+x,t="";else{t=+t;var M=t<0||1/t<0;if(t=isNaN(t)?c:w(Math.abs(t),g),v&&(t=Co(t)),M&&0===+t&&"+"!==h&&(M=!1),f=(M?"("===h?h:a:"-"===h||"("===h?"":h)+f,x=("s"===y?Lo[8+wo/3]:"")+x+(M&&"("===h?")":""),O){n=-1,r=t.length;while(++n<r)if(s=t.charCodeAt(n),48>s||s>57){x=(46===s?i+t.slice(n+1):t.slice(n))+x,t=t.slice(0,n);break}}}m&&!p&&(t=e(t,1/0));var E=f.length+t.length+x.length,k=E<d?new Array(d-E+1).join(u):"";switch(m&&p&&(t=e(k+t,k.length?d-x.length:1/0),k=""),l){case"<":t=f+t+x+k;break;case"=":t=f+k+t+x;break;case"^":t=k.slice(0,E=k.length>>1)+f+t+x+k.slice(E);break;default:t=k+f+t+x;break}return o(t)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return t+""},x}function l(t,e){var n=u((t=vo(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Eo(e)/3))),i=Math.pow(10,-r),o=Lo[8+r/3];return function(t){return n(i*t)+o}}return{format:u,formatPrefix:l}};function Fo(t){return Oo=Ro(t),xo=Oo.format,Mo=Oo.formatPrefix,Oo}Fo({thousands:",",grouping:[3],currency:["$",""]});var Do=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Eo(e)-Eo(t))+1},Uo=function(t){return Math.max(0,-Eo(Math.abs(t)))};function Bo(t,e,n,r){var i,o=Yi(t,e,n);switch(r=vo(null==r?",f":r),r.type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=ko(o,s))||(r.precision=i),Mo(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Do(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Uo(o))||(r.precision=i-2*("%"===r.type));break}return xo(r)}function $o(t){var e=t.domain;return t.ticks=function(t){var n=e();return zi(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Bo(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),s=0,a=o.length-1,c=o[s],u=o[a],l=10;u<c&&(i=c,c=u,u=i,i=s,s=a,a=i);while(l-- >0){if(i=Vi(c,u,n),i===r)return o[s]=c,o[a]=u,e(o);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}r=i}return t},t}function qo(){var t=po();return t.copy=function(){return ho(t,qo())},mo.apply(t,arguments),$o(t)}var Ho=1e-12;function Wo(t){return((t=Math.exp(t))+1/t)/2}function zo(t){return((t=Math.exp(t))-1/t)/2}function Vo(t){return((t=Math.exp(2*t))-1)/(t+1)}(function t(e,n,r){function i(t,i){var o,s,a=t[0],c=t[1],u=t[2],l=i[0],h=i[1],f=i[2],p=l-a,d=h-c,m=p*p+d*d;if(m<Ho)s=Math.log(f/u)/e,o=function(t){return[a+t*p,c+t*d,u*Math.exp(e*t*s)]};else{var g=Math.sqrt(m),v=(f*f-u*u+r*m)/(2*u*n*g),y=(f*f-u*u-r*m)/(2*f*n*g),b=Math.log(Math.sqrt(v*v+1)-v),_=Math.log(Math.sqrt(y*y+1)-y);s=(_-b)/e,o=function(t){var r=t*s,i=Wo(b),o=u/(n*g)*(i*Vo(e*r+b)-zo(b));return[a+o*p,c+o*d,u*i/Wo(e*r+b)]}}return o.duration=1e3*s*e/Math.SQRT2,o}return i.rho=function(e){var n=Math.max(.001,+e),r=n*n,i=r*r;return t(n,r,i)},i})(Math.SQRT2,2,4);function Yo(t,e,n){this.k=t,this.x=e,this.y=n}Yo.prototype={constructor:Yo,scale:function(t){return 1===t?this:new Yo(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Yo(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Go=new Yo(1,0,0);function Xo(t){while(!t.__zoom)if(!(t=t.parentNode))return Go;return t.__zoom}Xo.prototype=Yo.prototype},,,,function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){"use strict";var r=n(28),i=n(55),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},function(t,e,n){"use strict";var r=n(143),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return"undefined"===typeof t}function a(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function l(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 v(t){return"[object Blob]"===i.call(t)}function y(t){return"[object Function]"===i.call(t)}function b(t){return p(t)&&y(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function w(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function O(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(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 M(){var t={};function e(e,n){d(t[n])&&d(e)?t[n]=M(t[n],e):d(e)?t[n]=M({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)x(arguments[n],e);return t}function E(t,e,n){return x(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}function k(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:c,isBuffer:a,isFormData:u,isArrayBufferView:l,isString:h,isNumber:f,isObject:p,isPlainObject:d,isUndefined:s,isDate:m,isFile:g,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:_,isStandardBrowserEnv:O,forEach:x,merge:M,extend:E,trim:w,stripBOM:k}},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,o=2,s=3,a=4,c=5,u=6378137,l=6356752.314,h=.0066943799901413165,f=484813681109536e-20,p=Math.PI/2,d=.16666666666666666,m=.04722222222222222,g=.022156084656084655,v=1e-10,y=.017453292519943295,b=57.29577951308232,_=Math.PI/4,w=2*Math.PI,O=3.14159265359,x={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},M={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}},E=/[\s_\-\/\(\)]/g;function k(t,e){if(t[e])return t[e];var n,r,i=Object.keys(t),o=e.toLowerCase().replace(E,""),s=-1;while(++s<i.length)if(n=i[s],r=n.toLowerCase().replace(E,""),r===o)return t[n]}var j=function(t){var e,n,r,i={},o=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}),{}),s={proj:"projName",datum:"datumCode",rf:function(t){i.rf=parseFloat(t)},lat_0:function(t){i.lat0=t*y},lat_1:function(t){i.lat1=t*y},lat_2:function(t){i.lat2=t*y},lat_ts:function(t){i.lat_ts=t*y},lon_0:function(t){i.long0=t*y},lon_1:function(t){i.long1=t*y},lon_2:function(t){i.long2=t*y},alpha:function(t){i.alpha=parseFloat(t)*y},gamma:function(t){i.rectified_grid_angle=parseFloat(t)},lonc:function(t){i.longc=t*y},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=k(M,t);e&&(i.to_meter=e.to_meter)},from_greenwich:function(t){i.from_greenwich=t*y},pm:function(t){var e=k(x,t);i.from_greenwich=(e||parseFloat(t))*y},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 o)n=o[e],e in s?(r=s[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},A=$,C=1,S=2,N=3,T=4,I=5,P=-1,L=/\s/,R=/[A-Za-z]/,F=/[A-Za-z84_]/,D=/[,\]]/,U=/[\d\.E\-\+]/;function B(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=C}function $(t){var e=new B(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 H(e,t),t}),r);e&&(t[e]=i)}function H(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 H(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&&H(t[2],e[n]));case"SPHEROID":case"ELLIPSOID":return e[n]={name:t[0],a:t[1],rf:t[2]},void(4===t.length&&H(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 H(t,e[n]);return q(e,n,t)}}else e[n]=t;else e[n]=!0}else e[t]=!0}B.prototype.readCharicter=function(){var t=this.text[this.place++];if(this.state!==T)while(L.test(t)){if(this.place>=this.text.length)return;t=this.text[this.place++]}switch(this.state){case C:return this.neutral(t);case S:return this.keyword(t);case T:return this.quoted(t);case I:return this.afterquote(t);case N:return this.number(t);case P:return}},B.prototype.afterquote=function(t){if('"'===t)return this.word+='"',void(this.state=T);if(D.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)},B.prototype.afterItem=function(t){return","===t?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=C)):"]"===t?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=C,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=P))):void 0},B.prototype.number=function(t){if(!U.test(t)){if(D.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},B.prototype.quoted=function(t){'"'!==t?this.word+=t:this.state=I},B.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=C)}if(!D.test(t))throw new Error("havn't handled \""+t+'" in keyword yet, index '+this.place);this.afterItem(t)}},B.prototype.neutral=function(t){if(R.test(t))return this.word=t,void(this.state=S);if('"'===t)return this.word="",void(this.state=T);if(U.test(t))return this.word=t,void(this.state=N);if(!D.test(t))throw new Error("havn't handled \""+t+'" in neutral yet, index '+this.place);this.afterItem(t)},B.prototype.output=function(){while(this.place<this.text.length)this.readCharicter();if(this.state===P)return this.root;throw new Error('unable to parse string "'+this.text+'". State is '+this.state)};var W=.017453292519943295;function z(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 V(t){return t*W}function Y(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 o=t.GEOGCS;function s(e){var n=t.to_meter||1;return e*n}"GEOGCS"===t.type&&(o=t),o&&(o.DATUM?t.datumCode=o.DATUM.name.toLowerCase():t.datumCode=o.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"),o.DATUM&&o.DATUM.SPHEROID&&(t.ellps=o.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===t.ellps.toLowerCase().slice(0,13)&&(t.ellps="intl"),t.a=o.DATUM.SPHEROID.a,t.rf=parseFloat(o.DATUM.SPHEROID.rf,10)),o.DATUM&&o.DATUM.TOWGS84&&(t.datum_params=o.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 z(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",V],["longitude_of_center","Longitude_Of_Center"],["longitude_of_center","Longitude_of_center"],["longc","longitude_of_center",V],["x0","false_easting",s],["y0","false_northing",s],["long0","central_meridian",V],["lat0","latitude_of_origin",V],["lat0","standard_parallel_1",V],["lat1","standard_parallel_1",V],["lat2","standard_parallel_2",V],["azimuth","Azimuth"],["alpha","azimuth",V],["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.lat_ts&&t.lat0&&"Polar_Stereographic"===t.projName&&(t.lat_ts=t.lat0,t.lat0=V(t.lat0>0?90:-90)):(t.lat0=V(t.lat1>0?90:-90),t.lat_ts=t.lat1)}var G=function(t){var e=A(t),n=e.shift(),r=e.shift();e.unshift(["name",r]),e.unshift(["type",n]);var i={};return H(e,i),Y(i),i};function X(t){var e=this;if(2===arguments.length){var n=arguments[1];"string"===typeof n?"+"===n.charAt(0)?X[t]=j(arguments[1]):X[t]=G(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=k(t,"authority");if(e){var n=k(e,"epsg");return n&&et.indexOf(n)>-1}}function rt(t){var e=k(t,"extension");if(e)return k(e,"proj4")}function it(t){return"+"===t[0]}function ot(t){if(!Q(t))return t;if(J(t))return K[t];if(tt(t)){var e=G(t);if(nt(e))return K["EPSG:3857"];var n=rt(e);return n?j(n):e}return it(t)?j(t):void 0}var st=ot,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)},ut=function(t){return t<0?-1:1},lt=function(t){return Math.abs(t)<=O?t:t-ut(t)*w},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,o=p-2*Math.atan(e),s=0;s<=15;s++)if(n=t*Math.sin(o),r=p-2*Math.atan(e*Math.pow((1-n)/(1+n),i))-o,o+=r,Math.abs(r)<=1e-10)return o;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*b>90&&i*b<-90&&r*b>180&&r*b<-180)return null;if(Math.abs(Math.abs(i)-p)<=v)return null;if(this.sphere)e=this.x0+this.a*this.k0*lt(r-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(_+.5*i));else{var o=Math.sin(i),s=ht(this.e,i,o);e=this.x0+this.a*this.k0*lt(r-this.long0),n=this.y0-this.a*this.k0*Math.log(s)}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 o=Math.exp(-i/(this.a*this.k0));if(n=ft(this.e,o),-9999===n)return null}return e=lt(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"],vt={init:pt,forward:dt,inverse:mt,names:gt};function yt(){}function bt(t){return t}var _t=["longlat","identity"],wt={init:yt,forward:bt,inverse:bt,names:_t},Ot=[vt,wt],xt={},Mt=[];function Et(t,e){var n=Mt.length;return t.names?(Mt[n]=t,t.names.forEach((function(t){xt[t.toLowerCase()]=n})),this):(console.log(e),!0)}function kt(t){if(!t)return!1;var e=t.toLowerCase();return"undefined"!==typeof xt[e]&&Mt[xt[e]]?Mt[xt[e]]:void 0}function jt(){Ot.forEach(Et)}var At={start:jt,add:Et,get:kt},Ct={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."},clrk80ign:{a:6378249.2,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"},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"}},St=Ct.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};function Nt(t,e,n,r){var i=t*t,o=e*e,s=(i-o)/i,a=0;r?(t*=1-s*(d+s*(m+s*g)),i=t*t,s=0):a=Math.sqrt(s);var c=(i-o)/o;return{es:s,e:a,ep2:c}}function Tt(t,e,n,r,i){if(!t){var o=k(Ct,r);o||(o=St),t=o.a,e=o.b,n=o.rf}return n&&!e&&(e=(1-1/n)*t),(0===n||Math.abs(t-e)<v)&&(i=!0,e=t),{a:t,b:e,rf:n,sphere:i}}Ct.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var It={};function Pt(t,e,n,r,u,l,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=o,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=s,p.grids=h),p.a=n,p.b=r,p.es=u,p.ep2=l,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 Lt=Pt,Rt={};function Ft(t,e){var n=new DataView(e),r=$t(n),i=qt(n,r);i.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var o=Wt(n,i,r),s={header:i,subgrids:o};return Rt[t]=s,s}function Dt(t){if(void 0===t)return null;var e=t.split(",");return e.map(Ut)}function Ut(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 Bt(t){return t/3600*Math.PI/180}function $t(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:Ht(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 Ht(t,e,n){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,n)))}function Wt(t,e,n){for(var r=176,i=[],o=0;o<e.nSubgrids;o++){var s=Vt(t,r,n),a=Yt(t,r,s,n),c=Math.round(1+(s.upperLongitude-s.lowerLongitude)/s.longitudeInterval),u=Math.round(1+(s.upperLatitude-s.lowerLatitude)/s.latitudeInterval);i.push({ll:[Bt(s.lowerLongitude),Bt(s.lowerLatitude)],del:[Bt(s.longitudeInterval),Bt(s.latitudeInterval)],lim:[c,u],count:s.gridNodeCount,cvs:zt(a)})}return i}function zt(t){return t.map((function(t){return[Bt(t.longitudeShift),Bt(t.latitudeShift)]}))}function Vt(t,e,n){return{name:Ht(t,e+8,e+16).trim(),parent:Ht(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 Yt(t,e,n,r){for(var i=e+176,o=16,s=[],a=0;a<n.gridNodeCount;a++){var c={latitudeShift:t.getFloat32(i+a*o,r),longitudeShift:t.getFloat32(i+a*o+4,r),latitudeAccuracy:t.getFloat32(i+a*o+8,r),longitudeAccuracy:t.getFloat32(i+a*o+12,r)};s.push(c)}return s}function Gt(t,e){if(!(this instanceof Gt))return new Gt(t);e=e||function(t){if(t)throw t};var n=st(t);if("object"===typeof n){var r=Gt.projections.get(n.projName);if(r){if(n.datumCode&&"none"!==n.datumCode){var i=k(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 o=Tt(n.a,n.b,n.rf,n.ellps,n.sphere),s=Nt(o.a,o.b,o.rf,n.R_A),a=Dt(n.nadgrids),c=n.datum||Lt(n.datumCode,n.datum_params,o.a,o.b,s.es,s.ep2,a);at(this,n),at(this,r),this.a=o.a,this.b=o.b,this.rf=o.rf,this.sphere=o.sphere,this.es=s.es,this.e=s.e,this.ep2=s.ep2,this.datum=c,this.init(),e(null,this)}else e(t)}else e(t)}Gt.projections=At,Gt.projections.start();var Xt=Gt;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!==o||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,o,s,a=t.x,c=t.y,u=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),s=Math.cos(c),o=i*i,r=n/Math.sqrt(1-e*o),{x:(r+u)*s*Math.cos(a),y:(r+u)*s*Math.sin(a),z:(r*(1-e)+u)*i}}function Jt(t,e,n,r){var i,o,s,a,c,u,l,h,f,d,m,g,v,y,b,_,w=1e-12,O=w*w,x=30,M=t.x,E=t.y,k=t.z?t.z:0;if(i=Math.sqrt(M*M+E*E),o=Math.sqrt(M*M+E*E+k*k),i/n<w){if(y=0,o/n<w)return b=p,_=-r,{x:t.x,y:t.y,z:t.z}}else y=Math.atan2(E,M);s=k/o,a=i/o,c=1/Math.sqrt(1-e*(2-e)*a*a),h=a*(1-e)*c,f=s*c,v=0;do{v++,l=n/Math.sqrt(1-e*f*f),_=i*h+k*f-l*(1-e*f*f),u=e*l/(l+_),c=1/Math.sqrt(1-u*(2-u)*a*a),d=a*(1-u)*c,m=s*c,g=m*h-d*f,h=d,f=m}while(g*g>O&&v<x);return b=Math.atan(m/Math.abs(d)),{x:y,y:b,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===o){var r=n[0],s=n[1],a=n[2],c=n[3],u=n[4],l=n[5],h=n[6];return{x:h*(t.x-l*t.y+u*t.z)+r,y:h*(l*t.x+t.y-c*t.z)+s,z:h*(-u*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===o){var r=n[0],s=n[1],a=n[2],c=n[3],u=n[4],l=n[5],h=n[6],f=(t.x-r)/h,p=(t.y-s)/h,d=(t.z-a)/h;return{x:f+l*p-u*d,y:-l*f+p+c*d,z:u*f-c*p+d}}}function ee(t){return t===i||t===o}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===s){var o=re(t,!1,n);if(0!==o)return;r=u,i=h}var a=e.a,f=e.b,p=e.es;if(e.datum_type===s&&(a=u,f=l,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===s){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},o=[],s=0;s<t.grids.length;s++){var a=t.grids[s];if(o.push(a.name),a.isNull){i=r;break}if(a.mandatory,null!==a.grid){var c=a.grid.subgrids[0],u=(Math.abs(c.del[1])+Math.abs(c.del[0]))/1e4,l=c.ll[0]-u,h=c.ll[1]-u,f=c.ll[0]+(c.lim[0]-1)*c.del[0]+u,p=c.ll[1]+(c.lim[1]-1)*c.del[1]+u;if(!(h>r.y||l>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*b+" "+r.y*b+" tried: '"+o+"'"),-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=lt(i.x-Math.PI)+Math.PI;var o=oe(i,n);if(e){if(isNaN(o.x))return r;o.x=i.x-o.x,o.y=i.y-o.y;var s,a,c=9,u=1e-12;do{if(a=oe(o,n),isNaN(a.x)){console.log("Inverse grid shift iteration failed, presumably at grid edge. Using first approximation.");break}s={x:i.x-(a.x+o.x),y:i.y-(a.y+o.y)},o.x+=s.x,o.y+=s.y}while(c--&&Math.abs(s.x)>u&&Math.abs(s.y)>u);if(c<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=lt(o.x+n.ll[0]),r.y=o.y+n.ll[1]}else isNaN(o.x)||(r.x=t.x+o.x,r.y=t.y+o.y);return r}function oe(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)},o={x:r.x-1*i.x,y:r.y-1*i.y},s={x:Number.NaN,y:Number.NaN};if(i.x<0||i.x>=e.lim[0])return s;if(i.y<0||i.y>=e.lim[1])return s;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 u={x:e.cvs[n][0],y:e.cvs[n][1]};n--;var l={x:e.cvs[n][0],y:e.cvs[n][1]},h=o.x*o.y,f=o.x*(1-o.y),p=(1-o.x)*(1-o.y),d=(1-o.x)*o.y;return s.x=p*a.x+f*c.x+d*l.x+h*u.x,s.y=p*a.y+f*c.y+d*l.y+h*u.y,s}var se=function(t,e,n){var r,i,o,s=n.x,a=n.y,c=n.z||0,u={};for(o=0;o<3;o++)if(!e||2!==o||void 0!==n.z)switch(0===o?(r=s,i=-1!=="ew".indexOf(t.axis[o])?"x":"y"):1===o?(r=a,i=-1!=="ns".indexOf(t.axis[o])?"y":"x"):(r=c,i="z"),t.axis[o]){case"e":u[i]=r;break;case"w":u[i]=-r;break;case"n":u[i]=r;break;case"s":u[i]=-r;break;case"u":void 0!==n[i]&&(u.z=r);break;case"d":void 0!==n[i]&&(u.z=-r);break;default:return null}return u},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){ue(t.x),ue(t.y)};function ue(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 le(t,e){return(t.datum.datum_type===i||t.datum.datum_type===o||t.datum.datum_type===s)&&"WGS84"!==e.datumCode||(e.datum.datum_type===i||e.datum.datum_type===o||e.datum.datum_type===s)&&"WGS84"!==t.datumCode}function he(t,e,n,r){var i;n=Array.isArray(n)?ae(n):{x:n.x,y:n.y,z:n.z,m:n.m};var o=void 0!==n.z;if(ce(n),t.datum&&e.datum&&le(t,e)&&(i=new Xt("WGS84"),n=he(t,i,n,r),t=i),r&&"enu"!==t.axis&&(n=se(t,!1,n)),"longlat"===t.projName)n={x:n.x*y,y:n.y*y,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*b,y:n.y*b,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?se(e,!0,n):(o||delete n.z,n)}var fe=Xt("WGS84");function pe(t,e,n,r){var i,o,s;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]):(o=he(t,e,n,r),s=Object.keys(n),2===s.length||s.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;o[r]=n[r]})),o)}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,ve=6,ye="AJSAJS",be="AFAFAF",_e=65,we=73,Oe=79,xe=86,Me=90,Ee={forward:ke,inverse:je,toPoint:Ae};function ke(t,e){return e=e||5,Pe(Ne({lat:t[1],lon:t[0]}),e)}function je(t){var e=Te(De(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Ae(t){var e=Te(De(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function Ce(t){return t*(Math.PI/180)}function Se(t){return t/Math.PI*180}function Ne(t){var e,n,r,i,o,s,a,c,u,l=t.lat,h=t.lon,f=6378137,p=.00669438,d=.9996,m=Ce(l),g=Ce(h);u=Math.floor((h+180)/6)+1,180===h&&(u=60),l>=56&&l<64&&h>=3&&h<12&&(u=32),l>=72&&l<84&&(h>=0&&h<9?u=31:h>=9&&h<21?u=33:h>=21&&h<33?u=35:h>=33&&h<42&&(u=37)),e=6*(u-1)-180+3,c=Ce(e),n=p/(1-p),r=f/Math.sqrt(1-p*Math.sin(m)*Math.sin(m)),i=Math.tan(m)*Math.tan(m),o=n*Math.cos(m)*Math.cos(m),s=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 v=d*r*(s+(1-i+o)*s*s*s/6+(5-18*i+i*i+72*o-58*n)*s*s*s*s*s/120)+5e5,y=d*(a+r*Math.tan(m)*(s*s/2+(5-i+9*o+4*o*o)*s*s*s*s/24+(61-58*i+i*i+600*o-330*n)*s*s*s*s*s*s/720));return l<0&&(y+=1e7),{northing:Math.round(y),easting:Math.round(v),zoneNumber:u,zoneLetter:Ie(l)}}function Te(t){var e=t.northing,n=t.easting,r=t.zoneLetter,i=t.zoneNumber;if(i<0||i>60)return null;var o,s,a,c,u,l,h,f,p,d,m=.9996,g=6378137,v=.00669438,y=(1-Math.sqrt(1-v))/(1+Math.sqrt(1-v)),b=n-5e5,_=e;r<"N"&&(_-=1e7),f=6*(i-1)-180+3,o=v/(1-v),h=_/m,p=h/(g*(1-v/4-3*v*v/64-5*v*v*v/256)),d=p+(3*y/2-27*y*y*y/32)*Math.sin(2*p)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*p)+151*y*y*y/96*Math.sin(6*p),s=g/Math.sqrt(1-v*Math.sin(d)*Math.sin(d)),a=Math.tan(d)*Math.tan(d),c=o*Math.cos(d)*Math.cos(d),u=g*(1-v)/Math.pow(1-v*Math.sin(d)*Math.sin(d),1.5),l=b/(s*m);var w=d-s*Math.tan(d)/u*(l*l/2-(5+3*a+10*c-4*c*c-9*o)*l*l*l*l/24+(61+90*a+298*c+45*a*a-252*o-3*c*c)*l*l*l*l*l*l/720);w=Se(w);var O,x=(l-(1+2*a+c)*l*l*l/6+(5-2*c+28*a-3*c*c+8*o+24*a*a)*l*l*l*l*l/120)/Math.cos(d);if(x=f+Se(x),t.accuracy){var M=Te({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});O={top:M.lat,right:M.lon,bottom:w,left:x}}else O={lat:w,lon:x};return O}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 Pe(t,e){var n="00000"+t.easting,r="00000"+t.northing;return t.zoneNumber+t.zoneLetter+Le(t.easting,t.northing,t.zoneNumber)+n.substr(n.length-5,e)+r.substr(r.length-5,e)}function Le(t,e,n){var r=Re(n),i=Math.floor(t/1e5),o=Math.floor(e/1e5)%20;return Fe(i,o,r)}function Re(t){var e=t%ve;return 0===e&&(e=ve),e}function Fe(t,e,n){var r=n-1,i=ye.charCodeAt(r),o=be.charCodeAt(r),s=i+t-1,a=o+e,c=!1;s>Me&&(s=s-Me+_e-1,c=!0),(s===we||i<we&&s>we||(s>we||i<we)&&c)&&s++,(s===Oe||i<Oe&&s>Oe||(s>Oe||i<Oe)&&c)&&(s++,s===we&&s++),s>Me&&(s=s-Me+_e-1),a>xe?(a=a-xe+_e-1,c=!0):c=!1,(a===we||o<we&&a>we||(a>we||o<we)&&c)&&a++,(a===Oe||o<Oe&&a>Oe||(a>Oe||o<Oe)&&c)&&(a++,a===we&&a++),a>xe&&(a=a-xe+_e-1);var u=String.fromCharCode(s)+String.fromCharCode(a);return u}function De(t){if(t&&0===t.length)throw"MGRSPoint coverting from nothing";var e,n=t.length,r=null,i="",o=0;while(!/[A-Z]/.test(e=t.charAt(o))){if(o>=2)throw"MGRSPoint bad conversion from: "+t;i+=e,o++}var s=parseInt(i,10);if(0===o||o+3>n)throw"MGRSPoint bad conversion from: "+t;var a=t.charAt(o++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+t;r=t.substring(o,o+=2);var c=Re(s),u=Ue(r.charAt(0),c),l=Be(r.charAt(1),c);while(l<$e(a))l+=2e6;var h=n-o;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,v=h/2,y=0,b=0;return v>0&&(f=1e5/Math.pow(10,v),p=t.substring(o,o+v),y=parseFloat(p)*f,d=t.substring(o+v),b=parseFloat(d)*f),m=y+u,g=b+l,{easting:m,northing:g,zoneLetter:a,zoneNumber:s,accuracy:f}}function Ue(t,e){var n=ye.charCodeAt(e-1),r=1e5,i=!1;while(n!==t.charCodeAt(0)){if(n++,n===we&&n++,n===Oe&&n++,n>Me){if(i)throw"Bad character: "+t;n=_e,i=!0}r+=1e5}return r}function Be(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;var n=be.charCodeAt(e-1),r=0,i=!1;while(n!==t.charCodeAt(0)){if(n++,n===we&&n++,n===Oe&&n++,n>xe){if(i)throw"Bad character: "+t;n=_e,i=!0}r+=1e5}return r}function $e(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(Ae(t))},qe.prototype.toMGRS=function(t){return ke([this.x,this.y],t)};var He=qe,We=1,ze=.25,Ve=.046875,Ye=.01953125,Ge=.01068115234375,Xe=.75,Ke=.46875,Qe=.013020833333333334,Je=.007120768229166667,Ze=.3645833333333333,tn=.005696614583333333,en=.3076171875,nn=function(t){var e=[];e[0]=We-t*(ze+t*(Ve+t*(Ye+t*Ge))),e[1]=t*(Xe-t*(Ve+t*(Ye+t*Ge)));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])))},on=20,sn=function(t,e,n){for(var r=1/(1-e),i=t,o=on;o;--o){var s=Math.sin(i),a=1-e*s*s;if(a=(rn(i,s,Math.cos(i),n)-t)*(a*Math.sqrt(a))*r,i-=a,Math.abs(a)<v)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,o=t.y,s=lt(i-this.long0),a=Math.sin(o),c=Math.cos(o);if(this.es){var u=c*s,l=Math.pow(u,2),h=this.ep2*Math.pow(c,2),f=Math.pow(h,2),p=Math.abs(c)>v?Math.tan(o):0,d=Math.pow(p,2),m=Math.pow(d,2);e=1-this.es*Math.pow(a,2),u/=Math.sqrt(e);var g=rn(o,a,c,this.en);n=this.a*(this.k0*u*(1+l/6*(1-d+h+l/20*(5-18*d+m+14*h-58*d*h+l/42*(61+179*m-m*d-479*d)))))+this.x0,r=this.a*(this.k0*(g-this.ml0+a*s*u/2*(1+l/12*(5-d+9*h+4*f+l/30*(61+m-58*d+270*h-330*d*h+l/56*(1385+543*m-m*d-3111*d))))))+this.y0}else{var y=c*Math.sin(s);if(Math.abs(Math.abs(y)-1)<v)return 93;if(n=.5*this.a*this.k0*Math.log((1+y)/(1-y))+this.x0,r=c*Math.cos(s)/Math.sqrt(1-Math.pow(y,2)),y=Math.abs(r),y>=1){if(y-1>v)return 93;r=0}else r=Math.acos(r);o<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return t.x=n,t.y=r,t}function un(t){var e,n,r,i,o=(t.x-this.x0)*(1/this.a),s=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+s/this.k0,n=sn(e,this.es,this.en),Math.abs(n)<p){var a=Math.sin(n),c=Math.cos(n),u=Math.abs(c)>v?Math.tan(n):0,l=this.ep2*Math.pow(c,2),h=Math.pow(l,2),f=Math.pow(u,2),d=Math.pow(f,2);e=1-this.es*Math.pow(a,2);var m=o*Math.sqrt(e)/this.k0,g=Math.pow(m,2);e*=u,r=n-e*g/(1-this.es)*.5*(1-g/12*(5+3*f-9*l*f+l-4*h-g/30*(61+90*f-252*l*f+45*d+46*l-g/56*(1385+3633*f+4095*d+1574*d*f)))),i=lt(this.long0+m*(1-g/6*(1+2*f+l-g/20*(5+28*f+24*d+8*l*f+6*l-g/42*(61+662*f+1320*d+720*d*f))))/c)}else r=p*ut(s),i=0;else{var y=Math.exp(o/this.k0),b=.5*(y-1/y),_=this.lat0+s/this.k0,w=Math.cos(_);e=Math.sqrt((1-Math.pow(w,2))/(1+Math.pow(b,2))),r=Math.asin(e),s<0&&(r=-r),i=0===b&&0===w?0:lt(Math.atan2(b,w)+this.long0)}return t.x=i,t.y=r,t}var ln=["Fast_Transverse_Mercator","Fast Transverse Mercator"],hn={init:an,forward:cn,inverse:un,names:ln},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,o=t[i],s=0;while(--i>=0)n=r*o-s+t[i],s=o,o=n;return e+n*Math.sin(2*e)},vn=function(t,e){var n,r=2*Math.cos(e),i=t.length-1,o=t[i],s=0;while(--i>=0)n=r*o-s+t[i],s=o,o=n;return Math.sin(e)*n},yn=function(t){var e=Math.exp(t);return e=(e+1/e)/2,e},bn=function(t,e,n){var r,i,o=Math.sin(e),s=Math.cos(e),a=fn(n),c=yn(n),u=2*s*c,l=-2*o*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=u*d-r-l*p+t[h],m=l*d-i+u*p;return u=o*c,l=s*a,[u*f-l*m,u*m+l*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+vn(this.gtu,2*r))}function wn(t){var e=lt(t.x-this.long0),n=t.y;n=gn(this.cbg,n);var r=Math.sin(n),i=Math.cos(n),o=Math.sin(e),s=Math.cos(e);n=Math.atan2(r,s*i),e=Math.atan2(o*i,pn(r,i*s)),e=mn(Math.tan(e));var a,c,u=bn(this.gtu,2*n,2*e);return n+=u[0],e+=u[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 On(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 o=bn(this.utg,2*i,2*r);i+=o[0],r+=o[1],r=Math.atan(fn(r));var s=Math.sin(i),a=Math.cos(i),c=Math.sin(r),u=Math.cos(r);i=Math.atan2(s*u,pn(c,u*a)),r=Math.atan2(c,u*a),e=lt(r+this.long0),n=gn(this.cgb,i)}else e=1/0,n=1/0;return t.x=e,t.y=n,t}var xn=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"],Mn={init:_n,forward:wn,inverse:On,names:xn},En=function(t,e){if(void 0===t){if(t=Math.floor(30*(lt(e)+Math.PI)/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t},kn="etmerc";function jn(){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)*y,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,Mn.init.apply(this),this.forward=Mn.forward,this.inverse=Mn.inverse}var An=["Universal Transverse Mercator System","utm"],Cn={init:jn,names:An,dependsOn:kn},Sn=function(t,e){return Math.pow((1-t)/(1+t),e)},Nn=20;function Tn(){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)*Sn(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)*Sn(this.e*Math.sin(n),this.ratexp))-p,t.x=this.C*e,t}function Pn(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),o=Nn;o>0;--o){if(r=2*Math.atan(i*Sn(this.e*Math.sin(t.y),-.5*this.e))-p,Math.abs(r-t.y)<e)break;t.y=r}return o?(t.x=n,t.y=r,t):null}var Ln=["gauss"],Rn={init:Tn,forward:In,inverse:Pn,names:Ln};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 Dn(t){var e,n,r,i;return t.x=lt(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 Un(t){var e,n,r,i,o;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,o=Math.sqrt(t.x*t.x+t.y*t.y)){var s=2*Math.atan2(o,this.R2);e=Math.sin(s),n=Math.cos(s),i=Math.asin(n*this.sinc0+t.y*e*this.cosc0/o),r=Math.atan2(t.x*e,o*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=lt(t.x+this.long0),t}var Bn=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"],$n={init:Fn,forward:Dn,inverse:Un,names:Bn};function qn(t,e,n){return e*=n,Math.tan(.5*(p+t))*Math.pow((1-e)/(1+e),.5*n)}function Hn(){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)<=v&&(this.k0=.5*(1+ut(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=v&&(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)<=v&&(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 Wn(t){var e,n,r,i,o,s,a=t.x,c=t.y,u=Math.sin(c),l=Math.cos(c),h=lt(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=v&&Math.abs(c+this.lat0)<=v?(t.x=NaN,t.y=NaN,t):this.sphere?(e=2*this.k0/(1+this.sinlat0*u+this.coslat0*l*Math.cos(h)),t.x=this.a*e*l*Math.sin(h)+this.x0,t.y=this.a*e*(this.coslat0*u-this.sinlat0*l*Math.cos(h))+this.y0,t):(n=2*Math.atan(this.ssfn_(c,u,this.e))-p,i=Math.cos(n),r=Math.sin(n),Math.abs(this.coslat0)<=v?(o=ht(this.e,c*this.con,this.con*u),s=2*this.a*this.k0*o/this.cons,t.x=this.x0+s*Math.sin(a-this.long0),t.y=this.y0-this.con*s*Math.cos(a-this.long0),t):(Math.abs(this.sinlat0)<v?(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 zn(t){var e,n,r,i,o;t.x-=this.x0,t.y-=this.y0;var s=Math.sqrt(t.x*t.x+t.y*t.y);if(this.sphere){var a=2*Math.atan(s/(2*this.a*this.k0));return e=this.long0,n=this.lat0,s<=v?(t.x=e,t.y=n,t):(n=Math.asin(Math.cos(a)*this.sinlat0+t.y*Math.sin(a)*this.coslat0/s),e=Math.abs(this.coslat0)<v?this.lat0>0?lt(this.long0+Math.atan2(t.x,-1*t.y)):lt(this.long0+Math.atan2(t.x,t.y)):lt(this.long0+Math.atan2(t.x*Math.sin(a),s*this.coslat0*Math.cos(a)-t.y*this.sinlat0*Math.sin(a))),t.x=e,t.y=n,t)}if(Math.abs(this.coslat0)<=v){if(s<=v)return n=this.lat0,e=this.long0,t.x=e,t.y=n,t;t.x*=this.con,t.y*=this.con,r=s*this.cons/(2*this.a*this.k0),n=this.con*ft(this.e,r),e=this.con*lt(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else i=2*Math.atan(s*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,s<=v?o=this.X0:(o=Math.asin(Math.cos(i)*this.sinX0+t.y*Math.sin(i)*this.cosX0/s),e=lt(this.long0+Math.atan2(t.x*Math.sin(i),s*this.cosX0*Math.cos(i)-t.y*this.sinX0*Math.sin(i)))),n=-1*ft(this.e,Math.tan(.5*(p+o)));return t.x=e,t.y=n,t}var Vn=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],Yn={init:Hn,forward:Wn,inverse:zn,names:Vn,ssfn_:qn};function Gn(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),n=this.a,r=this.rf,i=1/r,o=2*i-Math.pow(i,2),s=this.e=Math.sqrt(o);this.R=this.k0*n*Math.sqrt(1-o)/(1-o*Math.pow(e,2)),this.alpha=Math.sqrt(1+o/(1-o)*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)),u=Math.log((1+s*e)/(1-s*e));this.K=a-this.alpha*c+this.alpha*s/2*u}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),o=this.alpha*(t.x-this.lambda0),s=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),a=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return t.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,t.x=this.R*s+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),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(r)),s=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(i))),a=this.lambda0+s/this.alpha,c=0,u=o,l=-1e3,h=0;while(Math.abs(u-l)>1e-7){if(++h>20)return;c=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),l=u,u=2*Math.atan(Math.exp(c))-Math.PI/2}return t.x=a,t.y=u,t}var Qn=["somerc"],Jn={init:Gn,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,o,s,a,c,u,l,h=0,f=0,d=0,m=0,g=0,b=0,O=0;this.no_off=tr(this),this.no_rot="no_rot"in this;var x=!1;"alpha"in this&&(x=!0);var M=!1;if("rectified_grid_angle"in this&&(M=!0),x&&(O=this.alpha),M&&(h=this.rectified_grid_angle*y),x||M)f=this.longc;else if(d=this.long1,g=this.lat1,m=this.long2,b=this.lat2,Math.abs(g-b)<=Zn||(t=Math.abs(g))<=Zn||Math.abs(t-p)<=Zn||Math.abs(Math.abs(this.lat0)-p)<=Zn||Math.abs(Math.abs(b)-p)<=Zn)throw new Error;var E=1-this.es;e=Math.sqrt(E),Math.abs(this.lat0)>v?(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),x||M?(x?(l=Math.asin(Math.sin(O)/r),M||(h=O)):(l=h,O=Math.asin(r*Math.sin(l))),this.lam0=f-Math.asin(.5*(i-1/i)*Math.tan(l))/this.B):(o=Math.pow(ht(this.e,g,Math.sin(g)),this.B),s=Math.pow(ht(this.e,b,Math.sin(b)),this.B),i=this.E/o,c=(s-o)/(s+o),u=this.E*this.E,u=(u-s*o)/(u+s*o),t=d-m,t<-Math.pi?m-=w:t>Math.pi&&(m+=w),this.lam0=lt(.5*(d+m)-Math.atan(u*Math.tan(.5*this.B*(d-m))/c)/this.B),l=Math.atan(2*Math.sin(this.B*lt(d-this.lam0))/(i-1/i)),h=O=Math.asin(r*Math.sin(l))),this.singam=Math.sin(l),this.cosgam=Math.cos(l),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(O))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*l,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,o,s,a,c,u={};if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-p)>v){if(o=this.E/Math.pow(ht(this.e,t.y,Math.sin(t.y)),this.B),s=1/o,e=.5*(o-s),n=.5*(o+s),i=Math.sin(this.B*t.x),r=(e*this.singam-i*this.cosgam)/n,Math.abs(Math.abs(r)-1)<v)throw new Error;c=.5*this.ArB*Math.log((1-r)/(1+r)),s=Math.cos(this.B*t.x),a=Math.abs(s)<Zn?this.A*t.x:this.ArB*Math.atan2(e*this.cosgam+i*this.singam,s)}else c=t.y>0?this.v_pole_n:this.v_pole_s,a=this.ArB*t.y;return this.no_rot?(u.x=a,u.y=c):(a-=this.u_0,u.x=c*this.cosrot+a*this.sinrot,u.y=a*this.cosrot-c*this.sinrot),u.x=this.a*u.x+this.x0,u.y=this.a*u.y+this.y0,u}function rr(t){var e,n,r,i,o,s,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),o=.5*(r+1/r),s=Math.sin(this.BrA*e),a=(s*this.cosgam+i*this.singam)/o,Math.abs(Math.abs(a)-1)<v)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-s*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"],or={init:er,forward:nr,inverse:rr,names:ir};function sr(){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)<v)){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),o=Math.sin(this.lat2),s=Math.cos(this.lat2),a=ct(this.e,o,s),c=ht(this.e,this.lat2,o),u=ht(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>v?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(u,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)<=v&&(n=ut(n)*(p-2*v));var r,i,o=Math.abs(Math.abs(n)-p);if(o>v)r=ht(this.e,n,Math.sin(n)),i=this.a*this.f0*Math.pow(r,this.ns);else{if(o=n*this.ns,o<=0)return null;i=0}var s=this.ns*lt(e-this.long0);return t.x=this.k0*(i*Math.sin(s))+this.x0,t.y=this.k0*(this.rh-i*Math.cos(s))+this.y0,t}function cr(t){var e,n,r,i,o,s=(t.x-this.x0)/this.k0,a=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(s*s+a*a),n=1):(e=-Math.sqrt(s*s+a*a),n=-1);var c=0;if(0!==e&&(c=Math.atan2(n*s,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 o=lt(c/this.ns+this.long0),t.x=o,t.y=i,t}var ur=["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)"],lr={init:sr,forward:ar,inverse:cr,names:ur};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,o,s,a,c=t.x,u=t.y,l=lt(c-this.long0);return e=Math.pow((1+this.e*Math.sin(u))/(1-this.e*Math.sin(u)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(u/2+this.s45),this.alfa)/e)-this.s45),r=-l*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),o=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(i)),s=this.n*o,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(s)/1,t.x=a*Math.sin(s)/1,this.czech||(t.y*=-1,t.x*=-1),t}function pr(t){var e,n,r,i,o,s,a,c,u=t.x;t.x=t.y,t.y=u,this.czech||(t.y*=-1,t.x*=-1),s=Math.sqrt(t.x*t.x+t.y*t.y),o=Math.atan2(t.y,t.x),i=o/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/s,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 l=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,l+=1}while(0===c&&l<15);return l>=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)},vr=function(t){return 1-.25*t*(1+t/16*(3+1.25*t))},yr=function(t){return.375*t*(1+.25*t*(1+.46875*t))},br=function(t){return.05859375*t*t*(1+.75*t)},_r=function(t){return t*t*t*(35/3072)},wr=function(t,e,n){var r=e*n;return t/Math.sqrt(1-r*r)},Or=function(t){return Math.abs(t)<p?t:t-ut(t)*Math.PI},xr=function(t,e,n,r,i){var o,s;o=t/e;for(var a=0;a<15;a++)if(s=(t-(e*o-n*Math.sin(2*o)+r*Math.sin(4*o)-i*Math.sin(6*o)))/(e-2*n*Math.cos(2*o)+4*r*Math.cos(4*o)-6*i*Math.cos(6*o)),o+=s,Math.abs(s)<=1e-10)return o;return NaN};function Mr(){this.sphere||(this.e0=vr(this.es),this.e1=yr(this.es),this.e2=br(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=lt(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 o=Math.sin(i),s=Math.cos(i),a=wr(this.a,this.e,o),c=Math.tan(i)*Math.tan(i),u=r*Math.cos(i),l=u*u,h=this.es*s*s/(1-this.es),f=this.a*gr(this.e0,this.e1,this.e2,this.e3,i);e=a*u*(1-l*c*(1/6-(8-c+8*h)*l/120)),n=f-this.ml0+a*o/s*l*(.5+(5-c+6*h)*l/24)}return t.x=e+this.x0,t.y=n+this.y0,t}function kr(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 o=i+this.lat0;e=Math.asin(Math.sin(o)*Math.cos(r)),n=Math.atan2(Math.tan(r),Math.cos(o))}else{var s=this.ml0/this.a+i,a=xr(s,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(a)-p)<=v)return t.x=this.long0,t.y=p,i<0&&(t.y*=-1),t;var c=wr(this.a,this.e,Math.sin(a)),u=c*c*c/this.a/this.a*(1-this.es),l=Math.pow(Math.tan(a),2),h=r*this.a/c,f=h*h;e=a-c*Math.tan(a)/u*h*h*(.5-(1+3*l)*h*h/24),n=h*(1-f*(l/3+(1+3*l)*l*f/15))/Math.cos(a)}return t.x=lt(n+this.long0),t.y=Or(e),t}var jr=["Cassini","Cassini_Soldner","cass"],Ar={init:Mr,forward:Er,inverse:kr,names:jr},Cr=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},Sr=1,Nr=2,Tr=3,Ir=4;function Pr(){var t,e=Math.abs(this.lat0);if(Math.abs(e-p)<v?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(e)<v?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=Cr(this.e,1),this.mmf=.5/(1-this.es),this.apa=Hr(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=Cr(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 Lr(t){var e,n,r,i,o,s,a,c,u,l,h=t.x,f=t.y;if(h=lt(h-this.long0),this.sphere){if(o=Math.sin(f),l=Math.cos(f),r=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(n=this.mode===this.EQUIT?1+l*r:1+this.sinph0*o+this.cosph0*l*r,n<=v)return null;n=Math.sqrt(2/n),e=n*l*Math.sin(h),n*=this.mode===this.EQUIT?o:this.cosph0*o-this.sinph0*l*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)<v)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,u=0,r=Math.cos(h),i=Math.sin(h),o=Math.sin(f),s=Cr(this.e,o),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(a=s/this.qp,c=Math.sqrt(1-a*a)),this.mode){case this.OBLIQ:u=1+this.sinb1*a+this.cosb1*c*r;break;case this.EQUIT:u=1+c*r;break;case this.N_POLE:u=p+f,s=this.qp-s;break;case this.S_POLE:u=f-p,s=this.qp+s;break}if(Math.abs(u)<v)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:u=Math.sqrt(2/u),n=this.mode===this.OBLIQ?this.ymf*u*(this.cosb1*a-this.sinb1*c*r):(u=Math.sqrt(2/(1+c*r)))*a*this.ymf,e=this.xmf*u*c*i;break;case this.N_POLE:case this.S_POLE:s>=0?(e=(u=Math.sqrt(s))*i,n=r*(this.mode===this.S_POLE?u:-u)):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,o,s,a,c=t.x/this.a,u=t.y/this.a;if(this.sphere){var l,h=0,f=0;if(l=Math.sqrt(c*c+u*u),n=.5*l,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(l)<=v?0:Math.asin(u*f/l),c*=f,u=h*l;break;case this.OBLIQ:n=Math.abs(l)<=v?this.lat0:Math.asin(h*this.sinph0+u*f*this.cosph0/l),c*=f*this.cosph0,u=(h-Math.sin(n)*this.sinph0)*l;break;case this.N_POLE:u=-u,n=p-n;break;case this.S_POLE:n-=p;break}e=0!==u||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(c,u):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c/=this.dd,u*=this.dd,s=Math.sqrt(c*c+u*u),s<v)return t.x=this.long0,t.y=this.lat0,t;i=2*Math.asin(.5*s/this.rq),r=Math.cos(i),c*=i=Math.sin(i),this.mode===this.OBLIQ?(a=r*this.sinb1+u*i*this.cosb1/s,o=this.qp*a,u=s*this.cosb1*r-u*this.sinb1*i):(a=u*i/s,o=this.qp*a,u=s*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(u=-u),o=c*c+u*u,!o)return t.x=this.long0,t.y=this.lat0,t;a=1-o/this.qp,this.mode===this.S_POLE&&(a=-a)}e=Math.atan2(c,u),n=Wr(Math.asin(a),this.apa)}return t.x=lt(this.long0+e),t.y=n,t}var Fr=.3333333333333333,Dr=.17222222222222222,Ur=.10257936507936508,Br=.06388888888888888,$r=.0664021164021164,qr=.016415012942191543;function Hr(t){var e,n=[];return n[0]=t*Fr,e=t*t,n[0]+=e*Dr,n[1]=e*Br,e*=t,n[0]+=e*Ur,n[1]+=e*$r,n[2]=e*qr,n}function Wr(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 zr=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"],Vr={init:Pr,forward:Lr,inverse:Rr,names:zr,S_POLE:Sr,N_POLE:Nr,EQUIT:Tr,OBLIQ:Ir},Yr=function(t){return Math.abs(t)>1&&(t=t>1?1:-1),Math.asin(t)};function Gr(){Math.abs(this.lat1+this.lat2)<v||(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=Cr(this.e3,this.sin_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=Cr(this.e3,this.sin_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=Cr(this.e3,this.sin_po),Math.abs(this.lat1-this.lat2)>v?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=Cr(this.e3,this.sin_phi),i=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,o=this.ns0*lt(e-this.long0),s=i*Math.sin(o)+this.x0,a=this.rh-i*Math.cos(o)+this.y0;return t.x=s,t.y=a,t}function Kr(t){var e,n,r,i,o,s;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?s=Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,s=this.phi1z(this.e3,n)),o=lt(i/this.ns0+this.long0),t.x=o,t.y=s,t}function Qr(t,e){var n,r,i,o,s,a=Yr(.5*e);if(t<v)return a;for(var c=t*t,u=1;u<=25;u++)if(n=Math.sin(a),r=Math.cos(a),i=t*n,o=1-i*i,s=.5*o*o/r*(e/(1-c)-n/o+.5/t*Math.log((1-i)/(1+i))),a+=s,Math.abs(s)<=1e-7)return a;return null}var Jr=["Albers_Conic_Equal_Area","Albers","aea"],Zr={init:Gr,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,o,s,a,c,u=t.x,l=t.y;return r=lt(u-this.long0),e=Math.sin(l),n=Math.cos(l),i=Math.cos(r),s=this.sin_p14*e+this.cos_p14*n*i,o=1,s>0||Math.abs(s)<=v?(a=this.x0+this.a*o*n*Math.sin(r)/s,c=this.y0+this.a*o*(this.cos_p14*e-this.sin_p14*n*i)/s):(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,o,s;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),s=Yr(r*this.sin_p14+t.y*n*this.cos_p14/e),o=Math.atan2(t.x*n,e*this.cos_p14*r-t.y*this.sin_p14*n),o=lt(this.long0+o)):(s=this.phic0,o=0),t.x=o,t.y=s,t}var ri=["gnom"],ii={init:ti,forward:ei,inverse:ni,names:ri},oi=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,o,s,a=Math.asin(.5*e),c=0;c<30;c++)if(i=Math.sin(a),o=Math.cos(a),s=t*i,r=Math.pow(1-s*s,2)/(2*o)*(e/(1-t*t)-i/(1-s*s)+.5/t*Math.log((1-s)/(1+s))),a+=r,Math.abs(r)<=1e-10)return a;return NaN};function si(){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,o=lt(r-this.long0);if(this.sphere)e=this.x0+this.a*o*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var s=Cr(this.e,Math.sin(i));e=this.x0+this.a*this.k0*o,n=this.y0+this.a*s*.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=lt(this.long0+t.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(n=oi(this.e,2*t.y*this.k0/this.a),e=lt(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=n,t}var ui=["cea"],li={init:si,forward:ai,inverse:ci,names:ui};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=lt(e-this.long0),i=Or(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=lt(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=Or(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 vi(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=vr(this.es),this.e1=yr(this.es),this.e2=br(this.es),this.e3=_r(this.es),this.ml0=this.a*gr(this.e0,this.e1,this.e2,this.e3,this.lat0)}function yi(t){var e,n,r,i=t.x,o=t.y,s=lt(i-this.long0);if(r=s*Math.sin(o),this.sphere)Math.abs(o)<=v?(e=this.a*s,n=-1*this.a*this.lat0):(e=this.a*Math.sin(r)/Math.tan(o),n=this.a*(Or(o-this.lat0)+(1-Math.cos(r))/Math.tan(o)));else if(Math.abs(o)<=v)e=this.a*s,n=-1*this.ml0;else{var a=wr(this.a,this.e,Math.sin(o))/Math.tan(o);e=a*Math.sin(r),n=this.a*gr(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+a*(1-Math.cos(r))}return t.x=e+this.x0,t.y=n+this.y0,t}function bi(t){var e,n,r,i,o,s,a,c,u;if(r=t.x-this.x0,i=t.y-this.y0,this.sphere)if(Math.abs(i+this.a*this.lat0)<=v)e=lt(r/this.a+this.long0),n=0;else{var l;for(s=this.lat0+i/this.a,a=r*r/this.a/this.a+s*s,c=s,o=gi;o;--o)if(l=Math.tan(c),u=-1*(s*(c*l+1)-c-.5*(c*c+a)*l)/((c-s)/l-1),c+=u,Math.abs(u)<=v){n=c;break}e=lt(this.long0+Math.asin(r*Math.tan(c)/this.a)/Math.sin(n))}else if(Math.abs(i+this.ml0)<=v)n=0,e=lt(this.long0+r/this.a);else{var h,f,p,d,m;for(s=(this.ml0+i)/this.a,a=r*r/this.a/this.a+s*s,c=s,o=gi;o;--o)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,u=(s*(h*d+1)-d-.5*h*(d*d+a))/(this.es*Math.sin(2*c)*(d*d+a-2*s*d)/(4*h)+(s-d)*(h*p-2/Math.sin(2*c))-p),c-=u,Math.abs(u)<=v){n=c;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),e=lt(this.long0+Math.asin(r*h/this.a)/Math.sin(n))}return t.x=e,t.y=n,t}var _i=["Polyconic","poly"],wi={init:vi,forward:yi,inverse:bi,names:_i};function Oi(){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 xi(t){var e,n=t.x,r=t.y,i=r-this.lat0,o=n-this.long0,s=i/f*1e-5,a=o,c=1,u=0;for(e=1;e<=10;e++)c*=s,u+=this.A[e]*c;var l,h,p=u,d=a,m=1,g=0,v=0,y=0;for(e=1;e<=6;e++)l=m*p-g*d,h=g*p+m*d,m=l,g=h,v=v+this.B_re[e]*m-this.B_im[e]*g,y=y+this.B_im[e]*m+this.B_re[e]*g;return t.x=y*this.a+this.x0,t.y=v*this.a+this.y0,t}function Mi(t){var e,n,r,i=t.x,o=t.y,s=i-this.x0,a=o-this.y0,c=a/this.a,u=s/this.a,l=1,h=0,p=0,d=0;for(e=1;e<=6;e++)n=l*c-h*u,r=h*c+l*u,l=n,h=r,p=p+this.C_re[e]*l-this.C_im[e]*h,d=d+this.C_im[e]*l+this.C_re[e]*h;for(var m=0;m<this.iterations;m++){var g,v,y=p,b=d,_=c,w=u;for(e=2;e<=6;e++)g=y*p-b*d,v=b*p+y*d,y=g,b=v,_+=(e-1)*(this.B_re[e]*y-this.B_im[e]*b),w+=(e-1)*(this.B_im[e]*y+this.B_re[e]*b);y=1,b=0;var O=this.B_re[1],x=this.B_im[1];for(e=2;e<=6;e++)g=y*p-b*d,v=b*p+y*d,y=g,b=v,O+=e*(this.B_re[e]*y-this.B_im[e]*b),x+=e*(this.B_im[e]*y+this.B_re[e]*b);var M=O*O+x*x;p=(_*O+w*x)/M,d=(w*O-_*x)/M}var E=p,k=d,j=1,A=0;for(e=1;e<=9;e++)j*=E,A+=this.D[e]*j;var C=this.lat0+A*f*1e5,S=this.long0+k;return t.x=S,t.y=C,t}var Ei=["New_Zealand_Map_Grid","nzmg"],ki={init:Oi,forward:xi,inverse:Mi,names:Ei};function ji(){}function Ai(t){var e=t.x,n=t.y,r=lt(e-this.long0),i=this.x0+this.a*r,o=this.y0+this.a*Math.log(Math.tan(Math.PI/4+n/2.5))*1.25;return t.x=i,t.y=o,t}function Ci(t){t.x-=this.x0,t.y-=this.y0;var e=lt(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 Si=["Miller_Cylindrical","mill"],Ni={init:ji,forward:Ai,inverse:Ci,names:Si},Ti=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 Pi(t){var e,n,r=t.x,i=t.y;if(r=lt(r-this.long0),this.sphere){if(this.m)for(var o=this.n*Math.sin(i),s=Ti;s;--s){var a=(this.m*i+Math.sin(i)-o)/(this.m+Math.cos(i));if(i-=a,Math.abs(a)<v)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),u=Math.cos(i);n=this.a*rn(i,c,u,this.en),e=this.a*r*u/Math.sqrt(1-this.es*c*c)}return t.x=e,t.y=n,t}function Li(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=Yr((this.m*e+Math.sin(e))/this.n):1!==this.n&&(e=Yr(Math.sin(e)/this.n)),r=lt(r+this.long0),e=Or(e)):(e=sn(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=lt(n)):i-v<p&&(r=this.long0)),t.x=r,t.y=e,t}var Ri=["Sinusoidal","sinu"],Fi={init:Ii,forward:Pi,inverse:Li,names:Ri};function Di(){}function Ui(t){var e=t.x,n=t.y,r=lt(e-this.long0),i=n,o=Math.PI*Math.sin(n);while(1){var s=-(i+Math.sin(i)-o)/(1+Math.cos(i));if(i+=s,Math.abs(s)<v)break}i/=2,Math.PI/2-Math.abs(n)<v&&(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 Bi(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=lt(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 $i=["Mollweide","moll"],qi={init:Di,forward:Ui,inverse:Bi,names:$i};function Hi(){Math.abs(this.lat1+this.lat2)<v||(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=vr(this.es),this.e1=yr(this.es),this.e2=br(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)<v?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 Wi(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 o=this.ns*lt(n-this.long0),s=this.x0+e*Math.sin(o),a=this.y0+this.rh-e*Math.cos(o);return t.x=s,t.y=a,t}function zi(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 o=0;if(0!==n&&(o=Math.atan2(e*t.x,e*t.y)),this.sphere)return i=lt(this.long0+o/this.ns),r=Or(this.g-n/this.a),t.x=i,t.y=r,t;var s=this.g-n/this.a;return r=xr(s,this.e0,this.e1,this.e2,this.e3),i=lt(this.long0+o/this.ns),t.x=i,t.y=r,t}var Vi=["Equidistant_Conic","eqdc"],Yi={init:Hi,forward:Wi,inverse:zi,names:Vi};function Gi(){this.R=this.a}function Xi(t){var e,n,r=t.x,i=t.y,o=lt(r-this.long0);Math.abs(i)<=v&&(e=this.x0+this.R*o,n=this.y0);var s=Yr(2*Math.abs(i/Math.PI));(Math.abs(o)<=v||Math.abs(Math.abs(i)-p)<=v)&&(e=this.x0,n=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*s):this.y0+Math.PI*this.R*-Math.tan(.5*s));var a=.5*Math.abs(Math.PI/o-o/Math.PI),c=a*a,u=Math.sin(s),l=Math.cos(s),h=l/(u+l-1),f=h*h,d=h*(2/u-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);o<0&&(g=-g),e=this.x0+g;var y=c+h;return g=Math.PI*this.R*(d*y-a*Math.sqrt((m+c)*(c+1)-y*y))/(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,o,s,a,c,u,l,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,o=r*r+i*i,s=-Math.abs(i)*(1+o),a=s-2*i*i+r*r,c=-2*s+1+2*i*i+o*o,p=i*i/c+(2*a*a*a/c/c/c-9*s*a/c/c)/27,u=(s-a*a/3/c)/c,l=2*Math.sqrt(-u/3),h=3*p/u/l,Math.abs(h)>1&&(h=h>=0?1:-1),f=Math.acos(h)/3,n=t.y>=0?(-l*Math.cos(f+Math.PI/3)-a/3/c)*Math.PI:-(-l*Math.cos(f+Math.PI/3)-a/3/c)*Math.PI,e=Math.abs(r)<v?this.long0:lt(this.long0+Math.PI*(o-1+Math.sqrt(1+2*(r*r-i*i)+o*o))/2/r),t.x=e,t.y=n,t}var Qi=["Van_der_Grinten_I","VanDerGrinten","vandg"],Ji={init:Gi,forward:Xi,inverse:Ki,names:Qi};function Zi(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)}function to(t){var e,n,r,i,o,s,a,c,u,l,h,f,d,m,g,y,b,_,w,O,x,M,E,k=t.x,j=t.y,A=Math.sin(t.y),C=Math.cos(t.y),S=lt(k-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=v?(t.x=this.x0+this.a*(p-j)*Math.sin(S),t.y=this.y0-this.a*(p-j)*Math.cos(S),t):Math.abs(this.sin_p12+1)<=v?(t.x=this.x0+this.a*(p+j)*Math.sin(S),t.y=this.y0+this.a*(p+j)*Math.cos(S),t):(_=this.sin_p12*A+this.cos_p12*C*Math.cos(S),y=Math.acos(_),b=y?y/Math.sin(y):1,t.x=this.x0+this.a*b*C*Math.sin(S),t.y=this.y0+this.a*b*(this.cos_p12*A-this.sin_p12*C*Math.cos(S)),t):(e=vr(this.es),n=yr(this.es),r=br(this.es),i=_r(this.es),Math.abs(this.sin_p12-1)<=v?(o=this.a*gr(e,n,r,i,p),s=this.a*gr(e,n,r,i,j),t.x=this.x0+(o-s)*Math.sin(S),t.y=this.y0-(o-s)*Math.cos(S),t):Math.abs(this.sin_p12+1)<=v?(o=this.a*gr(e,n,r,i,p),s=this.a*gr(e,n,r,i,j),t.x=this.x0+(o+s)*Math.sin(S),t.y=this.y0+(o+s)*Math.cos(S),t):(a=A/C,c=wr(this.a,this.e,this.sin_p12),u=wr(this.a,this.e,A),l=Math.atan((1-this.es)*a+this.es*c*this.sin_p12/(u*C)),h=Math.atan2(Math.sin(S),this.cos_p12*Math.tan(l)-this.sin_p12*Math.cos(S)),w=0===h?Math.asin(this.cos_p12*Math.sin(l)-this.sin_p12*Math.cos(l)):Math.abs(Math.abs(h)-Math.PI)<=v?-Math.asin(this.cos_p12*Math.sin(l)-this.sin_p12*Math.cos(l)):Math.asin(Math.sin(S)*Math.cos(l)/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,O=w*w,x=O*w,M=x*w,E=M*w,y=c*w*(1-O*g*(1-g)/6+x/8*m*(1-2*g)+M/120*(g*(4-7*g)-3*f*f*(1-7*g))-E/48*m),t.x=this.x0+y*Math.sin(h),t.y=this.y0+y*Math.cos(h),t))}function eo(t){var e,n,r,i,o,s,a,c,u,l,h,f,d,m,g,y,b,_,w,O,x,M,E,k;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),o=this.long0,Math.abs(e)<=v?s=this.lat0:(s=Yr(i*this.sin_p12+t.y*r*this.cos_p12/e),a=Math.abs(this.lat0)-p,o=Math.abs(a)<=v?this.lat0>=0?lt(this.long0+Math.atan2(t.x,-t.y)):lt(this.long0-Math.atan2(-t.x,t.y)):lt(this.long0+Math.atan2(t.x*r,e*this.cos_p12*i-t.y*this.sin_p12*r))),t.x=o,t.y=s,t}return c=vr(this.es),u=yr(this.es),l=br(this.es),h=_r(this.es),Math.abs(this.sin_p12-1)<=v?(f=this.a*gr(c,u,l,h,p),e=Math.sqrt(t.x*t.x+t.y*t.y),d=f-e,s=xr(d/this.a,c,u,l,h),o=lt(this.long0+Math.atan2(t.x,-1*t.y)),t.x=o,t.y=s,t):Math.abs(this.sin_p12+1)<=v?(f=this.a*gr(c,u,l,h,p),e=Math.sqrt(t.x*t.x+t.y*t.y),d=e-f,s=xr(d/this.a,c,u,l,h),o=lt(this.long0+Math.atan2(t.x,t.y)),t.x=o,t.y=s,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),m=wr(this.a,this.e,this.sin_p12),b=Math.cos(y),_=this.e*this.cos_p12*b,w=-_*_/(1-this.es),O=3*this.es*(1-w)*this.sin_p12*this.cos_p12*b/(1-this.es),x=e/m,M=x-w*(1+w)*Math.pow(x,3)/6-O*(1+3*w)*Math.pow(x,4)/24,E=1-w*M*M/2-x*M*M*M/6,g=Math.asin(this.sin_p12*Math.cos(M)+this.cos_p12*Math.sin(M)*b),o=lt(this.long0+Math.asin(Math.sin(y)*Math.sin(M)/Math.cos(g))),k=Math.sin(g),s=Math.atan2((k-this.es*E*this.sin_p12)*Math.tan(g),k*(1-this.es)),t.x=o,t.y=s,t)}var no=["Azimuthal_Equidistant","aeqd"],ro={init:Zi,forward:to,inverse:eo,names:no};function io(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function oo(t){var e,n,r,i,o,s,a,c,u=t.x,l=t.y;return r=lt(u-this.long0),e=Math.sin(l),n=Math.cos(l),i=Math.cos(r),s=this.sin_p14*e+this.cos_p14*n*i,o=1,(s>0||Math.abs(s)<=v)&&(a=this.a*o*n*Math.sin(r),c=this.y0+this.a*o*(this.cos_p14*e-this.sin_p14*n*i)),t.x=a,t.y=c,t}function so(t){var e,n,r,i,o,s,a;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),n=Yr(e/this.a),r=Math.sin(n),i=Math.cos(n),s=this.long0,Math.abs(e)<=v?(a=this.lat0,t.x=s,t.y=a,t):(a=Yr(i*this.sin_p14+t.y*r*this.cos_p14/e),o=Math.abs(this.lat0)-p,Math.abs(o)<=v?(s=this.lat0>=0?lt(this.long0+Math.atan2(t.x,-t.y)):lt(this.long0-Math.atan2(-t.x,t.y)),t.x=s,t.y=a,t):(s=lt(this.long0+Math.atan2(t.x*r,e*this.cos_p14*i-t.y*this.sin_p14*r)),t.x=s,t.y=a,t))}var ao=["ortho"],co={init:io,forward:oo,inverse:so,names:ao},uo={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},lo={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function ho(){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=uo.TOP:this.lat0<=-(p-_/2)?this.face=uo.BOTTOM:Math.abs(this.long0)<=_?this.face=uo.FRONT:Math.abs(this.long0)<=p+_?this.face=this.long0>0?uo.RIGHT:uo.LEFT:this.face=uo.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 fo(t){var e,n,r,i,o,s,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===uo.TOP)i=p-e,n>=_&&n<=p+_?(c.value=lo.AREA_0,r=n-p):n>p+_||n<=-(p+_)?(c.value=lo.AREA_1,r=n>0?n-O:n+O):n>-(p+_)&&n<=-_?(c.value=lo.AREA_2,r=n+p):(c.value=lo.AREA_3,r=n);else if(this.face===uo.BOTTOM)i=p+e,n>=_&&n<=p+_?(c.value=lo.AREA_0,r=-n+p):n<_&&n>=-_?(c.value=lo.AREA_1,r=-n):n<-_&&n>=-(p+_)?(c.value=lo.AREA_2,r=-n-p):(c.value=lo.AREA_3,r=n>0?-n+O:-n-O);else{var u,l,h,f,d,m,g;this.face===uo.RIGHT?n=go(n,+p):this.face===uo.BACK?n=go(n,+O):this.face===uo.LEFT&&(n=go(n,-p)),f=Math.sin(e),d=Math.cos(e),m=Math.sin(n),g=Math.cos(n),u=d*g,l=d*m,h=f,this.face===uo.FRONT?(i=Math.acos(u),r=mo(i,h,l,c)):this.face===uo.RIGHT?(i=Math.acos(l),r=mo(i,h,-u,c)):this.face===uo.BACK?(i=Math.acos(-u),r=mo(i,h,-l,c)):this.face===uo.LEFT?(i=Math.acos(-l),r=mo(i,h,u,c)):(i=r=0,c.value=lo.AREA_0)}return s=Math.atan(12/O*(r+Math.acos(Math.sin(r)*Math.cos(_))-p)),o=Math.sqrt((1-Math.cos(i))/(Math.cos(s)*Math.cos(s))/(1-Math.cos(Math.atan(1/Math.cos(r))))),c.value===lo.AREA_1?s+=p:c.value===lo.AREA_2?s+=O:c.value===lo.AREA_3&&(s+=1.5*O),a.x=o*Math.cos(s),a.y=o*Math.sin(s),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 po(t){var e,n,r,i,o,s,a,c,u,l,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=lo.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(m.value=lo.AREA_1,e-=p):t.x<0&&-t.x>=Math.abs(t.y)?(m.value=lo.AREA_2,e=e<0?e+O:e-O):(m.value=lo.AREA_3,e+=p),u=O/12*Math.tan(e),o=Math.sin(u)/(Math.cos(u)-1/Math.sqrt(2)),s=Math.atan(o),r=Math.cos(e),i=Math.tan(n),a=1-r*r*i*i*(1-Math.cos(Math.atan(1/Math.cos(s)))),a<-1?a=-1:a>1&&(a=1),this.face===uo.TOP)c=Math.acos(a),d.phi=p-c,m.value===lo.AREA_0?d.lam=s+p:m.value===lo.AREA_1?d.lam=s<0?s+O:s-O:m.value===lo.AREA_2?d.lam=s-p:d.lam=s;else if(this.face===uo.BOTTOM)c=Math.acos(a),d.phi=c-p,m.value===lo.AREA_0?d.lam=-s+p:m.value===lo.AREA_1?d.lam=-s:m.value===lo.AREA_2?d.lam=-s-p:d.lam=s<0?-s-O:-s+O;else{var g,v,y;g=a,u=g*g,y=u>=1?0:Math.sqrt(1-u)*Math.sin(s),u+=y*y,v=u>=1?0:Math.sqrt(1-u),m.value===lo.AREA_1?(u=v,v=-y,y=u):m.value===lo.AREA_2?(v=-v,y=-y):m.value===lo.AREA_3&&(u=v,v=y,y=-u),this.face===uo.RIGHT?(u=g,g=-v,v=u):this.face===uo.BACK?(g=-g,v=-v):this.face===uo.LEFT&&(u=g,g=v,v=-u),d.phi=Math.acos(-y)-p,d.lam=Math.atan2(v,g),this.face===uo.RIGHT?d.lam=go(d.lam,-p):this.face===uo.BACK?d.lam=go(d.lam,-O):this.face===uo.LEFT&&(d.lam=go(d.lam,+p))}0!==this.es&&(l=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)),l&&(d.phi=-d.phi));return d.lam+=this.long0,t.x=d.lam,t.y=d.phi,t}function mo(t,e,n,r){var i;return t<v?(r.value=lo.AREA_0,i=0):(i=Math.atan2(e,n),Math.abs(i)<=_?r.value=lo.AREA_0:i>_&&i<=p+_?(r.value=lo.AREA_1,i-=p):i>p+_||i<=-(p+_)?(r.value=lo.AREA_2,i=i>=0?i-O:i+O):(r.value=lo.AREA_3,i+=p)),i}function go(t,e){var n=t+e;return n<-O?n+=w:n>+O&&(n-=w),n}var vo=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"],yo={init:ho,forward:fo,inverse:po,names:vo},bo=[[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]],_o=[[-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]],wo=.8487,Oo=1.3523,xo=b/5,Mo=1/xo,Eo=18,ko=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},jo=function(t,e){return t[1]+e*(2*t[2]+3*e*t[3])};function Ao(t,e,n,r){for(var i=e;r;--r){var o=t(i);if(i-=o,Math.abs(o)<n)break}return i}function Co(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"}function So(t){var e=lt(t.x-this.long0),n=Math.abs(t.y),r=Math.floor(n*xo);r<0?r=0:r>=Eo&&(r=Eo-1),n=b*(n-Mo*r);var i={x:ko(bo[r],n)*e,y:ko(_o[r],n)};return t.y<0&&(i.y=-i.y),i.x=i.x*this.a*wo+this.x0,i.y=i.y*this.a*Oo+this.y0,i}function No(t){var e={x:(t.x-this.x0)/(this.a*wo),y:Math.abs(t.y-this.y0)/(this.a*Oo)};if(e.y>=1)e.x/=bo[Eo][0],e.y=t.y<0?-p:p;else{var n=Math.floor(e.y*Eo);for(n<0?n=0:n>=Eo&&(n=Eo-1);;)if(_o[n][0]>e.y)--n;else{if(!(_o[n+1][0]<=e.y))break;++n}var r=_o[n],i=5*(e.y-r[0])/(_o[n+1][0]-r[0]);i=Ao((function(t){return(ko(r,t)-e.y)/jo(r,t)}),i,v,100),e.x/=ko(bo[n],i),e.y=(5*n+i)*y,t.y<0&&(e.y=-e.y)}return e.x=lt(e.x+this.long0),e}var To=["Robinson","robin"],Io={init:Co,forward:So,inverse:No,names:To};function Po(){this.name="geocent"}function Lo(t){var e=Qt(t,this.es,this.a);return e}function Ro(t){var e=Jt(t,this.es,this.a,this.b);return e}var Fo=["Geocentric","geocentric","geocent","Geocent"],Do={init:Po,forward:Lo,inverse:Ro,names:Fo},Uo={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Bo={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 $o(){if(Object.keys(Bo).forEach(function(t){if("undefined"===typeof this[t])this[t]=Bo[t].def;else{if(Bo[t].num&&isNaN(this[t]))throw new Error("Invalid parameter value, must be numeric "+t+" = "+this[t]);Bo[t].num&&(this[t]=parseFloat(this[t]))}Bo[t].degrees&&(this[t]=this[t]*y)}.bind(this)),Math.abs(Math.abs(this.lat0)-p)<v?this.mode=this.lat0<0?Uo.S_POLE:Uo.N_POLE:Math.abs(this.lat0)<v?this.mode=Uo.EQUIT:(this.mode=Uo.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 qo(t){t.x-=this.long0;var e,n,r,i,o=Math.sin(t.y),s=Math.cos(t.y),a=Math.cos(t.x);switch(this.mode){case Uo.OBLIQ:n=this.sinph0*o+this.cosph0*s*a;break;case Uo.EQUIT:n=s*a;break;case Uo.S_POLE:n=-o;break;case Uo.N_POLE:n=o;break}switch(n=this.pn1/(this.p-n),e=n*s*Math.sin(t.x),this.mode){case Uo.OBLIQ:n*=this.cosph0*o-this.sinph0*s*a;break;case Uo.EQUIT:n*=o;break;case Uo.N_POLE:n*=-s*a;break;case Uo.S_POLE:n*=s*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 Ho(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 o=pn(t.x,t.y);if(Math.abs(o)<v)i.x=0,i.y=t.y;else{var s,a;switch(a=1-o*o*this.pfact,a=(this.p-Math.sqrt(a))/(this.pn1/o+o/this.pn1),s=Math.sqrt(1-a*a),this.mode){case Uo.OBLIQ:i.y=Math.asin(s*this.sinph0+t.y*a*this.cosph0/o),t.y=(s-this.sinph0*Math.sin(i.y))*o,t.x*=a*this.cosph0;break;case Uo.EQUIT:i.y=Math.asin(t.y*a/o),t.y=s*o,t.x*=a;break;case Uo.N_POLE:i.y=Math.asin(s),t.y=-t.y;break;case Uo.S_POLE:i.y=-Math.asin(s);break}i.x=Math.atan2(t.x,t.y)}return t.x=i.x+this.long0,t.y=i.y,t}var Wo=["Tilted_Perspective","tpers"],zo={init:$o,forward:qo,inverse:Ho,names:Wo};function Vo(){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 Yo(t){var e,n,r,i,o=t.x,s=t.y;if(o-=this.long0,"ellipse"===this.shape){s=Math.atan(this.radius_p2*Math.tan(s));var a=this.radius_p/pn(this.radius_p*Math.cos(s),Math.sin(s));if(n=a*Math.cos(o)*Math.cos(s),r=a*Math.sin(o)*Math.cos(s),i=a*Math.sin(s),(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(s),n=Math.cos(o)*e,r=Math.sin(o)*e,i=Math.sin(s),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 Go(t){var e,n,r,i,o=-1,s=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),s=Math.tan(t.x/this.radius_g_1)*pn(1,a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*pn(1,s));var c=a/this.radius_p;if(e=s*s+c*c+o*o,n=2*this.radius_g*o,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),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o),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),s=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+a*a)):(s=Math.tan(t.x/this.radius_g_1),a=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+s*s)),e=s*s+a*a+o*o,n=2*this.radius_g*o,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),o=this.radius_g+i*o,s*=i,a*=i,t.x=Math.atan2(s,o),t.y=Math.atan(a*Math.cos(t.x)/o)}return t.x=t.x+this.long0,t}var Xo=["Geostationary Satellite View","Geostationary_Satellite","geos"],Ko={init:Vo,forward:Yo,inverse:Go,names:Xo},Qo=function(t){t.Proj.projections.add(hn),t.Proj.projections.add(Mn),t.Proj.projections.add(Cn),t.Proj.projections.add($n),t.Proj.projections.add(Yn),t.Proj.projections.add(Jn),t.Proj.projections.add(or),t.Proj.projections.add(lr),t.Proj.projections.add(mr),t.Proj.projections.add(Ar),t.Proj.projections.add(Vr),t.Proj.projections.add(Zr),t.Proj.projections.add(ii),t.Proj.projections.add(li),t.Proj.projections.add(mi),t.Proj.projections.add(wi),t.Proj.projections.add(ki),t.Proj.projections.add(Ni),t.Proj.projections.add(Fi),t.Proj.projections.add(qi),t.Proj.projections.add(Yi),t.Proj.projections.add(Ji),t.Proj.projections.add(ro),t.Proj.projections.add(co),t.Proj.projections.add(yo),t.Proj.projections.add(Io),t.Proj.projections.add(Do),t.Proj.projections.add(zo),t.Proj.projections.add(Ko)};ge.defaultDatum="WGS84",ge.Proj=Xt,ge.WGS84=new ge.Proj("WGS84"),ge.Point=He,ge.toPoint=ae,ge.defs=K,ge.nadgrid=Ft,ge.transform=he,ge.mgrs=Ee,ge.version="__VERSION__",Qo(ge);e["a"]=ge},function(t,e,n){"use strict";var r=n(40);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,,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){"use strict";var r=n(31),i=n(122),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){"use strict";var r=n(237);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,i,o;(function(n,s){i=[],r=s,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})(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,o=Math.sqrt(r*r+i*i)-2e-5*Math.sin(i*t),s=Math.atan2(i,r)-3e-6*Math.cos(r*t),a=o*Math.cos(s),c=o*Math.sin(s);return[a,c]},o=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),o=r*Math.cos(i)+.0065,s=r*Math.sin(i)+.006;return[o,s]},s=function(t,i){i=+i,t=+t;if(l(t,i))return[t,i];var o=c(t-105,i-35),s=u(t-105,i-35),a=i/180*e,h=Math.sin(a);h=1-r*h*h;var f=Math.sqrt(h);o=180*o/(n*(1-r)/(h*f)*e),s=180*s/(n/f*Math.cos(a)*e);var p=i+o,d=t+s;return[d,p]},a=function(t,i){i=+i,t=+t;if(l(t,i))return[t,i];var o=c(t-105,i-35),s=u(t-105,i-35),a=i/180*e,h=Math.sin(a);h=1-r*h*h;var f=Math.sqrt(h);o=180*o/(n*(1-r)/(h*f)*e),s=180*s/(n/f*Math.cos(a)*e);var p=i+o,d=t+s;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},u=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},l=function(t,e){e=+e,t=+t;return!(t>73.66&&t<135.05&&e>3.86&&e<53.55)};return{bd09togcj02:i,gcj02tobd09:o,wgs84togcj02:s,gcj02towgs84:a}}))},,,function(t,e,n){"use strict";var r=n(30),i=n(129),o=n(41),s=n(104),a=n(125),c=n(124),u=r.Symbol,l=i("wks"),h=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return o(l,t)||(l[t]=a&&o(u,t)?u[t]:h("Symbol."+t)),l[t]}},function(t,e,n){"use strict";var r=n(100),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){"use strict";var r=n(44),i=n(130),o=n(227),s=n(83),a=n(120),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";e.f=r?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=l(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 u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return u(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){"use strict";var r,i,o,s=n(257),a=n(44),c=n(30),u=n(31),l=n(49),h=n(41),f=n(106),p=n(128),d=n(61),m=n(84),g=n(140),v=n(68),y=n(258),b=n(105),_=n(54),w=n(104),O=n(132),x=O.enforce,M=O.get,E=c.Int8Array,k=E&&E.prototype,j=c.Uint8ClampedArray,A=j&&j.prototype,C=E&&y(E),S=k&&y(k),N=Object.prototype,T=c.TypeError,I=_("toStringTag"),P=w("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",R=s&&!!b&&"Opera"!==f(c.opera),F=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},B=function(t){if(!l(t))return!1;var e=f(t);return"DataView"===e||h(D,e)||h(U,e)},$=function(t){var e=y(t);if(l(e)){var n=M(e);return n&&h(n,L)?n[L]:$(e)}},q=function(t){if(!l(t))return!1;var e=f(t);return h(D,e)||h(U,e)},H=function(t){if(q(t))return t;throw T("Target is not a typed array")},W=function(t){if(u(t)&&(!b||v(C,t)))return t;throw T(p(t)+" is not a typed array constructor")},z=function(t,e,n,r){if(a){if(n)for(var i in D){var o=c[i];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(s){try{o.prototype[t]=e}catch(u){}}}S[t]&&!n||m(S,t,n?e:R&&k[t]||e,r)}},V=function(t,e,n){var r,i;if(a){if(b){if(n)for(r in D)if(i=c[r],i&&h(i,t))try{delete i[t]}catch(o){}if(C[t]&&!n)return;try{return m(C,t,n?e:R&&C[t]||e)}catch(o){}}for(r in D)i=c[r],!i||i[t]&&!n||m(i,t,e)}};for(r in D)i=c[r],o=i&&i.prototype,o?x(o)[L]=i:R=!1;for(r in U)i=c[r],o=i&&i.prototype,o&&(x(o)[L]=i);if((!R||!u(C)||C===Function.prototype)&&(C=function(){throw T("Incorrect invocation")},R))for(r in D)c[r]&&b(c[r],C);if((!R||!S||S===N)&&(S=C.prototype,R))for(r in D)c[r]&&b(c[r].prototype,S);if(R&&y(A)!==S&&b(A,S),a&&!h(S,I))for(r in F=!0,g(S,I,{configurable:!0,get:function(){return l(this)?this[P]:void 0}}),D)c[r]&&d(c[r],P,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:F&&P,aTypedArray:H,aTypedArrayConstructor:W,exportTypedArrayMethod:z,exportTypedArrayStaticMethod:V,getTypedArrayConstructor:$,isView:B,isTypedArray:q,TypedArray:C,TypedArrayPrototype:S}},function(t,e,n){"use strict";var r=n(30),i=n(119).f,o=n(61),s=n(84),a=n(103),c=n(135),u=n(240);t.exports=function(t,e){var n,l,h,f,p,d,m=t.target,g=t.global,v=t.stat;if(l=g?r:v?r[m]||a(m,{}):(r[m]||{}).prototype,l)for(h in e){if(p=e[h],t.dontCallGetSet?(d=i(l,h),f=d&&d.value):f=l[h],n=u(g?h:m+(v?".":"#")+h,t.forced),!n&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),s(l,h,p,t)}}},function(t,e,n){"use strict";var r=n(79),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){"use strict";var r=n(28),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},function(t,e,n){"use strict";var r=n(44),i=n(56),o=n(80);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(236);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},,,function(t,e,n){t.exports=n(281)},,,function(t,e,n){"use strict";var r=n(28);t.exports=r({}.isPrototypeOf)},function(t,e,n){"use strict";var r=n(31),i=n(128),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},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(286)),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){"use strict";var r=n(40);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(30),i=n(31),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r=n(49),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},function(t,e,n){"use strict";var r=n(31),i=n(56),o=n(131),s=n(103);t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:e;if(r(n)&&o(n,u,a),a.global)c?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},function(t,e,n){"use strict";var r=n(106),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){"use strict";var r=n(84),i=n(28),o=n(85),s=n(139),a=URLSearchParams,c=a.prototype,u=i(c.append),l=i(c["delete"]),h=i(c.forEach),f=i([].push),p=new a("a=1&a=2&b=3");p["delete"]("a",1),p["delete"]("b",void 0),p+""!=="a=2"&&r(c,"delete",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return l(this,t);var r=[];h(this,(function(t,e){f(r,{key:e,value:t})})),s(e,1);var i,a=o(t),c=o(n),p=0,d=0,m=!1,g=r.length;while(p<g)i=r[p++],m||i.key===a?(m=!0,l(this,i.key)):d++;while(d<g)i=r[d++],i.key===a&&i.value===c||u(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},function(t,e,n){"use strict";var r=n(84),i=n(28),o=n(85),s=n(139),a=URLSearchParams,c=a.prototype,u=i(c.getAll),l=i(c.has),h=new a("a=1");!h.has("a",2)&&h.has("a",void 0)||r(c,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return l(this,t);var r=u(this,t);s(e,1);var i=o(n),a=0;while(a<r.length)if(r[a++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},function(t,e,n){"use strict";var r=n(44),i=n(28),o=n(140),s=URLSearchParams.prototype,a=i(s.forEach);r&&!("size"in s)&&o(s,"size",{get:function(){var t=0;return a(this,(function(){t++})),t},configurable:!0,enumerable:!0})},,,,function(t,e,n){"use strict";(function(t){let r,i;function o(){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 s(){return o()?i.now():Date.now()}n.d(e,"a",(function(){return s}))}).call(this,n(47))},,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 o}));const o="function"===typeof Proxy}).call(this,n(47))},,,,function(t,e,n){"use strict";var r=n(99),i=n(100);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r=n(28),i=n(40),o=n(60),s=Object,a=r("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?a(t,""):s(t)}:s},function(t,e,n){"use strict";var r=n(101),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},function(t,e,n){"use strict";t.exports=function(t){return null===t||void 0===t}},function(t,e,n){"use strict";var r=n(30),i=n(103),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},function(t,e,n){"use strict";var r=n(30),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){"use strict";var r=n(28),i=0,o=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},function(t,e,n){"use strict";var r=n(243),i=n(83),o=n(244);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(s){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){"use strict";var r=n(246),i=n(31),o=n(60),s=n(54),a=s("toStringTag"),c=Object,u="Arguments"===o(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=c(t),a))?n:u?o(e):"Object"===(r=o(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){"use strict";(function(e){var r=n(42),i=n(287),o=n(145),s={"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(146)),t}function u(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 l={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"),u(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(s){if("SyntaxError"===a.name)throw o(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){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(s)})),t.exports=l}).call(this,n(70))},function(t,e,n){"use strict";var r=n(58),i=n(311).left,o=n(312),s=n(126),a=n(313),c=!a&&s>79&&s<83,u=c||!o("reduce");r({target:"Array",proto:!0,forced:u},{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 Te})),n.d(e,"b",(function(){return V})),n.d(e,"c",(function(){return Le}));var r=n(0);
- /*!
- * vue-router v4.0.3
- * (c) 2021 Eduardo San Martin Morote
- * @license MIT
- */const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,o=t=>i?Symbol("[vue-router]: "+t):"[vue-router]: "+t,s=o("router view location matched"),a=o("router view depth"),c=o("router"),u=o("route location"),l=o("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 v=/\/$/,y=t=>t.replace(v,"");function b(t,e,n="/"){let r,i={},o="",s="";const a=e.indexOf("?"),c=e.indexOf("#",a>-1?a:0);return a>-1&&(r=e.slice(0,a),o=e.slice(a+1,c>-1?c:e.length),i=t(o)),c>-1&&(r=r||e.slice(0,c),s=e.slice(c,e.length)),r=j(null!=r?r:e,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function _(t,e){let n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function w(t,e){return!e||t.toLowerCase().indexOf(e.toLowerCase())?t:t.slice(e.length)||"/"}function O(t,e,n){let r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&x(e.matched[r],n.matched[i])&&M(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function x(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function M(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)?k(t,e):Array.isArray(e)?k(e,t):t===e}function k(t,e){return Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):1===t.length&&t[0]===e}function j(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,o,s=n.length-1;for(i=0;i<r.length;i++)if(o=r[i],1!==s&&"."!==o){if(".."!==o)break;s--}return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var A,C;(function(t){t["pop"]="pop",t["push"]="push"})(A||(A={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(C||(C={}));function S(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),y(t)}const N=/^[^#]+#/;function T(t,e){return t.replace(N,"#")+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 P=()=>({left:window.pageXOffset,top:window.pageYOffset});function L(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 o="string"===typeof r?i?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return void g(`Couldn't find element using selector "${t.el}" returned by scrollBehavior.`);e=I(o,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 D(t,e){F.set(t,e)}function U(t){const e=F.get(t);return F.delete(t),e}let B=()=>location.protocol+"//"+location.host;function $(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let t=i.slice(1);return"/"!==t[0]&&(t="/"+t),w(t,"")}const s=w(n,t);return s+r+i}function q(t,e,n,r){let i=[],o=[],s=null;const a=({state:o})=>{const a=$(t,location),c=n.value,u=e.value;let l=0;if(o){if(n.value=a,e.value=o,s&&s===c)return void(s=null);l=u?o.position-u.position:0}else r(a);i.forEach(t=>{t(n.value,c,{delta:l,type:A.pop,direction:l?l>0?C.forward:C.back:C.unknown})})};function c(){s=n.value}function u(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return o.push(e),e}function l(){const{history:t}=window;t.state&&t.replaceState(p({},t.state,{scroll:P()}),"")}function h(){for(const t of o)t();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l),{pauseListeners:c,listen:u,destroy:h}}function H(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?P():null}}function W(t){const{history:e,location:n}=window;let r={value:$(t,n)},i={value:e.state};function o(r,o,s){const a=t.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+r:B()+t+r;try{e[s?"replaceState":"pushState"](o,"",c),i.value=o}catch(u){g("Error with push/replace State",u),n[s?"replace":"assign"](c)}}function s(t,n){const s=p({},e.state,H(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});o(t,s,!0),r.value=t}function a(t,n){const s=p({},i.value,e.state,{forward:t,scroll:P()});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."),o(s.current,s,!0);const a=p({},H(r.value,t,null),{position:s.position+1},n);o(t,a,!1),r.value=t}return i.value||o(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:s}}function z(t){t=S(t);const e=W(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:T.bind(null,t)},e,n);return Object.defineProperty(i,"location",{get:()=>e.location.value}),Object.defineProperty(i,"state",{get:()=>e.state.value}),i}function V(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(/#.*$/,"#")}".`),z(t)}function Y(t){return"string"===typeof t||t&&"object"===typeof t}function G(t){return"string"===typeof t||"symbol"===typeof t}const X={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},K=o("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},ot=/[.+*?^${}()[\]/\\]/g;function st(t,e){const n=p({},it,e);let r=[],i=n.start?"^":"";const o=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let e=0;e<l.length;e++){const r=l[e];let s=40+(n.sensitive?.25:0);if(0===r.type)e||(i+="/"),i+=r.value.replace(ot,"\\$&"),s+=40;else if(1===r.type){const{value:t,repeatable:n,optional:a,regexp:c}=r;o.push({name:t,repeatable:n,optional:a});const l=c||rt;if(l!==rt){s+=10;try{new RegExp(`(${l})`)}catch(u){throw new Error(`Invalid custom RegExp for param "${t}" (${l}): `+u.message)}}let h=n?`((?:${l})(?:/(?:${l}))*)`:`(${l})`;e||(h=a?`(?:/${h})`:"/"+h),a&&(h+="?"),i+=h,s+=20,a&&(s+=-8),n&&(s+=-20),".*"===l&&(s+=-50)}t.push(s)}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 s=new RegExp(i,n.sensitive?"":"i");function a(t){const e=t.match(s),n={};if(!e)return null;for(let r=1;r<e.length;r++){const t=e[r]||"",i=o[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:o,optional:s}=t,a=i in e?e[i]:"";if(Array.isArray(a)&&!o)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(!s)throw new Error(`Missing required param "${i}"`);n.endsWith("/")?n=n.slice(0,-1):r=!0}n+=c}}return n}return{re:s,score:r,keys:o,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 ut={type:0,value:""},lt=/[a-zA-Z0-9_]/;function ht(t){if(!t)return[[]];if("/"===t)return[[ut]];if(!t.startsWith("/"))throw new Error(`Route paths should start with a "/": "${t}" should be "/${t}".`);function e(t){throw new Error(`ERR (${n})/"${u}": ${t}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a,c=0,u="",l="";function h(){u&&(0===n?o.push({type:0,value:u}):1===n||2===n||3===n?(o.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:l,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),u="")}function f(){u+=a}while(c<t.length)if(a=t[c++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(u&&h(),s()):":"===a?(h(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===a?n=2:lt.test(a)?f():(h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--);break;case 2:")"===a?"\\"==l[l.length-1]?l=l.slice(0,-1)+a:n=3:l+=a;break;case 3:h(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&c--,l="";break;default:e("Unknown state");break}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${u}"`),h(),s(),i}function ft(t,e,n){const r=st(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 o(t,n,r){let i=!r,a=mt(t);a.aliasOf=r&&r.record;const u=bt(e,t),l=[a];if("alias"in t){const e="string"===typeof t.alias?[t.alias]:t.alias;for(const t of e)l.push(p({},a,{components:r?r.record.components:a.components,path:t,aliasOf:r?r.record:a}))}let h,f;for(const e of l){let{path:l}=e;if(n&&"/"!==l[0]){let t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(l&&r+l)}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,u),n&&"/"===l[0]&&Ot(h,n),r?(r.alias.push(h),wt(r,h)):(f=f||h,f!==h&&f.alias.push(h),i&&t.name&&!vt(h)&&s(t.name)),"children"in a){let t=a.children;for(let e=0;e<t.length;e++)o(t[e],h,r&&r.children[e])}r=r||h,c(h)}return f?()=>{s(f)}:m}function s(t){if(G(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{let e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}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&&!vt(t)&&r.set(t.record.name,t)}function u(t,e){let i,o,s,a={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw Z(1,{location:t});s=i.record.name,a=p(dt(e.params,i.keys.filter(t=>!t.optional).map(t=>t.name)),t.params),o=i.stringify(a)}else if("path"in t)o=t.path,o.startsWith("/")||g(`The Matcher cannot resolve relative paths but received "${o}". Unless you directly called \`matcher.resolve("${o}")\`, 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(o)),i&&(a=i.parse(o),s=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});s=i.record.name,a=p({},e.params,t.params),o=i.stringify(a)}const c=[];let u=i;while(u)c.unshift(u.record),u=u.parent;return{name:s,path:o,params:a,matched:c,meta:yt(c)}}return e=bt({strict:!1,end:!0,sensitive:!1},e),t.forEach(t=>o(t)),{addRoute:o,resolve:u,removeRoute:s,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 vt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function yt(t){return t.reduce((t,e)=>p(t,e.meta),{})}function bt(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 wt(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 Ot(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 xt=/#/g,Mt=/&/g,Et=/\//g,kt=/=/g,jt=/\?/g,At=/\+/g,Ct=/%5B/g,St=/%5D/g,Nt=/%5E/g,Tt=/%60/g,It=/%7B/g,Pt=/%7C/g,Lt=/%7D/g,Rt=/%20/g;function Ft(t){return encodeURI(""+t).replace(Pt,"|").replace(Ct,"[").replace(St,"]")}function Dt(t){return Ft(t).replace(It,"{").replace(Lt,"}").replace(Nt,"^")}function Ut(t){return Ft(t).replace(At,"%2B").replace(Rt,"+").replace(xt,"%23").replace(Mt,"%26").replace(Tt,"`").replace(It,"{").replace(Lt,"}").replace(Nt,"^")}function Bt(t){return Ut(t).replace(kt,"%3D")}function $t(t){return Ft(t).replace(xt,"%23").replace(jt,"%3F")}function qt(t){return $t(t).replace(Et,"%2F")}function Ht(t){try{return decodeURIComponent(""+t)}catch(e){g(`Error decoding "${t}". Using original value`)}return""+t}function Wt(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(At," ");let n=t.indexOf("="),o=Ht(n<0?t:t.slice(0,n)),s=n<0?null:Ht(t.slice(n+1));if(o in e){let t=e[o];Array.isArray(t)||(t=e[o]=[t]),t.push(s)}else e[o]=s}return e}function zt(t){let e="";for(let n in t){e.length&&(e+="&");const r=t[n];if(n=Bt(n),null==r){void 0!==r&&(e+=n);continue}let i=Array.isArray(r)?r.map(t=>t&&Ut(t)):[r&&Ut(r)];for(let t=0;t<i.length;t++)e+=(t?"&":"")+n,null!=i[t]&&(e+="="+i[t])}return e}function Vt(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 Yt(){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 Gt(t,e,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const c=t=>{!1===t?a(Z(4,{from:n,to:e})):t instanceof Error?a(t):Y(t)?a(Z(2,{from:e,to:t})):(o&&r.enterCallbacks[i]===o&&"function"===typeof t&&o.push(t),s())},u=t.call(r&&r.instances[i],e,n,Xt(c,e,n));let l=Promise.resolve(u);if(t.length<3&&(l=l.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 u&&"then"in u)l=l.then(t=>c._called?t:(g(e),Promise.reject(new Error("Invalid navigation guard"))));else if(void 0!==u&&!c._called)return g(e),void a(new Error("Invalid navigation guard"))}l.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 o of t)for(const t in o.components){let s=o.components[t];if(!s||"object"!==typeof s&&"function"!==typeof s)throw g(`Component "${t}" in record with path "${o.path}" is not a valid component. Received "${String(s)}".`),new Error("Invalid route component");if("then"in s){g(`Component "${t}" in record with path "${o.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=s;s=()=>e}else s.__asyncLoader&&!s.__warnedDefineAsync&&(s.__warnedDefineAsync=!0,g(`Component "${t}" in record with path "${o.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));if("beforeRouteEnter"===e||o.instances[t])if(Qt(s)){let a=s.__vccOpts||s;const c=a[e];c&&i.push(Gt(c,n,r,o,t))}else{let a=s();"catch"in a?a=a.catch(t=>t&&g(t)):(g(`Component "${t}" in record with path "${o.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 "${o.path}"`));const s=f(i)?i.default:i;o.components[t]=s;const a=s[e];return a&&Gt(a,n,r,o,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"])(u),i=Object(r["f"])(()=>e.resolve(Object(r["Z"])(t.to))),o=Object(r["f"])(()=>{let{matched:t}=i.value,{length:e}=t;const r=t[e-1];let o=n.matched;if(!r||!o.length)return-1;let s=o.findIndex(x.bind(null,r));if(s>-1)return s;let a=re(t[e-2]);return e>1&&re(r)===a&&o[o.length-1].path!==a?o.findIndex(x.bind(null,t[e-2])):s}),s=Object(r["f"])(()=>o.value>-1&&ne(n.params,i.value.params)),a=Object(r["f"])(()=>o.value>-1&&o.value===n.matched.length-1&&M(n.params,i.value.params));function l(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:s,isExactActive:a,navigate:l}}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:o}=Object(r["u"])(c),s=Object(r["f"])(()=>({[ie(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[ie(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const o=e.default&&e.default(i);return t.custom?o:Object(r["t"])("a",p({"aria-current":i.isExactActive?t.ariaCurrentValue:null,onClick:i.navigate,href:i.href},n,{class:s.value}),o)}}}),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,oe=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"])(l),o=Object(r["f"])(()=>t.route||i.value),c=Object(r["u"])(a,0),u=Object(r["f"])(()=>o.value.matched[c]);Object(r["K"])(a,c+1),Object(r["K"])(s,u),Object(r["K"])(l,o);const h=Object(r["N"])();return Object(r["cb"])(()=>[h.value,u.value,t.name],([t,e,n],[r,i,o])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards=i.leaveGuards,e.updateGuards=i.updateGuards)),!t||!e||i&&x(e,i)&&r||(e.enterCallbacks[n]||[]).forEach(e=>e(t))},{flush:"post"}),()=>{const i=o.value,s=u.value,a=s&&s.components[t.name],c=t.name;if(!a)return se(n.default,{Component:a,route:i});const l=s.props[t.name],f=l?!0===l?i.params:"function"===typeof l?l(i):l:null,d=t=>{t.component.isUnmounted&&(s.instances[c]=null)},m=Object(r["t"])(a,p({},f,e,{onVnodeUnmounted:d,ref:h}));return se(n.default,{Component:m,route:i})||m}}});function se(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ae=oe;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 ue(){return le().__VUE_DEVTOOLS_GLOBAL_HOOK__}function le(){return"undefined"!==typeof navigator?window:"undefined"!==typeof t?t:{}}const he="devtools-plugin:setup";function fe(t,e){const n=ue();if(n)n.emit(he,t,e);else{const n=le(),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=>Ne(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},o=>{o.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(),o.notifyComponentUpdate(),o.sendInspectorTree(a)});const s="router:navigations:"+i;o.addTimelineLayer({id:s,label:`Router${i?" "+i:""} Navigations`,color:4237508}),e.onError(t=>{o.addTimelineEvent({layerId:s,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")};o.addTimelineEvent({layerId:s,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"),o.addTimelineEvent({layerId:s,event:{time:Date.now(),data:r,logType:n?"warning":"default",meta:{}}})});const a="router-inspector:"+i;function c(){if(!u)return;const t=u;let r=n.getRoutes().filter(t=>!t.parent);r.forEach(Ce),t.filter&&(r=r.filter(e=>Se(e,t.filter.toLowerCase()))),r.forEach(t=>Ae(t,e.currentRoute.value)),t.rootNodes=r.map(Ee)}let u;o.addInspector({id:a,label:"Routes"+(i?" "+i:""),icon:"book",treeFilterPlaceholder:"Search routes"}),o.on.getInspectorTree(e=>{u=e,e.app===t&&e.inspectorId===a&&c()}),o.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:ye(r)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function ve(t){return t.optional?t.repeatable?"*":"?":t.repeatable?"+":""}function ye(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}${ve(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 be=15485081,_e=2450411,we=8702998,Oe=2282478,xe=16486972,Me=6710886;function Ee(t){const e=[],{record:n}=t;null!=n.name&&e.push({label:String(n.name),textColor:0,backgroundColor:Oe}),n.aliasOf&&e.push({label:"alias",textColor:0,backgroundColor:xe}),t.__vd_match&&e.push({label:"matches",textColor:0,backgroundColor:be}),t.__vd_exactActive&&e.push({label:"exact",textColor:0,backgroundColor:we}),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:Me});let r=String(ke++);return n.__vd_id=r,{id:r,label:n.path,tags:e,children:t.children.map(Ee)}}let ke=0;const je=/^\/(.*)\/([a-z]*)$/;function Ae(t,e){const n=e.matched.length&&x(e.matched[e.matched.length-1],t.record);t.__vd_exactActive=t.__vd_active=n,n||(t.__vd_active=e.matched.some(e=>x(e,t.record))),t.children.forEach(t=>Ae(t,e))}function Ce(t){t.__vd_match=!1,t.children.forEach(Ce)}function Se(t,e){const n=String(t.re).match(je);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=>Se(t,e)),("/"!==t.record.path||"/"===e)&&(t.__vd_match=t.re.test(e),!0);const i=t.record.path.toLowerCase(),o=Ht(i);return!(e.startsWith("/")||!o.includes(e)&&!i.includes(e))||(!(!o.startsWith(e)&&!i.startsWith(e))||(!(!t.record.name||!String(t.record.name).includes(e))||t.children.some(t=>Se(t,e))))}function Ne(t,e){const n={};for(let r in t)e.includes(r)||(n[r]=t[r]);return n}function Te(t){const e=pt(t.routes,t);let n=t.parseQuery||Wt,i=t.stringifyQuery||zt,o=t.history;const s=Yt(),a=Yt(),f=Yt(),v=Object(r["V"])(X);let y=X;h&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const w=d.bind(null,t=>""+t),x=d.bind(null,qt),M=d.bind(null,Ht);function E(t,n){let r,i;return G(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)}function k(t){let n=e.getRecordMatcher(t);n?e.removeRoute(n):g(`Cannot remove non-existent route "${String(t)}"`)}function j(){return e.getRoutes().map(t=>t.record)}function A(t){return!!e.getRecordMatcher(t)}function C(t,r){if(r=p({},r||v.value),"string"===typeof t){let i=b(n,t,r.path),s=e.resolve({path:i.path},r),a=o.createHref(i.fullPath);return a.startsWith("//")?g(`Location "${t}" resolved to "${a}". A resolved location cannot start with multiple slashes.`):s.matched.length||g(`No match found for location with path "${t}"`),p(i,s,{params:M(s.params),hash:Ht(i.hash),redirectedFrom:void 0,href:a})}let s;"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.`),s=p({},t,{path:b(n,t.path,r.path).path})):(s=p({},t,{params:x(t.params)}),r.params=x(r.params));let a=e.resolve(s,r);const c=t.hash||"";c&&!c.startsWith("#")&&g(`A \`hash\` should always start with the character "#". Replace "${c}" with "#${c}".`),a.params=w(M(a.params));const u=_(i,p({},t,{hash:Dt(c),path:a.path}));let l=o.createHref(u);return l.startsWith("//")?g(`Location "${t}" resolved to "${l}". 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:u,hash:c,query:i===zt?Vt(t.query):t.query},a,{redirectedFrom:void 0,href:l})}function S(t){return"string"===typeof t?b(n,t,v.value.path):p({},t)}function N(t,e){if(y!==t)return Z(8,{from:e,to:t})}function T(t){return B(t)}function I(t){return T(p(S(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=S(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 B(t,e){const n=y=C(t),r=v.value,o=t.state,s=t.force,a=!0===t.replace,c=F(n);if(c)return B(p(S(c),{state:o,force:s,replace:a}),e||n);const u=n;let l;return u.redirectedFrom=e,!s&&O(i,r,n)&&(l=Z(16,{to:u,from:r}),rt(r,r,!0,!1)),(l?Promise.resolve(l):q(u,r)).catch(t=>tt(t)?t:J(t)).then(t=>{if(t){if(tt(t,2))return O(i,C(t.to),u)&&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 "${u.fullPath}". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):B(p(S(t.to),{state:o,force:s,replace:a}),e||u)}else t=W(u,r,!0,a,o);return H(u,r,t),t})}function $(t,e){const n=N(t,e);return n?Promise.reject(n):Promise.resolve()}function q(t,e){let n;const[r,i,o]=Pe(t,e);n=Kt(r.reverse(),"beforeRouteLeave",t,e);for(const s of r)s.leaveGuards.forEach(r=>{n.push(Gt(r,t,e))});const c=$.bind(null,t,e);return n.push(c),Ie(n).then(()=>{n=[];for(const r of s.list())n.push(Gt(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(Gt(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(Gt(i,t,e));else n.push(Gt(r.beforeEnter,t,e));return n.push(c),Ie(n)}).then(()=>(t.matched.forEach(t=>t.enterCallbacks={}),n=Kt(o,"beforeRouteEnter",t,e),n.push(c),Ie(n))).then(()=>{n=[];for(const r of a.list())n.push(Gt(r,t,e));return n.push(c),Ie(n)}).catch(t=>tt(t,8)?t:Promise.reject(t))}function H(t,e,n){for(const r of f.list())r(t,e,n)}function W(t,e,n,r,i){const s=N(t,e);if(s)return s;const a=e===X,c=h?history.state:{};n&&(r||a?o.replace(t.fullPath,p({scroll:a&&c&&c.scroll},i)):o.push(t.fullPath,i)),v.value=t,rt(t,e,n,a),nt()}let z;function V(){z=o.listen((t,e,n)=>{let r=C(t);const i=F(r);if(i)return void B(p(i,{replace:!0}),r).catch(m);y=r;const s=v.value;h&&D(R(s.fullPath,n.delta),P()),q(r,s).catch(t=>tt(t,12)?t:tt(t,2)?(B(t.to,r).catch(m),Promise.reject()):(n.delta&&o.go(-n.delta,!1),J(t))).then(t=>{t=t||W(r,s,!1),t&&n.delta&&o.go(-n.delta,!1),H(r,s,t)}).catch(m)})}let Y,K=Yt(),Q=Yt();function J(t){return nt(t),Q.list().forEach(e=>e(t)),Promise.reject(t)}function et(){return Y&&v.value!==X?Promise.resolve():new Promise((t,e)=>{K.add([t,e])})}function nt(t){Y||(Y=!0,V(),K.list().forEach(([e,n])=>t?n(t):e()),K.reset())}function rt(e,n,i,o){const{scrollBehavior:s}=t;if(!h||!s)return Promise.resolve();let a=!i&&U(R(e.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return Object(r["y"])().then(()=>s(e,n,a)).then(t=>t&&L(t)).catch(J)}const it=t=>o.go(t);let ot;const st=new Set,at={currentRoute:v,addRoute:E,removeRoute:k,hasRoute:A,getRoutes:j,resolve:C,options:t,push:T,replace:I,go:it,back:()=>it(-1),forward:()=>it(1),beforeEach:s.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"])(v)}),h&&!ot&&v.value===X&&(ot=!0,T(o.location).catch(t=>{g("Unexpected error when starting the router:",t)}));const i={};for(let e in X)i[e]=Object(r["f"])(()=>v.value[e]);t.provide(c,n),t.provide(u,Object(r["M"])(i)),t.provide(l,v);let s=t.unmount;st.add(t),t.unmount=function(){st.delete(t),st.size<1&&(z(),v.value=X,ot=!1,Y=!1),s.call(this,arguments)},ge(t,n,e)}};return at}function Ie(t){return t.reduce((t,e)=>t.then(()=>e()),Promise.resolve())}function Pe(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let s=0;s<o;s++){const o=e.matched[s];o&&(t.matched.indexOf(o)<0?n.push(o):r.push(o));const a=t.matched[s];a&&e.matched.indexOf(a)<0&&i.push(a)}return[n,r,i]}function Le(){return Object(r["u"])(u)}}).call(this,n(47))},,,,,,,,,,function(t,e,n){"use strict";var r=n(44),i=n(59),o=n(223),s=n(80),a=n(98),c=n(120),u=n(41),l=n(130),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=a(t),e=c(e),l)try{return h(t,e)}catch(n){}if(u(t,e))return s(!i(o.f,t,e),t[e])}},function(t,e,n){"use strict";var r=n(121),i=n(123);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e,n){"use strict";var r=n(59),i=n(49),o=n(123),s=n(127),a=n(225),c=n(54),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},function(t,e,n){"use strict";var r="object"==typeof document&&document.all,i="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:i}},function(t,e,n){"use strict";var r=n(81),i=n(31),o=n(68),s=n(124),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},function(t,e,n){"use strict";var r=n(125);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){"use strict";var r=n(126),i=n(40),o=n(30),s=o.String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){"use strict";var r,i,o=n(30),s=n(224),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},function(t,e,n){"use strict";var r=n(69),i=n(101);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},function(t,e,n){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},function(t,e,n){"use strict";var r=n(82),i=n(102);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.32.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){"use strict";var r=n(44),i=n(40),o=n(226);t.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";var r=n(28),i=n(40),o=n(31),s=n(41),a=n(44),c=n(228).CONFIGURABLE,u=n(229),l=n(132),h=l.enforce,f=l.get,p=String,d=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=a&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===m(p(e),0,7)&&(e="["+g(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&s(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=h(t);return s(r,"source")||(r.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=_((function(){return o(this)&&f(this).source||u(this)}),"toString")},function(t,e,n){"use strict";var r,i,o,s=n(230),a=n(30),c=n(49),u=n(61),l=n(41),h=n(102),f=n(133),p=n(134),d="Object already initialized",m=a.TypeError,g=a.WeakMap,v=function(t){return o(t)?i(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(s||h.state){var b=h.state||(h.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw m(d);return e.facade=t,b.set(t,e),e},i=function(t){return b.get(t)||{}},o=function(t){return b.has(t)}}else{var _=f("state");p[_]=!0,r=function(t,e){if(l(t,_))throw m(d);return e.facade=t,u(t,_,e),e},i=function(t){return l(t,_)?t[_]:{}},o=function(t){return l(t,_)}}t.exports={set:r,get:i,has:o,enforce:v,getterFor:y}},function(t,e,n){"use strict";var r=n(129),i=n(104),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r=n(41),i=n(231),o=n(119),s=n(56);t.exports=function(t,e,n){for(var a=i(e),c=s.f,u=o.f,l=0;l<a.length;l++){var h=a[l];r(t,h)||n&&r(n,h)||c(t,h,u(e,h))}}},function(t,e,n){"use strict";var r=n(31),i=n(49),o=n(105);t.exports=function(t,e,n){var s,a;return o&&r(s=e.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(t,a),t}},function(t,e,n){"use strict";var r=n(85);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},function(t,e,n){"use strict";var r=n(28),i=Error,o=r("".replace),s=function(t){return String(i(t).stack)}("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);t.exports=function(t,e){if(c&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=o(t,a,"");return t}},function(t,e,n){"use strict";var r=TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},function(t,e,n){"use strict";var r=n(131),i=n(56);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},function(t,e,n){"use strict";var r=n(261),i=n(99),o=n(55),s=n(50),a=function(t){var e=1===t;return function(n,a,c){var u,l,h=o(n),f=i(h),p=r(a,c),d=s(f);while(d-- >0)if(u=f[d],l=p(u,d,h),l)switch(t){case 0:return u;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(42);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 o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];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)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}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(42),i=n(288),o=n(289),s=n(144),a=n(290),c=n(293),u=n(294),l=n(147);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 v=a(t.baseURL,t.url);function y(){if(d){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,o=p&&"text"!==p&&"json"!==p?d.response:d.responseText,s={data:o,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,n,s),d=null}}if(d.open(t.method.toUpperCase(),s(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,"onloadend"in d?d.onloadend=y:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(y)},d.onabort=function(){d&&(n(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||u(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(f[t.xsrfHeaderName]=b)}"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(145);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(42);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["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 u(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(o,u),r.forEach(s,(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 l=i.concat(o).concat(s).concat(a),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(h,u),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";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";(function(t){n.d(e,"a",(function(){return H}));const r="3.7.5",i=r,o="function"===typeof atob,s="function"===typeof btoa,a="function"===typeof t,c="function"===typeof TextDecoder?new TextDecoder:void 0,u="function"===typeof TextEncoder?new TextEncoder:void 0,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=Array.prototype.slice.call(l),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=>new Uint8Array(Array.prototype.slice.call(t,0)),g=t=>t.replace(/=/g,"").replace(/[+\/]/g,t=>"+"==t?"-":"_"),v=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),y=t=>{let e,n,r,i,o="";const s=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,o+=h[e>>18&63]+h[e>>12&63]+h[e>>6&63]+h[63&e]}return s?o.slice(0,s-3)+"===".substring(s):o},b=s?t=>btoa(t):a?e=>t.from(e,"binary").toString("base64"):y,_=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 b(n.join(""))},w=(t,e=!1)=>e?g(_(t)):_(t),O=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)},x=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,M=t=>t.replace(x,O),E=a?e=>t.from(e,"utf8").toString("base64"):u?t=>_(u.encode(t)):t=>b(M(t)),k=(t,e=!1)=>e?g(E(t)):E(t),j=t=>k(t,!0),A=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=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))}},S=t=>t.replace(A,C),N=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 o=0;o<t.length;)e=f[t.charAt(o++)]<<18|f[t.charAt(o++)]<<12|(n=f[t.charAt(o++)])<<6|(r=f[t.charAt(o++)]),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},T=o?t=>atob(v(t)):a?e=>t.from(e,"base64").toString("binary"):N,I=a?e=>m(t.from(e,"base64")):t=>m(T(t).split("").map(t=>t.charCodeAt(0))),P=t=>I(R(t)),L=a?e=>t.from(e,"base64").toString("utf8"):c?t=>c.decode(I(t)):t=>S(T(t)),R=t=>v(t.replace(/[-_]/g,t=>"-"==t?"+":"/")),F=t=>L(R(t)),D=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)},U=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),B=function(){const t=(t,e)=>Object.defineProperty(String.prototype,t,U(e));t("fromBase64",(function(){return F(this)})),t("toBase64",(function(t){return k(this,t)})),t("toBase64URI",(function(){return k(this,!0)})),t("toBase64URL",(function(){return k(this,!0)})),t("toUint8Array",(function(){return P(this)}))},$=function(){const t=(t,e)=>Object.defineProperty(Uint8Array.prototype,t,U(e));t("toBase64",(function(t){return w(this,t)})),t("toBase64URI",(function(){return w(this,!0)})),t("toBase64URL",(function(){return w(this,!0)}))},q=()=>{B(),$()},H={version:r,VERSION:i,atob:T,atobPolyfill:N,btoa:b,btoaPolyfill:y,fromBase64:F,toBase64:k,encode:k,encodeURI:j,encodeURL:j,utob:M,btou:S,decode:F,isValid:D,fromUint8Array:w,toUint8Array:P,extendString:B,extendUint8Array:$,extendBuiltins:q}}).call(this,n(275).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0);const i={};function o(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)},s(t.src,(function(t){i.readAsArrayBuffer(t)}))}else{var o=new XMLHttpRequest;o.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";e=o.response,n(e),o=null},o.open("GET",t.src,!0),o.responseType="arraybuffer",o.send(null)}else r("img error")})}function s(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),o=0;o<n;o++)i[o]=e.charCodeAt(o);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 u(t){var e,n,r,i,o,s,a,u,l,h,f=new DataView(t),p=f.byteLength;if(255===f.getUint8(0)&&216===f.getUint8(1))for(l=2;l<p;){if(255===f.getUint8(l)&&225===f.getUint8(l+1)){a=l;break}l++}if(a&&(n=a+4,r=a+10,"Exif"===c(f,n,4)&&(s=f.getUint16(r),o=18761===s,(o||19789===s)&&42===f.getUint16(r+2,o)&&(i=f.getUint32(r+4,o),i>=8&&(u=r+i)))),u)for(p=f.getUint16(u,o),h=0;h<p;h++)if(l=u+12*h+2,274===f.getUint16(l,o)){l+=8,e=f.getUint16(l,o);break}return e}i.getData=t=>new Promise((e,n)=>{let r={};o(t).then(t=>{r.arrayBuffer=t,r.orientation=u(t),e(r)}).catch(t=>{n(t)})});const l=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},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,validator:function(t){return Array.isArray(t)?Number(t[0])>=0&&Number(t[1])>=0:Number(t)>=0}},fillColor:{type:String,default:""}},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(){return!!window.ActiveXObject||"ActiveXObject"in window},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 o=0;o<e.length;o++)i.test(e[o])&&(n=e[o]);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"),o=i.getContext("2d");switch(o.save(),e){case 2:i.width=n,i.height=r,o.translate(n,0),o.scale(-1,1);break;case 3:i.width=n,i.height=r,o.translate(n/2,r/2),o.rotate(180*Math.PI/180),o.translate(-n/2,-r/2);break;case 4:i.width=n,i.height=r,o.translate(0,r),o.scale(1,-1);break;case 5:i.height=n,i.width=r,o.rotate(.5*Math.PI),o.scale(1,-1);break;case 6:i.width=r,i.height=n,o.translate(r/2,n/2),o.rotate(90*Math.PI/180),o.translate(-n/2,-r/2);break;case 7:i.height=n,i.width=r,o.rotate(.5*Math.PI),o.translate(n,-r),o.scale(-1,1);break;case 8:i.height=n,i.width=r,o.translate(r/2,n/2),o.rotate(-90*Math.PI/180),o.translate(-n/2,-r/2);break;default:i.width=n,i.height=r}o.drawImage(t,0,0,n,r),o.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("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},o={x:t.touches[1].clientX,y:t.touches[1].clientY},s=Math.sqrt(Math.pow(n.x-i.x,2)+Math.pow(n.y-i.y,2)),a=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),c=a-s,u=1;u=u/this.trueWidth>u/this.trueHeight?u/this.trueHeight:u/this.trueWidth,u=u>.1?.1:u;var l=u*c;if(!this.touchNow){if(this.touchNow=!0,c>0?e+=Math.abs(l):c<0&&e>Math.abs(l)&&(e-=Math.abs(l)),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,o,s=this.getImgAxis(e,n,this.scale),a=this.getCropAxis(),c=this.trueHeight*this.scale,u=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-u)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(u-c)/2,i=t-c+this.cropW,o=r-u+this.cropH;break;default:t=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,i=t-u+this.cropW,o=r-c+this.cropH;break}s.x1>=a.x1&&(e=t),s.y1>=a.y1&&(n=r),s.x2<=a.x2&&(e=i),s.y2<=a.y2&&(n=o)}this.x=e,this.y=n,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("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 o=i*n;o<0?e+=Math.abs(o):e>Math.abs(o)&&(e-=Math.abs(o));let s=o<0?"add":"reduce";if(s!==this.coeStatus&&(this.coeStatus=s,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,o=0,s=0;if(this.centerBox){let t=this.getImgAxis(),e=t.x2,n=t.y2;o=t.x1>0?t.x1:0,s=t.y1>0?t.y1:0,r>e&&(r=e),i>n&&(i=n)}const[a,c]=this.checkCropLimitSize();this.$nextTick(()=>{var t=e-this.cropX,u=n-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-t<a?(this.cropW=a,this.cropOffsertX=this.cropOldW+this.cropChangeX-o-a):this.cropOldW-t>0?(this.cropW=r-this.cropChangeX-t<=r-o?this.cropOldW-t:this.cropOldW+this.cropChangeX-o,this.cropOffsertX=r-this.cropChangeX-t<=r-o?this.cropChangeX+t:o):(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<a?this.cropW=a: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-o?Math.abs(t+this.cropOldW):this.cropChangeX-o,this.cropOffsertX=r-this.cropChangeX+Math.abs(t+this.cropOldW)<=r-o?this.cropChangeX-Math.abs(t+this.cropOldW):o))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-u<c?(this.cropH=c,this.cropOffsertY=this.cropOldH+this.cropChangeY-s-c):this.cropOldH-u>0?(this.cropH=i-this.cropChangeY-u<=i-s?this.cropOldH-u:this.cropOldH+this.cropChangeY-s,this.cropOffsertY=i-this.cropChangeY-u<=i-s?this.cropChangeY+u:s):(this.cropH=Math.abs(u)+this.cropChangeY<=i?Math.abs(u)-this.cropOldH:i-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+u<c?this.cropH=c:this.cropOldH+u>0?(this.cropH=this.cropOldH+u+this.cropOffsertY<=i?this.cropOldH+u:i-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=i-this.cropChangeY+Math.abs(u+this.cropOldH)<=i-s?Math.abs(u+this.cropOldH):this.cropChangeY-s,this.cropOffsertY=i-this.cropChangeY+Math.abs(u+this.cropOldH)<=i-s?this.cropChangeY-Math.abs(u+this.cropOldH):s))),this.canChangeX&&this.fixed){var l=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];l<c?(this.cropH=c,this.cropW=this.fixedNumber[0]*c/this.fixedNumber[1],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):l+this.cropOffsertY>i?(this.cropH=i-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=l}if(this.canChangeY&&this.fixed){var h=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];h<a?(this.cropW=a,this.cropH=this.fixedNumber[1]*a/this.fixedNumber[0],this.cropOffsertY=this.cropOldH+this.cropChangeY-this.cropH):h+this.cropOffsertX>r?(this.cropW=r-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=h}})},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)},calculateSize(t,e,n,r,i,o){const s=t/e;let a=i,c=o;return a<n&&(a=n,c=Math.ceil(a/s)),c<r&&(c=r,a=Math.ceil(c*s),a<n&&(a=n,c=Math.ceil(a/s))),a<i&&(a=i,c=Math.ceil(a/s)),c<o&&(c=o,a=Math.ceil(c*s)),{width:a,height:c}},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1);let[t,e]=this.checkCropLimitSize();const{width:n,height:r}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],t,e,this.cropW,this.cropH):{width:t,height:e};n>this.cropW&&(this.cropW=n,this.cropOffsertX+n>this.w&&(this.cropOffsertX=this.w-n)),r>this.cropH&&(this.cropH=r,this.cropOffsertY+r>this.h&&(this.cropOffsertY=this.h-r)),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("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,o=n-this.cropX,s=r-this.cropY;if(e&&(o=this.cropOffsertX,s=this.cropOffsertY),t=o<=0?0:o+this.cropW>this.w?this.w-this.cropW:o,i=s<=0?0:s+this.cropH>this.h?this.h-this.cropH:s,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("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,o=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-o)/2,r.x2=r.x1+this.trueHeight*n,r.y1=e+this.trueHeight*(1-n)/2+(o-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("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(t){let e=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,o=this.trueHeight,s=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 l=this.cropW*c,h=this.cropH*c,f=i*this.scale*c,p=o*this.scale*c,d=(this.x-s+this.trueWidth*(1-this.scale)/2)*c,m=(this.y-a+this.trueHeight*(1-this.scale)/2)*c;switch(u(l,h),t.save(),this.fillColor&&(t.fillStyle=this.fillColor,t.fillRect(0,0,e.width,e.height)),r){case 0:this.full?(u(l/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?(u(l/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?(u(l/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?(u(l/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?(u(l/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,s=o*this.scale,a=e.getContext("2d");switch(a.save(),this.fillColor&&(a.fillStyle=this.fillColor,a.fillRect(0,0,e.width,e.height)),r){case 0:u(t,s),a.drawImage(n,0,0,t,s);break;case 1:case-3:u(s,t),a.rotate(90*r*Math.PI/180),a.drawImage(n,0,-s,t,s);break;case 2:case-2:u(t,s),a.rotate(90*r*Math.PI/180),a.drawImage(n,-t,-s,t,s);break;case 3:case-1:u(s,t),a.rotate(90*r*Math.PI/180),a.drawImage(n,-t,0,t,s);break;default:u(t,s),a.drawImage(n,0,0,t,s)}a.restore()}t(e)};var c=this.img.substr(0,4);function u(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,o=(this.y-this.cropOffsertY)/n,s=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, ${o}px, ${s}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, ${o}px, ${s}px)rotateZ(${90*this.rotate}deg)">\n </div>\n </div>`,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"),setTimeout(()=>{this.showPreview()},20)})},t.onerror=()=>{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 o=e/this.trueWidth;let s=1,a=r[1];-1!==a.search("px")&&(a=a.replace("px",""),n=parseFloat(a),s=n/this.trueHeight),t=Math.min(o,s)}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{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),o=e||parseFloat(this.autoCropHeight);(0===i||0===o)&&(i=.8*n,o=.8*r),i=i>n?n:i,o=o>r?r:o,this.fixed&&(o=i/this.fixedNumber[0]*this.fixedNumber[1]),o>this.h&&(o=this.h,i=o/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(i,o)},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),o=this.getCropAxis();i.x1>=o.x1&&(r=!1),i.x2<=o.x2&&(r=!1),i.y1>=o.y1&&(r=!1),i.y2<=o.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]),o=i.length,s=new Uint8Array(o),a=0;a<o;a++)s[a]=i.charCodeAt(a);e(new Blob([s],{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 v(t,e,n,i,o,s){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)}const y=l(h,[["render",v],["__scopeId","data-v-18751258"]])},function(t,e,n){!function(e,n){t.exports=n()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=57)}([function(t,e,n){var r=n(2),i=n(11),o=n(4),s=n(13),a=n(22),c=function(t,e,n){var u,l,h,f,p=t&c.F,d=t&c.G,m=t&c.S,g=t&c.P,v=t&c.B,y=d?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?i:i[e]||(i[e]={}),_=b.prototype||(b.prototype={});for(u in d&&(n=e),n)h=((l=!p&&y&&void 0!==y[u])?y:n)[u],f=v&&l?a(h,r):g&&"function"==typeof h?a(Function.call,h):h,y&&s(y,u,h,t&c.U),b[u]!=h&&o(b,u,f),g&&_[u]!=h&&(_[u]=h)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(17)("wks"),i=n(14),o=n(2).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(5),i=n(16);t.exports=n(6)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12),i=n(35),o=n(21),s=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(39),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(0);r(r.S+r.F*!n(6),"Object",{defineProperty:n(5).f})},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),i=n(4),o=n(8),s=n(14)("src"),a=n(59),c=(""+a).split("toString");n(11).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(45),i=n(28);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(11),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(2),i=n(8),o=n(6),s=n(0),a=n(13),c=n(62).KEY,u=n(7),l=n(17),h=n(26),f=n(14),p=n(1),d=n(43),m=n(44),g=n(63),v=n(42),y=n(12),b=n(3),_=n(19),w=n(9),O=n(21),x=n(16),M=n(30),E=n(67),k=n(49),j=n(47),A=n(5),C=n(15),S=k.f,N=A.f,T=E.f,I=r.Symbol,P=r.JSON,L=P&&P.stringify,R=p("_hidden"),F=p("toPrimitive"),D={}.propertyIsEnumerable,U=l("symbol-registry"),B=l("symbols"),$=l("op-symbols"),q=Object.prototype,H="function"==typeof I&&!!j.f,W=r.QObject,z=!W||!W.prototype||!W.prototype.findChild,V=o&&u((function(){return 7!=M(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=S(q,e);r&&delete q[e],N(t,e,n),r&&t!==q&&N(q,e,r)}:N,Y=function(t){var e=B[t]=M(I.prototype);return e._k=t,e},G=H&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},X=function(t,e,n){return t===q&&X($,e,n),y(t),e=O(e,!0),y(n),i(B,e)?(n.enumerable?(i(t,R)&&t[R][e]&&(t[R][e]=!1),n=M(n,{enumerable:x(0,!1)})):(i(t,R)||N(t,R,x(1,{})),t[R][e]=!0),V(t,e,n)):N(t,e,n)},K=function(t,e){y(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)X(t,n=r[i++],e[n]);return t},Q=function(t){var e=D.call(this,t=O(t,!0));return!(this===q&&i(B,t)&&!i($,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,R)&&this[R][t])||e)},J=function(t,e){if(t=w(t),e=O(e,!0),t!==q||!i(B,e)||i($,e)){var n=S(t,e);return!n||!i(B,e)||i(t,R)&&t[R][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=T(w(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==R||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===q,r=T(n?$:w(t)),o=[],s=0;r.length>s;)!i(B,e=r[s++])||n&&!i(q,e)||o.push(B[e]);return o};H||(a((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===q&&e.call($,n),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),V(this,t,x(1,n))};return o&&z&&V(q,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",(function(){return this._k})),k.f=J,A.f=X,n(48).f=E.f=Z,n(29).f=Q,j.f=tt,o&&!n(18)&&a(q,"propertyIsEnumerable",Q,!0),d.f=function(t){return Y(p(t))}),s(s.G+s.W+s.F*!H,{Symbol:I});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=C(p.store),it=0;rt.length>it;)m(rt[it++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=I(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),s(s.S+s.F*!H,"Object",{create:function(t,e){return void 0===e?M(t):K(M(t),e)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var ot=u((function(){j.f(1)}));s(s.S+s.F*ot,"Object",{getOwnPropertySymbols:function(t){return j.f(_(t))}}),P&&s(s.S+s.F*(!H||u((function(){var t=I();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!G(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,L.apply(P,r)}}),I.prototype[F]||n(4)(I.prototype,F,I.prototype.valueOf),h(I,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,e,n){var r=n(3);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(37);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(5).f,i=n(8),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(17)("keys"),i=n(14);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(12),i=n(65),o=n(28),s=n(27)("IE_PROTO"),a=function(){},c=function(){var t,e=n(36)("iframe"),r=o.length;for(e.style.display="none",n(66).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){"use strict";var r=n(68),i=n(69),o=n(32),s=n(9);t.exports=n(70)(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports={}},function(t,e,n){n(44)("asyncIterator")},function(t,e,n){"use strict";var r=n(0),i=n(38)(0),o=n(25)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){t.exports=!n(6)&&!n(7)((function(){return 7!=Object.defineProperty(n(36)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(3),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(22),i=n(39),o=n(19),s=n(40),a=n(60);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,h=6==t,f=5==t||h,p=e||a;return function(e,a,d){for(var m,g,v=o(e),y=i(v),b=r(a,d,3),_=s(y.length),w=0,O=n?p(e,_):c?p(e,0):void 0;_>w;w++)if((f||w in y)&&(g=b(m=y[w],w,v),t))if(n)O[w]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:O.push(m)}else if(l)return!1;return h?-1:u||l?l:O}}},function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(41),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){e.f=n(1)},function(t,e,n){var r=n(2),i=n(11),o=n(18),s=n(43),a=n(5).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){var r=n(8),i=n(9),o=n(46)(!1),s=n(27)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(9),i=n(40),o=n(64);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(45),i=n(28).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(29),i=n(16),o=n(9),s=n(21),a=n(8),c=n(35),u=Object.getOwnPropertyDescriptor;e.f=n(6)?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){for(var r=n(31),i=n(15),o=n(13),s=n(2),a=n(4),c=n(32),u=n(1),l=u("iterator"),h=u("toStringTag"),f=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(p),m=0;m<d.length;m++){var g,v=d[m],y=p[v],b=s[v],_=b&&b.prototype;if(_&&(_[l]||a(_,l,f),_[h]||a(_,h,v),c[v]=f,y))for(g in r)_[g]||o(_,g,r[g],!0)}},function(t,e,n){"use strict";var r=n(73),i={};i[n(1)("toStringTag")]="z",i+""!="[object z]"&&n(13)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(19),i=n(15);n(74)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){"use strict";var r=n(0),i=n(38)(2);r(r.P+r.F*!n(25)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(75)})},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(30)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(81).set})},function(t,e,n){n(58),t.exports=n(82)},function(t,e){},function(t,e,n){t.exports=n(17)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(61);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(3),i=n(42),o=n(1)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(14)("meta"),i=n(3),o=n(8),s=n(5).f,a=0,c=Object.isExtensible||function(){return!0},u=!n(7)((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return u&&h.NEED&&c(t)&&!o(t,r)&&l(t),t}}},function(t,e,n){var r=n(15),i=n(47),o=n(29);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),c=o.f,u=0;a.length>u;)c.call(t,s=a[u++])&&e.push(s);return e}},function(t,e,n){var r=n(41),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(5),i=n(12),o=n(15);t.exports=n(6)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(9),i=n(48).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return s.slice()}}(t):i(r(t))}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;null==i[r]&&n(4)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(18),i=n(0),o=n(13),s=n(4),a=n(32),c=n(71),u=n(26),l=n(72),h=n(1)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,d,m,g,v){c(n,e,d);var y,b,_,w=function(t){if(!f&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",x="values"==m,M=!1,E=t.prototype,k=E[h]||E["@@iterator"]||m&&E[m],j=k||w(m),A=m?x?w("entries"):j:void 0,C="Array"==e&&E.entries||k;if(C&&(_=l(C.call(new t)))!==Object.prototype&&_.next&&(u(_,O,!0),r||"function"==typeof _[h]||s(_,h,p)),x&&k&&"values"!==k.name&&(M=!0,j=function(){return k.call(this)}),r&&!v||!f&&!M&&E[h]||s(E,h,j),a[e]=j,a[O]=p,m)if(y={values:x?j:w("values"),keys:g?j:w("keys"),entries:A},v)for(b in y)b in E||o(E,b,y[b]);else i(i.P+i.F*(f||M),e,y);return y}},function(t,e,n){"use strict";var r=n(30),i=n(16),o=n(26),s={};n(4)(s,n(1)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(8),i=n(19),o=n(27)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(23),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(0),i=n(11),o=n(7);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},function(t,e,n){"use strict";var r=n(37),i=n(3),o=n(76),s=[].slice,a={};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),c=function(){var r=n.concat(s.call(arguments));return this instanceof c?function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)}(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){"use strict";n(78)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,n){var r=n(0),i=n(24),o=n(7),s=n(79),a="["+s+"]",c=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),l=function(t,e,n){var i={},a=o((function(){return!!s[t]()||"
"!="
"[t]()})),c=i[t]=a?e(h):s[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},h=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(0),i=n(46)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(25)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(3),i=n(12),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(22)(Function.call,n(49).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){"use strict";n.r(e),n(34),n(20),n(50),n(31),n(51),n(52),n(10),n(53),n(54);var r=.75,i=10,o=!0,s=!0,a=!0,c=!1,u="driver-highlighted-element-stage",l='<div id="'.concat("driver-page-overlay",'"></div>'),h='<div id="'.concat(u,'"></div>');function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n(33),n(77);var p=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},d=function t(e,n){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){for(var r=["","-webkit-","-ms-","moz-","-o-"],i=0;i<r.length;i++){var o=t(e,r[i]+n);if(o)return o}return""}var s="";return e.currentStyle?s=e.currentStyle[n]:document.defaultView&&document.defaultView.getComputedStyle&&(s=document.defaultView.getComputedStyle(e,null).getPropertyValue(n)),s&&s.toLowerCase?s.toLowerCase():s},m=function(t){return t&&"object"===f(t)&&"nodeType"in t};function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var v=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=e,this.highlightedElement=null,this.lastHighlightedElement=null,this.hideTimer=null,this.window=n,this.document=r,this.removeNode=this.removeNode.bind(this)}var e,n,r;return e=t,(n=[{key:"attachNode",value:function(){var t=this.document.getElementById("driver-page-overlay");t||(t=p(l),document.body.appendChild(t)),this.node=t,this.node.style.opacity="0",this.options.animate||this.node.parentElement&&this.node.parentElement.removeChild(this.node)}},{key:"highlight",value:function(t){t&&t.node?t.isSame(this.highlightedElement)||(this.window.clearTimeout(this.hideTimer),t.onHighlightStarted(),this.highlightedElement&&!this.highlightedElement.isSame(this.lastHighlightedElement)&&this.highlightedElement.onDeselected(),t.getCalculatedPosition().canHighlight()&&(this.lastHighlightedElement=this.highlightedElement,this.highlightedElement=t,this.show(),this.highlightedElement.onHighlighted())):console.warn("Invalid element to highlight. Must be an instance of `Element`")}},{key:"show",value:function(){var t=this;this.node&&this.node.parentElement||(this.attachNode(),window.setTimeout((function(){t.node.style.opacity="".concat(t.options.opacity),t.node.style.position="fixed",t.node.style.left="0",t.node.style.top="0",t.node.style.bottom="0",t.node.style.right="0"})))}},{key:"getHighlightedElement",value:function(){return this.highlightedElement}},{key:"getLastHighlightedElement",value:function(){return this.lastHighlightedElement}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.options.onReset&&this.options.onReset(this.highlightedElement),this.highlightedElement&&this.highlightedElement.onDeselected(!0),this.highlightedElement=null,this.lastHighlightedElement=null,this.node&&(this.window.clearTimeout(this.hideTimer),this.options.animate&&!t?(this.node.style.opacity="0",this.hideTimer=this.window.setTimeout(this.removeNode,300)):this.removeNode())}},{key:"removeNode",value:function(){this.node&&this.node.parentElement&&this.node.parentElement.removeChild(this.node)}},{key:"refresh",value:function(){this.highlightedElement&&(this.highlightedElement.showPopover(),this.highlightedElement.showStage())}}])&&g(e.prototype,n),r&&g(e,r),t}();function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n(80);var b=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.left,r=void 0===n?0:n,i=e.top,o=void 0===i?0:i,s=e.right,a=void 0===s?0:s,c=e.bottom,u=void 0===c?0:c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.left=r,this.right=a,this.top=o,this.bottom=u}var e,n,r;return e=t,(n=[{key:"canHighlight",value:function(){return this.left<this.right&&this.top<this.bottom}}])&&y(e.prototype,n),r&&y(e,r),t}();function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var w=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.node,r=e.options,i=e.popover,o=e.stage,s=e.overlay,a=e.window,c=e.document;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.node=n,this.document=c,this.window=a,this.options=r,this.overlay=s,this.popover=i,this.stage=o,this.animationTimeout=null}var e,n,r;return e=t,(n=[{key:"isInView",value:function(){for(var t=this.node.offsetTop,e=this.node.offsetLeft,n=this.node.offsetWidth,r=this.node.offsetHeight,i=this.node;i.offsetParent;)t+=(i=i.offsetParent).offsetTop,e+=i.offsetLeft;return t>=this.window.pageYOffset&&e>=this.window.pageXOffset&&t+r<=this.window.pageYOffset+this.window.innerHeight&&e+n<=this.window.pageXOffset+this.window.innerWidth}},{key:"scrollManually",value:function(){var t=this.node.getBoundingClientRect().top+this.window.pageYOffset-this.window.innerHeight/2;this.window.scrollTo(0,t)}},{key:"bringInView",value:function(){if(this.node&&!this.isInView())if(this.node.scrollIntoView)try{this.node.scrollIntoView(this.options.scrollIntoViewOptions||{behavior:"instant",block:"center"})}catch(t){this.scrollManually()}else this.scrollManually()}},{key:"getCalculatedPosition",value:function(){var t=this.document.body,e=this.document.documentElement,n=this.window,r=this.window.pageYOffset||e.scrollTop||t.scrollTop,i=n.pageXOffset||e.scrollLeft||t.scrollLeft,o=this.node.getBoundingClientRect();return new b({top:o.top+r,left:o.left+i,right:o.left+i+o.width,bottom:o.top+r+o.height})}},{key:"getPopover",value:function(){return this.popover}},{key:"onDeselected",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.hidePopover(),t&&this.hideStage(),this.removeHighlightClasses(),this.window.clearTimeout(this.animationTimeout),this.options.onDeselected&&this.options.onDeselected(this)}},{key:"isSame",value:function(t){return!(!t||!t.node)&&t.node===this.node}},{key:"onHighlightStarted",value:function(){this.options.onHighlightStarted&&this.options.onHighlightStarted(this)}},{key:"onHighlighted",value:function(){this.isInView()||this.bringInView(),this.showPopover(),this.showStage(),this.addHighlightClasses(),this.options.onHighlighted&&this.options.onHighlighted(this)}},{key:"removeHighlightClasses",value:function(){this.node.classList.remove("driver-highlighted-element"),this.node.classList.remove("driver-position-relative");for(var t=this.document.querySelectorAll(".".concat("driver-fix-stacking")),e=0;e<t.length;e++)t[e].classList.remove("driver-fix-stacking")}},{key:"addHighlightClasses",value:function(){this.node.classList.add("driver-highlighted-element"),this.canMakeRelative()&&this.node.classList.add("driver-position-relative"),this.fixStackingContext()}},{key:"fixStackingContext",value:function(){for(var t=this.node.parentNode;t&&t.tagName&&"body"!==t.tagName.toLowerCase();){var e=d(t,"z-index"),n=parseFloat(d(t,"opacity")),r=d(t,"transform",!0),i=d(t,"transform-style",!0),o=d(t,"transform-box",!0),s=d(t,"filter",!0),a=d(t,"perspective",!0);(/[0-9]+/.test(e)||n<1||r&&"none"!==r||i&&"flat"!==i||o&&"border-box"!==o||s&&"none"!==s||a&&"none"!==a)&&t.classList.add("driver-fix-stacking"),t=t.parentNode}}},{key:"canMakeRelative",value:function(){var t=this.getStyleProperty("position");return-1===["absolute","fixed","relative"].indexOf(t)}},{key:"getStyleProperty",value:function(t){return d(this.node,t)}},{key:"showStage",value:function(){this.stage.show(this.getCalculatedPosition())}},{key:"getNode",value:function(){return this.node}},{key:"hideStage",value:function(){this.stage.hide()}},{key:"hidePopover",value:function(){this.popover&&this.popover.hide()}},{key:"showPopover",value:function(){var t=this;if(this.popover){var e=this.getCalculatedPosition(),n=300;this.options.animate&&this.overlay.lastHighlightedElement||(n=0),this.animationTimeout=this.window.setTimeout((function(){t.popover.show(e)}),n)}}},{key:"getFullPageSize",value:function(){var t=this.document.body,e=this.document.documentElement;return{height:Math.max(t.scrollHeight,t.offsetHeight,e.scrollHeight,e.offsetHeight),width:Math.max(t.scrollWidth,t.offsetWidth,e.scrollWidth,e.offsetWidth)}}},{key:"getSize",value:function(){return{height:Math.max(this.node.scrollHeight,this.node.offsetHeight),width:Math.max(this.node.scrollWidth,this.node.offsetWidth)}}}])&&_(e.prototype,n),r&&_(e,r),t}();function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(55),n(56);var A=function(t){function e(t,n,r){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=E(this,k(e).call(this))).options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){x(t,e,n[e])}))}return t}({isFirst:!0,isLast:!0,totalCount:1,currentIndex:0,offset:0,showButtons:!0,closeBtnText:"Close",doneBtnText:"Done",startBtnText:"Next →",nextBtnText:"Next →",prevBtnText:"← Previous"},t),i.window=n,i.document=r,i}var n,r,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(e,w),n=e,(r=[{key:"attachNode",value:function(){var t=this.document.getElementById("driver-popover-item");t&&t.parentElement.removeChild(t),t=p(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return'\n <div id="'.concat("driver-popover-item",'" class="').concat(t,'">\n <div class="').concat("driver-popover-tip",'"></div>\n <div class="').concat("driver-popover-title",'">Popover Title</div>\n <div class="').concat("driver-popover-description",'">Popover Description</div>\n <div class="driver-clearfix ').concat("driver-popover-footer",'">\n <button class="').concat("driver-close-btn",'">Close</button>\n <span class="driver-btn-group ').concat("driver-navigation-btns",'">\n <button class="').concat("driver-prev-btn",'">← Previous</button>\n <button class="').concat("driver-next-btn",'">Next →</button>\n </span>\n </div>\n </div>')}(this.options.className)),document.body.appendChild(t),this.node=t,this.tipNode=t.querySelector(".".concat("driver-popover-tip")),this.titleNode=t.querySelector(".".concat("driver-popover-title")),this.descriptionNode=t.querySelector(".".concat("driver-popover-description")),this.footerNode=t.querySelector(".".concat("driver-popover-footer")),this.nextBtnNode=t.querySelector(".".concat("driver-next-btn")),this.prevBtnNode=t.querySelector(".".concat("driver-prev-btn")),this.closeBtnNode=t.querySelector(".".concat("driver-close-btn"))}},{key:"getTitleNode",value:function(){return this.titleNode}},{key:"getDescriptionNode",value:function(){return this.descriptionNode}},{key:"hide",value:function(){this.node&&(this.node.style.display="none")}},{key:"setInitialState",value:function(){this.node.style.display="block",this.node.style.left="0",this.node.style.top="0",this.node.style.bottom="",this.node.style.right="",this.node.querySelector(".".concat("driver-popover-tip")).className="driver-popover-tip"}},{key:"show",value:function(t){switch(this.attachNode(),this.setInitialState(),this.titleNode.innerHTML=this.options.title,this.descriptionNode.innerHTML=this.options.description||"",this.renderFooter(),this.options.position){case"left":case"left-top":this.positionOnLeft(t);break;case"left-center":this.positionOnLeftCenter(t);break;case"left-bottom":this.positionOnLeftBottom(t);break;case"right":case"right-top":this.positionOnRight(t);break;case"right-center":this.positionOnRightCenter(t);break;case"right-bottom":this.positionOnRightBottom(t);break;case"top":case"top-left":this.positionOnTop(t);break;case"top-center":this.positionOnTopCenter(t);break;case"top-right":this.positionOnTopRight(t);break;case"bottom":case"bottom-left":this.positionOnBottom(t);break;case"bottom-center":this.positionOnBottomCenter(t);break;case"bottom-right":this.positionOnBottomRight(t);break;case"mid-center":this.positionOnMidCenter(t);break;case"auto":default:this.autoPosition(t)}this.bringInView()}},{key:"renderFooter",value:function(){this.nextBtnNode.innerHTML=this.options.nextBtnText,this.prevBtnNode.innerHTML=this.options.prevBtnText,this.closeBtnNode.innerHTML=this.options.closeBtnText;var t=this.options.totalCount&&1!==this.options.totalCount;this.options.showButtons?(t?(this.nextBtnNode.style.display="inline-block",this.prevBtnNode.style.display="inline-block",this.closeBtnNode.classList.remove("driver-close-only-btn")):(this.nextBtnNode.style.display="none",this.prevBtnNode.style.display="none",this.closeBtnNode.classList.add("driver-close-only-btn")),this.footerNode.style.display="block",this.options.isFirst?(this.prevBtnNode.classList.add("driver-disabled"),this.nextBtnNode.innerHTML=this.options.startBtnText):this.prevBtnNode.classList.remove("driver-disabled"),this.options.isLast?this.nextBtnNode.innerHTML=this.options.doneBtnText:this.nextBtnNode.innerHTML=this.options.nextBtnText):this.footerNode.style.display="none"}},{key:"positionOnLeft",value:function(t){var e=this.getSize().width,n=this.options.padding+10;this.node.style.left="".concat(t.left-e-n,"px"),this.node.style.top="".concat(t.top+this.options.offset-this.options.padding,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("right")}},{key:"positionOnLeftBottom",value:function(t){var e=this.getSize(),n=e.width,r=this.options.padding+10;this.node.style.left="".concat(t.left-n-r,"px"),this.node.style.top="".concat(t.bottom+this.options.padding+this.options.offset-e.height,"px"),this.node.style.bottom="",this.node.style.right="",this.tipNode.classList.add("right","position-bottom")}},{key:"positionOnLeftCenter",value:function(t){var e=this.getSize(),n=e.width,r=e.height/2,i=this.options.padding+10,o=(t.bottom-t.top)/2,s=t.top-r+o+this.options.offset;this.node.style.left="".concat(t.left-n-i,"px"),this.node.style.top="".concat(s,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("right","position-center")}},{key:"positionOnRight",value:function(t){var e=this.options.padding+10;this.node.style.left="".concat(t.right+e,"px"),this.node.style.top="".concat(t.top+this.options.offset-this.options.padding,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("left")}},{key:"positionOnRightCenter",value:function(t){var e=this.getSize(),n=this.options.padding+10,r=e.height/2,i=(t.bottom-t.top)/2,o=t.top-r+i+this.options.offset;this.node.style.left="".concat(t.right+n,"px"),this.node.style.top="".concat(o,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("left","position-center")}},{key:"positionOnRightBottom",value:function(t){var e=this.options.padding+10,n=this.getSize();this.node.style.left="".concat(t.right+e,"px"),this.node.style.top="".concat(t.bottom+this.options.padding+this.options.offset-n.height,"px"),this.node.style.bottom="",this.node.style.right="",this.tipNode.classList.add("left","position-bottom")}},{key:"positionOnTop",value:function(t){var e=this.getSize().height,n=this.options.padding+10;this.node.style.top="".concat(t.top-e-n,"px"),this.node.style.left="".concat(t.left-this.options.padding+this.options.offset,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("bottom")}},{key:"positionOnTopCenter",value:function(t){var e=this.getSize(),n=e.height,r=e.width/2,i=this.options.padding+10,o=this.options.offset+t.left+(t.right-t.left)/2;this.node.style.top="".concat(t.top-n-i,"px"),this.node.style.left="".concat(o-r-this.options.padding,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("bottom","position-center")}},{key:"positionOnTopRight",value:function(t){var e=this.getSize(),n=e.height,r=this.options.padding+10;this.node.style.top="".concat(t.top-n-r,"px"),this.node.style.left="".concat(t.right+this.options.padding+this.options.offset-e.width,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("bottom","position-right")}},{key:"positionOnBottom",value:function(t){var e=this.options.padding+10;this.node.style.top="".concat(t.bottom+e,"px"),this.node.style.left="".concat(t.left-this.options.padding+this.options.offset,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("top")}},{key:"positionOnBottomCenter",value:function(t){var e=this.getSize().width/2,n=this.options.padding+10,r=this.options.offset+t.left+(t.right-t.left)/2;this.node.style.top="".concat(t.bottom+n,"px"),this.node.style.left="".concat(r-e-this.options.padding,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("top","position-center")}},{key:"positionOnBottomRight",value:function(t){var e=this.getSize(),n=this.options.padding+10;this.node.style.top="".concat(t.bottom+n,"px"),this.node.style.left="".concat(t.right+this.options.padding+this.options.offset-e.width,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("top","position-right")}},{key:"positionOnMidCenter",value:function(t){var e=this.getSize(),n=e.height,r=e.width/2,i=n/2,o=(t.bottom-t.top)/2,s=t.top-i+o+this.options.offset,a=this.options.offset+t.left+(t.right-t.left)/2;this.node.style.top="".concat(s,"px"),this.node.style.left="".concat(a-r-this.options.padding,"px"),this.node.style.right="",this.node.style.bottom="",this.tipNode.classList.add("mid-center")}},{key:"autoPosition",value:function(t){var e=this.getFullPageSize(),n=this.getSize(),r=e.height,i=n.height,o=this.options.padding+10;t.bottom+i+o>=r?this.positionOnTop(t):this.positionOnBottom(t)}}])&&M(n.prototype,r),i&&M(n,i),e}();function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function N(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var P=function(t){function e(t,n,r){var i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(i=N(this,T(e).call(this))).options=t,i.window=n,i.document=r,i}var n,r,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(e,w),n=e,(r=[{key:"attachNode",value:function(){var t=this.document.getElementById(u);t||(t=p(h),document.body.appendChild(t)),this.node=t,this.options.animate?this.node.classList.remove("driver-stage-no-animation"):this.node.classList.add("driver-stage-no-animation")}},{key:"hide",value:function(){this.node&&this.node.parentElement&&this.node.parentElement.removeChild(this.node)}},{key:"setInitialStyle",value:function(){this.node.style.display="block",this.node.style.left="0",this.node.style.top="0",this.node.style.bottom="",this.node.style.right=""}},{key:"show",value:function(t){this.attachNode(),this.setInitialStyle();var e=2*this.options.padding,n=t.right-t.left+e,r=t.bottom-t.top+e;this.node.style.display="block",this.node.style.position="absolute",this.node.style.width="".concat(n,"px"),this.node.style.height="".concat(r,"px"),this.node.style.top="".concat(t.top-e/2,"px"),this.node.style.left="".concat(t.left-e/2,"px"),this.node.style.backgroundColor=this.options.stageBackground}}])&&S(n.prototype,r),i&&S(n,i),e}();function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){R(t,e,n[e])}))}return t}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.d(e,"default",(function(){return D}));var D=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=L({animate:o,opacity:r,padding:i,scrollIntoViewOptions:null,allowClose:s,keyboardControl:a,overlayClickNext:c,stageBackground:"#ffffff",onHighlightStarted:function(){return null},onHighlighted:function(){return null},onDeselected:function(){return null},onReset:function(){return null},onNext:function(){return null},onPrevious:function(){return null}},e),this.document=document,this.window=window,this.isActivated=!1,this.steps=[],this.currentStep=0,this.currentMovePrevented=!1,this.overlay=new v(this.options,window,document),this.onResize=this.onResize.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onClick=this.onClick.bind(this),this.moveNext=this.moveNext.bind(this),this.movePrevious=this.movePrevious.bind(this),this.preventMove=this.preventMove.bind(this),this.bind()}var e,n,u;return e=t,(n=[{key:"getSteps",value:function(){return this.steps}},{key:"setSteps",value:function(t){this.steps=t}},{key:"bind",value:function(){this.window.addEventListener("resize",this.onResize,!1),this.window.addEventListener("keyup",this.onKeyUp,!1),"ontouchstart"in document.documentElement?this.window.addEventListener("touchstart",this.onClick,!1):this.window.addEventListener("click",this.onClick,!1)}},{key:"onClick",value:function(t){if(this.isActivated&&this.hasHighlightedElement()){t.stopPropagation();var e=this.overlay.getHighlightedElement(),n=this.document.getElementById("driver-popover-item"),r=e.node.contains(t.target),i=n&&n.contains(t.target);if(r||i||!this.options.overlayClickNext)if(r||i||!this.options.allowClose){var o=t.target.classList.contains("driver-next-btn"),s=t.target.classList.contains("driver-prev-btn");t.target.classList.contains("driver-close-btn")?this.reset():o?this.handleNext():s&&this.handlePrevious()}else this.reset();else this.handleNext()}}},{key:"onResize",value:function(){this.isActivated&&this.refresh()}},{key:"refresh",value:function(){this.overlay.refresh()}},{key:"onKeyUp",value:function(t){if(this.isActivated&&this.options.keyboardControl)if(27!==t.keyCode){var e=this.getHighlightedElement();e&&e.popover&&(39===t.keyCode?this.handleNext():37===t.keyCode&&this.handlePrevious())}else this.reset()}},{key:"movePrevious",value:function(){var t=this.steps[this.currentStep-1];t?(this.overlay.highlight(t),this.currentStep-=1):this.reset()}},{key:"preventMove",value:function(){this.currentMovePrevented=!0}},{key:"handleNext",value:function(){this.currentMovePrevented=!1;var t=this.steps[this.currentStep];t&&t.options&&t.options.onNext&&t.options.onNext(this.overlay.highlightedElement),this.currentMovePrevented||this.moveNext()}},{key:"handlePrevious",value:function(){this.currentMovePrevented=!1;var t=this.steps[this.currentStep];t&&t.options&&t.options.onPrevious&&t.options.onPrevious(this.overlay.highlightedElement),this.currentMovePrevented||this.movePrevious()}},{key:"moveNext",value:function(){var t=this.steps[this.currentStep+1];t?(this.overlay.highlight(t),this.currentStep+=1):this.reset()}},{key:"hasNextStep",value:function(){return!!this.steps[this.currentStep+1]}},{key:"hasPreviousStep",value:function(){return!!this.steps[this.currentStep-1]}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.currentStep=0,this.isActivated=!1,this.overlay.clear(t)}},{key:"hasHighlightedElement",value:function(){var t=this.overlay.getHighlightedElement();return t&&t.node}},{key:"getHighlightedElement",value:function(){return this.overlay.getHighlightedElement()}},{key:"getLastHighlightedElement",value:function(){return this.overlay.getLastHighlightedElement()}},{key:"defineSteps",value:function(t){this.steps=[];for(var e=0;e<t.length;e++){var n=this.prepareElementFromStep(t[e],t,e);n&&this.steps.push(n)}}},{key:"prepareElementFromStep",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=L({},this.options),i=t,o="string"!=typeof t&&!m(t);if(!t||o&&!t.element)throw new Error("Element is required in step ".concat(n));o&&(i=t.element,r=L({},this.options,t));var s=m(i)?i:this.document.querySelector(i);if(!s)return console.warn("Element to highlight ".concat(i," not found")),null;var a=null;if(r.popover&&r.popover.title){var c=[this.options.className,r.popover.className].filter((function(t){return t})).join(" "),u=L({},r,r.popover,{className:c,totalCount:e.length,currentIndex:n,isFirst:0===n,isLast:0===e.length||n===e.length-1});a=new A(u,this.window,this.document)}var l=L({},r),h=new P(l,this.window,this.document);return new w({node:s,options:r,popover:a,stage:h,overlay:this.overlay,window:this.window,document:this.document})}},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!this.steps||0===this.steps.length)throw new Error("There are no steps defined to iterate");this.isActivated=!0,this.currentStep=t,this.overlay.highlight(this.steps[t])}},{key:"highlight",value:function(t){this.isActivated=!0;var e=this.prepareElementFromStep(t);e&&this.overlay.highlight(e)}}])&&F(e.prototype,n),u&&F(e,u),t}()}]).default}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return $n}));var r=n(2);
- /*!
- * message-compiler v9.2.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */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},o={[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 s(t,e,n={}){const{domain:i,messages:s,args:a}=n,c=Object(r["d"])((s||o)[t]||"",...a||[]),u=new SyntaxError(String(c));return u.code=t,e&&(u.location=e),u.domain=i,u}function a(t){throw t}function c(t,e,n){return{line:t,column:e,offset:n}}function u(t,e,n){const r={start:t,end:e};return null!=n&&(r.source=n),r}const l=" ",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,o=0;const s=t=>e[t]===h&&e[t+1]===f,a=t=>e[t]===f,c=t=>e[t]===d,u=t=>e[t]===p,l=t=>s(t)||a(t)||c(t)||u(t),m=()=>n,g=()=>r,v=()=>i,y=()=>o,b=t=>s(t)||c(t)||u(t)?f:e[t],_=()=>b(n),w=()=>b(n+o);function O(){return o=0,l(n)&&(r++,i=0),s(n)&&n++,n++,i++,e[n]}function x(){return s(n+o)&&o++,o++,e[n+o]}function M(){n=0,r=1,i=1,o=0}function E(t=0){o=t}function k(){const t=n+o;while(t!==n)O();o=0}return{index:m,line:g,column:v,peekOffset:y,charAt:b,currentChar:_,currentPeek:w,next:O,peek:x,reset:M,resetPeek:E,skipToPeek:k}}const g=void 0,v="'",y="tokenizer";function b(t,e={}){const n=!1!==e.location,r=m(t),o=()=>r.index(),a=()=>c(r.line(),r.column(),r.index()),h=a(),p=o(),d={currentType:14,offset:p,startLoc:h,endLoc:h,lastType:14,lastOffset:p,lastStartLoc:h,lastEndLoc:h,braceNest:0,inLinked:!1,text:""},b=()=>d,{onError:_}=e;function w(t,e,n,...r){const i=b();if(e.column+=n,e.offset+=n,_){const n=u(i.startLoc,e),o=s(t,n,{domain:y,args:r});_(o)}}function O(t,e,r){t.endLoc=a(),t.currentType=e;const i={type:e};return n&&(i.loc=u(t.startLoc,t.endLoc)),null!=r&&(i.value=r),i}const x=t=>O(t,14);function M(t,e){return t.currentChar()===e?(t.next(),e):(w(i.EXPECTED_TOKEN,a(),0,e),"")}function E(t){let e="";while(t.currentPeek()===l||t.currentPeek()===f)e+=t.currentPeek(),t.peek();return e}function k(t){const e=E(t);return t.skipToPeek(),e}function j(t){if(t===g)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function A(t){if(t===g)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function C(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r=j(t.currentPeek());return t.resetPeek(),r}function S(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r="-"===t.currentPeek()?t.peek():t.currentPeek(),i=A(r);return t.resetPeek(),i}function N(t,e){const{currentType:n}=e;if(2!==n)return!1;E(t);const r=t.currentPeek()===v;return t.resetPeek(),r}function T(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=j(t.currentPeek());return t.resetPeek(),r}function P(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;E(t);const r=":"===t.currentPeek();return t.resetPeek(),r}function L(t,e){const{currentType:n}=e;if(10!==n)return!1;const r=()=>{const e=t.currentPeek();return"{"===e?j(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===l||!e)&&(e===f?(t.peek(),r()):j(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 D(t,e=!0){const n=(e=!1,r="",i=!1)=>{const o=t.currentPeek();return"{"===o?"%"!==r&&e:"@"!==o&&o?"%"===o?(t.peek(),n(e,"%",!0)):"|"===o?!("%"!==r&&!i)||!(r===l||r===f):o===l?(t.peek(),n(!0,l,i)):o!==f||(t.peek(),n(!0,f,i)):"%"===r||e},r=n();return e&&t.resetPeek(),r}function U(t,e){const n=t.currentChar();return n===g?g:e(n)?(t.next(),n):null}function B(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 U(t,e)}function $(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57};return U(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 U(t,e)}function H(t){let e="",n="";while(e=$(t))n+=e;return n}function W(t){k(t);const e=t.currentChar();return"%"!==e&&w(i.EXPECTED_TOKEN,a(),0,e),t.next(),"%"}function z(t){let e="";while(1){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!D(t))break;e+=n,t.next()}else if(n===l||n===f)if(D(t))e+=n,t.next();else{if(R(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function V(t){k(t);let e="",n="";while(e=B(t))n+=e;return t.currentChar()===g&&w(i.UNTERMINATED_CLOSING_BRACE,a(),0),n}function Y(t){k(t);let e="";return"-"===t.currentChar()?(t.next(),e+="-"+H(t)):e+=H(t),t.currentChar()===g&&w(i.UNTERMINATED_CLOSING_BRACE,a(),0),e}function G(t){k(t),M(t,"'");let e="",n="";const r=t=>t!==v&&t!==f;while(e=U(t,r))n+="\\"===e?X(t):e;const o=t.currentChar();return o===f||o===g?(w(i.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),o===f&&(t.next(),M(t,"'")),n):(M(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 w(i.UNKNOWN_ESCAPE_SEQUENCE,a(),0,e),""}}function K(t,e,n){M(t,e);let r="";for(let o=0;o<n;o++){const n=q(t);if(!n){w(i.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${e}${r}${t.currentChar()}`);break}r+=n}return`\\${e}${r}`}function Q(t){k(t);let e="",n="";const r=t=>"{"!==t&&"}"!==t&&t!==l&&t!==f;while(e=U(t,r))n+=e;return n}function J(t){let e="",n="";while(e=B(t))n+=e;return n}function Z(t){const e=(n=!1,r)=>{const i=t.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===l?r:i===f?(r+=i,t.next(),e(n,r)):(r+=i,t.next(),e(!0,r)):r};return e(!1,"")}function tt(t){k(t);const e=M(t,"|");return k(t),e}function et(t,e){let n=null;const r=t.currentChar();switch(r){case"{":return e.braceNest>=1&&w(i.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),t.next(),n=O(e,2,"{"),k(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&w(i.EMPTY_PLACEHOLDER,a(),0),t.next(),n=O(e,3,"}"),e.braceNest--,e.braceNest>0&&k(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&w(i.UNTERMINATED_CLOSING_BRACE,a(),0),n=nt(t,e)||x(e),e.braceNest=0,n;default:let r=!0,o=!0,s=!0;if(R(t))return e.braceNest>0&&w(i.UNTERMINATED_CLOSING_BRACE,a(),0),n=O(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 w(i.UNTERMINATED_CLOSING_BRACE,a(),0),e.braceNest=0,rt(t,e);if(r=C(t,e))return n=O(e,5,V(t)),k(t),n;if(o=S(t,e))return n=O(e,6,Y(t)),k(t),n;if(s=N(t,e))return n=O(e,7,G(t)),k(t),n;if(!r&&!o&&!s)return n=O(e,13,Q(t)),w(i.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),k(t),n;break}return n}function nt(t,e){const{currentType:n}=e;let r=null;const o=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||o!==f&&o!==l||w(i.INVALID_LINKED_FORMAT,a(),0),o){case"@":return t.next(),r=O(e,8,"@"),e.inLinked=!0,r;case".":return k(t),t.next(),O(e,9,".");case":":return k(t),t.next(),O(e,10,":");default:return R(t)?(r=O(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,r):T(t,e)||P(t,e)?(k(t),nt(t,e)):I(t,e)?(k(t),O(e,12,J(t))):L(t,e)?(k(t),"{"===o?et(t,e)||r:O(e,11,Z(t))):(8===n&&w(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)||x(e);if(e.inLinked)return nt(t,e)||x(e);const r=t.currentChar();switch(r){case"{":return et(t,e)||x(e);case"}":return w(i.UNBALANCED_CLOSING_BRACE,a(),0),t.next(),O(e,3,"}");case"@":return nt(t,e)||x(e);default:if(R(t))return n=O(e,1,tt(t)),e.braceNest=0,e.inLinked=!1,n;const{isModulo:r,hasSpace:o}=F(t);if(r)return o?O(e,0,z(t)):O(e,4,W(t));if(D(t))return O(e,0,z(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=o(),d.startLoc=a(),r.currentChar()===g?O(d,14):rt(r,d)}return{nextToken:it,currentOffset:o,currentPosition:a,context:b}}const _="parser",w=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function O(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 x(t={}){const e=!1!==t.location,{onError:n}=t;function o(t,e,r,i,...o){const a=t.currentPosition();if(a.offset+=i,a.column+=i,n){const t=u(r,a),i=s(e,t,{domain:_,args:o});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 l(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,o=a(5,r,i);return o.index=parseInt(e,10),t.nextToken(),c(o,t.currentOffset(),t.currentPosition()),o}function f(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,o=a(4,r,i);return o.key=e,t.nextToken(),c(o,t.currentOffset(),t.currentPosition()),o}function p(t,e){const n=t.context(),{lastOffset:r,lastStartLoc:i}=n,o=a(9,r,i);return o.value=e.replace(w,O),t.nextToken(),c(o,t.currentOffset(),t.currentPosition()),o}function d(t){const e=t.nextToken(),n=t.context(),{lastOffset:r,lastStartLoc:s}=n,u=a(8,r,s);return 12!==e.type?(o(t,i.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),u.value="",c(u,r,s),{nextConsumeToken:e,node:u}):(null==e.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,M(e)),u.value=e.value||"",c(u,t.currentOffset(),t.currentPosition()),{node:u})}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&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(r)),r=t.nextToken(),2===r.type&&(r=t.nextToken()),r.type){case 11:null==r.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(r)),n.key=m(t,r.value||"");break;case 5:null==r.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(r)),n.key=f(t,r.value||"");break;case 6:null==r.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(r)),n.key=h(t,r.value||"");break;case 7:null==r.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(r)),n.key=p(t,r.value||"");break;default:o(t,i.UNEXPECTED_EMPTY_LINKED_KEY,e.lastStartLoc,0);const s=t.context(),u=a(7,s.offset,s.startLoc);return u.value="",c(u,s.offset,s.startLoc),n.key=u,c(n,s.offset,s.startLoc),{nextConsumeToken:r,node:n}}return c(n,t.currentOffset(),t.currentPosition()),{node:n}}function v(t){const e=t.context(),n=1===e.currentType?t.currentOffset():e.offset,r=1===e.currentType?e.endLoc:e.startLoc,s=a(2,n,r);s.items=[];let u=null;do{const n=u||t.nextToken();switch(u=null,n.type){case 0:null==n.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(n)),s.items.push(l(t,n.value||""));break;case 6:null==n.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(n)),s.items.push(h(t,n.value||""));break;case 5:null==n.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(n)),s.items.push(f(t,n.value||""));break;case 7:null==n.value&&o(t,i.UNEXPECTED_LEXICAL_ANALYSIS,e.lastStartLoc,0,M(n)),s.items.push(p(t,n.value||""));break;case 8:const r=g(t);s.items.push(r.node),u=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(s,d,m),s}function y(t,e,n,r){const s=t.context();let u=0===r.items.length;const l=a(1,e,n);l.cases=[],l.cases.push(r);do{const e=v(t);u||(u=0===e.items.length),l.cases.push(e)}while(14!==s.currentType);return u&&o(t,i.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),c(l,t.currentOffset(),t.currentPosition()),l}function x(t){const e=t.context(),{offset:n,startLoc:r}=e,i=v(t);return 14===e.currentType?i:y(t,n,r,i)}function E(n){const s=b(n,Object(r["a"])({},t)),u=s.context(),l=a(0,u.offset,u.startLoc);return e&&l.loc&&(l.loc.source=n),l.body=x(s),14!==u.currentType&&o(s,i.UNEXPECTED_LEXICAL_ANALYSIS,u.lastStartLoc,0,n[u.offset]||""),c(l,s.currentOffset(),s.currentPosition()),l}return{parse:E}}function M(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 k(t,e){for(let n=0;n<t.length;n++)j(t[n],e)}function j(t,e){switch(t.type){case 1:k(t.cases,e),e.helper("plural");break;case 2:k(t.items,e);break;case 6:const n=t;j(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 A(t,e={}){const n=E(t);n.helper("normalize"),t.body&&j(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function C(t,e){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=e,s={source:t.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0},a=()=>s;function c(t,e){s.code+=t}function u(t,e=!0){const n=e?i:"";c(o?n+" ".repeat(t):n)}function l(t=!0){const e=++s.indentLevel;t&&u(e)}function h(t=!0){const e=--s.indentLevel;t&&u(e)}function f(){u(s.indentLevel)}const p=t=>"_"+t,d=()=>s.needIndent;return{context:a,push:c,indent:l,deindent:h,newline:f,helper:p,needIndent:d}}function S(t,e){const{helper:n}=t;t.push(n("linked")+"("),P(t,e.key),e.modifier?(t.push(", "),P(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function N(t,e){const{helper:n,needIndent:r}=t;t.push(n("normalize")+"(["),t.indent(r());const i=e.items.length;for(let o=0;o<i;o++){if(P(t,e.items[o]),o===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}function T(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(P(t,e.cases[n]),n===i-1)break;t.push(", ")}t.deindent(r()),t.push("])")}}function I(t,e){e.body?P(t,e.body):t.push("null")}function P(t,e){const{helper:n}=t;switch(e.type){case 0:I(t,e);break;case 1:T(t,e);break;case 2:N(t,e);break;case 6:S(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 L=(t,e={})=>{const n=Object(r["s"])(e.mode)?e.mode:"normal",i=Object(r["s"])(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",a=e.needIndent?e.needIndent:"arrow"!==n,c=t.helpers||[],u=C(t,{mode:n,filename:i,sourceMap:o,breakLineCode:s,needIndent:a});u.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(a),c.length>0&&(u.push(`const { ${c.map(t=>`${t}: _${t}`).join(", ")} } = ctx`),u.newline()),u.push("return "),P(u,t),u.deindent(a),u.push("}");const{code:l,map:h}=u.context();return{ast:t,code:l,map:h?h.toJSON():void 0}};function R(t,e={}){const n=Object(r["a"])({},e),i=x(n),o=i.parse(t);return A(o,n),L(o,n)}
- /*!
- * devtools-if v9.2.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */const F={I18nInit:"i18n:init",FunctionTranslate:"function:translate"},D=[];
- /*!
- * core-base v9.2.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */D[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},D[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},D[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},D[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},D[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},D[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},D[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const U=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function B(t){return U.test(t)}function $(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 H(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(B(e)?$(e):"*"+e)}function W(t){const e=[];let n,r,i,o,s,a,c,u=-1,l=0,h=0;const f=[];function p(){const e=t[u+1];if(5===l&&"'"===e||6===l&&'"'===e)return u++,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--,l=4,f[0]();else{if(h=0,void 0===r)return!1;if(r=H(r),!1===r)return!1;f[1]()}};while(null!==l)if(u++,n=t[u],"\\"!==n||!p()){if(o=q(n),c=D[l],s=c[o]||c["l"]||8,8===s)return;if(l=s[0],void 0!==s[1]&&(a=f[s[1]],a&&(i=n,!1===a())))return;if(7===l)return e}}const z=new Map;function V(t,e){return Object(r["p"])(t)?t[e]:null}function Y(t,e){if(!Object(r["p"])(t))return null;let n=z.get(e);if(n||(n=W(e),n&&z.set(e,n)),!n)return null;const i=n.length;let o=t,s=0;while(s<i){const t=o[n[s]];if(void 0===t)return null;o=t,s++}return o}const G=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,o=Object(r["p"])(t.pluralRules)&&Object(r["s"])(e)&&Object(r["n"])(t.pluralRules[e])?Z:void 0,s=t=>t[i(n,t.length,o)],a=t.list||[],c=t=>a[t],u=t.named||{};Object(r["o"])(t.pluralIndex)&&et(n,u);const l=t=>u[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]:G,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 o="text",s="";1===e.length?Object(r["p"])(n)?(s=n.modifier||s,o=n.type||o):Object(r["s"])(n)&&(s=n||s):2===e.length&&(Object(r["s"])(n)&&(s=n||s),Object(r["s"])(i)&&(o=i||o));let a=h(t)(v);return"vnode"===o&&Object(r["j"])(a)&&s&&(a=a[0]),s?f(s)(a,o):a},v={["list"]:c,["named"]:l,["plural"]:s,["linked"]:g,["message"]:h,["type"]:m,["interpolate"]:d,["normalize"]:p};return v}let rt=null;function it(t){rt=t}function ot(t,e,n){rt&&rt.emit(F.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const st=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},ut={[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 lt(t,...e){return Object(r["d"])(ut[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:yt,o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(i);if(!s){s=[];let t=[n];while(Object(r["j"])(t))t=pt(s,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(s,t,!1),o.__localeChainCache.set(i,s)}return s}function pt(t,e,n){let i=!0;for(let o=0;o<e.length&&Object(r["k"])(i);o++){const s=e[o];Object(r["s"])(s)&&(i=dt(t,e[o],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 o=e.replace(/!/g,"");t.push(o),(Object(r["j"])(n)||Object(r["q"])(n))&&n[o]&&(i=n[o])}return i}const gt="9.2.2",vt=-1,yt="en-US",bt="",_t=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function wt(){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 Ot,xt,Mt;function Et(t){Ot=t}function kt(t){xt=t}function jt(t){Mt=t}let At=null;const Ct=t=>{At=t},St=()=>At;let Nt=null;const Tt=t=>{Nt=t},It=()=>Nt;let Pt=0;function Lt(t={}){const e=Object(r["s"])(t.version)?t.version:gt,n=Object(r["s"])(t.locale)?t.locale:yt,i=Object(r["j"])(t.fallbackLocale)||Object(r["q"])(t.fallbackLocale)||Object(r["s"])(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:n,o=Object(r["q"])(t.messages)?t.messages:{[n]:{}},s=Object(r["q"])(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},a=Object(r["q"])(t.numberFormats)?t.numberFormats:{[n]:{}},c=Object(r["a"])({},t.modifiers||{},wt()),u=t.pluralRules||{},l=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,v=!Object(r["k"])(t.warnHtmlMessage)||t.warnHtmlMessage,y=!!t.escapeParameter,b=Object(r["n"])(t.messageCompiler)?t.messageCompiler:Ot,_=Object(r["n"])(t.messageResolver)?t.messageResolver:xt||V,w=Object(r["n"])(t.localeFallbacker)?t.localeFallbacker:Mt||ht,O=Object(r["p"])(t.fallbackContext)?t.fallbackContext:void 0,x=Object(r["n"])(t.onWarn)?t.onWarn:r["x"],M=t,E=Object(r["p"])(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,k=Object(r["p"])(M.__numberFormatters)?M.__numberFormatters:new Map,j=Object(r["p"])(M.__meta)?M.__meta:{};Pt++;const A={version:e,cid:Pt,locale:n,fallbackLocale:i,messages:o,modifiers:c,pluralRules:u,missing:l,missingWarn:h,fallbackWarn:f,fallbackFormat:p,unresolving:d,postTranslation:m,processor:g,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:_,localeFallbacker:w,fallbackContext:O,onWarn:x,__meta:j};return A.datetimeFormats=s,A.numberFormats=a,A.__datetimeFormatters=E,A.__numberFormatters=k,A.__v_emitter=null!=M.__v_emitter?M.__v_emitter:void 0,ot(A,e,j),A}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 Dt(t,e,n,i,o){const{missing:s,onWarn:a}=t;{const r=t.__v_emitter;r&&r.emit("missing",{locale:n,key:e,type:o,groupId:`${o}:${e}`})}if(null!==s){const i=s(t,n,e,o);return Object(r["s"])(i)?i:e}return Ft(i,e)&&a(lt(ct.NOT_FOUND_KEY,{key:e,locale:n})),e}function Ut(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}const Bt=/<\/?[\w\s="/.':;#-\/]+>/,$t="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&&Bt.test(t)&&Object(r["x"])(Object(r["d"])($t,{source:t}))}const Ht=t=>t;let Wt=Object.create(null);function zt(t,e={}){{qt(t,e);const n=e.onCacheKey||Ht,r=n(t),i=Wt[r];if(i)return i;let o=!1;const s=e.onError||a;e.onError=t=>{o=!0,s(t)};const{code:c}=R(t,e),u=new Function("return "+c)();return o?u:Wt[r]=u}}let Vt=i.__EXTEND_POINT__;const Yt=()=>++Vt,Gt={INVALID_ARGUMENT:Vt,INVALID_DATE_ARGUMENT:Yt(),INVALID_ISO_DATE_ARGUMENT:Yt(),__EXTEND_POINT__:Yt()};function Xt(t){return s(t,null,{messages:Kt})}const Kt={[Gt.INVALID_ARGUMENT]:"Invalid arguments",[Gt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Gt.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:o,messageCompiler:s,fallbackLocale:a,messages:c}=t,[u,l]=ie(...e),h=Object(r["k"])(l.missingWarn)?l.missingWarn:t.missingWarn,f=Object(r["k"])(l.fallbackWarn)?l.fallbackWarn:t.fallbackWarn,p=Object(r["k"])(l.escapeParameter)?l.escapeParameter:t.escapeParameter,d=!!l.resolvedMessage,m=Object(r["s"])(l.default)||Object(r["k"])(l.default)?Object(r["k"])(l.default)?s?u:()=>u:l.default:n?s?u:()=>u:"",g=n||""!==m,v=Object(r["s"])(l.locale)?l.locale:t.locale;p&&te(l);let[y,b,_]=d?[u,v,c[v]||{}]:ee(t,u,v,a,f,h),w=y,O=u;if(d||Object(r["s"])(w)||Jt(w)||g&&(w=m,O=w),!d&&(!Object(r["s"])(w)&&!Jt(w)||!Object(r["s"])(b)))return o?vt:u;if(Object(r["s"])(w)&&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 '${u}'.`),u;let x=!1;const M=()=>{x=!0},E=Jt(w)?w:ne(t,u,b,w,O,M);if(x)return w;const k=se(t,b,_,l),j=nt(k),A=re(t,E,j),C=i?i(A,u):A;{const e={timestamp:Date.now(),key:Object(r["s"])(u)?u:Jt(w)?w.key:"",locale:b||(Jt(w)?w.locale:""),format:Object(r["s"])(w)?w:Jt(w)?w.source:"",message:C};e.meta=Object(r["a"])({},t.__meta,St()||{}),st(e)}return C}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,o,s){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:l}=t,h=l(t,i,n);let f,p={},d=null,m=n,g=null;const v="translate";for(let y=0;y<h.length;y++){if(f=g=h[y],n!==f&&Rt(o,e)&&c(lt(ct.FALLBACK_TO_TRANSLATE,{key:e,target:f})),n!==f){const n=t.__v_emitter;n&&n.emit("fallback",{type:v,key:e,from:m,to:g,groupId:`${v}:${e}`})}p=a[f]||{};let i,l,b=null;if(r["i"]&&(b=window.performance.now(),i="intlify-message-resolve-start",l="intlify-message-resolve-end",r["u"]&&Object(r["u"])(i)),null===(d=u(p,e))&&(d=p[e]),r["i"]){const n=window.performance.now(),o=t.__v_emitter;o&&b&&d&&o.emit("message-resolve",{type:"message-resolve",key:e,message:d,time:n-b,groupId:`${v}:${e}`}),i&&l&&r["u"]&&r["v"]&&(Object(r["u"])(l),Object(r["v"])("intlify message resolve",i,l))}if(Object(r["s"])(d)||Object(r["n"])(d))break;const _=Dt(t,e,f,s,v);_!==e&&(d=_),m=g}return[d,f,p]}function ne(t,e,n,i,o,s){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 u,l,h=null;r["i"]&&(h=window.performance.now(),u="intlify-message-compilation-start",l="intlify-message-compilation-end",r["u"]&&Object(r["u"])(u));const f=a(i,oe(t,n,o,i,c,s));if(r["i"]){const n=window.performance.now(),o=t.__v_emitter;o&&h&&o.emit("message-compilation",{type:"message-compilation",message:i,time:n-h,groupId:"translate:"+e}),u&&l&&r["u"]&&r["v"]&&(Object(r["u"])(l),Object(r["v"])("intlify message compilation",u,l))}return f.locale=n,f.key=e,f.source=i,f}function re(t,e,n){let i,o,s=null;r["i"]&&(s=window.performance.now(),i="intlify-message-evaluation-start",o="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&&s&&c.emit("message-evaluation",{type:"message-evaluation",value:a,time:n-s,groupId:"translate:"+e.key}),i&&o&&r["u"]&&r["v"]&&(Object(r["u"])(o),Object(r["v"])("intlify message evaluation",i,o))}return a}function ie(...t){const[e,n,i]=t,o={};if(!Object(r["s"])(e)&&!Object(r["o"])(e)&&!Jt(e))throw Xt(Gt.INVALID_ARGUMENT);const s=Object(r["o"])(e)?String(e):(Jt(e),e);return Object(r["o"])(n)?o.plural=n:Object(r["s"])(n)?o.default=n:Object(r["q"])(n)&&!Object(r["m"])(n)?o.named=n:Object(r["j"])(n)&&(o.list=n),Object(r["o"])(i)?o.plural=i:Object(r["s"])(i)?o.default=i:Object(r["q"])(i)&&Object(r["a"])(o,i),[s,o]}function oe(t,e,n,i,o,s){return{warnHtmlMessage:o,onError:e=>{s&&s(e);{const o="Message compilation error: "+e.message,s=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(s?`${o}\n${s}`:o)}},onCacheKey:t=>Object(r["f"])(e,n,t)}}function se(t,e,n,i){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:l,fallbackContext:h}=t,f=i=>{let o=a(n,i);if(null==o&&h){const[,,t]=ee(h,i,e,c,u,l);o=a(t,i)}if(Object(r["s"])(o)){let n=!1;const r=()=>{n=!0},s=ne(t,i,e,o,i,r);return n?Qt:s}return Jt(o)?o:Qt},p={locale:e,modifiers:o,pluralRules:s,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 ue(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:o,onWarn:s,localeFallbacker:a}=t,{__datetimeFormatters:c}=t;if(!ce.dateTimeFormat)return s(lt(ct.CANNOT_FORMAT_DATE)),bt;const[u,l,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,v=a(t,o,g);if(!Object(r["s"])(u)||""===u)return new Intl.DateTimeFormat(g,f).format(l);let y,b={},_=null,w=g,O=null;const x="datetime format";for(let k=0;k<v.length;k++){if(y=O=v[k],g!==y&&Rt(d,u)&&s(lt(ct.FALLBACK_TO_DATE_FORMAT,{key:u,target:y})),g!==y){const e=t.__v_emitter;e&&e.emit("fallback",{type:x,key:u,from:w,to:O,groupId:`${x}:${u}`})}if(b=n[y]||{},_=b[u],Object(r["q"])(_))break;Dt(t,u,y,p,x),w=O}if(!Object(r["q"])(_)||!Object(r["s"])(y))return i?vt:u;let M=`${y}__${u}`;Object(r["m"])(f)||(M=`${M}__${JSON.stringify(f)}`);let E=c.get(M);return E||(E=new Intl.DateTimeFormat(y,Object(r["a"])({},_,f)),c.set(M,E)),m?E.formatToParts(l):E.format(l)}const le=["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,o]=t,s={};let a,c={};if(Object(r["s"])(e)){const t=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!t)throw Xt(Gt.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(u){throw Xt(Gt.INVALID_ISO_DATE_ARGUMENT)}}else if(Object(r["l"])(e)){if(isNaN(e.getTime()))throw Xt(Gt.INVALID_DATE_ARGUMENT);a=e}else{if(!Object(r["o"])(e))throw Xt(Gt.INVALID_ARGUMENT);a=e}return Object(r["s"])(n)?s.key=n:Object(r["q"])(n)&&Object.keys(n).forEach(t=>{le.includes(t)?c[t]=n[t]:s[t]=n[t]}),Object(r["s"])(i)?s.locale=i:Object(r["q"])(i)&&(c=i),Object(r["q"])(o)&&(c=o),[s.key||"",a,s,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:o,onWarn:s,localeFallbacker:a}=t,{__numberFormatters:c}=t;if(!ce.numberFormat)return s(lt(ct.CANNOT_FORMAT_NUMBER)),bt;const[u,l,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,v=a(t,o,g);if(!Object(r["s"])(u)||""===u)return new Intl.NumberFormat(g,f).format(l);let y,b={},_=null,w=g,O=null;const x="number format";for(let k=0;k<v.length;k++){if(y=O=v[k],g!==y&&Rt(d,u)&&s(lt(ct.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:y})),g!==y){const e=t.__v_emitter;e&&e.emit("fallback",{type:x,key:u,from:w,to:O,groupId:`${x}:${u}`})}if(b=n[y]||{},_=b[u],Object(r["q"])(_))break;Dt(t,u,y,p,x),w=O}if(!Object(r["q"])(_)||!Object(r["s"])(y))return i?vt:u;let M=`${y}__${u}`;Object(r["m"])(f)||(M=`${M}__${JSON.stringify(f)}`);let E=c.get(M);return E||(E=new Intl.NumberFormat(y,Object(r["a"])({},_,f)),c.set(M,E)),m?E.formatToParts(l):E.format(l)}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,o]=t,s={};let a={};if(!Object(r["o"])(e))throw Xt(Gt.INVALID_ARGUMENT);const c=e;return Object(r["s"])(n)?s.key=n:Object(r["q"])(n)&&Object.keys(n).forEach(t=>{de.includes(t)?a[t]=n[t]:s[t]=n[t]}),Object(r["s"])(i)?s.locale=i:Object(r["q"])(i)&&(a=i),Object(r["q"])(o)&&(a=o),[s.key||"",c,s,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 ve=n(0),ye=n(94);const be="devtools-plugin:setup",_e="plugin:settings:set";var we=n(92);class Oe{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const s in t.settings){const e=t.settings[s];n[s]=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(o){}this.fallbacks={getSettings(){return i},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(o){}i=t},now(){return Object(we["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 xe(t,e){const n=t,r=Object(ye["b"])(),i=Object(ye["a"])(),o=ye["c"]&&n.enableEarlyProxy;if(!i||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&o){const t=o?new Oe(n,i):null,s=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];s.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else i.emit(be,t,e)}
- /*!
- * vue-devtools v9.2.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */const Me={["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 ..."},ke={["vue-i18n-timeline"]:16764185},je="9.2.2";function Ae(){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 Ce=ct.__EXTEND_POINT__;const Se=()=>++Ce,Ne={FALLBACK_TO_ROOT:Ce,NOT_SUPPORTED_PRESERVE:Se(),NOT_SUPPORTED_FORMATTER:Se(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Se(),NOT_SUPPORTED_GET_CHOICE_INDEX:Se(),COMPONENT_NAME_LEGACY_COMPATIBLE:Se(),NOT_FOUND_PARENT_SCOPE:Se()},Te={[Ne.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ne.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ne.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ne.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ne.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ne.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Ie(t,...e){return Object(r["d"])(Te[t],...e)}let Pe=i.__EXTEND_POINT__;const Le=()=>++Pe,Re={UNEXPECTED_RETURN_TYPE:Pe,INVALID_ARGUMENT:Le(),MUST_BE_CALL_SETUP_TOP:Le(),NOT_INSLALLED:Le(),NOT_AVAILABLE_IN_LEGACY_MODE:Le(),REQUIRED_VALUE:Le(),INVALID_VALUE:Le(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Le(),NOT_INSLALLED_WITH_PROVIDE:Le(),UNEXPECTED_ERROR:Le(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Le(),BRIDGE_SUPPORT_VUE_2_ONLY:Le(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Le(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Le(),__EXTEND_POINT__:Le()};function Fe(t,...e){return s(t,null,{messages:De,args:e})}const De={[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"},Ue=Object(r["t"])("__transrateVNode"),Be=Object(r["t"])("__datetimeParts"),$e=Object(r["t"])("__numberParts"),qe=Object(r["t"])("__enableEmitter"),He=Object(r["t"])("__disableEmitter"),We=Object(r["t"])("__setPluralRules");Object(r["t"])("__intlifyMeta");const ze=Object(r["t"])("__injectWithOption");function Ve(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 o=t;for(let t=0;t<i;t++)n[t]in o||(o[n[t]]={}),o=o[n[t]];o[n[i]]=t[e],delete t[e],Object(r["p"])(o[n[i]])&&Ve(o[n[i]])}else Object(r["p"])(t[e])&&Ve(t[e]);return t}function Ye(t,e){const{messages:n,__i18n:i,messageResolver:o,flatJson:s}=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==o&&s)for(const c in a)Object(r["h"])(a,c)&&Ve(a[c]);return a}const Ge=t=>!Object(r["p"])(t)||Object(r["j"])(t);function Xe(t,e){if(Ge(t)||Ge(e))throw Fe(Re.INVALID_VALUE);for(const n in t)Object(r["h"])(t,n)&&(Ge(t[n])||Ge(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=Ye(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const o=Object.keys(i);if(o.length&&o.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(ve["n"])(ve["d"],null,t,0)}const Ze="__INTLIFY_META__";let tn=0;function en(t){return(e,n,r,i)=>t(n,r,Object(ve["r"])()||void 0,i)}const nn=()=>{const t=Object(ve["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 o=!Object(r["k"])(t.inheritLocale)||t.inheritLocale;const s=Object(ve["N"])(n&&o?n.locale.value:Object(r["s"])(t.locale)?t.locale:yt),a=Object(ve["N"])(n&&o?n.fallbackLocale.value:Object(r["s"])(t.fallbackLocale)||Object(r["j"])(t.fallbackLocale)||Object(r["q"])(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:s.value),c=Object(ve["N"])(Ye(s.value,t)),u=Object(ve["N"])(Object(r["q"])(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),l=Object(ve["N"])(Object(r["q"])(t.numberFormats)?t.numberFormats:{[s.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,v=Object(r["n"])(t.postTranslation)?t.postTranslation:null,y=n?n.warnHtmlMessage:!Object(r["k"])(t.warnHtmlMessage)||t.warnHtmlMessage,b=!!t.escapeParameter;const _=n?n.modifiers:Object(r["q"])(t.modifiers)?t.modifiers:{};let w,O=t.pluralRules||n&&n.pluralRules;const x=()=>{i&&Tt(null);const e={version:je,locale:s.value,fallbackLocale:a.value,messages:c.value,modifiers:_,pluralRules:O,missing:null===g?void 0:g,missingWarn:h,fallbackWarn:f,fallbackFormat:d,unresolving:!0,postTranslation:null===v?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:t.messageResolver,__meta:{framework:"vue"}};e.datetimeFormats=u.value,e.numberFormats=l.value,e.__datetimeFormatters=Object(r["q"])(w)?w.__datetimeFormatters:void 0,e.__numberFormatters=Object(r["q"])(w)?w.__numberFormatters:void 0,e.__v_emitter=Object(r["q"])(w)?w.__v_emitter:void 0;const n=Lt(e);return i&&Tt(n),n};function M(){return[s.value,a.value,c.value,u.value,l.value]}w=x(),Ut(w,s.value,a.value);const E=Object(ve["f"])({get:()=>s.value,set:t=>{s.value=t,w.locale=s.value}}),k=Object(ve["f"])({get:()=>a.value,set:t=>{a.value=t,w.fallbackLocale=a.value,Ut(w,s.value,t)}}),j=Object(ve["f"])(()=>c.value),A=Object(ve["f"])(()=>u.value),C=Object(ve["f"])(()=>l.value);function S(){return Object(r["n"])(v)?v:null}function N(t){v=t,w.postTranslation=t}function T(){return m}function I(t){null!==t&&(g=en(t)),m=t,w.missing=g}function P(t,e){return"translate"!==t||!e.resolvedMessage}const L=(t,e,o,s,a,c)=>{let u;M();try{Ct(nn()),i||(w.fallbackContext=n?It():void 0),u=t(w)}finally{Ct(null),i||(w.fallbackContext=void 0)}if(Object(r["o"])(u)&&u===vt){const[t,i]=e();if(n&&Object(r["s"])(t)&&P(o,i)){p&&(Rt(f,t)||Ft(h,t))&&Object(r["x"])(Ie(Ne.FALLBACK_TO_ROOT,{key:t,type:o}));{const{__v_emitter:e}=w;e&&p&&e.emit("fallback",{type:o,key:t,to:"global",groupId:`${o}:${t}`})}}return n&&p?s(n):a(t)}if(c(u))return u;throw Fe(Re.UNEXPECTED_RETURN_TYPE)};function R(...t){return L(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 D(...t){return L(e=>Reflect.apply(ue,null,[e,...t]),()=>he(...t),"datetime format",e=>Reflect.apply(e.d,e,[...t]),()=>bt,t=>Object(r["s"])(t))}function U(...t){return L(e=>Reflect.apply(pe,null,[e,...t]),()=>me(...t),"number format",e=>Reflect.apply(e.n,e,[...t]),()=>bt,t=>Object(r["s"])(t))}function B(t){return t.map(t=>Object(r["s"])(t)||Object(r["o"])(t)||Object(r["k"])(t)?Je(String(t)):t)}const $=t=>t,q={normalize:B,interpolate:$,type:"vnode"};function H(...t){return L(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[Ue](...t),t=>[Je(t)],t=>Object(r["j"])(t))}function W(...t){return L(e=>Reflect.apply(pe,null,[e,...t]),()=>me(...t),"number format",e=>e[$e](...t),()=>[],t=>Object(r["s"])(t)||Object(r["j"])(t))}function z(...t){return L(e=>Reflect.apply(ue,null,[e,...t]),()=>he(...t),"datetime format",e=>e[Be](...t),()=>[],t=>Object(r["s"])(t)||Object(r["j"])(t))}function V(t){O=t,w.pluralRules=O}function Y(t,e){const n=Object(r["s"])(e)?e:s.value,i=K(n);return null!==w.messageResolver(i,t)}function G(t){let e=null;const n=ft(w,a.value,s.value);for(let r=0;r<n.length;r++){const i=c.value[n[r]]||{},o=w.messageResolver(i,t);if(null!=o){e=o;break}}return e}function X(t){const e=G(t);return null!=e?e:n&&n.tm(t)||{}}function K(t){return c.value[t]||{}}function Q(t,e){c.value[t]=e,w.messages=c.value}function J(t,e){c.value[t]=c.value[t]||{},Xe(e,c.value[t]),w.messages=c.value}function Z(t){return u.value[t]||{}}function tt(t,e){u.value[t]=e,w.datetimeFormats=u.value,fe(w,t,e)}function et(t,e){u.value[t]=Object(r["a"])(u.value[t]||{},e),w.datetimeFormats=u.value,fe(w,t,e)}function nt(t){return l.value[t]||{}}function rt(t,e){l.value[t]=e,w.numberFormats=l.value,ge(w,t,e)}function it(t,e){l.value[t]=Object(r["a"])(l.value[t]||{},e),w.numberFormats=l.value,ge(w,t,e)}tn++,n&&r["i"]&&(Object(ve["cb"])(n.locale,t=>{o&&(s.value=t,w.locale=t,Ut(w,s.value,a.value))}),Object(ve["cb"])(n.fallbackLocale,t=>{o&&(a.value=t,w.fallbackLocale=t,Ut(w,s.value,a.value))}));const ot={id:tn,locale:E,fallbackLocale:k,get inheritLocale(){return o},set inheritLocale(t){o=t,t&&n&&(s.value=n.locale.value,a.value=n.fallbackLocale.value,Ut(w,s.value,a.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:j,get modifiers(){return _},get pluralRules(){return O||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(t){h=t,w.missingWarn=h},get fallbackWarn(){return f},set fallbackWarn(t){f=t,w.fallbackWarn=f},get fallbackRoot(){return p},set fallbackRoot(t){p=t},get fallbackFormat(){return d},set fallbackFormat(t){d=t,w.fallbackFormat=d},get warnHtmlMessage(){return y},set warnHtmlMessage(t){y=t,w.warnHtmlMessage=t},get escapeParameter(){return b},set escapeParameter(t){b=t,w.escapeParameter=t},t:R,getLocaleMessage:K,setLocaleMessage:Q,mergeLocaleMessage:J,getPostTranslationHandler:S,setPostTranslationHandler:N,getMissingHandler:T,setMissingHandler:I,[We]:V};return ot.datetimeFormats=A,ot.numberFormats=C,ot.rt=F,ot.te=Y,ot.tm=X,ot.d=D,ot.n=U,ot.getDateTimeFormat=Z,ot.setDateTimeFormat=tt,ot.mergeDateTimeFormat=et,ot.getNumberFormat=nt,ot.setNumberFormat=rt,ot.mergeNumberFormat=it,ot[ze]=t.__injectWithOption,ot[Ue]=H,ot[Be]=z,ot[$e]=W,ot[qe]=t=>{w.__v_emitter=t},ot[He]=()=>{w.__v_emitter=void 0},ot}function on(t){const e=Object(r["s"])(t.locale)?t.locale:yt,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,o=!Object(r["k"])(t.silentTranslationWarn)&&!Object(r["r"])(t.silentTranslationWarn)||!t.silentTranslationWarn,s=!Object(r["k"])(t.silentFallbackWarn)&&!Object(r["r"])(t.silentFallbackWarn)||!t.silentFallbackWarn,a=!Object(r["k"])(t.fallbackRoot)||t.fallbackRoot,c=!!t.formatFallbackMessages,u=Object(r["q"])(t.modifiers)?t.modifiers:{},l=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(Ne.NOT_SUPPORTED_FORMATTER)),t.preserveDirectiveContent&&Object(r["x"])(Ie(Ne.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:v,__injectWithOption:y}=t,b=t.datetimeFormats,_=t.numberFormats,w=t.flatJson;return{locale:e,fallbackLocale:n,messages:m,flatJson:w,datetimeFormats:b,numberFormats:_,missing:i,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:l,postTranslation:h,warnHtmlMessage:f,escapeParameter:p,messageResolver:t.messageResolver,inheritLocale:d,__i18n:g,__root:v,__injectWithOption:y}}function sn(t={},e){{const e=rn(on(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(Ne.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(t){Object(r["x"])(Ie(Ne.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(Ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(t){Object(r["x"])(Ie(Ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...t){const[n,i,o]=t,s={};let a=null,c=null;if(!Object(r["s"])(n))throw Fe(Re.INVALID_ARGUMENT);const u=n;return Object(r["s"])(i)?s.locale=i:Object(r["j"])(i)?a=i:Object(r["q"])(i)&&(c=i),Object(r["j"])(o)?a=o:Object(r["q"])(o)&&(c=o),Reflect.apply(e.t,e,[u,a||c||{},s])},rt(...t){return Reflect.apply(e.rt,e,[...t])},tc(...t){const[n,i,o]=t,s={plural:1};let a=null,c=null;if(!Object(r["s"])(n))throw Fe(Re.INVALID_ARGUMENT);const u=n;return Object(r["s"])(i)?s.locale=i:Object(r["o"])(i)?s.plural=i:Object(r["j"])(i)?a=i:Object(r["q"])(i)&&(c=i),Object(r["s"])(o)?s.locale=o:Object(r["j"])(o)?a=o:Object(r["q"])(o)&&(c=o),Reflect.apply(e.t,e,[u,a||c||{},s])},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(Ne.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[He]&&t[He]()},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 un(t){return ve["a"]}const ln={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,o=t.i18n||qn({useScope:t.scope,__useComponent:!0});return()=>{const s=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,s),u=o[Ue](t.keypath,c,a),l=Object(r["a"])({},i),h=Object(r["s"])(t.tag)||Object(r["p"])(t.tag)?t.tag:un();return Object(ve["t"])(h,l,u)}}};function hn(t){return Object(r["j"])(t)&&!Object(r["s"])(t[0])}function fn(t,e,n,i){const{slots:o,attrs:s}=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 u=[e.key];Object(r["j"])(c)?u=c.map((t,e)=>{const n=o[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)&&(u=[c]);const l=Object(r["a"])({},s),h=Object(r["s"])(t.tag)||Object(r["p"])(t.tag)?t.tag:un();return Object(ve["t"])(h,l,u)}}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[$e](...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,le,(...t)=>n[Be](...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:o}=e;if(!n||!n.$)throw Fe(Re.UNEXPECTED_ERROR);const s=mn(t,n.$);i.preserve&&Object(r["x"])(Ie(Ne.NOT_SUPPORTED_PRESERVE));const a=vn(o);return[Reflect.apply(s.t,s,[...yn(a)]),s]},n=(n,i)=>{const[o,s]=e(i);r["i"]&&t.global===s&&(n.__i18nWatcher=Object(ve["cb"])(s.locale,()=>{i.instance&&i.instance.$forceUpdate()})),n.__composer=s,n.textContent=o},i=t=>{r["i"]&&t.__i18nWatcher&&(t.__i18nWatcher(),t.__i18nWatcher=void 0,delete t.__i18nWatcher),t.__composer&&(t.__composer=void 0,delete t.__composer)},o=(t,{value:e})=>{if(t.__composer){const n=t.__composer,r=vn(e);t.textContent=Reflect.apply(n.t,n,[...yn(r)])}},s=t=>{const[n]=e(t);return{textContent:n}};return{created:n,unmounted:i,beforeUpdate:o,getSSRProps:s}}function vn(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 yn(t){const{path:e,locale:n,args:i,choice:o,plural:s}=t,a={},c=i||{};return Object(r["s"])(n)&&(a.locale=n),Object(r["o"])(o)&&(a.plural=o),Object(r["o"])(s)&&(a.plural=s),[e,c,a]}function bn(t,e,...n){const i=Object(r["q"])(n[0])?n[0]:{},o=!!i.useI18nComponentName,s=!Object(r["k"])(i.globalInstall)||i.globalInstall;s&&o&&Object(r["x"])(Ie(Ne.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:ln.name})),s&&(t.component(o?"i18n":ln.name,ln),t.component(pn.name,pn),t.component(dn.name,dn)),t.directive("t",gn(e))}const _n="vue-i18n: composer properties";let wn;async function On(t,e){return new Promise((n,r)=>{try{xe({id:"vue-devtools-plugin-vue-i18n",label:Me["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=>{wn=r,r.on.visitComponentTree(({componentInstance:t,treeNode:n})=>{Mn(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:Me["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&&Nn(n,e)});const i=new Map;r.on.getInspectorState(async n=>{if(n.app===t&&"vue-i18n-resource-inspector"===n.inspectorId)if(r.unhighlightElement(),Pn(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=Tn(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:Me["vue-i18n-timeline"],color:ke["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})}function xn(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function Mn(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 (${xn(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:kn(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 kn(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];Object(r["n"])(i)&&"source"in i?e[n]=Sn(i):Object(r["p"])(i)?e[n]=kn(i):e[n]=i}),e}const jn={"<":"<",">":">",'"':""","&":"&"};function An(t){return t.replace(/[<>"&]/g,Cn)}function Cn(t){return jn[t]||t}function Sn(t){const e=t.source?`("${An(t.source)}")`:"(?)";return{_custom:{type:"function",display:"<span>ƒ</span> "+e}}}function Nn(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 o="composition"===e.mode?i:i.__composer;n!==o&&t.rootNodes.push({id:o.id.toString(),label:xn(r)+" Scope"})}}function Tn(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 Pn(t,e){const n=In(t.nodeId,e);return n&&(t.state=Ln(n)),null}function Ln(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",o=[{type:i,key:"messages",editable:!1,value:kn(t.messages.value)}];e[i]=o;{const n="Datetime formats info",r=[{type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[n]=r;const i="Datetime formats info",o=[{type:i,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[i]=o}return e}function Rn(t,e){if(wn){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),wn.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 Dn(t,e,n){return{beforeCreate(){const r=Object(ve["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=Un(t,n):(n.__injectWithOption=!0,this.$i18n=sn(n))}else i.__i18n?this===this.$root?this.$i18n=Un(t,i):this.$i18n=sn({__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(ve["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 Un(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[We](e.pluralizationRules||t.pluralizationRules);const n=Ye(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 Bn=Object(r["t"])("global-vue-i18n");function $n(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,o=!__VUE_I18N_LEGACY_API__||!n||!!t.allowComposition,s=new Map,[a,c]=Hn(t,n),u=Object(r["t"])("vue-i18n");function l(t){return s.get(t)||null}function h(t,e){s.set(t,e)}function f(t){s.delete(t)}{const t={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},async install(e,...o){e.__VUE_I18N__=t,e.__VUE_I18N_SYMBOL__=u,e.provide(e.__VUE_I18N_SYMBOL__,t),!n&&i&&Jn(e,t.global),__VUE_I18N_FULL_INSTALL__&&bn(e,t,...o),__VUE_I18N_LEGACY_API__&&n&&e.mixin(Dn(c,c.__composer,t));const s=e.unmount;e.unmount=()=>{t.dispose(),s()};{const i=await On(e,t);if(!i)throw Fe(Re.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const o=Object(r["b"])();if(n){const t=c;t.__enableEmitter&&t.__enableEmitter(o)}else{const t=c;t[qe]&&t[qe](o)}o.on("*",Rn)}},get global(){return c},dispose(){a.stop()},__instances:s,__getInstance:l,__setInstance:h,__deleteInstance:f};return t}}function qn(t={}){const e=Object(ve["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=Wn(e),i=Vn(n),o=Ke(e),s=zn(t,o);if(__VUE_I18N_LEGACY_API__&&"legacy"===n.mode&&!t.__useComponent){if(!n.allowComposition)throw Fe(Re.NOT_AVAILABLE_IN_LEGACY_MODE);return Xn(e,s,i,t)}if("global"===s)return Qe(i,t,o),i;if("parent"===s){let o=Yn(n,e,t.__useComponent);return null==o&&(Object(r["x"])(Ie(Ne.NOT_FOUND_PARENT_SCOPE)),o=i),o}const a=n;let c=a.__getInstance(e);if(null==c){const n=Object(r["a"])({},t);"__i18n"in o&&(n.__i18n=o.__i18n),i&&(n.__root=i),c=rn(n),Gn(a,e,c),a.__setInstance(e,c)}return c}function Hn(t,e,n){const r=Object(ve["q"])();{const n=__VUE_I18N_LEGACY_API__&&e?r.run(()=>sn(t)):r.run(()=>rn(t));if(null==n)throw Fe(Re.UNEXPECTED_ERROR);return[r,n]}}function Wn(t){{const e=Object(ve["u"])(t.isCE?Bn:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Fe(t.isCE?Re.NOT_INSLALLED_WITH_PROVIDE:Re.UNEXPECTED_ERROR);return e}}function zn(t,e){return Object(r["m"])(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Vn(t){return"composition"===t.mode?t.global:t.global.__composer}function Yn(t,e,n=!1){let r=null;const i=e.root;let o=e.parent;while(null!=o){const e=t;if("composition"===t.mode)r=e.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const t=e.__getInstance(o);null!=t&&(r=t.__composer,n&&r&&!r[ze]&&(r=null))}if(null!=r)break;if(i===o)break;o=o.parent}return r}function Gn(t,e,n){let i=null;Object(ve["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(ve["G"])(()=>{if(e.vnode.el&&e.vnode.el.__VUE_I18N__){i&&i.off("*",Rn);const t=n;t[He]&&t[He](),delete e.vnode.el.__VUE_I18N__}t.__deleteInstance(e)},e)}function Xn(t,e,n,i={}){const o="local"===e,s=Object(ve["V"])(null);if(o&&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(ve["N"])(o&&a?n.locale.value:Object(r["s"])(i.locale)?i.locale:yt),u=Object(ve["N"])(o&&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),l=Object(ve["N"])(Ye(c.value,i)),h=Object(ve["N"])(Object(r["q"])(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),f=Object(ve["N"])(Object(r["q"])(i.numberFormats)?i.numberFormats:{[c.value]:{}}),p=o?n.missingWarn:!Object(r["k"])(i.missingWarn)&&!Object(r["r"])(i.missingWarn)||i.missingWarn,d=o?n.fallbackWarn:!Object(r["k"])(i.fallbackWarn)&&!Object(r["r"])(i.fallbackWarn)||i.fallbackWarn,m=o?n.fallbackRoot:!Object(r["k"])(i.fallbackRoot)||i.fallbackRoot,g=!!i.fallbackFormat,v=Object(r["n"])(i.missing)?i.missing:null,y=Object(r["n"])(i.postTranslation)?i.postTranslation:null,b=o?n.warnHtmlMessage:!Object(r["k"])(i.warnHtmlMessage)||i.warnHtmlMessage,_=!!i.escapeParameter,w=o?n.modifiers:Object(r["q"])(i.modifiers)?i.modifiers:{},O=i.pluralRules||o&&n.pluralRules;function x(){return[c.value,u.value,l.value,h.value,f.value]}const M=Object(ve["f"])({get:()=>s.value?s.value.locale.value:c.value,set:t=>{s.value&&(s.value.locale.value=t),c.value=t}}),E=Object(ve["f"])({get:()=>s.value?s.value.fallbackLocale.value:u.value,set:t=>{s.value&&(s.value.fallbackLocale.value=t),u.value=t}}),k=Object(ve["f"])(()=>s.value?s.value.messages.value:l.value),j=Object(ve["f"])(()=>h.value),A=Object(ve["f"])(()=>f.value);function C(){return s.value?s.value.getPostTranslationHandler():y}function S(t){s.value&&s.value.setPostTranslationHandler(t)}function N(){return s.value?s.value.getMissingHandler():v}function T(t){s.value&&s.value.setMissingHandler(t)}function I(t){return x(),t()}function P(...t){return s.value?I(()=>Reflect.apply(s.value.t,null,[...t])):I(()=>"")}function L(...t){return s.value?Reflect.apply(s.value.rt,null,[...t]):""}function R(...t){return s.value?I(()=>Reflect.apply(s.value.d,null,[...t])):I(()=>"")}function F(...t){return s.value?I(()=>Reflect.apply(s.value.n,null,[...t])):I(()=>"")}function D(t){return s.value?s.value.tm(t):{}}function U(t,e){return!!s.value&&s.value.te(t,e)}function B(t){return s.value?s.value.getLocaleMessage(t):{}}function $(t,e){s.value&&(s.value.setLocaleMessage(t,e),l.value[t]=e)}function q(t,e){s.value&&s.value.mergeLocaleMessage(t,e)}function H(t){return s.value?s.value.getDateTimeFormat(t):{}}function W(t,e){s.value&&(s.value.setDateTimeFormat(t,e),h.value[t]=e)}function z(t,e){s.value&&s.value.mergeDateTimeFormat(t,e)}function V(t){return s.value?s.value.getNumberFormat(t):{}}function Y(t,e){s.value&&(s.value.setNumberFormat(t,e),f.value[t]=e)}function G(t,e){s.value&&s.value.mergeNumberFormat(t,e)}const X={get id(){return s.value?s.value.id:-1},locale:M,fallbackLocale:E,messages:k,datetimeFormats:j,numberFormats:A,get inheritLocale(){return s.value?s.value.inheritLocale:a},set inheritLocale(t){s.value&&(s.value.inheritLocale=t)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(l.value)},get modifiers(){return s.value?s.value.modifiers:w},get pluralRules(){return s.value?s.value.pluralRules:O},get isGlobal(){return!!s.value&&s.value.isGlobal},get missingWarn(){return s.value?s.value.missingWarn:p},set missingWarn(t){s.value&&(s.value.missingWarn=t)},get fallbackWarn(){return s.value?s.value.fallbackWarn:d},set fallbackWarn(t){s.value&&(s.value.missingWarn=t)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(t){s.value&&(s.value.fallbackRoot=t)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(t){s.value&&(s.value.fallbackFormat=t)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(t){s.value&&(s.value.warnHtmlMessage=t)},get escapeParameter(){return s.value?s.value.escapeParameter:_},set escapeParameter(t){s.value&&(s.value.escapeParameter=t)},t:P,getPostTranslationHandler:C,setPostTranslationHandler:S,getMissingHandler:N,setMissingHandler:T,rt:L,d:R,n:F,tm:D,te:U,getLocaleMessage:B,setLocaleMessage:$,mergeLocaleMessage:q,getDateTimeFormat:H,setDateTimeFormat:W,mergeDateTimeFormat:z,getNumberFormat:V,setNumberFormat:Y,mergeNumberFormat:G};function K(t){t.locale.value=c.value,t.fallbackLocale.value=u.value,Object.keys(l.value).forEach(e=>{t.mergeLocaleMessage(e,l.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=b}return Object(ve["D"])(()=>{if(null==t.proxy||null==t.proxy.$i18n)throw Fe(Re.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=s.value=t.proxy.$i18n.__composer;"global"===e?(c.value=n.locale.value,u.value=n.fallbackLocale.value,l.value=n.messages.value,h.value=n.datetimeFormats.value,f.value=n.numberFormats.value):o&&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(ve["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(zt),kt(Y),jt(ft),Ae();{const t=Object(r["g"])();t.__INTLIFY__=!0,it(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},function(t,e,n){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e,n){"use strict";var r=n(59),i=n(31),o=n(49),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!o(a=r(n,t)))return a;if(i(n=t.valueOf)&&!o(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!o(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r=n(30),i=n(49),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},function(t,e,n){"use strict";var r=n(44),i=n(40);t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){"use strict";var r=n(44),i=n(41),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},function(t,e,n){"use strict";var r=n(28),i=n(31),o=n(102),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},function(t,e,n){"use strict";var r=n(30),i=n(31),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},function(t,e,n){"use strict";var r=n(81),i=n(28),o=n(232),s=n(239),a=n(83),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?c(e,n(t)):e}},function(t,e,n){"use strict";var r=n(233),i=n(238),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(28),i=n(41),o=n(98),s=n(234).indexOf,a=n(134),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!i(a,n)&&i(r,n)&&c(l,n);while(e.length>u)i(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},function(t,e,n){"use strict";var r=n(98),i=n(235),o=n(50),s=function(t){return function(e,n,s){var a,c=r(e),u=o(c),l=i(s,u);if(t&&n!==n){while(u>l)if(a=c[l++],a!==a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},function(t,e,n){"use strict";var r=n(62),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e,n){"use strict";var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:r)(e)}},function(t,e,n){"use strict";var r=n(62),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(40),i=n(31),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n===l||n!==u&&(i(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},function(t,e,n){"use strict";var r=n(79),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(o):function(){return s.apply(o,arguments)})},function(t,e,n){"use strict";var r=n(81),i=n(41),o=n(61),s=n(68),a=n(105),c=n(135),u=n(245),l=n(136),h=n(137),f=n(247),p=n(248),d=n(44),m=n(82);t.exports=function(t,e,n,g){var v="stackTraceLimit",y=g?2:1,b=t.split("."),_=b[b.length-1],w=r.apply(null,b);if(w){var O=w.prototype;if(!m&&i(O,"cause")&&delete O.cause,!n)return w;var x=r("Error"),M=e((function(t,e){var n=h(g?e:t,void 0),r=g?new w(t):new w;return void 0!==n&&o(r,"message",n),p(r,M,r.stack,2),this&&s(O,this)&&l(r,this,M),arguments.length>y&&f(r,arguments[y]),r}));if(M.prototype=O,"Error"!==_?a?a(M,x):c(M,x,{name:!0}):d&&v in w&&(u(M,w,v),u(M,w,"prepareStackTrace")),c(M,w),!m)try{O.name!==_&&o(O,"name",_),O.constructor=M}catch(E){}return M}}},function(t,e,n){"use strict";var r=n(28),i=n(69);t.exports=function(t,e,n){try{return r(i(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(o){}}},function(t,e,n){"use strict";var r=n(31),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},function(t,e,n){"use strict";var r=n(56).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){"use strict";var r=n(54),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},function(t,e,n){"use strict";var r=n(49),i=n(61);t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},function(t,e,n){"use strict";var r=n(61),i=n(138),o=n(249),s=Error.captureStackTrace;t.exports=function(t,e,n,a){o&&(s?s(t,e):r(t,"stack",i(n,a)))}},function(t,e,n){"use strict";var r=n(40),i=n(80);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(44),i=n(251),o=TypeError,s=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)&&!s(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},function(t,e,n){"use strict";var r=n(60);t.exports=Array.isArray||function(t){return"Array"===r(t)}},function(t,e,n){"use strict";var r=TypeError,i=9007199254740991;t.exports=function(t){if(t>i)throw r("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";var r=n(58),i=n(30),o=n(81),s=n(80),a=n(56).f,c=n(41),u=n(254),l=n(136),h=n(137),f=n(255),p=n(138),d=n(44),m=n(82),g="DOMException",v=o("Error"),y=o(g),b=function(){u(this,_);var t=arguments.length,e=h(t<1?void 0:arguments[0]),n=h(t<2?void 0:arguments[1],"Error"),r=new y(e,n),i=v(e);return i.name=g,a(r,"stack",s(1,p(i.stack,1))),l(r,this,b),r},_=b.prototype=y.prototype,w="stack"in v(g),O="stack"in new y(1,2),x=y&&d&&Object.getOwnPropertyDescriptor(i,g),M=!!x&&!(x.writable&&x.configurable),E=w&&!M&&!O;r({global:!0,constructor:!0,forced:m||E},{DOMException:E?b:y});var k=o(g),j=k.prototype;if(j.constructor!==k)for(var A in m||a(j,"constructor",s(1,k)),f)if(c(f,A)){var C=f[A],S=C.s;c(k,S)||a(k,S,s(6,C.c))}},function(t,e,n){"use strict";var r=n(68),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},function(t,e,n){"use strict";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(57),i=n(50),o=n(62),s=r.aTypedArray,a=r.exportTypedArrayMethod;a("at",(function(t){var e=s(this),n=i(e),r=o(t),a=r>=0?r:n+r;return a<0||a>=n?void 0:e[a]}))},function(t,e,n){"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,n){"use strict";var r=n(41),i=n(31),o=n(55),s=n(133),a=n(259),c=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=a?u.getPrototypeOf:function(t){var e=o(t);if(r(e,c))return e[c];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof u?l:null}},function(t,e,n){"use strict";var r=n(40);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(57),i=n(141).findLast,o=r.aTypedArray,s=r.exportTypedArrayMethod;s("findLast",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(262),i=n(69),o=n(79),s=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?s(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(60),i=n(28);t.exports=function(t){if("Function"===r(t))return i(t)}},function(t,e,n){"use strict";var r=n(57),i=n(141).findLastIndex,o=r.aTypedArray,s=r.exportTypedArrayMethod;s("findLastIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(30),i=n(59),o=n(57),s=n(50),a=n(265),c=n(55),u=n(40),l=r.RangeError,h=r.Int8Array,f=h&&h.prototype,p=f&&f.set,d=o.aTypedArray,m=o.exportTypedArrayMethod,g=!u((function(){var t=new Uint8ClampedArray(2);return i(p,t,{length:1,0:3},1),3!==t[1]})),v=g&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((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,o=s(n),u=0;if(o+e>r)throw l("Wrong length");while(u<o)this[e+u]=n[u++]}),!g||v)},function(t,e,n){"use strict";var r=n(266),i=RangeError;t.exports=function(t,e){var n=r(t);if(n%e)throw i("Wrong offset");return n}},function(t,e,n){"use strict";var r=n(62),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";var r=n(268),i=n(57),o=i.aTypedArray,s=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;s("toReversed",(function(){return r(o(this),a(this))}))},function(t,e,n){"use strict";var r=n(50);t.exports=function(t,e){for(var n=r(t),i=new e(n),o=0;o<n;o++)i[o]=t[n-o-1];return i}},function(t,e,n){"use strict";var r=n(57),i=n(28),o=n(69),s=n(270),a=r.aTypedArray,c=r.getTypedArrayConstructor,u=r.exportTypedArrayMethod,l=i(r.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&o(t);var e=a(this),n=s(c(e),e);return l(n,t)}))},function(t,e,n){"use strict";var r=n(50);t.exports=function(t,e){var n=0,i=r(e),o=new t(i);while(i>n)o[n]=e[n++];return o}},function(t,e,n){"use strict";var r=n(272),i=n(57),o=n(273),s=n(62),a=n(274),c=i.aTypedArray,u=i.getTypedArrayConstructor,l=i.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();l("with",{with:function(t,e){var n=c(this),i=s(t),l=o(n)?a(e):+e;return r(n,u(n),i,l)}}["with"],!h)},function(t,e,n){"use strict";var r=n(50),i=n(62),o=RangeError;t.exports=function(t,e,n,s){var a=r(t),c=i(n),u=c<0?a+c:c;if(u>=a||u<0)throw o("Incorrect index");for(var l=new e(a),h=0;h<a;h++)l[h]=h===u?s:t[h];return l}},function(t,e,n){"use strict";var r=n(106);t.exports=function(t){var e=r(t);return"BigInt64Array"===e||"BigUint64Array"===e}},function(t,e,n){"use strict";var r=n(121),i=TypeError;t.exports=function(t){var e=r(t,"number");if("number"==typeof e)throw i("Can't convert number to bigint");return BigInt(e)}},function(t,e,n){"use strict";(function(t){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var r=n(276),i=n(277),o=n(278);function s(){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 u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(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 l(this,t,e,n)}function l(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):v(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|y(e)),!u.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"),!u.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|y(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),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=m(t,e),t}function v(t,e){if(u.isBuffer(e)){var n=0|y(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&&o(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),u.alloc(+t)}function _(t,e){if(u.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 w(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 T(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return N(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function O(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function x(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=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:M(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):M(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function M(t,e,n,r,i){var o,s=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;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=n;o<a;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var h=!0,f=0;f<c;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}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 o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function k(t,e,n,r){return tt(K(e,t.length-n),t,n,r)}function j(t,e,n,r){return tt(Q(e),t,n,r)}function A(t,e,n,r){return j(t,e,n,r)}function C(t,e,n,r){return tt(Z(e),t,n,r)}function S(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function N(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function T(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var o,s,a,c,u=t[i],l=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(l=u);break;case 2:o=t[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=t[i+1],s=t[i+2],128===(192&o)&&128===(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return P(r)}e.Buffer=u,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return l(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return f(null,t,e,n)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.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}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},u.byteLength=_,u.prototype._isBuffer=!0,u.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)O(this,e,e+1);return this},u.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)O(this,e,e+3),O(this,e+1,e+2);return this},u.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)O(this,e,e+7),O(this,e+1,e+6),O(this,e+2,e+5),O(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):w.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.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+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.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 o=i-r,s=n-e,a=Math.min(o,s),c=this.slice(r,i),l=t.slice(e,n),h=0;h<a;++h)if(c[h]!==l[h]){o=c[h],s=l[h];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return x(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return x(this,t,e,n,!1)},u.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 o=!1;;)switch(r){case"hex":return E(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return j(this,t,e,n);case"latin1":case"binary":return A(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function P(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 L(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="",o=e;o<n;++o)i+=X(t[o]);return i}function D(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function U(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 B(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function $(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++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,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function H(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,r,o){return o||H(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,o){return o||H(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}u.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),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||U(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;B(this,t,e,n,i,0)}var o=1,s=0;this[e]=255&t;while(++s<n&&(o*=256))this[e+s]=t/o&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;B(this,t,e,n,i,0)}var o=n-1,s=1;this[e+o]=255&t;while(--o>=0&&(s*=256))this[e+o]=t/s&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.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},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.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},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;this[e]=255&t;while(++o<n&&(s*=256))t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):$(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):$(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),u.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},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.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},u.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},u.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,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.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&&!u.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 o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=u.isBuffer(t)?t:K(new u(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var V=/[^+\/0-9A-Za-z-_]/g;function Y(t){if(t=G(t).replace(V,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function G(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,o=[],s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.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;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}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,o=[],s=0;s<t.length;++s){if((e-=2)<0)break;n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function Z(t){return r.toByteArray(Y(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(47))},function(t,e,n){"use strict";e.byteLength=l,e.toByteArray=f,e.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function u(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 l(t){var e=u(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=u(t),s=r[0],a=r[1],c=new o(h(t,s,a)),l=0,f=a>0?s-4:s;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[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=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=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(p(r));return i.join("")}function m(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(d(t,a,a+s>c?c:a+s));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,l=-7,h=n?i-1:0,f=n?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+t[e+h],h+=f,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+h],h+=f,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=u}return(p?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,h=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-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,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),e+=s+h>=1?f/c:f*Math.pow(2,1-h),e*c>=2&&(s++,c/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(e*c-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+p]=255&s,p+=d,s/=256,u-=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){"use strict";var r=n(58),i=n(30),o=n(280);r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},function(t,e,n){"use strict";var r=n(56).f,i=n(41),o=n(54),s=o("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,s)&&r(t,s,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(42),i=n(143),o=n(282),s=n(149),a=n(107);function c(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=c(a);u.Axios=o,u.create=function(t){return c(s(u.defaults,t))},u.Cancel=n(150),u.CancelToken=n(297),u.isCancel=n(148),u.all=function(t){return Promise.all(t)},u.spread=n(298),u.isAxiosError=n(299),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";var r=n(42),i=n(144),o=n(283),s=n(284),a=n(149),c=n(295),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.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:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.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,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var l=[s,void 0];Array.prototype.unshift.apply(l,n),l=l.concat(o),i=Promise.resolve(t);while(l.length)i=i.then(l.shift(),l.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=s(h)}catch(d){return Promise.reject(d)}while(o.length)i=i.then(o.shift(),o.shift());return i},l.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){l.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=l},function(t,e,n){"use strict";var r=n(42);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(42),i=n(285),o=n(148),s=n(107);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||s.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 o(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(42),i=n(107);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,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,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.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),s="/"===o(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(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("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,c=0;c<s;c++)if(i[c]!==o[c]){a=c;break}var u=[];for(c=a;c<i.length;c++)u.push("..");return u=u.concat(o.slice(a)),u.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,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;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,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=s+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="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(70))},function(t,e,n){"use strict";var r=n(42);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(147);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(42);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){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(o)&&a.push("domain="+o),!0===s&&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(291),i=n(292);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(42),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,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var r=n(42);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(296),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 o={},s=r.version.split(".");function a(t,e){for(var n=e?e.split("."):s,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 o=r[i],s=e[o];if(s){var a=t[o],c=void 0===a||s(a,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}}i.transitional=function(t,e,n){var i=e&&a(e);function s(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new Error(s(r," has been removed in "+e));return i&&!o[r]&&(o[r]=!0,console.warn(s(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(150);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){"use strict";var r=n(69),i=n(55),o=n(99),s=n(50),a=TypeError,c=function(t){return function(e,n,c,u){r(n);var l=i(e),h=o(l),f=s(l),p=t?f-1:0,d=t?-1:1;if(c<2)while(1){if(p in h){u=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&&(u=n(u,h[p],p,l));return u}};t.exports={left:c(!1),right:c(!0)}},function(t,e,n){"use strict";var r=n(40);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},function(t,e,n){"use strict";var r=n(30),i=n(60);t.exports="process"===i(r.process)},function(t,e,n){var r=n(315);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(19).default;i("434cf6b6",r,!1,{sourceMap:!1,shadowMode:!1})},function(t,e,n){var r=n(18);e=r(!1),e.push([t.i,".vue-cropper[data-v-18751258]{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-18751258],.cropper-box-canvas[data-v-18751258],.cropper-drag-box[data-v-18751258],.cropper-crop-box[data-v-18751258],.cropper-face[data-v-18751258]{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-18751258]{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-18751258]{overflow:hidden}.cropper-move[data-v-18751258]{cursor:move}.cropper-crop[data-v-18751258]{cursor:crosshair}.cropper-modal[data-v-18751258]{background:rgba(0,0,0,.5)}.cropper-view-box[data-v-18751258]{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-18751258]{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:left;max-width:none;max-height:none}.cropper-face[data-v-18751258]{top:0;left:0;background-color:#fff;opacity:.1}.crop-info[data-v-18751258]{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-18751258]{position:absolute;display:block;width:100%;height:100%;opacity:.1}.line-w[data-v-18751258]{top:-3px;left:0;height:5px;cursor:n-resize}.line-a[data-v-18751258]{top:0;left:-3px;width:5px;cursor:w-resize}.line-s[data-v-18751258]{bottom:-3px;left:0;height:5px;cursor:s-resize}.line-d[data-v-18751258]{top:0;right:-3px;width:5px;cursor:e-resize}.crop-point[data-v-18751258]{position:absolute;width:8px;height:8px;opacity:.75;background-color:#39f;border-radius:100%}.point1[data-v-18751258]{top:-4px;left:-4px;cursor:nw-resize}.point2[data-v-18751258]{top:-5px;left:50%;margin-left:-3px;cursor:n-resize}.point3[data-v-18751258]{top:-4px;right:-4px;cursor:ne-resize}.point4[data-v-18751258]{top:50%;left:-4px;margin-top:-3px;cursor:w-resize}.point5[data-v-18751258]{top:50%;right:-4px;margin-top:-3px;cursor:e-resize}.point6[data-v-18751258]{bottom:-5px;left:-4px;cursor:sw-resize}.point7[data-v-18751258]{bottom:-5px;left:50%;margin-left:-3px;cursor:s-resize}.point8[data-v-18751258]{bottom:-5px;right:-4px;cursor:se-resize}@media screen and (max-width: 500px){.crop-point[data-v-18751258]{position:absolute;width:20px;height:20px;opacity:.45;background-color:#39f;border-radius:100%}.point1[data-v-18751258]{top:-10px;left:-10px}.point2[data-v-18751258],.point4[data-v-18751258],.point5[data-v-18751258],.point7[data-v-18751258]{display:none}.point3[data-v-18751258]{top:-10px;right:-10px}.point4[data-v-18751258]{top:0;left:0}.point6[data-v-18751258]{bottom:-10px;left:-10px}.point8[data-v-18751258]{bottom:-10px;right:-10px}}\n",""]),t.exports=e},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(58),i=n(59),o=n(28),s=n(100),a=n(31),c=n(101),u=n(411),l=n(85),h=n(127),f=n(412),p=n(414),d=n(54),m=n(82),g=d("replace"),v=TypeError,y=o("".indexOf),b=o("".replace),_=o("".slice),w=Math.max,O=function(t,e,n){return n>t.length?-1:""===e?n:y(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,o,d,x,M,E,k,j,A=s(this),C=0,S=0,N="";if(!c(t)){if(n=u(t),n&&(r=l(s(f(t))),!~y(r,"g")))throw v("`.replaceAll` does not allow non-global regexes");if(o=h(t,g),o)return i(o,t,A,e);if(m&&n)return b(l(A),t,e)}d=l(A),x=l(t),M=a(e),M||(e=l(e)),E=x.length,k=w(1,E),C=O(d,x,0);while(-1!==C)j=M?l(e(x,C,d)):p(x,d,C,[],void 0,e),N+=_(d,S,C)+j,S=C+E,C=O(d,x,C+k);return S<d.length&&(N+=_(d,S)),N}})},function(t,e,n){"use strict";var r=n(49),i=n(60),o=n(54),s=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[s])?!!e:"RegExp"===i(t))}},function(t,e,n){"use strict";var r=n(59),i=n(41),o=n(68),s=n(413),a=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in a||i(t,"flags")||!o(a,t)?e:r(s,t)}},function(t,e,n){"use strict";var r=n(83);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){"use strict";var r=n(28),i=n(55),o=Math.floor,s=r("".charAt),a=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,h,f){var p=n+t.length,d=r.length,m=l;return void 0!==h&&(h=i(h),m=u),a(f,m,(function(i,a){var u;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,p);case"<":u=h[c(a,1,-1)];break;default:var l=+a;if(0===l)return i;if(l>d){var f=o(l/10);return 0===f?i:f<=d?void 0===r[f-1]?s(a,1):r[f-1]+s(a,1):i}u=r[l-1]}return void 0===u?"":u}))}},,,,,,,,,,,,,,,function(t,e,n){var r=n(430);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(19).default;i("0e33eff4",r,!1,{sourceMap:!1,shadowMode:!1})},function(t,e,n){var r=n(18);e=r(!1),e.push([t.i,'div#driver-popover-item{display:none;position:absolute;background:#fff;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px rgba(0,0,0,.4);z-index:1000000000}div#driver-popover-item .driver-popover-tip{border:5px solid #fff;content:"";position:absolute}div#driver-popover-item .driver-popover-tip.bottom{bottom:-10px;border-color:#fff transparent transparent}div#driver-popover-item .driver-popover-tip.bottom.position-center{left:49%}div#driver-popover-item .driver-popover-tip.bottom.position-right{right:20px}div#driver-popover-item .driver-popover-tip.left{left:-10px;top:10px;border-color:transparent #fff transparent transparent}div#driver-popover-item .driver-popover-tip.left.position-center{top:46%}div#driver-popover-item .driver-popover-tip.left.position-bottom{top:auto;bottom:20px}div#driver-popover-item .driver-popover-tip.right{right:-10px;top:10px;border-color:transparent transparent transparent #fff}div#driver-popover-item .driver-popover-tip.right.position-center{top:46%}div#driver-popover-item .driver-popover-tip.right.position-bottom{top:auto;bottom:20px}div#driver-popover-item .driver-popover-tip.top{top:-10px;border-color:transparent transparent #fff}div#driver-popover-item .driver-popover-tip.top.position-center{left:49%}div#driver-popover-item .driver-popover-tip.top.position-right{right:20px}div#driver-popover-item .driver-popover-tip.mid-center{display:none}div#driver-popover-item .driver-popover-footer{display:block;margin-top:10px}div#driver-popover-item .driver-popover-footer button{display:inline-block;padding:3px 10px;border:1px solid #d4d4d4;text-decoration:none;text-shadow:1px 1px 0 #fff;color:#2d2d2d;font:11px/normal sans-serif;cursor:pointer;outline:0;background-color:#f1f1f1;border-radius:2px;zoom:1;line-height:1.3}div#driver-popover-item .driver-popover-footer button.driver-disabled{color:grey;cursor:default;pointer-events:none}div#driver-popover-item .driver-popover-footer .driver-close-btn{float:left}div#driver-popover-item .driver-popover-footer .driver-btn-group,div#driver-popover-item .driver-popover-footer .driver-close-only-btn{float:right}div#driver-popover-item .driver-popover-title{font:19px/normal sans-serif;margin:0 0 5px;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1}div#driver-popover-item .driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;color:#2d2d2d;font-weight:400;zoom:1}.driver-clearfix:after,.driver-clearfix:before{content:"";display:table}.driver-clearfix:after{clear:both}.driver-stage-no-animation{transition:none!important;background:transparent!important;outline:5000px solid rgba(0,0,0,.75)}div#driver-page-overlay{background:#000;position:fixed;bottom:0;right:0;display:block;width:100%;height:100%;zoom:1;filter:alpha(opacity=75);opacity:.75;z-index:100002!important}div#driver-highlighted-element-stage,div#driver-page-overlay{top:0;left:0;transition:all .3s}div#driver-highlighted-element-stage{position:absolute;height:50px;width:300px;background:#fff;z-index:100003!important;display:none;border-radius:2px}.driver-highlighted-element{z-index:100004!important}.driver-position-relative{position:relative!important}.driver-fix-stacking{z-index:auto!important;opacity:1!important;transform:none!important;-moz-filter:none!important;-ms-filter:none!important;-o-filter:none!important;filter:none!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;transform-style:flat!important;-webkit-transform-box:border-box!important;-moz-transform-box:border-box!important;-ms-transform-box:border-box!important;-o-transform-box:border-box!important;transform-box:border-box!important;will-change:unset!important}',""]),t.exports=e}]]);
|