mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
2 lines
228 KiB
JavaScript
2 lines
228 KiB
JavaScript
/*! For license information please see 399.ae8be0a6.js.LICENSE.txt */
|
|
(self.webpackChunkfes_js=self.webpackChunkfes_js||[]).push([[399],{2262:(e,t,n)=>{"use strict";n.d(t,{BK:()=>Me,Bj:()=>i,EB:()=>c,Fl:()=>qe,IU:()=>Se,Jd:()=>w,OT:()=>ye,PG:()=>ge,SU:()=>Te,Um:()=>ve,WL:()=>Le,X$:()=>P,X3:()=>we,XI:()=>Ae,Xl:()=>Ee,dq:()=>Ie,iH:()=>xe,j:()=>E,lk:()=>S,nZ:()=>l,qj:()=>me,qq:()=>_,yT:()=>Oe});var r=n(3577);let o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function l(){return o}function c(e){o&&o.cleanups.push(e)}const a=e=>{const t=new Set(e);return t.w=0,t.n=0,t},s=e=>(e.w&d)>0,u=e=>(e.n&d)>0,f=new WeakMap;let p=0,d=1;const h=30;let m;const v=Symbol(""),y=Symbol("");class _{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=o){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=m,t=b;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=m,m=this,b=!0,d=1<<++p,p<=h?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=d})(this):g(this),this.fn()}finally{p<=h&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];s(o)&&!u(o)?o.delete(e):t[n++]=o,o.w&=~d,o.n&=~d}t.length=n}})(this),d=1<<--p,m=this.parent,b=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){m===this?this.deferStop=!0:this.active&&(g(this),this.onStop&&this.onStop(),this.active=!1)}}function g(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let b=!0;const O=[];function w(){O.push(b),b=!1}function S(){const e=O.pop();b=void 0===e||e}function E(e,t,n){if(b&&m){let t=f.get(e);t||f.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=a()),j(r)}}function j(e,t){let n=!1;p<=h?u(e)||(e.n|=d,n=!s(e)):n=!e.has(m),n&&(e.add(m),m.deps.push(e))}function P(e,t,n,o,i,l){const c=f.get(e);if(!c)return;let s=[];if("clear"===t)s=[...c.values()];else if("length"===n&&(0,r.kJ)(e)){const e=Number(o);c.forEach(((t,n)=>{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(c.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&s.push(c.get("length")):(s.push(c.get(v)),(0,r._N)(e)&&s.push(c.get(y)));break;case"delete":(0,r.kJ)(e)||(s.push(c.get(v)),(0,r._N)(e)&&s.push(c.get(y)));break;case"set":(0,r._N)(e)&&s.push(c.get(v))}if(1===s.length)s[0]&&k(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);k(a(e))}}function k(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const e of n)e.computed&&C(e);for(const e of n)e.computed||C(e)}function C(e,t){(e!==m||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const I=(0,r.fY)("__proto__,__v_isRef,__isVue"),x=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),A=M(),D=M(!1,!0),N=M(!0),T=R();function R(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Se(this);for(let e=0,t=this.length;e<t;e++)E(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Se)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){w();const n=Se(this)[t].apply(this,e);return S(),n}})),e}function L(e){const t=Se(this);return E(t,0,e),t.hasOwnProperty(e)}function M(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?he:de:t?pe:fe).get(n))return n;const l=(0,r.kJ)(n);if(!e){if(l&&(0,r.RI)(T,o))return Reflect.get(T,o,i);if("hasOwnProperty"===o)return L}const c=Reflect.get(n,o,i);return((0,r.yk)(o)?x.has(o):I(o))?c:(e||E(n,0,o),t?c:Ie(c)?l&&(0,r.S0)(o)?c:c.value:(0,r.Kn)(c)?e?ye(c):me(c):c)}}const F=U(),H=U(!0);function U(e=!1){return function(t,n,o,i){let l=t[n];if(be(l)&&Ie(l)&&!Ie(o))return!1;if(!e&&(Oe(o)||be(o)||(l=Se(l),o=Se(o)),!(0,r.kJ)(t)&&Ie(l)&&!Ie(o)))return l.value=o,!0;const c=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)<t.length:(0,r.RI)(t,n),a=Reflect.set(t,n,o,i);return t===Se(i)&&(c?(0,r.aU)(o,l)&&P(t,"set",n,o):P(t,"add",n,o)),a}}const z={get:A,set:F,deleteProperty:function(e,t){const n=(0,r.RI)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&P(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.yk)(t)&&x.has(t)||E(e,0,t),n},ownKeys:function(e){return E(e,0,(0,r.kJ)(e)?"length":v),Reflect.ownKeys(e)}},q={get:N,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},$=(0,r.l7)({},z,{get:D,set:H}),B=e=>e,V=e=>Reflect.getPrototypeOf(e);function J(e,t,n=!1,r=!1){const o=Se(e=e.__v_raw),i=Se(t);n||(t!==i&&E(o,0,t),E(o,0,i));const{has:l}=V(o),c=r?B:n?Pe:je;return l.call(o,t)?c(e.get(t)):l.call(o,i)?c(e.get(i)):void(e!==o&&e.get(t))}function W(e,t=!1){const n=this.__v_raw,r=Se(n),o=Se(e);return t||(e!==o&&E(r,0,e),E(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function K(e,t=!1){return e=e.__v_raw,!t&&E(Se(e),0,v),Reflect.get(e,"size",e)}function G(e){e=Se(e);const t=Se(this);return V(t).has.call(t,e)||(t.add(e),P(t,"add",e,e)),this}function Y(e,t){t=Se(t);const n=Se(this),{has:o,get:i}=V(n);let l=o.call(n,e);l||(e=Se(e),l=o.call(n,e));const c=i.call(n,e);return n.set(e,t),l?(0,r.aU)(t,c)&&P(n,"set",e,t):P(n,"add",e,t),this}function Z(e){const t=Se(this),{has:n,get:r}=V(t);let o=n.call(t,e);o||(e=Se(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&P(t,"delete",e,void 0),i}function X(){const e=Se(this),t=0!==e.size,n=e.clear();return t&&P(e,"clear",void 0,void 0),n}function Q(e,t){return function(n,r){const o=this,i=o.__v_raw,l=Se(i),c=t?B:e?Pe:je;return!e&&E(l,0,v),i.forEach(((e,t)=>n.call(r,c(e),c(t),o)))}}function ee(e,t,n){return function(...o){const i=this.__v_raw,l=Se(i),c=(0,r._N)(l),a="entries"===e||e===Symbol.iterator&&c,s="keys"===e&&c,u=i[e](...o),f=n?B:t?Pe:je;return!t&&E(l,0,s?y:v),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function te(e){return function(...t){return"delete"!==e&&this}}function ne(){const e={get(e){return J(this,e)},get size(){return K(this)},has:W,add:G,set:Y,delete:Z,clear:X,forEach:Q(!1,!1)},t={get(e){return J(this,e,!1,!0)},get size(){return K(this)},has:W,add:G,set:Y,delete:Z,clear:X,forEach:Q(!1,!0)},n={get(e){return J(this,e,!0)},get size(){return K(this,!0)},has(e){return W.call(this,e,!0)},add:te("add"),set:te("set"),delete:te("delete"),clear:te("clear"),forEach:Q(!0,!1)},r={get(e){return J(this,e,!0,!0)},get size(){return K(this,!0)},has(e){return W.call(this,e,!0)},add:te("add"),set:te("set"),delete:te("delete"),clear:te("clear"),forEach:Q(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=ee(o,!1,!1),n[o]=ee(o,!0,!1),t[o]=ee(o,!1,!0),r[o]=ee(o,!0,!0)})),[e,n,t,r]}const[re,oe,ie,le]=ne();function ce(e,t){const n=t?e?le:ie:e?oe:re;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,i)}const ae={get:ce(!1,!1)},se={get:ce(!1,!0)},ue={get:ce(!0,!1)},fe=new WeakMap,pe=new WeakMap,de=new WeakMap,he=new WeakMap;function me(e){return be(e)?e:_e(e,!1,z,ae,fe)}function ve(e){return _e(e,!1,$,se,pe)}function ye(e){return _e(e,!0,q,ue,de)}function _e(e,t,n,o,i){if(!(0,r.Kn)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=i.get(e);if(l)return l;const c=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.W7)(a));var a;if(0===c)return e;const s=new Proxy(e,2===c?o:n);return i.set(e,s),s}function ge(e){return be(e)?ge(e.__v_raw):!(!e||!e.__v_isReactive)}function be(e){return!(!e||!e.__v_isReadonly)}function Oe(e){return!(!e||!e.__v_isShallow)}function we(e){return ge(e)||be(e)}function Se(e){const t=e&&e.__v_raw;return t?Se(t):e}function Ee(e){return(0,r.Nj)(e,"__v_skip",!0),e}const je=e=>(0,r.Kn)(e)?me(e):e,Pe=e=>(0,r.Kn)(e)?ye(e):e;function ke(e){b&&m&&j((e=Se(e)).dep||(e.dep=a()))}function Ce(e,t){const n=(e=Se(e)).dep;n&&k(n)}function Ie(e){return!(!e||!0!==e.__v_isRef)}function xe(e){return De(e,!1)}function Ae(e){return De(e,!0)}function De(e,t){return Ie(e)?e:new Ne(e,t)}class Ne{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Se(e),this._value=t?e:je(e)}get value(){return ke(this),this._value}set value(e){const t=this.__v_isShallow||Oe(e)||be(e);e=t?e:Se(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:je(e),Ce(this))}}function Te(e){return Ie(e)?e.value:e}const Re={get:(e,t,n)=>Te(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ie(o)&&!Ie(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Le(e){return ge(e)?e:new Proxy(e,Re)}function Me(e){const t=(0,r.kJ)(e)?new Array(e.length):{};for(const n in e)t[n]=He(e,n);return t}class Fe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Se(this._object),t=this._key,null===(n=f.get(e))||void 0===n?void 0:n.get(t);var e,t,n}}function He(e,t,n){const r=e[t];return Ie(r)?r:new Fe(e,t,n)}var Ue;class ze{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Ue]=!1,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,Ce(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=Se(this);return ke(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function qe(e,t,n=!1){let o,i;const l=(0,r.mf)(e);return l?(o=e,i=r.dG):(o=e.get,i=e.set),new ze(o,i,l||!i,n)}Ue="__v_isReadonly"},6252:(e,t,n)=>{"use strict";n.d(t,{$d:()=>l,Ah:()=>ve,Eo:()=>dt,FN:()=>Wt,Fl:()=>rn,HY:()=>vt,JJ:()=>M,Jd:()=>me,Ko:()=>ke,P$:()=>W,Q6:()=>Q,RC:()=>ne,U2:()=>G,Uk:()=>Lt,WI:()=>Ce,Wm:()=>Tt,Y3:()=>y,Y8:()=>V,YP:()=>U,_:()=>Nt,aZ:()=>ee,bv:()=>pe,dG:()=>qt,f3:()=>F,h:()=>on,iD:()=>Pt,ic:()=>he,j4:()=>kt,kq:()=>Ft,nK:()=>X,uE:()=>Mt,up:()=>Ee,w5:()=>A,wg:()=>wt,wy:()=>Oe});var r=n(2262),o=n(3577);function i(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){c(e,t,n)}return o}function l(e,t,n,r){if((0,o.mf)(e)){const l=i(e,t,n,r);return l&&(0,o.tI)(l)&&l.catch((e=>{c(e,t,n)})),l}const a=[];for(let o=0;o<e.length;o++)a.push(l(e[o],t,n,r));return a}function c(e,t,n,r=!0){if(t&&t.vnode,t){let r=t.parent;const o=t.proxy,l=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,l))return;r=r.parent}const c=t.appContext.config.errorHandler;if(c)return void i(c,null,10,[e,o,l])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let a=!1,s=!1;const u=[];let f=0;const p=[];let d=null,h=0;const m=Promise.resolve();let v=null;function y(e){const t=v||m;return e?t.then(this?e.bind(this):e):t}function _(e){u.length&&u.includes(e,a&&e.allowRecurse?f+1:f)||(null==e.id?u.push(e):u.splice(function(e){let t=f+1,n=u.length;for(;t<n;){const r=t+n>>>1;w(u[r])<e?t=r+1:n=r}return t}(e.id),0,e),g())}function g(){a||s||(s=!0,v=m.then(E))}function b(e,t=(a?f+1:0)){for(;t<u.length;t++){const e=u[t];e&&e.pre&&(u.splice(t,1),t--,e())}}function O(e){if(p.length){const e=[...new Set(p)];if(p.length=0,d)return void d.push(...e);for(d=e,d.sort(((e,t)=>w(e)-w(t))),h=0;h<d.length;h++)d[h]();d=null,h=0}}const w=e=>null==e.id?1/0:e.id,S=(e,t)=>{const n=w(e)-w(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function E(e){s=!1,a=!0,u.sort(S),o.dG;try{for(f=0;f<u.length;f++){const e=u[f];e&&!1!==e.active&&i(e,null,14)}}finally{f=0,u.length=0,O(),a=!1,v=null,(u.length||p.length)&&E(e)}}function j(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.kT;let i=n;const c=t.startsWith("update:"),a=c&&t.slice(7);if(a&&a in r){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:l}=r[e]||o.kT;l&&(i=n.map((e=>(0,o.HD)(e)?e.trim():e))),t&&(i=n.map(o.h5))}let s,u=r[s=(0,o.hR)(t)]||r[s=(0,o.hR)((0,o._A)(t))];!u&&c&&(u=r[s=(0,o.hR)((0,o.rs)(t))]),u&&l(u,e,6,i);const f=r[s+"Once"];if(f){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,l(f,e,6,i)}}function P(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const l=e.emits;let c={},a=!1;if(!(0,o.mf)(e)){const r=e=>{const n=P(e,t,!0);n&&(a=!0,(0,o.l7)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return l||a?((0,o.kJ)(l)?l.forEach((e=>c[e]=null)):(0,o.l7)(c,l),(0,o.Kn)(e)&&r.set(e,c),c):((0,o.Kn)(e)&&r.set(e,null),null)}function k(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}new Set,new Map;let C=null,I=null;function x(e){const t=C;return C=e,I=e&&e.type.__scopeId||null,t}function A(e,t=C,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Et(-1);const o=x(t);let i;try{i=e(...n)}finally{x(o),r._d&&Et(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function D(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:l,propsOptions:[a],slots:s,attrs:u,emit:f,render:p,renderCache:d,data:h,setupState:m,ctx:v,inheritAttrs:y}=e;let _,g;const b=x(e);try{if(4&n.shapeFlag){const e=i||r;_=Ht(p.call(e,e,d,l,m,h,v)),g=u}else{const e=t;_=Ht(e.length>1?e(l,{attrs:u,slots:s,emit:f}):e(l,null)),g=t.props?u:N(u)}}catch(t){bt.length=0,c(t,e,1),_=Tt(_t)}let O=_;if(g&&!1!==y){const e=Object.keys(g),{shapeFlag:t}=O;e.length&&7&t&&(a&&e.some(o.tR)&&(g=T(g,a)),O=Rt(O,g))}return n.dirs&&(O=Rt(O),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),_=O,x(b),_}const N=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},T=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function R(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!k(n,i))return!0}return!1}function L(e,t){var n;t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):(n=e,(0,o.kJ)(n)?p.push(...n):d&&d.includes(n,n.allowRecurse?h+1:h)||p.push(n),g())}function M(e,t){if(Jt){let n=Jt.provides;const r=Jt.parent&&Jt.parent.provides;r===n&&(n=Jt.provides=Object.create(r)),n[e]=t}}function F(e,t,n=!1){const r=Jt||C;if(r){const i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,o.mf)(t)?t.call(r.proxy):t}}const H={};function U(e,t,n){return z(e,t,n)}function z(e,t,{immediate:n,deep:c,flush:a,onTrack:s,onTrigger:u}=o.kT){const f=(0,r.nZ)()===(null==Jt?void 0:Jt.scope)?Jt:null;let p,d,h=!1,m=!1;if((0,r.dq)(e)?(p=()=>e.value,h=(0,r.yT)(e)):(0,r.PG)(e)?(p=()=>e,c=!0):(0,o.kJ)(e)?(m=!0,h=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),p=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?B(e):(0,o.mf)(e)?i(e,f,2):void 0))):p=(0,o.mf)(e)?t?()=>i(e,f,2):()=>{if(!f||!f.isUnmounted)return d&&d(),l(e,f,3,[y])}:o.dG,t&&c){const e=p;p=()=>B(e())}let v,y=e=>{d=w.onStop=()=>{i(e,f,4)}};if(Qt){if(y=o.dG,t?n&&l(t,f,3,[p(),m?[]:void 0,y]):p(),"sync"!==a)return o.dG;{const e=cn();v=e.__watcherHandles||(e.__watcherHandles=[])}}let g=m?new Array(e.length).fill(H):H;const b=()=>{if(w.active)if(t){const e=w.run();(c||h||(m?e.some(((e,t)=>(0,o.aU)(e,g[t]))):(0,o.aU)(e,g)))&&(d&&d(),l(t,f,3,[e,g===H?void 0:m&&g[0]===H?[]:g,y]),g=e)}else w.run()};let O;b.allowRecurse=!!t,"sync"===a?O=b:"post"===a?O=()=>pt(b,f&&f.suspense):(b.pre=!0,f&&(b.id=f.uid),O=()=>_(b));const w=new r.qq(p,O);t?n?b():g=w.run():"post"===a?pt(w.run.bind(w),f&&f.suspense):w.run();const S=()=>{w.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,w)};return v&&v.push(S),S}function q(e,t,n){const r=this.proxy,i=(0,o.HD)(e)?e.includes(".")?$(r,e):()=>r[e]:e.bind(r,r);let l;(0,o.mf)(t)?l=t:(l=t.handler,n=t);const c=Jt;Kt(this);const a=z(i,l.bind(r),n);return c?Kt(c):Gt(),a}function $(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function B(e,t){if(!(0,o.Kn)(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),(0,r.dq)(e))B(e.value,t);else if((0,o.kJ)(e))for(let n=0;n<e.length;n++)B(e[n],t);else if((0,o.DM)(e)||(0,o._N)(e))e.forEach((e=>{B(e,t)}));else if((0,o.PO)(e))for(const n in e)B(e[n],t);return e}function V(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pe((()=>{e.isMounted=!0})),me((()=>{e.isUnmounting=!0})),e}const J=[Function,Array],W={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:J,onEnter:J,onAfterEnter:J,onEnterCancelled:J,onBeforeLeave:J,onLeave:J,onAfterLeave:J,onLeaveCancelled:J,onBeforeAppear:J,onAppear:J,onAfterAppear:J,onAppearCancelled:J},setup(e,{slots:t}){const n=Wt(),o=V();let i;return()=>{const l=t.default&&Q(t.default(),!0);if(!l||!l.length)return;let c=l[0];if(l.length>1){let e=!1;for(const t of l)if(t.type!==_t){c=t,e=!0;break}}const a=(0,r.IU)(e),{mode:s}=a;if(o.isLeaving)return Y(c);const u=Z(c);if(!u)return Y(c);const f=G(u,a,o,n);X(u,f);const p=n.subTree,d=p&&Z(p);let h=!1;const{getTransitionKey:m}=u.type;if(m){const e=m();void 0===i?i=e:e!==i&&(i=e,h=!0)}if(d&&d.type!==_t&&(!It(u,d)||h)){const e=G(d,a,o,n);if(X(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},Y(c);"in-out"===s&&u.type!==_t&&(e.delayLeave=(e,t,n)=>{K(o,d)[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=n})}return c}}};function K(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function G(e,t,n,r){const{appear:i,mode:c,persisted:a=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:y,onAppear:_,onAfterAppear:g,onAppearCancelled:b}=t,O=String(e.key),w=K(n,e),S=(e,t)=>{e&&l(e,r,9,t)},E=(e,t)=>{const n=t[1];S(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},j={mode:c,persisted:a,beforeEnter(t){let r=s;if(!n.isMounted){if(!i)return;r=y||s}t._leaveCb&&t._leaveCb(!0);const o=w[O];o&&It(e,o)&&o.el._leaveCb&&o.el._leaveCb(),S(r,[t])},enter(e){let t=u,r=f,o=p;if(!n.isMounted){if(!i)return;t=_||u,r=g||f,o=b||p}let l=!1;const c=e._enterCb=t=>{l||(l=!0,S(t?o:r,[e]),j.delayedLeave&&j.delayedLeave(),e._enterCb=void 0)};t?E(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();S(d,[t]);let i=!1;const l=t._leaveCb=n=>{i||(i=!0,r(),S(n?v:m,[t]),t._leaveCb=void 0,w[o]===e&&delete w[o])};w[o]=e,h?E(h,[t,l]):l()},clone:e=>G(e,t,n,r)};return j}function Y(e){if(oe(e))return(e=Rt(e)).children=null,e}function Z(e){return oe(e)?e.children?e.children[0]:void 0:e}function X(e,t){6&e.shapeFlag&&e.component?X(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Q(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let l=e[i];const c=null==n?l.key:String(n)+String(null!=l.key?l.key:i);l.type===vt?(128&l.patchFlag&&o++,r=r.concat(Q(l.children,t,c))):(t||l.type!==_t)&&r.push(null!=c?Rt(l,{key:c}):l)}if(o>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ee(e){return(0,o.mf)(e)?{setup:e,name:e.name}:e}const te=e=>!!e.type.__asyncLoader;function ne(e){(0,o.mf)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:l=200,timeout:a,suspensible:s=!0,onError:u}=e;let f,p=null,d=0;const h=()=>{let e;return p||(e=p=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),u)return new Promise(((t,n)=>{u(e,(()=>t((d++,p=null,h()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==p&&p?p:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),f=t,t))))};return ee({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return f},setup(){const e=Jt;if(f)return()=>re(f,e);const t=t=>{p=null,c(t,e,13,!i)};if(s&&e.suspense||Qt)return h().then((t=>()=>re(t,e))).catch((e=>(t(e),()=>i?Tt(i,{error:e}):null)));const o=(0,r.iH)(!1),u=(0,r.iH)(),d=(0,r.iH)(!!l);return l&&setTimeout((()=>{d.value=!1}),l),null!=a&&setTimeout((()=>{if(!o.value&&!u.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),u.value=e}}),a),h().then((()=>{o.value=!0,e.parent&&oe(e.parent.vnode)&&_(e.parent.update)})).catch((e=>{t(e),u.value=e})),()=>o.value&&f?re(f,e):u.value&&i?Tt(i,{error:u.value}):n&&!d.value?Tt(n):void 0}})}function re(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,l=Tt(e,r,o);return l.ref=n,l.ce=i,delete t.vnode.ce,l}const oe=e=>e.type.__isKeepAlive;function ie(e,t){ce(e,"a",t)}function le(e,t){ce(e,"da",t)}function ce(e,t,n=Jt){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(se(t,r,n),n){let e=n.parent;for(;e&&e.parent;)oe(e.parent.vnode)&&ae(r,t,n,e),e=e.parent}}function ae(e,t,n,r){const i=se(t,e,r,!0);ve((()=>{(0,o.Od)(r[t],i)}),n)}function se(e,t,n=Jt,o=!1){if(n){const i=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),Kt(n);const i=l(t,n,e,o);return Gt(),(0,r.lk)(),i});return o?i.unshift(c):i.push(c),c}}RegExp,RegExp;const ue=e=>(t,n=Jt)=>(!Qt||"sp"===e)&&se(e,((...e)=>t(...e)),n),fe=ue("bm"),pe=ue("m"),de=ue("bu"),he=ue("u"),me=ue("bum"),ve=ue("um"),ye=ue("sp"),_e=ue("rtg"),ge=ue("rtc");function be(e,t=Jt){se("ec",e,t)}function Oe(e,t){const n=C;if(null===n)return e;const r=nn(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,l,c,a=o.kT]=t[e];n&&((0,o.mf)(n)&&(n={mounted:n,updated:n}),n.deep&&B(l),i.push({dir:n,instance:r,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function we(e,t,n,o){const i=e.dirs,c=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];c&&(s.oldValue=c[a].value);let u=s.dir[o];u&&((0,r.Jd)(),l(u,n,8,[e.el,s,e,t]),(0,r.lk)())}}const Se="components";function Ee(e,t){return function(e,t,n=!0,r=!1){const i=C||Jt;if(i){const n=i.type;if(e===Se){const e=function(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===(0,o._A)(t)||e===(0,o.kC)((0,o._A)(t))))return n}const l=Pe(i[e]||n[e],t)||Pe(i.appContext[e],t);return!l&&r?n:l}}(Se,e,!0,t)||e}const je=Symbol();function Pe(e,t){return e&&(e[t]||e[(0,o._A)(t)]||e[(0,o.kC)((0,o._A)(t))])}function ke(e,t,n,r){let i;const l=n&&n[r];if((0,o.kJ)(e)||(0,o.HD)(e)){i=new Array(e.length);for(let n=0,r=e.length;n<r;n++)i[n]=t(e[n],n,void 0,l&&l[n])}else if("number"==typeof e){i=new Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,l&&l[n])}else if((0,o.Kn)(e))if(e[Symbol.iterator])i=Array.from(e,((e,n)=>t(e,n,void 0,l&&l[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r<o;r++){const o=n[r];i[r]=t(e[o],o,r,l&&l[r])}}else i=[];return n&&(n[r]=i),i}function Ce(e,t,n={},r,o){if(C.isCE||C.parent&&te(C.parent)&&C.parent.isCE)return"default"!==t&&(n.name=t),Tt("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),wt();const l=i&&Ie(i(n)),c=kt(vt,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&1===e._?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ie(e){return e.some((e=>!Ct(e)||e.type!==_t&&!(e.type===vt&&!Ie(e.children))))?e:null}const xe=e=>e?Yt(e)?nn(e)||e.proxy:xe(e.parent):null,Ae=(0,o.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xe(e.parent),$root:e=>xe(e.root),$emit:e=>e.emit,$options:e=>Me(e),$forceUpdate:e=>e.f||(e.f=()=>_(e.update)),$nextTick:e=>e.n||(e.n=y.bind(e.proxy)),$watch:e=>q.bind(e)}),De=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Ne={get({_:e},t){const{ctx:n,setupState:i,data:l,props:c,accessCache:a,type:s,appContext:u}=e;let f;if("$"!==t[0]){const r=a[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return l[t];case 4:return n[t];case 3:return c[t]}else{if(De(i,t))return a[t]=1,i[t];if(l!==o.kT&&(0,o.RI)(l,t))return a[t]=2,l[t];if((f=e.propsOptions[0])&&(0,o.RI)(f,t))return a[t]=3,c[t];if(n!==o.kT&&(0,o.RI)(n,t))return a[t]=4,n[t];Te&&(a[t]=0)}}const p=Ae[t];let d,h;return p?("$attrs"===t&&(0,r.j)(e,"get",t),p(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==o.kT&&(0,o.RI)(n,t)?(a[t]=4,n[t]):(h=u.config.globalProperties,(0,o.RI)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:l}=e;return De(i,t)?(i[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!((0,o.RI)(e.props,t)||"$"===t[0]&&t.slice(1)in e||(l[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:l}},c){let a;return!!n[c]||e!==o.kT&&(0,o.RI)(e,c)||De(t,c)||(a=l[0])&&(0,o.RI)(a,c)||(0,o.RI)(r,c)||(0,o.RI)(Ae,c)||(0,o.RI)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Te=!0;function Re(e,t,n){l((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Le(e,t,n,r){const i=r.includes(".")?$(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&U(i,n)}else if((0,o.mf)(e))U(i,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>Le(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&U(i,r,e)}}function Me(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:c}}=e.appContext,a=l.get(t);let s;return a?s=a:i.length||n||r?(s={},i.length&&i.forEach((e=>Fe(s,e,c,!0))),Fe(s,t,c)):s=t,(0,o.Kn)(t)&&l.set(t,s),s}function Fe(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Fe(e,i,n,!0),o&&o.forEach((t=>Fe(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=He[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const He={data:Ue,props:$e,emits:$e,methods:$e,computed:$e,beforeCreate:qe,created:qe,beforeMount:qe,mounted:qe,beforeUpdate:qe,updated:qe,beforeDestroy:qe,beforeUnmount:qe,destroyed:qe,unmounted:qe,activated:qe,deactivated:qe,errorCaptured:qe,serverPrefetch:qe,components:$e,directives:$e,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,o.l7)(Object.create(null),e);for(const r in t)n[r]=qe(e[r],t[r]);return n},provide:Ue,inject:function(e,t){return $e(ze(e),ze(t))}};function Ue(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function ze(e){if((0,o.kJ)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qe(e,t){return e?[...new Set([].concat(e,t))]:t}function $e(e,t){return e?(0,o.l7)((0,o.l7)(Object.create(null),e),t):t}function Be(e,t,n,i){const[l,c]=e.propsOptions;let a,s=!1;if(t)for(let r in t){if((0,o.Gg)(r))continue;const u=t[r];let f;l&&(0,o.RI)(l,f=(0,o._A)(r))?c&&c.includes(f)?(a||(a={}))[f]=u:n[f]=u:k(e.emitsOptions,r)||r in i&&u===i[r]||(i[r]=u,s=!0)}if(c){const t=(0,r.IU)(n),i=a||o.kT;for(let r=0;r<c.length;r++){const a=c[r];n[a]=Ve(l,t,a,i[a],e,!(0,o.RI)(i,a))}}return s}function Ve(e,t,n,r,i,l){const c=e[n];if(null!=c){const e=(0,o.RI)(c,"default");if(e&&void 0===r){const e=c.default;if(c.type!==Function&&(0,o.mf)(e)){const{propsDefaults:o}=i;n in o?r=o[n]:(Kt(i),r=o[n]=e.call(null,t),Gt())}else r=e}c[0]&&(l&&!e?r=!1:!c[1]||""!==r&&r!==(0,o.rs)(n)||(r=!0))}return r}function Je(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const l=e.props,c={},a=[];let s=!1;if(!(0,o.mf)(e)){const r=e=>{s=!0;const[n,r]=Je(e,t,!0);(0,o.l7)(c,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!l&&!s)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(l))for(let e=0;e<l.length;e++){const t=(0,o._A)(l[e]);We(t)&&(c[t]=o.kT)}else if(l)for(const e in l){const t=(0,o._A)(e);if(We(t)){const n=l[e],r=c[t]=(0,o.kJ)(n)||(0,o.mf)(n)?{type:n}:Object.assign({},n);if(r){const e=Ye(Boolean,r.type),n=Ye(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||(0,o.RI)(r,"default"))&&a.push(t)}}}const u=[c,a];return(0,o.Kn)(e)&&r.set(e,u),u}function We(e){return"$"!==e[0]}function Ke(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function Ge(e,t){return Ke(e)===Ke(t)}function Ye(e,t){return(0,o.kJ)(t)?t.findIndex((t=>Ge(t,e))):(0,o.mf)(t)&&Ge(t,e)?0:-1}const Ze=e=>"_"===e[0]||"$stable"===e,Xe=e=>(0,o.kJ)(e)?e.map(Ht):[Ht(e)],Qe=(e,t,n)=>{if(t._n)return t;const r=A(((...e)=>Xe(t(...e))),n);return r._c=!1,r},et=(e,t,n)=>{const r=e._ctx;for(const n in e){if(Ze(n))continue;const i=e[n];if((0,o.mf)(i))t[n]=Qe(0,i,r);else if(null!=i){const e=Xe(i);t[n]=()=>e}}},tt=(e,t)=>{const n=Xe(t);e.slots.default=()=>n},nt=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):et(t,e.slots={})}else e.slots={},t&&tt(e,t);(0,o.Nj)(e.slots,xt,1)},rt=(e,t,n)=>{const{vnode:r,slots:i}=e;let l=!0,c=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?l=!1:((0,o.l7)(i,t),n||1!==e||delete i._):(l=!t.$stable,et(t,i)),c=t}else t&&(tt(e,t),c={default:1});if(l)for(const e in i)Ze(e)||e in c||delete i[e]};function ot(){return{app:null,config:{isNativeTag:o.NO,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 it=0;function lt(e,t){return function(n,r=null){(0,o.mf)(n)||(n=Object.assign({},n)),null==r||(0,o.Kn)(r)||(r=null);const i=ot(),l=new Set;let c=!1;const a=i.app={_uid:it++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:an,get config(){return i.config},set config(e){},use:(e,...t)=>(l.has(e)||(e&&(0,o.mf)(e.install)?(l.add(e),e.install(a,...t)):(0,o.mf)(e)&&(l.add(e),e(a,...t))),a),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(o,l,s){if(!c){const u=Tt(n,r);return u.appContext=i,l&&t?t(u,o):e(u,o,s),c=!0,a._container=o,o.__vue_app__=a,nn(u.component)||u.component.proxy}},unmount(){c&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a)};return a}}function ct(e,t,n,l,c=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>ct(e,t&&((0,o.kJ)(t)?t[r]:t),n,l,c)));if(te(l)&&!c)return;const a=4&l.shapeFlag?nn(l.component)||l.component.proxy:l.el,s=c?null:a,{i:u,r:f}=e,p=t&&t.r,d=u.refs===o.kT?u.refs={}:u.refs,h=u.setupState;if(null!=p&&p!==f&&((0,o.HD)(p)?(d[p]=null,(0,o.RI)(h,p)&&(h[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,o.mf)(f))i(f,u,12,[s,d]);else{const t=(0,o.HD)(f),i=(0,r.dq)(f);if(t||i){const r=()=>{if(e.f){const n=t?(0,o.RI)(h,f)?h[f]:d[f]:f.value;c?(0,o.kJ)(n)&&(0,o.Od)(n,a):(0,o.kJ)(n)?n.includes(a)||n.push(a):t?(d[f]=[a],(0,o.RI)(h,f)&&(h[f]=d[f])):(f.value=[a],e.k&&(d[e.k]=f.value))}else t?(d[f]=s,(0,o.RI)(h,f)&&(h[f]=s)):i&&(f.value=s,e.k&&(d[e.k]=s))};s?(r.id=-1,pt(r,n)):r()}}}let at=!1;const st=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,ut=e=>8===e.nodeType;function ft(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:l,parentNode:c,remove:a,insert:s,createComment:u}}=e,f=(n,r,o,a,u,y=!1)=>{const _=ut(n)&&"["===n.data,g=()=>m(n,r,o,a,u,_),{type:b,ref:O,shapeFlag:w,patchFlag:S}=r;let E=n.nodeType;r.el=n,-2===S&&(y=!1,r.dynamicChildren=null);let j=null;switch(b){case yt:3!==E?""===r.children?(s(r.el=i(""),c(n),n),j=n):j=g():(n.data!==r.children&&(at=!0,n.data=r.children),j=l(n));break;case _t:j=8!==E||_?g():l(n);break;case gt:if(_&&(E=(n=l(n)).nodeType),1===E||3===E){j=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===j.nodeType?j.outerHTML:j.data),t===r.staticCount-1&&(r.anchor=j),j=l(j);return _?l(j):j}g();break;case vt:j=_?h(n,r,o,a,u,y):g();break;default:if(1&w)j=1!==E||r.type.toLowerCase()!==n.tagName.toLowerCase()?g():p(n,r,o,a,u,y);else if(6&w){r.slotScopeIds=u;const e=c(n);if(t(r,e,null,o,a,st(e),y),j=_?v(n):l(n),j&&ut(j)&&"teleport end"===j.data&&(j=l(j)),te(r)){let t;_?(t=Tt(vt),t.anchor=j?j.previousSibling:e.lastChild):t=3===n.nodeType?Lt(""):Tt("div"),t.el=n,r.component.subTree=t}}else 64&w?j=8!==E?g():r.type.hydrate(n,r,o,a,u,y,e,d):128&w&&(j=r.type.hydrate(n,r,o,a,st(c(n)),u,y,e,f))}return null!=O&&ct(O,null,a,r),j},p=(e,t,n,i,l,c)=>{c=c||!!t.dynamicChildren;const{type:s,props:u,patchFlag:f,shapeFlag:p,dirs:h}=t,m="input"===s&&h||"option"===s;if(m||-1!==f){if(h&&we(t,null,n,"created"),u)if(m||!c||48&f)for(const t in u)(m&&t.endsWith("value")||(0,o.F7)(t)&&!(0,o.Gg)(t))&&r(e,t,null,u[t],!1,void 0,n);else u.onClick&&r(e,"onClick",null,u.onClick,!1,void 0,n);let s;if((s=u&&u.onVnodeBeforeMount)&&$t(s,n,t),h&&we(t,null,n,"beforeMount"),((s=u&&u.onVnodeMounted)||h)&&L((()=>{s&&$t(s,n,t),h&&we(t,null,n,"mounted")}),i),16&p&&(!u||!u.innerHTML&&!u.textContent)){let r=d(e.firstChild,t,e,n,i,l,c);for(;r;){at=!0;const e=r;r=r.nextSibling,a(e)}}else 8&p&&e.textContent!==t.children&&(at=!0,e.textContent=t.children)}return e.nextSibling},d=(e,t,r,o,i,l,c)=>{c=c||!!t.dynamicChildren;const a=t.children,s=a.length;for(let t=0;t<s;t++){const s=c?a[t]:a[t]=Ht(a[t]);if(e)e=f(e,s,o,i,l,c);else{if(s.type===yt&&!s.children)continue;at=!0,n(null,s,r,null,o,i,st(r),l)}}return e},h=(e,t,n,r,o,i)=>{const{slotScopeIds:a}=t;a&&(o=o?o.concat(a):a);const f=c(e),p=d(l(e),t,f,n,r,o,i);return p&&ut(p)&&"]"===p.data?l(t.anchor=p):(at=!0,s(t.anchor=u("]"),f,p),p)},m=(e,t,r,o,i,s)=>{if(at=!0,t.el=null,s){const t=v(e);for(;;){const n=l(e);if(!n||n===t)break;a(n)}}const u=l(e),f=c(e);return a(e),n(null,t,f,u,r,o,st(f),i),u},v=e=>{let t=0;for(;e;)if((e=l(e))&&ut(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return l(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),O(),void(t._vnode=e);at=!1,f(t.firstChild,e,null,null,null),O(),t._vnode=e,at&&console.error("Hydration completed but contains mismatches.")},f]}const pt=L;function dt(e){return function(e,t){(0,o.E9)().__VUE__=!0;const{insert:n,remove:l,patchProp:a,createElement:s,createText:p,createComment:d,setText:h,setElementText:m,parentNode:v,nextSibling:y,setScopeId:g=o.dG,insertStaticContent:w}=e,S=(e,t,n,r=null,o=null,i=null,l=!1,c=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!It(e,t)&&(r=ne(e),Y(e,o,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:s,ref:u,shapeFlag:f}=t;switch(s){case yt:E(e,t,n,r);break;case _t:C(e,t,n,r);break;case gt:null==e&&I(t,n,r,l);break;case vt:U(e,t,n,r,o,i,l,c,a);break;default:1&f?A(e,t,n,r,o,i,l,c,a):6&f?z(e,t,n,r,o,i,l,c,a):(64&f||128&f)&&s.process(e,t,n,r,o,i,l,c,a,ie)}null!=u&&o&&ct(u,e&&e.ref,i,t||e,!t)},E=(e,t,r,o)=>{if(null==e)n(t.el=p(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},C=(e,t,r,o)=>{null==e?n(t.el=d(t.children||""),r,o):t.el=e.el},I=(e,t,n,r)=>{[e.el,e.anchor]=w(e.children,t,n,r,e.el,e.anchor)},x=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=y(e),l(e),e=n;l(t)},A=(e,t,n,r,o,i,l,c,a)=>{l=l||"svg"===t.type,null==e?N(t,n,r,o,i,l,c,a):M(e,t,o,i,l,c,a)},N=(e,t,r,i,l,c,u,f)=>{let p,d;const{type:h,props:v,shapeFlag:y,transition:_,dirs:g}=e;if(p=e.el=s(e.type,c,v&&v.is,v),8&y?m(p,e.children):16&y&&L(e.children,p,null,i,l,c&&"foreignObject"!==h,u,f),g&&we(e,null,i,"created"),T(p,e,e.scopeId,u,i),v){for(const t in v)"value"===t||(0,o.Gg)(t)||a(p,t,null,v[t],c,e.children,i,l,ee);"value"in v&&a(p,"value",null,v.value),(d=v.onVnodeBeforeMount)&&$t(d,i,e)}g&&we(e,null,i,"beforeMount");const b=(!l||l&&!l.pendingBranch)&&_&&!_.persisted;b&&_.beforeEnter(p),n(p,t,r),((d=v&&v.onVnodeMounted)||b||g)&&pt((()=>{d&&$t(d,i,e),b&&_.enter(p),g&&we(e,null,i,"mounted")}),l)},T=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(o&&t===o.subTree){const t=o.vnode;T(e,t,t.scopeId,t.slotScopeIds,o.parent)}},L=(e,t,n,r,o,i,l,c,a=0)=>{for(let s=a;s<e.length;s++){const a=e[s]=c?Ut(e[s]):Ht(e[s]);S(null,a,t,n,r,o,i,l,c)}},M=(e,t,n,r,i,l,c)=>{const s=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const d=e.props||o.kT,h=t.props||o.kT;let v;n&&ht(n,!1),(v=h.onVnodeBeforeUpdate)&&$t(v,n,t,e),p&&we(t,e,n,"beforeUpdate"),n&&ht(n,!0);const y=i&&"foreignObject"!==t.type;if(f?F(e.dynamicChildren,f,s,n,r,y,l):c||J(e,t,s,null,n,r,y,l,!1),u>0){if(16&u)H(s,t,d,h,n,r,i);else if(2&u&&d.class!==h.class&&a(s,"class",null,h.class,i),4&u&&a(s,"style",d.style,h.style,i),8&u){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const l=o[t],c=d[l],u=h[l];u===c&&"value"!==l||a(s,l,c,u,i,e.children,n,r,ee)}}1&u&&e.children!==t.children&&m(s,t.children)}else c||null!=f||H(s,t,d,h,n,r,i);((v=h.onVnodeUpdated)||p)&&pt((()=>{v&&$t(v,n,t,e),p&&we(t,e,n,"updated")}),r)},F=(e,t,n,r,o,i,l)=>{for(let c=0;c<t.length;c++){const a=e[c],s=t[c],u=a.el&&(a.type===vt||!It(a,s)||70&a.shapeFlag)?v(a.el):n;S(a,s,u,null,r,o,i,l,!0)}},H=(e,t,n,r,i,l,c)=>{if(n!==r){if(n!==o.kT)for(const s in n)(0,o.Gg)(s)||s in r||a(e,s,n[s],null,c,t.children,i,l,ee);for(const s in r){if((0,o.Gg)(s))continue;const u=r[s],f=n[s];u!==f&&"value"!==s&&a(e,s,f,u,c,t.children,i,l,ee)}"value"in r&&a(e,"value",n.value,r.value)}},U=(e,t,r,o,i,l,c,a,s)=>{const u=t.el=e?e.el:p(""),f=t.anchor=e?e.anchor:p("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;m&&(a=a?a.concat(m):m),null==e?(n(u,r,o),n(f,r,o),L(t.children,r,f,i,l,c,a,s)):d>0&&64&d&&h&&e.dynamicChildren?(F(e.dynamicChildren,h,r,i,l,c,a),(null!=t.key||i&&t===i.subTree)&&mt(e,t,!0)):J(e,t,r,f,i,l,c,a,s)},z=(e,t,n,r,o,i,l,c,a)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,l,a):q(t,n,r,o,i,l,a):$(e,t,a)},q=(e,t,n,l,a,s,u)=>{const f=e.component=function(e,t,n){const i=e.type,l=(t?t.appContext:e.appContext)||Bt,c={uid:Vt++,vnode:e,type:i,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Je(i,l),emitsOptions:P(i,l),emit:null,emitted:null,propsDefaults:o.kT,inheritAttrs:i.inheritAttrs,ctx:o.kT,data:o.kT,props:o.kT,attrs:o.kT,slots:o.kT,refs:o.kT,setupState:o.kT,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return c.ctx={_:c},c.root=t?t.root:c,c.emit=j.bind(null,c),e.ce&&e.ce(c),c}(e,l,a);if(oe(e)&&(f.ctx.renderer=ie),function(e,t=!1){Qt=t;const{props:n,children:l}=e.vnode,a=Yt(e);!function(e,t,n,i=!1){const l={},c={};(0,o.Nj)(c,xt,1),e.propsDefaults=Object.create(null),Be(e,t,l,c);for(const t in e.propsOptions[0])t in l||(l[t]=void 0);n?e.props=i?l:(0,r.Um)(l):e.type.props?e.props=l:e.props=c,e.attrs=c}(e,n,a,t),nt(e,l);const s=a?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,Ne));const{setup:l}=n;if(l){const n=e.setupContext=l.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>((0,r.j)(e,"get","$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;Kt(e),(0,r.Jd)();const a=i(l,e,0,[e.props,n]);if((0,r.lk)(),Gt(),(0,o.tI)(a)){if(a.then(Gt,Gt),t)return a.then((n=>{en(e,n,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=a}else en(e,a,t)}else tn(e,t)}(e,t):void 0;Qt=!1}(f),f.asyncDep){if(a&&a.registerDep(f,B),!e.el){const e=f.subTree=Tt(_t);C(null,e,t,n)}}else B(f,e,t,n,a,s,u)},$=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:l,children:c,patchFlag:a}=t,s=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!c||c&&c.$stable)||r!==l&&(r?!l||R(r,l,s):!!l);if(1024&a)return!0;if(16&a)return r?R(r,l,s):!!l;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(l[n]!==r[n]&&!k(s,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void V(r,t,n);r.next=t,function(e){const t=u.indexOf(e);t>f&&u.splice(t,1)}(r.update),r.update()}else t.el=e.el,r.vnode=t},B=(e,t,n,i,l,c,a)=>{const s=e.effect=new r.qq((()=>{if(e.isMounted){let t,{next:n,bu:r,u:i,parent:s,vnode:u}=e,f=n;ht(e,!1),n?(n.el=u.el,V(e,n,a)):n=u,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&$t(t,s,n,u),ht(e,!0);const p=D(e),d=e.subTree;e.subTree=p,S(d,p,v(d.el),ne(d),e,l,c),n.el=p.el,null===f&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,p.el),i&&pt(i,l),(t=n.props&&n.props.onVnodeUpdated)&&pt((()=>$t(t,s,n,u)),l)}else{let r;const{el:a,props:s}=t,{bm:u,m:f,parent:p}=e,d=te(t);if(ht(e,!1),u&&(0,o.ir)(u),!d&&(r=s&&s.onVnodeBeforeMount)&&$t(r,p,t),ht(e,!0),a&&ce){const n=()=>{e.subTree=D(e),ce(a,e.subTree,e,l,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=D(e);S(null,r,n,i,e,l,c),t.el=r.el}if(f&&pt(f,l),!d&&(r=s&&s.onVnodeMounted)){const e=t;pt((()=>$t(r,p,e)),l)}(256&t.shapeFlag||p&&te(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&pt(e.a,l),e.isMounted=!0,t=n=i=null}}),(()=>_(u)),e.scope),u=e.update=()=>s.run();u.id=e.uid,ht(e,!0),u()},V=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:l,attrs:c,vnode:{patchFlag:a}}=e,s=(0,r.IU)(l),[u]=e.propsOptions;let f=!1;if(!(i||a>0)||16&a){let r;Be(e,t,l,c)&&(f=!0);for(const i in s)t&&((0,o.RI)(t,i)||(r=(0,o.rs)(i))!==i&&(0,o.RI)(t,r))||(u?!n||void 0===n[i]&&void 0===n[r]||(l[i]=Ve(u,s,i,void 0,e,!0)):delete l[i]);if(c!==s)for(const e in c)t&&(0,o.RI)(t,e)||(delete c[e],f=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];if(k(e.emitsOptions,i))continue;const a=t[i];if(u)if((0,o.RI)(c,i))a!==c[i]&&(c[i]=a,f=!0);else{const t=(0,o._A)(i);l[t]=Ve(u,s,t,a,e,!1)}else a!==c[i]&&(c[i]=a,f=!0)}}f&&(0,r.X$)(e,"set","$attrs")}(e,t.props,i,n),rt(e,t.children,n),(0,r.Jd)(),b(),(0,r.lk)()},J=(e,t,n,r,o,i,l,c,a=!1)=>{const s=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:d}=t;if(p>0){if(128&p)return void K(s,f,n,r,o,i,l,c,a);if(256&p)return void W(s,f,n,r,o,i,l,c,a)}8&d?(16&u&&ee(s,o,i),f!==s&&m(n,f)):16&u?16&d?K(s,f,n,r,o,i,l,c,a):ee(s,o,i,!0):(8&u&&m(n,""),16&d&&L(f,n,r,o,i,l,c,a))},W=(e,t,n,r,i,l,c,a,s)=>{e=e||o.Z6,t=t||o.Z6;const u=e.length,f=t.length,p=Math.min(u,f);let d;for(d=0;d<p;d++){const r=t[d]=s?Ut(t[d]):Ht(t[d]);S(e[d],r,n,null,i,l,c,a,s)}u>f?ee(e,i,l,!0,!1,p):L(t,n,r,i,l,c,a,s,p)},K=(e,t,n,r,i,l,c,a,s)=>{let u=0;const f=t.length;let p=e.length-1,d=f-1;for(;u<=p&&u<=d;){const r=e[u],o=t[u]=s?Ut(t[u]):Ht(t[u]);if(!It(r,o))break;S(r,o,n,null,i,l,c,a,s),u++}for(;u<=p&&u<=d;){const r=e[p],o=t[d]=s?Ut(t[d]):Ht(t[d]);if(!It(r,o))break;S(r,o,n,null,i,l,c,a,s),p--,d--}if(u>p){if(u<=d){const e=d+1,o=e<f?t[e].el:r;for(;u<=d;)S(null,t[u]=s?Ut(t[u]):Ht(t[u]),n,o,i,l,c,a,s),u++}}else if(u>d)for(;u<=p;)Y(e[u],i,l,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=d;u++){const e=t[u]=s?Ut(t[u]):Ht(t[u]);null!=e.key&&v.set(e.key,u)}let y,_=0;const g=d-m+1;let b=!1,O=0;const w=new Array(g);for(u=0;u<g;u++)w[u]=0;for(u=h;u<=p;u++){const r=e[u];if(_>=g){Y(r,i,l,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(y=m;y<=d;y++)if(0===w[y-m]&&It(r,t[y])){o=y;break}void 0===o?Y(r,i,l,!0):(w[o-m]=u+1,o>=O?O=o:b=!0,S(r,t[o],n,null,i,l,c,a,s),_++)}const E=b?function(e){const t=e.slice(),n=[0];let r,o,i,l,c;const a=e.length;for(r=0;r<a;r++){const a=e[r];if(0!==a){if(o=n[n.length-1],e[o]<a){t[r]=o,n.push(r);continue}for(i=0,l=n.length-1;i<l;)c=i+l>>1,e[n[c]]<a?i=c+1:l=c;a<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}(w):o.Z6;for(y=E.length-1,u=g-1;u>=0;u--){const e=m+u,o=t[e],p=e+1<f?t[e+1].el:r;0===w[u]?S(null,o,n,p,i,l,c,a,s):b&&(y<0||u!==E[y]?G(o,n,p,2):y--)}}},G=(e,t,r,o,i=null)=>{const{el:l,type:c,transition:a,children:s,shapeFlag:u}=e;if(6&u)G(e.component.subTree,t,r,o);else if(128&u)e.suspense.move(t,r,o);else if(64&u)c.move(e,t,r,ie);else if(c!==vt)if(c!==gt)if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(l),n(l,t,r),pt((()=>a.enter(l)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=a,c=()=>n(l,t,r),s=()=>{e(l,(()=>{c(),i&&i()}))};o?o(l,c,s):s()}else n(l,t,r);else(({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=y(e),n(e,r,o),e=i;n(t,r,o)})(e,t,r);else{n(l,t,r);for(let e=0;e<s.length;e++)G(s[e],t,r,o);n(e.anchor,t,r)}},Y=(e,t,n,r=!1,o=!1)=>{const{type:i,props:l,ref:c,children:a,dynamicChildren:s,shapeFlag:u,patchFlag:f,dirs:p}=e;if(null!=c&&ct(c,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&p,h=!te(e);let m;if(h&&(m=l&&l.onVnodeBeforeUnmount)&&$t(m,t,e),6&u)Q(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);d&&we(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,ie,r):s&&(i!==vt||f>0&&64&f)?ee(s,t,n,!1,!0):(i===vt&&384&f||!o&&16&u)&&ee(a,t,n),r&&Z(e)}(h&&(m=l&&l.onVnodeUnmounted)||d)&&pt((()=>{m&&$t(m,t,e),d&&we(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===vt)return void X(n,r);if(t===gt)return void x(e);const i=()=>{l(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,l=()=>t(n,i);r?r(e.el,i,l):l()}else i()},X=(e,t)=>{let n;for(;e!==t;)n=y(e),l(e),e=n;l(t)},Q=(e,t,n)=>{const{bum:r,scope:i,update:l,subTree:c,um:a}=e;r&&(0,o.ir)(r),i.stop(),l&&(l.active=!1,Y(c,e,t,n)),a&&pt(a,t),pt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,r=!1,o=!1,i=0)=>{for(let l=i;l<e.length;l++)Y(e[l],t,n,r,o)},ne=e=>6&e.shapeFlag?ne(e.component.subTree):128&e.shapeFlag?e.suspense.next():y(e.anchor||e.el),re=(e,t,n)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):S(t._vnode||null,e,t,null,null,null,n),b(),O(),t._vnode=e},ie={p:S,um:Y,m:G,r:Z,mt:q,mc:L,pc:J,pbc:F,n:ne,o:e};let le,ce;return t&&([le,ce]=t(ie)),{render:re,hydrate:le,createApp:lt(re,le)}}(e,ft)}function ht({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mt(e,t,n=!1){const r=e.children,i=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(i))for(let e=0;e<r.length;e++){const t=r[e];let o=i[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=i[e]=Ut(i[e]),o.el=t.el),n||mt(t,o)),o.type===yt&&(o.el=t.el)}}const vt=Symbol(void 0),yt=Symbol(void 0),_t=Symbol(void 0),gt=Symbol(void 0),bt=[];let Ot=null;function wt(e=!1){bt.push(Ot=e?null:[])}let St=1;function Et(e){St+=e}function jt(e){return e.dynamicChildren=St>0?Ot||o.Z6:null,bt.pop(),Ot=bt[bt.length-1]||null,St>0&&Ot&&Ot.push(e),e}function Pt(e,t,n,r,o,i){return jt(Nt(e,t,n,r,o,i,!0))}function kt(e,t,n,r,o){return jt(Tt(e,t,n,r,o,!0))}function Ct(e){return!!e&&!0===e.__v_isVNode}function It(e,t){return e.type===t.type&&e.key===t.key}const xt="__vInternal",At=({key:e})=>null!=e?e:null,Dt=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:C,r:e,k:t,f:!!n}:e:null;function Nt(e,t=null,n=null,r=0,i=null,l=(e===vt?0:1),c=!1,a=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&At(t),ref:t&&Dt(t),scopeId:I,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:l,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:C};return a?(zt(s,n),128&l&&e.normalize(s)):n&&(s.shapeFlag|=(0,o.HD)(n)?8:16),St>0&&!c&&Ot&&(s.patchFlag>0||6&l)&&32!==s.patchFlag&&Ot.push(s),s}const Tt=function(e,t=null,n=null,i=0,l=null,c=!1){if(e&&e!==je||(e=_t),Ct(e)){const r=Rt(e,t,!0);return n&&zt(r,n),St>0&&!c&&Ot&&(6&r.shapeFlag?Ot[Ot.indexOf(e)]=r:Ot.push(r)),r.patchFlag|=-2,r}if(a=e,(0,o.mf)(a)&&"__vccOpts"in a&&(e=e.__vccOpts),t){t=function(e){return e?(0,r.X3)(e)||xt in e?(0,o.l7)({},e):e:null}(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}var a;return Nt(e,t,n,i,l,(0,o.HD)(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0,c,!0)};function Rt(e,t,n=!1){const{props:r,ref:i,patchFlag:l,children:c}=e,a=t?qt(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&At(a),ref:t&&t.ref?n&&i?(0,o.kJ)(i)?i.concat(Dt(t)):[i,Dt(t)]:Dt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==vt?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Lt(e=" ",t=0){return Tt(yt,null,e,t)}function Mt(e,t){const n=Tt(gt,null,e);return n.staticCount=t,n}function Ft(e="",t=!1){return t?(wt(),kt(_t,null,e)):Tt(_t,null,e)}function Ht(e){return null==e||"boolean"==typeof e?Tt(_t):(0,o.kJ)(e)?Tt(vt,null,e.slice()):"object"==typeof e?Ut(e):Tt(yt,null,String(e))}function Ut(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Rt(e)}function zt(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),zt(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||xt in t?3===r&&C&&(1===C.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=C}}else(0,o.mf)(t)?(t={default:t,_ctx:C},n=32):(t=String(t),64&r?(n=16,t=[Lt(t)]):n=8);e.children=t,e.shapeFlag|=n}function qt(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=(0,o.C_)([t.class,r.class]));else if("style"===e)t.style=(0,o.j5)([t.style,r.style]);else if((0,o.F7)(e)){const n=t[e],i=r[e];!i||n===i||(0,o.kJ)(n)&&n.includes(i)||(t[e]=n?[].concat(n,i):i)}else""!==e&&(t[e]=r[e])}return t}function $t(e,t,n,r=null){l(e,t,7,[n,r])}const Bt=ot();let Vt=0;let Jt=null;const Wt=()=>Jt||C,Kt=e=>{Jt=e,e.scope.on()},Gt=()=>{Jt&&Jt.scope.off(),Jt=null};function Yt(e){return 4&e.vnode.shapeFlag}let Zt,Xt,Qt=!1;function en(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),tn(e,n)}function tn(e,t,n){const i=e.type;if(!e.render){if(!t&&Zt&&!i.render){const t=i.template||Me(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=i,a=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:l},r),c);i.render=Zt(t,a)}}e.render=i.render||o.dG,Xt&&Xt(e)}Kt(e),(0,r.Jd)(),function(e){const t=Me(e),n=e.proxy,i=e.ctx;Te=!1,t.beforeCreate&&Re(t.beforeCreate,e,"bc");const{data:l,computed:c,methods:a,watch:s,provide:u,inject:f,created:p,beforeMount:d,mounted:h,beforeUpdate:m,updated:v,activated:y,deactivated:_,beforeDestroy:g,beforeUnmount:b,destroyed:O,unmounted:w,render:S,renderTracked:E,renderTriggered:j,errorCaptured:P,serverPrefetch:k,expose:C,inheritAttrs:I,components:x,directives:A,filters:D}=t;if(f&&function(e,t,n=o.dG,i=!1){(0,o.kJ)(e)&&(e=ze(e));for(const n in e){const l=e[n];let c;c=(0,o.Kn)(l)?"default"in l?F(l.from||n,l.default,!0):F(l.from||n):F(l),(0,r.dq)(c)&&i?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e}):t[n]=c}}(f,i,null,e.appContext.config.unwrapInjectedRef),a)for(const e in a){const t=a[e];(0,o.mf)(t)&&(i[e]=t.bind(n))}if(l){const t=l.call(n,n);(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(Te=!0,c)for(const e in c){const t=c[e],r=(0,o.mf)(t)?t.bind(n,n):(0,o.mf)(t.get)?t.get.bind(n,n):o.dG,l=!(0,o.mf)(t)&&(0,o.mf)(t.set)?t.set.bind(n):o.dG,a=rn({get:r,set:l});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const e in s)Le(s[e],i,n,e);if(u){const e=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{M(t,e[t])}))}function N(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Re(p,e,"c"),N(fe,d),N(pe,h),N(de,m),N(he,v),N(ie,y),N(le,_),N(be,P),N(ge,E),N(_e,j),N(me,b),N(ve,w),N(ye,k),(0,o.kJ)(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===o.dG&&(e.render=S),null!=I&&(e.inheritAttrs=I),x&&(e.components=x),A&&(e.directives=A)}(e),(0,r.lk)(),Gt()}function nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ae?Ae[n](e):void 0,has:(e,t)=>t in e||t in Ae}))}const rn=(e,t)=>(0,r.Fl)(e,t,Qt);function on(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Ct(t)?Tt(e,null,[t]):Tt(e,t):Tt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Ct(n)&&(n=[n]),Tt(e,t,n))}const ln=Symbol(""),cn=()=>F(ln),an="3.2.47"},9963:(e,t,n)=>{"use strict";n.d(t,{F8:()=>D,uT:()=>b,vr:()=>M});var r=n(3577),o=n(6252);n(2262);const i="undefined"!=typeof document?document:null,l=i&&i.createElement("template"),c={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?i.createElementNS("http://www.w3.org/2000/svg",e):i.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>i.createTextNode(e),createComment:e=>i.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>i.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const c=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{l.innerHTML=r?`<svg>${e}</svg>`:e;const o=l.content;if(r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[c?c.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},a=/\s*!important$/;function s(e,t,n){if((0,r.kJ)(n))n.forEach((n=>s(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=f[t];if(n)return n;let o=(0,r._A)(t);if("filter"!==o&&o in e)return f[t]=o;o=(0,r.kC)(o);for(let n=0;n<u.length;n++){const r=u[n]+o;if(r in e)return f[t]=r}return t}(e,t);a.test(n)?e.setProperty((0,r.rs)(o),n.replace(a,""),"important"):e[o]=n}}const u=["Webkit","Moz","ms"],f={},p="http://www.w3.org/1999/xlink";const d=/(?:Once|Passive|Capture)$/;let h=0;const m=Promise.resolve(),v=()=>h||(m.then((()=>h=0)),h=Date.now()),y=/^on[a-z]/;"undefined"!=typeof HTMLElement&&HTMLElement;const _="transition",g="animation",b=(e,{slots:t})=>(0,o.h)(o.P$,function(e){const t={};for(const n in e)n in O||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:l=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:s=l,appearActiveClass:u=c,appearToClass:f=a,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if((0,r.Kn)(e))return[E(e.enter),E(e.leave)];{const t=E(e);return[t,t]}}(i),v=m&&m[0],y=m&&m[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:b,onLeave:C,onLeaveCancelled:x,onBeforeAppear:A=_,onAppear:D=g,onAppearCancelled:N=b}=t,T=(e,t,n)=>{P(e,t?f:a),P(e,t?u:c),n&&n()},R=(e,t)=>{e._isLeaving=!1,P(e,p),P(e,h),P(e,d),t&&t()},L=e=>(t,n)=>{const r=e?D:g,i=()=>T(t,e,n);w(r,[t,i]),k((()=>{P(t,e?s:l),j(t,e?f:a),S(r)||I(t,o,v,i)}))};return(0,r.l7)(t,{onBeforeEnter(e){w(_,[e]),j(e,l),j(e,c)},onBeforeAppear(e){w(A,[e]),j(e,s),j(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>R(e,t);j(e,p),document.body.offsetHeight,j(e,d),k((()=>{e._isLeaving&&(P(e,p),j(e,h),S(C)||I(e,o,y,n))})),w(C,[e,n])},onEnterCancelled(e){T(e,!1),w(b,[e])},onAppearCancelled(e){T(e,!0),w(N,[e])},onLeaveCancelled(e){R(e),w(x,[e])}})}(e),t);b.displayName="Transition";const O={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},w=(b.props=(0,r.l7)({},o.P$.props,O),(e,t=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)}),S=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function E(e){return(0,r.He)(e)}function j(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function P(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function k(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let C=0;function I(e,t,n,r){const o=e._endId=++C,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:l,timeout:c,propCount:a}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${_}Delay`),i=r(`${_}Duration`),l=x(o,i),c=r(`${g}Delay`),a=r(`${g}Duration`),s=x(c,a);let u=null,f=0,p=0;return t===_?l>0&&(u=_,f=l,p=i.length):t===g?s>0&&(u=g,f=s,p=a.length):(f=Math.max(l,s),u=f>0?l>s?_:g:null,p=u?u===_?i.length:a.length:0),{type:u,timeout:f,propCount:p,hasTransform:u===_&&/\b(transform|all)(,|$)/.test(r(`${_}Property`).toString())}}(e,t);if(!l)return r();const s=l+"end";let u=0;const f=()=>{e.removeEventListener(s,p),i()},p=t=>{t.target===e&&++u>=a&&f()};setTimeout((()=>{u<a&&f()}),c+1),e.addEventListener(s,p)}function x(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>A(t)+A(e[n]))))}function A(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const D={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):N(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),N(e,!0),r.enter(e)):r.leave(e,(()=>{N(e,!1)})):N(e,t))},beforeUnmount(e,{value:t}){N(e,t)}};function N(e,t){e.style.display=t?e._vod:"none"}const T=(0,r.l7)({patchProp:(e,t,n,i,l=!1,c,a,u,f)=>{"class"===t?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,i,l):"style"===t?function(e,t,n){const o=e.style,i=(0,r.HD)(n);if(n&&!i){if(t&&!(0,r.HD)(t))for(const e in t)null==n[e]&&s(o,e,"");for(const e in n)s(o,e,n[e])}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}(e,n,i):(0,r.F7)(t)?(0,r.tR)(t)||function(e,t,n,i,l=null){const c=e._vei||(e._vei={}),a=c[t];if(i&&a)a.value=i;else{const[n,s]=function(e){let t;if(d.test(e)){let n;for(t={};n=e.match(d);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):(0,r.rs)(e.slice(2)),t]}(t);if(i){const a=c[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,o.$d)(function(e,t){if((0,r.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=v(),n}(i,l);!function(e,t,n,r){e.addEventListener(t,n,r)}(e,n,a,s)}else a&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,s),c[t]=void 0)}}(e,t,0,i,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&y.test(t)&&(0,r.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!y.test(t)||!(0,r.HD)(n))&&t in e))))}(e,t,i,l))?function(e,t,n,o,i,l,c){if("innerHTML"===t||"textContent"===t)return o&&c(o,i,l),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=(0,r.yA)(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(e){}a&&e.removeAttribute(t)}(e,t,i,c,a,u,f):("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(p,t.slice(6,t.length)):e.setAttributeNS(p,t,n);else{const o=(0,r.Pq)(t);null==n||o&&!(0,r.yA)(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,i,l))}},c);let R,L=!1;const M=(...e)=>{const t=(R=L?R:(0,o.Eo)(T),L=!0,R).createApp(...e),{mount:n}=t;return t.mount=e=>{const t=function(e){if((0,r.HD)(e))return document.querySelector(e);return e}(e);if(t)return n(t,!0,t instanceof SVGElement)},t}},3577:(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{C_:()=>u,DM:()=>x,E9:()=>re,F7:()=>w,Gg:()=>$,HD:()=>T,He:()=>te,Kj:()=>D,Kn:()=>L,NO:()=>b,Nj:()=>Q,Od:()=>j,PO:()=>z,Pq:()=>f,RI:()=>k,S0:()=>q,W7:()=>U,WV:()=>d,Z6:()=>_,_A:()=>J,_N:()=>I,aU:()=>Z,dG:()=>g,e1:()=>o,fY:()=>r,h5:()=>ee,hR:()=>Y,hq:()=>h,ir:()=>X,j5:()=>i,kC:()=>G,kJ:()=>C,kT:()=>y,l7:()=>E,mf:()=>N,rs:()=>K,tI:()=>M,tR:()=>S,yA:()=>p,yk:()=>R,zw:()=>m});const o=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function i(e){if(C(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=T(r)?s(r):i(r);if(o)for(const e in o)t[e]=o[e]}return t}return T(e)||L(e)?e:void 0}const l=/;(?![^(]*\))/g,c=/:([^]+)/,a=/\/\*.*?\*\//gs;function s(e){const t={};return e.replace(a,"").split(l).forEach((e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function u(e){let t="";if(T(e))t=e;else if(C(e))for(let n=0;n<e.length;n++){const r=u(e[n]);r&&(t+=r+" ")}else if(L(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const f=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function p(e){return!!e||""===e}function d(e,t){if(e===t)return!0;let n=A(e),r=A(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=R(e),r=R(t),n||r)return e===t;if(n=C(e),r=C(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=d(e[r],t[r]);return n}(e,t);if(n=L(e),r=L(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!d(e[n],t[n]))return!1}}return String(e)===String(t)}function h(e,t){return e.findIndex((e=>d(e,t)))}const m=e=>T(e)?e:null==e?"":C(e)||L(e)&&(e.toString===F||!N(e.toString))?JSON.stringify(e,v,2):String(e),v=(e,t)=>t&&t.__v_isRef?v(e,t.value):I(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:x(t)?{[`Set(${t.size})`]:[...t.values()]}:!L(t)||C(t)||z(t)?t:String(t),y={},_=[],g=()=>{},b=()=>!1,O=/^on[^a-z]/,w=e=>O.test(e),S=e=>e.startsWith("onUpdate:"),E=Object.assign,j=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},P=Object.prototype.hasOwnProperty,k=(e,t)=>P.call(e,t),C=Array.isArray,I=e=>"[object Map]"===H(e),x=e=>"[object Set]"===H(e),A=e=>"[object Date]"===H(e),D=e=>"[object RegExp]"===H(e),N=e=>"function"==typeof e,T=e=>"string"==typeof e,R=e=>"symbol"==typeof e,L=e=>null!==e&&"object"==typeof e,M=e=>L(e)&&N(e.then)&&N(e.catch),F=Object.prototype.toString,H=e=>F.call(e),U=e=>H(e).slice(8,-1),z=e=>"[object Object]"===H(e),q=e=>T(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),B=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},V=/-(\w)/g,J=B((e=>e.replace(V,((e,t)=>t?t.toUpperCase():"")))),W=/\B([A-Z])/g,K=B((e=>e.replace(W,"-$1").toLowerCase())),G=B((e=>e.charAt(0).toUpperCase()+e.slice(1))),Y=B((e=>e?`on${G(e)}`:"")),Z=(e,t)=>!Object.is(e,t),X=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Q=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ee=e=>{const t=parseFloat(e);return isNaN(t)?e:t},te=e=>{const t=T(e)?Number(e):NaN;return isNaN(t)?e:t};let ne;const re=()=>ne||(ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})},5698:(e,t,n)=>{"use strict";var r=n(3131),o=n(9947),i=n(4611),l=n(6056),c=n(4634),a=n(7788),s=n(9963),u=n(6252),f=n(2201),p=n(4546),d=n(3447),h=n(704);const m=s.vr,v=f.PO;(async()=>{const e=m({name:"VuepressApp",setup(){(0,p.BK)();for(const e of i.l)e();return()=>[(0,u.h)(f.MA),...o.p.map((e=>(0,u.h)(e)))]}}),t=(0,f.p7)({history:v((0,a.U1)(p.HM.value.base)),routes:c.g,scrollBehavior:(e,t,n)=>n||(e.hash?{el:e.hash}:{top:0})});t.beforeResolve((async(e,t)=>{var n;e.path===t.path&&t!==f.AJ||([p.Xp.value]=await Promise.all([(0,p.C4)(e.name),null===(n=l.b[e.name])||void 0===n?void 0:n.__asyncLoader()]))})),((e,t)=>{const n=(0,u.Fl)((()=>(0,p.S)(p.HM.value.locales,t.currentRoute.value.path))),r=(0,u.Fl)((()=>(0,p.kY)(p.HM.value,n.value))),o=(0,u.Fl)((()=>(0,p.hN)(p.Xp.value))),i=(0,u.Fl)((()=>(0,p.lp)(p.Xp.value,r.value))),l=(0,u.Fl)((()=>(0,p.nl)(i.value,o.value,r.value))),c=(0,u.Fl)((()=>(0,p.Vo)(p.Xp.value)));e.provide(p.C3,n),e.provide(p.AE,r),e.provide(p.PY,o),e.provide(p.et,i),e.provide(p.VV,l),e.provide(p.b5,c),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>o.value},$headTitle:{get:()=>i.value},$lang:{get:()=>c.value},$page:{get:()=>p.Xp.value},$routeLocale:{get:()=>n.value},$site:{get:()=>p.HM.value},$siteLocale:{get:()=>r.value},$withBase:{get:()=>d.pJ}})})(e,t),(e=>{e.component("ClientOnly",h.qx),e.component("Content",h.VY),e.component("OutboundLink",h.MS)})(e);for(const n of r.g)await n({app:e,router:t,siteData:p.HM});return e.use(t),{app:e,router:t}})().then((({app:e,router:t})=>{t.isReady().then((()=>{e.mount("#app")}))}))},4802:(e,t,n)=>{"use strict";n.d(t,{Y:()=>c});var r=n(4150),o=n(7788),i=n(6252),l=n(4546);const c=(0,i.aZ)({name:"Vuepress",setup(){const e=(0,l.Vi)(),t=(0,i.Fl)((()=>{let t;if(e.value.path){const n=e.value.frontmatter.layout;t=(0,o.HD)(n)?n:"Layout"}else t="404";return r.Z[t]||(0,i.up)(t,!1)}));return()=>(0,i.h)(t.value)}})},704:(e,t,n)=>{"use strict";n.d(t,{qx:()=>i,VY:()=>a,MS:()=>u});var r=n(6252),o=n(2262);const i=(0,r.aZ)({setup(e,t){const n=(0,o.iH)(!1);return(0,r.bv)((()=>{n.value=!0})),()=>{var e,r;return n.value?null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e):null}}});var l=n(6056),c=n(4546);const a=e=>{let t;t=e.pageKey?e.pageKey:(0,c.Vi)().value.key;const n=l.b[t];return n?(0,r.h)(n):(0,r.h)("div","404 Not Found")};a.displayName="Content",a.props={pageKey:{type:String,required:!1}};const s=(0,r.h)("svg",{class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[(0,r.h)("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),(0,r.h)("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),u=(e,{slots:t})=>{var n;return(0,r.h)("span",[s,null===(n=t.default)||void 0===n?void 0:n.call(t)])};u.displayName="OutboundLink",n(4802)},4546:(e,t,n)=>{"use strict";n.d(t,{Xp:()=>c,PY:()=>f,VV:()=>m,et:()=>y,b5:()=>g,C4:()=>s,hN:()=>d,nl:()=>v,lp:()=>_,Vo:()=>O,S:()=>E,kY:()=>x,C3:()=>w,BK:()=>N,HM:()=>P,AE:()=>C,Vi:()=>a,I2:()=>p,Ym:()=>b,I:()=>S,WF:()=>k,I5:()=>I});var r=n(2262),o=n(9706);const i=(0,r.iH)(o.T),l=(0,r.OT)({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),c=(0,r.iH)(l),a=()=>c,s=async e=>{const t=i.value[e];if(!t)return l;const n=await t();return null!=n?n:l};var u=n(6252);const f=Symbol(""),p=()=>{const e=(0,u.f3)(f);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},d=e=>e.frontmatter;var h=n(7788);const m=Symbol(""),v=(e,t,n)=>{const r=(0,h.HD)(t.description)?t.description:n.description,o=[...(0,h.kJ)(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return(0,h.H7)(o)},y=Symbol(""),_=(e,t)=>`${e.title?`${e.title} | `:""}${t.title}`,g=Symbol(""),b=()=>{const e=(0,u.f3)(g);if(!e)throw new Error("usePageLang() is called without provider.");return e},O=e=>e.lang||"en",w=Symbol(""),S=()=>{const e=(0,u.f3)(w);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},E=(e,t)=>(0,h.gb)(e,t);var j=n(5220);const P=(0,r.iH)(j.H),k=()=>P,C=Symbol(""),I=()=>{const e=(0,u.f3)(C);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},x=(e,t)=>({...e,...e.locales[t]});var A=n(2201);const D=Symbol(""),N=()=>{const e=(0,A.yj)(),t=(()=>{const e=(0,u.f3)(m);if(!e)throw new Error("usePageHead() is called without provider.");return e})(),n=b(),o=(0,r.iH)([]),i=()=>{document.documentElement.lang=n.value,o.value.forEach((e=>{e.parentNode===document.head&&document.head.removeChild(e)})),o.value.splice(0,o.value.length),t.value.forEach((e=>{const t=R(e);null!==t&&(document.head.appendChild(t),o.value.push(t))}))};(0,u.JJ)(D,i),(0,u.bv)((()=>{t.value.forEach((e=>{const t=T(e);t&&o.value.push(t)})),i(),(0,u.YP)((()=>e.path),(()=>i()))}))},T=([e,t,n=""])=>{const r=`head > ${e}${Object.entries(t).map((([e,t])=>(0,h.HD)(t)?`[${e}="${t}"]`:!0===t?`[${e}]`:"")).join("")}`;return Array.from(document.querySelectorAll(r)).find((e=>e.innerText===n))||null},R=([e,t,n])=>{if(!(0,h.HD)(e))return null;const r=document.createElement(e);return(0,h.PO)(t)&&Object.entries(t).forEach((([e,t])=>{(0,h.HD)(t)?r.setAttribute(e,t):!0===t&&r.setAttribute(e,"")})),(0,h.HD)(n)&&r.appendChild(document.createTextNode(n)),r}},7621:(e,t,n)=>{"use strict";n.d(t,{C3:()=>o.C3,F2:()=>i.F2,I:()=>o.I,I2:()=>o.I2,I5:()=>o.I5,MS:()=>r.MS,Vi:()=>o.Vi,WF:()=>o.WF,Ym:()=>o.Ym,pJ:()=>i.pJ,vW:()=>i.vW}),n(5698);var r=n(704),o=n(4546),i=n(3447)},3447:(e,t,n)=>{"use strict";n.d(t,{vW:()=>r,F2:()=>o,pJ:()=>c});const r=e=>e,o=e=>e;var i=n(7788),l=n(4546);const c=e=>(0,i.ak)(e)?e:`${(0,l.WF)().value.base}${(0,i.FY)(e)}`},1263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7621),o=n(2938),i=n(6252),l=n(2201);const c=async(e,...t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace(...t).finally((()=>e.options.scrollBehavior=n))},a=(0,r.F2)((()=>{(({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:a=5})=>{const s=(0,l.tv)(),u=(0,r.Vi)(),f=(0,o.D)((()=>(()=>{var n,r,o,i;const l=Array.from(document.querySelectorAll(e)),u=Array.from(document.querySelectorAll(t)).filter((e=>l.some((t=>t.hash===e.hash)))),f=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),p=window.innerHeight+f,d=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),h=Math.abs(d-p)<a;for(let e=0;e<u.length;e++){const t=u[e],l=u[e+1],p=0===e&&0===f,d=f>=(null!==(r=null===(n=t.parentElement)||void 0===n?void 0:n.offsetTop)&&void 0!==r?r:0)-a,m=!l||f<(null!==(i=null===(o=l.parentElement)||void 0===o?void 0:o.offsetTop)&&void 0!==i?i:0)-a;if(!(p||d&&m))continue;const v=decodeURIComponent(s.currentRoute.value.hash),y=decodeURIComponent(t.hash);if(v===y)return;if(h)for(let t=e+1;t<u.length;t++)if(v===decodeURIComponent(u[t].hash))return;return void c(s,{hash:y,force:!0})}})()),n);(0,i.bv)((()=>{f(),window.addEventListener("scroll",(()=>f()))})),(0,i.Jd)((()=>{window.removeEventListener("scroll",(()=>f()))})),(0,i.YP)((()=>u.value.path),(()=>f()))})({headerLinkSelector:"a.sidebar-item",headerAnchorSelector:".header-anchor",delay:200,offset:5})}))},3051:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(2938),o=n(6252),i=n(2262),l=n(9963);const c=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,a=()=>window.scrollTo({top:0,behavior:"smooth"}),s=(0,o.aZ)({name:"BackToTop",setup(){const e=(0,i.iH)(0),t=(0,o.Fl)((()=>e.value>300));(0,o.bv)((()=>{e.value=c(),window.addEventListener("scroll",(()=>(0,r.D)((()=>{e.value=c()}),100)))}));const n=(0,o.h)("div",{class:"back-to-top",onClick:a});return()=>(0,o.h)(l.uT,{name:"back-to-top"},{default:()=>t.value?n:null})}})},6934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Qr});var r=n(7621),o=n(6252);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h,m,v,y,_,g={},b=[],O=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function w(e,t){for(var n in t)e[n]=t[n];return e}function S(e){var t=e.parentNode;t&&t.removeChild(e)}function E(e,t,n){var r,o,i,l=arguments,c={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:c[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(l[i]);if(null!=n&&(c.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===c[i]&&(c[i]=e.defaultProps[i]);return j(e,c,r,o,null)}function j(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++h.__v:o};return null!=h.vnode&&h.vnode(i),i}function P(e){return e.children}function k(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function I(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return I(e)}}function x(e){(!e.__d&&(e.__d=!0)&&m.push(e)&&!A.__r++||y!==h.debounceRendering)&&((y=h.debounceRendering)||v)(A)}function A(){for(var e;A.__r=m.length;)e=m.sort((function(e,t){return e.__v.__b-t.__v.__b})),m=[],e.some((function(e){var t,n,r,o,i,l;e.__d&&(i=(o=(t=e).__v).__e,(l=t.__P)&&(n=[],(r=w({},o)).__v=o.__v+1,U(l,o,r,t.__n,void 0!==l.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?C(o):i,o.__h),z(n,o),o.__e!=i&&I(o)))}))}function D(e,t,n,r,o,i,l,c,a,s){var u,f,p,d,h,m,v,y=r&&r.__k||b,_=y.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(d=n.__k[u]=null==(d=t[u])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d?j(null,d,null,null,d):Array.isArray(d)?j(P,{children:d},null,null,null):d.__b>0?j(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(p=y[u])||p&&d.key==p.key&&d.type===p.type)y[u]=void 0;else for(f=0;f<_;f++){if((p=y[f])&&d.key==p.key&&d.type===p.type){y[f]=void 0;break}p=null}U(e,d,p=p||g,o,i,l,c,a,s),h=d.__e,(f=d.ref)&&p.ref!=f&&(v||(v=[]),p.ref&&v.push(p.ref,null,d),v.push(f,d.__c||h,d)),null!=h?(null==m&&(m=h),"function"==typeof d.type&&null!=d.__k&&d.__k===p.__k?d.__d=a=N(d,a,e):a=R(e,d,p,y,h,a),s||"option"!==n.type?"function"==typeof n.type&&(n.__d=a):e.value=""):a&&p.__e==a&&a.parentNode!=e&&(a=C(p))}for(n.__e=m,u=_;u--;)null!=y[u]&&("function"==typeof n.type&&null!=y[u].__e&&y[u].__e==n.__d&&(n.__d=C(r,u+1)),B(y[u],y[u]));if(v)for(u=0;u<v.length;u++)$(v[u],v[++u],v[++u])}function N(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?N(o,t,n):R(n,o,o,e.__k,o.__e,t));return t}function T(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){T(e,t)})):t.push(e)),t}function R(e,t,n,r,o,i){var l,c,a;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),l=null;else{for(c=i,a=0;(c=c.nextSibling)&&a<r.length;a+=2)if(c==o)break e;e.insertBefore(o,i),l=i}return void 0!==l?l:o.nextSibling}function L(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||O.test(t)?n:n+"px"}function M(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||L(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||L(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?H:F,i):e.removeEventListener(t,i?H:F,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function F(e){this.l[e.type+!1](h.event?h.event(e):e)}function H(e){this.l[e.type+!0](h.event?h.event(e):e)}function U(e,t,n,r,o,i,l,c,a){var s,u,f,p,d,m,v,y,_,g,b,O=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(a=n.__h,c=t.__e=n.__e,t.__h=null,i=[c]),(s=h.__b)&&s(t);try{e:if("function"==typeof O){if(y=t.props,_=(s=O.contextType)&&r[s.__c],g=s?_?_.props.value:s.__:r,n.__c?v=(u=t.__c=n.__c).__=u.__E:("prototype"in O&&O.prototype.render?t.__c=u=new O(y,g):(t.__c=u=new k(y,g),u.constructor=O,u.render=V),_&&_.sub(u),u.props=y,u.state||(u.state={}),u.context=g,u.__n=r,f=u.__d=!0,u.__h=[]),null==u.__s&&(u.__s=u.state),null!=O.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=w({},u.__s)),w(u.__s,O.getDerivedStateFromProps(y,u.__s))),p=u.props,d=u.state,f)null==O.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==O.getDerivedStateFromProps&&y!==p&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(y,g),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(y,u.__s,g)||t.__v===n.__v){u.props=y,u.state=u.__s,t.__v!==n.__v&&(u.__d=!1),u.__v=t,t.__e=n.__e,t.__k=n.__k,u.__h.length&&l.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(y,u.__s,g),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(p,d,m)}))}u.context=g,u.props=y,u.state=u.__s,(s=h.__r)&&s(t),u.__d=!1,u.__v=t,u.__P=e,s=u.render(u.props,u.state,u.context),u.state=u.__s,null!=u.getChildContext&&(r=w(w({},r),u.getChildContext())),f||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(p,d)),b=null!=s&&s.type===P&&null==s.key?s.props.children:s,D(e,Array.isArray(b)?b:[b],t,n,r,o,i,l,c,a),u.base=t.__e,t.__h=null,u.__h.length&&l.push(u),v&&(u.__E=u.__=null),u.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=q(n.__e,t,n,r,o,i,l,a);(s=h.diffed)&&s(t)}catch(e){t.__v=null,(a||null!=i)&&(t.__e=c,t.__h=!!a,i[i.indexOf(c)]=null),h.__e(e,t,n)}}function z(e,t){h.__c&&h.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){h.__e(e,t.__v)}}))}function q(e,t,n,r,o,i,l,c){var a,s,u,f,p=n.props,d=t.props,h=t.type,m=0;if("svg"===h&&(o=!0),null!=i)for(;m<i.length;m++)if((a=i[m])&&(a===e||(h?a.localName==h:3==a.nodeType))){e=a,i[m]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),i=null,c=!1}if(null===h)p===d||c&&e.data===d||(e.data=d);else{if(i=i&&b.slice.call(e.childNodes),s=(p=n.props||g).dangerouslySetInnerHTML,u=d.dangerouslySetInnerHTML,!c){if(null!=i)for(p={},f=0;f<e.attributes.length;f++)p[e.attributes[f].name]=e.attributes[f].value;(u||s)&&(u&&(s&&u.__html==s.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||M(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||M(e,i,t[i],n[i],r)}(e,d,p,o,c),u)t.__k=[];else if(m=t.props.children,D(e,Array.isArray(m)?m:[m],t,n,r,o&&"foreignObject"!==h,i,l,e.firstChild,c),null!=i)for(m=i.length;m--;)null!=i[m]&&S(i[m]);c||("value"in d&&void 0!==(m=d.value)&&(m!==e.value||"progress"===h&&!m)&&M(e,"value",m,p.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==e.checked&&M(e,"checked",m,p.checked,!1))}return e}function $(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){h.__e(e,n)}}function B(e,t,n){var r,o,i;if(h.unmount&&h.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||$(r,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){h.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&B(r[i],t,n);null!=o&&S(o)}function V(e,t,n){return this.constructor(e,n)}function J(e,t,n){var r,o,i;h.__&&h.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],U(t,e=(!r&&n||t).__k=E(P,null,[e]),o||g,g,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?b.slice.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),z(i,e)}function W(e,t){J(e,t,W)}function K(e,t,n){var r,o,i,l=arguments,c=w({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:c[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(l[i]);return null!=n&&(c.children=n),j(e.type,c,r||e.key,o||e.ref,null)}h={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e},__v:0},k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=w({},this.state),"function"==typeof e&&(e=e(w({},n),this.props)),e&&w(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),x(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),x(this))},k.prototype.render=P,m=[],v="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,_=0;var G,Y,Z,X=0,Q=[],ee=h.__b,te=h.__r,ne=h.diffed,re=h.__c,oe=h.unmount;function ie(e,t){h.__h&&h.__h(Y,e,X||t),X=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function le(e){return X=1,ce(ve,e)}function ce(e,t,n){var r=ie(G++,2);return r.t=e,r.__c||(r.__=[n?n(t):ve(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=Y),r.__}function ae(e,t){var n=ie(G++,3);!h.__s&&me(n.__H,t)&&(n.__=e,n.__H=t,Y.__H.__h.push(n))}function se(e,t){var n=ie(G++,4);!h.__s&&me(n.__H,t)&&(n.__=e,n.__H=t,Y.__h.push(n))}function ue(e,t){var n=ie(G++,7);return me(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function fe(){Q.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(de),e.__H.__h.forEach(he),e.__H.__h=[]}catch(t){e.__H.__h=[],h.__e(t,e.__v)}})),Q=[]}h.__b=function(e){Y=null,ee&&ee(e)},h.__r=function(e){te&&te(e),G=0;var t=(Y=e.__c).__H;t&&(t.__h.forEach(de),t.__h.forEach(he),t.__h=[])},h.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Q.push(t)&&Z===h.requestAnimationFrame||((Z=h.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),pe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pe&&(t=requestAnimationFrame(n))})(fe)),Y=void 0},h.__c=function(e,t){t.some((function(e){try{e.__h.forEach(de),e.__h=e.__h.filter((function(e){return!e.__||he(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],h.__e(n,e.__v)}})),re&&re(e,t)},h.unmount=function(e){oe&&oe(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(de)}catch(e){h.__e(e,t.__v)}};var pe="function"==typeof requestAnimationFrame;function de(e){var t=Y;"function"==typeof e.__c&&e.__c(),Y=t}function he(e){var t=Y;e.__c=e.__(),Y=t}function me(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ve(e,t){return"function"==typeof t?t(e):t}function ye(e,t){for(var n in t)e[n]=t[n];return e}function _e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ge(e){this.props=e}(ge.prototype=new k).isPureReactComponent=!0,ge.prototype.shouldComponentUpdate=function(e,t){return _e(this.props,e)||_e(this.state,t)};var be=h.__b;h.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),be&&be(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,we=function(e,t){return null==e?null:T(T(e).map(t))},Se={map:we,forEach:we,count:function(e){return e?T(e).length:0},only:function(e){var t=T(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:T},Ee=h.__e;function je(){this.__u=0,this.t=null,this.__b=null}function Pe(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ke(){this.u=null,this.o=null}h.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Ee(e,t,n)},(je.prototype=new k).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Pe(r.__v),i=!1,l=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(c):c())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){l(),n.__c&&n.__c()};var c=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},a=!0===t.__h;r.__u++||a||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(l,l)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ye({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&E(P,null,e.fallback);return o&&(o.__h=null),[E(P,null,t.__e?null:e.children),o]};var Ce=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function xe(e){var t=this,n=e.i;t.componentWillUnmount=function(){J(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),J(E(Ie,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ae(e,t){return E(xe,{__v:e,i:t})}(ke.prototype=new k).__e=function(e){var t=this,n=Pe(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ce(t,e,r)):o()};n?n(i):i()}},ke.prototype.render=function(e){this.u=null,this.o=new Map;var t=T(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ke.prototype.componentDidUpdate=ke.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ce(e,n,t)}))};var De="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ne=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Te=function(e){return("undefined"!=typeof Symbol&&"symbol"==i(Symbol())?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Re(e,t,n){return null==t.__k&&(t.textContent=""),J(e,t),"function"==typeof n&&n(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Le=h.event;function Me(){}function Fe(){return this.cancelBubble}function He(){return this.defaultPrevented}h.event=function(e){return Le&&(e=Le(e)),e.persist=Me,e.isPropagationStopped=Fe,e.isDefaultPrevented=He,e.nativeEvent=e};var Ue,ze={configurable:!0,get:function(){return this.class}},qe=h.vnode;h.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Te(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():Ne.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=T(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=T(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(ze.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",ze)),e.$$typeof=De,qe&&qe(e)};var $e=h.__r;h.__r=function(e){$e&&$e(e),Ue=e.__c};var Be={ReactCurrentDispatcher:{current:{readContext:function(e){return Ue.__n[e.__c].props.value}}}};function Ve(e){return!!e&&e.$$typeof===De}"object"==("undefined"==typeof performance?"undefined":i(performance))&&"function"==typeof performance.now&&performance.now.bind(performance);var Je={useState:le,useReducer:ce,useEffect:ae,useLayoutEffect:se,useRef:function(e){return X=5,ue((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){X=6,se((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:ue,useCallback:function(e,t){return X=8,ue((function(){return e}),t)},useContext:function(e){var t=Y.context[e.__c],n=ie(G++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(Y)),t.props.value):e.__},useDebugValue:function(e,t){h.useDebugValue&&h.useDebugValue(t?t(e):e)},version:"16.8.0",Children:Se,render:Re,hydrate:function(e,t,n){return W(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(J(null,e),!0)},createPortal:Ae,createElement:E,createContext:function(e,t){var n={__c:t="__cC"+_++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(x)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return E.bind(null,e)},cloneElement:function(e){return Ve(e)?K.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:P,isValidElement:Ve,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:k,PureComponent:ge,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:_e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,E(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=ye({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=i(n)||"current"in n)?n:null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:P,Suspense:je,SuspenseList:ke,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return E(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Be};function We(){return Je.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},Je.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Ke(){return Je.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ge(){return(Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ze=Je.forwardRef((function(e,t){var n=e.translations,r=void 0===n?{}:n,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["translations"]),i=r.buttonText,l=void 0===i?"Search":i,c=r.buttonAriaLabel,a=void 0===c?"Search":c,s=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e)||function(e,t){if(e){if("string"==typeof e)return Ye(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(le(null)),u=s[0],f=s[1];return ae((function(){"undefined"!=typeof navigator&&f(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl")}),[]),Je.createElement("button",Ge({type:"button",className:"DocSearch DocSearch-Button","aria-label":a},o,{ref:t}),Je.createElement("span",{className:"DocSearch-Button-Container"},Je.createElement(Ke,null),Je.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),null!==u&&Je.createElement("span",{className:"DocSearch-Button-Keys"},Je.createElement("span",{className:"DocSearch-Button-Key"},"Ctrl"===u?Je.createElement(We,null):u),Je.createElement("span",{className:"DocSearch-Button-Key"},"K")))}));function Xe(e){return 0===e.collections.length?0:e.collections.reduce((function(e,t){return e+t.items.length}),0)}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tt(e){return e.reduce((function(e,t){return e.concat(t)}),[])}var nt=0;function rt(e,t,n,r){if(e<0&&(null===t||null!==r&&0===t))return n+e;var o=(null===t?-1:t)+e;return o<=-1||o>=n?null===r?null:0:o}var ot=function(){};function it(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ct(e){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function at(e){var t=function(e){var t=e.collections.map((function(e){return e.items.length})).reduce((function(e,t,n){var r=(e[n-1]||0)+t;return e.push(r),e}),[]).reduce((function(t,n){return n<=e.activeItemId?t+1:t}),0);return e.collections[t]}(e);if(!t)return null;var n=t.items[function(e){for(var t=e.state,n=e.collection,r=!1,o=0,i=0;!1===r;){var l=t.collections[o];if(l===n){r=!0;break}i+=l.items.length,o++}return t.activeItemId-i}({state:e,collection:t})],r=t.source;return{item:n,itemInputValue:r.getItemInputValue({item:n,state:e}),itemUrl:r.getItemUrl({item:n,state:e}),source:r}}function st(e,t){return e===t||e.contains(t)}function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(n),!0).forEach((function(t){vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(e){return(yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_t(Object(n),!0).forEach((function(t){bt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ot=null;function wt(e){var t=e.event,n=e.nextState,r=void 0===n?{}:n,o=e.props,i=e.query,l=e.refresh,c=e.store,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["event","nextState","props","query","refresh","store"]);Ot&&o.environment.clearTimeout(Ot);var s,u=a.setCollections,f=a.setIsOpen,p=a.setQuery,d=a.setActiveItemId,h=a.setStatus;return p(i),d(o.defaultActiveItemId),i||!1!==o.openOnFocus?(h("loading"),Ot=o.environment.setTimeout((function(){h("stalled")}),o.stallThreshold),o.getSources(gt({query:i,refresh:l,state:c.getState()},a)).then((function(e){return h("loading"),Promise.all(e.map((function(e){return Promise.resolve(e.getItems(gt({query:i,refresh:l,state:c.getState()},a))).then((function(t){return Array.isArray(t),"The `getItems` function must return an array of items but returned type ".concat(JSON.stringify(yt(t)),":\n\n").concat(JSON.stringify(t,null,2)),{source:e,items:t}}))}))).then((function(e){var n;h("idle"),u(e);var s=o.shouldPanelOpen({state:c.getState()});f(null!==(n=r.isOpen)&&void 0!==n?n:o.openOnFocus&&!i&&s||s);var p=at(c.getState());if(null!==c.getState().activeItemId&&p){var d=p.item,m=p.itemInputValue,v=p.itemUrl,y=p.source;y.onActive(gt({event:t,item:d,itemInputValue:m,itemUrl:v,refresh:l,source:y,state:c.getState()},a))}})).finally((function(){Ot&&o.environment.clearTimeout(Ot)}))}))):(h("idle"),u(c.getState().collections.map((function(e){return gt(gt({},e),{},{items:[]})}))),f(null!==(s=r.isOpen)&&void 0!==s?s:o.shouldPanelOpen({state:c.getState()})),Promise.resolve())}function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){jt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(n),!0).forEach((function(t){Ct(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function It(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xt(e){var t=e.state;return!1===t.isOpen||null===t.activeItemId?null:at(t).itemInputValue||null}function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tt=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return Dt(Dt({},e),{},{activeItemId:t.payload});case"setQuery":return Dt(Dt({},e),{},{query:t.payload,completion:null});case"setCollections":return Dt(Dt({},e),{},{collections:t.payload});case"setIsOpen":return Dt(Dt({},e),{},{isOpen:t.payload});case"setStatus":return Dt(Dt({},e),{},{status:t.payload});case"setContext":return Dt(Dt({},e),{},{context:Dt(Dt({},e.context),t.payload)});case"ArrowDown":var n=Dt(Dt({},e),{},{activeItemId:rt(1,e.activeItemId,Xe(e),t.props.defaultActiveItemId)});return Dt(Dt({},n),{},{completion:xt({state:n})});case"ArrowUp":var r=Dt(Dt({},e),{},{activeItemId:rt(-1,e.activeItemId,Xe(e),t.props.defaultActiveItemId)});return Dt(Dt({},r),{},{completion:xt({state:r})});case"Escape":return e.isOpen?Dt(Dt({},e),{},{isOpen:!1,completion:null}):Dt(Dt({},e),{},{query:"",status:"idle",collections:[]});case"submit":return Dt(Dt({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return Dt(Dt({},e),{},{activeItemId:!0===t.props.openOnFocus?t.props.defaultActiveItemId:null,status:"idle",query:""});case"focus":return Dt(Dt({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||Boolean(e.query))&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:Dt(Dt({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return Dt(Dt({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ft(e){var t=[],n=function(e,t){var n,r="undefined"!=typeof window?window:{},o=e.plugins||[];return mt(mt({debug:!1,openOnFocus:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,environment:r,shouldPanelOpen:function(e){return Xe(e.state)>0}},e),{},{id:null!==(n=e.id)&&void 0!==n?n:"autocomplete-".concat(nt++),plugins:o,initialState:mt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)}))},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)}))},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)}))},getSources:function(n){return Promise.all([].concat(function(e){return function(e){if(Array.isArray(e))return dt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){return Promise.resolve(e(t)).then((function(e){return Array.isArray(e),"The `getSources` function must return an array of sources but returned type ".concat(JSON.stringify(ct(e)),":\n\n").concat(JSON.stringify(e,null,2)),Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){e.sourceId;var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?it(Object(n),!0).forEach((function(t){lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:ot},e);return Promise.resolve(t)})))}))}(e,n)}))).then((function(e){return tt(e)})).then((function(e){return e.map((function(e){return mt(mt({},e),{},{onSelect:function(n){e.onSelect(n),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,n)}))},onActive:function(n){e.onActive(n),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,n)}))}})}))}))},navigator:mt({navigate:function(e){var t=e.itemUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,n=r.open(t,"_blank","noopener");null==n||n.focus()},navigateNewWindow:function(e){var t=e.itemUrl;r.open(t,"_blank","noopener")}},e.navigator)})}(e,t),r=function(e,t,n){var r=t.initialState;return{getState:function(){return r},dispatch:function(o,i){var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){et(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r);r=e(r,{type:o,props:t,payload:i}),n({state:r,prevState:l})}}}(Tt,n,(function(e){var t=e.prevState,r=e.state;n.onStateChange(Lt({prevState:t,state:r,refresh:l},o))})),o=function(e){var t=e.store;return{setActiveItemId:function(e){t.dispatch("setActiveItemId",e)},setQuery:function(e){t.dispatch("setQuery",e)},setCollections:function(e){var n=0,r=e.map((function(e){return ft(ft({},e),{},{items:tt(e.items).map((function(e){return ft(ft({},e),{},{__autocomplete_id:n++})}))})}));t.dispatch("setCollections",r)},setIsOpen:function(e){t.dispatch("setIsOpen",e)},setStatus:function(e){t.dispatch("setStatus",e)},setContext:function(e){t.dispatch("setContext",e)}}}({store:r}),i=function(e){var t=e.props,n=e.refresh,r=e.store,o=It(e,["props","refresh","store"]);return{getEnvironmentProps:function(e){var n=e.inputElement,o=e.formElement,i=e.panelElement;return kt({onTouchStart:function(e){!1!==r.getState().isOpen&&e.target!==n&&!1===[o,i].some((function(n){return st(n,e.target)||st(n,t.environment.document.activeElement)}))&&r.dispatch("blur",null)},onTouchMove:function(e){!1!==r.getState().isOpen&&n===t.environment.document.activeElement&&e.target!==n&&n.blur()}},It(e,["inputElement","formElement","panelElement"]))},getRootProps:function(e){return kt({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},e)},getFormProps:function(e){return e.inputElement,kt({action:"",noValidate:!0,role:"search",onSubmit:function(i){var l;i.preventDefault(),t.onSubmit(kt({event:i,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),null===(l=e.inputElement)||void 0===l||l.blur()},onReset:function(i){var l;i.preventDefault(),t.onReset(kt({event:i,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),null===(l=e.inputElement)||void 0===l||l.focus()}},It(e,["inputElement"]))},getLabelProps:function(e){return kt({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},e)},getInputProps:function(e){function i(e){(t.openOnFocus||Boolean(r.getState().query))&&wt(kt({event:e,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var l="ontouchstart"in t.environment,c=e||{},a=(c.inputElement,c.maxLength),s=void 0===a?512:a,u=It(c,["inputElement","maxLength"]),f=at(r.getState());return kt({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&null!==r.getState().activeItemId?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:null!=f&&f.itemUrl?"go":"search",spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:s,type:"search",onChange:function(e){wt(kt({event:e,props:t,query:e.currentTarget.value.slice(0,s),refresh:n,store:r},o))},onKeyDown:function(e){!function(e){var t=e.event,n=e.props,r=e.refresh,o=e.store,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["event","props","refresh","store"]);if("ArrowUp"===t.key||"ArrowDown"===t.key){t.preventDefault(),o.dispatch(t.key,null);var l=n.environment.document.getElementById("".concat(n.id,"-item-").concat(o.getState().activeItemId));l&&(l.scrollIntoViewIfNeeded?l.scrollIntoViewIfNeeded(!1):l.scrollIntoView(!1));var c=at(o.getState());if(null!==o.getState().activeItemId&&c){var a=c.item,s=c.itemInputValue,u=c.itemUrl,f=c.source;f.onActive(Et({event:t,item:a,itemInputValue:s,itemUrl:u,refresh:r,source:f,state:o.getState()},i))}}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null);else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return;t.preventDefault();var p=at(o.getState()),d=p.item,h=p.itemInputValue,m=p.itemUrl,v=p.source;if(t.metaKey||t.ctrlKey)void 0!==m&&(v.onSelect(Et({event:t,item:d,itemInputValue:h,itemUrl:m,refresh:r,source:v,state:o.getState()},i)),n.navigator.navigateNewTab({itemUrl:m,item:d,state:o.getState()}));else if(t.shiftKey)void 0!==m&&(v.onSelect(Et({event:t,item:d,itemInputValue:h,itemUrl:m,refresh:r,source:v,state:o.getState()},i)),n.navigator.navigateNewWindow({itemUrl:m,item:d,state:o.getState()}));else if(t.altKey);else{if(void 0!==m)return v.onSelect(Et({event:t,item:d,itemInputValue:h,itemUrl:m,refresh:r,source:v,state:o.getState()},i)),void n.navigator.navigate({itemUrl:m,item:d,state:o.getState()});wt(Et({event:t,nextState:{isOpen:!1},props:n,query:h,refresh:r,store:o},i)).then((function(){v.onSelect(Et({event:t,item:d,itemInputValue:h,itemUrl:m,refresh:r,source:v,state:o.getState()},i))}))}}}(kt({event:e,props:t,refresh:n,store:r},o))},onFocus:i,onBlur:function(){l||r.dispatch("blur",null)},onClick:function(n){e.inputElement!==t.environment.document.activeElement||r.getState().isOpen||i(n)}},u)},getPanelProps:function(e){return kt({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},e)},getListProps:function(e){return kt({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},e)},getItemProps:function(e){var i=e.item,l=e.source,c=It(e,["item","source"]);return kt({id:"".concat(t.id,"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(e){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var t=at(r.getState());if(null!==r.getState().activeItemId&&t){var l=t.item,c=t.itemInputValue,a=t.itemUrl,s=t.source;s.onActive(kt({event:e,item:l,itemInputValue:c,itemUrl:a,refresh:n,source:s,state:r.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var c=l.getItemInputValue({item:i,state:r.getState()}),a=l.getItemUrl({item:i,state:r.getState()});(a?Promise.resolve():wt(kt({event:e,nextState:{isOpen:!1},props:t,query:c,refresh:n,store:r},o))).then((function(){l.onSelect(kt({event:e,item:i,itemInputValue:c,itemUrl:a,refresh:n,source:l,state:r.getState()},o))}))}},c)}}}(Lt({props:n,refresh:l,store:r},o));function l(){return wt(Lt({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:l,store:r},o))}return n.plugins.forEach((function(e){var n;return null===(n=e.subscribe)||void 0===n?void 0:n.call(e,Lt(Lt({},o),{},{refresh:l,onSelect:function(e){t.push({onSelect:e})},onActive:function(e){t.push({onActive:e})}}))})),Lt(Lt({refresh:l},i),o)}var Ht="1.0.0-alpha.44";function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bt(){return Je.createElement("a",{href:"https://www.algolia.com/docsearch",target:"_blank",rel:"noopener noreferrer"},Je.createElement("span",{className:"DocSearch-Label"},"Search by"),Je.createElement("svg",{width:"77",height:"19"},Je.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function Vt(){return Je.createElement(Je.Fragment,null,Je.createElement("div",{className:"DocSearch-Logo"},Je.createElement(Bt,null)),Je.createElement("ul",{className:"DocSearch-Commands"},Je.createElement("li",null,Je.createElement("span",{className:"DocSearch-Commands-Key"},Je.createElement(Jt,null,Je.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),Je.createElement("span",{className:"DocSearch-Label"},"to select")),Je.createElement("li",null,Je.createElement("span",{className:"DocSearch-Commands-Key"},Je.createElement(Jt,null,Je.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),Je.createElement("span",{className:"DocSearch-Commands-Key"},Je.createElement(Jt,null,Je.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),Je.createElement("span",{className:"DocSearch-Label"},"to navigate")),Je.createElement("li",null,Je.createElement("span",{className:"DocSearch-Commands-Key"},Je.createElement(Jt,null,Je.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),Je.createElement("span",{className:"DocSearch-Label"},"to close"))))}function Jt(e){return Je.createElement("svg",{width:"15",height:"15"},Je.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function Wt(e){var t=e.hit,n=e.children;return Je.createElement("a",{href:t.url},n)}function Kt(){return Je.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},Je.createElement("g",{fill:"none",fillRule:"evenodd"},Je.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},Je.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),Je.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},Je.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Gt(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},Je.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),Je.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Yt(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Zt(){return Je.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},Je.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),Je.createElement("path",{d:"M8 17l-6-6 6-6"})))}function Xt(e){switch(e.type){case"lvl1":return Je.createElement(Qt,null);case"content":return Je.createElement(tn,null);default:return Je.createElement(en,null)}}function Qt(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function en(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function tn(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function nn(){return Je.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},Je.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function rn(){return Je.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},Je.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function on(){return Je.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},Je.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function ln(){return Je.createElement("div",{className:"DocSearch-ErrorScreen"},Je.createElement("div",{className:"DocSearch-Screen-Icon"},Je.createElement(rn,null)),Je.createElement("p",{className:"DocSearch-Title"},"Unable to fetch results"),Je.createElement("p",{className:"DocSearch-Help"},"You might want to check your network connection."))}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function an(e){var t=e.state.context.searchSuggestions;return Je.createElement("div",{className:"DocSearch-NoResults"},Je.createElement("div",{className:"DocSearch-Screen-Icon"},Je.createElement(on,null)),Je.createElement("p",{className:"DocSearch-Title"},'No results for "',Je.createElement("strong",null,e.state.query),'"'),t&&t.length>0&&Je.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},Je.createElement("p",{className:"DocSearch-Help"},"Try searching for:"),Je.createElement("ul",null,t.slice(0,3).reduce((function(t,n){return[].concat(function(e){return function(e){if(Array.isArray(e))return cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return cn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t),[Je.createElement("li",{key:n},Je.createElement("button",{className:"DocSearch-Prefill",key:n,onClick:function(){e.setQuery(n.toLowerCase()+" "),e.refresh(),e.inputRef.current.focus()}},n))])}),[]))),Je.createElement("p",{className:"DocSearch-Help"},"Believe this query should return results?"," ",Je.createElement("a",{href:"https://github.com/algolia/docsearch-configs/issues/new?template=Missing_results.md&title=[".concat(e.indexName,']+Missing+results+for+query+"').concat(e.state.query,'"'),target:"_blank",rel:"noopener noreferrer"},"Let us know"),"."))}function sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(n),!0).forEach((function(t){fn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pn(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)}function dn(e){var t=e.hit,n=e.attribute,r=e.tagName;return E(void 0===r?"span":r,un(un({},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["hit","attribute","tagName"])),{},{dangerouslySetInnerHTML:{__html:pn(t,"_snippetResult.".concat(n,".value"))||pn(t,n)}}))}function hn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function yn(e){return e.collection&&0!==e.collection.items.length?Je.createElement("section",{className:"DocSearch-Hits"},Je.createElement("div",{className:"DocSearch-Hit-source"},e.title),Je.createElement("ul",e.getListProps(),e.collection.items.map((function(t,n){return Je.createElement(_n,vn({key:[e.title,t.objectID].join(":"),item:t,index:n},e))})))):null}function _n(e){var t=e.item,n=e.index,r=e.renderIcon,o=e.renderAction,i=e.getItemProps,l=e.onItemClick,c=e.collection,a=e.hitComponent,s=hn(Je.useState(!1),2),u=s[0],f=s[1],p=hn(Je.useState(!1),2),d=p[0],h=p[1],m=Je.useRef(null),v=a;return Je.createElement("li",vn({className:["DocSearch-Hit",t.__docsearch_parent&&"DocSearch-Hit--Child",u&&"DocSearch-Hit--deleting",d&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){m.current&&m.current()}},i({item:t,source:c.source,onClick:function(){l(t)}})),Je.createElement(v,{hit:t},Je.createElement("div",{className:"DocSearch-Hit-Container"},r({item:t,index:n}),t.hierarchy[t.type]&&"lvl1"===t.type&&Je.createElement("div",{className:"DocSearch-Hit-content-wrapper"},Je.createElement(dn,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.lvl1"}),t.content&&Je.createElement(dn,{className:"DocSearch-Hit-path",hit:t,attribute:"content"})),t.hierarchy[t.type]&&("lvl2"===t.type||"lvl3"===t.type||"lvl4"===t.type||"lvl5"===t.type||"lvl6"===t.type)&&Je.createElement("div",{className:"DocSearch-Hit-content-wrapper"},Je.createElement(dn,{className:"DocSearch-Hit-title",hit:t,attribute:"hierarchy.".concat(t.type)}),Je.createElement(dn,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),"content"===t.type&&Je.createElement("div",{className:"DocSearch-Hit-content-wrapper"},Je.createElement(dn,{className:"DocSearch-Hit-title",hit:t,attribute:"content"}),Je.createElement(dn,{className:"DocSearch-Hit-path",hit:t,attribute:"hierarchy.lvl1"})),o({item:t,runDeleteTransition:function(e){f(!0),m.current=e},runFavoriteTransition:function(e){h(!0),m.current=e}}))))}function gn(){return(gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bn(e){return Je.createElement("div",{className:"DocSearch-Dropdown-Container"},e.state.collections.map((function(t,n){if(0===t.items.length)return null;var r=t.items[0].hierarchy.lvl0;return Je.createElement(yn,gn({},e,{key:n,title:r,collection:t,renderIcon:function(e){var n,r=e.item,o=e.index;return Je.createElement(Je.Fragment,null,r.__docsearch_parent&&Je.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},Je.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},r.__docsearch_parent!==(null===(n=t.items[o+1])||void 0===n?void 0:n.__docsearch_parent)?Je.createElement("path",{d:"M8 6v21M20 27H8.3"}):Je.createElement("path",{d:"M8 6v42M20 27H8.3"}))),Je.createElement("div",{className:"DocSearch-Hit-icon"},Je.createElement(Xt,{type:r.type})))},renderAction:function(){return Je.createElement("div",{className:"DocSearch-Hit-action"},Je.createElement(Zt,null))}}))})),e.resultsFooterComponent&&Je.createElement("section",{className:"DocSearch-HitsFooter"},Je.createElement(e.resultsFooterComponent,{state:e.state})))}function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function wn(e){return"idle"===e.state.status&&!1===e.hasCollections?e.disableUserPersonalization?null:Je.createElement("div",{className:"DocSearch-StartScreen"},Je.createElement("p",{className:"DocSearch-Help"},"No recent searches")):!1===e.hasCollections?null:Je.createElement("div",{className:"DocSearch-Dropdown-Container"},Je.createElement(yn,On({},e,{title:"Recent",collection:e.state.collections[0],renderIcon:function(){return Je.createElement("div",{className:"DocSearch-Hit-icon"},Je.createElement(Gt,null))},renderAction:function(t){var n=t.item,r=t.runFavoriteTransition,o=t.runDeleteTransition;return Je.createElement(Je.Fragment,null,Je.createElement("div",{className:"DocSearch-Hit-action"},Je.createElement("button",{className:"DocSearch-Hit-action-button",title:"Save this search",onClick:function(t){t.preventDefault(),t.stopPropagation(),r((function(){e.favoriteSearches.add(n),e.recentSearches.remove(n),e.refresh()}))}},Je.createElement(nn,null))),Je.createElement("div",{className:"DocSearch-Hit-action"},Je.createElement("button",{className:"DocSearch-Hit-action-button",title:"Remove this search from history",onClick:function(t){t.preventDefault(),t.stopPropagation(),o((function(){e.recentSearches.remove(n),e.refresh()}))}},Je.createElement(Yt,null))))}})),Je.createElement(yn,On({},e,{title:"Favorites",collection:e.state.collections[1],renderIcon:function(){return Je.createElement("div",{className:"DocSearch-Hit-icon"},Je.createElement(nn,null))},renderAction:function(t){var n=t.item,r=t.runDeleteTransition;return Je.createElement("div",{className:"DocSearch-Hit-action"},Je.createElement("button",{className:"DocSearch-Hit-action-button",title:"Remove this search from favorites",onClick:function(t){t.preventDefault(),t.stopPropagation(),r((function(){e.favoriteSearches.remove(n),e.refresh()}))}},Je.createElement(Yt,null)))}})))}function Sn(){return(Sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var En=Je.memo((function(e){if("error"===e.state.status)return Je.createElement(ln,null);var t=e.state.collections.some((function(e){return e.items.length>0}));return e.state.query?!1===t?Je.createElement(an,e):Je.createElement(bn,e):Je.createElement(wn,Sn({},e,{hasCollections:t}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status}));function jn(){return(jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Pn(e){var t=e.getFormProps({inputElement:e.inputRef.current}).onReset;return Je.useEffect((function(){e.autoFocus&&e.inputRef.current&&e.inputRef.current.focus()}),[e.autoFocus,e.inputRef]),Je.useEffect((function(){e.isFromSelection&&e.inputRef.current&&e.inputRef.current.select()}),[e.isFromSelection,e.inputRef]),Je.createElement(Je.Fragment,null,Je.createElement("form",{className:"DocSearch-Form",onSubmit:function(e){e.preventDefault()},onReset:t},Je.createElement("label",jn({className:"DocSearch-MagnifierLabel"},e.getLabelProps()),Je.createElement(Ke,null)),Je.createElement("div",{className:"DocSearch-LoadingIndicator"},Je.createElement(Kt,null)),Je.createElement("input",jn({className:"DocSearch-Input",ref:e.inputRef},e.getInputProps({inputElement:e.inputRef.current,autoFocus:e.autoFocus,maxLength:64}))),Je.createElement("button",{type:"reset",title:"Clear the query",className:"DocSearch-Reset",hidden:!e.state.query},Je.createElement(Yt,null))),Je.createElement("button",{className:"DocSearch-Cancel",onClick:e.onClose},"Cancel"))}function kn(e){var t=e.key,n=e.limit,r=void 0===n?5:n,o=function(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}(t),i=o.getItem().slice(0,r);return{add:function(e){var t=e,n=(t._highlightResult,t._snippetResult,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,["_highlightResult","_snippetResult"])),l=i.findIndex((function(e){return e.objectID===n.objectID}));l>-1&&i.splice(l,1),i.unshift(n),i=i.slice(0,r),o.setItem(i)},remove:function(e){i=i.filter((function(t){return t.objectID!==e.objectID})),o.setItem(i)},getAll:function(){return i}}}function Cn(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return void 0===t&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var n=JSON.stringify(e),r=o()[n];return Promise.all([r||t(),void 0!==r])})).then((function(e){var t=u(e,2),r=t[0],o=t[1];return Promise.all([r,o||n.miss(r)])})).then((function(e){return u(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=o();return i[JSON.stringify(e)]=t,r().setItem(n,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=o();delete t[JSON.stringify(e)],r().setItem(n,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){r().removeItem(n)}))}}}function In(e){var t=f(e.caches),n=t.shift();return void 0===n?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,n.miss(e)])})).then((function(e){return u(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(e,r,o).catch((function(){return In({caches:t}).get(e,r,o)}))},set:function(e,r){return n.set(e,r).catch((function(){return In({caches:t}).set(e,r)}))},delete:function(e){return n.delete(e).catch((function(){return In({caches:t}).delete(e)}))},clear:function(){return n.clear().catch((function(){return In({caches:t}).clear()}))}}}function xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var l=r(),c=o&&o.miss||function(){return Promise.resolve()};return l.then((function(e){return c(e)})).then((function(){return l}))},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function An(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function Dn(e,t){return t?(Object.keys(t).forEach((function(n){e[n]=t[n](e)})),e):e}function Nn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0;return e.replace(/%s/g,(function(){return encodeURIComponent(n[o++])}))}var Tn={WithinQueryParameters:0,WithinHeaders:1};function Rn(e,t){var n=e||{},r=n.data||{};return Object.keys(n).forEach((function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(r[e]=n[e])})),{data:Object.entries(r).length>0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var Ln={Read:1,Write:2,Any:3},Mn=1;function Fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Mn;return s(s({},e),{},{status:t,lastUpdate:Date.now()})}function Hn(e){return"string"==typeof e?{protocol:"https",url:e,accept:Ln.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||Ln.Any}}var Un="POST";function zn(e,t,n,r){var o=[],i=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var n=Array.isArray(e.data)?e.data:s(s({},e.data),t.data);return JSON.stringify(n)}}(n,r),l=function(e,t){var n=s(s({},e.headers),t.headers),r={};return Object.keys(n).forEach((function(e){var t=n[e];r[e.toLowerCase()]=t})),r}(e,r),c=n.method,a="GET"!==n.method?{}:s(s({},n.data),r.data),u=s(s(s({"x-algolia-agent":e.userAgent.value},e.queryParameters),a),r.queryParameters),p=0,d=function t(a,s){var f=a.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:Vn(o)};var d={data:i,headers:l,method:c,url:$n(f,n.path,u),connectTimeout:s(p,e.timeouts.connect),responseTimeout:s(p,r.timeout)},h=function(e){var t={request:d,response:e,host:f,triesLeft:a.length};return o.push(t),t},m={onSucess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw function(e,t){return{name:"DeserializationError",message:e,response:t}}(t.message,e)}}(e)},onRetry:function(n){var r=h(n);return n.isTimedOut&&p++,Promise.all([e.logger.info("Retryable failure",Jn(r)),e.hostsCache.set(f,Fn(f,n.isTimedOut?3:2))]).then((function(){return t(a,s)}))},onFail:function(e){throw h(e),function(e,t){var n=e.content,r=e.status,o=n;try{o=JSON.parse(n).message}catch(e){}return function(e,t,n){return{name:"ApiError",message:e,status:t,transporterStackTrace:n}}(o,r,t)}(e,Vn(o))}};return e.requester.send(d).then((function(e){return function(e,t){return function(e){var t=e.status;return e.isTimedOut||function(e){var t=e.isTimedOut,n=e.status;return!t&&0==~~n}(e)||2!=~~(t/100)&&4!=~~(t/100)}(e)?t.onRetry(e):2==~~(e.status/100)?t.onSucess(e):t.onFail(e)}(e,m)}))};return function(e,t){return Promise.all(t.map((function(t){return e.get(t,(function(){return Promise.resolve(Fn(t))}))}))).then((function(e){var n=e.filter((function(e){return function(e){return e.status===Mn||Date.now()-e.lastUpdate>12e4}(e)})),r=e.filter((function(e){return function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}(e)})),o=[].concat(f(n),f(r));return{getTimeout:function(e,t){return(0===r.length&&0===e?1:r.length+3+e)*t},statelessHosts:o.length>0?o.map((function(e){return Hn(e)})):t}}))}(e.hostsCache,t).then((function(e){return d(f(e.statelessHosts).reverse(),e.getTimeout)}))}function qn(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var n="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(n)&&(t.value="".concat(t.value).concat(n)),t}};return t}function $n(e,t,n){var r=Bn(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat("/"===t.charAt(0)?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function Bn(e){return Object.keys(e).map((function(t){return Nn("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]));var n})).join("&")}function Vn(e){return e.map((function(e){return Jn(e)}))}function Jn(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return s(s({},e),{},{request:s(s({},e.request),{},{headers:s(s({},e.request.headers),t)})})}var Wn=function(e){var t=e.appId,n=function(e,t,n){var r={"x-algolia-api-key":n,"x-algolia-application-id":t};return{headers:function(){return e===Tn.WithinHeaders?r:{}},queryParameters:function(){return e===Tn.WithinQueryParameters?r:{}}}}(void 0!==e.authMode?e.authMode:Tn.WithinHeaders,t,e.apiKey),r=function(e){var t=e.hostsCache,n=e.logger,r=e.requester,o=e.requestsCache,i=e.responsesCache,l=e.timeouts,c=e.userAgent,a=e.hosts,s=e.queryParameters,f={hostsCache:t,logger:n,requester:r,requestsCache:o,responsesCache:i,timeouts:l,userAgent:c,headers:e.headers,queryParameters:s,hosts:a.map((function(e){return Hn(e)})),read:function(e,t){var n=Rn(t,f.timeouts.read),r=function(){return zn(f,f.hosts.filter((function(e){return 0!=(e.accept&Ln.Read)})),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return r();var o={request:e,mappedRequestOptions:n,transporter:{queryParameters:f.queryParameters,headers:f.headers}};return f.responsesCache.get(o,(function(){return f.requestsCache.get(o,(function(){return f.requestsCache.set(o,r()).then((function(e){return Promise.all([f.requestsCache.delete(o),e])}),(function(e){return Promise.all([f.requestsCache.delete(o),Promise.reject(e)])})).then((function(e){var t=u(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.responsesCache.set(o,e)}})},write:function(e,t){return zn(f,f.hosts.filter((function(e){return 0!=(e.accept&Ln.Write)})),e,Rn(t,f.timeouts.write))}};return f}(s(s({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:Ln.Read},{url:"".concat(t,".algolia.net"),accept:Ln.Write}].concat(An([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:s(s(s({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:s(s({},n.queryParameters()),e.queryParameters)}));return Dn({transporter:r,appId:t,addAlgoliaAgent:function(e,t){r.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then((function(){}))}},e.methods)},Kn=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Dn({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},Gn=function(e){return function(t,n){var r=t.map((function(e){return s(s({},e),{},{params:Bn(e.params||{})})}));return e.transporter.read({method:Un,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},Yn=function(e){return function(t,n){return Promise.all(t.map((function(t){var r=t.params,o=r.facetName,i=r.facetQuery,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(r,["facetName","facetQuery"]);return Kn(e)(t.indexName,{methods:{searchForFacetValues:Qn}}).searchForFacetValues(o,i,s(s({},n),l))})))}},Zn=function(e){return function(t,n,r){return e.transporter.read({method:Un,path:Nn("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},Xn=function(e){return function(t,n){return e.transporter.read({method:Un,path:Nn("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},Qn=function(e){return function(t,n,r){return e.transporter.read({method:Un,path:Nn("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},er=1,tr=2,nr=3;function rr(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise((function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return n.setRequestHeader(t,e.headers[t])}));var r,o=function(e,r){return setTimeout((function(){n.abort(),t({status:0,content:r,isTimedOut:!0})}),1e3*e)},i=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(i),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(i),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(i),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)}))}},logger:(r=nr,{debug:function(e,t){return er>=r&&console.debug(e,t),Promise.resolve()},info:function(e,t){return tr>=r&&console.info(e,t),Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}}),responsesCache:xn(),requestsCache:xn({serializable:!1}),hostsCache:In({caches:[Cn({key:"".concat("4.8.5","-").concat(e)}),xn()]}),userAgent:qn("4.8.5").add({segment:"Browser",version:"lite"}),authMode:Tn.WithinQueryParameters};return Wn(s(s(s({},o),n),{},{methods:{search:Gn,searchForFacetValues:Yn,multipleQueries:Gn,multipleSearchForFacetValues:Yn,initIndex:function(e){return function(t){return Kn(e)(t,{methods:{search:Xn,searchForFacetValues:Qn,findAnswers:Zn}})}}}}))}function or(e,t){return e.reduce((function(e,n){var r=t(n);return e.hasOwnProperty(r)||(e[r]=[]),e[r].length<5&&e[r].push(n),e}),{})}function ir(e){return e}function lr(){}function cr(){return(cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){ur(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pr(e){var t=e.appId,n=void 0===t?"BH4D9OD16A":t,r=e.apiKey,o=e.indexName,i=e.placeholder,l=void 0===i?"Search docs":i,c=e.searchParameters,a=e.onClose,s=void 0===a?lr:a,u=e.transformItems,f=void 0===u?ir:u,p=e.hitComponent,d=void 0===p?Wt:p,h=e.resultsFooterComponent,m=void 0===h?function(){return null}:h,v=e.navigator,y=e.initialScrollY,_=void 0===y?0:y,g=e.transformSearchClient,b=void 0===g?ir:g,O=e.disableUserPersonalization,w=void 0!==O&&O,S=e.initialQuery,E=void 0===S?"":S,j=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e)||function(e,t){if(e){if("string"==typeof e)return fr(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fr(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Je.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"})),P=j[0],k=j[1],C=Je.useRef(null),I=Je.useRef(null),x=Je.useRef(null),A=Je.useRef(null),D=Je.useRef(null),N=Je.useRef(10),T=Je.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,R=Je.useRef(E||T).current,L=function(e,t,n){return Je.useMemo((function(){var r=rr(e,t);return r.addAlgoliaAgent("docsearch","3.0.0-alpha.34"),!1===/docsearch.js \(.*\)/.test(r.transporter.userAgent.value)&&r.addAlgoliaAgent("docsearch-react","3.0.0-alpha.34"),n(r)}),[e,t,n])}(n,r,b),M=Je.useRef(kn({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,F=Je.useRef(kn({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:0===M.getAll().length?7:4})).current,H=Je.useCallback((function(e){if(!w){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===M.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&F.add(t)}}),[M,F,w]),U=Je.useMemo((function(){return Ft({id:"docsearch",defaultActiveItemId:0,placeholder:l,openOnFocus:!0,initialState:{query:R,context:{searchSuggestions:[]}},navigator:v,onStateChange:function(e){var t=e.state;k(t)},getSources:function(e){var t=e.query,n=e.state,r=e.setContext,i=e.setStatus;return t?function(e){return function(e){var t=e.searchClient,n=e.queries,r=e.userAgents,o=void 0===r?[]:r;return"function"==typeof t.addAlgoliaAgent&&[{segment:"autocomplete-core",version:Ht}].concat(function(e){return function(e){if(Array.isArray(e))return $t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return $t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$t(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o)).forEach((function(e){var n=e.segment,r=e.version;t.addAlgoliaAgent(n,r)})),t.search(n.map((function(e){return{indexName:e.indexName,query:e.query,params:zt({hitsPerPage:5,highlightPreTag:"__aa-highlight__",highlightPostTag:"__/aa-highlight__"},e.params)}})))}({searchClient:e.searchClient,queries:e.queries,userAgents:e.userAgents}).then((function(e){return e.results}))}({searchClient:L,queries:[{indexName:o,query:t,params:sr({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(N.current),"hierarchy.lvl2:".concat(N.current),"hierarchy.lvl3:".concat(N.current),"hierarchy.lvl4:".concat(N.current),"hierarchy.lvl5:".concat(N.current),"hierarchy.lvl6:".concat(N.current),"content:".concat(N.current)],snippetEllipsisText:"…",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20},c)}]}).catch((function(e){throw"RetryError"===e.name&&i("error"),e})).then((function(e){var t=e[0].hits,o=e[0].nbHits,i=or(t,(function(e){return e.hierarchy.lvl0}));return n.context.searchSuggestions.length<Object.keys(i).length&&r({searchSuggestions:Object.keys(i)}),r({nbHits:o}),Object.values(i).map((function(e,t){return{sourceId:"hits".concat(t),onSelect:function(e){var t=e.item,n=e.event;H(t),n.shiftKey||n.ctrlKey||n.metaKey||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return Object.values(or(e,(function(e){return e.hierarchy.lvl1}))).map(f).map((function(e){return e.map((function(t){return sr(sr({},t),{},{__docsearch_parent:"lvl1"!==t.type&&e.find((function(e){return"lvl1"===e.type&&e.hierarchy.lvl1===t.hierarchy.lvl1}))})}))})).flat()}}}))})):w?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,n=e.event;H(t),n.shiftKey||n.ctrlKey||n.metaKey||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return F.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,n=e.event;H(t),n.shiftKey||n.ctrlKey||n.metaKey||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return M.getAll()}}]}})}),[o,c,L,s,F,M,H,R,l,v,f,w]),z=U.getEnvironmentProps,q=U.getRootProps,$=U.refresh;return function(e){var t=e.getEnvironmentProps,n=e.panelElement,r=e.formElement,o=e.inputElement;Je.useEffect((function(){if(n&&r&&o){var e=t({panelElement:n,formElement:r,inputElement:o}),i=e.onTouchStart,l=e.onTouchMove;return window.addEventListener("touchstart",i),window.addEventListener("touchmove",l),function(){window.removeEventListener("touchstart",i),window.removeEventListener("touchmove",l)}}}),[t,n,r,o])}({getEnvironmentProps:z,panelElement:A.current,formElement:x.current,inputElement:D.current}),function(e){var t=e.container;Je.useEffect((function(){if(t){var e=t.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),n=e[0],r=e[e.length-1];return t.addEventListener("keydown",o),function(){t.removeEventListener("keydown",o)}}function o(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus()))}}),[t])}({container:C.current}),Je.useEffect((function(){return document.body.classList.add("DocSearch--active"),function(){var e,t;document.body.classList.remove("DocSearch--active"),null===(e=(t=window).scrollTo)||void 0===e||e.call(t,0,_)}}),[]),Je.useEffect((function(){window.matchMedia("(max-width: 750px)").matches&&(N.current=5)}),[]),Je.useEffect((function(){A.current&&(A.current.scrollTop=0)}),[P.query]),Je.useEffect((function(){R.length>0&&($(),D.current&&D.current.focus())}),[R,$]),Je.useEffect((function(){function e(){if(I.current){var e=.01*window.innerHeight;I.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),Je.createElement("div",cr({ref:C},q({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===P.status&&"DocSearch-Container--Stalled","error"===P.status&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),onMouseDown:function(e){e.target===e.currentTarget&&s()}}),Je.createElement("div",{className:"DocSearch-Modal",ref:I},Je.createElement("header",{className:"DocSearch-SearchBar",ref:x},Je.createElement(Pn,cr({},U,{state:P,autoFocus:0===R.length,onClose:s,inputRef:D,isFromSelection:Boolean(R)&&R===T}))),Je.createElement("div",{className:"DocSearch-Dropdown",ref:A},Je.createElement(En,cr({},U,{indexName:o,state:P,hitComponent:d,resultsFooterComponent:m,disableUserPersonalization:w,recentSearches:F,favoriteSearches:M,onItemClick:function(e){H(e),s()},inputRef:D}))),Je.createElement("footer",{className:"DocSearch-Footer"},Je.createElement(Vt,null))))}function dr(){return(dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function hr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vr(e){var t=Je.useRef(null),n=hr(Je.useState(!1),2),r=n[0],o=n[1],i=hr(Je.useState(void 0),2),l=i[0],c=i[1],a=Je.useCallback((function(){o(!0)}),[o]),s=Je.useCallback((function(){o(!1)}),[o]);return function(e){var t=e.isOpen,n=e.onOpen,r=e.onClose,o=e.onInput,i=e.searchButtonRef;Je.useEffect((function(){function e(e){(27===e.keyCode&&t||"k"===e.key&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?r():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,r,o,i])}({isOpen:r,onOpen:a,onClose:s,onInput:Je.useCallback((function(e){o(!0),c(e.key)}),[o,c]),searchButtonRef:t}),Je.createElement(Je.Fragment,null,Je.createElement(Ze,{onClick:a,ref:t}),r&&Ae(Je.createElement(pr,dr({},e,{initialScrollY:window.scrollY,initialQuery:l,onClose:s})),document.body))}rr.version="4.8.5";var yr,_r,gr,br,Or,wr,Sr,Er=n(7788),jr={},Pr=[],kr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Cr(e,t){for(var n in t)e[n]=t[n];return e}function Ir(e){var t=e.parentNode;t&&t.removeChild(e)}function xr(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++gr:o};return null==o&&null!=_r.vnode&&_r.vnode(i),i}function Ar(e){return e.children}function Dr(e,t){this.props=e,this.context=t}function Nr(e,t){if(null==t)return e.__?Nr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Nr(e):null}function Tr(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Tr(e)}}function Rr(e){(!e.__d&&(e.__d=!0)&&br.push(e)&&!Lr.__r++||Or!==_r.debounceRendering)&&((Or=_r.debounceRendering)||wr)(Lr)}function Lr(){var e,t,n,r,o,i,l,c;for(br.sort(Sr);e=br.shift();)e.__d&&(t=br.length,r=void 0,o=void 0,l=(i=(n=e).__v).__e,(c=n.__P)&&(r=[],(o=Cr({},i)).__v=i.__v+1,Vr(c,i,o,n.__n,void 0!==c.ownerSVGElement,null!=i.__h?[l]:null,r,null==l?Nr(i):l,i.__h),Jr(r,i),i.__e!=l&&Tr(i)),br.length>t&&br.sort(Sr));Lr.__r=0}function Mr(e,t,n,r,o,i,l,c,a,s){var u,f,p,d,h,m,v,y=r&&r.__k||Pr,_=y.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(d=n.__k[u]=null==(d=t[u])||"boolean"==typeof d||"function"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?xr(null,d,null,null,d):Array.isArray(d)?xr(Ar,{children:d},null,null,null):d.__b>0?xr(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(p=y[u])||p&&d.key==p.key&&d.type===p.type)y[u]=void 0;else for(f=0;f<_;f++){if((p=y[f])&&d.key==p.key&&d.type===p.type){y[f]=void 0;break}p=null}Vr(e,d,p=p||jr,o,i,l,c,a,s),h=d.__e,(f=d.ref)&&p.ref!=f&&(v||(v=[]),p.ref&&v.push(p.ref,null,d),v.push(f,d.__c||h,d)),null!=h?(null==m&&(m=h),"function"==typeof d.type&&d.__k===p.__k?d.__d=a=Fr(d,a,e):a=Hr(e,d,p,y,h,a),"function"==typeof n.type&&(n.__d=a)):a&&p.__e==a&&a.parentNode!=e&&(a=Nr(p))}for(n.__e=m,u=_;u--;)null!=y[u]&&("function"==typeof n.type&&null!=y[u].__e&&y[u].__e==n.__d&&(n.__d=Ur(r).nextSibling),Kr(y[u],y[u]));if(v)for(u=0;u<v.length;u++)Wr(v[u],v[++u],v[++u])}function Fr(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?Fr(r,t,n):Hr(n,r,r,o,r.__e,t));return t}function Hr(e,t,n,r,o,i){var l,c,a;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),l=null;else{for(c=i,a=0;(c=c.nextSibling)&&a<r.length;a+=1)if(c==o)break e;e.insertBefore(o,i),l=i}return void 0!==l?l:o.nextSibling}function Ur(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=Ur(n)))return r;return null}function zr(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||kr.test(t)?n:n+"px"}function qr(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||zr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||zr(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?Br:$r,i):e.removeEventListener(t,i?Br:$r,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function $r(e){return this.l[e.type+!1](_r.event?_r.event(e):e)}function Br(e){return this.l[e.type+!0](_r.event?_r.event(e):e)}function Vr(e,t,n,r,o,i,l,c,a){var s,u,f,p,d,h,m,v,y,_,g,b,O,w,S,E=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(a=n.__h,c=t.__e=n.__e,t.__h=null,i=[c]),(s=_r.__b)&&s(t);try{e:if("function"==typeof E){if(v=t.props,y=(s=E.contextType)&&r[s.__c],_=s?y?y.props.value:s.__:r,n.__c?m=(u=t.__c=n.__c).__=u.__E:("prototype"in E&&E.prototype.render?t.__c=u=new E(v,_):(t.__c=u=new Dr(v,_),u.constructor=E,u.render=Gr),y&&y.sub(u),u.props=v,u.state||(u.state={}),u.context=_,u.__n=r,f=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=E.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=Cr({},u.__s)),Cr(u.__s,E.getDerivedStateFromProps(v,u.__s))),p=u.props,d=u.state,u.__v=t,f)null==E.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==E.getDerivedStateFromProps&&v!==p&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(v,_),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(v,u.__s,_)||t.__v===n.__v){for(t.__v!==n.__v&&(u.props=v,u.state=u.__s,u.__d=!1),u.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),g=0;g<u._sb.length;g++)u.__h.push(u._sb[g]);u._sb=[],u.__h.length&&l.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(v,u.__s,_),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(p,d,h)}))}if(u.context=_,u.props=v,u.__P=e,b=_r.__r,O=0,"prototype"in E&&E.prototype.render){for(u.state=u.__s,u.__d=!1,b&&b(t),s=u.render(u.props,u.state,u.context),w=0;w<u._sb.length;w++)u.__h.push(u._sb[w]);u._sb=[]}else do{u.__d=!1,b&&b(t),s=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++O<25);u.state=u.__s,null!=u.getChildContext&&(r=Cr(Cr({},r),u.getChildContext())),f||null==u.getSnapshotBeforeUpdate||(h=u.getSnapshotBeforeUpdate(p,d)),S=null!=s&&s.type===Ar&&null==s.key?s.props.children:s,Mr(e,Array.isArray(S)?S:[S],t,n,r,o,i,l,c,a),u.base=t.__e,t.__h=null,u.__h.length&&l.push(u),m&&(u.__E=u.__=null),u.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,o,i,l,c){var a,s,u,f=n.props,p=t.props,d=t.type,h=0;if("svg"===d&&(o=!0),null!=i)for(;h<i.length;h++)if((a=i[h])&&"setAttribute"in a==!!d&&(d?a.localName===d:3===a.nodeType)){e=a,i[h]=null;break}if(null==e){if(null===d)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),i=null,c=!1}if(null===d)f===p||c&&e.data===p||(e.data=p);else{if(i=i&&yr.call(e.childNodes),s=(f=n.props||jr).dangerouslySetInnerHTML,u=p.dangerouslySetInnerHTML,!c){if(null!=i)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(u||s)&&(u&&(s&&u.__html==s.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||qr(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||qr(e,i,t[i],n[i],r)}(e,p,f,o,c),u)t.__k=[];else if(h=t.props.children,Mr(e,Array.isArray(h)?h:[h],t,n,r,o&&"foreignObject"!==d,i,l,i?i[0]:n.__k&&Nr(n,0),c),null!=i)for(h=i.length;h--;)null!=i[h]&&Ir(i[h]);c||("value"in p&&void 0!==(h=p.value)&&(h!==e.value||"progress"===d&&!h||"option"===d&&h!==f.value)&&qr(e,"value",h,f.value,!1),"checked"in p&&void 0!==(h=p.checked)&&h!==e.checked&&qr(e,"checked",h,f.checked,!1))}return e}(n.__e,t,n,r,o,i,l,a);(s=_r.diffed)&&s(t)}catch(e){t.__v=null,(a||null!=i)&&(t.__e=c,t.__h=!!a,i[i.indexOf(c)]=null),_r.__e(e,t,n)}}function Jr(e,t){_r.__c&&_r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){_r.__e(e,t.__v)}}))}function Wr(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){_r.__e(e,n)}}function Kr(e,t,n){var r,o;if(_r.unmount&&_r.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Wr(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){_r.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Kr(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||Ir(e.__e),e.__=e.__e=e.__d=void 0}function Gr(e,t,n){return this.constructor(e,n)}yr=Pr.slice,_r={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},gr=0,Dr.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Cr({},this.state),"function"==typeof e&&(e=e(Cr({},n),this.props)),e&&Cr(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Rr(this))},Dr.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Rr(this))},Dr.prototype.render=Ar,br=[],wr="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Sr=function(e,t){return e.__v.__b-t.__v.__b},Lr.__r=0;var Yr=n(2201);const Zr=(0,o.aZ)({name:"Docsearch",props:{options:{type:Object,required:!0}},setup(e){const t=(0,r.I)(),n=(0,r.Ym)(),i=(()=>{const e=(0,Yr.tv)(),t=(0,r.WF)();return{transformItems:e=>e.map((e=>({...e,url:(0,Er.rl)(e.url,t.value.base)}))),hitComponent:({hit:t,children:n})=>function(e,t,n){var r,o,i,l={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?yr.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return xr(e,l,r,o,null)}("a",{href:t.url,onClick:n=>{(e=>1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)(n)||(n.preventDefault(),e.push(t.url))}},n),navigator:{navigate:({itemUrl:t})=>{e.push(t)}}}})(),l=(0,o.Fl)((()=>{var n;return{...e.options,...null===(n=e.options.locales)||void 0===n?void 0:n[t.value]}})),a=[],s=()=>{var e,t;a.splice(0,a.length,`lang:${n.value}`,...null!==(t=null===(e=l.value.searchParameters)||void 0===e?void 0:e.facetFilters)&&void 0!==t?t:[]),function(e){Re(Je.createElement(vr,c({},e,{transformSearchClient:function(t){return t.addAlgoliaAgent("docsearch.js","3.0.0-alpha.34"),e.transformSearchClient?e.transformSearchClient(t):t}})),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return"string"==typeof e?t.document.querySelector(e):e}(e.container,e.environment))}({...i,...l.value,container:"#docsearch-container",searchParameters:{...l.value.searchParameters,facetFilters:a}})};return(0,o.bv)((()=>{s(),(0,o.YP)([t,l],(([e,t],[n,r])=>{e!==n&&JSON.stringify(t)!==JSON.stringify(r)&&s()})),(0,o.YP)(n,((e,t)=>{if(e!==t){const n=a.findIndex((e=>e===`lang:${t}`));n>-1&&a.splice(n,1,`lang:${e}`)}}))})),()=>(0,o.h)("div",{id:"docsearch-container"})}}),Xr={appId:"4ZF3BCJTP5",apiKey:"09ff75bbe16bc6e166e103ffb57e10ea",indexName:"fesjs",locales:{"/":{placeholder:"搜索文档"}}},Qr=(0,r.vW)((({app:e})=>{e.component("Docsearch",(()=>(0,o.h)(Zr,{options:Xr})))}))},6971:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7621),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(e){return"IMG"===e.tagName},l=function(e){return e&&1===e.nodeType},c=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},a=function(e){try{return Array.isArray(e)?e.filter(i):function(e){return NodeList.prototype.isPrototypeOf(e)}(e)?[].slice.call(e).filter(i):l(e)?[e].filter(i):"string"==typeof e?[].slice.call(document.querySelectorAll(e)).filter(i):[]}catch(e){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},s=function(e,t){var n=o({bubbles:!1,cancelable:!1,detail:void 0},t);if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}");const u=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return[].concat(e,a(t))}),[]);return r.filter((function(e){return-1===d.indexOf(e)})).forEach((function(e){d.push(e),e.classList.add("medium-zoom-image")})),h.forEach((function(e){var t=e.type,n=e.listener,o=e.options;r.forEach((function(e){e.addEventListener(t,n,o)}))})),b},u=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target,t=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(y.container)if(y.container instanceof Object)t=(e=o({},e,y.container)).width-e.left-e.right-2*y.margin,n=e.height-e.top-e.bottom-2*y.margin;else{var r=(l(y.container)?y.container:document.querySelector(y.container)).getBoundingClientRect(),i=r.width,a=r.height,s=r.left,u=r.top;e=o({},e,{width:i,height:a,left:s,top:u})}t=t||e.width-2*y.margin,n=n||e.height-2*y.margin;var f=_.zoomedHd||_.original,p=c(f)?t:f.naturalWidth||t,d=c(f)?n:f.naturalHeight||n,h=f.getBoundingClientRect(),m=h.top,v=h.left,g=h.width,b=h.height,O=Math.min(Math.max(g,p),t)/g,w=Math.min(Math.max(b,d),n)/b,S=Math.min(O,w),E="scale("+S+") translate3d("+((t-g)/2-v+y.margin+e.left)/S+"px, "+((n-b)/2-m+y.margin+e.top)/S+"px, 0)";_.zoomed.style.transform=E,_.zoomedHd&&(_.zoomedHd.style.transform=E)};return new r((function(n){if(e&&-1===d.indexOf(e))n(b);else if(_.zoomed)n(b);else{if(e)_.original=e;else{if(!(d.length>0))return void n(b);var r=d;_.original=r[0]}if(_.original.dispatchEvent(s("medium-zoom:open",{detail:{zoom:b}})),v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,m=!0,_.zoomed=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,o=t.width,i=t.height,l=e.cloneNode(),c=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,a=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return l.removeAttribute("id"),l.style.position="absolute",l.style.top=n+c+"px",l.style.left=r+a+"px",l.style.width=o+"px",l.style.height=i+"px",l.style.transform="",l}(_.original),document.body.appendChild(g),y.template){var o=l(y.template)?y.template:document.querySelector(y.template);_.template=document.createElement("div"),_.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(_.template)}if(_.original.parentElement&&"PICTURE"===_.original.parentElement.tagName&&_.original.currentSrc&&(_.zoomed.src=_.original.currentSrc),document.body.appendChild(_.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),_.original.classList.add("medium-zoom-image--hidden"),_.zoomed.classList.add("medium-zoom-image--opened"),_.zoomed.addEventListener("click",f),_.zoomed.addEventListener("transitionend",(function e(){m=!1,_.zoomed.removeEventListener("transitionend",e),_.original.dispatchEvent(s("medium-zoom:opened",{detail:{zoom:b}})),n(b)})),_.original.getAttribute("data-zoom-src")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("srcset"),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading"),_.zoomedHd.src=_.zoomed.getAttribute("data-zoom-src"),_.zoomedHd.onerror=function(){clearInterval(i),console.warn("Unable to reach the zoom image target "+_.zoomedHd.src),_.zoomedHd=null,t()};var i=setInterval((function(){_.zoomedHd.complete&&(clearInterval(i),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",f),document.body.appendChild(_.zoomedHd),t())}),10)}else if(_.original.hasAttribute("srcset")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading");var c=_.zoomedHd.addEventListener("load",(function(){_.zoomedHd.removeEventListener("load",c),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",f),document.body.appendChild(_.zoomedHd),t()}))}else t()}}))},f=function(){return new r((function(e){!m&&_.original?(m=!0,document.body.classList.remove("medium-zoom--opened"),_.zoomed.style.transform="",_.zoomedHd&&(_.zoomedHd.style.transform=""),_.template&&(_.template.style.transition="opacity 150ms",_.template.style.opacity=0),_.original.dispatchEvent(s("medium-zoom:close",{detail:{zoom:b}})),_.zoomed.addEventListener("transitionend",(function t(){_.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(_.zoomed),_.zoomedHd&&document.body.removeChild(_.zoomedHd),document.body.removeChild(g),_.zoomed.classList.remove("medium-zoom-image--opened"),_.template&&document.body.removeChild(_.template),m=!1,_.zoomed.removeEventListener("transitionend",t),_.original.dispatchEvent(s("medium-zoom:closed",{detail:{zoom:b}})),_.original=null,_.zoomed=null,_.zoomedHd=null,_.template=null,e(b)}))):e(b)}))},p=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target;return _.original?f():u({target:e})},d=[],h=[],m=!1,v=0,y=n,_={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?y=t:(t||"string"==typeof t)&&i(t);var g=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t}((y=o({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},y)).background);document.addEventListener("click",(function(e){var t=e.target;t!==g?-1!==d.indexOf(t)&&p({target:t}):f()})),document.addEventListener("keyup",(function(e){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||f()})),document.addEventListener("scroll",(function(){if(!m&&_.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(v-e)>y.scrollOffset&&setTimeout(f,150)}})),window.addEventListener("resize",f);var b={open:u,close:f,toggle:p,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e;if(e.background&&(g.style.background=e.background),e.container&&e.container instanceof Object&&(t.container=o({},y.container,e.container)),e.template){var n=l(e.template)?e.template:document.querySelector(e.template);t.template=n}return y=o({},y,t),d.forEach((function(e){e.dispatchEvent(s("medium-zoom:update",{detail:{zoom:b}}))})),b},clone:function(){return e(o({},y,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))},attach:i,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];_.zoomed&&f();var r=t.length>0?t.reduce((function(e,t){return[].concat(e,a(t))}),[]):d;return r.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(s("medium-zoom:detach",{detail:{zoom:b}}))})),d=d.filter((function(e){return-1===r.indexOf(e)})),b},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d.forEach((function(r){r.addEventListener("medium-zoom:"+e,t,n)})),h.push({type:"medium-zoom:"+e,listener:t,options:n}),b},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d.forEach((function(r){r.removeEventListener("medium-zoom:"+e,t,n)})),h=h.filter((function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())})),b},getOptions:function(){return y},getImages:function(){return d},getZoomedImage:function(){return _.original}};return b},f=Symbol("mediumZoom"),p={},d=(0,r.vW)((({app:e,router:t})=>{const n=u(p);n.refresh=(e=".theme-default-content > img, .theme-default-content :not(a) > img")=>{n.detach(),n.attach(e)},e.provide(f,n),t.afterEach((()=>{setTimeout((()=>n.refresh()),400)}))}))},6243:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7621),o=n(4865),i=n(6252),l=n(2201);const c=(0,r.F2)((()=>{(0,i.bv)((()=>{const e=(0,l.tv)(),t=new Set;t.add(e.currentRoute.value.path),o.configure({showSpinner:!1}),e.beforeEach((e=>{t.has(e.path)||o.start()})),e.afterEach((e=>{t.add(e.path),o.done()}))}))}))},8341:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(6252),o=n(7621),i=n(743),l=n(2262),c=n(9963);const a=(0,r.aZ)({name:"PwaPopup",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=(0,i.f$)(),n=(0,o.I)(),a=(0,r.Fl)((()=>{var t;return null!==(t=e.locales[n.value])&&void 0!==t?t:{message:"New content is available.",buttonText:"Refresh"}})),s=(0,l.iH)(!1),u=(0,l.iH)(null),f=()=>{s.value=!1,u.value&&((0,i.NY)(u.value),location.reload(!0))};return t.on("updated",(e=>{e&&(u.value=e,s.value=!0)})),()=>(0,r.h)(c.uT,{name:"pwa-popup"},{default:()=>s.value?(0,r.h)("div",{class:"pwa-popup"},[a.value.message,(0,r.h)("br"),(0,r.h)("button",{onClick:f},a.value.buttonText)]):null})}}),s={"/":{message:"发现新内容可用",buttonText:"刷新"}},u=()=>(0,r.h)(a,{locales:s});u.displayName="PwaPopupWrapper";const f=u},4862:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7621),o=n(6252),i=n(743);const l=(0,r.F2)((()=>{const e=(...e)=>console.log("[@vuepress/plugin-pwa]",...e),t={all:l=l||new Map,on:function(e,t){var n=l.get(e);n?n.push(t):l.set(e,[t])},off:function(e,t){var n=l.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):l.set(e,[]))},emit:function(e,t){var n=l.get(e);n&&n.slice().map((function(e){e(t)})),(n=l.get("*"))&&n.slice().map((function(n){n(e,t)}))}};var l;(0,o.JJ)(i.Lg,t),(0,o.bv)((async()=>{const{register:o}=await n.e(205).then(n.bind(n,5205));o((0,r.pJ)("service-worker.js"),{ready(n){e("Service worker is active."),t.emit("ready",n)},registered(n){e("Service worker has been registered."),t.emit("registered",n)},cached(n){e("Content has been cached for offline use."),t.emit("cached",n)},updatefound(n){e("New content is downloading."),t.emit("updatefound",n)},updated(n){e("New content is available, please refresh."),t.emit("updated",n)},offline(){e("No internet connection found. App is running in offline mode."),t.emit("offline")},error(n){e("Error during service worker registration:",n),t.emit("error",n)}})}))}))},743:(e,t,n)=>{"use strict";n.d(t,{Lg:()=>o,f$:()=>i,NY:()=>l});var r=n(6252);const o=Symbol("pwaEvent"),i=()=>{const e=(0,r.f3)(o);if(!e)throw new Error("usePwaEvent() is called without provider.");return e},l=e=>{const t=e.waiting;if(!t)return;const n=new MessageChannel;t.postMessage({type:"SKIP_WAITING"},[n.port2])}},1598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(7621),o=n(6252),i=n(3197);const l=(0,r.vW)((({app:e})=>{const t=(0,i.BV)(),n=e._context.provides[r.C3],l=(0,o.Fl)((()=>(0,i.g$)(t.value,n.value)));e.provide(i.ZS,l),Object.defineProperties(e.config.globalProperties,{$theme:{get:()=>t.value},$themeLocale:{get:()=>l.value}})}))},3197:(e,t,n)=>{"use strict";n.d(t,{g$:()=>s,ZS:()=>c,BV:()=>i,X6:()=>a});var r=n(2232);const o=(0,n(2262).iH)(r.f),i=()=>o;var l=n(6252);const c=Symbol(""),a=()=>{const e=(0,l.f3)(c);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},s=(e,t)=>{var n;return{...e,...null===(n=e.locales)||void 0===n?void 0:n[t]}}},7788:(e,t,n)=>{"use strict";n.d(t,{H7:()=>o,kJ:()=>r.kJ,mf:()=>r.mf,ak:()=>i,B2:()=>l,R5:()=>c,PO:()=>a,HD:()=>r.HD,U1:()=>s,FY:()=>u,gb:()=>f,rl:()=>p});var r=n(3577);const o=e=>{const t=new Set,n=[];return e.forEach((e=>{const r=(([e,t,n])=>"meta"===e&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:"template"===e&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]))(e);t.has(r)||(t.add(r),n.push(e))})),n},i=e=>/^(https?:)?\/\//.test(e),l=e=>/^mailto:/.test(e),c=e=>/^tel:/.test(e),a=e=>"[object Object]"===Object.prototype.toString.call(e),s=e=>e.replace(/\/$/,""),u=e=>e.replace(/^\//,""),f=(e,t)=>{const n=Object.keys(e).sort(((e,t)=>{const n=t.split("/").length-e.split("/").length;return 0!==n?n:t.length-e.length}));for(const e of n)if(t.startsWith(e))return e;return"/"},p=(e,t="/")=>e.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${t}`),"/")},2009:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(7621),o=n(6252),i=n(3577);const l=(0,o.aZ)({__name:"Badge",props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup:e=>(t,n)=>((0,o.wg)(),(0,o.iD)("span",{class:(0,i.C_)(["badge",e.type]),style:(0,i.j5)({verticalAlign:e.vertical})},[(0,o.WI)(t.$slots,"default",{},(()=>[(0,o.Uk)((0,i.zw)(e.text),1)]))],6))});var c=n(2262);const a=(0,o.aZ)({name:"CodeGroup",setup(e,{slots:t}){const n=(0,c.iH)(-1),r=(0,c.iH)([]);return()=>{var e;const i=((null===(e=t.default)||void 0===e?void 0:e.call(t))||[]).filter((e=>"CodeGroupItem"===e.type.name)).map((e=>(null===e.props&&(e.props={}),e)));return 0===i.length?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex((e=>""===e.props.active||!0===e.props.active)),-1===n.value&&(n.value=0)):i.forEach(((e,t)=>{e.props.active=t===n.value})),(0,o.h)("div",{class:"code-group"},[(0,o.h)("div",{class:"code-group__nav"},(0,o.h)("ul",{class:"code-group__ul"},i.map(((e,t)=>{const i=t===n.value;return(0,o.h)("li",{class:"code-group__li"},(0,o.h)("button",{ref:e=>{e&&(r.value[t]=e)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":i},ariaPressed:i,ariaExpanded:i,onClick:()=>n.value=t,onKeydown:e=>((e,t)=>{" "===e.key||"Enter"===e.key?(e.preventDefault(),n.value=t):"ArrowRight"===e.key?(e.preventDefault(),((e=n.value)=>{e<r.value.length-1?n.value=e+1:n.value=0,r.value[n.value].focus()})(t)):"ArrowLeft"===e.key&&(e.preventDefault(),((e=n.value)=>{n.value=e>0?e-1:r.value.length-1,r.value[n.value].focus()})(t))})(e,t)},e.props.title))})))),i]))}}}),s=["aria-selected"],u=(0,o.aZ)({name:"CodeGroupItem"}),f=(0,o.aZ)({...u,props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup:e=>(t,n)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[(0,o.WI)(t.$slots,"default")],10,s))});var p=n(5885);const d={class:"sr-only"},h=(0,o.aZ)({__name:"OutboundLink",setup(e){const t=(0,p.X6)();return(e,n)=>((0,o.wg)(),(0,o.j4)((0,c.SU)(r.MS),null,{default:(0,o.w5)((()=>[(0,o._)("span",d,(0,i.zw)((0,c.SU)(t).openInNewWindow),1)])),_:1}))}}),m=(0,r.vW)((({app:e,router:t})=>{e.component("Badge",l),e.component("CodeGroup",a),e.component("CodeGroupItem",f),delete e._context.components.OutboundLink,e.component("OutboundLink",h),e.component("NavbarSearch",(()=>{const t=e.component("Docsearch")||e.component("SearchBox");return t?(0,o.h)(t):null}));const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...e)=>(await(0,p.P$)().wait(),n(...e))}))},8866:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7621),o=n(5885);const i=(0,r.F2)((()=>{(0,o.OX)(),(0,o.fR)()}))},5885:(e,t,n)=>{"use strict";n.d(t,{OX:()=>x,fR:()=>$,vs:()=>I,sC:()=>R,P$:()=>H,VU:()=>q,X6:()=>Y});var r=n(2262),o=n(6252);function i(e){return!!(0,r.nZ)()&&((0,r.EB)(e),!0)}const l="undefined"!=typeof window,c=(Object.prototype.toString,e=>"string"==typeof e),a=()=>{};const s=e=>e();var u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t)=>{var n={};for(var r in e)f.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))t.indexOf(r)<0&&p.call(e,r)&&(n[r]=e[r]);return n};Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const h=l?window:void 0;l&&window.document,l&&window.navigator,l&&window.location,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},v="__vueuse_ssr_handlers__";m[v]=m[v]||{};const y=m[v];const _={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))}};function g(e,t,n,l={}){var u;const{flush:f="pre",deep:p=!0,listenToStorageChanges:m=!0,writeDefaults:v=!0,shallow:g,window:b=h,eventFilter:O,onError:w=(e=>{console.error(e)})}=l,S=(0,r.SU)(t),E=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}(S),j=(g?r.XI:r.iH)(t),P=null!=(u=l.serializer)?u:_[E];if(!n)try{n=function(e,t){return y[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=h)?void 0:e.localStorage}))()}catch(e){w(e)}function k(t){if(n&&(!t||t.key===e))try{const r=t?t.newValue:n.getItem(e);null==r?(j.value=S,v&&null!==S&&n.setItem(e,P.write(S))):j.value="string"!=typeof r?r:P.read(r)}catch(e){w(e)}}return k(),b&&m&&function(...e){let t,n,l,s;if(c(e[0])?([n,l,s]=e,t=h):[t,n,l,s]=e,!t)return a;let u=a;const f=(0,o.YP)((()=>(0,r.SU)(t)),(e=>{u(),e&&(e.addEventListener(n,l,s),u=()=>{e.removeEventListener(n,l,s),u=a})}),{immediate:!0,flush:"post"}),p=()=>{f(),u()};i(p)}(b,"storage",(e=>setTimeout((()=>k(e)),0))),n&&function(e,t,n={}){const r=n,{eventFilter:i=s}=r,l=d(r,["eventFilter"]);return(0,o.YP)(e,(c=i,a=t,function(...e){c((()=>a.apply(this,e)),{fn:a,thisArg:this,args:e})}),l);var c,a}(j,(()=>{try{null==j.value?n.removeItem(e):n.setItem(e,P.write(j.value))}catch(e){w(e)}}),{flush:f,deep:p,eventFilter:O}),j}function b(e){return function(e,t={}){const{window:n=h}=t;let l;const c=(0,r.iH)(!1),a=()=>{n&&(l||(l=n.matchMedia(e)),c.value=l.matches)};return function(e,t=!0){(0,o.FN)()?(0,o.bv)(e):t?e():(0,o.Y3)(e)}((()=>{a(),l&&("addEventListener"in l?l.addEventListener("change",a):l.addListener(a),i((()=>{"removeEventListener"in a?l.removeEventListener("change",a):l.removeListener(a)})))})),c}("(prefers-color-scheme: dark)",e)}var O,w;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,l&&(null==window?void 0:window.navigator)&&(null==(O=null==window?void 0:window.navigator)?void 0:O.platform)&&/iP(ad|hone|od)/.test(null==(w=null==window?void 0:window.navigator)?void 0:w.platform),Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var S=Object.defineProperty,E=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),j=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;((e,t)=>{for(var n in t||(t={}))j.call(t,n)&&k(e,n,t[n]);if(E)for(var n of E(t))P.call(t,n)&&k(e,n,t[n])})({text:""},{top:0,left:0,bottom:0,right:0,height:0,width:0}),Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const C=Symbol(""),I=()=>{const e=(0,o.f3)(C);if(!e)throw new Error("useDarkMode() is called without provider.");return e},x=()=>{const e=Y(),t=b(),n=g("vuepress-color-scheme","auto"),r=(0,o.Fl)({get:()=>!!e.value.darkMode&&("auto"===n.value?t.value:"dark"===n.value),set(e){e===t.value?n.value="auto":n.value=e?"dark":"light"}});(0,o.JJ)(C,r),A(r)},A=e=>{const t=(t=e.value)=>{const n=null===window||void 0===window?void 0:window.document.querySelector("html");null==n||n.classList.toggle("dark",t)};(0,o.bv)((()=>{(0,o.YP)(e,t,{immediate:!0})})),(0,o.Ah)((()=>t()))};var D=n(7788),N=n(2201);const T=(...e)=>{const t=(0,N.tv)().resolve(...e),n=t.matched[t.matched.length-1];if(!(null==n?void 0:n.redirect))return t;const{redirect:r}=n,o=(0,D.mf)(r)?r(t):r,i=(0,D.HD)(o)?{path:o}:o;return T({hash:t.hash,query:t.query,params:t.params,...i})},R=e=>{const t=T(e);return{text:t.meta.title||e,link:"404"===t.name?e:t.fullPath}};let L=null,M=null;const F={wait:()=>L,pending:()=>{L=new Promise((e=>M=e))},resolve:()=>{null==M||M(),L=null,M=null}},H=()=>F;var U=n(7621);const z=Symbol("sidebarItems"),q=()=>{const e=(0,o.f3)(z);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},$=()=>{const e=Y(),t=(0,U.I2)(),n=(0,o.Fl)((()=>B(t.value,e.value)));(0,o.JJ)(z,n)},B=(e,t)=>{var n,r,o,i;const l=null!==(r=null!==(n=e.sidebar)&&void 0!==n?n:t.sidebar)&&void 0!==r?r:"auto",c=null!==(i=null!==(o=e.sidebarDepth)&&void 0!==o?o:t.sidebarDepth)&&void 0!==i?i:2;return e.home||!1===l?[]:"auto"===l?J(c):(0,D.kJ)(l)?W(l,c):(0,D.PO)(l)?K(l,c):[]},V=(e,t)=>t>0?e.map((e=>((e,t)=>({text:e.title,link:`#${e.slug}`,children:V(e.children,t)}))(e,t-1))):[],J=e=>{const t=(0,U.Vi)();return[{text:t.value.title,children:V(t.value.headers,e)}]},W=(e,t)=>{const n=(0,N.yj)(),r=(0,U.Vi)(),o=e=>{var i;let l;if(l=(0,D.HD)(e)?R(e):e,l.children)return{...l,children:l.children.map((e=>o(e)))};if(l.link===n.path){const e=1===(null===(i=r.value.headers[0])||void 0===i?void 0:i.level)?r.value.headers[0].children:r.value.headers;return{...l,children:V(e,t)}}return l};return e.map((e=>o(e)))},K=(e,t)=>{var n;const r=(0,N.yj)(),o=null!==(n=e[(0,D.gb)(e,r.path)])&&void 0!==n?n:[];return W(o,t)};var G=n(3197);const Y=()=>(0,G.X6)()},4865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),s=a.querySelector(r.barSelector),u=r.speed,f=r.easing;return a.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),c(s,function(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}(e,u,f)),1===e?(c(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){c(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,l=t.querySelector(r.barSelector),a=e?"-100":i(n.status||0),u=document.querySelector(r.parent);return c(l,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&s(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),c=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()})),t[n]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}(n))}function r(e,t,r){t=n(t),e.style[t]=r}return function(e,t){var n,o,i=arguments;if(2==i.length)for(n in t)void 0!==(o=t[n])&&t.hasOwnProperty(n)&&r(e,n,o);else r(e,i[1],i[2])}}();function a(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function s(e,t){var n=f(e),r=n+t;a(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=f(e);a(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o=r.call(t,n,t,e))||(e.exports=o)},2938:(e,t,n)=>{"use strict";function r(e,t,n){var r,o,i;void 0===t&&(t=50),void 0===n&&(n={});var l=null!=(r=n.isImmediate)&&r,c=null!=(o=n.callback)&&o,a=n.maxWait,s=Date.now(),u=[];function f(){if(void 0!==a){var e=Date.now()-s;if(e+t>=a)return a-e}return t}var p=function(){var t=[].slice.call(arguments),n=this;return new Promise((function(r,o){var a=l&&void 0===i;if(void 0!==i&&clearTimeout(i),i=setTimeout((function(){if(i=void 0,s=Date.now(),!l){var r=e.apply(n,t);c&&c(r),u.forEach((function(e){return(0,e.resolve)(r)})),u=[]}}),f()),a){var p=e.apply(n,t);return c&&c(p),r(p)}u.push({resolve:r,reject:o})}))};return p.cancel=function(e){void 0!==i&&clearTimeout(i),u.forEach((function(t){return(0,t.reject)(e)})),u=[]},p}n.d(t,{D:()=>r})},2201:(e,t,n)=>{"use strict";n.d(t,{AJ:()=>x,MA:()=>xe,PO:()=>C,p7:()=>Ae,tv:()=>Ne,yj:()=>Te});var r=n(6252),o=n(2262);const i="undefined"!=typeof window;const l=Object.assign;function c(e,t){const n={};for(const r in t){const o=t[r];n[r]=s(o)?o.map(e):e(o)}return n}const a=()=>{},s=Array.isArray,u=/\/$/,f=e=>e.replace(u,"");function p(e,t,n="/"){let r,o={},i="",l="";const c=t.indexOf("#");let a=t.indexOf("?");return c<a&&c>=0&&(a=-1),a>-1&&(r=t.slice(0,a),i=t.slice(a+1,c>-1?c:t.length),o=e(i)),c>-1&&(r=r||t.slice(0,c),l=t.slice(c,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o,i,l=n.length-1;for(o=0;o<r.length;o++)if(i=r[o],"."!==i){if(".."!==i)break;l>1&&l--}return n.slice(0,l).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+l,path:r,query:o,hash:l}}function d(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function h(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function m(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!v(e[n],t[n]))return!1;return!0}function v(e,t){return s(e)?y(e,t):s(t)?y(t,e):e===t}function y(e,t){return s(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var _,g;!function(e){e.pop="pop",e.push="push"}(_||(_={})),function(e){e.back="back",e.forward="forward",e.unknown=""}(g||(g={}));const b=/^[^#]+#/;function O(e,t){return e.replace(b,"#")+t}const w=()=>({left:window.pageXOffset,top:window.pageYOffset});function S(e,t){return(history.state?history.state.position-t:-1)+e}const E=new Map;let j=()=>location.protocol+"//"+location.host;function P(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),d(n,"")}return d(n,e)+r+o}function k(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?w():null}}function C(e){const t=function(e){const{history:t,location:n}=window,r={value:P(e,n)},o={value:t.state};function i(r,i,l){const c=e.indexOf("#"),a=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+r:j()+e+r;try{t[l?"replaceState":"pushState"](i,"",a),o.value=i}catch(e){console.error(e),n[l?"replace":"assign"](a)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const c=l({},o.value,t.state,{forward:e,scroll:w()});i(c.current,c,!0),i(e,l({},k(r.value,e,null),{position:c.position+1},n),!1),r.value=e},replace:function(e,n){i(e,l({},t.state,k(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=function(e){if(!e)if(i){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),f(e)}(e)),n=function(e,t,n,r){let o=[],i=[],c=null;const a=({state:i})=>{const l=P(e,location),a=n.value,s=t.value;let u=0;if(i){if(n.value=l,t.value=i,c&&c===a)return void(c=null);u=s?i.position-s.position:0}else r(l);o.forEach((e=>{e(n.value,a,{delta:u,type:_.pop,direction:u?u>0?g.forward:g.back:g.unknown})}))};function s(){const{history:e}=window;e.state&&e.replaceState(l({},e.state,{scroll:w()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",s),{pauseListeners:function(){c=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",s)}}}(e,t.state,t.location,t.replace),r=l({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:O.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function I(e){return"string"==typeof e||"symbol"==typeof e}const x={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},A=Symbol("");var D;function N(e,t){return l(new Error,{type:e,[A]:!0},t)}function T(e,t){return e instanceof Error&&A in e&&(null==t||!!(e.type&t))}!function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"}(D||(D={}));const R="[^/]+?",L={sensitive:!1,strict:!1,start:!0,end:!0},M=/[.+*?^${}()[\]/\\]/g;function F(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function H(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=F(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(U(r))return 1;if(U(o))return-1}return o.length-r.length}function U(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const z={type:0,value:""},q=/[a-zA-Z0-9_]/;function $(e,t,n){const r=function(e,t){const n=l({},L,t),r=[];let o=n.start?"^":"";const i=[];for(const t of e){const e=t.length?[]:[90];n.strict&&!t.length&&(o+="/");for(let r=0;r<t.length;r++){const l=t[r];let c=40+(n.sensitive?.25:0);if(0===l.type)r||(o+="/"),o+=l.value.replace(M,"\\$&"),c+=40;else if(1===l.type){const{value:e,repeatable:n,optional:a,regexp:s}=l;i.push({name:e,repeatable:n,optional:a});const u=s||R;if(u!==R){c+=10;try{new RegExp(`(${u})`)}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let f=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(f=a&&t.length<2?`(?:/${f})`:"/"+f),a&&(f+="?"),o+=f,c+=20,a&&(c+=-8),n&&(c+=-20),".*"===u&&(c+=-50)}e.push(c)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const c=new RegExp(o,n.sensitive?"":"i");return{re:c,score:r,keys:i,parse:function(e){const t=e.match(c),n={};if(!t)return null;for(let e=1;e<t.length;e++){const r=t[e]||"",o=i[e-1];n[o.name]=r&&o.repeatable?r.split("/"):r}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:l,optional:c}=e,a=i in t?t[i]:"";if(s(a)&&!l)throw new Error(`Provided param "${i}" is an array but it is not repeatable (* or + modifiers)`);const u=s(a)?a.join("/"):a;if(!u){if(!c)throw new Error(`Missing required param "${i}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[z]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${s}": ${e}`)}let n=0,r=n;const o=[];let i;function l(){i&&o.push(i),i=[]}let c,a=0,s="",u="";function f(){s&&(0===n?i.push({type:0,value:s}):1===n||2===n||3===n?(i.length>1&&("*"===c||"+"===c)&&t(`A repeatable param (${s}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:s,regexp:u,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),s="")}function p(){s+=c}for(;a<e.length;)if(c=e[a++],"\\"!==c||2===n)switch(n){case 0:"/"===c?(s&&f(),l()):":"===c?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:"("===c?n=2:q.test(c)?p():(f(),n=0,"*"!==c&&"?"!==c&&"+"!==c&&a--);break;case 2:")"===c?"\\"==u[u.length-1]?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:f(),n=0,"*"!==c&&"?"!==c&&"+"!==c&&a--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${s}"`),f(),l(),o}(e.path),n),o=l(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function B(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function V(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function J(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function W(e){return e.reduce(((e,t)=>l(e,t.meta)),{})}function K(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function G(e,t){return t.children.some((t=>t===e||G(e,t)))}const Y=/#/g,Z=/&/g,X=/\//g,Q=/=/g,ee=/\?/g,te=/\+/g,ne=/%5B/g,re=/%5D/g,oe=/%5E/g,ie=/%60/g,le=/%7B/g,ce=/%7C/g,ae=/%7D/g,se=/%20/g;function ue(e){return encodeURI(""+e).replace(ce,"|").replace(ne,"[").replace(re,"]")}function fe(e){return ue(e).replace(te,"%2B").replace(se,"+").replace(Y,"%23").replace(Z,"%26").replace(ie,"`").replace(le,"{").replace(ae,"}").replace(oe,"^")}function pe(e){return null==e?"":function(e){return ue(e).replace(Y,"%23").replace(ee,"%3F")}(e).replace(X,"%2F")}function de(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function he(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;e<n.length;++e){const r=n[e].replace(te," "),o=r.indexOf("="),i=de(o<0?r:r.slice(0,o)),l=o<0?null:de(r.slice(o+1));if(i in t){let e=t[i];s(e)||(e=t[i]=[e]),e.push(l)}else t[i]=l}return t}function me(e){let t="";for(let n in e){const r=e[n];(n=fe(n).replace(Q,"%3D"),null!=r)?(s(r)?r.map((e=>e&&fe(e))):[r&&fe(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})):void 0!==r&&(t+=(t.length?"&":"")+n)}return t}function ve(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=s(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const ye=Symbol(""),_e=Symbol(""),ge=Symbol(""),be=Symbol(""),Oe=Symbol("");function we(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Se(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((l,c)=>{const a=e=>{var a;!1===e?c(N(4,{from:n,to:t})):e instanceof Error?c(e):"string"==typeof(a=e)||a&&"object"==typeof a?c(N(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),l())},s=e.call(r&&r.instances[o],t,n,a);let u=Promise.resolve(s);e.length<3&&(u=u.then(a)),u.catch((e=>c(e)))}))}function Ee(e,t,n,r){const o=[];for(const l of e)for(const e in l.components){let c=l.components[e];if("beforeRouteEnter"===t||l.instances[e])if("object"==typeof(i=c)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(c.__vccOpts||c)[t];i&&o.push(Se(i,n,r,l,e))}else{let i=c();o.push((()=>i.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${l.path}"`));const i=(c=o).__esModule||"Module"===c[Symbol.toStringTag]?o.default:o;var c;l.components[e]=i;const a=(i.__vccOpts||i)[t];return a&&Se(a,n,r,l,e)()}))))}}var i;return o}function je(e){const t=(0,r.f3)(ge),n=(0,r.f3)(be),i=(0,r.Fl)((()=>t.resolve((0,o.SU)(e.to)))),l=(0,r.Fl)((()=>{const{matched:e}=i.value,{length:t}=e,r=e[t-1],o=n.matched;if(!r||!o.length)return-1;const l=o.findIndex(h.bind(null,r));if(l>-1)return l;const c=ke(e[t-2]);return t>1&&ke(r)===c&&o[o.length-1].path!==c?o.findIndex(h.bind(null,e[t-2])):l})),c=(0,r.Fl)((()=>l.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!s(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,i.value.params))),u=(0,r.Fl)((()=>l.value>-1&&l.value===n.matched.length-1&&m(n.params,i.value.params)));return{route:i,href:(0,r.Fl)((()=>i.value.href)),isActive:c,isExactActive:u,navigate:function(n={}){return function(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}(n)?t[(0,o.SU)(e.replace)?"replace":"push"]((0,o.SU)(e.to)).catch(a):Promise.resolve()}}}const Pe=(0,r.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:je,setup(e,{slots:t}){const n=(0,o.qj)(je(e)),{options:i}=(0,r.f3)(ge),l=(0,r.Fl)((()=>({[Ce(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Ce(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},o)}}});function ke(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ce=(e,t,n)=>null!=e?e:null!=t?t:n;function Ie(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const xe=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=(0,r.f3)(Oe),c=(0,r.Fl)((()=>e.route||i.value)),a=(0,r.f3)(_e,0),s=(0,r.Fl)((()=>{let e=(0,o.SU)(a);const{matched:t}=c.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),u=(0,r.Fl)((()=>c.value.matched[s.value]));(0,r.JJ)(_e,(0,r.Fl)((()=>s.value+1))),(0,r.JJ)(ye,u),(0,r.JJ)(Oe,c);const f=(0,o.iH)();return(0,r.YP)((()=>[f.value,u.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&h(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=c.value,i=e.name,a=u.value,s=a&&a.components[i];if(!s)return Ie(n.default,{Component:s,route:o});const p=a.props[i],d=p?!0===p?o.params:"function"==typeof p?p(o):p:null,h=(0,r.h)(s,l({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[i]=null)},ref:f}));return Ie(n.default,{Component:h,route:o})||h}}});function Ae(e){const t=function(e,t){const n=[],r=new Map;function o(e,n,r){const s=!r,u=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:V(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);u.aliasOf=r&&r.record;const f=K(t,e),p=[u];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)p.push(l({},u,{components:r?r.record.components:u.components,path:e,aliasOf:r?r.record:u}))}let d,h;for(const t of p){const{path:l}=t;if(n&&"/"!==l[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(l&&r+l)}if(d=$(t,n,f),r?r.alias.push(d):(h=h||d,h!==d&&h.alias.push(d),s&&e.name&&!J(d)&&i(e.name)),u.children){const e=u.children;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&c(d)}return h?()=>{i(h)}:a}function i(e){if(I(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function c(e){let t=0;for(;t<n.length&&H(e,n[t])>=0&&(e.record.path!==n[t].record.path||!G(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!J(e)&&r.set(e.record.name,e)}return t=K({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,c,a={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw N(1,{location:e});c=o.record.name,a=l(B(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&B(e.params,o.keys.map((e=>e.name)))),i=o.stringify(a)}else if("path"in e)i=e.path,o=n.find((e=>e.re.test(i))),o&&(a=o.parse(i),c=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw N(1,{location:e,currentLocation:t});c=o.record.name,a=l({},t.params,e.params),i=o.stringify(a)}const s=[];let u=o;for(;u;)s.unshift(u.record),u=u.parent;return{name:c,path:i,params:a,matched:s,meta:W(s)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}(e.routes,e),n=e.parseQuery||he,u=e.stringifyQuery||me,f=e.history,d=we(),v=we(),y=we(),g=(0,o.XI)(x);let b=x;i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const O=c.bind(null,(e=>""+e)),j=c.bind(null,pe),P=c.bind(null,de);function k(e,r){if(r=l({},r||g.value),"string"==typeof e){const o=p(n,e,r.path),i=t.resolve({path:o.path},r),c=f.createHref(o.fullPath);return l(o,i,{params:P(i.params),hash:de(o.hash),redirectedFrom:void 0,href:c})}let o;if("path"in e)o=l({},e,{path:p(n,e.path,r.path).path});else{const t=l({},e.params);for(const e in t)null==t[e]&&delete t[e];o=l({},e,{params:j(e.params)}),r.params=j(r.params)}const i=t.resolve(o,r),c=e.hash||"";i.params=O(P(i.params));const a=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(u,l({},e,{hash:(s=c,ue(s).replace(le,"{").replace(ae,"}").replace(oe,"^")),path:i.path}));var s;const d=f.createHref(a);return l({fullPath:a,hash:c,query:u===me?ve(e.query):e.query||{}},i,{redirectedFrom:void 0,href:d})}function C(e){return"string"==typeof e?p(n,e,g.value.path):l({},e)}function A(e,t){if(b!==e)return N(8,{from:t,to:e})}function D(e){return L(e)}function R(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=C(r):{path:r},r.params={}),l({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function L(e,t){const n=b=k(e),r=g.value,o=e.state,i=e.force,c=!0===e.replace,a=R(n);if(a)return L(l(C(a),{state:"object"==typeof a?l({},o,a.state):o,force:i,replace:c}),t||n);const s=n;let f;return s.redirectedFrom=t,!i&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&h(t.matched[r],n.matched[o])&&m(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(u,r,n)&&(f=N(16,{to:s,from:r}),te(r,r,!0,!1)),(f?Promise.resolve(f):F(s,r)).catch((e=>T(e)?T(e,2)?e:ee(e):Q(e,s,r))).then((e=>{if(e){if(T(e,2))return L(l({replace:c},C(e.to),{state:"object"==typeof e.to?l({},o,e.to.state):o,force:i}),t||s)}else e=z(s,r,!0,c,o);return U(s,r,e),e}))}function M(e,t){const n=A(e,t);return n?Promise.reject(n):Promise.resolve()}function F(e,t){let n;const[r,o,i]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;l<i;l++){const i=t.matched[l];i&&(e.matched.find((e=>h(e,i)))?r.push(i):n.push(i));const c=e.matched[l];c&&(t.matched.find((e=>h(e,c)))||o.push(c))}return[n,r,o]}(e,t);n=Ee(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(Se(r,e,t))}));const l=M.bind(null,e,t);return n.push(l),De(n).then((()=>{n=[];for(const r of d.list())n.push(Se(r,e,t));return n.push(l),De(n)})).then((()=>{n=Ee(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(Se(r,e,t))}));return n.push(l),De(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(s(r.beforeEnter))for(const o of r.beforeEnter)n.push(Se(o,e,t));else n.push(Se(r.beforeEnter,e,t));return n.push(l),De(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ee(i,"beforeRouteEnter",e,t),n.push(l),De(n)))).then((()=>{n=[];for(const r of v.list())n.push(Se(r,e,t));return n.push(l),De(n)})).catch((e=>T(e,8)?e:Promise.reject(e)))}function U(e,t,n){for(const r of y.list())r(e,t,n)}function z(e,t,n,r,o){const c=A(e,t);if(c)return c;const a=t===x,s=i?history.state:{};n&&(r||a?f.replace(e.fullPath,l({scroll:a&&s&&s.scroll},o)):f.push(e.fullPath,o)),g.value=e,te(e,t,n,a),ee()}let q;let Y,Z=we(),X=we();function Q(e,t,n){ee(e);const r=X.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function ee(e){return Y||(Y=!e,q||(q=f.listen(((e,t,n)=>{if(!ce.listening)return;const r=k(e),o=R(r);if(o)return void L(l(o,{replace:!0}),r).catch(a);b=r;const c=g.value;var s,u;i&&(s=S(c.fullPath,n.delta),u=w(),E.set(s,u)),F(r,c).catch((e=>T(e,12)?e:T(e,2)?(L(e.to,r).then((e=>{T(e,20)&&!n.delta&&n.type===_.pop&&f.go(-1,!1)})).catch(a),Promise.reject()):(n.delta&&f.go(-n.delta,!1),Q(e,r,c)))).then((e=>{(e=e||z(r,c,!1))&&(n.delta&&!T(e,8)?f.go(-n.delta,!1):n.type===_.pop&&T(e,20)&&f.go(-1,!1)),U(r,c,e)})).catch(a)}))),Z.list().forEach((([t,n])=>e?n(e):t())),Z.reset()),e}function te(t,n,o,l){const{scrollBehavior:c}=e;if(!i||!c)return Promise.resolve();const a=!o&&function(e){const t=E.get(e);return E.delete(e),t}(S(t.fullPath,0))||(l||!o)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>c(t,n,a))).then((e=>e&&function(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}(e))).catch((e=>Q(e,t,n)))}const ne=e=>f.go(e);let re;const ie=new Set,ce={currentRoute:g,listening:!0,addRoute:function(e,n){let r,o;return I(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:k,options:e,push:D,replace:function(e){return D(l(C(e),{replace:!0}))},go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:d.add,beforeResolve:v.add,afterEach:y.add,onError:X.add,isReady:function(){return Y&&g.value!==x?Promise.resolve():new Promise(((e,t)=>{Z.add([e,t])}))},install(e){e.component("RouterLink",Pe),e.component("RouterView",xe),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(g)}),i&&!re&&g.value===x&&(re=!0,D(f.location).catch((e=>{})));const t={};for(const e in x)t[e]=(0,r.Fl)((()=>g.value[e]));e.provide(ge,this),e.provide(be,(0,o.qj)(t)),e.provide(Oe,g);const n=e.unmount;ie.add(e),e.unmount=function(){ie.delete(e),ie.size<1&&(b=x,q&&q(),q=null,g.value=x,re=!1,Y=!1),n()}}};return ce}function De(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Ne(){return(0,r.f3)(ge)}function Te(){return(0,r.f3)(be)}}}]); |