>>1;zp(Xs[oe])Of&&Xs.splice(N,1)}function nS(P){Va(P)?gv.push(...P):(!Mc||!Mc.includes(P,P.allowRecurse?md+1:md))&&gv.push(P),Xw()}function z2(P,N=Op?Of+1:0){for(;Nzp(J)-zp(oe)),md=0;mdP.id==null?1/0:P.id,aS=(P,N)=>{const J=zp(P)-zp(N);if(J===0){if(P.pre&&!N.pre)return-1;if(N.pre&&!P.pre)return 1}return J};function $w(P){Mm=!1,Op=!0,Xs.sort(aS);const N=Ks;try{for(Of=0;Ofci(w)?w.trim():w)),a&&(be=J.map(xm))}let B,e=oe[B=rg(N)]||oe[B=rg(Hf(N))];!e&&_e&&(e=oe[B=rg(_d(N))]),e&&wu(e,P,6,be);const v=oe[B+"Once"];if(v){if(!P.emitted)P.emitted={};else if(P.emitted[B])return;P.emitted[B]=!0,wu(v,P,6,be)}}function Jw(P,N,J=!1){const oe=N.emitsCache,be=oe.get(P);if(be!==void 0)return be;const _e=P.emits;let U={},B=!1;if(!Qa(P)){const e=v=>{const E=Jw(v,N,!0);E&&(B=!0,jo(U,E))};!J&&N.mixins.length&&N.mixins.forEach(e),P.extends&&e(P.extends),P.mixins&&P.mixins.forEach(e)}return!_e&&!B?(Ei(P)&&oe.set(P,null),null):(Va(_e)?_e.forEach(e=>U[e]=null):jo(U,_e),Ei(P)&&oe.set(P,U),U)}function Hg(P,N){return!P||!Fg(N)?!1:(N=N.slice(2).replace(/Once$/,""),zi(P,N[0].toLowerCase()+N.slice(1))||zi(P,_d(N))||zi(P,N))}let Is=null,Qw=null;function mg(P){const N=Is;return Is=P,Qw=P&&P.type.__scopeId||null,N}function Ea(P,N=Is,J){if(!N||P._n)return P;const oe=(...be)=>{oe._d&&$2(-1);const _e=mg(N);let U;try{U=P(...be)}finally{mg(_e),oe._d&&$2(1)}return U};return oe._n=!0,oe._c=!0,oe._d=!0,oe}function Gy(P){const{type:N,vnode:J,proxy:oe,withProxy:be,props:_e,propsOptions:[U],slots:B,attrs:e,emit:v,render:E,renderCache:a,data:C,setupState:w,ctx:d,inheritAttrs:p}=P;let t,r;const c=mg(P);try{if(J.shapeFlag&4){const n=be||oe;t=Df(E.call(n,n,a,_e,w,C,d)),r=e}else{const n=N;t=Df(n.length>1?n(_e,{attrs:e,slots:B,emit:v}):n(_e,null)),r=N.props?e:oS(e)}}catch(n){Ep.length=0,Ug(n,P,1),t=Ia(ql)}let o=t;if(r&&p!==!1){const n=Object.keys(r),{shapeFlag:u}=o;n.length&&u&7&&(U&&n.some(s1)&&(r=sS(r,U)),o=Rc(o,r))}return J.dirs&&(o=Rc(o),o.dirs=o.dirs?o.dirs.concat(J.dirs):J.dirs),J.transition&&(o.transition=J.transition),t=o,mg(c),t}const oS=P=>{let N;for(const J in P)(J==="class"||J==="style"||Fg(J))&&((N||(N={}))[J]=P[J]);return N},sS=(P,N)=>{const J={};for(const oe in P)(!s1(oe)||!(oe.slice(9)in N))&&(J[oe]=P[oe]);return J};function lS(P,N,J){const{props:oe,children:be,component:_e}=P,{props:U,children:B,patchFlag:e}=N,v=_e.emitsOptions;if(N.dirs||N.transition)return!0;if(J&&e>=0){if(e&1024)return!0;if(e&16)return oe?B2(oe,U,v):!!U;if(e&8){const E=N.dynamicProps;for(let a=0;aP.__isSuspense;function cS(P,N){N&&N.pendingBranch?Va(P)?N.effects.push(...P):N.effects.push(P):nS(P)}function qw(P,N){return b1(P,null,N)}const H0={};function ja(P,N,J){return b1(P,N,J)}function b1(P,N,{immediate:J,deep:oe,flush:be,onTrack:_e,onTrigger:U}=yo){var B;const e=_w()===((B=ps)==null?void 0:B.scope)?ps:null;let v,E=!1,a=!1;if(mo(P)?(v=()=>P.value,E=yg(P)):pv(P)?(v=()=>P,oe=!0):Va(P)?(a=!0,E=P.some(n=>pv(n)||yg(n)),v=()=>P.map(n=>{if(mo(n))return n.value;if(pv(n))return wd(n);if(Qa(n))return Ph(n,e,2)})):Qa(P)?N?v=()=>Ph(P,e,2):v=()=>{if(!(e&&e.isUnmounted))return C&&C(),wu(P,e,3,[w])}:v=Ks,N&&oe){const n=v;v=()=>wd(n())}let C,w=n=>{C=c.onStop=()=>{Ph(n,e,4)}},d;if(Hp)if(w=Ks,N?J&&wu(N,e,3,[v(),a?[]:void 0,w]):v(),be==="sync"){const n=iE();d=n.__watcherHandles||(n.__watcherHandles=[])}else return Ks;let p=a?new Array(P.length).fill(H0):H0;const t=()=>{if(c.active)if(N){const n=c.run();(oe||E||(a?n.some((u,i)=>kp(u,p[i])):kp(n,p)))&&(C&&C(),wu(N,e,3,[n,p===H0?void 0:a&&p[0]===H0?[]:p,w]),p=n)}else c.run()};t.allowRecurse=!!N;let r;be==="sync"?r=t:be==="post"?r=()=>El(t,e&&e.suspense):(t.pre=!0,e&&(t.id=e.uid),r=()=>x1(t));const c=new c1(v,r);N?J?t():p=c.run():be==="post"?El(c.run.bind(c),e&&e.suspense):c.run();const o=()=>{c.stop(),e&&e.scope&&l1(e.scope.effects,c)};return d&&d.push(o),o}function hS(P,N,J){const oe=this.proxy,be=ci(P)?P.includes(".")?eT(oe,P):()=>oe[P]:P.bind(oe,oe);let _e;Qa(N)?_e=N:(_e=N.handler,J=N);const U=ps;xv(this);const B=b1(be,_e.bind(oe),J);return U?xv(U):Sd(),B}function eT(P,N){const J=N.split(".");return()=>{let oe=P;for(let be=0;be{wd(J,N)});else if(Sw(P))for(const J in P)wd(P[J],N);return P}function ys(P,N){const J=Is;if(J===null)return P;const oe=Yg(J)||J.proxy,be=P.dirs||(P.dirs=[]);for(let _e=0;_e{P.isMounted=!0}),$s(()=>{P.isUnmounting=!0}),P}const xu=[Function,Array],rT={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xu,onEnter:xu,onAfterEnter:xu,onEnterCancelled:xu,onBeforeLeave:xu,onLeave:xu,onAfterLeave:xu,onLeaveCancelled:xu,onBeforeAppear:xu,onAppear:xu,onAfterAppear:xu,onAppearCancelled:xu},dS={name:"BaseTransition",props:rT,setup(P,{slots:N}){const J=bs(),oe=tT();let be;return()=>{const _e=N.default&&w1(N.default(),!0);if(!_e||!_e.length)return;let U=_e[0];if(_e.length>1){for(const p of _e)if(p.type!==ql){U=p;break}}const B=Mi(P),{mode:e}=B;if(oe.isLeaving)return Wy(U);const v=N2(U);if(!v)return Wy(U);const E=Bp(v,B,oe,J);Np(v,E);const a=J.subTree,C=a&&N2(a);let w=!1;const{getTransitionKey:d}=v.type;if(d){const p=d();be===void 0?be=p:p!==be&&(be=p,w=!0)}if(C&&C.type!==ql&&(!xd(v,C)||w)){const p=Bp(C,B,oe,J);if(Np(C,p),e==="out-in")return oe.isLeaving=!0,p.afterLeave=()=>{oe.isLeaving=!1,J.update.active!==!1&&J.update()},Wy(U);e==="in-out"&&v.type!==ql&&(p.delayLeave=(t,r,c)=>{const o=nT(oe,C);o[String(C.key)]=C,t._leaveCb=()=>{r(),t._leaveCb=void 0,delete E.delayedLeave},E.delayedLeave=c})}return U}}},vS=dS;function nT(P,N){const{leavingVNodes:J}=P;let oe=J.get(N.type);return oe||(oe=Object.create(null),J.set(N.type,oe)),oe}function Bp(P,N,J,oe){const{appear:be,mode:_e,persisted:U=!1,onBeforeEnter:B,onEnter:e,onAfterEnter:v,onEnterCancelled:E,onBeforeLeave:a,onLeave:C,onAfterLeave:w,onLeaveCancelled:d,onBeforeAppear:p,onAppear:t,onAfterAppear:r,onAppearCancelled:c}=N,o=String(P.key),n=nT(J,P),u=(h,x)=>{h&&wu(h,oe,9,x)},i=(h,x)=>{const f=x[1];u(h,x),Va(h)?h.every(l=>l.length<=1)&&f():h.length<=1&&f()},g={mode:_e,persisted:U,beforeEnter(h){let x=B;if(!J.isMounted)if(be)x=p||B;else return;h._leaveCb&&h._leaveCb(!0);const f=n[o];f&&xd(P,f)&&f.el._leaveCb&&f.el._leaveCb(),u(x,[h])},enter(h){let x=e,f=v,l=E;if(!J.isMounted)if(be)x=t||e,f=r||v,l=c||E;else return;let y=!1;const T=h._enterCb=S=>{y||(y=!0,S?u(l,[h]):u(f,[h]),g.delayedLeave&&g.delayedLeave(),h._enterCb=void 0)};x?i(x,[h,T]):T()},leave(h,x){const f=String(P.key);if(h._enterCb&&h._enterCb(!0),J.isUnmounting)return x();u(a,[h]);let l=!1;const y=h._leaveCb=T=>{l||(l=!0,x(),T?u(d,[h]):u(w,[h]),h._leaveCb=void 0,n[f]===P&&delete n[f])};n[f]=P,C?i(C,[h,y]):y()},clone(h){return Bp(h,N,J,oe)}};return g}function Wy(P){if(Vg(P))return P=Rc(P),P.children=null,P}function N2(P){return Vg(P)?P.children?P.children[0]:void 0:P}function Np(P,N){P.shapeFlag&6&&P.component?Np(P.component.subTree,N):P.shapeFlag&128?(P.ssContent.transition=N.clone(P.ssContent),P.ssFallback.transition=N.clone(P.ssFallback)):P.transition=N}function w1(P,N=!1,J){let oe=[],be=0;for(let _e=0;_e1)for(let _e=0;_ejo({name:P.name},N,{setup:P}))():P}const Tp=P=>!!P.type.__asyncLoader,Vg=P=>P.type.__isKeepAlive;function pS(P,N){iT(P,"a",N)}function aT(P,N){iT(P,"da",N)}function iT(P,N,J=ps){const oe=P.__wdc||(P.__wdc=()=>{let be=J;for(;be;){if(be.isDeactivated)return;be=be.parent}return P()});if(Gg(N,oe,J),J){let be=J.parent;for(;be&&be.parent;)Vg(be.parent.vnode)&&gS(oe,N,J,be),be=be.parent}}function gS(P,N,J,oe){const be=Gg(N,P,oe,!0);T1(()=>{l1(oe[N],be)},J)}function Gg(P,N,J=ps,oe=!1){if(J){const be=J[P]||(J[P]=[]),_e=N.__weh||(N.__weh=(...U)=>{if(J.isUnmounted)return;Fv(),xv(J);const B=wu(N,J,P,U);return Sd(),Ov(),B});return oe?be.unshift(_e):be.push(_e),_e}}const kc=P=>(N,J=ps)=>(!Hp||P==="sp")&&Gg(P,(...oe)=>N(...oe),J),oT=kc("bm"),xo=kc("m"),yS=kc("bu"),Wg=kc("u"),$s=kc("bum"),T1=kc("um"),mS=kc("sp"),xS=kc("rtg"),bS=kc("rtc");function wS(P,N=ps){Gg("ec",P,N)}const A1="components",TS="directives";function qu(P,N){return M1(A1,P,!0,N)||P}const sT=Symbol.for("v-ndc");function Kl(P){return ci(P)?M1(A1,P,!1)||P:P||sT}function AS(P){return M1(TS,P)}function M1(P,N,J=!0,oe=!1){const be=Is||ps;if(be){const _e=be.type;if(P===A1){const B=rE(_e,!1);if(B&&(B===N||B===Hf(N)||B===Bg(Hf(N))))return _e}const U=U2(be[P]||_e[P],N)||U2(be.appContext[P],N);return!U&&oe?_e:U}}function U2(P,N){return P&&(P[N]||P[Hf(N)]||P[Bg(Hf(N))])}function Ap(P,N,J,oe){let be;const _e=J&&J[oe];if(Va(P)||ci(P)){be=new Array(P.length);for(let U=0,B=P.length;UN(U,B,void 0,_e&&_e[B]));else{const U=Object.keys(P);be=new Array(U.length);for(let B=0,e=U.length;B{const _e=oe.fn(...be);return _e&&(_e.key=oe.key),_e}:oe.fn)}return P}function ti(P,N,J={},oe,be){if(Is.isCE||Is.parent&&Tp(Is.parent)&&Is.parent.isCE)return N!=="default"&&(J.name=N),Ia("slot",J,oe&&oe());let _e=P[N];_e&&_e._c&&(_e._d=!1),Wn();const U=_e&&lT(_e(J)),B=ri(qi,{key:J.key||U&&U.key||`_${N}`},U||(oe?oe():[]),U&&P._===1?64:-2);return!be&&B.scopeId&&(B.slotScopeIds=[B.scopeId+"-s"]),_e&&_e._c&&(_e._d=!0),B}function lT(P){return P.some(N=>Ih(N)?!(N.type===ql||N.type===qi&&!lT(N.children)):!0)?P:null}function SS(P,N){const J={};for(const oe in P)J[N&&/[A-Z]/.test(oe)?`on:${oe}`:rg(oe)]=P[oe];return J}const Sm=P=>P?bT(P)?Yg(P)||P.proxy:Sm(P.parent):null,Mp=jo(Object.create(null),{$:P=>P,$el:P=>P.vnode.el,$data:P=>P.data,$props:P=>P.props,$attrs:P=>P.attrs,$slots:P=>P.slots,$refs:P=>P.refs,$parent:P=>Sm(P.parent),$root:P=>Sm(P.root),$emit:P=>P.emit,$options:P=>S1(P),$forceUpdate:P=>P.f||(P.f=()=>x1(P.update)),$nextTick:P=>P.n||(P.n=Ii.bind(P.proxy)),$watch:P=>hS.bind(P)}),jy=(P,N)=>P!==yo&&!P.__isScriptSetup&&zi(P,N),ES={get({_:P},N){const{ctx:J,setupState:oe,data:be,props:_e,accessCache:U,type:B,appContext:e}=P;let v;if(N[0]!=="$"){const w=U[N];if(w!==void 0)switch(w){case 1:return oe[N];case 2:return be[N];case 4:return J[N];case 3:return _e[N]}else{if(jy(oe,N))return U[N]=1,oe[N];if(be!==yo&&zi(be,N))return U[N]=2,be[N];if((v=P.propsOptions[0])&&zi(v,N))return U[N]=3,_e[N];if(J!==yo&&zi(J,N))return U[N]=4,J[N];Em&&(U[N]=0)}}const E=Mp[N];let a,C;if(E)return N==="$attrs"&&Pl(P,"get",N),E(P);if((a=B.__cssModules)&&(a=a[N]))return a;if(J!==yo&&zi(J,N))return U[N]=4,J[N];if(C=e.config.globalProperties,zi(C,N))return C[N]},set({_:P},N,J){const{data:oe,setupState:be,ctx:_e}=P;return jy(be,N)?(be[N]=J,!0):oe!==yo&&zi(oe,N)?(oe[N]=J,!0):zi(P.props,N)||N[0]==="$"&&N.slice(1)in P?!1:(_e[N]=J,!0)},has({_:{data:P,setupState:N,accessCache:J,ctx:oe,appContext:be,propsOptions:_e}},U){let B;return!!J[U]||P!==yo&&zi(P,U)||jy(N,U)||(B=_e[0])&&zi(B,U)||zi(oe,U)||zi(Mp,U)||zi(be.config.globalProperties,U)},defineProperty(P,N,J){return J.get!=null?P._.accessCache[N]=0:zi(J,"value")&&this.set(P,N,J.value,null),Reflect.defineProperty(P,N,J)}};function qp(){return uT().slots}function CS(){return uT().attrs}function uT(){const P=bs();return P.setupContext||(P.setupContext=TT(P))}function H2(P){return Va(P)?P.reduce((N,J)=>(N[J]=null,N),{}):P}let Em=!0;function LS(P){const N=S1(P),J=P.proxy,oe=P.ctx;Em=!1,N.beforeCreate&&V2(N.beforeCreate,P,"bc");const{data:be,computed:_e,methods:U,watch:B,provide:e,inject:v,created:E,beforeMount:a,mounted:C,beforeUpdate:w,updated:d,activated:p,deactivated:t,beforeDestroy:r,beforeUnmount:c,destroyed:o,unmounted:n,render:u,renderTracked:i,renderTriggered:g,errorCaptured:h,serverPrefetch:x,expose:f,inheritAttrs:l,components:y,directives:T,filters:S}=N;if(v&&_S(v,oe,null),U)for(const M in U){const b=U[M];Qa(b)&&(oe[M]=b.bind(J))}if(be){const M=be.call(J,J);Ei(M)&&(P.data=xs(M))}if(Em=!0,_e)for(const M in _e){const b=_e[M],s=Qa(b)?b.bind(J,J):Qa(b.get)?b.get.bind(J,J):Ks,_=!Qa(b)&&Qa(b.set)?b.set.bind(J):Ks,A=sn({get:s,set:_});Object.defineProperty(oe,M,{enumerable:!0,configurable:!0,get:()=>A.value,set:D=>A.value=D})}if(B)for(const M in B)fT(B[M],oe,J,M);if(e){const M=Qa(e)?e.call(J):e;Reflect.ownKeys(M).forEach(b=>{Bo(b,M[b])})}E&&V2(E,P,"c");function m(M,b){Va(b)?b.forEach(s=>M(s.bind(J))):b&&M(b.bind(J))}if(m(oT,a),m(xo,C),m(yS,w),m(Wg,d),m(pS,p),m(aT,t),m(wS,h),m(bS,i),m(xS,g),m($s,c),m(T1,n),m(mS,x),Va(f))if(f.length){const M=P.exposed||(P.exposed={});f.forEach(b=>{Object.defineProperty(M,b,{get:()=>J[b],set:s=>J[b]=s})})}else P.exposed||(P.exposed={});u&&P.render===Ks&&(P.render=u),l!=null&&(P.inheritAttrs=l),y&&(P.components=y),T&&(P.directives=T)}function _S(P,N,J=Ks){Va(P)&&(P=Cm(P));for(const oe in P){const be=P[oe];let _e;Ei(be)?"default"in be?_e=si(be.from||oe,be.default,!0):_e=si(be.from||oe):_e=si(be),mo(_e)?Object.defineProperty(N,oe,{enumerable:!0,configurable:!0,get:()=>_e.value,set:U=>_e.value=U}):N[oe]=_e}}function V2(P,N,J){wu(Va(P)?P.map(oe=>oe.bind(N.proxy)):P.bind(N.proxy),N,J)}function fT(P,N,J,oe){const be=oe.includes(".")?eT(J,oe):()=>J[oe];if(ci(P)){const _e=N[P];Qa(_e)&&ja(be,_e)}else if(Qa(P))ja(be,P.bind(J));else if(Ei(P))if(Va(P))P.forEach(_e=>fT(_e,N,J,oe));else{const _e=Qa(P.handler)?P.handler.bind(J):N[P.handler];Qa(_e)&&ja(be,_e,P)}}function S1(P){const N=P.type,{mixins:J,extends:oe}=N,{mixins:be,optionsCache:_e,config:{optionMergeStrategies:U}}=P.appContext,B=_e.get(N);let e;return B?e=B:!be.length&&!J&&!oe?e=N:(e={},be.length&&be.forEach(v=>xg(e,v,U,!0)),xg(e,N,U)),Ei(N)&&_e.set(N,e),e}function xg(P,N,J,oe=!1){const{mixins:be,extends:_e}=N;_e&&xg(P,_e,J,!0),be&&be.forEach(U=>xg(P,U,J,!0));for(const U in N)if(!(oe&&U==="expose")){const B=PS[U]||J&&J[U];P[U]=B?B(P[U],N[U]):N[U]}return P}const PS={data:G2,props:W2,emits:W2,methods:bp,computed:bp,beforeCreate:fl,created:fl,beforeMount:fl,mounted:fl,beforeUpdate:fl,updated:fl,beforeDestroy:fl,beforeUnmount:fl,destroyed:fl,unmounted:fl,activated:fl,deactivated:fl,errorCaptured:fl,serverPrefetch:fl,components:bp,directives:bp,watch:IS,provide:G2,inject:RS};function G2(P,N){return N?P?function(){return jo(Qa(P)?P.call(this,this):P,Qa(N)?N.call(this,this):N)}:N:P}function RS(P,N){return bp(Cm(P),Cm(N))}function Cm(P){if(Va(P)){const N={};for(let J=0;J1)return J&&Qa(N)?N.call(oe&&oe.proxy):N}}function FS(P,N,J,oe=!1){const be={},_e={};pg(_e,jg,1),P.propsDefaults=Object.create(null),hT(P,N,be,_e);for(const U in P.propsOptions[0])U in be||(be[U]=void 0);J?P.props=oe?be:Uw(be):P.type.props?P.props=be:P.props=_e,P.attrs=_e}function OS(P,N,J,oe){const{props:be,attrs:_e,vnode:{patchFlag:U}}=P,B=Mi(be),[e]=P.propsOptions;let v=!1;if((oe||U>0)&&!(U&16)){if(U&8){const E=P.vnode.dynamicProps;for(let a=0;a{e=!0;const[C,w]=dT(a,N,!0);jo(U,C),w&&B.push(...w)};!J&&N.mixins.length&&N.mixins.forEach(E),P.extends&&E(P.extends),P.mixins&&P.mixins.forEach(E)}if(!_e&&!e)return Ei(P)&&oe.set(P,dv),dv;if(Va(_e))for(let E=0;E<_e.length;E++){const a=Hf(_e[E]);j2(a)&&(U[a]=yo)}else if(_e)for(const E in _e){const a=Hf(E);if(j2(a)){const C=_e[E],w=U[a]=Va(C)||Qa(C)?{type:C}:jo({},C);if(w){const d=X2(Boolean,w.type),p=X2(String,w.type);w[0]=d>-1,w[1]=p<0||d-1||zi(w,"default"))&&B.push(a)}}}const v=[U,B];return Ei(P)&&oe.set(P,v),v}function j2(P){return P[0]!=="$"}function Y2(P){const N=P&&P.toString().match(/^\s*(function|class) (\w+)/);return N?N[2]:P===null?"null":""}function Z2(P,N){return Y2(P)===Y2(N)}function X2(P,N){return Va(N)?N.findIndex(J=>Z2(J,P)):Qa(N)&&Z2(N,P)?0:-1}const vT=P=>P[0]==="_"||P==="$stable",E1=P=>Va(P)?P.map(Df):[Df(P)],zS=(P,N,J)=>{if(N._n)return N;const oe=Ea((...be)=>E1(N(...be)),J);return oe._c=!1,oe},pT=(P,N,J)=>{const oe=P._ctx;for(const be in P){if(vT(be))continue;const _e=P[be];if(Qa(_e))N[be]=zS(be,_e,oe);else if(_e!=null){const U=E1(_e);N[be]=()=>U}}},gT=(P,N)=>{const J=E1(N);P.slots.default=()=>J},BS=(P,N)=>{if(P.vnode.shapeFlag&32){const J=N._;J?(P.slots=Mi(N),pg(N,"_",J)):pT(N,P.slots={})}else P.slots={},N&&gT(P,N);pg(P.slots,jg,1)},NS=(P,N,J)=>{const{vnode:oe,slots:be}=P;let _e=!0,U=yo;if(oe.shapeFlag&32){const B=N._;B?J&&B===1?_e=!1:(jo(be,N),!J&&B===1&&delete be._):(_e=!N.$stable,pT(N,be)),U=N}else N&&(gT(P,N),U={default:1});if(_e)for(const B in be)!vT(B)&&!(B in U)&&delete be[B]};function _m(P,N,J,oe,be=!1){if(Va(P)){P.forEach((C,w)=>_m(C,N&&(Va(N)?N[w]:N),J,oe,be));return}if(Tp(oe)&&!be)return;const _e=oe.shapeFlag&4?Yg(oe.component)||oe.component.proxy:oe.el,U=be?null:_e,{i:B,r:e}=P,v=N&&N.r,E=B.refs===yo?B.refs={}:B.refs,a=B.setupState;if(v!=null&&v!==e&&(ci(v)?(E[v]=null,zi(a,v)&&(a[v]=null)):mo(v)&&(v.value=null)),Qa(e))Ph(e,B,12,[U,E]);else{const C=ci(e),w=mo(e);if(C||w){const d=()=>{if(P.f){const p=C?zi(a,e)?a[e]:E[e]:e.value;be?Va(p)&&l1(p,_e):Va(p)?p.includes(_e)||p.push(_e):C?(E[e]=[_e],zi(a,e)&&(a[e]=E[e])):(e.value=[_e],P.k&&(E[P.k]=e.value))}else C?(E[e]=U,zi(a,e)&&(a[e]=U)):w&&(e.value=U,P.k&&(E[P.k]=U))};U?(d.id=-1,El(d,J)):d()}}}const El=cS;function US(P){return HS(P)}function HS(P,N){const J=bm();J.__VUE__=!0;const{insert:oe,remove:be,patchProp:_e,createElement:U,createText:B,createComment:e,setText:v,setElementText:E,parentNode:a,nextSibling:C,setScopeId:w=Ks,insertStaticContent:d}=P,p=(Q,ne,fe,$=null,Y=null,j=null,X=!1,re=null,le=!!ne.dynamicChildren)=>{if(Q===ne)return;Q&&!xd(Q,ne)&&($=z(Q),D(Q,Y,j,!0),Q=null),ne.patchFlag===-2&&(le=!1,ne.dynamicChildren=null);const{type:q,ref:te,shapeFlag:ue}=ne;switch(q){case zv:t(Q,ne,fe,$);break;case ql:r(Q,ne,fe,$);break;case Yy:Q==null&&c(ne,fe,$,X);break;case qi:y(Q,ne,fe,$,Y,j,X,re,le);break;default:ue&1?u(Q,ne,fe,$,Y,j,X,re,le):ue&6?T(Q,ne,fe,$,Y,j,X,re,le):(ue&64||ue&128)&&q.process(Q,ne,fe,$,Y,j,X,re,le,V)}te!=null&&Y&&_m(te,Q&&Q.ref,j,ne||Q,!ne)},t=(Q,ne,fe,$)=>{if(Q==null)oe(ne.el=B(ne.children),fe,$);else{const Y=ne.el=Q.el;ne.children!==Q.children&&v(Y,ne.children)}},r=(Q,ne,fe,$)=>{Q==null?oe(ne.el=e(ne.children||""),fe,$):ne.el=Q.el},c=(Q,ne,fe,$)=>{[Q.el,Q.anchor]=d(Q.children,ne,fe,$,Q.el,Q.anchor)},o=({el:Q,anchor:ne},fe,$)=>{let Y;for(;Q&&Q!==ne;)Y=C(Q),oe(Q,fe,$),Q=Y;oe(ne,fe,$)},n=({el:Q,anchor:ne})=>{let fe;for(;Q&&Q!==ne;)fe=C(Q),be(Q),Q=fe;be(ne)},u=(Q,ne,fe,$,Y,j,X,re,le)=>{X=X||ne.type==="svg",Q==null?i(ne,fe,$,Y,j,X,re,le):x(Q,ne,Y,j,X,re,le)},i=(Q,ne,fe,$,Y,j,X,re)=>{let le,q;const{type:te,props:ue,shapeFlag:ae,transition:de,dirs:xe}=Q;if(le=Q.el=U(Q.type,j,ue&&ue.is,ue),ae&8?E(le,Q.children):ae&16&&h(Q.children,le,null,$,Y,j&&te!=="foreignObject",X,re),xe&&dd(Q,null,$,"created"),g(le,Q,Q.scopeId,X,$),ue){for(const Ae in ue)Ae!=="value"&&!tg(Ae)&&_e(le,Ae,null,ue[Ae],j,Q.children,$,Y,H);"value"in ue&&_e(le,"value",null,ue.value),(q=ue.onVnodeBeforeMount)&&If(q,$,Q)}xe&&dd(Q,null,$,"beforeMount");const Se=(!Y||Y&&!Y.pendingBranch)&&de&&!de.persisted;Se&&de.beforeEnter(le),oe(le,ne,fe),((q=ue&&ue.onVnodeMounted)||Se||xe)&&El(()=>{q&&If(q,$,Q),Se&&de.enter(le),xe&&dd(Q,null,$,"mounted")},Y)},g=(Q,ne,fe,$,Y)=>{if(fe&&w(Q,fe),$)for(let j=0;j<$.length;j++)w(Q,$[j]);if(Y){let j=Y.subTree;if(ne===j){const X=Y.vnode;g(Q,X,X.scopeId,X.slotScopeIds,Y.parent)}}},h=(Q,ne,fe,$,Y,j,X,re,le=0)=>{for(let q=le;q{const re=ne.el=Q.el;let{patchFlag:le,dynamicChildren:q,dirs:te}=ne;le|=Q.patchFlag&16;const ue=Q.props||yo,ae=ne.props||yo;let de;fe&&vd(fe,!1),(de=ae.onVnodeBeforeUpdate)&&If(de,fe,ne,Q),te&&dd(ne,Q,fe,"beforeUpdate"),fe&&vd(fe,!0);const xe=Y&&ne.type!=="foreignObject";if(q?f(Q.dynamicChildren,q,re,fe,$,xe,j):X||b(Q,ne,re,null,fe,$,xe,j,!1),le>0){if(le&16)l(re,ne,ue,ae,fe,$,Y);else if(le&2&&ue.class!==ae.class&&_e(re,"class",null,ae.class,Y),le&4&&_e(re,"style",ue.style,ae.style,Y),le&8){const Se=ne.dynamicProps;for(let Ae=0;Ae{de&&If(de,fe,ne,Q),te&&dd(ne,Q,fe,"updated")},$)},f=(Q,ne,fe,$,Y,j,X)=>{for(let re=0;re{if(fe!==$){if(fe!==yo)for(const re in fe)!tg(re)&&!(re in $)&&_e(Q,re,fe[re],null,X,ne.children,Y,j,H);for(const re in $){if(tg(re))continue;const le=$[re],q=fe[re];le!==q&&re!=="value"&&_e(Q,re,q,le,X,ne.children,Y,j,H)}"value"in $&&_e(Q,"value",fe.value,$.value)}},y=(Q,ne,fe,$,Y,j,X,re,le)=>{const q=ne.el=Q?Q.el:B(""),te=ne.anchor=Q?Q.anchor:B("");let{patchFlag:ue,dynamicChildren:ae,slotScopeIds:de}=ne;de&&(re=re?re.concat(de):de),Q==null?(oe(q,fe,$),oe(te,fe,$),h(ne.children,fe,te,Y,j,X,re,le)):ue>0&&ue&64&&ae&&Q.dynamicChildren?(f(Q.dynamicChildren,ae,fe,Y,j,X,re),(ne.key!=null||Y&&ne===Y.subTree)&&C1(Q,ne,!0)):b(Q,ne,fe,te,Y,j,X,re,le)},T=(Q,ne,fe,$,Y,j,X,re,le)=>{ne.slotScopeIds=re,Q==null?ne.shapeFlag&512?Y.ctx.activate(ne,fe,$,X,le):S(ne,fe,$,Y,j,X,le):L(Q,ne,le)},S=(Q,ne,fe,$,Y,j,X)=>{const re=Q.component=QS(Q,$,Y);if(Vg(Q)&&(re.ctx.renderer=V),qS(re),re.asyncDep){if(Y&&Y.registerDep(re,m),!Q.el){const le=re.subTree=Ia(ql);r(null,le,ne,fe)}return}m(re,Q,ne,fe,Y,j,X)},L=(Q,ne,fe)=>{const $=ne.component=Q.component;if(lS(Q,ne,fe))if($.asyncDep&&!$.asyncResolved){M($,ne,fe);return}else $.next=ne,rS($.update),$.update();else ne.el=Q.el,$.vnode=ne},m=(Q,ne,fe,$,Y,j,X)=>{const re=()=>{if(Q.isMounted){let{next:te,bu:ue,u:ae,parent:de,vnode:xe}=Q,Se=te,Ae;vd(Q,!1),te?(te.el=xe.el,M(Q,te,X)):te=xe,ue&&ng(ue),(Ae=te.props&&te.props.onVnodeBeforeUpdate)&&If(Ae,de,te,xe),vd(Q,!0);const Be=Gy(Q),Oe=Q.subTree;Q.subTree=Be,p(Oe,Be,a(Oe.el),z(Oe),Q,Y,j),te.el=Be.el,Se===null&&uS(Q,Be.el),ae&&El(ae,Y),(Ae=te.props&&te.props.onVnodeUpdated)&&El(()=>If(Ae,de,te,xe),Y)}else{let te;const{el:ue,props:ae}=ne,{bm:de,m:xe,parent:Se}=Q,Ae=Tp(ne);if(vd(Q,!1),de&&ng(de),!Ae&&(te=ae&&ae.onVnodeBeforeMount)&&If(te,Se,ne),vd(Q,!0),ue&&ee){const Be=()=>{Q.subTree=Gy(Q),ee(ue,Q.subTree,Q,Y,null)};Ae?ne.type.__asyncLoader().then(()=>!Q.isUnmounted&&Be()):Be()}else{const Be=Q.subTree=Gy(Q);p(null,Be,fe,$,Q,Y,j),ne.el=Be.el}if(xe&&El(xe,Y),!Ae&&(te=ae&&ae.onVnodeMounted)){const Be=ne;El(()=>If(te,Se,Be),Y)}(ne.shapeFlag&256||Se&&Tp(Se.vnode)&&Se.vnode.shapeFlag&256)&&Q.a&&El(Q.a,Y),Q.isMounted=!0,ne=fe=$=null}},le=Q.effect=new c1(re,()=>x1(q),Q.scope),q=Q.update=()=>le.run();q.id=Q.uid,vd(Q,!0),q()},M=(Q,ne,fe)=>{ne.component=Q;const $=Q.vnode.props;Q.vnode=ne,Q.next=null,OS(Q,ne.props,$,fe),NS(Q,ne.children,fe),Fv(),z2(),Ov()},b=(Q,ne,fe,$,Y,j,X,re,le=!1)=>{const q=Q&&Q.children,te=Q?Q.shapeFlag:0,ue=ne.children,{patchFlag:ae,shapeFlag:de}=ne;if(ae>0){if(ae&128){_(q,ue,fe,$,Y,j,X,re,le);return}else if(ae&256){s(q,ue,fe,$,Y,j,X,re,le);return}}de&8?(te&16&&H(q,Y,j),ue!==q&&E(fe,ue)):te&16?de&16?_(q,ue,fe,$,Y,j,X,re,le):H(q,Y,j,!0):(te&8&&E(fe,""),de&16&&h(ue,fe,$,Y,j,X,re,le))},s=(Q,ne,fe,$,Y,j,X,re,le)=>{Q=Q||dv,ne=ne||dv;const q=Q.length,te=ne.length,ue=Math.min(q,te);let ae;for(ae=0;aete?H(Q,Y,j,!0,!1,ue):h(ne,fe,$,Y,j,X,re,le,ue)},_=(Q,ne,fe,$,Y,j,X,re,le)=>{let q=0;const te=ne.length;let ue=Q.length-1,ae=te-1;for(;q<=ue&&q<=ae;){const de=Q[q],xe=ne[q]=le?Th(ne[q]):Df(ne[q]);if(xd(de,xe))p(de,xe,fe,null,Y,j,X,re,le);else break;q++}for(;q<=ue&&q<=ae;){const de=Q[ue],xe=ne[ae]=le?Th(ne[ae]):Df(ne[ae]);if(xd(de,xe))p(de,xe,fe,null,Y,j,X,re,le);else break;ue--,ae--}if(q>ue){if(q<=ae){const de=ae+1,xe=deae)for(;q<=ue;)D(Q[q],Y,j,!0),q++;else{const de=q,xe=q,Se=new Map;for(q=xe;q<=ae;q++){const He=ne[q]=le?Th(ne[q]):Df(ne[q]);He.key!=null&&Se.set(He.key,q)}let Ae,Be=0;const Oe=ae-xe+1;let Ee=!1,we=0;const Ce=new Array(Oe);for(q=0;q=Oe){D(He,Y,j,!0);continue}let De;if(He.key!=null)De=Se.get(He.key);else for(Ae=xe;Ae<=ae;Ae++)if(Ce[Ae-xe]===0&&xd(He,ne[Ae])){De=Ae;break}De===void 0?D(He,Y,j,!0):(Ce[De-xe]=q+1,De>=we?we=De:Ee=!0,p(He,ne[De],fe,null,Y,j,X,re,le),Be++)}const Ge=Ee?VS(Ce):dv;for(Ae=Ge.length-1,q=Oe-1;q>=0;q--){const He=xe+q,De=ne[He],Fe=He+1{const{el:j,type:X,transition:re,children:le,shapeFlag:q}=Q;if(q&6){A(Q.component.subTree,ne,fe,$);return}if(q&128){Q.suspense.move(ne,fe,$);return}if(q&64){X.move(Q,ne,fe,V);return}if(X===qi){oe(j,ne,fe);for(let ue=0;uere.enter(j),Y);else{const{leave:ue,delayLeave:ae,afterLeave:de}=re,xe=()=>oe(j,ne,fe),Se=()=>{ue(j,()=>{xe(),de&&de()})};ae?ae(j,xe,Se):Se()}else oe(j,ne,fe)},D=(Q,ne,fe,$=!1,Y=!1)=>{const{type:j,props:X,ref:re,children:le,dynamicChildren:q,shapeFlag:te,patchFlag:ue,dirs:ae}=Q;if(re!=null&&_m(re,null,fe,Q,!0),te&256){ne.ctx.deactivate(Q);return}const de=te&1&&ae,xe=!Tp(Q);let Se;if(xe&&(Se=X&&X.onVnodeBeforeUnmount)&&If(Se,ne,Q),te&6)O(Q.component,fe,$);else{if(te&128){Q.suspense.unmount(fe,$);return}de&&dd(Q,null,ne,"beforeUnmount"),te&64?Q.type.remove(Q,ne,fe,Y,V,$):q&&(j!==qi||ue>0&&ue&64)?H(q,ne,fe,!1,!0):(j===qi&&ue&384||!Y&&te&16)&&H(le,ne,fe),$&&F(Q)}(xe&&(Se=X&&X.onVnodeUnmounted)||de)&&El(()=>{Se&&If(Se,ne,Q),de&&dd(Q,null,ne,"unmounted")},fe)},F=Q=>{const{type:ne,el:fe,anchor:$,transition:Y}=Q;if(ne===qi){G(fe,$);return}if(ne===Yy){n(Q);return}const j=()=>{be(fe),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(Q.shapeFlag&1&&Y&&!Y.persisted){const{leave:X,delayLeave:re}=Y,le=()=>X(fe,j);re?re(Q.el,j,le):le()}else j()},G=(Q,ne)=>{let fe;for(;Q!==ne;)fe=C(Q),be(Q),Q=fe;be(ne)},O=(Q,ne,fe)=>{const{bum:$,scope:Y,update:j,subTree:X,um:re}=Q;$&&ng($),Y.stop(),j&&(j.active=!1,D(X,Q,ne,fe)),re&&El(re,ne),El(()=>{Q.isUnmounted=!0},ne),ne&&ne.pendingBranch&&!ne.isUnmounted&&Q.asyncDep&&!Q.asyncResolved&&Q.suspenseId===ne.pendingId&&(ne.deps--,ne.deps===0&&ne.resolve())},H=(Q,ne,fe,$=!1,Y=!1,j=0)=>{for(let X=j;XQ.shapeFlag&6?z(Q.component.subTree):Q.shapeFlag&128?Q.suspense.next():C(Q.anchor||Q.el),k=(Q,ne,fe)=>{Q==null?ne._vnode&&D(ne._vnode,null,null,!0):p(ne._vnode||null,Q,ne,null,null,null,fe),z2(),Kw(),ne._vnode=Q},V={p,um:D,m:A,r:F,mt:S,mc:h,pc:b,pbc:f,n:z,o:P};let Z,ee;return N&&([Z,ee]=N(V)),{render:k,hydrate:Z,createApp:kS(k,Z)}}function vd({effect:P,update:N},J){P.allowRecurse=N.allowRecurse=J}function C1(P,N,J=!1){const oe=P.children,be=N.children;if(Va(oe)&&Va(be))for(let _e=0;_e>1,P[J[B]]0&&(N[oe]=J[_e-1]),J[_e]=oe)}}for(_e=J.length,U=J[_e-1];_e-- >0;)J[_e]=U,U=N[U];return J}const GS=P=>P.__isTeleport,Sp=P=>P&&(P.disabled||P.disabled===""),K2=P=>typeof SVGElement<"u"&&P instanceof SVGElement,Pm=(P,N)=>{const J=P&&P.to;return ci(J)?N?N(J):null:J},WS={__isTeleport:!0,process(P,N,J,oe,be,_e,U,B,e,v){const{mc:E,pc:a,pbc:C,o:{insert:w,querySelector:d,createText:p,createComment:t}}=v,r=Sp(N.props);let{shapeFlag:c,children:o,dynamicChildren:n}=N;if(P==null){const u=N.el=p(""),i=N.anchor=p("");w(u,J,oe),w(i,J,oe);const g=N.target=Pm(N.props,d),h=N.targetAnchor=p("");g&&(w(h,g),U=U||K2(g));const x=(f,l)=>{c&16&&E(o,f,l,be,_e,U,B,e)};r?x(J,i):g&&x(g,h)}else{N.el=P.el;const u=N.anchor=P.anchor,i=N.target=P.target,g=N.targetAnchor=P.targetAnchor,h=Sp(P.props),x=h?J:i,f=h?u:g;if(U=U||K2(i),n?(C(P.dynamicChildren,n,x,be,_e,U,B),C1(P,N,!0)):e||a(P,N,x,f,be,_e,U,B,!1),r)h||V0(N,J,u,v,1);else if((N.props&&N.props.to)!==(P.props&&P.props.to)){const l=N.target=Pm(N.props,d);l&&V0(N,l,null,v,0)}else h&&V0(N,i,g,v,1)}yT(N)},remove(P,N,J,oe,{um:be,o:{remove:_e}},U){const{shapeFlag:B,children:e,anchor:v,targetAnchor:E,target:a,props:C}=P;if(a&&_e(E),(U||!Sp(C))&&(_e(v),B&16))for(let w=0;w0?tf||dv:null,ZS(),Up>0&&tf&&tf.push(P),P}function Oa(P,N,J,oe,be,_e){return mT(za(P,N,J,oe,be,_e,!0))}function ri(P,N,J,oe,be){return mT(Ia(P,N,J,oe,be,!0))}function Ih(P){return P?P.__v_isVNode===!0:!1}function xd(P,N){return P.type===N.type&&P.key===N.key}const jg="__vInternal",xT=({key:P})=>P??null,ag=({ref:P,ref_key:N,ref_for:J})=>(typeof P=="number"&&(P=""+P),P!=null?ci(P)||mo(P)||Qa(P)?{i:Is,r:P,k:N,f:!!J}:P:null);function za(P,N=null,J=null,oe=0,be=null,_e=P===qi?0:1,U=!1,B=!1){const e={__v_isVNode:!0,__v_skip:!0,type:P,props:N,key:N&&xT(N),ref:N&&ag(N),scopeId:Qw,slotScopeIds:null,children:J,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:_e,patchFlag:oe,dynamicProps:be,dynamicChildren:null,appContext:null,ctx:Is};return B?(L1(e,J),_e&128&&P.normalize(e)):J&&(e.shapeFlag|=ci(J)?8:16),Up>0&&!U&&tf&&(e.patchFlag>0||_e&6)&&e.patchFlag!==32&&tf.push(e),e}const Ia=XS;function XS(P,N=null,J=null,oe=0,be=null,_e=!1){if((!P||P===sT)&&(P=ql),Ih(P)){const B=Rc(P,N,!0);return J&&L1(B,J),Up>0&&!_e&&tf&&(B.shapeFlag&6?tf[tf.indexOf(P)]=B:tf.push(B)),B.patchFlag|=-2,B}if(nE(P)&&(P=P.__vccOpts),N){N=KS(N);let{class:B,style:e}=N;B&&!ci(B)&&(N.class=ua(B)),Ei(e)&&(Hw(e)&&!Va(e)&&(e=jo({},e)),N.style=ao(e))}const U=ci(P)?1:fS(P)?128:GS(P)?64:Ei(P)?4:Qa(P)?2:0;return za(P,N,J,oe,be,U,_e,!0)}function KS(P){return P?Hw(P)||jg in P?jo({},P):P:null}function Rc(P,N,J=!1){const{props:oe,ref:be,patchFlag:_e,children:U}=P,B=N?Nf(oe||{},N):oe;return{__v_isVNode:!0,__v_skip:!0,type:P.type,props:B,key:B&&xT(B),ref:N&&N.ref?J&&be?Va(be)?be.concat(ag(N)):[be,ag(N)]:ag(N):be,scopeId:P.scopeId,slotScopeIds:P.slotScopeIds,children:U,target:P.target,targetAnchor:P.targetAnchor,staticCount:P.staticCount,shapeFlag:P.shapeFlag,patchFlag:N&&P.type!==qi?_e===-1?16:_e|16:_e,dynamicProps:P.dynamicProps,dynamicChildren:P.dynamicChildren,appContext:P.appContext,dirs:P.dirs,transition:P.transition,component:P.component,suspense:P.suspense,ssContent:P.ssContent&&Rc(P.ssContent),ssFallback:P.ssFallback&&Rc(P.ssFallback),el:P.el,anchor:P.anchor,ctx:P.ctx,ce:P.ce}}function Ps(P=" ",N=0){return Ia(zv,null,P,N)}function ai(P="",N=!1){return N?(Wn(),ri(ql,null,P)):Ia(ql,null,P)}function Df(P){return P==null||typeof P=="boolean"?Ia(ql):Va(P)?Ia(qi,null,P.slice()):typeof P=="object"?Th(P):Ia(zv,null,String(P))}function Th(P){return P.el===null&&P.patchFlag!==-1||P.memo?P:Rc(P)}function L1(P,N){let J=0;const{shapeFlag:oe}=P;if(N==null)N=null;else if(Va(N))J=16;else if(typeof N=="object")if(oe&65){const be=N.default;be&&(be._c&&(be._d=!1),L1(P,be()),be._c&&(be._d=!0));return}else{J=32;const be=N._;!be&&!(jg in N)?N._ctx=Is:be===3&&Is&&(Is.slots._===1?N._=1:(N._=2,P.patchFlag|=1024))}else Qa(N)?(N={default:N,_ctx:Is},J=32):(N=String(N),oe&64?(J=16,N=[Ps(N)]):J=8);P.children=N,P.shapeFlag|=J}function Nf(...P){const N={};for(let J=0;Jps||Is;let _1,ov,J2="__VUE_INSTANCE_SETTERS__";(ov=bm()[J2])||(ov=bm()[J2]=[]),ov.push(P=>ps=P),_1=P=>{ov.length>1?ov.forEach(N=>N(P)):ov[0](P)};const xv=P=>{_1(P),P.scope.on()},Sd=()=>{ps&&ps.scope.off(),_1(null)};function bT(P){return P.vnode.shapeFlag&4}let Hp=!1;function qS(P,N=!1){Hp=N;const{props:J,children:oe}=P.vnode,be=bT(P);FS(P,J,be,N),BS(P,oe);const _e=be?eE(P,N):void 0;return Hp=!1,_e}function eE(P,N){const J=P.type;P.accessCache=Object.create(null),P.proxy=Vw(new Proxy(P.ctx,ES));const{setup:oe}=J;if(oe){const be=P.setupContext=oe.length>1?TT(P):null;xv(P),Fv();const _e=Ph(oe,P,0,[P.props,be]);if(Ov(),Sd(),Aw(_e)){if(_e.then(Sd,Sd),N)return _e.then(U=>{Q2(P,U,N)}).catch(U=>{Ug(U,P,0)});P.asyncDep=_e}else Q2(P,_e,N)}else wT(P,N)}function Q2(P,N,J){Qa(N)?P.type.__ssrInlineRender?P.ssrRender=N:P.render=N:Ei(N)&&(P.setupState=jw(N)),wT(P,J)}let q2;function wT(P,N,J){const oe=P.type;if(!P.render){if(!N&&q2&&!oe.render){const be=oe.template||S1(P).template;if(be){const{isCustomElement:_e,compilerOptions:U}=P.appContext.config,{delimiters:B,compilerOptions:e}=oe,v=jo(jo({isCustomElement:_e,delimiters:B},U),e);oe.render=q2(be,v)}}P.render=oe.render||Ks}xv(P),Fv(),LS(P),Ov(),Sd()}function tE(P){return P.attrsProxy||(P.attrsProxy=new Proxy(P.attrs,{get(N,J){return Pl(P,"get","$attrs"),N[J]}}))}function TT(P){const N=J=>{P.exposed=J||{}};return{get attrs(){return tE(P)},slots:P.slots,emit:P.emit,expose:N}}function Yg(P){if(P.exposed)return P.exposeProxy||(P.exposeProxy=new Proxy(jw(Vw(P.exposed)),{get(N,J){if(J in N)return N[J];if(J in Mp)return Mp[J](P)},has(N,J){return J in N||J in Mp}}))}function rE(P,N=!0){return Qa(P)?P.displayName||P.name:P.name||N&&P.__name}function nE(P){return Qa(P)&&"__vccOpts"in P}const sn=(P,N)=>QM(P,N,Hp);function zo(P,N,J){const oe=arguments.length;return oe===2?Ei(N)&&!Va(N)?Ih(N)?Ia(P,null,[N]):Ia(P,N):Ia(P,null,N):(oe>3?J=Array.prototype.slice.call(arguments,2):oe===3&&Ih(J)&&(J=[J]),Ia(P,N,J))}const aE=Symbol.for("v-scx"),iE=()=>si(aE),oE="3.3.4",sE="http://www.w3.org/2000/svg",bd=typeof document<"u"?document:null,eb=bd&&bd.createElement("template"),lE={insert:(P,N,J)=>{N.insertBefore(P,J||null)},remove:P=>{const N=P.parentNode;N&&N.removeChild(P)},createElement:(P,N,J,oe)=>{const be=N?bd.createElementNS(sE,P):bd.createElement(P,J?{is:J}:void 0);return P==="select"&&oe&&oe.multiple!=null&&be.setAttribute("multiple",oe.multiple),be},createText:P=>bd.createTextNode(P),createComment:P=>bd.createComment(P),setText:(P,N)=>{P.nodeValue=N},setElementText:(P,N)=>{P.textContent=N},parentNode:P=>P.parentNode,nextSibling:P=>P.nextSibling,querySelector:P=>bd.querySelector(P),setScopeId(P,N){P.setAttribute(N,"")},insertStaticContent(P,N,J,oe,be,_e){const U=J?J.previousSibling:N.lastChild;if(be&&(be===_e||be.nextSibling))for(;N.insertBefore(be.cloneNode(!0),J),!(be===_e||!(be=be.nextSibling)););else{eb.innerHTML=oe?``:P;const B=eb.content;if(oe){const e=B.firstChild;for(;e.firstChild;)B.appendChild(e.firstChild);B.removeChild(e)}N.insertBefore(B,J)}return[U?U.nextSibling:N.firstChild,J?J.previousSibling:N.lastChild]}};function uE(P,N,J){const oe=P._vtc;oe&&(N=(N?[N,...oe]:[...oe]).join(" ")),N==null?P.removeAttribute("class"):J?P.setAttribute("class",N):P.className=N}function fE(P,N,J){const oe=P.style,be=ci(J);if(J&&!be){if(N&&!ci(N))for(const _e in N)J[_e]==null&&Rm(oe,_e,"");for(const _e in J)Rm(oe,_e,J[_e])}else{const _e=oe.display;be?N!==J&&(oe.cssText=J):N&&P.removeAttribute("style"),"_vod"in P&&(oe.display=_e)}}const tb=/\s*!important$/;function Rm(P,N,J){if(Va(J))J.forEach(oe=>Rm(P,N,oe));else if(J==null&&(J=""),N.startsWith("--"))P.setProperty(N,J);else{const oe=cE(P,N);tb.test(J)?P.setProperty(_d(oe),J.replace(tb,""),"important"):P[oe]=J}}const rb=["Webkit","Moz","ms"],Zy={};function cE(P,N){const J=Zy[N];if(J)return J;let oe=Hf(N);if(oe!=="filter"&&oe in P)return Zy[N]=oe;oe=Bg(oe);for(let be=0;beXy||(yE.then(()=>Xy=0),Xy=Date.now());function xE(P,N){const J=oe=>{if(!oe._vts)oe._vts=Date.now();else if(oe._vts<=J.attached)return;wu(bE(oe,J.value),N,5,[oe])};return J.value=P,J.attached=mE(),J}function bE(P,N){if(Va(N)){const J=P.stopImmediatePropagation;return P.stopImmediatePropagation=()=>{J.call(P),P._stopped=!0},N.map(oe=>be=>!be._stopped&&oe&&oe(be))}else return N}const ib=/^on[a-z]/,wE=(P,N,J,oe,be=!1,_e,U,B,e)=>{N==="class"?uE(P,oe,be):N==="style"?fE(P,J,oe):Fg(N)?s1(N)||pE(P,N,J,oe,U):(N[0]==="."?(N=N.slice(1),!0):N[0]==="^"?(N=N.slice(1),!1):TE(P,N,oe,be))?dE(P,N,oe,_e,U,B,e):(N==="true-value"?P._trueValue=oe:N==="false-value"&&(P._falseValue=oe),hE(P,N,oe,be))};function TE(P,N,J,oe){return oe?!!(N==="innerHTML"||N==="textContent"||N in P&&ib.test(N)&&Qa(J)):N==="spellcheck"||N==="draggable"||N==="translate"||N==="form"||N==="list"&&P.tagName==="INPUT"||N==="type"&&P.tagName==="TEXTAREA"||ib.test(N)&&ci(J)?!1:N in P}const gh="transition",dp="animation",nf=(P,{slots:N})=>zo(vS,MT(P),N);nf.displayName="Transition";const AT={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},AE=nf.props=jo({},rT,AT),pd=(P,N=[])=>{Va(P)?P.forEach(J=>J(...N)):P&&P(...N)},ob=P=>P?Va(P)?P.some(N=>N.length>1):P.length>1:!1;function MT(P){const N={};for(const y in P)y in AT||(N[y]=P[y]);if(P.css===!1)return N;const{name:J="v",type:oe,duration:be,enterFromClass:_e=`${J}-enter-from`,enterActiveClass:U=`${J}-enter-active`,enterToClass:B=`${J}-enter-to`,appearFromClass:e=_e,appearActiveClass:v=U,appearToClass:E=B,leaveFromClass:a=`${J}-leave-from`,leaveActiveClass:C=`${J}-leave-active`,leaveToClass:w=`${J}-leave-to`}=P,d=ME(be),p=d&&d[0],t=d&&d[1],{onBeforeEnter:r,onEnter:c,onEnterCancelled:o,onLeave:n,onLeaveCancelled:u,onBeforeAppear:i=r,onAppear:g=c,onAppearCancelled:h=o}=N,x=(y,T,S)=>{xh(y,T?E:B),xh(y,T?v:U),S&&S()},f=(y,T)=>{y._isLeaving=!1,xh(y,a),xh(y,w),xh(y,C),T&&T()},l=y=>(T,S)=>{const L=y?g:c,m=()=>x(T,y,S);pd(L,[T,m]),sb(()=>{xh(T,y?e:_e),Ac(T,y?E:B),ob(L)||lb(T,oe,p,m)})};return jo(N,{onBeforeEnter(y){pd(r,[y]),Ac(y,_e),Ac(y,U)},onBeforeAppear(y){pd(i,[y]),Ac(y,e),Ac(y,v)},onEnter:l(!1),onAppear:l(!0),onLeave(y,T){y._isLeaving=!0;const S=()=>f(y,T);Ac(y,a),ET(),Ac(y,C),sb(()=>{y._isLeaving&&(xh(y,a),Ac(y,w),ob(n)||lb(y,oe,t,S))}),pd(n,[y,S])},onEnterCancelled(y){x(y,!1),pd(o,[y])},onAppearCancelled(y){x(y,!0),pd(h,[y])},onLeaveCancelled(y){f(y),pd(u,[y])}})}function ME(P){if(P==null)return null;if(Ei(P))return[Ky(P.enter),Ky(P.leave)];{const N=Ky(P);return[N,N]}}function Ky(P){return uM(P)}function Ac(P,N){N.split(/\s+/).forEach(J=>J&&P.classList.add(J)),(P._vtc||(P._vtc=new Set)).add(N)}function xh(P,N){N.split(/\s+/).forEach(oe=>oe&&P.classList.remove(oe));const{_vtc:J}=P;J&&(J.delete(N),J.size||(P._vtc=void 0))}function sb(P){requestAnimationFrame(()=>{requestAnimationFrame(P)})}let SE=0;function lb(P,N,J,oe){const be=P._endId=++SE,_e=()=>{be===P._endId&&oe()};if(J)return setTimeout(_e,J);const{type:U,timeout:B,propCount:e}=ST(P,N);if(!U)return oe();const v=U+"end";let E=0;const a=()=>{P.removeEventListener(v,C),_e()},C=w=>{w.target===P&&++E>=e&&a()};setTimeout(()=>{E(J[d]||"").split(", "),be=oe(`${gh}Delay`),_e=oe(`${gh}Duration`),U=ub(be,_e),B=oe(`${dp}Delay`),e=oe(`${dp}Duration`),v=ub(B,e);let E=null,a=0,C=0;N===gh?U>0&&(E=gh,a=U,C=_e.length):N===dp?v>0&&(E=dp,a=v,C=e.length):(a=Math.max(U,v),E=a>0?U>v?gh:dp:null,C=E?E===gh?_e.length:e.length:0);const w=E===gh&&/\b(transform|all)(,|$)/.test(oe(`${gh}Property`).toString());return{type:E,timeout:a,propCount:C,hasTransform:w}}function ub(P,N){for(;P.lengthfb(J)+fb(P[oe])))}function fb(P){return Number(P.slice(0,-1).replace(",","."))*1e3}function ET(){return document.body.offsetHeight}const CT=new WeakMap,LT=new WeakMap,_T={name:"TransitionGroup",props:jo({},AE,{tag:String,moveClass:String}),setup(P,{slots:N}){const J=bs(),oe=tT();let be,_e;return Wg(()=>{if(!be.length)return;const U=P.moveClass||`${P.name||"v"}-move`;if(!RE(be[0].el,J.vnode.el,U))return;be.forEach(LE),be.forEach(_E);const B=be.filter(PE);ET(),B.forEach(e=>{const v=e.el,E=v.style;Ac(v,U),E.transform=E.webkitTransform=E.transitionDuration="";const a=v._moveCb=C=>{C&&C.target!==v||(!C||/transform$/.test(C.propertyName))&&(v.removeEventListener("transitionend",a),v._moveCb=null,xh(v,U))};v.addEventListener("transitionend",a)})}),()=>{const U=Mi(P),B=MT(U);let e=U.tag||qi;be=_e,_e=N.default?w1(N.default()):[];for(let v=0;v<_e.length;v++){const E=_e[v];E.key!=null&&Np(E,Bp(E,B,oe,J))}if(be)for(let v=0;vdelete P.mode;_T.props;const CE=_T;function LE(P){const N=P.el;N._moveCb&&N._moveCb(),N._enterCb&&N._enterCb()}function _E(P){LT.set(P,P.el.getBoundingClientRect())}function PE(P){const N=CT.get(P),J=LT.get(P),oe=N.left-J.left,be=N.top-J.top;if(oe||be){const _e=P.el.style;return _e.transform=_e.webkitTransform=`translate(${oe}px,${be}px)`,_e.transitionDuration="0s",P}}function RE(P,N,J){const oe=P.cloneNode();P._vtc&&P._vtc.forEach(U=>{U.split(/\s+/).forEach(B=>B&&oe.classList.remove(B))}),J.split(/\s+/).forEach(U=>U&&oe.classList.add(U)),oe.style.display="none";const be=N.nodeType===1?N:N.parentNode;be.appendChild(oe);const{hasTransform:_e}=ST(oe);return be.removeChild(oe),_e}const bv=P=>{const N=P.props["onUpdate:modelValue"]||!1;return Va(N)?J=>ng(N,J):N};function IE(P){P.target.composing=!0}function cb(P){const N=P.target;N.composing&&(N.composing=!1,N.dispatchEvent(new Event("input")))}const DE={created(P,{modifiers:{lazy:N,trim:J,number:oe}},be){P._assign=bv(be);const _e=oe||be.props&&be.props.type==="number";Mh(P,N?"change":"input",U=>{if(U.target.composing)return;let B=P.value;J&&(B=B.trim()),_e&&(B=xm(B)),P._assign(B)}),J&&Mh(P,"change",()=>{P.value=P.value.trim()}),N||(Mh(P,"compositionstart",IE),Mh(P,"compositionend",cb),Mh(P,"change",cb))},mounted(P,{value:N}){P.value=N??""},beforeUpdate(P,{value:N,modifiers:{lazy:J,trim:oe,number:be}},_e){if(P._assign=bv(_e),P.composing||document.activeElement===P&&P.type!=="range"&&(J||oe&&P.value.trim()===N||(be||P.type==="number")&&xm(P.value)===N))return;const U=N??"";P.value!==U&&(P.value=U)}},wg={deep:!0,created(P,N,J){P._assign=bv(J),Mh(P,"change",()=>{const oe=P._modelValue,be=RT(P),_e=P.checked,U=P._assign;if(Va(oe)){const B=Cw(oe,be),e=B!==-1;if(_e&&!e)U(oe.concat(be));else if(!_e&&e){const v=[...oe];v.splice(B,1),U(v)}}else if(Og(oe)){const B=new Set(oe);_e?B.add(be):B.delete(be),U(B)}else U(IT(P,_e))})},mounted:hb,beforeUpdate(P,N,J){P._assign=bv(J),hb(P,N,J)}};function hb(P,{value:N,oldValue:J},oe){P._modelValue=N,Va(N)?P.checked=Cw(N,oe.props.value)>-1:Og(N)?P.checked=N.has(oe.props.value):N!==J&&(P.checked=yv(N,IT(P,!0)))}const PT={created(P,{value:N},J){P.checked=yv(N,J.props.value),P._assign=bv(J),Mh(P,"change",()=>{P._assign(RT(P))})},beforeUpdate(P,{value:N,oldValue:J},oe){P._assign=bv(oe),N!==J&&(P.checked=yv(N,oe.props.value))}};function RT(P){return"_value"in P?P._value:P.value}function IT(P,N){const J=N?"_trueValue":"_falseValue";return J in P?P[J]:N}const kE=["ctrl","shift","alt","meta"],FE={stop:P=>P.stopPropagation(),prevent:P=>P.preventDefault(),self:P=>P.target!==P.currentTarget,ctrl:P=>!P.ctrlKey,shift:P=>!P.shiftKey,alt:P=>!P.altKey,meta:P=>!P.metaKey,left:P=>"button"in P&&P.button!==0,middle:P=>"button"in P&&P.button!==1,right:P=>"button"in P&&P.button!==2,exact:(P,N)=>kE.some(J=>P[`${J}Key`]&&!N.includes(J))},Cl=(P,N)=>(J,...oe)=>{for(let be=0;beJ=>{if(!("key"in J))return;const oe=_d(J.key);if(N.some(be=>be===oe||OE[be]===oe))return P(J)},Fc={beforeMount(P,{value:N},{transition:J}){P._vod=P.style.display==="none"?"":P.style.display,J&&N?J.beforeEnter(P):vp(P,N)},mounted(P,{value:N},{transition:J}){J&&N&&J.enter(P)},updated(P,{value:N,oldValue:J},{transition:oe}){!N!=!J&&(oe?N?(oe.beforeEnter(P),vp(P,!0),oe.enter(P)):oe.leave(P,()=>{vp(P,!1)}):vp(P,N))},beforeUnmount(P,{value:N}){vp(P,N)}};function vp(P,N){P.style.display=N?P._vod:"none"}const zE=jo({patchProp:wE},lE);let db;function DT(){return db||(db=US(zE))}const vb=(...P)=>{DT().render(...P)},BE=(...P)=>{const N=DT().createApp(...P),{mount:J}=N;return N.mount=oe=>{const be=NE(oe);if(!be)return;const _e=N._component;!Qa(_e)&&!_e.render&&!_e.template&&(_e.template=be.innerHTML),be.innerHTML="";const U=J(be,!1,be instanceof SVGElement);return be instanceof Element&&(be.removeAttribute("v-cloak"),be.setAttribute("data-v-app","")),U},N};function NE(P){return ci(P)?document.querySelector(P):P}/*!
+ * vue-router v4.2.1
+ * (c) 2023 Eduardo San Martin Morote
+ * @license MIT
+ */const fv=typeof window<"u";function UE(P){return P.__esModule||P[Symbol.toStringTag]==="Module"}const to=Object.assign;function $y(P,N){const J={};for(const oe in N){const be=N[oe];J[oe]=af(be)?be.map(P):P(be)}return J}const Cp=()=>{},af=Array.isArray,HE=/\/$/,VE=P=>P.replace(HE,"");function Jy(P,N,J="/"){let oe,be={},_e="",U="";const B=N.indexOf("#");let e=N.indexOf("?");return B=0&&(e=-1),e>-1&&(oe=N.slice(0,e),_e=N.slice(e+1,B>-1?B:N.length),be=P(_e)),B>-1&&(oe=oe||N.slice(0,B),U=N.slice(B,N.length)),oe=YE(oe??N,J),{fullPath:oe+(_e&&"?")+_e+U,path:oe,query:be,hash:U}}function GE(P,N){const J=N.query?P(N.query):"";return N.path+(J&&"?")+J+(N.hash||"")}function pb(P,N){return!N||!P.toLowerCase().startsWith(N.toLowerCase())?P:P.slice(N.length)||"/"}function WE(P,N,J){const oe=N.matched.length-1,be=J.matched.length-1;return oe>-1&&oe===be&&wv(N.matched[oe],J.matched[be])&&kT(N.params,J.params)&&P(N.query)===P(J.query)&&N.hash===J.hash}function wv(P,N){return(P.aliasOf||P)===(N.aliasOf||N)}function kT(P,N){if(Object.keys(P).length!==Object.keys(N).length)return!1;for(const J in P)if(!jE(P[J],N[J]))return!1;return!0}function jE(P,N){return af(P)?gb(P,N):af(N)?gb(N,P):P===N}function gb(P,N){return af(N)?P.length===N.length&&P.every((J,oe)=>J===N[oe]):P.length===1&&P[0]===N}function YE(P,N){if(P.startsWith("/"))return P;if(!P)return N;const J=N.split("/"),oe=P.split("/"),be=oe[oe.length-1];(be===".."||be===".")&&oe.push("");let _e=J.length-1,U,B;for(U=0;U1&&_e--;else break;return J.slice(0,_e).join("/")+"/"+oe.slice(U-(U===oe.length?1:0)).join("/")}var Vp;(function(P){P.pop="pop",P.push="push"})(Vp||(Vp={}));var Lp;(function(P){P.back="back",P.forward="forward",P.unknown=""})(Lp||(Lp={}));function ZE(P){if(!P)if(fv){const N=document.querySelector("base");P=N&&N.getAttribute("href")||"/",P=P.replace(/^\w+:\/\/[^\/]+/,"")}else P="/";return P[0]!=="/"&&P[0]!=="#"&&(P="/"+P),VE(P)}const XE=/^[^#]+#/;function KE(P,N){return P.replace(XE,"#")+N}function $E(P,N){const J=document.documentElement.getBoundingClientRect(),oe=P.getBoundingClientRect();return{behavior:N.behavior,left:oe.left-J.left-(N.left||0),top:oe.top-J.top-(N.top||0)}}const Zg=()=>({left:window.pageXOffset,top:window.pageYOffset});function JE(P){let N;if("el"in P){const J=P.el,oe=typeof J=="string"&&J.startsWith("#"),be=typeof J=="string"?oe?document.getElementById(J.slice(1)):document.querySelector(J):J;if(!be)return;N=$E(be,P)}else N=P;"scrollBehavior"in document.documentElement.style?window.scrollTo(N):window.scrollTo(N.left!=null?N.left:window.pageXOffset,N.top!=null?N.top:window.pageYOffset)}function yb(P,N){return(history.state?history.state.position-N:-1)+P}const Im=new Map;function QE(P,N){Im.set(P,N)}function qE(P){const N=Im.get(P);return Im.delete(P),N}let eC=()=>location.protocol+"//"+location.host;function FT(P,N){const{pathname:J,search:oe,hash:be}=N,_e=P.indexOf("#");if(_e>-1){let B=be.includes(P.slice(_e))?P.slice(_e).length:1,e=be.slice(B);return e[0]!=="/"&&(e="/"+e),pb(e,"")}return pb(J,P)+oe+be}function tC(P,N,J,oe){let be=[],_e=[],U=null;const B=({state:C})=>{const w=FT(P,location),d=J.value,p=N.value;let t=0;if(C){if(J.value=w,N.value=C,U&&U===d){U=null;return}t=p?C.position-p.position:0}else oe(w);be.forEach(r=>{r(J.value,d,{delta:t,type:Vp.pop,direction:t?t>0?Lp.forward:Lp.back:Lp.unknown})})};function e(){U=J.value}function v(C){be.push(C);const w=()=>{const d=be.indexOf(C);d>-1&&be.splice(d,1)};return _e.push(w),w}function E(){const{history:C}=window;C.state&&C.replaceState(to({},C.state,{scroll:Zg()}),"")}function a(){for(const C of _e)C();_e=[],window.removeEventListener("popstate",B),window.removeEventListener("beforeunload",E)}return window.addEventListener("popstate",B),window.addEventListener("beforeunload",E,{passive:!0}),{pauseListeners:e,listen:v,destroy:a}}function mb(P,N,J,oe=!1,be=!1){return{back:P,current:N,forward:J,replaced:oe,position:window.history.length,scroll:be?Zg():null}}function rC(P){const{history:N,location:J}=window,oe={value:FT(P,J)},be={value:N.state};be.value||_e(oe.value,{back:null,current:oe.value,forward:null,position:N.length-1,replaced:!0,scroll:null},!0);function _e(e,v,E){const a=P.indexOf("#"),C=a>-1?(J.host&&document.querySelector("base")?P:P.slice(a))+e:eC()+P+e;try{N[E?"replaceState":"pushState"](v,"",C),be.value=v}catch(w){console.error(w),J[E?"replace":"assign"](C)}}function U(e,v){const E=to({},N.state,mb(be.value.back,e,be.value.forward,!0),v,{position:be.value.position});_e(e,E,!0),oe.value=e}function B(e,v){const E=to({},be.value,N.state,{forward:e,scroll:Zg()});_e(E.current,E,!0);const a=to({},mb(oe.value,e,null),{position:E.position+1},v);_e(e,a,!1),oe.value=e}return{location:oe,state:be,push:B,replace:U}}function nC(P){P=ZE(P);const N=rC(P),J=tC(P,N.state,N.location,N.replace);function oe(_e,U=!0){U||J.pauseListeners(),history.go(_e)}const be=to({location:"",base:P,go:oe,createHref:KE.bind(null,P)},N,J);return Object.defineProperty(be,"location",{enumerable:!0,get:()=>N.location.value}),Object.defineProperty(be,"state",{enumerable:!0,get:()=>N.state.value}),be}function aC(P){return P=location.host?P||location.pathname+location.search:"",P.includes("#")||(P+="#"),nC(P)}function iC(P){return typeof P=="string"||P&&typeof P=="object"}function OT(P){return typeof P=="string"||typeof P=="symbol"}const yh={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},zT=Symbol("");var xb;(function(P){P[P.aborted=4]="aborted",P[P.cancelled=8]="cancelled",P[P.duplicated=16]="duplicated"})(xb||(xb={}));function Tv(P,N){return to(new Error,{type:P,[zT]:!0},N)}function wc(P,N){return P instanceof Error&&zT in P&&(N==null||!!(P.type&N))}const bb="[^/]+?",oC={sensitive:!1,strict:!1,start:!0,end:!0},sC=/[.+*?^${}()[\]/\\]/g;function lC(P,N){const J=to({},oC,N),oe=[];let be=J.start?"^":"";const _e=[];for(const v of P){const E=v.length?[]:[90];J.strict&&!v.length&&(be+="/");for(let a=0;aN.length?N.length===1&&N[0]===40+40?1:-1:0}function fC(P,N){let J=0;const oe=P.score,be=N.score;for(;J0&&N[N.length-1]<0}const cC={type:0,value:""},hC=/[a-zA-Z0-9_]/;function dC(P){if(!P)return[[]];if(P==="/")return[[cC]];if(!P.startsWith("/"))throw new Error(`Invalid path "${P}"`);function N(w){throw new Error(`ERR (${J})/"${v}": ${w}`)}let J=0,oe=J;const be=[];let _e;function U(){_e&&be.push(_e),_e=[]}let B=0,e,v="",E="";function a(){v&&(J===0?_e.push({type:0,value:v}):J===1||J===2||J===3?(_e.length>1&&(e==="*"||e==="+")&&N(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),_e.push({type:1,value:v,regexp:E,repeatable:e==="*"||e==="+",optional:e==="*"||e==="?"})):N("Invalid state to consume buffer"),v="")}function C(){v+=e}for(;B{U(c)}:Cp}function U(E){if(OT(E)){const a=oe.get(E);a&&(oe.delete(E),J.splice(J.indexOf(a),1),a.children.forEach(U),a.alias.forEach(U))}else{const a=J.indexOf(E);a>-1&&(J.splice(a,1),E.record.name&&oe.delete(E.record.name),E.children.forEach(U),E.alias.forEach(U))}}function B(){return J}function e(E){let a=0;for(;a=0&&(E.record.path!==J[a].record.path||!BT(E,J[a]));)a++;J.splice(a,0,E),E.record.name&&!Ab(E)&&oe.set(E.record.name,E)}function v(E,a){let C,w={},d,p;if("name"in E&&E.name){if(C=oe.get(E.name),!C)throw Tv(1,{location:E});p=C.record.name,w=to(Tb(a.params,C.keys.filter(c=>!c.optional).map(c=>c.name)),E.params&&Tb(E.params,C.keys.map(c=>c.name))),d=C.stringify(w)}else if("path"in E)d=E.path,C=J.find(c=>c.re.test(d)),C&&(w=C.parse(d),p=C.record.name);else{if(C=a.name?oe.get(a.name):J.find(c=>c.re.test(a.path)),!C)throw Tv(1,{location:E,currentLocation:a});p=C.record.name,w=to({},a.params,E.params),d=C.stringify(w)}const t=[];let r=C;for(;r;)t.unshift(r.record),r=r.parent;return{name:p,path:d,params:w,matched:t,meta:mC(t)}}return P.forEach(E=>_e(E)),{addRoute:_e,resolve:v,removeRoute:U,getRoutes:B,getRecordMatcher:be}}function Tb(P,N){const J={};for(const oe of N)oe in P&&(J[oe]=P[oe]);return J}function gC(P){return{path:P.path,redirect:P.redirect,name:P.name,meta:P.meta||{},aliasOf:void 0,beforeEnter:P.beforeEnter,props:yC(P),children:P.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in P?P.components||null:P.component&&{default:P.component}}}function yC(P){const N={},J=P.props||!1;if("component"in P)N.default=J;else for(const oe in P.components)N[oe]=typeof J=="boolean"?J:J[oe];return N}function Ab(P){for(;P;){if(P.record.aliasOf)return!0;P=P.parent}return!1}function mC(P){return P.reduce((N,J)=>to(N,J.meta),{})}function Mb(P,N){const J={};for(const oe in P)J[oe]=oe in N?N[oe]:P[oe];return J}function BT(P,N){return N.children.some(J=>J===P||BT(P,J))}const NT=/#/g,xC=/&/g,bC=/\//g,wC=/=/g,TC=/\?/g,UT=/\+/g,AC=/%5B/g,MC=/%5D/g,HT=/%5E/g,SC=/%60/g,VT=/%7B/g,EC=/%7C/g,GT=/%7D/g,CC=/%20/g;function P1(P){return encodeURI(""+P).replace(EC,"|").replace(AC,"[").replace(MC,"]")}function LC(P){return P1(P).replace(VT,"{").replace(GT,"}").replace(HT,"^")}function Dm(P){return P1(P).replace(UT,"%2B").replace(CC,"+").replace(NT,"%23").replace(xC,"%26").replace(SC,"`").replace(VT,"{").replace(GT,"}").replace(HT,"^")}function _C(P){return Dm(P).replace(wC,"%3D")}function PC(P){return P1(P).replace(NT,"%23").replace(TC,"%3F")}function RC(P){return P==null?"":PC(P).replace(bC,"%2F")}function Tg(P){try{return decodeURIComponent(""+P)}catch{}return""+P}function IC(P){const N={};if(P===""||P==="?")return N;const oe=(P[0]==="?"?P.slice(1):P).split("&");for(let be=0;be_e&&Dm(_e)):[oe&&Dm(oe)]).forEach(_e=>{_e!==void 0&&(N+=(N.length?"&":"")+J,_e!=null&&(N+="="+_e))})}return N}function DC(P){const N={};for(const J in P){const oe=P[J];oe!==void 0&&(N[J]=af(oe)?oe.map(be=>be==null?null:""+be):oe==null?oe:""+oe)}return N}const kC=Symbol(""),Eb=Symbol(""),R1=Symbol(""),WT=Symbol(""),km=Symbol("");function pp(){let P=[];function N(oe){return P.push(oe),()=>{const be=P.indexOf(oe);be>-1&&P.splice(be,1)}}function J(){P=[]}return{add:N,list:()=>P,reset:J}}function Ah(P,N,J,oe,be){const _e=oe&&(oe.enterCallbacks[be]=oe.enterCallbacks[be]||[]);return()=>new Promise((U,B)=>{const e=a=>{a===!1?B(Tv(4,{from:J,to:N})):a instanceof Error?B(a):iC(a)?B(Tv(2,{from:N,to:a})):(_e&&oe.enterCallbacks[be]===_e&&typeof a=="function"&&_e.push(a),U())},v=P.call(oe&&oe.instances[be],N,J,e);let E=Promise.resolve(v);P.length<3&&(E=E.then(e)),E.catch(a=>B(a))})}function Qy(P,N,J,oe){const be=[];for(const _e of P)for(const U in _e.components){let B=_e.components[U];if(!(N!=="beforeRouteEnter"&&!_e.instances[U]))if(FC(B)){const v=(B.__vccOpts||B)[N];v&&be.push(Ah(v,J,oe,_e,U))}else{let e=B();be.push(()=>e.then(v=>{if(!v)return Promise.reject(new Error(`Couldn't resolve component "${U}" at "${_e.path}"`));const E=UE(v)?v.default:v;_e.components[U]=E;const C=(E.__vccOpts||E)[N];return C&&Ah(C,J,oe,_e,U)()}))}}return be}function FC(P){return typeof P=="object"||"displayName"in P||"props"in P||"__vccOpts"in P}function Cb(P){const N=si(R1),J=si(WT),oe=sn(()=>N.resolve(Ar(P.to))),be=sn(()=>{const{matched:e}=oe.value,{length:v}=e,E=e[v-1],a=J.matched;if(!E||!a.length)return-1;const C=a.findIndex(wv.bind(null,E));if(C>-1)return C;const w=Lb(e[v-2]);return v>1&&Lb(E)===w&&a[a.length-1].path!==w?a.findIndex(wv.bind(null,e[v-2])):C}),_e=sn(()=>be.value>-1&&NC(J.params,oe.value.params)),U=sn(()=>be.value>-1&&be.value===J.matched.length-1&&kT(J.params,oe.value.params));function B(e={}){return BC(e)?N[Ar(P.replace)?"replace":"push"](Ar(P.to)).catch(Cp):Promise.resolve()}return{route:oe,href:sn(()=>oe.value.href),isActive:_e,isExactActive:U,navigate:B}}const OC=Ca({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:Cb,setup(P,{slots:N}){const J=xs(Cb(P)),{options:oe}=si(R1),be=sn(()=>({[_b(P.activeClass,oe.linkActiveClass,"router-link-active")]:J.isActive,[_b(P.exactActiveClass,oe.linkExactActiveClass,"router-link-exact-active")]:J.isExactActive}));return()=>{const _e=N.default&&N.default(J);return P.custom?_e:zo("a",{"aria-current":J.isExactActive?P.ariaCurrentValue:null,href:J.href,onClick:J.navigate,class:be.value},_e)}}}),zC=OC;function BC(P){if(!(P.metaKey||P.altKey||P.ctrlKey||P.shiftKey)&&!P.defaultPrevented&&!(P.button!==void 0&&P.button!==0)){if(P.currentTarget&&P.currentTarget.getAttribute){const N=P.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(N))return}return P.preventDefault&&P.preventDefault(),!0}}function NC(P,N){for(const J in N){const oe=N[J],be=P[J];if(typeof oe=="string"){if(oe!==be)return!1}else if(!af(be)||be.length!==oe.length||oe.some((_e,U)=>_e!==be[U]))return!1}return!0}function Lb(P){return P?P.aliasOf?P.aliasOf.path:P.path:""}const _b=(P,N,J)=>P??N??J,UC=Ca({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(P,{attrs:N,slots:J}){const oe=si(km),be=sn(()=>P.route||oe.value),_e=si(Eb,0),U=sn(()=>{let v=Ar(_e);const{matched:E}=be.value;let a;for(;(a=E[v])&&!a.components;)v++;return v}),B=sn(()=>be.value.matched[U.value]);Bo(Eb,sn(()=>U.value+1)),Bo(kC,B),Bo(km,be);const e=ra();return ja(()=>[e.value,B.value,P.name],([v,E,a],[C,w,d])=>{E&&(E.instances[a]=v,w&&w!==E&&v&&v===C&&(E.leaveGuards.size||(E.leaveGuards=w.leaveGuards),E.updateGuards.size||(E.updateGuards=w.updateGuards))),v&&E&&(!w||!wv(E,w)||!C)&&(E.enterCallbacks[a]||[]).forEach(p=>p(v))},{flush:"post"}),()=>{const v=be.value,E=P.name,a=B.value,C=a&&a.components[E];if(!C)return Pb(J.default,{Component:C,route:v});const w=a.props[E],d=w?w===!0?v.params:typeof w=="function"?w(v):w:null,t=zo(C,to({},d,N,{onVnodeUnmounted:r=>{r.component.isUnmounted&&(a.instances[E]=null)},ref:e}));return Pb(J.default,{Component:t,route:v})||t}}});function Pb(P,N){if(!P)return null;const J=P(N);return J.length===1?J[0]:J}const HC=UC;function VC(P){const N=pC(P.routes,P),J=P.parseQuery||IC,oe=P.stringifyQuery||Sb,be=P.history,_e=pp(),U=pp(),B=pp(),e=_h(yh);let v=yh;fv&&P.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const E=$y.bind(null,z=>""+z),a=$y.bind(null,RC),C=$y.bind(null,Tg);function w(z,k){let V,Z;return OT(z)?(V=N.getRecordMatcher(z),Z=k):Z=z,N.addRoute(Z,V)}function d(z){const k=N.getRecordMatcher(z);k&&N.removeRoute(k)}function p(){return N.getRoutes().map(z=>z.record)}function t(z){return!!N.getRecordMatcher(z)}function r(z,k){if(k=to({},k||e.value),typeof z=="string"){const fe=Jy(J,z,k.path),$=N.resolve({path:fe.path},k),Y=be.createHref(fe.fullPath);return to(fe,$,{params:C($.params),hash:Tg(fe.hash),redirectedFrom:void 0,href:Y})}let V;if("path"in z)V=to({},z,{path:Jy(J,z.path,k.path).path});else{const fe=to({},z.params);for(const $ in fe)fe[$]==null&&delete fe[$];V=to({},z,{params:a(fe)}),k.params=a(k.params)}const Z=N.resolve(V,k),ee=z.hash||"";Z.params=E(C(Z.params));const Q=GE(oe,to({},z,{hash:LC(ee),path:Z.path})),ne=be.createHref(Q);return to({fullPath:Q,hash:ee,query:oe===Sb?DC(z.query):z.query||{}},Z,{redirectedFrom:void 0,href:ne})}function c(z){return typeof z=="string"?Jy(J,z,e.value.path):to({},z)}function o(z,k){if(v!==z)return Tv(8,{from:k,to:z})}function n(z){return g(z)}function u(z){return n(to(c(z),{replace:!0}))}function i(z){const k=z.matched[z.matched.length-1];if(k&&k.redirect){const{redirect:V}=k;let Z=typeof V=="function"?V(z):V;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=c(Z):{path:Z},Z.params={}),to({query:z.query,hash:z.hash,params:"path"in Z?{}:z.params},Z)}}function g(z,k){const V=v=r(z),Z=e.value,ee=z.state,Q=z.force,ne=z.replace===!0,fe=i(V);if(fe)return g(to(c(fe),{state:typeof fe=="object"?to({},ee,fe.state):ee,force:Q,replace:ne}),k||V);const $=V;$.redirectedFrom=k;let Y;return!Q&&WE(oe,Z,V)&&(Y=Tv(16,{to:$,from:Z}),A(Z,Z,!0,!1)),(Y?Promise.resolve(Y):f($,Z)).catch(j=>wc(j)?wc(j,2)?j:_(j):b(j,$,Z)).then(j=>{if(j){if(wc(j,2))return g(to({replace:ne},c(j.to),{state:typeof j.to=="object"?to({},ee,j.to.state):ee,force:Q}),k||$)}else j=y($,Z,!0,ne,ee);return l($,Z,j),j})}function h(z,k){const V=o(z,k);return V?Promise.reject(V):Promise.resolve()}function x(z){const k=G.values().next().value;return k&&typeof k.runWithContext=="function"?k.runWithContext(z):z()}function f(z,k){let V;const[Z,ee,Q]=GC(z,k);V=Qy(Z.reverse(),"beforeRouteLeave",z,k);for(const fe of Z)fe.leaveGuards.forEach($=>{V.push(Ah($,z,k))});const ne=h.bind(null,z,k);return V.push(ne),H(V).then(()=>{V=[];for(const fe of _e.list())V.push(Ah(fe,z,k));return V.push(ne),H(V)}).then(()=>{V=Qy(ee,"beforeRouteUpdate",z,k);for(const fe of ee)fe.updateGuards.forEach($=>{V.push(Ah($,z,k))});return V.push(ne),H(V)}).then(()=>{V=[];for(const fe of z.matched)if(fe.beforeEnter&&!k.matched.includes(fe))if(af(fe.beforeEnter))for(const $ of fe.beforeEnter)V.push(Ah($,z,k));else V.push(Ah(fe.beforeEnter,z,k));return V.push(ne),H(V)}).then(()=>(z.matched.forEach(fe=>fe.enterCallbacks={}),V=Qy(Q,"beforeRouteEnter",z,k),V.push(ne),H(V))).then(()=>{V=[];for(const fe of U.list())V.push(Ah(fe,z,k));return V.push(ne),H(V)}).catch(fe=>wc(fe,8)?fe:Promise.reject(fe))}function l(z,k,V){for(const Z of B.list())x(()=>Z(z,k,V))}function y(z,k,V,Z,ee){const Q=o(z,k);if(Q)return Q;const ne=k===yh,fe=fv?history.state:{};V&&(Z||ne?be.replace(z.fullPath,to({scroll:ne&&fe&&fe.scroll},ee)):be.push(z.fullPath,ee)),e.value=z,A(z,k,V,ne),_()}let T;function S(){T||(T=be.listen((z,k,V)=>{if(!O.listening)return;const Z=r(z),ee=i(Z);if(ee){g(to(ee,{replace:!0}),Z).catch(Cp);return}v=Z;const Q=e.value;fv&&QE(yb(Q.fullPath,V.delta),Zg()),f(Z,Q).catch(ne=>wc(ne,12)?ne:wc(ne,2)?(g(ne.to,Z).then(fe=>{wc(fe,20)&&!V.delta&&V.type===Vp.pop&&be.go(-1,!1)}).catch(Cp),Promise.reject()):(V.delta&&be.go(-V.delta,!1),b(ne,Z,Q))).then(ne=>{ne=ne||y(Z,Q,!1),ne&&(V.delta&&!wc(ne,8)?be.go(-V.delta,!1):V.type===Vp.pop&&wc(ne,20)&&be.go(-1,!1)),l(Z,Q,ne)}).catch(Cp)}))}let L=pp(),m=pp(),M;function b(z,k,V){_(z);const Z=m.list();return Z.length?Z.forEach(ee=>ee(z,k,V)):console.error(z),Promise.reject(z)}function s(){return M&&e.value!==yh?Promise.resolve():new Promise((z,k)=>{L.add([z,k])})}function _(z){return M||(M=!z,S(),L.list().forEach(([k,V])=>z?V(z):k()),L.reset()),z}function A(z,k,V,Z){const{scrollBehavior:ee}=P;if(!fv||!ee)return Promise.resolve();const Q=!V&&qE(yb(z.fullPath,0))||(Z||!V)&&history.state&&history.state.scroll||null;return Ii().then(()=>ee(z,k,Q)).then(ne=>ne&&JE(ne)).catch(ne=>b(ne,z,k))}const D=z=>be.go(z);let F;const G=new Set,O={currentRoute:e,listening:!0,addRoute:w,removeRoute:d,hasRoute:t,getRoutes:p,resolve:r,options:P,push:n,replace:u,go:D,back:()=>D(-1),forward:()=>D(1),beforeEach:_e.add,beforeResolve:U.add,afterEach:B.add,onError:m.add,isReady:s,install(z){const k=this;z.component("RouterLink",zC),z.component("RouterView",HC),z.config.globalProperties.$router=k,Object.defineProperty(z.config.globalProperties,"$route",{enumerable:!0,get:()=>Ar(e)}),fv&&!F&&e.value===yh&&(F=!0,n(be.location).catch(ee=>{}));const V={};for(const ee in yh)V[ee]=sn(()=>e.value[ee]);z.provide(R1,k),z.provide(WT,xs(V)),z.provide(km,e);const Z=z.unmount;G.add(z),z.unmount=function(){G.delete(z),G.size<1&&(v=yh,T&&T(),T=null,e.value=yh,F=!1,M=!1),Z()}}};function H(z){return z.reduce((k,V)=>k.then(()=>x(V)),Promise.resolve())}return O}function GC(P,N){const J=[],oe=[],be=[],_e=Math.max(N.matched.length,P.matched.length);for(let U=0;U<_e;U++){const B=N.matched[U];B&&(P.matched.find(v=>wv(v,B))?oe.push(B):J.push(B));const e=P.matched[U];e&&(N.matched.find(v=>wv(v,e))||be.push(e))}return[J,oe,be]}function jT(P,N){return function(){return P.apply(N,arguments)}}const{toString:WC}=Object.prototype,{getPrototypeOf:I1}=Object,Xg=(P=>N=>{const J=WC.call(N);return P[J]||(P[J]=J.slice(8,-1).toLowerCase())})(Object.create(null)),Wf=P=>(P=P.toLowerCase(),N=>Xg(N)===P),Kg=P=>N=>typeof N===P,{isArray:Bv}=Array,Gp=Kg("undefined");function jC(P){return P!==null&&!Gp(P)&&P.constructor!==null&&!Gp(P.constructor)&&Tu(P.constructor.isBuffer)&&P.constructor.isBuffer(P)}const YT=Wf("ArrayBuffer");function YC(P){let N;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?N=ArrayBuffer.isView(P):N=P&&P.buffer&&YT(P.buffer),N}const ZC=Kg("string"),Tu=Kg("function"),ZT=Kg("number"),$g=P=>P!==null&&typeof P=="object",XC=P=>P===!0||P===!1,ig=P=>{if(Xg(P)!=="object")return!1;const N=I1(P);return(N===null||N===Object.prototype||Object.getPrototypeOf(N)===null)&&!(Symbol.toStringTag in P)&&!(Symbol.iterator in P)},KC=Wf("Date"),$C=Wf("File"),JC=Wf("Blob"),QC=Wf("FileList"),qC=P=>$g(P)&&Tu(P.pipe),e7=P=>{let N;return P&&(typeof FormData=="function"&&P instanceof FormData||Tu(P.append)&&((N=Xg(P))==="formdata"||N==="object"&&Tu(P.toString)&&P.toString()==="[object FormData]"))},t7=Wf("URLSearchParams"),r7=P=>P.trim?P.trim():P.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function e0(P,N,{allOwnKeys:J=!1}={}){if(P===null||typeof P>"u")return;let oe,be;if(typeof P!="object"&&(P=[P]),Bv(P))for(oe=0,be=P.length;oe0;)if(be=J[oe],N===be.toLowerCase())return be;return null}const KT=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$T=P=>!Gp(P)&&P!==KT;function Fm(){const{caseless:P}=$T(this)&&this||{},N={},J=(oe,be)=>{const _e=P&&XT(N,be)||be;ig(N[_e])&&ig(oe)?N[_e]=Fm(N[_e],oe):ig(oe)?N[_e]=Fm({},oe):Bv(oe)?N[_e]=oe.slice():N[_e]=oe};for(let oe=0,be=arguments.length;oe(e0(N,(be,_e)=>{J&&Tu(be)?P[_e]=jT(be,J):P[_e]=be},{allOwnKeys:oe}),P),a7=P=>(P.charCodeAt(0)===65279&&(P=P.slice(1)),P),i7=(P,N,J,oe)=>{P.prototype=Object.create(N.prototype,oe),P.prototype.constructor=P,Object.defineProperty(P,"super",{value:N.prototype}),J&&Object.assign(P.prototype,J)},o7=(P,N,J,oe)=>{let be,_e,U;const B={};if(N=N||{},P==null)return N;do{for(be=Object.getOwnPropertyNames(P),_e=be.length;_e-- >0;)U=be[_e],(!oe||oe(U,P,N))&&!B[U]&&(N[U]=P[U],B[U]=!0);P=J!==!1&&I1(P)}while(P&&(!J||J(P,N))&&P!==Object.prototype);return N},s7=(P,N,J)=>{P=String(P),(J===void 0||J>P.length)&&(J=P.length),J-=N.length;const oe=P.indexOf(N,J);return oe!==-1&&oe===J},l7=P=>{if(!P)return null;if(Bv(P))return P;let N=P.length;if(!ZT(N))return null;const J=new Array(N);for(;N-- >0;)J[N]=P[N];return J},u7=(P=>N=>P&&N instanceof P)(typeof Uint8Array<"u"&&I1(Uint8Array)),f7=(P,N)=>{const oe=(P&&P[Symbol.iterator]).call(P);let be;for(;(be=oe.next())&&!be.done;){const _e=be.value;N.call(P,_e[0],_e[1])}},c7=(P,N)=>{let J;const oe=[];for(;(J=P.exec(N))!==null;)oe.push(J);return oe},h7=Wf("HTMLFormElement"),d7=P=>P.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(J,oe,be){return oe.toUpperCase()+be}),Rb=(({hasOwnProperty:P})=>(N,J)=>P.call(N,J))(Object.prototype),v7=Wf("RegExp"),JT=(P,N)=>{const J=Object.getOwnPropertyDescriptors(P),oe={};e0(J,(be,_e)=>{N(be,_e,P)!==!1&&(oe[_e]=be)}),Object.defineProperties(P,oe)},p7=P=>{JT(P,(N,J)=>{if(Tu(P)&&["arguments","caller","callee"].indexOf(J)!==-1)return!1;const oe=P[J];if(Tu(oe)){if(N.enumerable=!1,"writable"in N){N.writable=!1;return}N.set||(N.set=()=>{throw Error("Can not rewrite read-only method '"+J+"'")})}})},g7=(P,N)=>{const J={},oe=be=>{be.forEach(_e=>{J[_e]=!0})};return Bv(P)?oe(P):oe(String(P).split(N)),J},y7=()=>{},m7=(P,N)=>(P=+P,Number.isFinite(P)?P:N),qy="abcdefghijklmnopqrstuvwxyz",Ib="0123456789",QT={DIGIT:Ib,ALPHA:qy,ALPHA_DIGIT:qy+qy.toUpperCase()+Ib},x7=(P=16,N=QT.ALPHA_DIGIT)=>{let J="";const{length:oe}=N;for(;P--;)J+=N[Math.random()*oe|0];return J};function b7(P){return!!(P&&Tu(P.append)&&P[Symbol.toStringTag]==="FormData"&&P[Symbol.iterator])}const w7=P=>{const N=new Array(10),J=(oe,be)=>{if($g(oe)){if(N.indexOf(oe)>=0)return;if(!("toJSON"in oe)){N[be]=oe;const _e=Bv(oe)?[]:{};return e0(oe,(U,B)=>{const e=J(U,be+1);!Gp(e)&&(_e[B]=e)}),N[be]=void 0,_e}}return oe};return J(P,0)},T7=Wf("AsyncFunction"),A7=P=>P&&($g(P)||Tu(P))&&Tu(P.then)&&Tu(P.catch),$n={isArray:Bv,isArrayBuffer:YT,isBuffer:jC,isFormData:e7,isArrayBufferView:YC,isString:ZC,isNumber:ZT,isBoolean:XC,isObject:$g,isPlainObject:ig,isUndefined:Gp,isDate:KC,isFile:$C,isBlob:JC,isRegExp:v7,isFunction:Tu,isStream:qC,isURLSearchParams:t7,isTypedArray:u7,isFileList:QC,forEach:e0,merge:Fm,extend:n7,trim:r7,stripBOM:a7,inherits:i7,toFlatObject:o7,kindOf:Xg,kindOfTest:Wf,endsWith:s7,toArray:l7,forEachEntry:f7,matchAll:c7,isHTMLForm:h7,hasOwnProperty:Rb,hasOwnProp:Rb,reduceDescriptors:JT,freezeMethods:p7,toObjectSet:g7,toCamelCase:d7,noop:y7,toFiniteNumber:m7,findKey:XT,global:KT,isContextDefined:$T,ALPHABET:QT,generateString:x7,isSpecCompliantForm:b7,toJSONObject:w7,isAsyncFn:T7,isThenable:A7};function Wi(P,N,J,oe,be){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=P,this.name="AxiosError",N&&(this.code=N),J&&(this.config=J),oe&&(this.request=oe),be&&(this.response=be)}$n.inherits(Wi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$n.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const qT=Wi.prototype,e5={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(P=>{e5[P]={value:P}});Object.defineProperties(Wi,e5);Object.defineProperty(qT,"isAxiosError",{value:!0});Wi.from=(P,N,J,oe,be,_e)=>{const U=Object.create(qT);return $n.toFlatObject(P,U,function(e){return e!==Error.prototype},B=>B!=="isAxiosError"),Wi.call(U,P.message,N,J,oe,be),U.cause=P,U.name=P.name,_e&&Object.assign(U,_e),U};const M7=null;function Om(P){return $n.isPlainObject(P)||$n.isArray(P)}function t5(P){return $n.endsWith(P,"[]")?P.slice(0,-2):P}function Db(P,N,J){return P?P.concat(N).map(function(be,_e){return be=t5(be),!J&&_e?"["+be+"]":be}).join(J?".":""):N}function S7(P){return $n.isArray(P)&&!P.some(Om)}const E7=$n.toFlatObject($n,{},null,function(N){return/^is[A-Z]/.test(N)});function Jg(P,N,J){if(!$n.isObject(P))throw new TypeError("target must be an object");N=N||new FormData,J=$n.toFlatObject(J,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,t){return!$n.isUndefined(t[p])});const oe=J.metaTokens,be=J.visitor||E,_e=J.dots,U=J.indexes,e=(J.Blob||typeof Blob<"u"&&Blob)&&$n.isSpecCompliantForm(N);if(!$n.isFunction(be))throw new TypeError("visitor must be a function");function v(d){if(d===null)return"";if($n.isDate(d))return d.toISOString();if(!e&&$n.isBlob(d))throw new Wi("Blob is not supported. Use a Buffer instead.");return $n.isArrayBuffer(d)||$n.isTypedArray(d)?e&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function E(d,p,t){let r=d;if(d&&!t&&typeof d=="object"){if($n.endsWith(p,"{}"))p=oe?p:p.slice(0,-2),d=JSON.stringify(d);else if($n.isArray(d)&&S7(d)||($n.isFileList(d)||$n.endsWith(p,"[]"))&&(r=$n.toArray(d)))return p=t5(p),r.forEach(function(o,n){!($n.isUndefined(o)||o===null)&&N.append(U===!0?Db([p],n,_e):U===null?p:p+"[]",v(o))}),!1}return Om(d)?!0:(N.append(Db(t,p,_e),v(d)),!1)}const a=[],C=Object.assign(E7,{defaultVisitor:E,convertValue:v,isVisitable:Om});function w(d,p){if(!$n.isUndefined(d)){if(a.indexOf(d)!==-1)throw Error("Circular reference detected in "+p.join("."));a.push(d),$n.forEach(d,function(r,c){(!($n.isUndefined(r)||r===null)&&be.call(N,r,$n.isString(c)?c.trim():c,p,C))===!0&&w(r,p?p.concat(c):[c])}),a.pop()}}if(!$n.isObject(P))throw new TypeError("data must be an object");return w(P),N}function kb(P){const N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(P).replace(/[!'()~]|%20|%00/g,function(oe){return N[oe]})}function D1(P,N){this._pairs=[],P&&Jg(P,this,N)}const r5=D1.prototype;r5.append=function(N,J){this._pairs.push([N,J])};r5.toString=function(N){const J=N?function(oe){return N.call(this,oe,kb)}:kb;return this._pairs.map(function(be){return J(be[0])+"="+J(be[1])},"").join("&")};function C7(P){return encodeURIComponent(P).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function n5(P,N,J){if(!N)return P;const oe=J&&J.encode||C7,be=J&&J.serialize;let _e;if(be?_e=be(N,J):_e=$n.isURLSearchParams(N)?N.toString():new D1(N,J).toString(oe),_e){const U=P.indexOf("#");U!==-1&&(P=P.slice(0,U)),P+=(P.indexOf("?")===-1?"?":"&")+_e}return P}class L7{constructor(){this.handlers=[]}use(N,J,oe){return this.handlers.push({fulfilled:N,rejected:J,synchronous:oe?oe.synchronous:!1,runWhen:oe?oe.runWhen:null}),this.handlers.length-1}eject(N){this.handlers[N]&&(this.handlers[N]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(N){$n.forEach(this.handlers,function(oe){oe!==null&&N(oe)})}}const Fb=L7,a5={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_7=typeof URLSearchParams<"u"?URLSearchParams:D1,P7=typeof FormData<"u"?FormData:null,R7=typeof Blob<"u"?Blob:null,I7=(()=>{let P;return typeof navigator<"u"&&((P=navigator.product)==="ReactNative"||P==="NativeScript"||P==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),D7=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Bf={isBrowser:!0,classes:{URLSearchParams:_7,FormData:P7,Blob:R7},isStandardBrowserEnv:I7,isStandardBrowserWebWorkerEnv:D7,protocols:["http","https","file","blob","url","data"]};function k7(P,N){return Jg(P,new Bf.classes.URLSearchParams,Object.assign({visitor:function(J,oe,be,_e){return Bf.isNode&&$n.isBuffer(J)?(this.append(oe,J.toString("base64")),!1):_e.defaultVisitor.apply(this,arguments)}},N))}function F7(P){return $n.matchAll(/\w+|\[(\w*)]/g,P).map(N=>N[0]==="[]"?"":N[1]||N[0])}function O7(P){const N={},J=Object.keys(P);let oe;const be=J.length;let _e;for(oe=0;oe=J.length;return U=!U&&$n.isArray(be)?be.length:U,e?($n.hasOwnProp(be,U)?be[U]=[be[U],oe]:be[U]=oe,!B):((!be[U]||!$n.isObject(be[U]))&&(be[U]=[]),N(J,oe,be[U],_e)&&$n.isArray(be[U])&&(be[U]=O7(be[U])),!B)}if($n.isFormData(P)&&$n.isFunction(P.entries)){const J={};return $n.forEachEntry(P,(oe,be)=>{N(F7(oe),be,J,0)}),J}return null}const z7={"Content-Type":void 0};function B7(P,N,J){if($n.isString(P))try{return(N||JSON.parse)(P),$n.trim(P)}catch(oe){if(oe.name!=="SyntaxError")throw oe}return(J||JSON.stringify)(P)}const Qg={transitional:a5,adapter:["xhr","http"],transformRequest:[function(N,J){const oe=J.getContentType()||"",be=oe.indexOf("application/json")>-1,_e=$n.isObject(N);if(_e&&$n.isHTMLForm(N)&&(N=new FormData(N)),$n.isFormData(N))return be&&be?JSON.stringify(i5(N)):N;if($n.isArrayBuffer(N)||$n.isBuffer(N)||$n.isStream(N)||$n.isFile(N)||$n.isBlob(N))return N;if($n.isArrayBufferView(N))return N.buffer;if($n.isURLSearchParams(N))return J.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),N.toString();let B;if(_e){if(oe.indexOf("application/x-www-form-urlencoded")>-1)return k7(N,this.formSerializer).toString();if((B=$n.isFileList(N))||oe.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Jg(B?{"files[]":N}:N,e&&new e,this.formSerializer)}}return _e||be?(J.setContentType("application/json",!1),B7(N)):N}],transformResponse:[function(N){const J=this.transitional||Qg.transitional,oe=J&&J.forcedJSONParsing,be=this.responseType==="json";if(N&&$n.isString(N)&&(oe&&!this.responseType||be)){const U=!(J&&J.silentJSONParsing)&&be;try{return JSON.parse(N)}catch(B){if(U)throw B.name==="SyntaxError"?Wi.from(B,Wi.ERR_BAD_RESPONSE,this,null,this.response):B}}return N}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bf.classes.FormData,Blob:Bf.classes.Blob},validateStatus:function(N){return N>=200&&N<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};$n.forEach(["delete","get","head"],function(N){Qg.headers[N]={}});$n.forEach(["post","put","patch"],function(N){Qg.headers[N]=$n.merge(z7)});const k1=Qg,N7=$n.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),U7=P=>{const N={};let J,oe,be;return P&&P.split(`
+`).forEach(function(U){be=U.indexOf(":"),J=U.substring(0,be).trim().toLowerCase(),oe=U.substring(be+1).trim(),!(!J||N[J]&&N7[J])&&(J==="set-cookie"?N[J]?N[J].push(oe):N[J]=[oe]:N[J]=N[J]?N[J]+", "+oe:oe)}),N},Ob=Symbol("internals");function gp(P){return P&&String(P).trim().toLowerCase()}function og(P){return P===!1||P==null?P:$n.isArray(P)?P.map(og):String(P)}function H7(P){const N=Object.create(null),J=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let oe;for(;oe=J.exec(P);)N[oe[1]]=oe[2];return N}const V7=P=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(P.trim());function em(P,N,J,oe,be){if($n.isFunction(oe))return oe.call(this,N,J);if(be&&(N=J),!!$n.isString(N)){if($n.isString(oe))return N.indexOf(oe)!==-1;if($n.isRegExp(oe))return oe.test(N)}}function G7(P){return P.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(N,J,oe)=>J.toUpperCase()+oe)}function W7(P,N){const J=$n.toCamelCase(" "+N);["get","set","has"].forEach(oe=>{Object.defineProperty(P,oe+J,{value:function(be,_e,U){return this[oe].call(this,N,be,_e,U)},configurable:!0})})}class qg{constructor(N){N&&this.set(N)}set(N,J,oe){const be=this;function _e(B,e,v){const E=gp(e);if(!E)throw new Error("header name must be a non-empty string");const a=$n.findKey(be,E);(!a||be[a]===void 0||v===!0||v===void 0&&be[a]!==!1)&&(be[a||e]=og(B))}const U=(B,e)=>$n.forEach(B,(v,E)=>_e(v,E,e));return $n.isPlainObject(N)||N instanceof this.constructor?U(N,J):$n.isString(N)&&(N=N.trim())&&!V7(N)?U(U7(N),J):N!=null&&_e(J,N,oe),this}get(N,J){if(N=gp(N),N){const oe=$n.findKey(this,N);if(oe){const be=this[oe];if(!J)return be;if(J===!0)return H7(be);if($n.isFunction(J))return J.call(this,be,oe);if($n.isRegExp(J))return J.exec(be);throw new TypeError("parser must be boolean|regexp|function")}}}has(N,J){if(N=gp(N),N){const oe=$n.findKey(this,N);return!!(oe&&this[oe]!==void 0&&(!J||em(this,this[oe],oe,J)))}return!1}delete(N,J){const oe=this;let be=!1;function _e(U){if(U=gp(U),U){const B=$n.findKey(oe,U);B&&(!J||em(oe,oe[B],B,J))&&(delete oe[B],be=!0)}}return $n.isArray(N)?N.forEach(_e):_e(N),be}clear(N){const J=Object.keys(this);let oe=J.length,be=!1;for(;oe--;){const _e=J[oe];(!N||em(this,this[_e],_e,N,!0))&&(delete this[_e],be=!0)}return be}normalize(N){const J=this,oe={};return $n.forEach(this,(be,_e)=>{const U=$n.findKey(oe,_e);if(U){J[U]=og(be),delete J[_e];return}const B=N?G7(_e):String(_e).trim();B!==_e&&delete J[_e],J[B]=og(be),oe[B]=!0}),this}concat(...N){return this.constructor.concat(this,...N)}toJSON(N){const J=Object.create(null);return $n.forEach(this,(oe,be)=>{oe!=null&&oe!==!1&&(J[be]=N&&$n.isArray(oe)?oe.join(", "):oe)}),J}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([N,J])=>N+": "+J).join(`
+`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(N){return N instanceof this?N:new this(N)}static concat(N,...J){const oe=new this(N);return J.forEach(be=>oe.set(be)),oe}static accessor(N){const oe=(this[Ob]=this[Ob]={accessors:{}}).accessors,be=this.prototype;function _e(U){const B=gp(U);oe[B]||(W7(be,U),oe[B]=!0)}return $n.isArray(N)?N.forEach(_e):_e(N),this}}qg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$n.freezeMethods(qg.prototype);$n.freezeMethods(qg);const Cc=qg;function tm(P,N){const J=this||k1,oe=N||J,be=Cc.from(oe.headers);let _e=oe.data;return $n.forEach(P,function(B){_e=B.call(J,_e,be.normalize(),N?N.status:void 0)}),be.normalize(),_e}function o5(P){return!!(P&&P.__CANCEL__)}function t0(P,N,J){Wi.call(this,P??"canceled",Wi.ERR_CANCELED,N,J),this.name="CanceledError"}$n.inherits(t0,Wi,{__CANCEL__:!0});function j7(P,N,J){const oe=J.config.validateStatus;!J.status||!oe||oe(J.status)?P(J):N(new Wi("Request failed with status code "+J.status,[Wi.ERR_BAD_REQUEST,Wi.ERR_BAD_RESPONSE][Math.floor(J.status/100)-4],J.config,J.request,J))}const Y7=Bf.isStandardBrowserEnv?function(){return{write:function(J,oe,be,_e,U,B){const e=[];e.push(J+"="+encodeURIComponent(oe)),$n.isNumber(be)&&e.push("expires="+new Date(be).toGMTString()),$n.isString(_e)&&e.push("path="+_e),$n.isString(U)&&e.push("domain="+U),B===!0&&e.push("secure"),document.cookie=e.join("; ")},read:function(J){const oe=document.cookie.match(new RegExp("(^|;\\s*)("+J+")=([^;]*)"));return oe?decodeURIComponent(oe[3]):null},remove:function(J){this.write(J,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Z7(P){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(P)}function X7(P,N){return N?P.replace(/\/+$/,"")+"/"+N.replace(/^\/+/,""):P}function s5(P,N){return P&&!Z7(N)?X7(P,N):N}const K7=Bf.isStandardBrowserEnv?function(){const N=/(msie|trident)/i.test(navigator.userAgent),J=document.createElement("a");let oe;function be(_e){let U=_e;return N&&(J.setAttribute("href",U),U=J.href),J.setAttribute("href",U),{href:J.href,protocol:J.protocol?J.protocol.replace(/:$/,""):"",host:J.host,search:J.search?J.search.replace(/^\?/,""):"",hash:J.hash?J.hash.replace(/^#/,""):"",hostname:J.hostname,port:J.port,pathname:J.pathname.charAt(0)==="/"?J.pathname:"/"+J.pathname}}return oe=be(window.location.href),function(U){const B=$n.isString(U)?be(U):U;return B.protocol===oe.protocol&&B.host===oe.host}}():function(){return function(){return!0}}();function $7(P){const N=/^([-+\w]{1,25})(:?\/\/|:)/.exec(P);return N&&N[1]||""}function J7(P,N){P=P||10;const J=new Array(P),oe=new Array(P);let be=0,_e=0,U;return N=N!==void 0?N:1e3,function(e){const v=Date.now(),E=oe[_e];U||(U=v),J[be]=e,oe[be]=v;let a=_e,C=0;for(;a!==be;)C+=J[a++],a=a%P;if(be=(be+1)%P,be===_e&&(_e=(_e+1)%P),v-U{const _e=be.loaded,U=be.lengthComputable?be.total:void 0,B=_e-J,e=oe(B),v=_e<=U;J=_e;const E={loaded:_e,total:U,progress:U?_e/U:void 0,bytes:B,rate:e||void 0,estimated:e&&U&&v?(U-_e)/e:void 0,event:be};E[N?"download":"upload"]=!0,P(E)}}const Q7=typeof XMLHttpRequest<"u",q7=Q7&&function(P){return new Promise(function(J,oe){let be=P.data;const _e=Cc.from(P.headers).normalize(),U=P.responseType;let B;function e(){P.cancelToken&&P.cancelToken.unsubscribe(B),P.signal&&P.signal.removeEventListener("abort",B)}$n.isFormData(be)&&(Bf.isStandardBrowserEnv||Bf.isStandardBrowserWebWorkerEnv?_e.setContentType(!1):_e.setContentType("multipart/form-data;",!1));let v=new XMLHttpRequest;if(P.auth){const w=P.auth.username||"",d=P.auth.password?unescape(encodeURIComponent(P.auth.password)):"";_e.set("Authorization","Basic "+btoa(w+":"+d))}const E=s5(P.baseURL,P.url);v.open(P.method.toUpperCase(),n5(E,P.params,P.paramsSerializer),!0),v.timeout=P.timeout;function a(){if(!v)return;const w=Cc.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),p={data:!U||U==="text"||U==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:w,config:P,request:v};j7(function(r){J(r),e()},function(r){oe(r),e()},p),v=null}if("onloadend"in v?v.onloadend=a:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(a)},v.onabort=function(){v&&(oe(new Wi("Request aborted",Wi.ECONNABORTED,P,v)),v=null)},v.onerror=function(){oe(new Wi("Network Error",Wi.ERR_NETWORK,P,v)),v=null},v.ontimeout=function(){let d=P.timeout?"timeout of "+P.timeout+"ms exceeded":"timeout exceeded";const p=P.transitional||a5;P.timeoutErrorMessage&&(d=P.timeoutErrorMessage),oe(new Wi(d,p.clarifyTimeoutError?Wi.ETIMEDOUT:Wi.ECONNABORTED,P,v)),v=null},Bf.isStandardBrowserEnv){const w=(P.withCredentials||K7(E))&&P.xsrfCookieName&&Y7.read(P.xsrfCookieName);w&&_e.set(P.xsrfHeaderName,w)}be===void 0&&_e.setContentType(null),"setRequestHeader"in v&&$n.forEach(_e.toJSON(),function(d,p){v.setRequestHeader(p,d)}),$n.isUndefined(P.withCredentials)||(v.withCredentials=!!P.withCredentials),U&&U!=="json"&&(v.responseType=P.responseType),typeof P.onDownloadProgress=="function"&&v.addEventListener("progress",zb(P.onDownloadProgress,!0)),typeof P.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",zb(P.onUploadProgress)),(P.cancelToken||P.signal)&&(B=w=>{v&&(oe(!w||w.type?new t0(null,P,v):w),v.abort(),v=null)},P.cancelToken&&P.cancelToken.subscribe(B),P.signal&&(P.signal.aborted?B():P.signal.addEventListener("abort",B)));const C=$7(E);if(C&&Bf.protocols.indexOf(C)===-1){oe(new Wi("Unsupported protocol "+C+":",Wi.ERR_BAD_REQUEST,P));return}v.send(be||null)})},sg={http:M7,xhr:q7};$n.forEach(sg,(P,N)=>{if(P){try{Object.defineProperty(P,"name",{value:N})}catch{}Object.defineProperty(P,"adapterName",{value:N})}});const eL={getAdapter:P=>{P=$n.isArray(P)?P:[P];const{length:N}=P;let J,oe;for(let be=0;beP instanceof Cc?P.toJSON():P;function Av(P,N){N=N||{};const J={};function oe(v,E,a){return $n.isPlainObject(v)&&$n.isPlainObject(E)?$n.merge.call({caseless:a},v,E):$n.isPlainObject(E)?$n.merge({},E):$n.isArray(E)?E.slice():E}function be(v,E,a){if($n.isUndefined(E)){if(!$n.isUndefined(v))return oe(void 0,v,a)}else return oe(v,E,a)}function _e(v,E){if(!$n.isUndefined(E))return oe(void 0,E)}function U(v,E){if($n.isUndefined(E)){if(!$n.isUndefined(v))return oe(void 0,v)}else return oe(void 0,E)}function B(v,E,a){if(a in N)return oe(v,E);if(a in P)return oe(void 0,v)}const e={url:_e,method:_e,data:_e,baseURL:U,transformRequest:U,transformResponse:U,paramsSerializer:U,timeout:U,timeoutMessage:U,withCredentials:U,adapter:U,responseType:U,xsrfCookieName:U,xsrfHeaderName:U,onUploadProgress:U,onDownloadProgress:U,decompress:U,maxContentLength:U,maxBodyLength:U,beforeRedirect:U,transport:U,httpAgent:U,httpsAgent:U,cancelToken:U,socketPath:U,responseEncoding:U,validateStatus:B,headers:(v,E)=>be(Nb(v),Nb(E),!0)};return $n.forEach(Object.keys(Object.assign({},P,N)),function(E){const a=e[E]||be,C=a(P[E],N[E],E);$n.isUndefined(C)&&a!==B||(J[E]=C)}),J}const l5="1.4.0",F1={};["object","boolean","number","function","string","symbol"].forEach((P,N)=>{F1[P]=function(oe){return typeof oe===P||"a"+(N<1?"n ":" ")+P}});const Ub={};F1.transitional=function(N,J,oe){function be(_e,U){return"[Axios v"+l5+"] Transitional option '"+_e+"'"+U+(oe?". "+oe:"")}return(_e,U,B)=>{if(N===!1)throw new Wi(be(U," has been removed"+(J?" in "+J:"")),Wi.ERR_DEPRECATED);return J&&!Ub[U]&&(Ub[U]=!0,console.warn(be(U," has been deprecated since v"+J+" and will be removed in the near future"))),N?N(_e,U,B):!0}};function tL(P,N,J){if(typeof P!="object")throw new Wi("options must be an object",Wi.ERR_BAD_OPTION_VALUE);const oe=Object.keys(P);let be=oe.length;for(;be-- >0;){const _e=oe[be],U=N[_e];if(U){const B=P[_e],e=B===void 0||U(B,_e,P);if(e!==!0)throw new Wi("option "+_e+" must be "+e,Wi.ERR_BAD_OPTION_VALUE);continue}if(J!==!0)throw new Wi("Unknown option "+_e,Wi.ERR_BAD_OPTION)}}const zm={assertOptions:tL,validators:F1},mh=zm.validators;class Ag{constructor(N){this.defaults=N,this.interceptors={request:new Fb,response:new Fb}}request(N,J){typeof N=="string"?(J=J||{},J.url=N):J=N||{},J=Av(this.defaults,J);const{transitional:oe,paramsSerializer:be,headers:_e}=J;oe!==void 0&&zm.assertOptions(oe,{silentJSONParsing:mh.transitional(mh.boolean),forcedJSONParsing:mh.transitional(mh.boolean),clarifyTimeoutError:mh.transitional(mh.boolean)},!1),be!=null&&($n.isFunction(be)?J.paramsSerializer={serialize:be}:zm.assertOptions(be,{encode:mh.function,serialize:mh.function},!0)),J.method=(J.method||this.defaults.method||"get").toLowerCase();let U;U=_e&&$n.merge(_e.common,_e[J.method]),U&&$n.forEach(["delete","get","head","post","put","patch","common"],d=>{delete _e[d]}),J.headers=Cc.concat(U,_e);const B=[];let e=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(J)===!1||(e=e&&p.synchronous,B.unshift(p.fulfilled,p.rejected))});const v=[];this.interceptors.response.forEach(function(p){v.push(p.fulfilled,p.rejected)});let E,a=0,C;if(!e){const d=[Bb.bind(this),void 0];for(d.unshift.apply(d,B),d.push.apply(d,v),C=d.length,E=Promise.resolve(J);a{if(!oe._listeners)return;let _e=oe._listeners.length;for(;_e-- >0;)oe._listeners[_e](be);oe._listeners=null}),this.promise.then=be=>{let _e;const U=new Promise(B=>{oe.subscribe(B),_e=B}).then(be);return U.cancel=function(){oe.unsubscribe(_e)},U},N(function(_e,U,B){oe.reason||(oe.reason=new t0(_e,U,B),J(oe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(N){if(this.reason){N(this.reason);return}this._listeners?this._listeners.push(N):this._listeners=[N]}unsubscribe(N){if(!this._listeners)return;const J=this._listeners.indexOf(N);J!==-1&&this._listeners.splice(J,1)}static source(){let N;return{token:new O1(function(be){N=be}),cancel:N}}}const rL=O1;function nL(P){return function(J){return P.apply(null,J)}}function aL(P){return $n.isObject(P)&&P.isAxiosError===!0}const Bm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Bm).forEach(([P,N])=>{Bm[N]=P});const iL=Bm;function u5(P){const N=new lg(P),J=jT(lg.prototype.request,N);return $n.extend(J,lg.prototype,N,{allOwnKeys:!0}),$n.extend(J,N,null,{allOwnKeys:!0}),J.create=function(be){return u5(Av(P,be))},J}const is=u5(k1);is.Axios=lg;is.CanceledError=t0;is.CancelToken=rL;is.isCancel=o5;is.VERSION=l5;is.toFormData=Jg;is.AxiosError=Wi;is.Cancel=is.CanceledError;is.all=function(N){return Promise.all(N)};is.spread=nL;is.isAxiosError=aL;is.mergeConfig=Av;is.AxiosHeaders=Cc;is.formToJSON=P=>i5($n.isHTMLForm(P)?new FormData(P):P);is.HttpStatusCode=iL;is.default=is;const f5=is;var Hb;const ms=typeof window<"u",oL=P=>typeof P=="function",sL=P=>typeof P=="string",Mg=()=>{},c5=ms&&((Hb=window==null?void 0:window.navigator)==null?void 0:Hb.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Mv(P){return typeof P=="function"?P():Ar(P)}function h5(P,N){function J(...oe){return new Promise((be,_e)=>{Promise.resolve(P(()=>N.apply(this,oe),{fn:N,thisArg:this,args:oe})).then(be).catch(_e)})}return J}const d5=P=>P();function lL(P,N={}){let J,oe,be=Mg;const _e=B=>{clearTimeout(B),be(),be=Mg};return B=>{const e=Mv(P),v=Mv(N.maxWait);return J&&_e(J),e<=0||v!==void 0&&v<=0?(oe&&(_e(oe),oe=null),Promise.resolve(B())):new Promise((E,a)=>{be=N.rejectOnCancel?a:E,v&&!oe&&(oe=setTimeout(()=>{J&&_e(J),oe=null,E(B())},v)),J=setTimeout(()=>{oe&&_e(oe),oe=null,E(B())},e)})}}function uL(P=d5){const N=ra(!0);function J(){N.value=!1}function oe(){N.value=!0}const be=(..._e)=>{N.value&&P(..._e)};return{isActive:Qp(N),pause:J,resume:oe,eventFilter:be}}function fL(P){return P}function r0(P){return _w()?(xM(P),!0):!1}function cL(P,N=200,J={}){return h5(lL(N,J),P)}function hL(P,N=200,J={}){const oe=ra(P.value),be=cL(()=>{oe.value=P.value},N,J);return ja(P,()=>be()),oe}function dL(P){return typeof P=="function"?sn(P):ra(P)}function v5(P,N=!0){bs()?xo(P):N?P():Ii(P)}function Nm(P,N,J={}){const{immediate:oe=!0}=J,be=ra(!1);let _e=null;function U(){_e&&(clearTimeout(_e),_e=null)}function B(){be.value=!1,U()}function e(...v){U(),be.value=!0,_e=setTimeout(()=>{be.value=!1,_e=null,P(...v)},Mv(N))}return oe&&(be.value=!0,ms&&e()),r0(B),{isPending:Qp(be),start:e,stop:B}}var Vb=Object.getOwnPropertySymbols,vL=Object.prototype.hasOwnProperty,pL=Object.prototype.propertyIsEnumerable,gL=(P,N)=>{var J={};for(var oe in P)vL.call(P,oe)&&N.indexOf(oe)<0&&(J[oe]=P[oe]);if(P!=null&&Vb)for(var oe of Vb(P))N.indexOf(oe)<0&&pL.call(P,oe)&&(J[oe]=P[oe]);return J};function yL(P,N,J={}){const oe=J,{eventFilter:be=d5}=oe,_e=gL(oe,["eventFilter"]);return ja(P,h5(be,N),_e)}var mL=Object.defineProperty,xL=Object.defineProperties,bL=Object.getOwnPropertyDescriptors,Sg=Object.getOwnPropertySymbols,p5=Object.prototype.hasOwnProperty,g5=Object.prototype.propertyIsEnumerable,Gb=(P,N,J)=>N in P?mL(P,N,{enumerable:!0,configurable:!0,writable:!0,value:J}):P[N]=J,wL=(P,N)=>{for(var J in N||(N={}))p5.call(N,J)&&Gb(P,J,N[J]);if(Sg)for(var J of Sg(N))g5.call(N,J)&&Gb(P,J,N[J]);return P},TL=(P,N)=>xL(P,bL(N)),AL=(P,N)=>{var J={};for(var oe in P)p5.call(P,oe)&&N.indexOf(oe)<0&&(J[oe]=P[oe]);if(P!=null&&Sg)for(var oe of Sg(P))N.indexOf(oe)<0&&g5.call(P,oe)&&(J[oe]=P[oe]);return J};function ML(P,N,J={}){const oe=J,{eventFilter:be}=oe,_e=AL(oe,["eventFilter"]),{eventFilter:U,pause:B,resume:e,isActive:v}=uL(be);return{stop:yL(P,N,TL(wL({},_e),{eventFilter:U})),pause:B,resume:e,isActive:v}}function Eh(P){var N;const J=Mv(P);return(N=J==null?void 0:J.$el)!=null?N:J}const Dh=ms?window:void 0;function Lc(...P){let N,J,oe,be;if(sL(P[0])||Array.isArray(P[0])?([J,oe,be]=P,N=Dh):[N,J,oe,be]=P,!N)return Mg;Array.isArray(J)||(J=[J]),Array.isArray(oe)||(oe=[oe]);const _e=[],U=()=>{_e.forEach(E=>E()),_e.length=0},B=(E,a,C,w)=>(E.addEventListener(a,C,w),()=>E.removeEventListener(a,C,w)),e=ja(()=>[Eh(N),Mv(be)],([E,a])=>{U(),E&&_e.push(...J.flatMap(C=>oe.map(w=>B(E,C,w,a))))},{immediate:!0,flush:"post"}),v=()=>{e(),U()};return r0(v),v}let Wb=!1;function SL(P,N,J={}){const{window:oe=Dh,ignore:be=[],capture:_e=!0,detectIframe:U=!1}=J;if(!oe)return;c5&&!Wb&&(Wb=!0,Array.from(oe.document.body.children).forEach(C=>C.addEventListener("click",Mg)));let B=!0;const e=C=>be.some(w=>{if(typeof w=="string")return Array.from(oe.document.querySelectorAll(w)).some(d=>d===C.target||C.composedPath().includes(d));{const d=Eh(w);return d&&(C.target===d||C.composedPath().includes(d))}}),E=[Lc(oe,"click",C=>{const w=Eh(P);if(!(!w||w===C.target||C.composedPath().includes(w))){if(C.detail===0&&(B=!e(C)),!B){B=!0;return}N(C)}},{passive:!0,capture:_e}),Lc(oe,"pointerdown",C=>{const w=Eh(P);w&&(B=!C.composedPath().includes(w)&&!e(C))},{passive:!0}),U&&Lc(oe,"blur",C=>{var w;const d=Eh(P);((w=oe.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(d!=null&&d.contains(oe.document.activeElement))&&N(C)})].filter(Boolean);return()=>E.forEach(C=>C())}function y5(P,N=!1){const J=ra(),oe=()=>J.value=!!P();return oe(),v5(oe,N),J}function EL(P,N={}){const{window:J=Dh}=N,oe=y5(()=>J&&"matchMedia"in J&&typeof J.matchMedia=="function");let be;const _e=ra(!1),U=()=>{be&&("removeEventListener"in be?be.removeEventListener("change",B):be.removeListener(B))},B=()=>{oe.value&&(U(),be=J.matchMedia(dL(P).value),_e.value=be.matches,"addEventListener"in be?be.addEventListener("change",B):be.addListener(B))};return qw(B),r0(()=>U()),_e}const Um=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hm="__vueuse_ssr_handlers__";Um[Hm]=Um[Hm]||{};const CL=Um[Hm];function m5(P,N){return CL[P]||N}function LL(P){return P==null?"any":P instanceof Set?"set":P instanceof Map?"map":P instanceof Date?"date":typeof P=="boolean"?"boolean":typeof P=="string"?"string":typeof P=="object"?"object":Number.isNaN(P)?"any":"number"}var _L=Object.defineProperty,jb=Object.getOwnPropertySymbols,PL=Object.prototype.hasOwnProperty,RL=Object.prototype.propertyIsEnumerable,Yb=(P,N,J)=>N in P?_L(P,N,{enumerable:!0,configurable:!0,writable:!0,value:J}):P[N]=J,Zb=(P,N)=>{for(var J in N||(N={}))PL.call(N,J)&&Yb(P,J,N[J]);if(jb)for(var J of jb(N))RL.call(N,J)&&Yb(P,J,N[J]);return P};const IL={boolean:{read:P=>P==="true",write:P=>String(P)},object:{read:P=>JSON.parse(P),write:P=>JSON.stringify(P)},number:{read:P=>Number.parseFloat(P),write:P=>String(P)},any:{read:P=>P,write:P=>String(P)},string:{read:P=>P,write:P=>String(P)},map:{read:P=>new Map(JSON.parse(P)),write:P=>JSON.stringify(Array.from(P.entries()))},set:{read:P=>new Set(JSON.parse(P)),write:P=>JSON.stringify(Array.from(P))},date:{read:P=>new Date(P),write:P=>P.toISOString()}},Xb="vueuse-storage";function DL(P,N,J,oe={}){var be;const{flush:_e="pre",deep:U=!0,listenToStorageChanges:B=!0,writeDefaults:e=!0,mergeDefaults:v=!1,shallow:E,window:a=Dh,eventFilter:C,onError:w=h=>{console.error(h)}}=oe,d=(E?_h:ra)(N);if(!J)try{J=m5("getDefaultStorage",()=>{var h;return(h=Dh)==null?void 0:h.localStorage})()}catch(h){w(h)}if(!J)return d;const p=Mv(N),t=LL(p),r=(be=oe.serializer)!=null?be:IL[t],{pause:c,resume:o}=ML(d,()=>n(d.value),{flush:_e,deep:U,eventFilter:C});return a&&B&&(Lc(a,"storage",g),Lc(a,Xb,i)),g(),d;function n(h){try{if(h==null)J.removeItem(P);else{const x=r.write(h),f=J.getItem(P);f!==x&&(J.setItem(P,x),a&&a.dispatchEvent(new CustomEvent(Xb,{detail:{key:P,oldValue:f,newValue:x,storageArea:J}})))}}catch(x){w(x)}}function u(h){const x=h?h.newValue:J.getItem(P);if(x==null)return e&&p!==null&&J.setItem(P,r.write(p)),p;if(!h&&v){const f=r.read(x);return oL(v)?v(f,p):t==="object"&&!Array.isArray(f)?Zb(Zb({},p),f):f}else return typeof x!="string"?x:r.read(x)}function i(h){g(h.detail)}function g(h){if(!(h&&h.storageArea!==J)){if(h&&h.key==null){d.value=p;return}if(!(h&&h.key!==P)){c();try{d.value=u(h)}catch(x){w(x)}finally{h?Ii(o):o()}}}}}function x5(P){return EL("(prefers-color-scheme: dark)",P)}var kL=Object.defineProperty,Kb=Object.getOwnPropertySymbols,FL=Object.prototype.hasOwnProperty,OL=Object.prototype.propertyIsEnumerable,$b=(P,N,J)=>N in P?kL(P,N,{enumerable:!0,configurable:!0,writable:!0,value:J}):P[N]=J,zL=(P,N)=>{for(var J in N||(N={}))FL.call(N,J)&&$b(P,J,N[J]);if(Kb)for(var J of Kb(N))OL.call(N,J)&&$b(P,J,N[J]);return P};function BL(P={}){const{selector:N="html",attribute:J="class",initialValue:oe="auto",window:be=Dh,storage:_e,storageKey:U="vueuse-color-scheme",listenToStorageChanges:B=!0,storageRef:e,emitAuto:v}=P,E=zL({auto:"",light:"light",dark:"dark"},P.modes||{}),a=x5({window:be}),C=sn(()=>a.value?"dark":"light"),w=e||(U==null?ra(oe):DL(U,oe,_e,{window:be,listenToStorageChanges:B})),d=sn({get(){return w.value==="auto"&&!v?C.value:w.value},set(c){w.value=c}}),p=m5("updateHTMLAttrs",(c,o,n)=>{const u=be==null?void 0:be.document.querySelector(c);if(u)if(o==="class"){const i=n.split(/\s/g);Object.values(E).flatMap(g=>(g||"").split(/\s/g)).filter(Boolean).forEach(g=>{i.includes(g)?u.classList.add(g):u.classList.remove(g)})}else u.setAttribute(o,n)});function t(c){var o;const n=c==="auto"?C.value:c;p(N,J,(o=E[n])!=null?o:n)}function r(c){P.onChanged?P.onChanged(c,t):t(c)}return ja(d,r,{flush:"post",immediate:!0}),v&&ja(C,()=>r(d.value),{flush:"post"}),v5(()=>r(d.value)),d}var NL=Object.defineProperty,UL=Object.defineProperties,HL=Object.getOwnPropertyDescriptors,Jb=Object.getOwnPropertySymbols,VL=Object.prototype.hasOwnProperty,GL=Object.prototype.propertyIsEnumerable,Qb=(P,N,J)=>N in P?NL(P,N,{enumerable:!0,configurable:!0,writable:!0,value:J}):P[N]=J,WL=(P,N)=>{for(var J in N||(N={}))VL.call(N,J)&&Qb(P,J,N[J]);if(Jb)for(var J of Jb(N))GL.call(N,J)&&Qb(P,J,N[J]);return P},jL=(P,N)=>UL(P,HL(N));function n0(P={}){const{valueDark:N="dark",valueLight:J="",window:oe=Dh}=P,be=BL(jL(WL({},P),{onChanged:(B,e)=>{var v;P.onChanged?(v=P.onChanged)==null||v.call(P,B==="dark"):e(B)},modes:{dark:N,light:J}})),_e=x5({window:oe});return sn({get(){return be.value==="dark"},set(B){B===_e.value?be.value="auto":be.value=B?"dark":"light"}})}var qb=Object.getOwnPropertySymbols,YL=Object.prototype.hasOwnProperty,ZL=Object.prototype.propertyIsEnumerable,XL=(P,N)=>{var J={};for(var oe in P)YL.call(P,oe)&&N.indexOf(oe)<0&&(J[oe]=P[oe]);if(P!=null&&qb)for(var oe of qb(P))N.indexOf(oe)<0&&ZL.call(P,oe)&&(J[oe]=P[oe]);return J};function Rd(P,N,J={}){const oe=J,{window:be=Dh}=oe,_e=XL(oe,["window"]);let U;const B=y5(()=>be&&"ResizeObserver"in be),e=()=>{U&&(U.disconnect(),U=void 0)},v=ja(()=>Eh(P),a=>{e(),B.value&&be&&a&&(U=new ResizeObserver(N),U.observe(a,_e))},{immediate:!0,flush:"post"}),E=()=>{e(),v()};return r0(E),{isSupported:B,stop:E}}var e3;(function(P){P.UP="UP",P.RIGHT="RIGHT",P.DOWN="DOWN",P.LEFT="LEFT",P.NONE="NONE"})(e3||(e3={}));var KL=Object.defineProperty,t3=Object.getOwnPropertySymbols,$L=Object.prototype.hasOwnProperty,JL=Object.prototype.propertyIsEnumerable,r3=(P,N,J)=>N in P?KL(P,N,{enumerable:!0,configurable:!0,writable:!0,value:J}):P[N]=J,QL=(P,N)=>{for(var J in N||(N={}))$L.call(N,J)&&r3(P,J,N[J]);if(t3)for(var J of t3(N))JL.call(N,J)&&r3(P,J,N[J]);return P};const qL={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};QL({linear:fL},qL);const e_={class:"home-container"},t_=Ca({name:"HomePage",__name:"Home",setup(P){const N=n0(),J=ra(""),oe=xs({omitExtraWLInCodeBlocks:!1,noHeaderId:!1,prefixHeaderId:!1,rawPrefixHeaderId:!1,ghCompatibleHeaderId:!1,rawHeaderId:!1,headerLevelStart:!1,parseImgDimensions:!1,simplifiedAutoLink:!1,excludeTrailingPunctuationFromURLs:!1,literalMidWordUnderscores:!1,literalMidWordAsterisks:!1,strikethrough:!1,tables:!0,tablesHeaderId:!1,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!1,smartIndentationFix:!1,disableForced4SpacesIndentedSublists:!1,simpleLineBreaks:!1,requireSpaceBeforeHeadingText:!1,ghMentions:!1,ghMentionsLink:"https://github.com/{u}",encodeEmails:!0,openLinksInNewWindow:!1,backslashEscapesHTMLTags:!1,emoji:!0,underline:!1,ellipsis:!0,completeHTMLDocument:!1,metadata:!1,splitAdjacentBlockquotes:!1});return xo(async()=>{console.log("in on mounted");try{const be=await f5.get("/benchmark/home.md");J.value=be.data}catch(be){console.error(be)}}),(be,_e)=>{const U=qu("VueShowdown");return Wn(),Oa("div",e_,[Ia(U,{class:ua([{"markdown-body-light":!Ar(N),"markdown-body-dark":Ar(N)},"markdown-body"]),markdown:J.value,options:oe,flavor:"github"},null,8,["class","markdown","options"])])}}}),ug=function(P,N,...J){let oe;N.includes("mouse")||N.includes("click")?oe="MouseEvents":N.includes("key")?oe="KeyboardEvent":oe="HTMLEvents";const be=document.createEvent(oe);return be.initEvent(N,...J),P.dispatchEvent(be),P},Sc=(P,N,{checkForDefaultPrevented:J=!0}={})=>be=>{const _e=P==null?void 0:P(be);if(J===!1||!_e)return N==null?void 0:N(be)},r_=()=>ms&&/firefox/i.test(window.navigator.userAgent);var n_=typeof global=="object"&&global&&global.Object===Object&&global;const b5=n_;var a_=typeof self=="object"&&self&&self.Object===Object&&self,i_=b5||a_||Function("return this")();const sf=i_;var o_=sf.Symbol;const Mu=o_;var w5=Object.prototype,s_=w5.hasOwnProperty,l_=w5.toString,yp=Mu?Mu.toStringTag:void 0;function u_(P){var N=s_.call(P,yp),J=P[yp];try{P[yp]=void 0;var oe=!0}catch{}var be=l_.call(P);return oe&&(N?P[yp]=J:delete P[yp]),be}var f_=Object.prototype,c_=f_.toString;function h_(P){return c_.call(P)}var d_="[object Null]",v_="[object Undefined]",n3=Mu?Mu.toStringTag:void 0;function Nv(P){return P==null?P===void 0?v_:d_:n3&&n3 in Object(P)?u_(P):h_(P)}function kh(P){return P!=null&&typeof P=="object"}var p_="[object Symbol]";function ey(P){return typeof P=="symbol"||kh(P)&&Nv(P)==p_}function g_(P,N){for(var J=-1,oe=P==null?0:P.length,be=Array(oe);++J0){if(++N>=$_)return arguments[0]}else N=0;return P.apply(void 0,arguments)}}function e9(P){return function(){return P}}var t9=function(){try{var P=Dd(Object,"defineProperty");return P({},"",{}),P}catch{}}();const Eg=t9;var r9=Eg?function(P,N){return Eg(P,"toString",{configurable:!0,enumerable:!1,value:e9(N),writable:!0})}:C_;const n9=r9;var a9=q_(n9);const i9=a9;function o9(P,N){for(var J=-1,oe=P==null?0:P.length;++J-1&&P%1==0&&P-1&&P%1==0&&P<=h9}function S5(P){return P!=null&&U1(P.length)&&!A5(P)}var d9=Object.prototype;function H1(P){var N=P&&P.constructor,J=typeof N=="function"&&N.prototype||d9;return P===J}function v9(P,N){for(var J=-1,oe=Array(P);++J-1}function _P(P,N){var J=this.__data__,oe=ry(J,P);return oe<0?(++this.size,J.push([P,N])):J[oe][1]=N,this}function Oc(P){var N=-1,J=P==null?0:P.length;for(this.clear();++N0&&J(B)?N>1?D5(B,N-1,J,oe,be):X1(be,B):oe||(be[be.length]=B)}return be}function ZP(P){var N=P==null?0:P.length;return N?D5(P,1):[]}function XP(P){return i9(c9(P,void 0,ZP),P+"")}var KP=R5(Object.getPrototypeOf,Object);const k5=KP;function Gm(){if(!arguments.length)return[];var P=arguments[0];return of(P)?P:[P]}function $P(){this.__data__=new Oc,this.size=0}function JP(P){var N=this.__data__,J=N.delete(P);return this.size=N.size,J}function QP(P){return this.__data__.get(P)}function qP(P){return this.__data__.has(P)}var eR=200;function tR(P,N){var J=this.__data__;if(J instanceof Oc){var oe=J.__data__;if(!jp||oe.lengthB))return!1;var v=_e.get(P),E=_e.get(N);if(v&&E)return v==N&&E==P;var a=-1,C=!0,w=J&HI?new _g:void 0;for(_e.set(P,N),_e.set(N,P);++a=N||g<0||a&&h>=_e}function r(){var i=om();if(t(i))return c(i);B=setTimeout(r,p(i))}function c(i){return B=void 0,C&&oe?w(i):(oe=be=void 0,U)}function o(){B!==void 0&&clearTimeout(B),v=0,oe=e=be=B=void 0}function n(){return B===void 0?U:c(om())}function u(){var i=om(),g=t(i);if(oe=arguments,be=this,e=i,g){if(B===void 0)return d(e);if(a)return clearTimeout(B),B=setTimeout(r,N),w(e)}return B===void 0&&(B=setTimeout(r,N)),U}return u.cancel=o,u.flush=n,u}function Pg(P){for(var N=-1,J=P==null?0:P.length,oe={};++NP===void 0,Ic=P=>typeof P=="boolean",qo=P=>typeof P=="number",Cv=P=>typeof Element>"u"?!1:P instanceof Element,MD=P=>ci(P)?!Number.isNaN(Number(P)):!1,SD=(P="")=>P.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),F3=P=>Object.keys(P),sm=(P,N,J)=>({get value(){return Xl(P,N,J)},set value(oe){AD(P,N,oe)}});class ED extends Error{constructor(N){super(N),this.name="ElementPlusError"}}function Lv(P,N){throw new ED(`[${P}] ${N}`)}const j5=(P="")=>P.split(" ").filter(N=>!!N.trim()),CD=(P,N)=>{if(!P||!N)return!1;if(N.includes(" "))throw new Error("className should not contain space.");return P.classList.contains(N)},W0=(P,N)=>{!P||!N.trim()||P.classList.add(...j5(N))},lm=(P,N)=>{!P||!N.trim()||P.classList.remove(...j5(N))};function Zp(P,N="px"){if(!P)return"";if(qo(P)||MD(P))return`${P}${N}`;if(ci(P))return P}function LD(P,N){if(!ms)return;if(!N){P.scrollTop=0;return}const J=[];let oe=N.offsetParent;for(;oe!==null&&P!==oe&&P.contains(oe);)J.push(oe),oe=oe.offsetParent;const be=N.offsetTop+J.reduce((e,v)=>e+v.offsetTop,0),_e=be+N.offsetHeight,U=P.scrollTop,B=U+P.clientHeight;beB&&(P.scrollTop=_e-P.clientHeight)}/*! Element Plus Icons Vue v2.1.0 */var eu=(P,N)=>{let J=P.__vccOpts||P;for(let[oe,be]of N)J[oe]=be;return J},_D={name:"ArrowDown"},PD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},RD=za("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),ID=[RD];function DD(P,N,J,oe,be,_e){return Wn(),Oa("svg",PD,ID)}var Y5=eu(_D,[["render",DD],["__file","arrow-down.vue"]]),kD={name:"ArrowRight"},FD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},OD=za("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),zD=[OD];function BD(P,N,J,oe,be,_e){return Wn(),Oa("svg",FD,zD)}var ND=eu(kD,[["render",BD],["__file","arrow-right.vue"]]),UD={name:"CircleCheck"},HD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},VD=za("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),GD=za("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),WD=[VD,GD];function jD(P,N,J,oe,be,_e){return Wn(),Oa("svg",HD,WD)}var YD=eu(UD,[["render",jD],["__file","circle-check.vue"]]),ZD={name:"CircleCloseFilled"},XD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},KD=za("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),$D=[KD];function JD(P,N,J,oe,be,_e){return Wn(),Oa("svg",XD,$D)}var Z5=eu(ZD,[["render",JD],["__file","circle-close-filled.vue"]]),QD={name:"CircleClose"},qD={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ek=za("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),tk=za("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),rk=[ek,tk];function nk(P,N,J,oe,be,_e){return Wn(),Oa("svg",qD,rk)}var J1=eu(QD,[["render",nk],["__file","circle-close.vue"]]),ak={name:"Close"},ik={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ok=za("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),sk=[ok];function lk(P,N,J,oe,be,_e){return Wn(),Oa("svg",ik,sk)}var Km=eu(ak,[["render",lk],["__file","close.vue"]]),uk={name:"Hide"},fk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ck=za("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),hk=za("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),dk=[ck,hk];function vk(P,N,J,oe,be,_e){return Wn(),Oa("svg",fk,dk)}var pk=eu(uk,[["render",vk],["__file","hide.vue"]]),gk={name:"InfoFilled"},yk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},mk=za("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),xk=[mk];function bk(P,N,J,oe,be,_e){return Wn(),Oa("svg",yk,xk)}var X5=eu(gk,[["render",bk],["__file","info-filled.vue"]]),wk={name:"Loading"},Tk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ak=za("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),Mk=[Ak];function Sk(P,N,J,oe,be,_e){return Wn(),Oa("svg",Tk,Mk)}var Ek=eu(wk,[["render",Sk],["__file","loading.vue"]]),Ck={name:"More"},Lk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_k=za("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96zm336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224zm0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96z"},null,-1),Pk=[_k];function Rk(P,N,J,oe,be,_e){return Wn(),Oa("svg",Lk,Pk)}var Ik=eu(Ck,[["render",Rk],["__file","more.vue"]]),Dk={name:"SuccessFilled"},kk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fk=za("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),Ok=[Fk];function zk(P,N,J,oe,be,_e){return Wn(),Oa("svg",kk,Ok)}var K5=eu(Dk,[["render",zk],["__file","success-filled.vue"]]),Bk={name:"View"},Nk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Uk=za("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),Hk=[Uk];function Vk(P,N,J,oe,be,_e){return Wn(),Oa("svg",Nk,Hk)}var Gk=eu(Bk,[["render",Vk],["__file","view.vue"]]),Wk={name:"WarningFilled"},jk={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Yk=za("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),Zk=[Yk];function Xk(P,N,J,oe,be,_e){return Wn(),Oa("svg",jk,Zk)}var $5=eu(Wk,[["render",Xk],["__file","warning-filled.vue"]]);const J5="__epPropKey",oi=P=>P,Kk=P=>Ei(P)&&!!P[J5],iy=(P,N)=>{if(!Ei(P)||Kk(P))return P;const{values:J,required:oe,default:be,type:_e,validator:U}=P,e={type:_e,required:!!oe,validator:J||U?v=>{let E=!1,a=[];if(J&&(a=Array.from(J),zi(P,"default")&&a.push(be),E||(E=a.includes(v))),U&&(E||(E=U(v))),!E&&a.length>0){const C=[...new Set(a)].map(w=>JSON.stringify(w)).join(", ");qM(`Invalid prop: validation failed${N?` for prop "${N}"`:""}. Expected one of [${C}], got value ${JSON.stringify(v)}.`)}return E}:void 0,[J5]:!0};return zi(P,"default")&&(e.default=be),e},Zi=P=>Pg(Object.entries(P).map(([N,J])=>[N,iy(J,N)])),Ec=oi([String,Object,Function]),$k={Close:Km,SuccessFilled:K5,InfoFilled:X5,WarningFilled:$5,CircleCloseFilled:Z5},O3={success:K5,warning:$5,error:Z5,info:X5},Jk={validating:Ek,success:YD,error:J1},ks=(P,N)=>{if(P.install=J=>{for(const oe of[P,...Object.values(N??{})])J.component(oe.name,oe)},N)for(const[J,oe]of Object.entries(N))P[J]=oe;return P},Qk=(P,N)=>(P.install=J=>{P._context=J._context,J.config.globalProperties[N]=P},P),Rl=P=>(P.install=Ks,P),Rs={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},gs="update:modelValue",Q1="change",a0=["","default","small","large"],qk={large:40,default:32,small:24},eF=P=>qk[P||"default"],tF=P=>["",...a0].includes(P),cg=P=>{const N=Va(P)?P:[P],J=[];return N.forEach(oe=>{var be;Va(oe)?J.push(...cg(oe)):Ih(oe)&&Va(oe.children)?J.push(...cg(oe.children)):(J.push(oe),Ih(oe)&&((be=oe.component)!=null&&be.subTree)&&J.push(...cg(oe.component.subTree)))}),J},Q5=P=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(P),Sh=P=>P,rF=["class","style"],nF=/^on[A-Z]/,aF=(P={})=>{const{excludeListeners:N=!1,excludeKeys:J}=P,oe=sn(()=>((J==null?void 0:J.value)||[]).concat(rF)),be=bs();return sn(be?()=>{var _e;return Pg(Object.entries((_e=be.proxy)==null?void 0:_e.$attrs).filter(([U])=>!oe.value.includes(U)&&!(N&&nF.test(U))))}:()=>({}))},q5=({from:P,replacement:N,scope:J,version:oe,ref:be,type:_e="API"},U)=>{ja(()=>Ar(U),B=>{},{immediate:!0})},iF=P=>({focus:()=>{var N,J;(J=(N=P.value)==null?void 0:N.focus)==null||J.call(N)}});var oF={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const sF=P=>(N,J)=>lF(N,J,Ar(P)),lF=(P,N,J)=>Xl(J,P,P).replace(/\{(\w+)\}/g,(oe,be)=>{var _e;return`${(_e=N==null?void 0:N[be])!=null?_e:`{${be}}`}`}),uF=P=>{const N=sn(()=>Ar(P).name),J=mo(P)?P:ra(P);return{lang:N,locale:J,t:sF(P)}},eA=Symbol("localeContextKey"),oy=P=>{const N=P||si(eA,ra());return uF(sn(()=>N.value||oF))},$m="el",fF="is-",gd=(P,N,J,oe,be)=>{let _e=`${P}-${N}`;return J&&(_e+=`-${J}`),oe&&(_e+=`__${oe}`),be&&(_e+=`--${be}`),_e},tA=Symbol("namespaceContextKey"),q1=P=>{const N=P||si(tA,ra($m));return sn(()=>Ar(N)||$m)},li=(P,N)=>{const J=q1(N);return{namespace:J,b:(p="")=>gd(J.value,P,p,"",""),e:p=>p?gd(J.value,P,"",p,""):"",m:p=>p?gd(J.value,P,"","",p):"",be:(p,t)=>p&&t?gd(J.value,P,p,t,""):"",em:(p,t)=>p&&t?gd(J.value,P,"",p,t):"",bm:(p,t)=>p&&t?gd(J.value,P,p,"",t):"",bem:(p,t,r)=>p&&t&&r?gd(J.value,P,p,t,r):"",is:(p,...t)=>{const r=t.length>=1?t[0]:!0;return p&&r?`${fF}${p}`:""},cssVar:p=>{const t={};for(const r in p)p[r]&&(t[`--${J.value}-${r}`]=p[r]);return t},cssVarName:p=>`--${J.value}-${p}`,cssVarBlock:p=>{const t={};for(const r in p)p[r]&&(t[`--${J.value}-${P}-${r}`]=p[r]);return t},cssVarBlockName:p=>`--${J.value}-${P}-${p}`}},cF=iy({type:oi(Boolean),default:null}),hF=iy({type:oi(Function)}),rA=P=>{const N=`update:${P}`,J=`onUpdate:${P}`,oe=[N],be={[P]:cF,[J]:hF};return{useModelToggle:({indicator:U,toggleReason:B,shouldHideWhenRouteChanges:e,shouldProceed:v,onShow:E,onHide:a})=>{const C=bs(),{emit:w}=C,d=C.props,p=sn(()=>Qa(d[J])),t=sn(()=>d[P]===null),r=g=>{U.value!==!0&&(U.value=!0,B&&(B.value=g),Qa(E)&&E(g))},c=g=>{U.value!==!1&&(U.value=!1,B&&(B.value=g),Qa(a)&&a(g))},o=g=>{if(d.disabled===!0||Qa(v)&&!v())return;const h=p.value&&ms;h&&w(N,!0),(t.value||!h)&&r(g)},n=g=>{if(d.disabled===!0||!ms)return;const h=p.value&&ms;h&&w(N,!1),(t.value||!h)&&c(g)},u=g=>{Ic(g)&&(d.disabled&&g?p.value&&w(N,!1):U.value!==g&&(g?r():c()))},i=()=>{U.value?n():o()};return ja(()=>d[P],u),e&&C.appContext.config.globalProperties.$route!==void 0&&ja(()=>({...C.proxy.$route}),()=>{e.value&&U.value&&n()}),xo(()=>{u(d[P])}),{hide:n,show:o,toggle:i,hasUpdateHandler:p}},useModelToggleProps:be,useModelToggleEmits:oe}};rA("modelValue");const nA=P=>{const N=bs();return sn(()=>{var J,oe;return(oe=(J=N==null?void 0:N.proxy)==null?void 0:J.$props)==null?void 0:oe[P]})};var Ll="top",Su="bottom",Eu="right",_l="left",ex="auto",i0=[Ll,Su,Eu,_l],_v="start",Xp="end",dF="clippingParents",aA="viewport",mp="popper",vF="reference",z3=i0.reduce(function(P,N){return P.concat([N+"-"+_v,N+"-"+Xp])},[]),sy=[].concat(i0,[ex]).reduce(function(P,N){return P.concat([N,N+"-"+_v,N+"-"+Xp])},[]),pF="beforeRead",gF="read",yF="afterRead",mF="beforeMain",xF="main",bF="afterMain",wF="beforeWrite",TF="write",AF="afterWrite",MF=[pF,gF,yF,mF,xF,bF,wF,TF,AF];function Gf(P){return P?(P.nodeName||"").toLowerCase():null}function lf(P){if(P==null)return window;if(P.toString()!=="[object Window]"){var N=P.ownerDocument;return N&&N.defaultView||window}return P}function Pv(P){var N=lf(P).Element;return P instanceof N||P instanceof Element}function Au(P){var N=lf(P).HTMLElement;return P instanceof N||P instanceof HTMLElement}function tx(P){if(typeof ShadowRoot>"u")return!1;var N=lf(P).ShadowRoot;return P instanceof N||P instanceof ShadowRoot}function SF(P){var N=P.state;Object.keys(N.elements).forEach(function(J){var oe=N.styles[J]||{},be=N.attributes[J]||{},_e=N.elements[J];!Au(_e)||!Gf(_e)||(Object.assign(_e.style,oe),Object.keys(be).forEach(function(U){var B=be[U];B===!1?_e.removeAttribute(U):_e.setAttribute(U,B===!0?"":B)}))})}function EF(P){var N=P.state,J={popper:{position:N.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(N.elements.popper.style,J.popper),N.styles=J,N.elements.arrow&&Object.assign(N.elements.arrow.style,J.arrow),function(){Object.keys(N.elements).forEach(function(oe){var be=N.elements[oe],_e=N.attributes[oe]||{},U=Object.keys(N.styles.hasOwnProperty(oe)?N.styles[oe]:J[oe]),B=U.reduce(function(e,v){return e[v]="",e},{});!Au(be)||!Gf(be)||(Object.assign(be.style,B),Object.keys(_e).forEach(function(e){be.removeAttribute(e)}))})}}var iA={name:"applyStyles",enabled:!0,phase:"write",fn:SF,effect:EF,requires:["computeStyles"]};function Uf(P){return P.split("-")[0]}var Ed=Math.max,Ig=Math.min,Rv=Math.round;function Iv(P,N){N===void 0&&(N=!1);var J=P.getBoundingClientRect(),oe=1,be=1;if(Au(P)&&N){var _e=P.offsetHeight,U=P.offsetWidth;U>0&&(oe=Rv(J.width)/U||1),_e>0&&(be=Rv(J.height)/_e||1)}return{width:J.width/oe,height:J.height/be,top:J.top/be,right:J.right/oe,bottom:J.bottom/be,left:J.left/oe,x:J.left/oe,y:J.top/be}}function rx(P){var N=Iv(P),J=P.offsetWidth,oe=P.offsetHeight;return Math.abs(N.width-J)<=1&&(J=N.width),Math.abs(N.height-oe)<=1&&(oe=N.height),{x:P.offsetLeft,y:P.offsetTop,width:J,height:oe}}function oA(P,N){var J=N.getRootNode&&N.getRootNode();if(P.contains(N))return!0;if(J&&tx(J)){var oe=N;do{if(oe&&P.isSameNode(oe))return!0;oe=oe.parentNode||oe.host}while(oe)}return!1}function Dc(P){return lf(P).getComputedStyle(P)}function CF(P){return["table","td","th"].indexOf(Gf(P))>=0}function Oh(P){return((Pv(P)?P.ownerDocument:P.document)||window.document).documentElement}function ly(P){return Gf(P)==="html"?P:P.assignedSlot||P.parentNode||(tx(P)?P.host:null)||Oh(P)}function B3(P){return!Au(P)||Dc(P).position==="fixed"?null:P.offsetParent}function LF(P){var N=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,J=navigator.userAgent.indexOf("Trident")!==-1;if(J&&Au(P)){var oe=Dc(P);if(oe.position==="fixed")return null}var be=ly(P);for(tx(be)&&(be=be.host);Au(be)&&["html","body"].indexOf(Gf(be))<0;){var _e=Dc(be);if(_e.transform!=="none"||_e.perspective!=="none"||_e.contain==="paint"||["transform","perspective"].indexOf(_e.willChange)!==-1||N&&_e.willChange==="filter"||N&&_e.filter&&_e.filter!=="none")return be;be=be.parentNode}return null}function o0(P){for(var N=lf(P),J=B3(P);J&&CF(J)&&Dc(J).position==="static";)J=B3(J);return J&&(Gf(J)==="html"||Gf(J)==="body"&&Dc(J).position==="static")?N:J||LF(P)||N}function nx(P){return["top","bottom"].indexOf(P)>=0?"x":"y"}function Pp(P,N,J){return Ed(P,Ig(N,J))}function _F(P,N,J){var oe=Pp(P,N,J);return oe>J?J:oe}function sA(){return{top:0,right:0,bottom:0,left:0}}function lA(P){return Object.assign({},sA(),P)}function uA(P,N){return N.reduce(function(J,oe){return J[oe]=P,J},{})}var PF=function(P,N){return P=typeof P=="function"?P(Object.assign({},N.rects,{placement:N.placement})):P,lA(typeof P!="number"?P:uA(P,i0))};function RF(P){var N,J=P.state,oe=P.name,be=P.options,_e=J.elements.arrow,U=J.modifiersData.popperOffsets,B=Uf(J.placement),e=nx(B),v=[_l,Eu].indexOf(B)>=0,E=v?"height":"width";if(!(!_e||!U)){var a=PF(be.padding,J),C=rx(_e),w=e==="y"?Ll:_l,d=e==="y"?Su:Eu,p=J.rects.reference[E]+J.rects.reference[e]-U[e]-J.rects.popper[E],t=U[e]-J.rects.reference[e],r=o0(_e),c=r?e==="y"?r.clientHeight||0:r.clientWidth||0:0,o=p/2-t/2,n=a[w],u=c-C[E]-a[d],i=c/2-C[E]/2+o,g=Pp(n,i,u),h=e;J.modifiersData[oe]=(N={},N[h]=g,N.centerOffset=g-i,N)}}function IF(P){var N=P.state,J=P.options,oe=J.element,be=oe===void 0?"[data-popper-arrow]":oe;be!=null&&(typeof be=="string"&&(be=N.elements.popper.querySelector(be),!be)||!oA(N.elements.popper,be)||(N.elements.arrow=be))}var DF={name:"arrow",enabled:!0,phase:"main",fn:RF,effect:IF,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dv(P){return P.split("-")[1]}var kF={top:"auto",right:"auto",bottom:"auto",left:"auto"};function FF(P){var N=P.x,J=P.y,oe=window,be=oe.devicePixelRatio||1;return{x:Rv(N*be)/be||0,y:Rv(J*be)/be||0}}function N3(P){var N,J=P.popper,oe=P.popperRect,be=P.placement,_e=P.variation,U=P.offsets,B=P.position,e=P.gpuAcceleration,v=P.adaptive,E=P.roundOffsets,a=P.isFixed,C=U.x,w=C===void 0?0:C,d=U.y,p=d===void 0?0:d,t=typeof E=="function"?E({x:w,y:p}):{x:w,y:p};w=t.x,p=t.y;var r=U.hasOwnProperty("x"),c=U.hasOwnProperty("y"),o=_l,n=Ll,u=window;if(v){var i=o0(J),g="clientHeight",h="clientWidth";if(i===lf(J)&&(i=Oh(J),Dc(i).position!=="static"&&B==="absolute"&&(g="scrollHeight",h="scrollWidth")),i=i,be===Ll||(be===_l||be===Eu)&&_e===Xp){n=Su;var x=a&&i===u&&u.visualViewport?u.visualViewport.height:i[g];p-=x-oe.height,p*=e?1:-1}if(be===_l||(be===Ll||be===Su)&&_e===Xp){o=Eu;var f=a&&i===u&&u.visualViewport?u.visualViewport.width:i[h];w-=f-oe.width,w*=e?1:-1}}var l=Object.assign({position:B},v&&kF),y=E===!0?FF({x:w,y:p}):{x:w,y:p};if(w=y.x,p=y.y,e){var T;return Object.assign({},l,(T={},T[n]=c?"0":"",T[o]=r?"0":"",T.transform=(u.devicePixelRatio||1)<=1?"translate("+w+"px, "+p+"px)":"translate3d("+w+"px, "+p+"px, 0)",T))}return Object.assign({},l,(N={},N[n]=c?p+"px":"",N[o]=r?w+"px":"",N.transform="",N))}function OF(P){var N=P.state,J=P.options,oe=J.gpuAcceleration,be=oe===void 0?!0:oe,_e=J.adaptive,U=_e===void 0?!0:_e,B=J.roundOffsets,e=B===void 0?!0:B,v={placement:Uf(N.placement),variation:Dv(N.placement),popper:N.elements.popper,popperRect:N.rects.popper,gpuAcceleration:be,isFixed:N.options.strategy==="fixed"};N.modifiersData.popperOffsets!=null&&(N.styles.popper=Object.assign({},N.styles.popper,N3(Object.assign({},v,{offsets:N.modifiersData.popperOffsets,position:N.options.strategy,adaptive:U,roundOffsets:e})))),N.modifiersData.arrow!=null&&(N.styles.arrow=Object.assign({},N.styles.arrow,N3(Object.assign({},v,{offsets:N.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),N.attributes.popper=Object.assign({},N.attributes.popper,{"data-popper-placement":N.placement})}var fA={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:OF,data:{}},j0={passive:!0};function zF(P){var N=P.state,J=P.instance,oe=P.options,be=oe.scroll,_e=be===void 0?!0:be,U=oe.resize,B=U===void 0?!0:U,e=lf(N.elements.popper),v=[].concat(N.scrollParents.reference,N.scrollParents.popper);return _e&&v.forEach(function(E){E.addEventListener("scroll",J.update,j0)}),B&&e.addEventListener("resize",J.update,j0),function(){_e&&v.forEach(function(E){E.removeEventListener("scroll",J.update,j0)}),B&&e.removeEventListener("resize",J.update,j0)}}var cA={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zF,data:{}},BF={left:"right",right:"left",bottom:"top",top:"bottom"};function hg(P){return P.replace(/left|right|bottom|top/g,function(N){return BF[N]})}var NF={start:"end",end:"start"};function U3(P){return P.replace(/start|end/g,function(N){return NF[N]})}function ax(P){var N=lf(P),J=N.pageXOffset,oe=N.pageYOffset;return{scrollLeft:J,scrollTop:oe}}function ix(P){return Iv(Oh(P)).left+ax(P).scrollLeft}function UF(P){var N=lf(P),J=Oh(P),oe=N.visualViewport,be=J.clientWidth,_e=J.clientHeight,U=0,B=0;return oe&&(be=oe.width,_e=oe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(U=oe.offsetLeft,B=oe.offsetTop)),{width:be,height:_e,x:U+ix(P),y:B}}function HF(P){var N,J=Oh(P),oe=ax(P),be=(N=P.ownerDocument)==null?void 0:N.body,_e=Ed(J.scrollWidth,J.clientWidth,be?be.scrollWidth:0,be?be.clientWidth:0),U=Ed(J.scrollHeight,J.clientHeight,be?be.scrollHeight:0,be?be.clientHeight:0),B=-oe.scrollLeft+ix(P),e=-oe.scrollTop;return Dc(be||J).direction==="rtl"&&(B+=Ed(J.clientWidth,be?be.clientWidth:0)-_e),{width:_e,height:U,x:B,y:e}}function ox(P){var N=Dc(P),J=N.overflow,oe=N.overflowX,be=N.overflowY;return/auto|scroll|overlay|hidden/.test(J+be+oe)}function hA(P){return["html","body","#document"].indexOf(Gf(P))>=0?P.ownerDocument.body:Au(P)&&ox(P)?P:hA(ly(P))}function Rp(P,N){var J;N===void 0&&(N=[]);var oe=hA(P),be=oe===((J=P.ownerDocument)==null?void 0:J.body),_e=lf(oe),U=be?[_e].concat(_e.visualViewport||[],ox(oe)?oe:[]):oe,B=N.concat(U);return be?B:B.concat(Rp(ly(U)))}function Jm(P){return Object.assign({},P,{left:P.x,top:P.y,right:P.x+P.width,bottom:P.y+P.height})}function VF(P){var N=Iv(P);return N.top=N.top+P.clientTop,N.left=N.left+P.clientLeft,N.bottom=N.top+P.clientHeight,N.right=N.left+P.clientWidth,N.width=P.clientWidth,N.height=P.clientHeight,N.x=N.left,N.y=N.top,N}function H3(P,N){return N===aA?Jm(UF(P)):Pv(N)?VF(N):Jm(HF(Oh(P)))}function GF(P){var N=Rp(ly(P)),J=["absolute","fixed"].indexOf(Dc(P).position)>=0,oe=J&&Au(P)?o0(P):P;return Pv(oe)?N.filter(function(be){return Pv(be)&&oA(be,oe)&&Gf(be)!=="body"}):[]}function WF(P,N,J){var oe=N==="clippingParents"?GF(P):[].concat(N),be=[].concat(oe,[J]),_e=be[0],U=be.reduce(function(B,e){var v=H3(P,e);return B.top=Ed(v.top,B.top),B.right=Ig(v.right,B.right),B.bottom=Ig(v.bottom,B.bottom),B.left=Ed(v.left,B.left),B},H3(P,_e));return U.width=U.right-U.left,U.height=U.bottom-U.top,U.x=U.left,U.y=U.top,U}function dA(P){var N=P.reference,J=P.element,oe=P.placement,be=oe?Uf(oe):null,_e=oe?Dv(oe):null,U=N.x+N.width/2-J.width/2,B=N.y+N.height/2-J.height/2,e;switch(be){case Ll:e={x:U,y:N.y-J.height};break;case Su:e={x:U,y:N.y+N.height};break;case Eu:e={x:N.x+N.width,y:B};break;case _l:e={x:N.x-J.width,y:B};break;default:e={x:N.x,y:N.y}}var v=be?nx(be):null;if(v!=null){var E=v==="y"?"height":"width";switch(_e){case _v:e[v]=e[v]-(N[E]/2-J[E]/2);break;case Xp:e[v]=e[v]+(N[E]/2-J[E]/2);break}}return e}function Kp(P,N){N===void 0&&(N={});var J=N,oe=J.placement,be=oe===void 0?P.placement:oe,_e=J.boundary,U=_e===void 0?dF:_e,B=J.rootBoundary,e=B===void 0?aA:B,v=J.elementContext,E=v===void 0?mp:v,a=J.altBoundary,C=a===void 0?!1:a,w=J.padding,d=w===void 0?0:w,p=lA(typeof d!="number"?d:uA(d,i0)),t=E===mp?vF:mp,r=P.rects.popper,c=P.elements[C?t:E],o=WF(Pv(c)?c:c.contextElement||Oh(P.elements.popper),U,e),n=Iv(P.elements.reference),u=dA({reference:n,element:r,strategy:"absolute",placement:be}),i=Jm(Object.assign({},r,u)),g=E===mp?i:n,h={top:o.top-g.top+p.top,bottom:g.bottom-o.bottom+p.bottom,left:o.left-g.left+p.left,right:g.right-o.right+p.right},x=P.modifiersData.offset;if(E===mp&&x){var f=x[be];Object.keys(h).forEach(function(l){var y=[Eu,Su].indexOf(l)>=0?1:-1,T=[Ll,Su].indexOf(l)>=0?"y":"x";h[l]+=f[T]*y})}return h}function jF(P,N){N===void 0&&(N={});var J=N,oe=J.placement,be=J.boundary,_e=J.rootBoundary,U=J.padding,B=J.flipVariations,e=J.allowedAutoPlacements,v=e===void 0?sy:e,E=Dv(oe),a=E?B?z3:z3.filter(function(d){return Dv(d)===E}):i0,C=a.filter(function(d){return v.indexOf(d)>=0});C.length===0&&(C=a);var w=C.reduce(function(d,p){return d[p]=Kp(P,{placement:p,boundary:be,rootBoundary:_e,padding:U})[Uf(p)],d},{});return Object.keys(w).sort(function(d,p){return w[d]-w[p]})}function YF(P){if(Uf(P)===ex)return[];var N=hg(P);return[U3(P),N,U3(N)]}function ZF(P){var N=P.state,J=P.options,oe=P.name;if(!N.modifiersData[oe]._skip){for(var be=J.mainAxis,_e=be===void 0?!0:be,U=J.altAxis,B=U===void 0?!0:U,e=J.fallbackPlacements,v=J.padding,E=J.boundary,a=J.rootBoundary,C=J.altBoundary,w=J.flipVariations,d=w===void 0?!0:w,p=J.allowedAutoPlacements,t=N.options.placement,r=Uf(t),c=r===t,o=e||(c||!d?[hg(t)]:YF(t)),n=[t].concat(o).reduce(function(G,O){return G.concat(Uf(O)===ex?jF(N,{placement:O,boundary:E,rootBoundary:a,padding:v,flipVariations:d,allowedAutoPlacements:p}):O)},[]),u=N.rects.reference,i=N.rects.popper,g=new Map,h=!0,x=n[0],f=0;f=0,L=S?"width":"height",m=Kp(N,{placement:l,boundary:E,rootBoundary:a,altBoundary:C,padding:v}),M=S?T?Eu:_l:T?Su:Ll;u[L]>i[L]&&(M=hg(M));var b=hg(M),s=[];if(_e&&s.push(m[y]<=0),B&&s.push(m[M]<=0,m[b]<=0),s.every(function(G){return G})){x=l,h=!1;break}g.set(l,s)}if(h)for(var _=d?3:1,A=function(G){var O=n.find(function(H){var z=g.get(H);if(z)return z.slice(0,G).every(function(k){return k})});if(O)return x=O,"break"},D=_;D>0;D--){var F=A(D);if(F==="break")break}N.placement!==x&&(N.modifiersData[oe]._skip=!0,N.placement=x,N.reset=!0)}}var XF={name:"flip",enabled:!0,phase:"main",fn:ZF,requiresIfExists:["offset"],data:{_skip:!1}};function V3(P,N,J){return J===void 0&&(J={x:0,y:0}),{top:P.top-N.height-J.y,right:P.right-N.width+J.x,bottom:P.bottom-N.height+J.y,left:P.left-N.width-J.x}}function G3(P){return[Ll,Eu,Su,_l].some(function(N){return P[N]>=0})}function KF(P){var N=P.state,J=P.name,oe=N.rects.reference,be=N.rects.popper,_e=N.modifiersData.preventOverflow,U=Kp(N,{elementContext:"reference"}),B=Kp(N,{altBoundary:!0}),e=V3(U,oe),v=V3(B,be,_e),E=G3(e),a=G3(v);N.modifiersData[J]={referenceClippingOffsets:e,popperEscapeOffsets:v,isReferenceHidden:E,hasPopperEscaped:a},N.attributes.popper=Object.assign({},N.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":a})}var $F={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:KF};function JF(P,N,J){var oe=Uf(P),be=[_l,Ll].indexOf(oe)>=0?-1:1,_e=typeof J=="function"?J(Object.assign({},N,{placement:P})):J,U=_e[0],B=_e[1];return U=U||0,B=(B||0)*be,[_l,Eu].indexOf(oe)>=0?{x:B,y:U}:{x:U,y:B}}function QF(P){var N=P.state,J=P.options,oe=P.name,be=J.offset,_e=be===void 0?[0,0]:be,U=sy.reduce(function(E,a){return E[a]=JF(a,N.rects,_e),E},{}),B=U[N.placement],e=B.x,v=B.y;N.modifiersData.popperOffsets!=null&&(N.modifiersData.popperOffsets.x+=e,N.modifiersData.popperOffsets.y+=v),N.modifiersData[oe]=U}var qF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QF};function eO(P){var N=P.state,J=P.name;N.modifiersData[J]=dA({reference:N.rects.reference,element:N.rects.popper,strategy:"absolute",placement:N.placement})}var vA={name:"popperOffsets",enabled:!0,phase:"read",fn:eO,data:{}};function tO(P){return P==="x"?"y":"x"}function rO(P){var N=P.state,J=P.options,oe=P.name,be=J.mainAxis,_e=be===void 0?!0:be,U=J.altAxis,B=U===void 0?!1:U,e=J.boundary,v=J.rootBoundary,E=J.altBoundary,a=J.padding,C=J.tether,w=C===void 0?!0:C,d=J.tetherOffset,p=d===void 0?0:d,t=Kp(N,{boundary:e,rootBoundary:v,padding:a,altBoundary:E}),r=Uf(N.placement),c=Dv(N.placement),o=!c,n=nx(r),u=tO(n),i=N.modifiersData.popperOffsets,g=N.rects.reference,h=N.rects.popper,x=typeof p=="function"?p(Object.assign({},N.rects,{placement:N.placement})):p,f=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),l=N.modifiersData.offset?N.modifiersData.offset[N.placement]:null,y={x:0,y:0};if(i){if(_e){var T,S=n==="y"?Ll:_l,L=n==="y"?Su:Eu,m=n==="y"?"height":"width",M=i[n],b=M+t[S],s=M-t[L],_=w?-h[m]/2:0,A=c===_v?g[m]:h[m],D=c===_v?-h[m]:-g[m],F=N.elements.arrow,G=w&&F?rx(F):{width:0,height:0},O=N.modifiersData["arrow#persistent"]?N.modifiersData["arrow#persistent"].padding:sA(),H=O[S],z=O[L],k=Pp(0,g[m],G[m]),V=o?g[m]/2-_-k-H-f.mainAxis:A-k-H-f.mainAxis,Z=o?-g[m]/2+_+k+z+f.mainAxis:D+k+z+f.mainAxis,ee=N.elements.arrow&&o0(N.elements.arrow),Q=ee?n==="y"?ee.clientTop||0:ee.clientLeft||0:0,ne=(T=l==null?void 0:l[n])!=null?T:0,fe=M+V-ne-Q,$=M+Z-ne,Y=Pp(w?Ig(b,fe):b,M,w?Ed(s,$):s);i[n]=Y,y[n]=Y-M}if(B){var j,X=n==="x"?Ll:_l,re=n==="x"?Su:Eu,le=i[u],q=u==="y"?"height":"width",te=le+t[X],ue=le-t[re],ae=[Ll,_l].indexOf(r)!==-1,de=(j=l==null?void 0:l[u])!=null?j:0,xe=ae?te:le-g[q]-h[q]-de+f.altAxis,Se=ae?le+g[q]+h[q]-de-f.altAxis:ue,Ae=w&&ae?_F(xe,le,Se):Pp(w?xe:te,le,w?Se:ue);i[u]=Ae,y[u]=Ae-le}N.modifiersData[oe]=y}}var nO={name:"preventOverflow",enabled:!0,phase:"main",fn:rO,requiresIfExists:["offset"]};function aO(P){return{scrollLeft:P.scrollLeft,scrollTop:P.scrollTop}}function iO(P){return P===lf(P)||!Au(P)?ax(P):aO(P)}function oO(P){var N=P.getBoundingClientRect(),J=Rv(N.width)/P.offsetWidth||1,oe=Rv(N.height)/P.offsetHeight||1;return J!==1||oe!==1}function sO(P,N,J){J===void 0&&(J=!1);var oe=Au(N),be=Au(N)&&oO(N),_e=Oh(N),U=Iv(P,be),B={scrollLeft:0,scrollTop:0},e={x:0,y:0};return(oe||!oe&&!J)&&((Gf(N)!=="body"||ox(_e))&&(B=iO(N)),Au(N)?(e=Iv(N,!0),e.x+=N.clientLeft,e.y+=N.clientTop):_e&&(e.x=ix(_e))),{x:U.left+B.scrollLeft-e.x,y:U.top+B.scrollTop-e.y,width:U.width,height:U.height}}function lO(P){var N=new Map,J=new Set,oe=[];P.forEach(function(_e){N.set(_e.name,_e)});function be(_e){J.add(_e.name);var U=[].concat(_e.requires||[],_e.requiresIfExists||[]);U.forEach(function(B){if(!J.has(B)){var e=N.get(B);e&&be(e)}}),oe.push(_e)}return P.forEach(function(_e){J.has(_e.name)||be(_e)}),oe}function uO(P){var N=lO(P);return MF.reduce(function(J,oe){return J.concat(N.filter(function(be){return be.phase===oe}))},[])}function fO(P){var N;return function(){return N||(N=new Promise(function(J){Promise.resolve().then(function(){N=void 0,J(P())})})),N}}function cO(P){var N=P.reduce(function(J,oe){var be=J[oe.name];return J[oe.name]=be?Object.assign({},be,oe,{options:Object.assign({},be.options,oe.options),data:Object.assign({},be.data,oe.data)}):oe,J},{});return Object.keys(N).map(function(J){return N[J]})}var W3={placement:"bottom",modifiers:[],strategy:"absolute"};function j3(){for(var P=arguments.length,N=new Array(P),J=0;J{const oe={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const v=gO(e);Object.assign(U.value,v)},requires:["computeStyles"]},be=sn(()=>{const{onFirstUpdate:e,placement:v,strategy:E,modifiers:a}=Ar(J);return{onFirstUpdate:e,placement:v||"bottom",strategy:E||"absolute",modifiers:[...a||[],oe,{name:"applyStyles",enabled:!1}]}}),_e=_h(),U=ra({styles:{popper:{position:Ar(be).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),B=()=>{_e.value&&(_e.value.destroy(),_e.value=void 0)};return ja(be,e=>{const v=Ar(_e);v&&v.setOptions(e)},{deep:!0}),ja([P,N],([e,v])=>{B(),!(!e||!v)&&(_e.value=vO(e,v,Ar(be)))}),$s(()=>{B()}),{state:sn(()=>{var e;return{...((e=Ar(_e))==null?void 0:e.state)||{}}}),styles:sn(()=>Ar(U).styles),attributes:sn(()=>Ar(U).attributes),update:()=>{var e;return(e=Ar(_e))==null?void 0:e.update()},forceUpdate:()=>{var e;return(e=Ar(_e))==null?void 0:e.forceUpdate()},instanceRef:sn(()=>Ar(_e))}};function gO(P){const N=Object.keys(P.elements),J=Pg(N.map(be=>[be,P.styles[be]||{}])),oe=Pg(N.map(be=>[be,P.attributes[be]]));return{styles:J,attributes:oe}}function Y3(){let P;const N=(oe,be)=>{J(),P=window.setTimeout(oe,be)},J=()=>window.clearTimeout(P);return r0(()=>J()),{registerTimeout:N,cancelTimeout:J}}const Z3={prefix:Math.floor(Math.random()*1e4),current:0},yO=Symbol("elIdInjection"),pA=()=>bs()?si(yO,Z3):Z3,uy=P=>{const N=pA(),J=q1();return sn(()=>Ar(P)||`${J.value}-id-${N.prefix}-${N.current++}`)};let cv=[];const X3=P=>{const N=P;N.key===Rs.esc&&cv.forEach(J=>J(N))},mO=P=>{xo(()=>{cv.length===0&&document.addEventListener("keydown",X3),ms&&cv.push(P)}),$s(()=>{cv=cv.filter(N=>N!==P),cv.length===0&&ms&&document.removeEventListener("keydown",X3)})};let K3;const gA=()=>{const P=q1(),N=pA(),J=sn(()=>`${P.value}-popper-container-${N.prefix}`),oe=sn(()=>`#${J.value}`);return{id:J,selector:oe}},xO=P=>{const N=document.createElement("div");return N.id=P,document.body.appendChild(N),N},bO=()=>{const{id:P,selector:N}=gA();return oT(()=>{ms&&!K3&&!document.body.querySelector(N.value)&&(K3=xO(P.value))}),{id:P,selector:N}},wO=Zi({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),TO=({showAfter:P,hideAfter:N,autoClose:J,open:oe,close:be})=>{const{registerTimeout:_e}=Y3(),{registerTimeout:U,cancelTimeout:B}=Y3();return{onOpen:E=>{_e(()=>{oe(E);const a=Ar(J);qo(a)&&a>0&&U(()=>{be(E)},a)},Ar(P))},onClose:E=>{B(),_e(()=>{be(E)},Ar(N))}}},yA=Symbol("elForwardRef"),AO=P=>{Bo(yA,{setForwardRef:J=>{P.value=J}})},MO=P=>({mounted(N){P(N)},updated(N){P(N)},unmounted(){P(null)}}),$3=ra(0),mA=2e3,xA=Symbol("zIndexContextKey"),bA=P=>{const N=P||si(xA,void 0),J=sn(()=>{const _e=Ar(N);return qo(_e)?_e:mA}),oe=sn(()=>J.value+$3.value);return{initialZIndex:J,currentZIndex:oe,nextZIndex:()=>($3.value++,oe.value)}};function SO(P){const N=ra();function J(){if(P.value==null)return;const{selectionStart:be,selectionEnd:_e,value:U}=P.value;if(be==null||_e==null)return;const B=U.slice(0,Math.max(0,be)),e=U.slice(Math.max(0,_e));N.value={selectionStart:be,selectionEnd:_e,value:U,beforeTxt:B,afterTxt:e}}function oe(){if(P.value==null||N.value==null)return;const{value:be}=P.value,{beforeTxt:_e,afterTxt:U,selectionStart:B}=N.value;if(_e==null||U==null||B==null)return;let e=be.length;if(be.endsWith(U))e=be.length-U.length;else if(be.startsWith(_e))e=_e.length;else{const v=_e[B-1],E=be.indexOf(v,B-1);E!==-1&&(e=E+1)}P.value.setSelectionRange(e,e)}return[J,oe]}const Uv=iy({type:String,values:a0,required:!1}),wA=Symbol("size"),EO=()=>{const P=si(wA,{});return sn(()=>Ar(P.size)||"")},TA=Symbol(),Dg=ra();function AA(P,N=void 0){const J=bs()?si(TA,Dg):Dg;return P?sn(()=>{var oe,be;return(be=(oe=J.value)==null?void 0:oe[P])!=null?be:N}):J}function CO(P,N){const J=AA(),oe=li(P,sn(()=>{var B;return((B=J.value)==null?void 0:B.namespace)||$m})),be=oy(sn(()=>{var B;return(B=J.value)==null?void 0:B.locale})),_e=bA(sn(()=>{var B;return((B=J.value)==null?void 0:B.zIndex)||mA})),U=sn(()=>{var B;return Ar(N)||((B=J.value)==null?void 0:B.size)||""});return MA(sn(()=>Ar(J)||{})),{ns:oe,locale:be,zIndex:_e,size:U}}const MA=(P,N,J=!1)=>{var oe;const be=!!bs(),_e=be?AA():void 0,U=(oe=N==null?void 0:N.provide)!=null?oe:be?Bo:void 0;if(!U)return;const B=sn(()=>{const e=Ar(P);return _e!=null&&_e.value?LO(_e.value,e):e});return U(TA,B),U(eA,sn(()=>B.value.locale)),U(tA,sn(()=>B.value.namespace)),U(xA,sn(()=>B.value.zIndex)),U(wA,{size:sn(()=>B.value.size||"")}),(J||!Dg.value)&&(Dg.value=B.value),B},LO=(P,N)=>{var J;const oe=[...new Set([...F3(P),...F3(N)])],be={};for(const _e of oe)be[_e]=(J=N[_e])!=null?J:P[_e];return be},_O=Zi({a11y:{type:Boolean,default:!0},locale:{type:oi(Object)},size:Uv,button:{type:oi(Object)},experimentalFeatures:{type:oi(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:oi(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),Qm={},PO=Ca({name:"ElConfigProvider",props:_O,setup(P,{slots:N}){ja(()=>P.message,oe=>{Object.assign(Qm,oe??{})},{immediate:!0,deep:!0});const J=MA(P);return()=>ti(N,"default",{config:J==null?void 0:J.value})}}),RO=ks(PO);var Si=(P,N)=>{const J=P.__vccOpts||P;for(const[oe,be]of N)J[oe]=be;return J};const IO=Zi({size:{type:oi([Number,String])},color:{type:String}}),DO=Ca({name:"ElIcon",inheritAttrs:!1}),kO=Ca({...DO,props:IO,setup(P){const N=P,J=li("icon"),oe=sn(()=>{const{size:be,color:_e}=N;return!be&&!_e?{}:{fontSize:Rg(be)?void 0:Zp(be),"--color":_e}});return(be,_e)=>(Wn(),Oa("i",Nf({class:Ar(J).b(),style:Ar(oe)},be.$attrs),[ti(be.$slots,"default")],16))}});var FO=Si(kO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const bu=ks(FO),Hv=Symbol("formContextKey"),Ld=Symbol("formItemContextKey"),Fh=(P,N={})=>{const J=ra(void 0),oe=N.prop?J:nA("size"),be=N.global?J:EO(),_e=N.form?{size:void 0}:si(Hv,void 0),U=N.formItem?{size:void 0}:si(Ld,void 0);return sn(()=>oe.value||Ar(P)||(U==null?void 0:U.size)||(_e==null?void 0:_e.size)||be.value||"")},lx=P=>{const N=nA("disabled"),J=si(Hv,void 0);return sn(()=>N.value||Ar(P)||(J==null?void 0:J.disabled)||!1)},Vv=()=>{const P=si(Hv,void 0),N=si(Ld,void 0);return{form:P,formItem:N}},fy=(P,{formItemContext:N,disableIdGeneration:J,disableIdManagement:oe})=>{J||(J=ra(!1)),oe||(oe=ra(!1));const be=ra();let _e;const U=sn(()=>{var B;return!!(!P.label&&N&&N.inputIds&&((B=N.inputIds)==null?void 0:B.length)<=1)});return xo(()=>{_e=ja([zf(P,"id"),J],([B,e])=>{const v=B??(e?void 0:uy().value);v!==be.value&&(N!=null&&N.removeInputId&&(be.value&&N.removeInputId(be.value),!(oe!=null&&oe.value)&&!e&&v&&N.addInputId(v)),be.value=v)},{immediate:!0})}),T1(()=>{_e&&_e(),N!=null&&N.removeInputId&&be.value&&N.removeInputId(be.value)}),{isLabeledByFormItem:U,inputId:be}},OO=Zi({size:{type:String,values:a0},disabled:Boolean}),zO=Zi({...OO,model:Object,rules:{type:oi(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1},scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),BO={validate:(P,N,J)=>(Va(P)||ci(P))&&Ic(N)&&ci(J)};function NO(){const P=ra([]),N=sn(()=>{if(!P.value.length)return"0";const _e=Math.max(...P.value);return _e?`${_e}px`:""});function J(_e){const U=P.value.indexOf(_e);return U===-1&&N.value,U}function oe(_e,U){if(_e&&U){const B=J(U);P.value.splice(B,1,_e)}else _e&&P.value.push(_e)}function be(_e){const U=J(_e);U>-1&&P.value.splice(U,1)}return{autoLabelWidth:N,registerLabelWidth:oe,deregisterLabelWidth:be}}const Y0=(P,N)=>{const J=Gm(N);return J.length>0?P.filter(oe=>oe.prop&&J.includes(oe.prop)):P},UO="ElForm",HO=Ca({name:UO}),VO=Ca({...HO,props:zO,emits:BO,setup(P,{expose:N,emit:J}){const oe=P,be=[],_e=Fh(),U=li("form"),B=sn(()=>{const{labelPosition:c,inline:o}=oe;return[U.b(),U.m(_e.value||"default"),{[U.m(`label-${c}`)]:c,[U.m("inline")]:o}]}),e=c=>{be.push(c)},v=c=>{c.prop&&be.splice(be.indexOf(c),1)},E=(c=[])=>{oe.model&&Y0(be,c).forEach(o=>o.resetField())},a=(c=[])=>{Y0(be,c).forEach(o=>o.clearValidate())},C=sn(()=>!!oe.model),w=c=>{if(be.length===0)return[];const o=Y0(be,c);return o.length?o:[]},d=async c=>t(void 0,c),p=async(c=[])=>{if(!C.value)return!1;const o=w(c);if(o.length===0)return!0;let n={};for(const u of o)try{await u.validate("")}catch(i){n={...n,...i}}return Object.keys(n).length===0?!0:Promise.reject(n)},t=async(c=[],o)=>{const n=!Qa(o);try{const u=await p(c);return u===!0&&(o==null||o(u)),u}catch(u){if(u instanceof Error)throw u;const i=u;return oe.scrollToError&&r(Object.keys(i)[0]),o==null||o(!1,i),n&&Promise.reject(i)}},r=c=>{var o;const n=Y0(be,c)[0];n&&((o=n.$el)==null||o.scrollIntoView(oe.scrollIntoViewOptions))};return ja(()=>oe.rules,()=>{oe.validateOnRuleChange&&d().catch(c=>void 0)},{deep:!0}),Bo(Hv,xs({...Pd(oe),emit:J,resetFields:E,clearValidate:a,validateField:t,addField:e,removeField:v,...NO()})),N({validate:d,validateField:t,resetFields:E,clearValidate:a,scrollToField:r}),(c,o)=>(Wn(),Oa("form",{class:ua(Ar(B))},[ti(c.$slots,"default")],2))}});var GO=Si(VO,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Td(){return Td=Object.assign?Object.assign.bind():function(P){for(var N=1;N"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function dg(P,N,J){return jO()?dg=Reflect.construct.bind():dg=function(be,_e,U){var B=[null];B.push.apply(B,_e);var e=Function.bind.apply(be,B),v=new e;return U&&$p(v,U.prototype),v},dg.apply(null,arguments)}function YO(P){return Function.toString.call(P).indexOf("[native code]")!==-1}function e1(P){var N=typeof Map=="function"?new Map:void 0;return e1=function(oe){if(oe===null||!YO(oe))return oe;if(typeof oe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof N<"u"){if(N.has(oe))return N.get(oe);N.set(oe,be)}function be(){return dg(oe,arguments,qm(this).constructor)}return be.prototype=Object.create(oe.prototype,{constructor:{value:be,enumerable:!1,writable:!0,configurable:!0}}),$p(be,oe)},e1(P)}var ZO=/%[sdj%]/g,XO=function(){};typeof process<"u"&&process.env;function t1(P){if(!P||!P.length)return null;var N={};return P.forEach(function(J){var oe=J.field;N[oe]=N[oe]||[],N[oe].push(J)}),N}function $l(P){for(var N=arguments.length,J=new Array(N>1?N-1:0),oe=1;oe=_e)return B;switch(B){case"%s":return String(J[be++]);case"%d":return Number(J[be++]);case"%j":try{return JSON.stringify(J[be++])}catch{return"[Circular]"}break;default:return B}});return U}return P}function KO(P){return P==="string"||P==="url"||P==="hex"||P==="email"||P==="date"||P==="pattern"}function os(P,N){return!!(P==null||N==="array"&&Array.isArray(P)&&!P.length||KO(N)&&typeof P=="string"&&!P)}function $O(P,N,J){var oe=[],be=0,_e=P.length;function U(B){oe.push.apply(oe,B||[]),be++,be===_e&&J(oe)}P.forEach(function(B){N(B,U)})}function J3(P,N,J){var oe=0,be=P.length;function _e(U){if(U&&U.length){J(U);return}var B=oe;oe=oe+1,B()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},wp={integer:function(N){return wp.number(N)&&parseInt(N,10)===N},float:function(N){return wp.number(N)&&!wp.integer(N)},array:function(N){return Array.isArray(N)},regexp:function(N){if(N instanceof RegExp)return!0;try{return!!new RegExp(N)}catch{return!1}},date:function(N){return typeof N.getTime=="function"&&typeof N.getMonth=="function"&&typeof N.getYear=="function"&&!isNaN(N.getTime())},number:function(N){return isNaN(N)?!1:typeof N=="number"},object:function(N){return typeof N=="object"&&!wp.array(N)},method:function(N){return typeof N=="function"},email:function(N){return typeof N=="string"&&N.length<=320&&!!N.match(tw.email)},url:function(N){return typeof N=="string"&&N.length<=2048&&!!N.match(rz())},hex:function(N){return typeof N=="string"&&!!N.match(tw.hex)}},nz=function(N,J,oe,be,_e){if(N.required&&J===void 0){SA(N,J,oe,be,_e);return}var U=["integer","float","array","regexp","object","method","email","number","date","url","hex"],B=N.type;U.indexOf(B)>-1?wp[B](J)||be.push($l(_e.messages.types[B],N.fullField,N.type)):B&&typeof J!==N.type&&be.push($l(_e.messages.types[B],N.fullField,N.type))},az=function(N,J,oe,be,_e){var U=typeof N.len=="number",B=typeof N.min=="number",e=typeof N.max=="number",v=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E=J,a=null,C=typeof J=="number",w=typeof J=="string",d=Array.isArray(J);if(C?a="number":w?a="string":d&&(a="array"),!a)return!1;d&&(E=J.length),w&&(E=J.replace(v,"_").length),U?E!==N.len&&be.push($l(_e.messages[a].len,N.fullField,N.len)):B&&!e&&EN.max?be.push($l(_e.messages[a].max,N.fullField,N.max)):B&&e&&(EN.max)&&be.push($l(_e.messages[a].range,N.fullField,N.min,N.max))},sv="enum",iz=function(N,J,oe,be,_e){N[sv]=Array.isArray(N[sv])?N[sv]:[],N[sv].indexOf(J)===-1&&be.push($l(_e.messages[sv],N.fullField,N[sv].join(", ")))},oz=function(N,J,oe,be,_e){if(N.pattern){if(N.pattern instanceof RegExp)N.pattern.lastIndex=0,N.pattern.test(J)||be.push($l(_e.messages.pattern.mismatch,N.fullField,J,N.pattern));else if(typeof N.pattern=="string"){var U=new RegExp(N.pattern);U.test(J)||be.push($l(_e.messages.pattern.mismatch,N.fullField,J,N.pattern))}}},Di={required:SA,whitespace:tz,type:nz,range:az,enum:iz,pattern:oz},sz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J,"string")&&!N.required)return oe();Di.required(N,J,be,U,_e,"string"),os(J,"string")||(Di.type(N,J,be,U,_e),Di.range(N,J,be,U,_e),Di.pattern(N,J,be,U,_e),N.whitespace===!0&&Di.whitespace(N,J,be,U,_e))}oe(U)},lz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&Di.type(N,J,be,U,_e)}oe(U)},uz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(J===""&&(J=void 0),os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&(Di.type(N,J,be,U,_e),Di.range(N,J,be,U,_e))}oe(U)},fz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&Di.type(N,J,be,U,_e)}oe(U)},cz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),os(J)||Di.type(N,J,be,U,_e)}oe(U)},hz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&(Di.type(N,J,be,U,_e),Di.range(N,J,be,U,_e))}oe(U)},dz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&(Di.type(N,J,be,U,_e),Di.range(N,J,be,U,_e))}oe(U)},vz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(J==null&&!N.required)return oe();Di.required(N,J,be,U,_e,"array"),J!=null&&(Di.type(N,J,be,U,_e),Di.range(N,J,be,U,_e))}oe(U)},pz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&Di.type(N,J,be,U,_e)}oe(U)},gz="enum",yz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e),J!==void 0&&Di[gz](N,J,be,U,_e)}oe(U)},mz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J,"string")&&!N.required)return oe();Di.required(N,J,be,U,_e),os(J,"string")||Di.pattern(N,J,be,U,_e)}oe(U)},xz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J,"date")&&!N.required)return oe();if(Di.required(N,J,be,U,_e),!os(J,"date")){var e;J instanceof Date?e=J:e=new Date(J),Di.type(N,e,be,U,_e),e&&Di.range(N,e.getTime(),be,U,_e)}}oe(U)},bz=function(N,J,oe,be,_e){var U=[],B=Array.isArray(J)?"array":typeof J;Di.required(N,J,be,U,_e,B),oe(U)},um=function(N,J,oe,be,_e){var U=N.type,B=[],e=N.required||!N.required&&be.hasOwnProperty(N.field);if(e){if(os(J,U)&&!N.required)return oe();Di.required(N,J,be,B,_e,U),os(J,U)||Di.type(N,J,be,B,_e)}oe(B)},wz=function(N,J,oe,be,_e){var U=[],B=N.required||!N.required&&be.hasOwnProperty(N.field);if(B){if(os(J)&&!N.required)return oe();Di.required(N,J,be,U,_e)}oe(U)},Ip={string:sz,method:lz,number:uz,boolean:fz,regexp:cz,integer:hz,float:dz,array:vz,object:pz,enum:yz,pattern:mz,date:xz,url:um,hex:um,email:um,required:bz,any:wz};function r1(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var N=JSON.parse(JSON.stringify(this));return N.clone=this.clone,N}}}var n1=r1(),s0=function(){function P(J){this.rules=null,this._messages=n1,this.define(J)}var N=P.prototype;return N.define=function(oe){var be=this;if(!oe)throw new Error("Cannot configure a schema with no rules");if(typeof oe!="object"||Array.isArray(oe))throw new Error("Rules must be an object");this.rules={},Object.keys(oe).forEach(function(_e){var U=oe[_e];be.rules[_e]=Array.isArray(U)?U:[U]})},N.messages=function(oe){return oe&&(this._messages=ew(r1(),oe)),this._messages},N.validate=function(oe,be,_e){var U=this;be===void 0&&(be={}),_e===void 0&&(_e=function(){});var B=oe,e=be,v=_e;if(typeof e=="function"&&(v=e,e={}),!this.rules||Object.keys(this.rules).length===0)return v&&v(null,B),Promise.resolve(B);function E(p){var t=[],r={};function c(n){if(Array.isArray(n)){var u;t=(u=t).concat.apply(u,n)}else t.push(n)}for(var o=0;o");const be=li("form"),_e=ra(),U=ra(0),B=()=>{var E;if((E=_e.value)!=null&&E.firstElementChild){const a=window.getComputedStyle(_e.value.firstElementChild).width;return Math.ceil(Number.parseFloat(a))}else return 0},e=(E="update")=>{Ii(()=>{N.default&&P.isAutoWidth&&(E==="update"?U.value=B():E==="remove"&&(J==null||J.deregisterLabelWidth(U.value)))})},v=()=>e("update");return xo(()=>{v()}),$s(()=>{e("remove")}),Wg(()=>v()),ja(U,(E,a)=>{P.updateAll&&(J==null||J.registerLabelWidth(E,a))}),Rd(sn(()=>{var E,a;return(a=(E=_e.value)==null?void 0:E.firstElementChild)!=null?a:null}),v),()=>{var E,a;if(!N)return null;const{isAutoWidth:C}=P;if(C){const w=J==null?void 0:J.autoLabelWidth,d=oe==null?void 0:oe.hasLabel,p={};if(d&&w&&w!=="auto"){const t=Math.max(0,Number.parseInt(w,10)-U.value),r=J.labelPosition==="left"?"marginRight":"marginLeft";t&&(p[r]=`${t}px`)}return Ia("div",{ref:_e,class:[be.be("item","label-wrap")],style:p},[(E=N.default)==null?void 0:E.call(N)])}else return Ia(qi,{ref:_e},[(a=N.default)==null?void 0:a.call(N)])}}});const Sz=["role","aria-labelledby"],Ez=Ca({name:"ElFormItem"}),Cz=Ca({...Ez,props:Az,setup(P,{expose:N}){const J=P,oe=qp(),be=si(Hv,void 0),_e=si(Ld,void 0),U=Fh(void 0,{formItem:!1}),B=li("form-item"),e=uy().value,v=ra([]),E=ra(""),a=hL(E,100),C=ra(""),w=ra();let d,p=!1;const t=sn(()=>{if((be==null?void 0:be.labelPosition)==="top")return{};const z=Zp(J.labelWidth||(be==null?void 0:be.labelWidth)||"");return z?{width:z}:{}}),r=sn(()=>{if((be==null?void 0:be.labelPosition)==="top"||be!=null&&be.inline)return{};if(!J.label&&!J.labelWidth&&x)return{};const z=Zp(J.labelWidth||(be==null?void 0:be.labelWidth)||"");return!J.label&&!oe.label?{marginLeft:z}:{}}),c=sn(()=>[B.b(),B.m(U.value),B.is("error",E.value==="error"),B.is("validating",E.value==="validating"),B.is("success",E.value==="success"),B.is("required",S.value||J.required),B.is("no-asterisk",be==null?void 0:be.hideRequiredAsterisk),(be==null?void 0:be.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[B.m("feedback")]:be==null?void 0:be.statusIcon}]),o=sn(()=>Ic(J.inlineMessage)?J.inlineMessage:(be==null?void 0:be.inlineMessage)||!1),n=sn(()=>[B.e("error"),{[B.em("error","inline")]:o.value}]),u=sn(()=>J.prop?ci(J.prop)?J.prop:J.prop.join("."):""),i=sn(()=>!!(J.label||oe.label)),g=sn(()=>J.for||v.value.length===1?v.value[0]:void 0),h=sn(()=>!g.value&&i.value),x=!!_e,f=sn(()=>{const z=be==null?void 0:be.model;if(!(!z||!J.prop))return sm(z,J.prop).value}),l=sn(()=>{const{required:z}=J,k=[];J.rules&&k.push(...Gm(J.rules));const V=be==null?void 0:be.rules;if(V&&J.prop){const Z=sm(V,J.prop).value;Z&&k.push(...Gm(Z))}if(z!==void 0){const Z=k.map((ee,Q)=>[ee,Q]).filter(([ee])=>Object.keys(ee).includes("required"));if(Z.length>0)for(const[ee,Q]of Z)ee.required!==z&&(k[Q]={...ee,required:z});else k.push({required:z})}return k}),y=sn(()=>l.value.length>0),T=z=>l.value.filter(V=>!V.trigger||!z?!0:Array.isArray(V.trigger)?V.trigger.includes(z):V.trigger===z).map(({trigger:V,...Z})=>Z),S=sn(()=>l.value.some(z=>z.required)),L=sn(()=>{var z;return a.value==="error"&&J.showMessage&&((z=be==null?void 0:be.showMessage)!=null?z:!0)}),m=sn(()=>`${J.label||""}${(be==null?void 0:be.labelSuffix)||""}`),M=z=>{E.value=z},b=z=>{var k,V;const{errors:Z,fields:ee}=z;(!Z||!ee)&&console.error(z),M("error"),C.value=Z?(V=(k=Z==null?void 0:Z[0])==null?void 0:k.message)!=null?V:`${J.prop} is required`:"",be==null||be.emit("validate",J.prop,!1,C.value)},s=()=>{M("success"),be==null||be.emit("validate",J.prop,!0,"")},_=async z=>{const k=u.value;return new s0({[k]:z}).validate({[k]:f.value},{firstFields:!0}).then(()=>(s(),!0)).catch(Z=>(b(Z),Promise.reject(Z)))},A=async(z,k)=>{if(p||!J.prop)return!1;const V=Qa(k);if(!y.value)return k==null||k(!1),!1;const Z=T(z);return Z.length===0?(k==null||k(!0),!0):(M("validating"),_(Z).then(()=>(k==null||k(!0),!0)).catch(ee=>{const{fields:Q}=ee;return k==null||k(!1,Q),V?!1:Promise.reject(Q)}))},D=()=>{M(""),C.value="",p=!1},F=async()=>{const z=be==null?void 0:be.model;if(!z||!J.prop)return;const k=sm(z,J.prop);p=!0,k.value=_3(d),await Ii(),D(),p=!1},G=z=>{v.value.includes(z)||v.value.push(z)},O=z=>{v.value=v.value.filter(k=>k!==z)};ja(()=>J.error,z=>{C.value=z||"",M(z?"error":"")},{immediate:!0}),ja(()=>J.validateStatus,z=>M(z||""));const H=xs({...Pd(J),$el:w,size:U,validateState:E,labelId:e,inputIds:v,isGroup:h,hasLabel:i,addInputId:G,removeInputId:O,resetField:F,clearValidate:D,validate:A});return Bo(Ld,H),xo(()=>{J.prop&&(be==null||be.addField(H),d=_3(f.value))}),$s(()=>{be==null||be.removeField(H)}),N({size:U,validateMessage:C,validateState:E,validate:A,clearValidate:D,resetField:F}),(z,k)=>{var V;return Wn(),Oa("div",{ref_key:"formItemRef",ref:w,class:ua(Ar(c)),role:Ar(h)?"group":void 0,"aria-labelledby":Ar(h)?Ar(e):void 0},[Ia(Ar(Mz),{"is-auto-width":Ar(t).width==="auto","update-all":((V=Ar(be))==null?void 0:V.labelWidth)==="auto"},{default:Ea(()=>[Ar(i)?(Wn(),ri(Kl(Ar(g)?"label":"div"),{key:0,id:Ar(e),for:Ar(g),class:ua(Ar(B).e("label")),style:ao(Ar(t))},{default:Ea(()=>[ti(z.$slots,"label",{label:Ar(m)},()=>[Ps(Io(Ar(m)),1)])]),_:3},8,["id","for","class","style"])):ai("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),za("div",{class:ua(Ar(B).e("content")),style:ao(Ar(r))},[ti(z.$slots,"default"),Ia(CE,{name:`${Ar(B).namespace.value}-zoom-in-top`},{default:Ea(()=>[Ar(L)?ti(z.$slots,"error",{key:0,error:C.value},()=>[za("div",{class:ua(Ar(n))},Io(C.value),3)]):ai("v-if",!0)]),_:3},8,["name"])],6)],10,Sz)}}});var EA=Si(Cz,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const Lz=ks(GO,{FormItem:EA}),_z=Rl(EA);let Ju;const Pz=`
+ height:0 !important;
+ visibility:hidden !important;
+ ${r_()?"":"overflow:hidden !important;"}
+ position:absolute !important;
+ z-index:-1000 !important;
+ top:0 !important;
+ right:0 !important;
+`,Rz=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Iz(P){const N=window.getComputedStyle(P),J=N.getPropertyValue("box-sizing"),oe=Number.parseFloat(N.getPropertyValue("padding-bottom"))+Number.parseFloat(N.getPropertyValue("padding-top")),be=Number.parseFloat(N.getPropertyValue("border-bottom-width"))+Number.parseFloat(N.getPropertyValue("border-top-width"));return{contextStyle:Rz.map(U=>`${U}:${N.getPropertyValue(U)}`).join(";"),paddingSize:oe,borderSize:be,boxSizing:J}}function nw(P,N=1,J){var oe;Ju||(Ju=document.createElement("textarea"),document.body.appendChild(Ju));const{paddingSize:be,borderSize:_e,boxSizing:U,contextStyle:B}=Iz(P);Ju.setAttribute("style",`${B};${Pz}`),Ju.value=P.value||P.placeholder||"";let e=Ju.scrollHeight;const v={};U==="border-box"?e=e+_e:U==="content-box"&&(e=e-be),Ju.value="";const E=Ju.scrollHeight-be;if(qo(N)){let a=E*N;U==="border-box"&&(a=a+be+_e),e=Math.max(a,e),v.minHeight=`${a}px`}if(qo(J)){let a=E*J;U==="border-box"&&(a=a+be+_e),e=Math.min(a,e)}return v.height=`${e}px`,(oe=Ju.parentNode)==null||oe.removeChild(Ju),Ju=void 0,v}const Dz=Zi({id:{type:String,default:void 0},size:Uv,disabled:Boolean,modelValue:{type:oi([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:oi([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Ec},prefixIcon:{type:Ec},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:oi([Object,Array,String]),default:()=>Sh({})}}),kz={[gs]:P=>ci(P),input:P=>ci(P),change:P=>ci(P),focus:P=>P instanceof FocusEvent,blur:P=>P instanceof FocusEvent,clear:()=>!0,mouseleave:P=>P instanceof MouseEvent,mouseenter:P=>P instanceof MouseEvent,keydown:P=>P instanceof Event,compositionstart:P=>P instanceof CompositionEvent,compositionupdate:P=>P instanceof CompositionEvent,compositionend:P=>P instanceof CompositionEvent},Fz=["role"],Oz=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],zz=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],Bz=Ca({name:"ElInput",inheritAttrs:!1}),Nz=Ca({...Bz,props:Dz,emits:kz,setup(P,{expose:N,emit:J}){const oe=P,be=CS(),_e=qp(),U=sn(()=>{const ae={};return oe.containerRole==="combobox"&&(ae["aria-haspopup"]=be["aria-haspopup"],ae["aria-owns"]=be["aria-owns"],ae["aria-expanded"]=be["aria-expanded"]),ae}),B=sn(()=>[oe.type==="textarea"?t.b():p.b(),p.m(w.value),p.is("disabled",d.value),p.is("exceed",A.value),{[p.b("group")]:_e.prepend||_e.append,[p.bm("group","append")]:_e.append,[p.bm("group","prepend")]:_e.prepend,[p.m("prefix")]:_e.prefix||oe.prefixIcon,[p.m("suffix")]:_e.suffix||oe.suffixIcon||oe.clearable||oe.showPassword,[p.bm("suffix","password-clear")]:M.value&&b.value},be.class]),e=sn(()=>[p.e("wrapper"),p.is("focus",o.value)]),v=aF({excludeKeys:sn(()=>Object.keys(U.value))}),{form:E,formItem:a}=Vv(),{inputId:C}=fy(oe,{formItemContext:a}),w=Fh(),d=lx(),p=li("input"),t=li("textarea"),r=_h(),c=_h(),o=ra(!1),n=ra(!1),u=ra(!1),i=ra(!1),g=ra(),h=_h(oe.inputStyle),x=sn(()=>r.value||c.value),f=sn(()=>{var ae;return(ae=E==null?void 0:E.statusIcon)!=null?ae:!1}),l=sn(()=>(a==null?void 0:a.validateState)||""),y=sn(()=>l.value&&Jk[l.value]),T=sn(()=>i.value?Gk:pk),S=sn(()=>[be.style,oe.inputStyle]),L=sn(()=>[oe.inputStyle,h.value,{resize:oe.resize}]),m=sn(()=>Ev(oe.modelValue)?"":String(oe.modelValue)),M=sn(()=>oe.clearable&&!d.value&&!oe.readonly&&!!m.value&&(o.value||n.value)),b=sn(()=>oe.showPassword&&!d.value&&!oe.readonly&&!!m.value&&(!!m.value||o.value)),s=sn(()=>oe.showWordLimit&&!!v.value.maxlength&&(oe.type==="text"||oe.type==="textarea")&&!d.value&&!oe.readonly&&!oe.showPassword),_=sn(()=>m.value.length),A=sn(()=>!!s.value&&_.value>Number(v.value.maxlength)),D=sn(()=>!!_e.suffix||!!oe.suffixIcon||M.value||oe.showPassword||s.value||!!l.value&&f.value),[F,G]=SO(r);Rd(c,ae=>{if(z(),!s.value||oe.resize!=="both")return;const de=ae[0],{width:xe}=de.contentRect;g.value={right:`calc(100% - ${xe+15+6}px)`}});const O=()=>{const{type:ae,autosize:de}=oe;if(!(!ms||ae!=="textarea"||!c.value))if(de){const xe=Ei(de)?de.minRows:void 0,Se=Ei(de)?de.maxRows:void 0,Ae=nw(c.value,xe,Se);h.value={overflowY:"hidden",...Ae},Ii(()=>{c.value.offsetHeight,h.value=Ae})}else h.value={minHeight:nw(c.value).minHeight}},z=(ae=>{let de=!1;return()=>{var xe;if(de||!oe.autosize)return;((xe=c.value)==null?void 0:xe.offsetParent)===null||(ae(),de=!0)}})(O),k=()=>{const ae=x.value;!ae||ae.value===m.value||(ae.value=m.value)},V=async ae=>{F();let{value:de}=ae.target;if(oe.formatter&&(de=oe.parser?oe.parser(de):de,de=oe.formatter(de)),!u.value){if(de===m.value){k();return}J(gs,de),J("input",de),await Ii(),k(),G()}},Z=ae=>{J("change",ae.target.value)},ee=ae=>{J("compositionstart",ae),u.value=!0},Q=ae=>{var de;J("compositionupdate",ae);const xe=(de=ae.target)==null?void 0:de.value,Se=xe[xe.length-1]||"";u.value=!Q5(Se)},ne=ae=>{J("compositionend",ae),u.value&&(u.value=!1,V(ae))},fe=()=>{i.value=!i.value,$()},$=async()=>{var ae;await Ii(),(ae=x.value)==null||ae.focus()},Y=()=>{var ae;return(ae=x.value)==null?void 0:ae.blur()},j=ae=>{o.value=!0,J("focus",ae)},X=ae=>{var de;o.value=!1,J("blur",ae),oe.validateEvent&&((de=a==null?void 0:a.validate)==null||de.call(a,"blur").catch(xe=>void 0))},re=ae=>{n.value=!1,J("mouseleave",ae)},le=ae=>{n.value=!0,J("mouseenter",ae)},q=ae=>{J("keydown",ae)},te=()=>{var ae;(ae=x.value)==null||ae.select()},ue=()=>{J(gs,""),J("change",""),J("clear"),J("input","")};return ja(()=>oe.modelValue,()=>{var ae;Ii(()=>O()),oe.validateEvent&&((ae=a==null?void 0:a.validate)==null||ae.call(a,"change").catch(de=>void 0))}),ja(m,()=>k()),ja(()=>oe.type,async()=>{await Ii(),k(),O()}),xo(()=>{!oe.formatter&&oe.parser,k(),Ii(O)}),N({input:r,textarea:c,ref:x,textareaStyle:L,autosize:zf(oe,"autosize"),focus:$,blur:Y,select:te,clear:ue,resizeTextarea:O}),(ae,de)=>ys((Wn(),Oa("div",Nf(Ar(U),{class:Ar(B),style:Ar(S),role:ae.containerRole,onMouseenter:le,onMouseleave:re}),[ai(" input "),ae.type!=="textarea"?(Wn(),Oa(qi,{key:0},[ai(" prepend slot "),ae.$slots.prepend?(Wn(),Oa("div",{key:0,class:ua(Ar(p).be("group","prepend"))},[ti(ae.$slots,"prepend")],2)):ai("v-if",!0),za("div",{class:ua(Ar(e))},[ai(" prefix slot "),ae.$slots.prefix||ae.prefixIcon?(Wn(),Oa("span",{key:0,class:ua(Ar(p).e("prefix"))},[za("span",{class:ua(Ar(p).e("prefix-inner")),onClick:$},[ti(ae.$slots,"prefix"),ae.prefixIcon?(Wn(),ri(Ar(bu),{key:0,class:ua(Ar(p).e("icon"))},{default:Ea(()=>[(Wn(),ri(Kl(ae.prefixIcon)))]),_:1},8,["class"])):ai("v-if",!0)],2)],2)):ai("v-if",!0),za("input",Nf({id:Ar(C),ref_key:"input",ref:r,class:Ar(p).e("inner")},Ar(v),{type:ae.showPassword?i.value?"text":"password":ae.type,disabled:Ar(d),formatter:ae.formatter,parser:ae.parser,readonly:ae.readonly,autocomplete:ae.autocomplete,tabindex:ae.tabindex,"aria-label":ae.label,placeholder:ae.placeholder,style:ae.inputStyle,form:oe.form,onCompositionstart:ee,onCompositionupdate:Q,onCompositionend:ne,onInput:V,onFocus:j,onBlur:X,onChange:Z,onKeydown:q}),null,16,Oz),ai(" suffix slot "),Ar(D)?(Wn(),Oa("span",{key:1,class:ua(Ar(p).e("suffix"))},[za("span",{class:ua(Ar(p).e("suffix-inner")),onClick:$},[!Ar(M)||!Ar(b)||!Ar(s)?(Wn(),Oa(qi,{key:0},[ti(ae.$slots,"suffix"),ae.suffixIcon?(Wn(),ri(Ar(bu),{key:0,class:ua(Ar(p).e("icon"))},{default:Ea(()=>[(Wn(),ri(Kl(ae.suffixIcon)))]),_:1},8,["class"])):ai("v-if",!0)],64)):ai("v-if",!0),Ar(M)?(Wn(),ri(Ar(bu),{key:1,class:ua([Ar(p).e("icon"),Ar(p).e("clear")]),onMousedown:Cl(Ar(Ks),["prevent"]),onClick:ue},{default:Ea(()=>[Ia(Ar(J1))]),_:1},8,["class","onMousedown"])):ai("v-if",!0),Ar(b)?(Wn(),ri(Ar(bu),{key:2,class:ua([Ar(p).e("icon"),Ar(p).e("password")]),onClick:fe},{default:Ea(()=>[(Wn(),ri(Kl(Ar(T))))]),_:1},8,["class"])):ai("v-if",!0),Ar(s)?(Wn(),Oa("span",{key:3,class:ua(Ar(p).e("count"))},[za("span",{class:ua(Ar(p).e("count-inner"))},Io(Ar(_))+" / "+Io(Ar(v).maxlength),3)],2)):ai("v-if",!0),Ar(l)&&Ar(y)&&Ar(f)?(Wn(),ri(Ar(bu),{key:4,class:ua([Ar(p).e("icon"),Ar(p).e("validateIcon"),Ar(p).is("loading",Ar(l)==="validating")])},{default:Ea(()=>[(Wn(),ri(Kl(Ar(y))))]),_:1},8,["class"])):ai("v-if",!0)],2)],2)):ai("v-if",!0)],2),ai(" append slot "),ae.$slots.append?(Wn(),Oa("div",{key:1,class:ua(Ar(p).be("group","append"))},[ti(ae.$slots,"append")],2)):ai("v-if",!0)],64)):(Wn(),Oa(qi,{key:1},[ai(" textarea "),za("textarea",Nf({id:Ar(C),ref_key:"textarea",ref:c,class:Ar(t).e("inner")},Ar(v),{tabindex:ae.tabindex,disabled:Ar(d),readonly:ae.readonly,autocomplete:ae.autocomplete,style:Ar(L),"aria-label":ae.label,placeholder:ae.placeholder,form:oe.form,onCompositionstart:ee,onCompositionupdate:Q,onCompositionend:ne,onInput:V,onFocus:j,onBlur:X,onChange:Z,onKeydown:q}),null,16,zz),Ar(s)?(Wn(),Oa("span",{key:0,style:ao(g.value),class:ua(Ar(p).e("count"))},Io(Ar(_))+" / "+Io(Ar(v).maxlength),7)):ai("v-if",!0)],64))],16,Fz)),[[Fc,ae.type!=="hidden"]])}});var Uz=Si(Nz,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Hz=ks(Uz),hv=4,Vz={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Gz=({move:P,size:N,bar:J})=>({[J.size]:N,transform:`translate${J.axis}(${P}%)`}),CA=Symbol("scrollbarContextKey"),Wz=Zi({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),jz="Thumb",Yz=Ca({__name:"thumb",props:Wz,setup(P){const N=P,J=si(CA),oe=li("scrollbar");J||Lv(jz,"can not inject scrollbar context");const be=ra(),_e=ra(),U=ra({}),B=ra(!1);let e=!1,v=!1,E=ms?document.onselectstart:null;const a=sn(()=>Vz[N.vertical?"vertical":"horizontal"]),C=sn(()=>Gz({size:N.size,move:N.move,bar:a.value})),w=sn(()=>be.value[a.value.offset]**2/J.wrapElement[a.value.scrollSize]/N.ratio/_e.value[a.value.offset]),d=i=>{var g;if(i.stopPropagation(),i.ctrlKey||[1,2].includes(i.button))return;(g=window.getSelection())==null||g.removeAllRanges(),t(i);const h=i.currentTarget;h&&(U.value[a.value.axis]=h[a.value.offset]-(i[a.value.client]-h.getBoundingClientRect()[a.value.direction]))},p=i=>{if(!_e.value||!be.value||!J.wrapElement)return;const g=Math.abs(i.target.getBoundingClientRect()[a.value.direction]-i[a.value.client]),h=_e.value[a.value.offset]/2,x=(g-h)*100*w.value/be.value[a.value.offset];J.wrapElement[a.value.scroll]=x*J.wrapElement[a.value.scrollSize]/100},t=i=>{i.stopImmediatePropagation(),e=!0,document.addEventListener("mousemove",r),document.addEventListener("mouseup",c),E=document.onselectstart,document.onselectstart=()=>!1},r=i=>{if(!be.value||!_e.value||e===!1)return;const g=U.value[a.value.axis];if(!g)return;const h=(be.value.getBoundingClientRect()[a.value.direction]-i[a.value.client])*-1,x=_e.value[a.value.offset]-g,f=(h-x)*100*w.value/be.value[a.value.offset];J.wrapElement[a.value.scroll]=f*J.wrapElement[a.value.scrollSize]/100},c=()=>{e=!1,U.value[a.value.axis]=0,document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",c),u(),v&&(B.value=!1)},o=()=>{v=!1,B.value=!!N.size},n=()=>{v=!0,B.value=e};$s(()=>{u(),document.removeEventListener("mouseup",c)});const u=()=>{document.onselectstart!==E&&(document.onselectstart=E)};return Lc(zf(J,"scrollbarElement"),"mousemove",o),Lc(zf(J,"scrollbarElement"),"mouseleave",n),(i,g)=>(Wn(),ri(nf,{name:Ar(oe).b("fade"),persisted:""},{default:Ea(()=>[ys(za("div",{ref_key:"instance",ref:be,class:ua([Ar(oe).e("bar"),Ar(oe).is(Ar(a).key)]),onMousedown:p},[za("div",{ref_key:"thumb",ref:_e,class:ua(Ar(oe).e("thumb")),style:ao(Ar(C)),onMousedown:d},null,38)],34),[[Fc,i.always||B.value]])]),_:1},8,["name"]))}});var aw=Si(Yz,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Zz=Zi({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Xz=Ca({__name:"bar",props:Zz,setup(P,{expose:N}){const J=P,oe=ra(0),be=ra(0);return N({handleScroll:U=>{if(U){const B=U.offsetHeight-hv,e=U.offsetWidth-hv;be.value=U.scrollTop*100/B*J.ratioY,oe.value=U.scrollLeft*100/e*J.ratioX}}}),(U,B)=>(Wn(),Oa(qi,null,[Ia(aw,{move:oe.value,ratio:U.ratioX,size:U.width,always:U.always},null,8,["move","ratio","size","always"]),Ia(aw,{move:be.value,ratio:U.ratioY,size:U.height,vertical:"",always:U.always},null,8,["move","ratio","size","always"])],64))}});var Kz=Si(Xz,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const $z=Zi({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:oi([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),Jz={scroll:({scrollTop:P,scrollLeft:N})=>[P,N].every(qo)},Qz="ElScrollbar",qz=Ca({name:Qz}),eB=Ca({...qz,props:$z,emits:Jz,setup(P,{expose:N,emit:J}){const oe=P,be=li("scrollbar");let _e,U;const B=ra(),e=ra(),v=ra(),E=ra("0"),a=ra("0"),C=ra(),w=ra(1),d=ra(1),p=sn(()=>{const g={};return oe.height&&(g.height=Zp(oe.height)),oe.maxHeight&&(g.maxHeight=Zp(oe.maxHeight)),[oe.wrapStyle,g]}),t=sn(()=>[oe.wrapClass,be.e("wrap"),{[be.em("wrap","hidden-default")]:!oe.native}]),r=sn(()=>[be.e("view"),oe.viewClass]),c=()=>{var g;e.value&&((g=C.value)==null||g.handleScroll(e.value),J("scroll",{scrollTop:e.value.scrollTop,scrollLeft:e.value.scrollLeft}))};function o(g,h){Ei(g)?e.value.scrollTo(g):qo(g)&&qo(h)&&e.value.scrollTo(g,h)}const n=g=>{qo(g)&&(e.value.scrollTop=g)},u=g=>{qo(g)&&(e.value.scrollLeft=g)},i=()=>{if(!e.value)return;const g=e.value.offsetHeight-hv,h=e.value.offsetWidth-hv,x=g**2/e.value.scrollHeight,f=h**2/e.value.scrollWidth,l=Math.max(x,oe.minSize),y=Math.max(f,oe.minSize);w.value=x/(g-x)/(l/(g-l)),d.value=f/(h-f)/(y/(h-y)),a.value=l+hvoe.noresize,g=>{g?(_e==null||_e(),U==null||U()):({stop:_e}=Rd(v,i),U=Lc("resize",i))},{immediate:!0}),ja(()=>[oe.maxHeight,oe.height],()=>{oe.native||Ii(()=>{var g;i(),e.value&&((g=C.value)==null||g.handleScroll(e.value))})}),Bo(CA,xs({scrollbarElement:B,wrapElement:e})),xo(()=>{oe.native||Ii(()=>{i()})}),Wg(()=>i()),N({wrapRef:e,update:i,scrollTo:o,setScrollTop:n,setScrollLeft:u,handleScroll:c}),(g,h)=>(Wn(),Oa("div",{ref_key:"scrollbarRef",ref:B,class:ua(Ar(be).b())},[za("div",{ref_key:"wrapRef",ref:e,class:ua(Ar(t)),style:ao(Ar(p)),onScroll:c},[(Wn(),ri(Kl(g.tag),{ref_key:"resizeRef",ref:v,class:ua(Ar(r)),style:ao(g.viewStyle)},{default:Ea(()=>[ti(g.$slots,"default")]),_:3},8,["class","style"]))],38),g.native?ai("v-if",!0):(Wn(),ri(Kz,{key:0,ref_key:"barRef",ref:C,height:a.value,width:E.value,always:g.always,"ratio-x":d.value,"ratio-y":w.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var tB=Si(eB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const rB=ks(tB),ux=Symbol("popper"),LA=Symbol("popperContent"),nB=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],_A=Zi({role:{type:String,values:nB,default:"tooltip"}}),aB=Ca({name:"ElPopper",inheritAttrs:!1}),iB=Ca({...aB,props:_A,setup(P,{expose:N}){const J=P,oe=ra(),be=ra(),_e=ra(),U=ra(),B=sn(()=>J.role),e={triggerRef:oe,popperInstanceRef:be,contentRef:_e,referenceRef:U,role:B};return N(e),Bo(ux,e),(v,E)=>ti(v.$slots,"default")}});var oB=Si(iB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const PA=Zi({arrowOffset:{type:Number,default:5}}),sB=Ca({name:"ElPopperArrow",inheritAttrs:!1}),lB=Ca({...sB,props:PA,setup(P,{expose:N}){const J=P,oe=li("popper"),{arrowOffset:be,arrowRef:_e,arrowStyle:U}=si(LA,void 0);return ja(()=>J.arrowOffset,B=>{be.value=B}),$s(()=>{_e.value=void 0}),N({arrowRef:_e}),(B,e)=>(Wn(),Oa("span",{ref_key:"arrowRef",ref:_e,class:ua(Ar(oe).e("arrow")),style:ao(Ar(U)),"data-popper-arrow":""},null,6))}});var uB=Si(lB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const fB="ElOnlyChild",cB=Ca({name:fB,setup(P,{slots:N,attrs:J}){var oe;const be=si(yA),_e=MO((oe=be==null?void 0:be.setForwardRef)!=null?oe:Ks);return()=>{var U;const B=(U=N.default)==null?void 0:U.call(N,J);if(!B||B.length>1)return null;const e=RA(B);return e?ys(Rc(e,J),[[_e]]):null}}});function RA(P){if(!P)return null;const N=P;for(const J of N){if(Ei(J))switch(J.type){case ql:continue;case zv:case"svg":return iw(J);case qi:return RA(J.children);default:return J}return iw(J)}return null}function iw(P){const N=li("only-child");return Ia("span",{class:N.e("content")},[P])}const IA=Zi({virtualRef:{type:oi(Object)},virtualTriggering:Boolean,onMouseenter:{type:oi(Function)},onMouseleave:{type:oi(Function)},onClick:{type:oi(Function)},onKeydown:{type:oi(Function)},onFocus:{type:oi(Function)},onBlur:{type:oi(Function)},onContextmenu:{type:oi(Function)},id:String,open:Boolean}),hB=Ca({name:"ElPopperTrigger",inheritAttrs:!1}),dB=Ca({...hB,props:IA,setup(P,{expose:N}){const J=P,{role:oe,triggerRef:be}=si(ux,void 0);AO(be);const _e=sn(()=>B.value?J.id:void 0),U=sn(()=>{if(oe&&oe.value==="tooltip")return J.open&&J.id?J.id:void 0}),B=sn(()=>{if(oe&&oe.value!=="tooltip")return oe.value}),e=sn(()=>B.value?`${J.open}`:void 0);let v;return xo(()=>{ja(()=>J.virtualRef,E=>{E&&(be.value=Eh(E))},{immediate:!0}),ja(be,(E,a)=>{v==null||v(),v=void 0,Cv(E)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(C=>{var w;const d=J[C];d&&(E.addEventListener(C.slice(2).toLowerCase(),d),(w=a==null?void 0:a.removeEventListener)==null||w.call(a,C.slice(2).toLowerCase(),d))}),v=ja([_e,U,B,e],C=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((w,d)=>{Ev(C[d])?E.removeAttribute(w):E.setAttribute(w,C[d])})},{immediate:!0})),Cv(a)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(C=>a.removeAttribute(C))},{immediate:!0})}),$s(()=>{v==null||v(),v=void 0}),N({triggerRef:be}),(E,a)=>E.virtualTriggering?ai("v-if",!0):(Wn(),ri(Ar(cB),Nf({key:0},E.$attrs,{"aria-controls":Ar(_e),"aria-describedby":Ar(U),"aria-expanded":Ar(e),"aria-haspopup":Ar(B)}),{default:Ea(()=>[ti(E.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var vB=Si(dB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const fm="focus-trap.focus-after-trapped",cm="focus-trap.focus-after-released",pB="focus-trap.focusout-prevented",ow={cancelable:!0,bubbles:!1},gB={cancelable:!0,bubbles:!1},sw="focusAfterTrapped",lw="focusAfterReleased",yB=Symbol("elFocusTrap"),fx=ra(),cy=ra(0),cx=ra(0);let X0=0;const DA=P=>{const N=[],J=document.createTreeWalker(P,NodeFilter.SHOW_ELEMENT,{acceptNode:oe=>{const be=oe.tagName==="INPUT"&&oe.type==="hidden";return oe.disabled||oe.hidden||be?NodeFilter.FILTER_SKIP:oe.tabIndex>=0||oe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;J.nextNode();)N.push(J.currentNode);return N},uw=(P,N)=>{for(const J of P)if(!mB(J,N))return J},mB=(P,N)=>{if(getComputedStyle(P).visibility==="hidden")return!0;for(;P;){if(N&&P===N)return!1;if(getComputedStyle(P).display==="none")return!0;P=P.parentElement}return!1},xB=P=>{const N=DA(P),J=uw(N,P),oe=uw(N.reverse(),P);return[J,oe]},bB=P=>P instanceof HTMLInputElement&&"select"in P,bh=(P,N)=>{if(P&&P.focus){const J=document.activeElement;P.focus({preventScroll:!0}),cx.value=window.performance.now(),P!==J&&bB(P)&&N&&P.select()}};function fw(P,N){const J=[...P],oe=P.indexOf(N);return oe!==-1&&J.splice(oe,1),J}const wB=()=>{let P=[];return{push:oe=>{const be=P[0];be&&oe!==be&&be.pause(),P=fw(P,oe),P.unshift(oe)},remove:oe=>{var be,_e;P=fw(P,oe),(_e=(be=P[0])==null?void 0:be.resume)==null||_e.call(be)}}},TB=(P,N=!1)=>{const J=document.activeElement;for(const oe of P)if(bh(oe,N),document.activeElement!==J)return},cw=wB(),AB=()=>cy.value>cx.value,K0=()=>{fx.value="pointer",cy.value=window.performance.now()},hw=()=>{fx.value="keyboard",cy.value=window.performance.now()},MB=()=>(xo(()=>{X0===0&&(document.addEventListener("mousedown",K0),document.addEventListener("touchstart",K0),document.addEventListener("keydown",hw)),X0++}),$s(()=>{X0--,X0<=0&&(document.removeEventListener("mousedown",K0),document.removeEventListener("touchstart",K0),document.removeEventListener("keydown",hw))}),{focusReason:fx,lastUserFocusTimestamp:cy,lastAutomatedFocusTimestamp:cx}),$0=P=>new CustomEvent(pB,{...gB,detail:P}),SB=Ca({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[sw,lw,"focusin","focusout","focusout-prevented","release-requested"],setup(P,{emit:N}){const J=ra();let oe,be;const{focusReason:_e}=MB();mO(d=>{P.trapped&&!U.paused&&N("release-requested",d)});const U={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},B=d=>{if(!P.loop&&!P.trapped||U.paused)return;const{key:p,altKey:t,ctrlKey:r,metaKey:c,currentTarget:o,shiftKey:n}=d,{loop:u}=P,i=p===Rs.tab&&!t&&!r&&!c,g=document.activeElement;if(i&&g){const h=o,[x,f]=xB(h);if(x&&f){if(!n&&g===f){const y=$0({focusReason:_e.value});N("focusout-prevented",y),y.defaultPrevented||(d.preventDefault(),u&&bh(x,!0))}else if(n&&[x,h].includes(g)){const y=$0({focusReason:_e.value});N("focusout-prevented",y),y.defaultPrevented||(d.preventDefault(),u&&bh(f,!0))}}else if(g===h){const y=$0({focusReason:_e.value});N("focusout-prevented",y),y.defaultPrevented||d.preventDefault()}}};Bo(yB,{focusTrapRef:J,onKeydown:B}),ja(()=>P.focusTrapEl,d=>{d&&(J.value=d)},{immediate:!0}),ja([J],([d],[p])=>{d&&(d.addEventListener("keydown",B),d.addEventListener("focusin",E),d.addEventListener("focusout",a)),p&&(p.removeEventListener("keydown",B),p.removeEventListener("focusin",E),p.removeEventListener("focusout",a))});const e=d=>{N(sw,d)},v=d=>N(lw,d),E=d=>{const p=Ar(J);if(!p)return;const t=d.target,r=d.relatedTarget,c=t&&p.contains(t);P.trapped||r&&p.contains(r)||(oe=r),c&&N("focusin",d),!U.paused&&P.trapped&&(c?be=t:bh(be,!0))},a=d=>{const p=Ar(J);if(!(U.paused||!p))if(P.trapped){const t=d.relatedTarget;!Ev(t)&&!p.contains(t)&&setTimeout(()=>{if(!U.paused&&P.trapped){const r=$0({focusReason:_e.value});N("focusout-prevented",r),r.defaultPrevented||bh(be,!0)}},0)}else{const t=d.target;t&&p.contains(t)||N("focusout",d)}};async function C(){await Ii();const d=Ar(J);if(d){cw.push(U);const p=d.contains(document.activeElement)?oe:document.activeElement;if(oe=p,!d.contains(p)){const r=new Event(fm,ow);d.addEventListener(fm,e),d.dispatchEvent(r),r.defaultPrevented||Ii(()=>{let c=P.focusStartEl;ci(c)||(bh(c),document.activeElement!==c&&(c="first")),c==="first"&&TB(DA(d),!0),(document.activeElement===p||c==="container")&&bh(d)})}}}function w(){const d=Ar(J);if(d){d.removeEventListener(fm,e);const p=new CustomEvent(cm,{...ow,detail:{focusReason:_e.value}});d.addEventListener(cm,v),d.dispatchEvent(p),!p.defaultPrevented&&(_e.value=="keyboard"||!AB()||d.contains(document.activeElement))&&bh(oe??document.body),d.removeEventListener(cm,e),cw.remove(U)}}return xo(()=>{P.trapped&&C(),ja(()=>P.trapped,d=>{d?C():w()})}),$s(()=>{P.trapped&&w()}),{onKeydown:B}}});function EB(P,N,J,oe,be,_e){return ti(P.$slots,"default",{handleKeydown:P.onKeydown})}var CB=Si(SB,[["render",EB],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const LB=["fixed","absolute"],_B=Zi({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:oi(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:sy,default:"bottom"},popperOptions:{type:oi(Object),default:()=>({})},strategy:{type:String,values:LB,default:"absolute"}}),kA=Zi({..._B,id:String,style:{type:oi([String,Array,Object])},className:{type:oi([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:oi([String,Array,Object])},popperStyle:{type:oi([String,Array,Object])},referenceEl:{type:oi(Object)},triggerTargetEl:{type:oi(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),PB={mouseenter:P=>P instanceof MouseEvent,mouseleave:P=>P instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},RB=(P,N=[])=>{const{placement:J,strategy:oe,popperOptions:be}=P,_e={placement:J,strategy:oe,...be,modifiers:[...DB(P),...N]};return kB(_e,be==null?void 0:be.modifiers),_e},IB=P=>{if(ms)return Eh(P)};function DB(P){const{offset:N,gpuAcceleration:J,fallbackPlacements:oe}=P;return[{name:"offset",options:{offset:[0,N??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:oe}},{name:"computeStyles",options:{gpuAcceleration:J}}]}function kB(P,N){N&&(P.modifiers=[...P.modifiers,...N??[]])}const FB=0,OB=P=>{const{popperInstanceRef:N,contentRef:J,triggerRef:oe,role:be}=si(ux,void 0),_e=ra(),U=ra(),B=sn(()=>({name:"eventListeners",enabled:!!P.visible})),e=sn(()=>{var r;const c=Ar(_e),o=(r=Ar(U))!=null?r:FB;return{name:"arrow",enabled:!mD(c),options:{element:c,padding:o}}}),v=sn(()=>({onFirstUpdate:()=>{d()},...RB(P,[Ar(e),Ar(B)])})),E=sn(()=>IB(P.referenceEl)||Ar(oe)),{attributes:a,state:C,styles:w,update:d,forceUpdate:p,instanceRef:t}=pO(E,J,v);return ja(t,r=>N.value=r),xo(()=>{ja(()=>{var r;return(r=Ar(E))==null?void 0:r.getBoundingClientRect()},()=>{d()})}),{attributes:a,arrowRef:_e,contentRef:J,instanceRef:t,state:C,styles:w,role:be,forceUpdate:p,update:d}},zB=(P,{attributes:N,styles:J,role:oe})=>{const{nextZIndex:be}=bA(),_e=li("popper"),U=sn(()=>Ar(N).popper),B=ra(P.zIndex||be()),e=sn(()=>[_e.b(),_e.is("pure",P.pure),_e.is(P.effect),P.popperClass]),v=sn(()=>[{zIndex:Ar(B)},P.popperStyle||{},Ar(J).popper]),E=sn(()=>oe.value==="dialog"?"false":void 0),a=sn(()=>Ar(J).arrow||{});return{ariaModal:E,arrowStyle:a,contentAttrs:U,contentClass:e,contentStyle:v,contentZIndex:B,updateZIndex:()=>{B.value=P.zIndex||be()}}},BB=(P,N)=>{const J=ra(!1),oe=ra();return{focusStartRef:oe,trapped:J,onFocusAfterReleased:v=>{var E;((E=v.detail)==null?void 0:E.focusReason)!=="pointer"&&(oe.value="first",N("blur"))},onFocusAfterTrapped:()=>{N("focus")},onFocusInTrap:v=>{P.visible&&!J.value&&(v.target&&(oe.value=v.target),J.value=!0)},onFocusoutPrevented:v=>{P.trapping||(v.detail.focusReason==="pointer"&&v.preventDefault(),J.value=!1)},onReleaseRequested:()=>{J.value=!1,N("close")}}},NB=Ca({name:"ElPopperContent"}),UB=Ca({...NB,props:kA,emits:PB,setup(P,{expose:N,emit:J}){const oe=P,{focusStartRef:be,trapped:_e,onFocusAfterReleased:U,onFocusAfterTrapped:B,onFocusInTrap:e,onFocusoutPrevented:v,onReleaseRequested:E}=BB(oe,J),{attributes:a,arrowRef:C,contentRef:w,styles:d,instanceRef:p,role:t,update:r}=OB(oe),{ariaModal:c,arrowStyle:o,contentAttrs:n,contentClass:u,contentStyle:i,updateZIndex:g}=zB(oe,{styles:d,attributes:a,role:t}),h=si(Ld,void 0),x=ra();Bo(LA,{arrowStyle:o,arrowRef:C,arrowOffset:x}),h&&(h.addInputId||h.removeInputId)&&Bo(Ld,{...h,addInputId:Ks,removeInputId:Ks});let f;const l=(T=!0)=>{r(),T&&g()},y=()=>{l(!1),oe.visible&&oe.focusOnShow?_e.value=!0:oe.visible===!1&&(_e.value=!1)};return xo(()=>{ja(()=>oe.triggerTargetEl,(T,S)=>{f==null||f(),f=void 0;const L=Ar(T||w.value),m=Ar(S||w.value);Cv(L)&&(f=ja([t,()=>oe.ariaLabel,c,()=>oe.id],M=>{["role","aria-label","aria-modal","id"].forEach((b,s)=>{Ev(M[s])?L.removeAttribute(b):L.setAttribute(b,M[s])})},{immediate:!0})),m!==L&&Cv(m)&&["role","aria-label","aria-modal","id"].forEach(M=>{m.removeAttribute(M)})},{immediate:!0}),ja(()=>oe.visible,y,{immediate:!0})}),$s(()=>{f==null||f(),f=void 0}),N({popperContentRef:w,popperInstanceRef:p,updatePopper:l,contentStyle:i}),(T,S)=>(Wn(),Oa("div",Nf({ref_key:"contentRef",ref:w},Ar(n),{style:Ar(i),class:Ar(u),tabindex:"-1",onMouseenter:S[0]||(S[0]=L=>T.$emit("mouseenter",L)),onMouseleave:S[1]||(S[1]=L=>T.$emit("mouseleave",L))}),[Ia(Ar(CB),{trapped:Ar(_e),"trap-on-focus-in":!0,"focus-trap-el":Ar(w),"focus-start-el":Ar(be),onFocusAfterTrapped:Ar(B),onFocusAfterReleased:Ar(U),onFocusin:Ar(e),onFocusoutPrevented:Ar(v),onReleaseRequested:Ar(E)},{default:Ea(()=>[ti(T.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var HB=Si(UB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const VB=ks(oB),hx=Symbol("elTooltip"),dx=Zi({...wO,...kA,appendTo:{type:oi([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:oi(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),FA=Zi({...IA,disabled:Boolean,trigger:{type:oi([String,Array]),default:"hover"},triggerKeys:{type:oi(Array),default:()=>[Rs.enter,Rs.space]}}),{useModelToggleProps:GB,useModelToggleEmits:WB,useModelToggle:jB}=rA("visible"),YB=Zi({..._A,...GB,...dx,...FA,...PA,showArrow:{type:Boolean,default:!0}}),ZB=[...WB,"before-show","before-hide","show","hide","open","close"],XB=(P,N)=>Va(P)?P.includes(N):P===N,lv=(P,N,J)=>oe=>{XB(Ar(P),N)&&J(oe)},KB=Ca({name:"ElTooltipTrigger"}),$B=Ca({...KB,props:FA,setup(P,{expose:N}){const J=P,oe=li("tooltip"),{controlled:be,id:_e,open:U,onOpen:B,onClose:e,onToggle:v}=si(hx,void 0),E=ra(null),a=()=>{if(Ar(be)||J.disabled)return!0},C=zf(J,"trigger"),w=Sc(a,lv(C,"hover",B)),d=Sc(a,lv(C,"hover",e)),p=Sc(a,lv(C,"click",n=>{n.button===0&&v(n)})),t=Sc(a,lv(C,"focus",B)),r=Sc(a,lv(C,"focus",e)),c=Sc(a,lv(C,"contextmenu",n=>{n.preventDefault(),v(n)})),o=Sc(a,n=>{const{code:u}=n;J.triggerKeys.includes(u)&&(n.preventDefault(),v(n))});return N({triggerRef:E}),(n,u)=>(Wn(),ri(Ar(vB),{id:Ar(_e),"virtual-ref":n.virtualRef,open:Ar(U),"virtual-triggering":n.virtualTriggering,class:ua(Ar(oe).e("trigger")),onBlur:Ar(r),onClick:Ar(p),onContextmenu:Ar(c),onFocus:Ar(t),onMouseenter:Ar(w),onMouseleave:Ar(d),onKeydown:Ar(o)},{default:Ea(()=>[ti(n.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var JB=Si($B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const QB=Ca({name:"ElTooltipContent",inheritAttrs:!1}),qB=Ca({...QB,props:dx,setup(P,{expose:N}){const J=P,{selector:oe}=gA(),be=li("tooltip"),_e=ra(null),U=ra(!1),{controlled:B,id:e,open:v,trigger:E,onClose:a,onOpen:C,onShow:w,onHide:d,onBeforeShow:p,onBeforeHide:t}=si(hx,void 0),r=sn(()=>J.transition||`${be.namespace.value}-fade-in-linear`),c=sn(()=>J.persistent);$s(()=>{U.value=!0});const o=sn(()=>Ar(c)?!0:Ar(v)),n=sn(()=>J.disabled?!1:Ar(v)),u=sn(()=>J.appendTo||oe.value),i=sn(()=>{var M;return(M=J.style)!=null?M:{}}),g=sn(()=>!Ar(v)),h=()=>{d()},x=()=>{if(Ar(B))return!0},f=Sc(x,()=>{J.enterable&&Ar(E)==="hover"&&C()}),l=Sc(x,()=>{Ar(E)==="hover"&&a()}),y=()=>{var M,b;(b=(M=_e.value)==null?void 0:M.updatePopper)==null||b.call(M),p==null||p()},T=()=>{t==null||t()},S=()=>{w(),m=SL(sn(()=>{var M;return(M=_e.value)==null?void 0:M.popperContentRef}),()=>{if(Ar(B))return;Ar(E)!=="hover"&&a()})},L=()=>{J.virtualTriggering||a()};let m;return ja(()=>Ar(v),M=>{M||m==null||m()},{flush:"post"}),ja(()=>J.content,()=>{var M,b;(b=(M=_e.value)==null?void 0:M.updatePopper)==null||b.call(M)}),N({contentRef:_e}),(M,b)=>(Wn(),ri(YS,{disabled:!M.teleported,to:Ar(u)},[Ia(nf,{name:Ar(r),onAfterLeave:h,onBeforeEnter:y,onAfterEnter:S,onBeforeLeave:T},{default:Ea(()=>[Ar(o)?ys((Wn(),ri(Ar(HB),Nf({key:0,id:Ar(e),ref_key:"contentRef",ref:_e},M.$attrs,{"aria-label":M.ariaLabel,"aria-hidden":Ar(g),"boundaries-padding":M.boundariesPadding,"fallback-placements":M.fallbackPlacements,"gpu-acceleration":M.gpuAcceleration,offset:M.offset,placement:M.placement,"popper-options":M.popperOptions,strategy:M.strategy,effect:M.effect,enterable:M.enterable,pure:M.pure,"popper-class":M.popperClass,"popper-style":[M.popperStyle,Ar(i)],"reference-el":M.referenceEl,"trigger-target-el":M.triggerTargetEl,visible:Ar(n),"z-index":M.zIndex,onMouseenter:Ar(f),onMouseleave:Ar(l),onBlur:L,onClose:Ar(a)}),{default:Ea(()=>[U.value?ai("v-if",!0):ti(M.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Fc,Ar(n)]]):ai("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var eN=Si(qB,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const tN=["innerHTML"],rN={key:1},nN=Ca({name:"ElTooltip"}),aN=Ca({...nN,props:YB,emits:ZB,setup(P,{expose:N,emit:J}){const oe=P;bO();const be=uy(),_e=ra(),U=ra(),B=()=>{var r;const c=Ar(_e);c&&((r=c.popperInstanceRef)==null||r.update())},e=ra(!1),v=ra(),{show:E,hide:a,hasUpdateHandler:C}=jB({indicator:e,toggleReason:v}),{onOpen:w,onClose:d}=TO({showAfter:zf(oe,"showAfter"),hideAfter:zf(oe,"hideAfter"),autoClose:zf(oe,"autoClose"),open:E,close:a}),p=sn(()=>Ic(oe.visible)&&!C.value);Bo(hx,{controlled:p,id:be,open:Qp(e),trigger:zf(oe,"trigger"),onOpen:r=>{w(r)},onClose:r=>{d(r)},onToggle:r=>{Ar(e)?d(r):w(r)},onShow:()=>{J("show",v.value)},onHide:()=>{J("hide",v.value)},onBeforeShow:()=>{J("before-show",v.value)},onBeforeHide:()=>{J("before-hide",v.value)},updatePopper:B}),ja(()=>oe.disabled,r=>{r&&e.value&&(e.value=!1)});const t=()=>{var r,c;const o=(c=(r=U.value)==null?void 0:r.contentRef)==null?void 0:c.popperContentRef;return o&&o.contains(document.activeElement)};return aT(()=>e.value&&a()),N({popperRef:_e,contentRef:U,isFocusInsideContent:t,updatePopper:B,onOpen:w,onClose:d,hide:a}),(r,c)=>(Wn(),ri(Ar(VB),{ref_key:"popperRef",ref:_e,role:r.role},{default:Ea(()=>[Ia(JB,{disabled:r.disabled,trigger:r.trigger,"trigger-keys":r.triggerKeys,"virtual-ref":r.virtualRef,"virtual-triggering":r.virtualTriggering},{default:Ea(()=>[r.$slots.default?ti(r.$slots,"default",{key:0}):ai("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Ia(eN,{ref_key:"contentRef",ref:U,"aria-label":r.ariaLabel,"boundaries-padding":r.boundariesPadding,content:r.content,disabled:r.disabled,effect:r.effect,enterable:r.enterable,"fallback-placements":r.fallbackPlacements,"hide-after":r.hideAfter,"gpu-acceleration":r.gpuAcceleration,offset:r.offset,persistent:r.persistent,"popper-class":r.popperClass,"popper-style":r.popperStyle,placement:r.placement,"popper-options":r.popperOptions,pure:r.pure,"raw-content":r.rawContent,"reference-el":r.referenceEl,"trigger-target-el":r.triggerTargetEl,"show-after":r.showAfter,strategy:r.strategy,teleported:r.teleported,transition:r.transition,"virtual-triggering":r.virtualTriggering,"z-index":r.zIndex,"append-to":r.appendTo},{default:Ea(()=>[ti(r.$slots,"content",{},()=>[r.rawContent?(Wn(),Oa("span",{key:0,innerHTML:r.content},null,8,tN)):(Wn(),Oa("span",rN,Io(r.content),1))]),r.showArrow?(Wn(),ri(Ar(uB),{key:0,"arrow-offset":r.arrowOffset},null,8,["arrow-offset"])):ai("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var iN=Si(aN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const vx=ks(iN),oN=Zi({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),sN=["textContent"],lN=Ca({name:"ElBadge"}),uN=Ca({...lN,props:oN,setup(P,{expose:N}){const J=P,oe=li("badge"),be=sn(()=>J.isDot?"":qo(J.value)&&qo(J.max)?J.max(Wn(),Oa("div",{class:ua(Ar(oe).b())},[ti(_e.$slots,"default"),Ia(nf,{name:`${Ar(oe).namespace.value}-zoom-in-center`,persisted:""},{default:Ea(()=>[ys(za("sup",{class:ua([Ar(oe).e("content"),Ar(oe).em("content",_e.type),Ar(oe).is("fixed",!!_e.$slots.default),Ar(oe).is("dot",_e.isDot)]),textContent:Io(Ar(be))},null,10,sN),[[Fc,!_e.hidden&&(Ar(be)||_e.isDot)]])]),_:1},8,["name"])],2))}});var fN=Si(uN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const cN=ks(fN);function Ds(P,N){hN(P)&&(P="100%");var J=dN(P);return P=N===360?P:Math.min(N,Math.max(0,parseFloat(P))),J&&(P=parseInt(String(P*N),10)/100),Math.abs(P-N)<1e-6?1:(N===360?P=(P<0?P%N+N:P%N)/parseFloat(String(N)):P=P%N/parseFloat(String(N)),P)}function J0(P){return Math.min(1,Math.max(0,P))}function hN(P){return typeof P=="string"&&P.indexOf(".")!==-1&&parseFloat(P)===1}function dN(P){return typeof P=="string"&&P.indexOf("%")!==-1}function OA(P){return P=parseFloat(P),(isNaN(P)||P<0||P>1)&&(P=1),P}function Q0(P){return P<=1?"".concat(Number(P)*100,"%"):P}function Ad(P){return P.length===1?"0"+P:String(P)}function vN(P,N,J){return{r:Ds(P,255)*255,g:Ds(N,255)*255,b:Ds(J,255)*255}}function dw(P,N,J){P=Ds(P,255),N=Ds(N,255),J=Ds(J,255);var oe=Math.max(P,N,J),be=Math.min(P,N,J),_e=0,U=0,B=(oe+be)/2;if(oe===be)U=0,_e=0;else{var e=oe-be;switch(U=B>.5?e/(2-oe-be):e/(oe+be),oe){case P:_e=(N-J)/e+(N1&&(J-=1),J<1/6?P+(N-P)*(6*J):J<1/2?N:J<2/3?P+(N-P)*(2/3-J)*6:P}function pN(P,N,J){var oe,be,_e;if(P=Ds(P,360),N=Ds(N,100),J=Ds(J,100),N===0)be=J,_e=J,oe=J;else{var U=J<.5?J*(1+N):J+N-J*N,B=2*J-U;oe=hm(B,U,P+1/3),be=hm(B,U,P),_e=hm(B,U,P-1/3)}return{r:oe*255,g:be*255,b:_e*255}}function vw(P,N,J){P=Ds(P,255),N=Ds(N,255),J=Ds(J,255);var oe=Math.max(P,N,J),be=Math.min(P,N,J),_e=0,U=oe,B=oe-be,e=oe===0?0:B/oe;if(oe===be)_e=0;else{switch(oe){case P:_e=(N-J)/B+(N>16,g:(P&65280)>>8,b:P&255}}var a1={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function bN(P){var N={r:0,g:0,b:0},J=1,oe=null,be=null,_e=null,U=!1,B=!1;return typeof P=="string"&&(P=AN(P)),typeof P=="object"&&(Tc(P.r)&&Tc(P.g)&&Tc(P.b)?(N=vN(P.r,P.g,P.b),U=!0,B=String(P.r).substr(-1)==="%"?"prgb":"rgb"):Tc(P.h)&&Tc(P.s)&&Tc(P.v)?(oe=Q0(P.s),be=Q0(P.v),N=gN(P.h,oe,be),U=!0,B="hsv"):Tc(P.h)&&Tc(P.s)&&Tc(P.l)&&(oe=Q0(P.s),_e=Q0(P.l),N=pN(P.h,oe,_e),U=!0,B="hsl"),Object.prototype.hasOwnProperty.call(P,"a")&&(J=P.a)),J=OA(J),{ok:U,format:P.format||B,r:Math.min(255,Math.max(N.r,0)),g:Math.min(255,Math.max(N.g,0)),b:Math.min(255,Math.max(N.b,0)),a:J}}var wN="[-\\+]?\\d+%?",TN="[-\\+]?\\d*\\.\\d+%?",Ch="(?:".concat(TN,")|(?:").concat(wN,")"),dm="[\\s|\\(]+(".concat(Ch,")[,|\\s]+(").concat(Ch,")[,|\\s]+(").concat(Ch,")\\s*\\)?"),vm="[\\s|\\(]+(".concat(Ch,")[,|\\s]+(").concat(Ch,")[,|\\s]+(").concat(Ch,")[,|\\s]+(").concat(Ch,")\\s*\\)?"),Qu={CSS_UNIT:new RegExp(Ch),rgb:new RegExp("rgb"+dm),rgba:new RegExp("rgba"+vm),hsl:new RegExp("hsl"+dm),hsla:new RegExp("hsla"+vm),hsv:new RegExp("hsv"+dm),hsva:new RegExp("hsva"+vm),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function AN(P){if(P=P.trim().toLowerCase(),P.length===0)return!1;var N=!1;if(a1[P])P=a1[P],N=!0;else if(P==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var J=Qu.rgb.exec(P);return J?{r:J[1],g:J[2],b:J[3]}:(J=Qu.rgba.exec(P),J?{r:J[1],g:J[2],b:J[3],a:J[4]}:(J=Qu.hsl.exec(P),J?{h:J[1],s:J[2],l:J[3]}:(J=Qu.hsla.exec(P),J?{h:J[1],s:J[2],l:J[3],a:J[4]}:(J=Qu.hsv.exec(P),J?{h:J[1],s:J[2],v:J[3]}:(J=Qu.hsva.exec(P),J?{h:J[1],s:J[2],v:J[3],a:J[4]}:(J=Qu.hex8.exec(P),J?{r:Yl(J[1]),g:Yl(J[2]),b:Yl(J[3]),a:gw(J[4]),format:N?"name":"hex8"}:(J=Qu.hex6.exec(P),J?{r:Yl(J[1]),g:Yl(J[2]),b:Yl(J[3]),format:N?"name":"hex"}:(J=Qu.hex4.exec(P),J?{r:Yl(J[1]+J[1]),g:Yl(J[2]+J[2]),b:Yl(J[3]+J[3]),a:gw(J[4]+J[4]),format:N?"name":"hex8"}:(J=Qu.hex3.exec(P),J?{r:Yl(J[1]+J[1]),g:Yl(J[2]+J[2]),b:Yl(J[3]+J[3]),format:N?"name":"hex"}:!1)))))))))}function Tc(P){return!!Qu.CSS_UNIT.exec(String(P))}var MN=function(){function P(N,J){N===void 0&&(N=""),J===void 0&&(J={});var oe;if(N instanceof P)return N;typeof N=="number"&&(N=xN(N)),this.originalInput=N;var be=bN(N);this.originalInput=N,this.r=be.r,this.g=be.g,this.b=be.b,this.a=be.a,this.roundA=Math.round(100*this.a)/100,this.format=(oe=J.format)!==null&&oe!==void 0?oe:be.format,this.gradientType=J.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=be.ok}return P.prototype.isDark=function(){return this.getBrightness()<128},P.prototype.isLight=function(){return!this.isDark()},P.prototype.getBrightness=function(){var N=this.toRgb();return(N.r*299+N.g*587+N.b*114)/1e3},P.prototype.getLuminance=function(){var N=this.toRgb(),J,oe,be,_e=N.r/255,U=N.g/255,B=N.b/255;return _e<=.03928?J=_e/12.92:J=Math.pow((_e+.055)/1.055,2.4),U<=.03928?oe=U/12.92:oe=Math.pow((U+.055)/1.055,2.4),B<=.03928?be=B/12.92:be=Math.pow((B+.055)/1.055,2.4),.2126*J+.7152*oe+.0722*be},P.prototype.getAlpha=function(){return this.a},P.prototype.setAlpha=function(N){return this.a=OA(N),this.roundA=Math.round(100*this.a)/100,this},P.prototype.isMonochrome=function(){var N=this.toHsl().s;return N===0},P.prototype.toHsv=function(){var N=vw(this.r,this.g,this.b);return{h:N.h*360,s:N.s,v:N.v,a:this.a}},P.prototype.toHsvString=function(){var N=vw(this.r,this.g,this.b),J=Math.round(N.h*360),oe=Math.round(N.s*100),be=Math.round(N.v*100);return this.a===1?"hsv(".concat(J,", ").concat(oe,"%, ").concat(be,"%)"):"hsva(".concat(J,", ").concat(oe,"%, ").concat(be,"%, ").concat(this.roundA,")")},P.prototype.toHsl=function(){var N=dw(this.r,this.g,this.b);return{h:N.h*360,s:N.s,l:N.l,a:this.a}},P.prototype.toHslString=function(){var N=dw(this.r,this.g,this.b),J=Math.round(N.h*360),oe=Math.round(N.s*100),be=Math.round(N.l*100);return this.a===1?"hsl(".concat(J,", ").concat(oe,"%, ").concat(be,"%)"):"hsla(".concat(J,", ").concat(oe,"%, ").concat(be,"%, ").concat(this.roundA,")")},P.prototype.toHex=function(N){return N===void 0&&(N=!1),pw(this.r,this.g,this.b,N)},P.prototype.toHexString=function(N){return N===void 0&&(N=!1),"#"+this.toHex(N)},P.prototype.toHex8=function(N){return N===void 0&&(N=!1),yN(this.r,this.g,this.b,this.a,N)},P.prototype.toHex8String=function(N){return N===void 0&&(N=!1),"#"+this.toHex8(N)},P.prototype.toHexShortString=function(N){return N===void 0&&(N=!1),this.a===1?this.toHexString(N):this.toHex8String(N)},P.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},P.prototype.toRgbString=function(){var N=Math.round(this.r),J=Math.round(this.g),oe=Math.round(this.b);return this.a===1?"rgb(".concat(N,", ").concat(J,", ").concat(oe,")"):"rgba(".concat(N,", ").concat(J,", ").concat(oe,", ").concat(this.roundA,")")},P.prototype.toPercentageRgb=function(){var N=function(J){return"".concat(Math.round(Ds(J,255)*100),"%")};return{r:N(this.r),g:N(this.g),b:N(this.b),a:this.a}},P.prototype.toPercentageRgbString=function(){var N=function(J){return Math.round(Ds(J,255)*100)};return this.a===1?"rgb(".concat(N(this.r),"%, ").concat(N(this.g),"%, ").concat(N(this.b),"%)"):"rgba(".concat(N(this.r),"%, ").concat(N(this.g),"%, ").concat(N(this.b),"%, ").concat(this.roundA,")")},P.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var N="#"+pw(this.r,this.g,this.b,!1),J=0,oe=Object.entries(a1);J=0,_e=!J&&be&&(N.startsWith("hex")||N==="name");return _e?N==="name"&&this.a===0?this.toName():this.toRgbString():(N==="rgb"&&(oe=this.toRgbString()),N==="prgb"&&(oe=this.toPercentageRgbString()),(N==="hex"||N==="hex6")&&(oe=this.toHexString()),N==="hex3"&&(oe=this.toHexString(!0)),N==="hex4"&&(oe=this.toHex8String(!0)),N==="hex8"&&(oe=this.toHex8String()),N==="name"&&(oe=this.toName()),N==="hsl"&&(oe=this.toHslString()),N==="hsv"&&(oe=this.toHsvString()),oe||this.toHexString())},P.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},P.prototype.clone=function(){return new P(this.toString())},P.prototype.lighten=function(N){N===void 0&&(N=10);var J=this.toHsl();return J.l+=N/100,J.l=J0(J.l),new P(J)},P.prototype.brighten=function(N){N===void 0&&(N=10);var J=this.toRgb();return J.r=Math.max(0,Math.min(255,J.r-Math.round(255*-(N/100)))),J.g=Math.max(0,Math.min(255,J.g-Math.round(255*-(N/100)))),J.b=Math.max(0,Math.min(255,J.b-Math.round(255*-(N/100)))),new P(J)},P.prototype.darken=function(N){N===void 0&&(N=10);var J=this.toHsl();return J.l-=N/100,J.l=J0(J.l),new P(J)},P.prototype.tint=function(N){return N===void 0&&(N=10),this.mix("white",N)},P.prototype.shade=function(N){return N===void 0&&(N=10),this.mix("black",N)},P.prototype.desaturate=function(N){N===void 0&&(N=10);var J=this.toHsl();return J.s-=N/100,J.s=J0(J.s),new P(J)},P.prototype.saturate=function(N){N===void 0&&(N=10);var J=this.toHsl();return J.s+=N/100,J.s=J0(J.s),new P(J)},P.prototype.greyscale=function(){return this.desaturate(100)},P.prototype.spin=function(N){var J=this.toHsl(),oe=(J.h+N)%360;return J.h=oe<0?360+oe:oe,new P(J)},P.prototype.mix=function(N,J){J===void 0&&(J=50);var oe=this.toRgb(),be=new P(N).toRgb(),_e=J/100,U={r:(be.r-oe.r)*_e+oe.r,g:(be.g-oe.g)*_e+oe.g,b:(be.b-oe.b)*_e+oe.b,a:(be.a-oe.a)*_e+oe.a};return new P(U)},P.prototype.analogous=function(N,J){N===void 0&&(N=6),J===void 0&&(J=30);var oe=this.toHsl(),be=360/J,_e=[this];for(oe.h=(oe.h-(be*N>>1)+720)%360;--N;)oe.h=(oe.h+be)%360,_e.push(new P(oe));return _e},P.prototype.complement=function(){var N=this.toHsl();return N.h=(N.h+180)%360,new P(N)},P.prototype.monochromatic=function(N){N===void 0&&(N=6);for(var J=this.toHsv(),oe=J.h,be=J.s,_e=J.v,U=[],B=1/N;N--;)U.push(new P({h:oe,s:be,v:_e})),_e=(_e+B)%1;return U},P.prototype.splitcomplement=function(){var N=this.toHsl(),J=N.h;return[this,new P({h:(J+72)%360,s:N.s,l:N.l}),new P({h:(J+216)%360,s:N.s,l:N.l})]},P.prototype.onBackground=function(N){var J=this.toRgb(),oe=new P(N).toRgb(),be=J.a+oe.a*(1-J.a);return new P({r:(J.r*J.a+oe.r*oe.a*(1-J.a))/be,g:(J.g*J.a+oe.g*oe.a*(1-J.a))/be,b:(J.b*J.a+oe.b*oe.a*(1-J.a))/be,a:be})},P.prototype.triad=function(){return this.polyad(3)},P.prototype.tetrad=function(){return this.polyad(4)},P.prototype.polyad=function(N){for(var J=this.toHsl(),oe=J.h,be=[this],_e=360/N,U=1;Uyw=P),document.addEventListener("mouseup",P=>{for(const N of wh.values())for(const{documentHandler:J}of N)J(P,yw)}));function mw(P,N){let J=[];return Array.isArray(N.arg)?J=N.arg:Cv(N.arg)&&J.push(N.arg),function(oe,be){const _e=N.instance.popperRef,U=oe.target,B=be==null?void 0:be.target,e=!N||!N.instance,v=!U||!B,E=P.contains(U)||P.contains(B),a=P===U,C=J.length&&J.some(d=>d==null?void 0:d.contains(U))||J.length&&J.includes(B),w=_e&&(_e.contains(U)||_e.contains(B));e||v||E||a||C||w||N.value(oe,be)}}const EN={beforeMount(P,N){wh.has(P)||wh.set(P,[]),wh.get(P).push({documentHandler:mw(P,N),bindingFn:N.value})},updated(P,N){wh.has(P)||wh.set(P,[]);const J=wh.get(P),oe=J.findIndex(_e=>_e.bindingFn===N.oldValue),be={documentHandler:mw(P,N),bindingFn:N.value};oe>=0?J.splice(oe,1,be):J.push(be)},unmounted(P){wh.delete(P)}},CN=Zi({header:{type:String,default:""},bodyStyle:{type:oi([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),LN=Ca({name:"ElCard"}),_N=Ca({...LN,props:CN,setup(P){const N=li("card");return(J,oe)=>(Wn(),Oa("div",{class:ua([Ar(N).b(),Ar(N).is(`${J.shadow}-shadow`)])},[J.$slots.header||J.header?(Wn(),Oa("div",{key:0,class:ua(Ar(N).e("header"))},[ti(J.$slots,"header",{},()=>[Ps(Io(J.header),1)])],2)):ai("v-if",!0),za("div",{class:ua(Ar(N).e("body")),style:ao(J.bodyStyle)},[ti(J.$slots,"default")],6)],2))}});var PN=Si(_N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const RN=ks(PN),BA={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:Uv,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},NA={[gs]:P=>ci(P)||qo(P)||Ic(P),change:P=>ci(P)||qo(P)||Ic(P)},Gv=Symbol("checkboxGroupContextKey"),IN=({model:P,isChecked:N})=>{const J=si(Gv,void 0),oe=sn(()=>{var _e,U;const B=(_e=J==null?void 0:J.max)==null?void 0:_e.value,e=(U=J==null?void 0:J.min)==null?void 0:U.value;return!Rg(B)&&P.value.length>=B&&!N.value||!Rg(e)&&P.value.length<=e&&N.value});return{isDisabled:lx(sn(()=>(J==null?void 0:J.disabled.value)||oe.value)),isLimitDisabled:oe}},DN=(P,{model:N,isLimitExceeded:J,hasOwnLabel:oe,isDisabled:be,isLabeledByFormItem:_e})=>{const U=si(Gv,void 0),{formItem:B}=Vv(),{emit:e}=bs();function v(d){var p,t;return d===P.trueLabel||d===!0?(p=P.trueLabel)!=null?p:!0:(t=P.falseLabel)!=null?t:!1}function E(d,p){e("change",v(d),p)}function a(d){if(J.value)return;const p=d.target;e("change",v(p.checked),d)}async function C(d){J.value||!oe.value&&!be.value&&_e.value&&(d.composedPath().some(r=>r.tagName==="LABEL")||(N.value=v([!1,P.falseLabel].includes(N.value)),await Ii(),E(N.value,d)))}const w=sn(()=>(U==null?void 0:U.validateEvent)||P.validateEvent);return ja(()=>P.modelValue,()=>{w.value&&(B==null||B.validate("change").catch(d=>void 0))}),{handleChange:a,onClickRoot:C}},kN=P=>{const N=ra(!1),{emit:J}=bs(),oe=si(Gv,void 0),be=sn(()=>Rg(oe)===!1),_e=ra(!1);return{model:sn({get(){var B,e;return be.value?(B=oe==null?void 0:oe.modelValue)==null?void 0:B.value:(e=P.modelValue)!=null?e:N.value},set(B){var e,v;be.value&&Va(B)?(_e.value=((e=oe==null?void 0:oe.max)==null?void 0:e.value)!==void 0&&B.length>(oe==null?void 0:oe.max.value),_e.value===!1&&((v=oe==null?void 0:oe.changeEvent)==null||v.call(oe,B))):(J(gs,B),N.value=B)}}),isGroup:be,isLimitExceeded:_e}},FN=(P,N,{model:J})=>{const oe=si(Gv,void 0),be=ra(!1),_e=sn(()=>{const v=J.value;return Ic(v)?v:Va(v)?Ei(P.label)?v.map(Mi).some(E=>Xm(E,P.label)):v.map(Mi).includes(P.label):v!=null?v===P.trueLabel:!!v}),U=Fh(sn(()=>{var v;return(v=oe==null?void 0:oe.size)==null?void 0:v.value}),{prop:!0}),B=Fh(sn(()=>{var v;return(v=oe==null?void 0:oe.size)==null?void 0:v.value})),e=sn(()=>!!(N.default||P.label));return{checkboxButtonSize:U,isChecked:_e,isFocused:be,checkboxSize:B,hasOwnLabel:e}},ON=(P,{model:N})=>{function J(){Va(N.value)&&!N.value.includes(P.label)?N.value.push(P.label):N.value=P.trueLabel||!0}P.checked&&J()},UA=(P,N)=>{const{formItem:J}=Vv(),{model:oe,isGroup:be,isLimitExceeded:_e}=kN(P),{isFocused:U,isChecked:B,checkboxButtonSize:e,checkboxSize:v,hasOwnLabel:E}=FN(P,N,{model:oe}),{isDisabled:a}=IN({model:oe,isChecked:B}),{inputId:C,isLabeledByFormItem:w}=fy(P,{formItemContext:J,disableIdGeneration:E,disableIdManagement:be}),{handleChange:d,onClickRoot:p}=DN(P,{model:oe,isLimitExceeded:_e,hasOwnLabel:E,isDisabled:a,isLabeledByFormItem:w});return ON(P,{model:oe}),{inputId:C,isLabeledByFormItem:w,isChecked:B,isDisabled:a,isFocused:U,checkboxButtonSize:e,checkboxSize:v,hasOwnLabel:E,model:oe,handleChange:d,onClickRoot:p}},zN=["tabindex","role","aria-checked"],BN=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],NN=["id","aria-hidden","disabled","value","name","tabindex"],UN=Ca({name:"ElCheckbox"}),HN=Ca({...UN,props:BA,emits:NA,setup(P){const N=P,J=qp(),{inputId:oe,isLabeledByFormItem:be,isChecked:_e,isDisabled:U,isFocused:B,checkboxSize:e,hasOwnLabel:v,model:E,handleChange:a,onClickRoot:C}=UA(N,J),w=li("checkbox"),d=sn(()=>[w.b(),w.m(e.value),w.is("disabled",U.value),w.is("bordered",N.border),w.is("checked",_e.value)]),p=sn(()=>[w.e("input"),w.is("disabled",U.value),w.is("checked",_e.value),w.is("indeterminate",N.indeterminate),w.is("focus",B.value)]);return(t,r)=>(Wn(),ri(Kl(!Ar(v)&&Ar(be)?"span":"label"),{class:ua(Ar(d)),"aria-controls":t.indeterminate?t.controls:null,onClick:Ar(C)},{default:Ea(()=>[za("span",{class:ua(Ar(p)),tabindex:t.indeterminate?0:void 0,role:t.indeterminate?"checkbox":void 0,"aria-checked":t.indeterminate?"mixed":void 0},[t.trueLabel||t.falseLabel?ys((Wn(),Oa("input",{key:0,id:Ar(oe),"onUpdate:modelValue":r[0]||(r[0]=c=>mo(E)?E.value=c:null),class:ua(Ar(w).e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,tabindex:t.tabindex,disabled:Ar(U),"true-value":t.trueLabel,"false-value":t.falseLabel,onChange:r[1]||(r[1]=(...c)=>Ar(a)&&Ar(a)(...c)),onFocus:r[2]||(r[2]=c=>B.value=!0),onBlur:r[3]||(r[3]=c=>B.value=!1)},null,42,BN)),[[wg,Ar(E)]]):ys((Wn(),Oa("input",{key:1,id:Ar(oe),"onUpdate:modelValue":r[4]||(r[4]=c=>mo(E)?E.value=c:null),class:ua(Ar(w).e("original")),type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:Ar(U),value:t.label,name:t.name,tabindex:t.tabindex,onChange:r[5]||(r[5]=(...c)=>Ar(a)&&Ar(a)(...c)),onFocus:r[6]||(r[6]=c=>B.value=!0),onBlur:r[7]||(r[7]=c=>B.value=!1)},null,42,NN)),[[wg,Ar(E)]]),za("span",{class:ua(Ar(w).e("inner"))},null,2)],10,zN),Ar(v)?(Wn(),Oa("span",{key:0,class:ua(Ar(w).e("label"))},[ti(t.$slots,"default"),t.$slots.default?ai("v-if",!0):(Wn(),Oa(qi,{key:0},[Ps(Io(t.label),1)],64))],2)):ai("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var VN=Si(HN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const GN=["name","tabindex","disabled","true-value","false-value"],WN=["name","tabindex","disabled","value"],jN=Ca({name:"ElCheckboxButton"}),YN=Ca({...jN,props:BA,emits:NA,setup(P){const N=P,J=qp(),{isFocused:oe,isChecked:be,isDisabled:_e,checkboxButtonSize:U,model:B,handleChange:e}=UA(N,J),v=si(Gv,void 0),E=li("checkbox"),a=sn(()=>{var w,d,p,t;const r=(d=(w=v==null?void 0:v.fill)==null?void 0:w.value)!=null?d:"";return{backgroundColor:r,borderColor:r,color:(t=(p=v==null?void 0:v.textColor)==null?void 0:p.value)!=null?t:"",boxShadow:r?`-1px 0 0 0 ${r}`:void 0}}),C=sn(()=>[E.b("button"),E.bm("button",U.value),E.is("disabled",_e.value),E.is("checked",be.value),E.is("focus",oe.value)]);return(w,d)=>(Wn(),Oa("label",{class:ua(Ar(C))},[w.trueLabel||w.falseLabel?ys((Wn(),Oa("input",{key:0,"onUpdate:modelValue":d[0]||(d[0]=p=>mo(B)?B.value=p:null),class:ua(Ar(E).be("button","original")),type:"checkbox",name:w.name,tabindex:w.tabindex,disabled:Ar(_e),"true-value":w.trueLabel,"false-value":w.falseLabel,onChange:d[1]||(d[1]=(...p)=>Ar(e)&&Ar(e)(...p)),onFocus:d[2]||(d[2]=p=>oe.value=!0),onBlur:d[3]||(d[3]=p=>oe.value=!1)},null,42,GN)),[[wg,Ar(B)]]):ys((Wn(),Oa("input",{key:1,"onUpdate:modelValue":d[4]||(d[4]=p=>mo(B)?B.value=p:null),class:ua(Ar(E).be("button","original")),type:"checkbox",name:w.name,tabindex:w.tabindex,disabled:Ar(_e),value:w.label,onChange:d[5]||(d[5]=(...p)=>Ar(e)&&Ar(e)(...p)),onFocus:d[6]||(d[6]=p=>oe.value=!0),onBlur:d[7]||(d[7]=p=>oe.value=!1)},null,42,WN)),[[wg,Ar(B)]]),w.$slots.default||w.label?(Wn(),Oa("span",{key:2,class:ua(Ar(E).be("button","inner")),style:ao(Ar(be)?Ar(a):void 0)},[ti(w.$slots,"default",{},()=>[Ps(Io(w.label),1)])],6)):ai("v-if",!0)],2))}});var HA=Si(YN,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const ZN=Zi({modelValue:{type:oi(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:Uv,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),XN={[gs]:P=>Va(P),change:P=>Va(P)},KN=Ca({name:"ElCheckboxGroup"}),$N=Ca({...KN,props:ZN,emits:XN,setup(P,{emit:N}){const J=P,oe=li("checkbox"),{formItem:be}=Vv(),{inputId:_e,isLabeledByFormItem:U}=fy(J,{formItemContext:be}),B=async v=>{N(gs,v),await Ii(),N("change",v)},e=sn({get(){return J.modelValue},set(v){B(v)}});return Bo(Gv,{...TD(Pd(J),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:e,changeEvent:B}),ja(()=>J.modelValue,()=>{J.validateEvent&&(be==null||be.validate("change").catch(v=>void 0))}),(v,E)=>{var a;return Wn(),ri(Kl(v.tag),{id:Ar(_e),class:ua(Ar(oe).b("group")),role:"group","aria-label":Ar(U)?void 0:v.label||"checkbox-group","aria-labelledby":Ar(U)?(a=Ar(be))==null?void 0:a.labelId:void 0},{default:Ea(()=>[ti(v.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var VA=Si($N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const JN=ks(VN,{CheckboxButton:HA,CheckboxGroup:VA});Rl(HA);const QN=Rl(VA),GA=Zi({size:Uv,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),qN=Zi({...GA,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),WA={[gs]:P=>ci(P)||qo(P)||Ic(P),[Q1]:P=>ci(P)||qo(P)||Ic(P)},jA=Symbol("radioGroupKey"),YA=(P,N)=>{const J=ra(),oe=si(jA,void 0),be=sn(()=>!!oe),_e=sn({get(){return be.value?oe.modelValue:P.modelValue},set(E){be.value?oe.changeEvent(E):N&&N(gs,E),J.value.checked=P.modelValue===P.label}}),U=Fh(sn(()=>oe==null?void 0:oe.size)),B=lx(sn(()=>oe==null?void 0:oe.disabled)),e=ra(!1),v=sn(()=>B.value||be.value&&_e.value!==P.label?-1:0);return{radioRef:J,isGroup:be,radioGroup:oe,focus:e,size:U,disabled:B,tabIndex:v,modelValue:_e}},eU=["value","name","disabled"],tU=Ca({name:"ElRadio"}),rU=Ca({...tU,props:qN,emits:WA,setup(P,{emit:N}){const J=P,oe=li("radio"),{radioRef:be,radioGroup:_e,focus:U,size:B,disabled:e,modelValue:v}=YA(J,N);function E(){Ii(()=>N("change",v.value))}return(a,C)=>{var w;return Wn(),Oa("label",{class:ua([Ar(oe).b(),Ar(oe).is("disabled",Ar(e)),Ar(oe).is("focus",Ar(U)),Ar(oe).is("bordered",a.border),Ar(oe).is("checked",Ar(v)===a.label),Ar(oe).m(Ar(B))])},[za("span",{class:ua([Ar(oe).e("input"),Ar(oe).is("disabled",Ar(e)),Ar(oe).is("checked",Ar(v)===a.label)])},[ys(za("input",{ref_key:"radioRef",ref:be,"onUpdate:modelValue":C[0]||(C[0]=d=>mo(v)?v.value=d:null),class:ua(Ar(oe).e("original")),value:a.label,name:a.name||((w=Ar(_e))==null?void 0:w.name),disabled:Ar(e),type:"radio",onFocus:C[1]||(C[1]=d=>U.value=!0),onBlur:C[2]||(C[2]=d=>U.value=!1),onChange:E},null,42,eU),[[PT,Ar(v)]]),za("span",{class:ua(Ar(oe).e("inner"))},null,2)],2),za("span",{class:ua(Ar(oe).e("label")),onKeydown:C[3]||(C[3]=Cl(()=>{},["stop"]))},[ti(a.$slots,"default",{},()=>[Ps(Io(a.label),1)])],34)],2)}}});var nU=Si(rU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const aU=Zi({...GA,name:{type:String,default:""}}),iU=["value","name","disabled"],oU=Ca({name:"ElRadioButton"}),sU=Ca({...oU,props:aU,setup(P){const N=P,J=li("radio"),{radioRef:oe,focus:be,size:_e,disabled:U,modelValue:B,radioGroup:e}=YA(N),v=sn(()=>({backgroundColor:(e==null?void 0:e.fill)||"",borderColor:(e==null?void 0:e.fill)||"",boxShadow:e!=null&&e.fill?`-1px 0 0 0 ${e.fill}`:"",color:(e==null?void 0:e.textColor)||""}));return(E,a)=>{var C;return Wn(),Oa("label",{class:ua([Ar(J).b("button"),Ar(J).is("active",Ar(B)===E.label),Ar(J).is("disabled",Ar(U)),Ar(J).is("focus",Ar(be)),Ar(J).bm("button",Ar(_e))])},[ys(za("input",{ref_key:"radioRef",ref:oe,"onUpdate:modelValue":a[0]||(a[0]=w=>mo(B)?B.value=w:null),class:ua(Ar(J).be("button","original-radio")),value:E.label,type:"radio",name:E.name||((C=Ar(e))==null?void 0:C.name),disabled:Ar(U),onFocus:a[1]||(a[1]=w=>be.value=!0),onBlur:a[2]||(a[2]=w=>be.value=!1)},null,42,iU),[[PT,Ar(B)]]),za("span",{class:ua(Ar(J).be("button","inner")),style:ao(Ar(B)===E.label?Ar(v):{}),onKeydown:a[3]||(a[3]=Cl(()=>{},["stop"]))},[ti(E.$slots,"default",{},()=>[Ps(Io(E.label),1)])],38)],2)}}});var ZA=Si(sU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const lU=Zi({id:{type:String,default:void 0},size:Uv,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),uU=WA,fU=["id","aria-label","aria-labelledby"],cU=Ca({name:"ElRadioGroup"}),hU=Ca({...cU,props:lU,emits:uU,setup(P,{emit:N}){const J=P,oe=li("radio"),be=uy(),_e=ra(),{formItem:U}=Vv(),{inputId:B,isLabeledByFormItem:e}=fy(J,{formItemContext:U}),v=a=>{N(gs,a),Ii(()=>N("change",a))};xo(()=>{const a=_e.value.querySelectorAll("[type=radio]"),C=a[0];!Array.from(a).some(w=>w.checked)&&C&&(C.tabIndex=0)});const E=sn(()=>J.name||be.value);return Bo(jA,xs({...Pd(J),changeEvent:v,name:E})),ja(()=>J.modelValue,()=>{J.validateEvent&&(U==null||U.validate("change").catch(a=>void 0))}),(a,C)=>(Wn(),Oa("div",{id:Ar(B),ref_key:"radioGroupRef",ref:_e,class:ua(Ar(oe).b("group")),role:"radiogroup","aria-label":Ar(e)?void 0:a.label||"radio-group","aria-labelledby":Ar(e)?Ar(U).labelId:void 0},[ti(a.$slots,"default")],10,fU))}});var XA=Si(hU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const dU=ks(nU,{RadioButton:ZA,RadioGroup:XA}),vU=Rl(XA);Rl(ZA);const KA=Zi({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:a0,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),pU={close:P=>P instanceof MouseEvent,click:P=>P instanceof MouseEvent},gU=Ca({name:"ElTag"}),yU=Ca({...gU,props:KA,emits:pU,setup(P,{emit:N}){const J=P,oe=Fh(),be=li("tag"),_e=sn(()=>{const{type:e,hit:v,effect:E,closable:a,round:C}=J;return[be.b(),be.is("closable",a),be.m(e),be.m(oe.value),be.m(E),be.is("hit",v),be.is("round",C)]}),U=e=>{N("close",e)},B=e=>{N("click",e)};return(e,v)=>e.disableTransitions?(Wn(),Oa("span",{key:0,class:ua(Ar(_e)),style:ao({backgroundColor:e.color}),onClick:B},[za("span",{class:ua(Ar(be).e("content"))},[ti(e.$slots,"default")],2),e.closable?(Wn(),ri(Ar(bu),{key:0,class:ua(Ar(be).e("close")),onClick:Cl(U,["stop"])},{default:Ea(()=>[Ia(Ar(Km))]),_:1},8,["class","onClick"])):ai("v-if",!0)],6)):(Wn(),ri(nf,{key:1,name:`${Ar(be).namespace.value}-zoom-in-center`,appear:""},{default:Ea(()=>[za("span",{class:ua(Ar(_e)),style:ao({backgroundColor:e.color}),onClick:B},[za("span",{class:ua(Ar(be).e("content"))},[ti(e.$slots,"default")],2),e.closable?(Wn(),ri(Ar(bu),{key:0,class:ua(Ar(be).e("close")),onClick:Cl(U,["stop"])},{default:Ea(()=>[Ia(Ar(Km))]),_:1},8,["class","onClick"])):ai("v-if",!0)],6)]),_:3},8,["name"]))}});var mU=Si(yU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const xU=ks(mU),$A=Symbol("rowContextKey"),bU=["start","center","end","space-around","space-between","space-evenly"],wU=["top","middle","bottom"],TU=Zi({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:bU,default:"start"},align:{type:String,values:wU,default:"top"}}),AU=Ca({name:"ElRow"}),MU=Ca({...AU,props:TU,setup(P){const N=P,J=li("row"),oe=sn(()=>N.gutter);Bo($A,{gutter:oe});const be=sn(()=>{const U={};return N.gutter&&(U.marginRight=U.marginLeft=`-${N.gutter/2}px`),U}),_e=sn(()=>[J.b(),J.is(`justify-${N.justify}`,N.justify!=="start"),J.is(`align-${N.align}`,N.align!=="top")]);return(U,B)=>(Wn(),ri(Kl(U.tag),{class:ua(Ar(_e)),style:ao(Ar(be))},{default:Ea(()=>[ti(U.$slots,"default")]),_:3},8,["class","style"]))}});var SU=Si(MU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const EU=ks(SU),CU=Zi({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:oi([Number,Object]),default:()=>Sh({})},sm:{type:oi([Number,Object]),default:()=>Sh({})},md:{type:oi([Number,Object]),default:()=>Sh({})},lg:{type:oi([Number,Object]),default:()=>Sh({})},xl:{type:oi([Number,Object]),default:()=>Sh({})}}),LU=Ca({name:"ElCol"}),_U=Ca({...LU,props:CU,setup(P){const N=P,{gutter:J}=si($A,{gutter:sn(()=>0)}),oe=li("col"),be=sn(()=>{const U={};return J.value&&(U.paddingLeft=U.paddingRight=`${J.value/2}px`),U}),_e=sn(()=>{const U=[];return["span","offset","pull","push"].forEach(v=>{const E=N[v];qo(E)&&(v==="span"?U.push(oe.b(`${N[v]}`)):E>0&&U.push(oe.b(`${v}-${N[v]}`)))}),["xs","sm","md","lg","xl"].forEach(v=>{qo(N[v])?U.push(oe.b(`${v}-${N[v]}`)):Ei(N[v])&&Object.entries(N[v]).forEach(([E,a])=>{U.push(E!=="span"?oe.b(`${v}-${E}-${a}`):oe.b(`${v}-${a}`))})}),J.value&&U.push(oe.is("guttered")),[oe.b(),U]});return(U,B)=>(Wn(),ri(Kl(U.tag),{class:ua(Ar(_e)),style:ao(Ar(be))},{default:Ea(()=>[ti(U.$slots,"default")]),_:3},8,["class","style"]))}});var PU=Si(_U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const RU=ks(PU),IU=Ca({name:"ElCollapseTransition"}),DU=Ca({...IU,setup(P){const N=li("collapse-transition"),J={beforeEnter(oe){oe.dataset||(oe.dataset={}),oe.dataset.oldPaddingTop=oe.style.paddingTop,oe.dataset.oldPaddingBottom=oe.style.paddingBottom,oe.style.maxHeight=0,oe.style.paddingTop=0,oe.style.paddingBottom=0},enter(oe){oe.dataset.oldOverflow=oe.style.overflow,oe.scrollHeight!==0?(oe.style.maxHeight=`${oe.scrollHeight}px`,oe.style.paddingTop=oe.dataset.oldPaddingTop,oe.style.paddingBottom=oe.dataset.oldPaddingBottom):(oe.style.maxHeight=0,oe.style.paddingTop=oe.dataset.oldPaddingTop,oe.style.paddingBottom=oe.dataset.oldPaddingBottom),oe.style.overflow="hidden"},afterEnter(oe){oe.style.maxHeight="",oe.style.overflow=oe.dataset.oldOverflow},beforeLeave(oe){oe.dataset||(oe.dataset={}),oe.dataset.oldPaddingTop=oe.style.paddingTop,oe.dataset.oldPaddingBottom=oe.style.paddingBottom,oe.dataset.oldOverflow=oe.style.overflow,oe.style.maxHeight=`${oe.scrollHeight}px`,oe.style.overflow="hidden"},leave(oe){oe.scrollHeight!==0&&(oe.style.maxHeight=0,oe.style.paddingTop=0,oe.style.paddingBottom=0)},afterLeave(oe){oe.style.maxHeight="",oe.style.overflow=oe.dataset.oldOverflow,oe.style.paddingTop=oe.dataset.oldPaddingTop,oe.style.paddingBottom=oe.dataset.oldPaddingBottom}};return(oe,be)=>(Wn(),ri(nf,Nf({name:Ar(N).b()},SS(J)),{default:Ea(()=>[ti(oe.$slots,"default")]),_:3},16,["name"]))}});var vg=Si(DU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);vg.install=P=>{P.component(vg.name,vg)};const kU=vg,FU=Ca({name:"ElContainer"}),OU=Ca({...FU,props:{direction:{type:String}},setup(P){const N=P,J=qp(),oe=li("container"),be=sn(()=>N.direction==="vertical"?!0:N.direction==="horizontal"?!1:J&&J.default?J.default().some(U=>{const B=U.type.name;return B==="ElHeader"||B==="ElFooter"}):!1);return(_e,U)=>(Wn(),Oa("section",{class:ua([Ar(oe).b(),Ar(oe).is("vertical",Ar(be))])},[ti(_e.$slots,"default")],2))}});var zU=Si(OU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const BU=Ca({name:"ElAside"}),NU=Ca({...BU,props:{width:{type:String,default:null}},setup(P){const N=P,J=li("aside"),oe=sn(()=>N.width?J.cssVarBlock({width:N.width}):{});return(be,_e)=>(Wn(),Oa("aside",{class:ua(Ar(J).b()),style:ao(Ar(oe))},[ti(be.$slots,"default")],6))}});var JA=Si(NU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const UU=Ca({name:"ElFooter"}),HU=Ca({...UU,props:{height:{type:String,default:null}},setup(P){const N=P,J=li("footer"),oe=sn(()=>N.height?J.cssVarBlock({height:N.height}):{});return(be,_e)=>(Wn(),Oa("footer",{class:ua(Ar(J).b()),style:ao(Ar(oe))},[ti(be.$slots,"default")],6))}});var QA=Si(HU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const VU=Ca({name:"ElHeader"}),GU=Ca({...VU,props:{height:{type:String,default:null}},setup(P){const N=P,J=li("header"),oe=sn(()=>N.height?J.cssVarBlock({height:N.height}):{});return(be,_e)=>(Wn(),Oa("header",{class:ua(Ar(J).b()),style:ao(Ar(oe))},[ti(be.$slots,"default")],6))}});var qA=Si(GU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const WU=Ca({name:"ElMain"}),jU=Ca({...WU,setup(P){const N=li("main");return(J,oe)=>(Wn(),Oa("main",{class:ua(Ar(N).b())},[ti(J.$slots,"default")],2))}});var e4=Si(jU,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const YU=ks(zU,{Aside:JA,Footer:QA,Header:qA,Main:e4});Rl(JA);Rl(QA);const ZU=Rl(qA),XU=Rl(e4);let KU=class{constructor(N,J){this.parent=N,this.domNode=J,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(N){N===this.subMenuItems.length?N=0:N<0&&(N=this.subMenuItems.length-1),this.subMenuItems[N].focus(),this.subIndex=N}addListeners(){const N=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,J=>{J.addEventListener("keydown",oe=>{let be=!1;switch(oe.code){case Rs.down:{this.gotoSubIndex(this.subIndex+1),be=!0;break}case Rs.up:{this.gotoSubIndex(this.subIndex-1),be=!0;break}case Rs.tab:{ug(N,"mouseleave");break}case Rs.enter:case Rs.space:{be=!0,oe.currentTarget.click();break}}return be&&(oe.preventDefault(),oe.stopPropagation()),!1})})}},$U=class{constructor(N,J){this.domNode=N,this.submenu=null,this.submenu=null,this.init(J)}init(N){this.domNode.setAttribute("tabindex","0");const J=this.domNode.querySelector(`.${N}-menu`);J&&(this.submenu=new KU(this,J)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",N=>{let J=!1;switch(N.code){case Rs.down:{ug(N.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),J=!0;break}case Rs.up:{ug(N.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),J=!0;break}case Rs.tab:{ug(N.currentTarget,"mouseleave");break}case Rs.enter:case Rs.space:{J=!0,N.currentTarget.click();break}}J&&N.preventDefault()})}},JU=class{constructor(N,J){this.domNode=N,this.init(J)}init(N){const J=this.domNode.childNodes;Array.from(J).forEach(oe=>{oe.nodeType===1&&new $U(oe,N)})}};const QU=Ca({name:"ElMenuCollapseTransition",setup(){const P=li("menu");return{listeners:{onBeforeEnter:J=>J.style.opacity="0.2",onEnter(J,oe){W0(J,`${P.namespace.value}-opacity-transition`),J.style.opacity="1",oe()},onAfterEnter(J){lm(J,`${P.namespace.value}-opacity-transition`),J.style.opacity=""},onBeforeLeave(J){J.dataset||(J.dataset={}),CD(J,P.m("collapse"))?(lm(J,P.m("collapse")),J.dataset.oldOverflow=J.style.overflow,J.dataset.scrollWidth=J.clientWidth.toString(),W0(J,P.m("collapse"))):(W0(J,P.m("collapse")),J.dataset.oldOverflow=J.style.overflow,J.dataset.scrollWidth=J.clientWidth.toString(),lm(J,P.m("collapse"))),J.style.width=`${J.scrollWidth}px`,J.style.overflow="hidden"},onLeave(J){W0(J,"horizontal-collapse-transition"),J.style.width=`${J.dataset.scrollWidth}px`}}}}});function qU(P,N,J,oe,be,_e){return Wn(),ri(nf,Nf({mode:"out-in"},P.listeners),{default:Ea(()=>[ti(P.$slots,"default")]),_:3},16)}var eH=Si(QU,[["render",qU],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function t4(P,N){const J=sn(()=>{let be=P.parent;const _e=[N.value];for(;be.type.name!=="ElMenu";)be.props.index&&_e.unshift(be.props.index),be=be.parent;return _e});return{parentMenu:sn(()=>{let be=P.parent;for(;be&&!["ElMenu","ElSubMenu"].includes(be.type.name);)be=be.parent;return be}),indexPath:J}}function tH(P){return sn(()=>{const J=P.backgroundColor;return J?new MN(J).shade(20).toString():""})}const r4=(P,N)=>{const J=li("menu");return sn(()=>J.cssVarBlock({"text-color":P.textColor||"","hover-text-color":P.textColor||"","bg-color":P.backgroundColor||"","hover-bg-color":tH(P).value||"","active-color":P.activeTextColor||"",level:`${N}`}))},rH=Zi({index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:{type:Number,default:6},expandCloseIcon:{type:Ec},expandOpenIcon:{type:Ec},collapseCloseIcon:{type:Ec},collapseOpenIcon:{type:Ec}}),q0="ElSubMenu";var px=Ca({name:q0,props:rH,setup(P,{slots:N,expose:J}){q5({from:"popper-append-to-body",replacement:"teleported",scope:q0,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},sn(()=>P.popperAppendToBody!==void 0));const oe=bs(),{indexPath:be,parentMenu:_e}=t4(oe,sn(()=>P.index)),U=li("menu"),B=li("sub-menu"),e=si("rootMenu");e||Lv(q0,"can not inject root menu");const v=si(`subMenu:${_e.value.uid}`);v||Lv(q0,"can not inject sub menu");const E=ra({}),a=ra({});let C;const w=ra(!1),d=ra(),p=ra(null),t=sn(()=>l.value==="horizontal"&&c.value?"bottom-start":"right-start"),r=sn(()=>l.value==="horizontal"&&c.value||l.value==="vertical"&&!e.props.collapse?P.expandCloseIcon&&P.expandOpenIcon?i.value?P.expandOpenIcon:P.expandCloseIcon:Y5:P.collapseCloseIcon&&P.collapseOpenIcon?i.value?P.collapseOpenIcon:P.collapseCloseIcon:ND),c=sn(()=>v.level===0),o=sn(()=>{var _;const A=(_=P.teleported)!=null?_:P.popperAppendToBody;return A===void 0?c.value:A}),n=sn(()=>e.props.collapse?`${U.namespace.value}-zoom-in-left`:`${U.namespace.value}-zoom-in-top`),u=sn(()=>l.value==="horizontal"&&c.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","left-start","bottom-start","bottom-end","top-start","top-end"]),i=sn(()=>e.openedMenus.includes(P.index)),g=sn(()=>{let _=!1;return Object.values(E.value).forEach(A=>{A.active&&(_=!0)}),Object.values(a.value).forEach(A=>{A.active&&(_=!0)}),_}),h=sn(()=>e.props.backgroundColor||""),x=sn(()=>e.props.activeTextColor||""),f=sn(()=>e.props.textColor||""),l=sn(()=>e.props.mode),y=xs({index:P.index,indexPath:be,active:g}),T=r4(e.props,v.level+1),S=sn(()=>l.value!=="horizontal"?{color:f.value}:{borderBottomColor:g.value?e.props.activeTextColor?x.value:"":"transparent",color:g.value?x.value:f.value}),L=()=>{var _,A,D;return(D=(A=(_=p.value)==null?void 0:_.popperRef)==null?void 0:A.popperInstanceRef)==null?void 0:D.destroy()},m=_=>{_||L()},M=()=>{e.props.menuTrigger==="hover"&&e.props.mode==="horizontal"||e.props.collapse&&e.props.mode==="vertical"||P.disabled||e.handleSubMenuClick({index:P.index,indexPath:be.value,active:g.value})},b=(_,A=P.showTimeout)=>{var D;_.type!=="focus"&&(e.props.menuTrigger==="click"&&e.props.mode==="horizontal"||!e.props.collapse&&e.props.mode==="vertical"||P.disabled||(v.mouseInChild.value=!0,C==null||C(),{stop:C}=Nm(()=>{e.openMenu(P.index,be.value)},A),o.value&&((D=_e.value.vnode.el)==null||D.dispatchEvent(new MouseEvent("mouseenter")))))},s=(_=!1)=>{var A,D;e.props.menuTrigger==="click"&&e.props.mode==="horizontal"||!e.props.collapse&&e.props.mode==="vertical"||(C==null||C(),v.mouseInChild.value=!1,{stop:C}=Nm(()=>!w.value&&e.closeMenu(P.index,be.value),P.hideTimeout),o.value&&_&&((A=oe.parent)==null?void 0:A.type.name)==="ElSubMenu"&&((D=v.handleMouseleave)==null||D.call(v,!0)))};ja(()=>e.props.collapse,_=>m(!!_));{const _=D=>{a.value[D.index]=D},A=D=>{delete a.value[D.index]};Bo(`subMenu:${oe.uid}`,{addSubMenu:_,removeSubMenu:A,handleMouseleave:s,mouseInChild:w,level:v.level+1})}return J({opened:i}),xo(()=>{e.addSubMenu(y),v.addSubMenu(y)}),$s(()=>{v.removeSubMenu(y),e.removeSubMenu(y)}),()=>{var _;const A=[(_=N.title)==null?void 0:_.call(N),zo(bu,{class:B.e("icon-arrow"),style:{transform:i.value?P.expandCloseIcon&&P.expandOpenIcon||P.collapseCloseIcon&&P.collapseOpenIcon&&e.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>ci(r.value)?zo(oe.appContext.components[r.value]):zo(r.value)})],D=e.isMenuPopup?zo(vx,{ref:p,visible:i.value,effect:"light",pure:!0,offset:P.popperOffset,showArrow:!1,persistent:!0,popperClass:P.popperClass,placement:t.value,teleported:o.value,fallbackPlacements:u.value,transition:n.value,gpuAcceleration:!1},{content:()=>{var F;return zo("div",{class:[U.m(l.value),U.m("popup-container"),P.popperClass],onMouseenter:G=>b(G,100),onMouseleave:()=>s(!0),onFocus:G=>b(G,100)},[zo("ul",{class:[U.b(),U.m("popup"),U.m(`popup-${t.value}`)],style:T.value},[(F=N.default)==null?void 0:F.call(N)])])},default:()=>zo("div",{class:B.e("title"),style:[S.value,{backgroundColor:h.value}],onClick:M},A)}):zo(qi,{},[zo("div",{class:B.e("title"),style:[S.value,{backgroundColor:h.value}],ref:d,onClick:M},A),zo(kU,{},{default:()=>{var F;return ys(zo("ul",{role:"menu",class:[U.b(),U.m("inline")],style:T.value},[(F=N.default)==null?void 0:F.call(N)]),[[Fc,i.value]])}})]);return zo("li",{class:[B.b(),B.is("active",g.value),B.is("opened",i.value),B.is("disabled",P.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:i.value,onMouseenter:b,onMouseleave:()=>s(!0),onFocus:b},[D])}}});const nH=Zi({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:oi(Array),default:()=>Sh([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperEffect:{type:String,values:["dark","light"],default:"dark"}}),pm=P=>Array.isArray(P)&&P.every(N=>ci(N)),aH={close:(P,N)=>ci(P)&&pm(N),open:(P,N)=>ci(P)&&pm(N),select:(P,N,J,oe)=>ci(P)&&pm(N)&&Ei(J)&&(oe===void 0||oe instanceof Promise)};var iH=Ca({name:"ElMenu",props:nH,emits:aH,setup(P,{emit:N,slots:J,expose:oe}){const be=bs(),_e=be.appContext.config.globalProperties.$router,U=ra(),B=li("menu"),e=li("sub-menu"),v=ra(-1),E=ra(P.defaultOpeneds&&!P.collapse?P.defaultOpeneds.slice(0):[]),a=ra(P.defaultActive),C=ra({}),w=ra({}),d=sn(()=>P.mode==="horizontal"||P.mode==="vertical"&&P.collapse),p=()=>{const l=a.value&&C.value[a.value];if(!l||P.mode==="horizontal"||P.collapse)return;l.indexPath.forEach(T=>{const S=w.value[T];S&&t(T,S.indexPath)})},t=(l,y)=>{E.value.includes(l)||(P.uniqueOpened&&(E.value=E.value.filter(T=>y.includes(T))),E.value.push(l),N("open",l,y))},r=l=>{const y=E.value.indexOf(l);y!==-1&&E.value.splice(y,1)},c=(l,y)=>{r(l),N("close",l,y)},o=({index:l,indexPath:y})=>{E.value.includes(l)?c(l,y):t(l,y)},n=l=>{(P.mode==="horizontal"||P.collapse)&&(E.value=[]);const{index:y,indexPath:T}=l;if(!(Ev(y)||Ev(T)))if(P.router&&_e){const S=l.route||y,L=_e.push(S).then(m=>(m||(a.value=y),m));N("select",y,T,{index:y,indexPath:T,route:S},L)}else a.value=y,N("select",y,T,{index:y,indexPath:T})},u=l=>{const y=C.value,T=y[l]||a.value&&y[a.value]||y[P.defaultActive];T?a.value=T.index:a.value=l},i=()=>{var l,y;if(!U.value)return-1;const T=Array.from((y=(l=U.value)==null?void 0:l.childNodes)!=null?y:[]).filter(_=>_.nodeName!=="#comment"&&(_.nodeName!=="#text"||_.nodeValue)),S=64,L=Number.parseInt(getComputedStyle(U.value).paddingLeft,10),m=Number.parseInt(getComputedStyle(U.value).paddingRight,10),M=U.value.clientWidth-L-m;let b=0,s=0;return T.forEach((_,A)=>{b+=_.offsetWidth||0,b<=M-S&&(s=A+1)}),s===T.length?-1:s},g=(l,y=33.34)=>{let T;return()=>{T&&clearTimeout(T),T=setTimeout(()=>{l()},y)}};let h=!0;const x=()=>{const l=()=>{v.value=-1,Ii(()=>{v.value=i()})};h?l():g(l)(),h=!1};ja(()=>P.defaultActive,l=>{C.value[l]||(a.value=""),u(l)}),ja(()=>P.collapse,l=>{l&&(E.value=[])}),ja(C.value,p);let f;qw(()=>{P.mode==="horizontal"&&P.ellipsis?f=Rd(U,x).stop:f==null||f()});{const l=L=>{w.value[L.index]=L},y=L=>{delete w.value[L.index]};Bo("rootMenu",xs({props:P,openedMenus:E,items:C,subMenus:w,activeIndex:a,isMenuPopup:d,addMenuItem:L=>{C.value[L.index]=L},removeMenuItem:L=>{delete C.value[L.index]},addSubMenu:l,removeSubMenu:y,openMenu:t,closeMenu:c,handleMenuItemClick:n,handleSubMenuClick:o})),Bo(`subMenu:${be.uid}`,{addSubMenu:l,removeSubMenu:y,mouseInChild:ra(!1),level:0})}return xo(()=>{P.mode==="horizontal"&&new JU(be.vnode.el,B.namespace.value)}),oe({open:y=>{const{indexPath:T}=w.value[y];T.forEach(S=>t(S,T))},close:r,handleResize:x}),()=>{var l,y;let T=(y=(l=J.default)==null?void 0:l.call(J))!=null?y:[];const S=[];if(P.mode==="horizontal"&&U.value){const M=cg(T),b=v.value===-1?M:M.slice(0,v.value),s=v.value===-1?[]:M.slice(v.value);s!=null&&s.length&&P.ellipsis&&(T=b,S.push(zo(px,{index:"sub-menu-more",class:e.e("hide-arrow")},{title:()=>zo(bu,{class:e.e("icon-more")},{default:()=>zo(Ik)}),default:()=>s})))}const L=r4(P,0),m=zo("ul",{key:String(P.collapse),role:"menubar",ref:U,style:L.value,class:{[B.b()]:!0,[B.m(P.mode)]:!0,[B.m("collapse")]:P.collapse}},[...T,...S]);return P.collapseTransition&&P.mode==="vertical"?zo(eH,()=>m):m}}});const oH=Zi({index:{type:oi([String,null]),default:null},route:{type:oi([String,Object])},disabled:Boolean}),sH={click:P=>ci(P.index)&&Array.isArray(P.indexPath)},gm="ElMenuItem",lH=Ca({name:gm,components:{ElTooltip:vx},props:oH,emits:sH,setup(P,{emit:N}){const J=bs(),oe=si("rootMenu"),be=li("menu"),_e=li("menu-item");oe||Lv(gm,"can not inject root menu");const{parentMenu:U,indexPath:B}=t4(J,zf(P,"index")),e=si(`subMenu:${U.value.uid}`);e||Lv(gm,"can not inject sub menu");const v=sn(()=>P.index===oe.activeIndex),E=xs({index:P.index,indexPath:B,active:v}),a=()=>{P.disabled||(oe.handleMenuItemClick({index:P.index,indexPath:B.value,route:P.route}),N("click",E))};return xo(()=>{e.addSubMenu(E),oe.addMenuItem(E)}),$s(()=>{e.removeSubMenu(E),oe.removeMenuItem(E)}),{parentMenu:U,rootMenu:oe,active:v,nsMenu:be,nsMenuItem:_e,handleClick:a}}});function uH(P,N,J,oe,be,_e){const U=qu("el-tooltip");return Wn(),Oa("li",{class:ua([P.nsMenuItem.b(),P.nsMenuItem.is("active",P.active),P.nsMenuItem.is("disabled",P.disabled)]),role:"menuitem",tabindex:"-1",onClick:N[0]||(N[0]=(...B)=>P.handleClick&&P.handleClick(...B))},[P.parentMenu.type.name==="ElMenu"&&P.rootMenu.props.collapse&&P.$slots.title?(Wn(),ri(U,{key:0,effect:P.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:Ea(()=>[ti(P.$slots,"title")]),default:Ea(()=>[za("div",{class:ua(P.nsMenu.be("tooltip","trigger"))},[ti(P.$slots,"default")],2)]),_:3},8,["effect"])):(Wn(),Oa(qi,{key:1},[ti(P.$slots,"default"),ti(P.$slots,"title")],64))],2)}var n4=Si(lH,[["render",uH],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const fH={title:String},cH="ElMenuItemGroup",hH=Ca({name:cH,props:fH,setup(){return{ns:li("menu-item-group")}}});function dH(P,N,J,oe,be,_e){return Wn(),Oa("li",{class:ua(P.ns.b())},[za("div",{class:ua(P.ns.e("title"))},[P.$slots.title?ti(P.$slots,"title",{key:1}):(Wn(),Oa(qi,{key:0},[Ps(Io(P.title),1)],64))],2),za("ul",null,[ti(P.$slots,"default")])],2)}var a4=Si(hH,[["render",dH],["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const vH=ks(iH,{MenuItem:n4,MenuItemGroup:a4,SubMenu:px}),pH=Rl(n4);Rl(a4);Rl(px);const i4=Symbol("ElSelectGroup"),hy=Symbol("ElSelect");function gH(P,N){const J=si(hy),oe=si(i4,{disabled:!1}),be=sn(()=>Object.prototype.toString.call(P.value).toLowerCase()==="[object object]"),_e=sn(()=>J.props.multiple?a(J.props.modelValue,P.value):C(P.value,J.props.modelValue)),U=sn(()=>{if(J.props.multiple){const p=J.props.modelValue||[];return!_e.value&&p.length>=J.props.multipleLimit&&J.props.multipleLimit>0}else return!1}),B=sn(()=>P.label||(be.value?"":P.value)),e=sn(()=>P.value||P.label||""),v=sn(()=>P.disabled||N.groupDisabled||U.value),E=bs(),a=(p=[],t)=>{if(be.value){const r=J.props.valueKey;return p&&p.some(c=>Mi(Xl(c,r))===Xl(t,r))}else return p&&p.includes(t)},C=(p,t)=>{if(be.value){const{valueKey:r}=J.props;return Xl(p,r)===Xl(t,r)}else return p===t},w=()=>{!P.disabled&&!oe.disabled&&(J.hoverIndex=J.optionsArray.indexOf(E.proxy))};ja(()=>B.value,()=>{!P.created&&!J.props.remote&&J.setSelected()}),ja(()=>P.value,(p,t)=>{const{remote:r,valueKey:c}=J.props;if(Object.is(p,t)||(J.onOptionDestroy(t,E.proxy),J.onOptionCreate(E.proxy)),!P.created&&!r){if(c&&typeof p=="object"&&typeof t=="object"&&p[c]===t[c])return;J.setSelected()}}),ja(()=>oe.disabled,()=>{N.groupDisabled=oe.disabled},{immediate:!0});const{queryChange:d}=Mi(J);return ja(d,p=>{const{query:t}=Ar(p),r=new RegExp(SD(t),"i");N.visible=r.test(B.value)||P.created,N.visible||J.filteredOptionsCount--},{immediate:!0}),{select:J,currentLabel:B,currentValue:e,itemSelected:_e,isDisabled:v,hoverItem:w}}const yH=Ca({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(P){const N=li("select"),J=xs({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:oe,itemSelected:be,isDisabled:_e,select:U,hoverItem:B}=gH(P,J),{visible:e,hover:v}=Pd(J),E=bs().proxy;U.onOptionCreate(E),$s(()=>{const C=E.value,{selected:w}=U,p=(U.props.multiple?w:[w]).some(t=>t.value===E.value);Ii(()=>{U.cachedOptions.get(C)===E&&!p&&U.cachedOptions.delete(C)}),U.onOptionDestroy(C,E)});function a(){P.disabled!==!0&&J.groupDisabled!==!0&&U.handleOptionSelect(E,!0)}return{ns:N,currentLabel:oe,itemSelected:be,isDisabled:_e,select:U,hoverItem:B,visible:e,hover:v,selectOptionClick:a,states:J}}});function mH(P,N,J,oe,be,_e){return ys((Wn(),Oa("li",{class:ua([P.ns.be("dropdown","item"),P.ns.is("disabled",P.isDisabled),{selected:P.itemSelected,hover:P.hover}]),onMouseenter:N[0]||(N[0]=(...U)=>P.hoverItem&&P.hoverItem(...U)),onClick:N[1]||(N[1]=Cl((...U)=>P.selectOptionClick&&P.selectOptionClick(...U),["stop"]))},[ti(P.$slots,"default",{},()=>[za("span",null,Io(P.currentLabel),1)])],34)),[[Fc,P.visible]])}var gx=Si(yH,[["render",mH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const xH=Ca({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const P=si(hy),N=li("select"),J=sn(()=>P.props.popperClass),oe=sn(()=>P.props.multiple),be=sn(()=>P.props.fitInputWidth),_e=ra("");function U(){var B;_e.value=`${(B=P.selectWrapper)==null?void 0:B.offsetWidth}px`}return xo(()=>{U(),Rd(P.selectWrapper,U)}),{ns:N,minWidth:_e,popperClass:J,isMultiple:oe,isFitInputWidth:be}}});function bH(P,N,J,oe,be,_e){return Wn(),Oa("div",{class:ua([P.ns.b("dropdown"),P.ns.is("multiple",P.isMultiple),P.popperClass]),style:ao({[P.isFitInputWidth?"width":"minWidth"]:P.minWidth})},[ti(P.$slots,"default")],6)}var wH=Si(xH,[["render",bH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function TH(P){const{t:N}=oy();return xs({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:P.multiple?[]:{},inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:N("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,prefixWidth:11,tagInMultiLine:!1,mouseEnter:!1})}const AH=(P,N,J)=>{const{t:oe}=oy(),be=li("select");q5({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},sn(()=>P.suffixTransition===!1));const _e=ra(null),U=ra(null),B=ra(null),e=ra(null),v=ra(null),E=ra(null),a=ra(null),C=ra(-1),w=_h({query:""}),d=_h(""),p=ra([]);let t=0;const{form:r,formItem:c}=Vv(),o=sn(()=>!P.filterable||P.multiple||!N.visible),n=sn(()=>P.disabled||(r==null?void 0:r.disabled)),u=sn(()=>{const Fe=P.multiple?Array.isArray(P.modelValue)&&P.modelValue.length>0:P.modelValue!==void 0&&P.modelValue!==null&&P.modelValue!=="";return P.clearable&&!n.value&&N.inputHovering&&Fe}),i=sn(()=>P.remote&&P.filterable&&!P.remoteShowSuffix?"":P.suffixIcon),g=sn(()=>be.is("reverse",i.value&&N.visible&&P.suffixTransition)),h=sn(()=>P.remote?300:0),x=sn(()=>P.loading?P.loadingText||oe("el.select.loading"):P.remote&&N.query===""&&N.options.size===0?!1:P.filterable&&N.query&&N.options.size>0&&N.filteredOptionsCount===0?P.noMatchText||oe("el.select.noMatch"):N.options.size===0?P.noDataText||oe("el.select.noData"):null),f=sn(()=>{const Fe=Array.from(N.options.values()),qe=[];return p.value.forEach(Qe=>{const Je=Fe.findIndex(tt=>tt.currentLabel===Qe);Je>-1&&qe.push(Fe[Je])}),qe.length?qe:Fe}),l=sn(()=>Array.from(N.cachedOptions.values())),y=sn(()=>{const Fe=f.value.filter(qe=>!qe.created).some(qe=>qe.currentLabel===N.query);return P.filterable&&P.allowCreate&&N.query!==""&&!Fe}),T=Fh(),S=sn(()=>["small"].includes(T.value)?"small":"default"),L=sn({get(){return N.visible&&x.value!==!1},set(Fe){N.visible=Fe}});ja([()=>n.value,()=>T.value,()=>r==null?void 0:r.size],()=>{Ii(()=>{m()})}),ja(()=>P.placeholder,Fe=>{N.cachedPlaceHolder=N.currentPlaceholder=Fe,P.multiple&&Array.isArray(P.modelValue)&&P.modelValue.length>0&&(N.currentPlaceholder="")}),ja(()=>P.modelValue,(Fe,qe)=>{P.multiple&&(m(),Fe&&Fe.length>0||U.value&&N.query!==""?N.currentPlaceholder="":N.currentPlaceholder=N.cachedPlaceHolder,P.filterable&&!P.reserveKeyword&&(N.query="",M(N.query))),_(),P.filterable&&!P.multiple&&(N.inputLength=20),!Xm(Fe,qe)&&P.validateEvent&&(c==null||c.validate("change").catch(Qe=>void 0))},{flush:"post",deep:!0}),ja(()=>N.visible,Fe=>{var qe,Qe,Je,tt,ht;Fe?((Qe=(qe=e.value)==null?void 0:qe.updatePopper)==null||Qe.call(qe),P.filterable&&(N.filteredOptionsCount=N.optionsCount,N.query=P.remote?"":N.selectedLabel,(tt=(Je=B.value)==null?void 0:Je.focus)==null||tt.call(Je),P.multiple?(ht=U.value)==null||ht.focus():N.selectedLabel&&(N.currentPlaceholder=`${N.selectedLabel}`,N.selectedLabel=""),M(N.query),!P.multiple&&!P.remote&&(w.value.query="",hp(w),hp(d)))):(P.filterable&&(Qa(P.filterMethod)&&P.filterMethod(""),Qa(P.remoteMethod)&&P.remoteMethod("")),U.value&&U.value.blur(),N.query="",N.previousQuery=null,N.selectedLabel="",N.inputLength=20,N.menuVisibleOnFocus=!1,D(),Ii(()=>{U.value&&U.value.value===""&&N.selected.length===0&&(N.currentPlaceholder=N.cachedPlaceHolder)}),P.multiple||(N.selected&&(P.filterable&&P.allowCreate&&N.createdSelected&&N.createdLabel?N.selectedLabel=N.createdLabel:N.selectedLabel=N.selected.currentLabel,P.filterable&&(N.query=N.selectedLabel)),P.filterable&&(N.currentPlaceholder=N.cachedPlaceHolder))),J.emit("visible-change",Fe)}),ja(()=>N.options.entries(),()=>{var Fe,qe,Qe;if(!ms)return;(qe=(Fe=e.value)==null?void 0:Fe.updatePopper)==null||qe.call(Fe),P.multiple&&m();const Je=((Qe=E.value)==null?void 0:Qe.querySelectorAll("input"))||[];Array.from(Je).includes(document.activeElement)||_(),P.defaultFirstOption&&(P.filterable||P.remote)&&N.filteredOptionsCount&&s()},{flush:"post"}),ja(()=>N.hoverIndex,Fe=>{qo(Fe)&&Fe>-1?C.value=f.value[Fe]||{}:C.value={},f.value.forEach(qe=>{qe.hover=C.value===qe})});const m=()=>{Ii(()=>{var Fe,qe;if(!_e.value)return;const Qe=_e.value.$el.querySelector("input");t=t||(Qe.clientHeight>0?Qe.clientHeight+2:0);const Je=v.value,tt=eF(T.value||(r==null?void 0:r.size)),ht=T.value||tt===t||t<=0?tt:t;!(Qe.offsetParent===null)&&(Qe.style.height=`${(N.selected.length===0?ht:Math.max(Je?Je.clientHeight+(Je.clientHeight>ht?6:0):0,ht))-2}px`),N.tagInMultiLine=Number.parseFloat(Qe.style.height)>=ht,N.visible&&x.value!==!1&&((qe=(Fe=e.value)==null?void 0:Fe.updatePopper)==null||qe.call(Fe))})},M=async Fe=>{if(!(N.previousQuery===Fe||N.isOnComposition)){if(N.previousQuery===null&&(Qa(P.filterMethod)||Qa(P.remoteMethod))){N.previousQuery=Fe;return}N.previousQuery=Fe,Ii(()=>{var qe,Qe;N.visible&&((Qe=(qe=e.value)==null?void 0:qe.updatePopper)==null||Qe.call(qe))}),N.hoverIndex=-1,P.multiple&&P.filterable&&Ii(()=>{const qe=U.value.value.length*15+20;N.inputLength=P.collapseTags?Math.min(50,qe):qe,b(),m()}),P.remote&&Qa(P.remoteMethod)?(N.hoverIndex=-1,P.remoteMethod(Fe)):Qa(P.filterMethod)?(P.filterMethod(Fe),hp(d)):(N.filteredOptionsCount=N.optionsCount,w.value.query=Fe,hp(w),hp(d)),P.defaultFirstOption&&(P.filterable||P.remote)&&N.filteredOptionsCount&&(await Ii(),s())}},b=()=>{N.currentPlaceholder!==""&&(N.currentPlaceholder=U.value.value?"":N.cachedPlaceHolder)},s=()=>{const Fe=f.value.filter(Je=>Je.visible&&!Je.disabled&&!Je.states.groupDisabled),qe=Fe.find(Je=>Je.created),Qe=Fe[0];N.hoverIndex=ne(f.value,qe||Qe)},_=()=>{var Fe;if(P.multiple)N.selectedLabel="";else{const Qe=A(P.modelValue);(Fe=Qe.props)!=null&&Fe.created?(N.createdLabel=Qe.props.value,N.createdSelected=!0):N.createdSelected=!1,N.selectedLabel=Qe.currentLabel,N.selected=Qe,P.filterable&&(N.query=N.selectedLabel);return}const qe=[];Array.isArray(P.modelValue)&&P.modelValue.forEach(Qe=>{qe.push(A(Qe))}),N.selected=qe,Ii(()=>{m()})},A=Fe=>{let qe;const Qe=eg(Fe).toLowerCase()==="object",Je=eg(Fe).toLowerCase()==="null",tt=eg(Fe).toLowerCase()==="undefined";for(let yt=N.cachedOptions.size-1;yt>=0;yt--){const Et=l.value[yt];if(Qe?Xl(Et.value,P.valueKey)===Xl(Fe,P.valueKey):Et.value===Fe){qe={value:Fe,currentLabel:Et.currentLabel,isDisabled:Et.isDisabled};break}}if(qe)return qe;const ht=Qe?Fe.label:!Je&&!tt?Fe:"",gt={value:Fe,currentLabel:ht};return P.multiple&&(gt.hitState=!1),gt},D=()=>{setTimeout(()=>{const Fe=P.valueKey;P.multiple?N.selected.length>0?N.hoverIndex=Math.min.apply(null,N.selected.map(qe=>f.value.findIndex(Qe=>Xl(Qe,Fe)===Xl(qe,Fe)))):N.hoverIndex=-1:N.hoverIndex=f.value.findIndex(qe=>Oe(qe)===Oe(N.selected))},300)},F=()=>{var Fe,qe;G(),(qe=(Fe=e.value)==null?void 0:Fe.updatePopper)==null||qe.call(Fe),P.multiple&&m()},G=()=>{var Fe;N.inputWidth=(Fe=_e.value)==null?void 0:Fe.$el.offsetWidth},O=()=>{P.filterable&&N.query!==N.selectedLabel&&(N.query=N.selectedLabel,M(N.query))},H=k3(()=>{O()},h.value),z=k3(Fe=>{M(Fe.target.value)},h.value),k=Fe=>{Xm(P.modelValue,Fe)||J.emit(Q1,Fe)},V=Fe=>{if(Fe.code!==Rs.delete){if(Fe.target.value.length<=0&&!re()){const qe=P.modelValue.slice();qe.pop(),J.emit(gs,qe),k(qe)}Fe.target.value.length===1&&P.modelValue.length===0&&(N.currentPlaceholder=N.cachedPlaceHolder)}},Z=(Fe,qe)=>{const Qe=N.selected.indexOf(qe);if(Qe>-1&&!n.value){const Je=P.modelValue.slice();Je.splice(Qe,1),J.emit(gs,Je),k(Je),J.emit("remove-tag",qe.value)}Fe.stopPropagation()},ee=Fe=>{Fe.stopPropagation();const qe=P.multiple?[]:"";if(!ci(qe))for(const Qe of N.selected)Qe.isDisabled&&qe.push(Qe.value);J.emit(gs,qe),k(qe),N.hoverIndex=-1,N.visible=!1,J.emit("clear")},Q=(Fe,qe)=>{var Qe;if(P.multiple){const Je=(P.modelValue||[]).slice(),tt=ne(Je,Fe.value);tt>-1?Je.splice(tt,1):(P.multipleLimit<=0||Je.length{$(Fe)})},ne=(Fe=[],qe)=>{if(!Ei(qe))return Fe.indexOf(qe);const Qe=P.valueKey;let Je=-1;return Fe.some((tt,ht)=>Mi(Xl(tt,Qe))===Xl(qe,Qe)?(Je=ht,!0):!1),Je},fe=()=>{N.softFocus=!0;const Fe=U.value||_e.value;Fe&&(Fe==null||Fe.focus())},$=Fe=>{var qe,Qe,Je,tt,ht;const gt=Array.isArray(Fe)?Fe[0]:Fe;let yt=null;if(gt!=null&>.value){const Et=f.value.filter(Xe=>Xe.value===gt.value);Et.length>0&&(yt=Et[0].$el)}if(e.value&&yt){const Et=(tt=(Je=(Qe=(qe=e.value)==null?void 0:qe.popperRef)==null?void 0:Qe.contentRef)==null?void 0:Je.querySelector)==null?void 0:tt.call(Je,`.${be.be("dropdown","wrap")}`);Et&&LD(Et,yt)}(ht=a.value)==null||ht.handleScroll()},Y=Fe=>{N.optionsCount++,N.filteredOptionsCount++,N.options.set(Fe.value,Fe),N.cachedOptions.set(Fe.value,Fe)},j=(Fe,qe)=>{N.options.get(Fe)===qe&&(N.optionsCount--,N.filteredOptionsCount--,N.options.delete(Fe))},X=Fe=>{Fe.code!==Rs.backspace&&re(!1),N.inputLength=U.value.value.length*15+20,m()},re=Fe=>{if(!Array.isArray(N.selected))return;const qe=N.selected[N.selected.length-1];if(qe)return Fe===!0||Fe===!1?(qe.hitState=Fe,Fe):(qe.hitState=!qe.hitState,qe.hitState)},le=Fe=>{const qe=Fe.target.value;if(Fe.type==="compositionend")N.isOnComposition=!1,Ii(()=>M(qe));else{const Qe=qe[qe.length-1]||"";N.isOnComposition=!Q5(Qe)}},q=()=>{Ii(()=>$(N.selected))},te=Fe=>{N.softFocus?N.softFocus=!1:((P.automaticDropdown||P.filterable)&&(P.filterable&&!N.visible&&(N.menuVisibleOnFocus=!0),N.visible=!0),J.emit("focus",Fe))},ue=()=>{var Fe,qe,Qe;N.visible=!1,(Fe=_e.value)==null||Fe.blur(),(Qe=(qe=B.value)==null?void 0:qe.blur)==null||Qe.call(qe)},ae=Fe=>{Ii(()=>{N.isSilentBlur?N.isSilentBlur=!1:J.emit("blur",Fe)}),N.softFocus=!1},de=Fe=>{ee(Fe)},xe=()=>{N.visible=!1},Se=Fe=>{N.visible&&(Fe.preventDefault(),Fe.stopPropagation(),N.visible=!1)},Ae=Fe=>{var qe;Fe&&!N.mouseEnter||n.value||(N.menuVisibleOnFocus?N.menuVisibleOnFocus=!1:(!e.value||!e.value.isFocusInsideContent())&&(N.visible=!N.visible),N.visible&&((qe=U.value||_e.value)==null||qe.focus()))},Be=()=>{N.visible?f.value[N.hoverIndex]&&Q(f.value[N.hoverIndex],void 0):Ae()},Oe=Fe=>Ei(Fe.value)?Xl(Fe.value,P.valueKey):Fe.value,Ee=sn(()=>f.value.filter(Fe=>Fe.visible).every(Fe=>Fe.disabled)),we=sn(()=>N.selected.slice(0,P.maxCollapseTags)),Ce=sn(()=>N.selected.slice(P.maxCollapseTags)),Ge=Fe=>{if(!N.visible){N.visible=!0;return}if(!(N.options.size===0||N.filteredOptionsCount===0)&&!N.isOnComposition&&!Ee.value){Fe==="next"?(N.hoverIndex++,N.hoverIndex===N.options.size&&(N.hoverIndex=0)):Fe==="prev"&&(N.hoverIndex--,N.hoverIndex<0&&(N.hoverIndex=N.options.size-1));const qe=f.value[N.hoverIndex];(qe.disabled===!0||qe.states.groupDisabled===!0||!qe.visible)&&Ge(Fe),Ii(()=>$(C.value))}};return{optionList:p,optionsArray:f,selectSize:T,handleResize:F,debouncedOnInputChange:H,debouncedQueryChange:z,deletePrevTag:V,deleteTag:Z,deleteSelected:ee,handleOptionSelect:Q,scrollToOption:$,readonly:o,resetInputHeight:m,showClose:u,iconComponent:i,iconReverse:g,showNewOption:y,collapseTagSize:S,setSelected:_,managePlaceholder:b,selectDisabled:n,emptyText:x,toggleLastOptionHitState:re,resetInputState:X,handleComposition:le,onOptionCreate:Y,onOptionDestroy:j,handleMenuEnter:q,handleFocus:te,blur:ue,handleBlur:ae,handleClearClick:de,handleClose:xe,handleKeydownEscape:Se,toggleMenu:Ae,selectOption:Be,getValueKey:Oe,navigateOptions:Ge,dropMenuVisible:L,queryChange:w,groupQueryChange:d,showTagList:we,collapseTagList:Ce,reference:_e,input:U,iOSInput:B,tooltipRef:e,tags:v,selectWrapper:E,scrollbar:a,handleMouseEnter:()=>{N.mouseEnter=!0},handleMouseLeave:()=>{N.mouseEnter=!1}}};var MH=Ca({name:"ElOptions",emits:["update-options"],setup(P,{slots:N,emit:J}){let oe=[];function be(_e,U){if(_e.length!==U.length)return!1;for(const[B]of _e.entries())if(_e[B]!=U[B])return!1;return!0}return()=>{var _e,U;const B=(_e=N.default)==null?void 0:_e.call(N),e=[];function v(E){Array.isArray(E)&&E.forEach(a=>{var C,w,d,p;const t=(C=(a==null?void 0:a.type)||{})==null?void 0:C.name;t==="ElOptionGroup"?v(!ci(a.children)&&!Array.isArray(a.children)&&Qa((w=a.children)==null?void 0:w.default)?(d=a.children)==null?void 0:d.default():a.children):t==="ElOption"?e.push((p=a.props)==null?void 0:p.label):Array.isArray(a.children)&&v(a.children)})}return B.length&&v((U=B[0])==null?void 0:U.children),be(e,oe)||(oe=e,J("update-options",e)),B}}});const xw="ElSelect",SH=Ca({name:xw,componentName:xw,components:{ElInput:Hz,ElSelectMenu:wH,ElOption:gx,ElOptions:MH,ElTag:xU,ElScrollbar:rB,ElTooltip:vx,ElIcon:bu},directives:{ClickOutside:EN},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:tF},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:dx.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Ec,default:J1},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:Ec,default:Y5},tagType:{...KA.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:sy,default:"bottom-start"}},emits:[gs,Q1,"remove-tag","clear","visible-change","focus","blur"],setup(P,N){const J=li("select"),oe=li("input"),{t:be}=oy(),_e=TH(P),{optionList:U,optionsArray:B,selectSize:e,readonly:v,handleResize:E,collapseTagSize:a,debouncedOnInputChange:C,debouncedQueryChange:w,deletePrevTag:d,deleteTag:p,deleteSelected:t,handleOptionSelect:r,scrollToOption:c,setSelected:o,resetInputHeight:n,managePlaceholder:u,showClose:i,selectDisabled:g,iconComponent:h,iconReverse:x,showNewOption:f,emptyText:l,toggleLastOptionHitState:y,resetInputState:T,handleComposition:S,onOptionCreate:L,onOptionDestroy:m,handleMenuEnter:M,handleFocus:b,blur:s,handleBlur:_,handleClearClick:A,handleClose:D,handleKeydownEscape:F,toggleMenu:G,selectOption:O,getValueKey:H,navigateOptions:z,dropMenuVisible:k,reference:V,input:Z,iOSInput:ee,tooltipRef:Q,tags:ne,selectWrapper:fe,scrollbar:$,queryChange:Y,groupQueryChange:j,handleMouseEnter:X,handleMouseLeave:re,showTagList:le,collapseTagList:q}=AH(P,_e,N),{focus:te}=iF(V),{inputWidth:ue,selected:ae,inputLength:de,filteredOptionsCount:xe,visible:Se,softFocus:Ae,selectedLabel:Be,hoverIndex:Oe,query:Ee,inputHovering:we,currentPlaceholder:Ce,menuVisibleOnFocus:Ge,isOnComposition:He,isSilentBlur:De,options:Fe,cachedOptions:qe,optionsCount:Qe,prefixWidth:Je,tagInMultiLine:tt}=Pd(_e),ht=sn(()=>{const Ue=[J.b()],ze=Ar(e);return ze&&Ue.push(J.m(ze)),P.disabled&&Ue.push(J.m("disabled")),Ue}),gt=sn(()=>({maxWidth:`${Ar(ue)-32}px`,width:"100%"})),yt=sn(()=>({maxWidth:`${Ar(ue)>123?Ar(ue)-123:Ar(ue)-75}px`}));Bo(hy,xs({props:P,options:Fe,optionsArray:B,cachedOptions:qe,optionsCount:Qe,filteredOptionsCount:xe,hoverIndex:Oe,handleOptionSelect:r,onOptionCreate:L,onOptionDestroy:m,selectWrapper:fe,selected:ae,setSelected:o,queryChange:Y,groupQueryChange:j})),xo(()=>{_e.cachedPlaceHolder=Ce.value=P.placeholder||(()=>be("el.select.placeholder")),P.multiple&&Array.isArray(P.modelValue)&&P.modelValue.length>0&&(Ce.value=""),Rd(fe,E),P.remote&&P.multiple&&n(),Ii(()=>{const Ue=V.value&&V.value.$el;if(Ue&&(ue.value=Ue.getBoundingClientRect().width,N.slots.prefix)){const ze=Ue.querySelector(`.${oe.e("prefix")}`);Je.value=Math.max(ze.getBoundingClientRect().width+5,30)}}),o()}),P.multiple&&!Array.isArray(P.modelValue)&&N.emit(gs,[]),!P.multiple&&Array.isArray(P.modelValue)&&N.emit(gs,"");const Et=sn(()=>{var Ue,ze;return(ze=(Ue=Q.value)==null?void 0:Ue.popperRef)==null?void 0:ze.contentRef});return{isIOS:c5,onOptionsRendered:Ue=>{U.value=Ue},tagInMultiLine:tt,prefixWidth:Je,selectSize:e,readonly:v,handleResize:E,collapseTagSize:a,debouncedOnInputChange:C,debouncedQueryChange:w,deletePrevTag:d,deleteTag:p,deleteSelected:t,handleOptionSelect:r,scrollToOption:c,inputWidth:ue,selected:ae,inputLength:de,filteredOptionsCount:xe,visible:Se,softFocus:Ae,selectedLabel:Be,hoverIndex:Oe,query:Ee,inputHovering:we,currentPlaceholder:Ce,menuVisibleOnFocus:Ge,isOnComposition:He,isSilentBlur:De,options:Fe,resetInputHeight:n,managePlaceholder:u,showClose:i,selectDisabled:g,iconComponent:h,iconReverse:x,showNewOption:f,emptyText:l,toggleLastOptionHitState:y,resetInputState:T,handleComposition:S,handleMenuEnter:M,handleFocus:b,blur:s,handleBlur:_,handleClearClick:A,handleClose:D,handleKeydownEscape:F,toggleMenu:G,selectOption:O,getValueKey:H,navigateOptions:z,dropMenuVisible:k,focus:te,reference:V,input:Z,iOSInput:ee,tooltipRef:Q,popperPaneRef:Et,tags:ne,selectWrapper:fe,scrollbar:$,wrapperKls:ht,selectTagsStyle:gt,nsSelect:J,tagTextStyle:yt,handleMouseEnter:X,handleMouseLeave:re,showTagList:le,collapseTagList:q}}}),EH=["disabled","autocomplete"],CH=["disabled"],LH={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function _H(P,N,J,oe,be,_e){const U=qu("el-tag"),B=qu("el-tooltip"),e=qu("el-icon"),v=qu("el-input"),E=qu("el-option"),a=qu("el-options"),C=qu("el-scrollbar"),w=qu("el-select-menu"),d=AS("click-outside");return ys((Wn(),Oa("div",{ref:"selectWrapper",class:ua(P.wrapperKls),onMouseenter:N[21]||(N[21]=(...p)=>P.handleMouseEnter&&P.handleMouseEnter(...p)),onMouseleave:N[22]||(N[22]=(...p)=>P.handleMouseLeave&&P.handleMouseLeave(...p)),onClick:N[23]||(N[23]=Cl((...p)=>P.toggleMenu&&P.toggleMenu(...p),["stop"]))},[Ia(B,{ref:"tooltipRef",visible:P.dropMenuVisible,placement:P.placement,teleported:P.teleported,"popper-class":[P.nsSelect.e("popper"),P.popperClass],"popper-options":P.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:P.effect,pure:"",trigger:"click",transition:`${P.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:P.persistent,onShow:P.handleMenuEnter},{default:Ea(()=>[za("div",{class:"select-trigger",onMouseenter:N[19]||(N[19]=p=>P.inputHovering=!0),onMouseleave:N[20]||(N[20]=p=>P.inputHovering=!1)},[P.multiple?(Wn(),Oa("div",{key:0,ref:"tags",class:ua([P.nsSelect.e("tags"),P.nsSelect.is("disabled",P.selectDisabled)]),style:ao(P.selectTagsStyle)},[P.collapseTags&&P.selected.length?(Wn(),ri(nf,{key:0,onAfterLeave:P.resetInputHeight},{default:Ea(()=>[za("span",{class:ua([P.nsSelect.b("tags-wrapper"),{"has-prefix":P.prefixWidth&&P.selected.length}])},[(Wn(!0),Oa(qi,null,Ap(P.showTagList,p=>(Wn(),ri(U,{key:P.getValueKey(p),closable:!P.selectDisabled&&!p.isDisabled,size:P.collapseTagSize,hit:p.hitState,type:P.tagType,"disable-transitions":"",onClose:t=>P.deleteTag(t,p)},{default:Ea(()=>[za("span",{class:ua(P.nsSelect.e("tags-text")),style:ao(P.tagTextStyle)},Io(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),P.selected.length>P.maxCollapseTags?(Wn(),ri(U,{key:0,closable:!1,size:P.collapseTagSize,type:P.tagType,"disable-transitions":""},{default:Ea(()=>[P.collapseTagsTooltip?(Wn(),ri(B,{key:0,disabled:P.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:P.effect,placement:"bottom",teleported:P.teleported},{default:Ea(()=>[za("span",{class:ua(P.nsSelect.e("tags-text"))},"+ "+Io(P.selected.length-P.maxCollapseTags),3)]),content:Ea(()=>[za("div",{class:ua(P.nsSelect.e("collapse-tags"))},[(Wn(!0),Oa(qi,null,Ap(P.collapseTagList,p=>(Wn(),Oa("div",{key:P.getValueKey(p),class:ua(P.nsSelect.e("collapse-tag"))},[Ia(U,{class:"in-tooltip",closable:!P.selectDisabled&&!p.isDisabled,size:P.collapseTagSize,hit:p.hitState,type:P.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:t=>P.deleteTag(t,p)},{default:Ea(()=>[za("span",{class:ua(P.nsSelect.e("tags-text")),style:ao({maxWidth:P.inputWidth-75+"px"})},Io(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(Wn(),Oa("span",{key:1,class:ua(P.nsSelect.e("tags-text"))},"+ "+Io(P.selected.length-P.maxCollapseTags),3))]),_:1},8,["size","type"])):ai("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):ai("v-if",!0),P.collapseTags?ai("v-if",!0):(Wn(),ri(nf,{key:1,onAfterLeave:P.resetInputHeight},{default:Ea(()=>[za("span",{class:ua([P.nsSelect.b("tags-wrapper"),{"has-prefix":P.prefixWidth&&P.selected.length}])},[(Wn(!0),Oa(qi,null,Ap(P.selected,p=>(Wn(),ri(U,{key:P.getValueKey(p),closable:!P.selectDisabled&&!p.isDisabled,size:P.collapseTagSize,hit:p.hitState,type:P.tagType,"disable-transitions":"",onClose:t=>P.deleteTag(t,p)},{default:Ea(()=>[za("span",{class:ua(P.nsSelect.e("tags-text")),style:ao({maxWidth:P.inputWidth-75+"px"})},Io(p.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],2)]),_:1},8,["onAfterLeave"])),P.filterable?ys((Wn(),Oa("input",{key:2,ref:"input","onUpdate:modelValue":N[0]||(N[0]=p=>P.query=p),type:"text",class:ua([P.nsSelect.e("input"),P.nsSelect.is(P.selectSize),P.nsSelect.is("disabled",P.selectDisabled)]),disabled:P.selectDisabled,autocomplete:P.autocomplete,style:ao({marginLeft:P.prefixWidth&&!P.selected.length||P.tagInMultiLine?`${P.prefixWidth}px`:"",flexGrow:1,width:`${P.inputLength/(P.inputWidth-32)}%`,maxWidth:`${P.inputWidth-42}px`}),onFocus:N[1]||(N[1]=(...p)=>P.handleFocus&&P.handleFocus(...p)),onBlur:N[2]||(N[2]=(...p)=>P.handleBlur&&P.handleBlur(...p)),onKeyup:N[3]||(N[3]=(...p)=>P.managePlaceholder&&P.managePlaceholder(...p)),onKeydown:[N[4]||(N[4]=(...p)=>P.resetInputState&&P.resetInputState(...p)),N[5]||(N[5]=$u(Cl(p=>P.navigateOptions("next"),["prevent"]),["down"])),N[6]||(N[6]=$u(Cl(p=>P.navigateOptions("prev"),["prevent"]),["up"])),N[7]||(N[7]=$u((...p)=>P.handleKeydownEscape&&P.handleKeydownEscape(...p),["esc"])),N[8]||(N[8]=$u(Cl((...p)=>P.selectOption&&P.selectOption(...p),["stop","prevent"]),["enter"])),N[9]||(N[9]=$u((...p)=>P.deletePrevTag&&P.deletePrevTag(...p),["delete"])),N[10]||(N[10]=$u(p=>P.visible=!1,["tab"]))],onCompositionstart:N[11]||(N[11]=(...p)=>P.handleComposition&&P.handleComposition(...p)),onCompositionupdate:N[12]||(N[12]=(...p)=>P.handleComposition&&P.handleComposition(...p)),onCompositionend:N[13]||(N[13]=(...p)=>P.handleComposition&&P.handleComposition(...p)),onInput:N[14]||(N[14]=(...p)=>P.debouncedQueryChange&&P.debouncedQueryChange(...p))},null,46,EH)),[[DE,P.query]]):ai("v-if",!0)],6)):ai("v-if",!0),ai(" fix: https://github.com/element-plus/element-plus/issues/11415 "),P.isIOS&&!P.multiple&&P.filterable&&P.readonly?(Wn(),Oa("input",{key:1,ref:"iOSInput",class:ua([P.nsSelect.e("input"),P.nsSelect.is(P.selectSize),P.nsSelect.em("input","iOS")]),disabled:P.selectDisabled,type:"text"},null,10,CH)):ai("v-if",!0),Ia(v,{id:P.id,ref:"reference",modelValue:P.selectedLabel,"onUpdate:modelValue":N[15]||(N[15]=p=>P.selectedLabel=p),type:"text",placeholder:typeof P.currentPlaceholder=="function"?P.currentPlaceholder():P.currentPlaceholder,name:P.name,autocomplete:P.autocomplete,size:P.selectSize,disabled:P.selectDisabled,readonly:P.readonly,"validate-event":!1,class:ua([P.nsSelect.is("focus",P.visible)]),tabindex:P.multiple&&P.filterable?-1:void 0,onFocus:P.handleFocus,onBlur:P.handleBlur,onInput:P.debouncedOnInputChange,onPaste:P.debouncedOnInputChange,onCompositionstart:P.handleComposition,onCompositionupdate:P.handleComposition,onCompositionend:P.handleComposition,onKeydown:[N[16]||(N[16]=$u(Cl(p=>P.navigateOptions("next"),["stop","prevent"]),["down"])),N[17]||(N[17]=$u(Cl(p=>P.navigateOptions("prev"),["stop","prevent"]),["up"])),$u(Cl(P.selectOption,["stop","prevent"]),["enter"]),$u(P.handleKeydownEscape,["esc"]),N[18]||(N[18]=$u(p=>P.visible=!1,["tab"]))]},MS({suffix:Ea(()=>[P.iconComponent&&!P.showClose?(Wn(),ri(e,{key:0,class:ua([P.nsSelect.e("caret"),P.nsSelect.e("icon"),P.iconReverse])},{default:Ea(()=>[(Wn(),ri(Kl(P.iconComponent)))]),_:1},8,["class"])):ai("v-if",!0),P.showClose&&P.clearIcon?(Wn(),ri(e,{key:1,class:ua([P.nsSelect.e("caret"),P.nsSelect.e("icon")]),onClick:P.handleClearClick},{default:Ea(()=>[(Wn(),ri(Kl(P.clearIcon)))]),_:1},8,["class","onClick"])):ai("v-if",!0)]),_:2},[P.$slots.prefix?{name:"prefix",fn:Ea(()=>[za("div",LH,[ti(P.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:Ea(()=>[Ia(w,null,{default:Ea(()=>[ys(Ia(C,{ref:"scrollbar",tag:"ul","wrap-class":P.nsSelect.be("dropdown","wrap"),"view-class":P.nsSelect.be("dropdown","list"),class:ua([P.nsSelect.is("empty",!P.allowCreate&&!!P.query&&P.filteredOptionsCount===0)])},{default:Ea(()=>[P.showNewOption?(Wn(),ri(E,{key:0,value:P.query,created:!0},null,8,["value"])):ai("v-if",!0),Ia(a,{onUpdateOptions:P.onOptionsRendered},{default:Ea(()=>[ti(P.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[Fc,P.options.size>0&&!P.loading]]),P.emptyText&&(!P.allowCreate||P.loading||P.allowCreate&&P.options.size===0)?(Wn(),Oa(qi,{key:0},[P.$slots.empty?ti(P.$slots,"empty",{key:0}):(Wn(),Oa("p",{key:1,class:ua(P.nsSelect.be("dropdown","empty"))},Io(P.emptyText),3))],64)):ai("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[d,P.handleClose,P.popperPaneRef]])}var PH=Si(SH,[["render",_H],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const RH=Ca({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(P){const N=li("select"),J=ra(!0),oe=bs(),be=ra([]);Bo(i4,xs({...Pd(P)}));const _e=si(hy);xo(()=>{be.value=U(oe.subTree)});const U=e=>{const v=[];return Array.isArray(e.children)&&e.children.forEach(E=>{var a;E.type&&E.type.name==="ElOption"&&E.component&&E.component.proxy?v.push(E.component.proxy):(a=E.children)!=null&&a.length&&v.push(...U(E))}),v},{groupQueryChange:B}=Mi(_e);return ja(B,()=>{J.value=be.value.some(e=>e.visible===!0)},{flush:"post"}),{visible:J,ns:N}}});function IH(P,N,J,oe,be,_e){return ys((Wn(),Oa("ul",{class:ua(P.ns.be("group","wrap"))},[za("li",{class:ua(P.ns.be("group","title"))},Io(P.label),3),za("li",null,[za("ul",{class:ua(P.ns.b("group"))},[ti(P.$slots,"default")],2)])],2)),[[Fc,P.visible]])}var o4=Si(RH,[["render",IH],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const DH=ks(PH,{Option:gx,OptionGroup:o4}),kH=Rl(gx);Rl(o4);const s4=["success","info","warning","error"],Sl=Sh({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:ms?document.body:void 0}),FH=Zi({customClass:{type:String,default:Sl.customClass},center:{type:Boolean,default:Sl.center},dangerouslyUseHTMLString:{type:Boolean,default:Sl.dangerouslyUseHTMLString},duration:{type:Number,default:Sl.duration},icon:{type:Ec,default:Sl.icon},id:{type:String,default:Sl.id},message:{type:oi([String,Object,Function]),default:Sl.message},onClose:{type:oi(Function),required:!1},showClose:{type:Boolean,default:Sl.showClose},type:{type:String,values:s4,default:Sl.type},offset:{type:Number,default:Sl.offset},zIndex:{type:Number,default:Sl.zIndex},grouping:{type:Boolean,default:Sl.grouping},repeatNum:{type:Number,default:Sl.repeatNum}}),OH={destroy:()=>!0},rf=Uw([]),zH=P=>{const N=rf.findIndex(be=>be.id===P),J=rf[N];let oe;return N>0&&(oe=rf[N-1]),{current:J,prev:oe}},BH=P=>{const{prev:N}=zH(P);return N?N.vm.exposed.bottom.value:0},NH=(P,N)=>rf.findIndex(oe=>oe.id===P)>0?20:N,UH=["id"],HH=["innerHTML"],VH=Ca({name:"ElMessage"}),GH=Ca({...VH,props:FH,emits:OH,setup(P,{expose:N}){const J=P,{Close:oe}=$k,{ns:be,zIndex:_e}=CO("message"),{currentZIndex:U,nextZIndex:B}=_e,e=ra(),v=ra(!1),E=ra(0);let a;const C=sn(()=>J.type?J.type==="error"?"danger":J.type:"info"),w=sn(()=>{const g=J.type;return{[be.bm("icon",g)]:g&&O3[g]}}),d=sn(()=>J.icon||O3[J.type]||""),p=sn(()=>BH(J.id)),t=sn(()=>NH(J.id,J.offset)+p.value),r=sn(()=>E.value+t.value),c=sn(()=>({top:`${t.value}px`,zIndex:U.value}));function o(){J.duration!==0&&({stop:a}=Nm(()=>{u()},J.duration))}function n(){a==null||a()}function u(){v.value=!1}function i({code:g}){g===Rs.esc&&u()}return xo(()=>{o(),B(),v.value=!0}),ja(()=>J.repeatNum,()=>{n(),o()}),Lc(document,"keydown",i),Rd(e,()=>{E.value=e.value.getBoundingClientRect().height}),N({visible:v,bottom:r,close:u}),(g,h)=>(Wn(),ri(nf,{name:Ar(be).b("fade"),onBeforeLeave:g.onClose,onAfterLeave:h[0]||(h[0]=x=>g.$emit("destroy")),persisted:""},{default:Ea(()=>[ys(za("div",{id:g.id,ref_key:"messageRef",ref:e,class:ua([Ar(be).b(),{[Ar(be).m(g.type)]:g.type&&!g.icon},Ar(be).is("center",g.center),Ar(be).is("closable",g.showClose),g.customClass]),style:ao(Ar(c)),role:"alert",onMouseenter:n,onMouseleave:o},[g.repeatNum>1?(Wn(),ri(Ar(cN),{key:0,value:g.repeatNum,type:Ar(C),class:ua(Ar(be).e("badge"))},null,8,["value","type","class"])):ai("v-if",!0),Ar(d)?(Wn(),ri(Ar(bu),{key:1,class:ua([Ar(be).e("icon"),Ar(w)])},{default:Ea(()=>[(Wn(),ri(Kl(Ar(d))))]),_:1},8,["class"])):ai("v-if",!0),ti(g.$slots,"default",{},()=>[g.dangerouslyUseHTMLString?(Wn(),Oa(qi,{key:1},[ai(" Caution here, message could've been compromised, never use user's input as message "),za("p",{class:ua(Ar(be).e("content")),innerHTML:g.message},null,10,HH)],2112)):(Wn(),Oa("p",{key:0,class:ua(Ar(be).e("content"))},Io(g.message),3))]),g.showClose?(Wn(),ri(Ar(bu),{key:2,class:ua(Ar(be).e("closeBtn")),onClick:Cl(u,["stop"])},{default:Ea(()=>[Ia(Ar(oe))]),_:1},8,["class","onClick"])):ai("v-if",!0)],46,UH),[[Fc,v.value]])]),_:3},8,["name","onBeforeLeave"]))}});var WH=Si(GH,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let jH=1;const l4=P=>{const N=!P||ci(P)||Ih(P)||Qa(P)?{message:P}:P,J={...Sl,...N};if(!J.appendTo)J.appendTo=document.body;else if(ci(J.appendTo)){let oe=document.querySelector(J.appendTo);Cv(oe)||(oe=document.body),J.appendTo=oe}return J},YH=P=>{const N=rf.indexOf(P);if(N===-1)return;rf.splice(N,1);const{handler:J}=P;J.close()},ZH=({appendTo:P,...N},J)=>{const oe=`message_${jH++}`,be=N.onClose,_e=document.createElement("div"),U={...N,id:oe,onClose:()=>{be==null||be(),YH(E)},onDestroy:()=>{vb(null,_e)}},B=Ia(WH,U,Qa(U.message)||Ih(U.message)?{default:Qa(U.message)?U.message:()=>U.message}:null);B.appContext=J||kv._context,vb(B,_e),P.appendChild(_e.firstElementChild);const e=B.component,E={id:oe,vnode:B,vm:e,handler:{close:()=>{e.exposed.visible.value=!1}},props:B.component.props};return E},kv=(P={},N)=>{if(!ms)return{close:()=>{}};if(qo(Qm.max)&&rf.length>=Qm.max)return{close:()=>{}};const J=l4(P);if(J.grouping&&rf.length){const be=rf.find(({vnode:_e})=>{var U;return((U=_e.props)==null?void 0:U.message)===J.message});if(be)return be.props.repeatNum+=1,be.props.type=J.type,be.handler}const oe=ZH(J,N);return rf.push(oe),oe.handler};s4.forEach(P=>{kv[P]=(N={},J)=>{const oe=l4(N);return kv({...oe,type:P},J)}});function XH(P){for(const N of rf)(!P||P===N.props.type)&&N.handler.close()}kv.closeAll=XH;kv._context=null;const bw=Qk(kv,"$message"),KH={datasets_selected:"🚀",datasets_candidates:["🏀"],dataset_tag_candidates:["🌲","🏜️"],dataset_tag_selected:["🏜️","🪐"],indicator_selected:"rps",parallel_selected:["1","2","4","8"],parallel_candidates:["1","2","4","8"],topk:"10",topk_candidates:["10","100"]},$H={gist_960:{"no-filter":{valid_parallel:["1","2","4","8"],valid_top:["10"]}}},kf={paper_bgcolor:"#303030",plot_bgcolor:"#3b3b3b",font_color:"#ffff",gridcolor:"#989898"},Ff={paper_bgcolor:"#fbfbfc",plot_bgcolor:"#fbfbfc",font_color:"#000000",gridcolor:"#e2e2e2"};var u4={exports:{}};(function(P,N){(function(oe,be){P.exports=be()})(self,function(){return function(){var J={98847:function(U,B,e){var v=e(71828),E={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in E){var C=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");v.addStyleRule(C,E[a])}},98222:function(U,B,e){U.exports=e(82887)},27206:function(U,B,e){U.exports=e(60822)},59893:function(U,B,e){U.exports=e(23381)},5224:function(U,B,e){U.exports=e(83832)},59509:function(U,B,e){U.exports=e(72201)},75557:function(U,B,e){U.exports=e(91815)},40338:function(U,B,e){U.exports=e(21462)},35080:function(U,B,e){U.exports=e(51319)},61396:function(U,B,e){U.exports=e(57516)},40549:function(U,B,e){U.exports=e(98128)},49866:function(U,B,e){U.exports=e(99442)},36089:function(U,B,e){U.exports=e(93740)},19548:function(U,B,e){U.exports=e(8729)},35831:function(U,B,e){U.exports=e(93814)},61039:function(U,B,e){U.exports=e(14382)},97040:function(U,B,e){U.exports=e(51759)},77986:function(U,B,e){U.exports=e(10421)},24296:function(U,B,e){U.exports=e(43102)},58872:function(U,B,e){U.exports=e(92165)},29626:function(U,B,e){U.exports=e(3325)},65591:function(U,B,e){U.exports=e(36071)},69738:function(U,B,e){U.exports=e(43905)},92650:function(U,B,e){U.exports=e(35902)},35630:function(U,B,e){U.exports=e(69816)},73434:function(U,B,e){U.exports=e(94507)},27909:function(U,B,e){var v=e(19548);v.register([e(27206),e(5224),e(58872),e(65591),e(69738),e(92650),e(49866),e(25743),e(6197),e(97040),e(85461),e(73434),e(54201),e(81299),e(47645),e(35630),e(77986),e(83043),e(93005),e(96881),e(4534),e(50581),e(40549),e(77900),e(47582),e(35080),e(21641),e(17280),e(5861),e(29626),e(10021),e(65317),e(96268),e(61396),e(35831),e(16122),e(46163),e(40344),e(40338),e(48131),e(36089),e(55334),e(75557),e(19440),e(99488),e(59893),e(97393),e(98222),e(61039),e(24296),e(66398),e(59509)]),U.exports=v},46163:function(U,B,e){U.exports=e(15154)},96881:function(U,B,e){U.exports=e(64943)},50581:function(U,B,e){U.exports=e(21164)},55334:function(U,B,e){U.exports=e(54186)},65317:function(U,B,e){U.exports=e(94873)},10021:function(U,B,e){U.exports=e(67618)},54201:function(U,B,e){U.exports=e(58810)},5861:function(U,B,e){U.exports=e(20593)},16122:function(U,B,e){U.exports=e(29396)},83043:function(U,B,e){U.exports=e(13551)},48131:function(U,B,e){U.exports=e(46858)},47582:function(U,B,e){U.exports=e(17988)},21641:function(U,B,e){U.exports=e(68868)},96268:function(U,B,e){U.exports=e(20467)},19440:function(U,B,e){U.exports=e(91271)},99488:function(U,B,e){U.exports=e(21461)},97393:function(U,B,e){U.exports=e(85956)},25743:function(U,B,e){U.exports=e(52979)},66398:function(U,B,e){U.exports=e(32275)},17280:function(U,B,e){U.exports=e(6419)},77900:function(U,B,e){U.exports=e(61510)},81299:function(U,B,e){U.exports=e(87619)},93005:function(U,B,e){U.exports=e(93601)},40344:function(U,B,e){U.exports=e(96595)},47645:function(U,B,e){U.exports=e(70954)},6197:function(U,B,e){U.exports=e(47462)},4534:function(U,B,e){U.exports=e(17659)},85461:function(U,B,e){U.exports=e(19990)},82884:function(U){U.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(U,B,e){var v=e(82884),E=e(41940),a=e(85555),C=e(44467).templatedArray;e(24695),U.exports=C("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:E({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:v.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:v.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:E({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(U,B,e){var v=e(71828),E=e(89298),a=e(92605).draw;U.exports=function(p){var t=p._fullLayout,r=v.filterVisible(t.annotations);if(r.length&&p._fullData.length)return v.syncOrAsync([a,C],p)};function C(d){var p=d._fullLayout;v.filterVisible(p.annotations).forEach(function(t){var r=E.getFromId(d,t.xref),c=E.getFromId(d,t.yref),o=E.getRefType(t.xref),n=E.getRefType(t.yref);t._extremes={},o==="range"&&w(t,r),n==="range"&&w(t,c)})}function w(d,p){var t=p._id,r=t.charAt(0),c=d[r],o=d["a"+r],n=d[r+"ref"],u=d["a"+r+"ref"],i=d["_"+r+"padplus"],g=d["_"+r+"padminus"],h={x:1,y:-1}[r]*d[r+"shift"],x=3*d.arrowsize*d.arrowwidth||0,f=x+h,l=x-h,y=3*d.startarrowsize*d.arrowwidth||0,T=y+h,S=y-h,L;if(u===n){var m=E.findExtremes(p,[p.r2c(c)],{ppadplus:f,ppadminus:l}),M=E.findExtremes(p,[p.r2c(o)],{ppadplus:Math.max(i,T),ppadminus:Math.max(g,S)});L={min:[m.min[0],M.min[0]],max:[m.max[0],M.max[0]]}}else T=o?T+o:T,S=o?S-o:S,L=E.findExtremes(p,[p.r2c(c)],{ppadplus:Math.max(i,f,T),ppadminus:Math.max(g,l,S)});d._extremes[t]=L}},44317:function(U,B,e){var v=e(71828),E=e(73972),a=e(44467).arrayEditor;U.exports={hasClickToShow:C,onClick:w};function C(t,r){var c=d(t,r);return c.on.length>0||c.explicitOff.length>0}function w(t,r){var c=d(t,r),o=c.on,n=c.off.concat(c.explicitOff),u={},i=t._fullLayout.annotations,g,h;if(o.length||n.length){for(g=0;g.6666666666666666?hr="right":hr="center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[hr]}for(var qe=!1,Qe=["x","y"],Je=0;Je1)&&(gt===ht?(st=yt.r2fraction(y["a"+tt]),(st<0||st>1)&&(qe=!0)):qe=!0),Ie=yt._offset+yt.r2p(y[tt]),me=.5}else{var ft=Ne==="domain";tt==="x"?(he=y[tt],Ie=ft?yt._offset+yt._length*he:Ie=b.l+b.w*he):(he=1-y[tt],Ie=ft?yt._offset+yt._length*he:Ie=b.t+b.h*he),me=y.showarrow?.5:he}if(y.showarrow){Ze.head=Ie;var At=y["a"+tt];if(Re=Xe*Fe(.5,y.xanchor)-Ue*Fe(.5,y.yanchor),gt===ht){var Ft=d.getRefType(gt);Ft==="domain"?(tt==="y"&&(At=1-At),Ze.tail=yt._offset+yt._length*At):Ft==="paper"?tt==="y"?(At=1-At,Ze.tail=b.t+b.h*At):Ze.tail=b.l+b.w*At:Ze.tail=yt._offset+yt.r2p(At),Te=Re}else Ze.tail=Ie+At,Te=Re+At;Ze.text=Ze.tail+Re;var Ht=M[tt==="x"?"width":"height"];if(ht==="paper"&&(Ze.head=C.constrain(Ze.head,1,Ht-1)),gt==="pixel"){var Gt=-Math.max(Ze.tail-3,Ze.text),Rt=Math.min(Ze.tail+3,Ze.text)-Ht;Gt>0?(Ze.tail+=Gt,Ze.text+=Gt):Rt>0&&(Ze.tail-=Rt,Ze.text-=Rt)}Ze.tail+=it,Ze.head+=it}else Re=ze*Fe(me,rt),Te=Re,Ze.text=Ie+Re;Ze.text+=it,Re+=it,Te+=it,y["_"+tt+"padplus"]=ze/2+Te,y["_"+tt+"padminus"]=ze/2-Te,y["_"+tt+"size"]=ze,y["_"+tt+"shift"]=Re}if(qe){fe.remove();return}var qt=0,sr=0;if(y.align!=="left"&&(qt=(Ce-Ee)*(y.align==="center"?.5:1)),y.valign!=="top"&&(sr=(Ge-we)*(y.valign==="middle"?.5:1)),Be)Ae.select("svg").attr({x:j+qt-1,y:j+sr}).call(t.setClipUrl,re?H:null,l);else{var kr=j+sr-Oe.top,xt=j+qt-Oe.left;ue.call(c.positionText,xt,kr).call(t.setClipUrl,re?H:null,l)}le.select("rect").call(t.setRect,j,j,Ce,Ge),X.call(t.setRect,$/2,$/2,He-$,De-$),fe.call(t.setTranslate,Math.round(z.x.text-He/2),Math.round(z.y.text-De/2)),Z.attr({transform:"rotate("+k+","+z.x.text+","+z.y.text+")"});var Xt=function(wr,hr){V.selectAll(".annotation-arrow-g").remove();var ct=z.x.head,ut=z.y.head,wt=z.x.tail+wr,Mt=z.y.tail+hr,Lt=z.x.text+wr,St=z.y.text+hr,Ot=C.rotationXYMatrix(k,Lt,St),Vt=C.apply2DTransform(Ot),Jt=C.apply2DTransform2(Ot),$t=+X.attr("width"),ir=+X.attr("height"),Cr=Lt-.5*$t,je=Cr+$t,We=St-.5*ir,It=We+ir,kt=[[Cr,We,Cr,It],[Cr,It,je,It],[je,It,je,We],[je,We,Cr,We]].map(Jt);if(!kt.reduce(function(Or,mn){return Or^!!C.segmentsIntersect(ct,ut,ct+1e6,ut+1e6,mn[0],mn[1],mn[2],mn[3])},!1)){kt.forEach(function(Or){var mn=C.segmentsIntersect(wt,Mt,ct,ut,Or[0],Or[1],Or[2],Or[3]);mn&&(wt=mn.x,Mt=mn.y)});var Yt=y.arrowwidth,ar=y.arrowcolor,lr=y.arrowside,rr=V.append("g").style({opacity:p.opacity(ar)}).classed("annotation-arrow-g",!0),Nt=rr.append("path").attr("d","M"+wt+","+Mt+"L"+ct+","+ut).style("stroke-width",Yt+"px").call(p.stroke,p.rgb(ar));if(i(Nt,lr,y),s.annotationPosition&&Nt.node().parentNode&&!S){var cr=ct,vr=ut;if(y.standoff){var pr=Math.sqrt(Math.pow(ct-wt,2)+Math.pow(ut-Mt,2));cr+=y.standoff*(wt-ct)/pr,vr+=y.standoff*(Mt-ut)/pr}var dr=rr.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(wt-cr)+","+(Mt-vr),transform:w(cr,vr)}).style("stroke-width",Yt+6+"px").call(p.stroke,"rgba(0,0,0,0)").call(p.fill,"rgba(0,0,0,0)"),Yr,zr;n.init({element:dr.node(),gd:l,prepFn:function(){var Or=t.getTranslate(fe);Yr=Or.x,zr=Or.y,L&&L.autorange&&F(L._name+".autorange",!0),m&&m.autorange&&F(m._name+".autorange",!0)},moveFn:function(Or,mn){var Kr=Vt(Yr,zr),kn=Kr[0]+Or,Dn=Kr[1]+mn;fe.call(t.setTranslate,kn,Dn),G("x",x(L,Or,"x",b,y)),G("y",x(m,mn,"y",b,y)),y.axref===y.xref&&G("ax",x(L,Or,"ax",b,y)),y.ayref===y.yref&&G("ay",x(m,mn,"ay",b,y)),rr.attr("transform",w(Or,mn)),Z.attr({transform:"rotate("+k+","+kn+","+Dn+")"})},doneFn:function(){E.call("_guiRelayout",l,O());var Or=document.querySelector(".js-notes-box-panel");Or&&Or.redraw(Or.selectedObj)}})}}};if(y.showarrow&&Xt(0,0),ee){var jt;n.init({element:fe.node(),gd:l,prepFn:function(){jt=Z.attr("transform")},moveFn:function(wr,hr){var ct="pointer";if(y.showarrow)y.axref===y.xref?G("ax",x(L,wr,"ax",b,y)):G("ax",y.ax+wr),y.ayref===y.yref?G("ay",x(m,hr,"ay",b.w,y)):G("ay",y.ay+hr),Xt(wr,hr);else{if(S)return;var ut,wt;if(L)ut=x(L,wr,"x",b,y);else{var Mt=y._xsize/b.w,Lt=y.x+(y._xshift-y.xshift)/b.w-Mt/2;ut=n.align(Lt+wr/b.w,Mt,0,1,y.xanchor)}if(m)wt=x(m,hr,"y",b,y);else{var St=y._ysize/b.h,Ot=y.y-(y._yshift+y.yshift)/b.h-St/2;wt=n.align(Ot-hr/b.h,St,0,1,y.yanchor)}G("x",ut),G("y",wt),(!L||!m)&&(ct=n.getCursor(L?.5:ut,m?.5:wt,y.xanchor,y.yanchor))}Z.attr({transform:w(wr,hr)+jt}),o(fe,ct)},clickFn:function(wr,hr){y.captureevents&&l.emit("plotly_clickannotation",ne(hr))},doneFn:function(){o(fe),E.call("_guiRelayout",l,O());var wr=document.querySelector(".js-notes-box-panel");wr&&wr.redraw(wr.selectedObj)}})}}s.annotationText?ue.call(c.makeEditable,{delegate:fe,gd:l}).call(ae).on("edit",function(xe){y.text=xe,this.call(ae),G("text",xe),L&&L.autorange&&F(L._name+".autorange",!0),m&&m.autorange&&F(m._name+".autorange",!0),E.call("_guiRelayout",l,O())}):ue.call(ae)}},13011:function(U,B,e){var v=e(39898),E=e(7901),a=e(82884),C=e(71828),w=C.strScale,d=C.strRotate,p=C.strTranslate;U.exports=function(r,c,o){var n=r.node(),u=a[o.arrowhead||0],i=a[o.startarrowhead||0],g=(o.arrowwidth||1)*(o.arrowsize||1),h=(o.arrowwidth||1)*(o.startarrowsize||1),x=c.indexOf("start")>=0,f=c.indexOf("end")>=0,l=u.backoff*g+o.standoff,y=i.backoff*h+o.startstandoff,T,S,L,m;if(n.nodeName==="line"){T={x:+r.attr("x1"),y:+r.attr("y1")},S={x:+r.attr("x2"),y:+r.attr("y2")};var M=T.x-S.x,b=T.y-S.y;if(L=Math.atan2(b,M),m=L+Math.PI,l&&y&&l+y>Math.sqrt(M*M+b*b)){Z();return}if(l){if(l*l>M*M+b*b){Z();return}var s=l*Math.cos(L),_=l*Math.sin(L);S.x+=s,S.y+=_,r.attr({x2:S.x,y2:S.y})}if(y){if(y*y>M*M+b*b){Z();return}var A=y*Math.cos(L),D=y*Math.sin(L);T.x-=A,T.y-=D,r.attr({x1:T.x,y1:T.y})}}else if(n.nodeName==="path"){var F=n.getTotalLength(),G="";if(F1){o=!0;break}}o?w.fullLayout._infolayer.select(".annotation-"+w.id+'[data-index="'+r+'"]').remove():(c._pdata=E(w.glplot.cameraParams,[d.xaxis.r2l(c.x)*p[0],d.yaxis.r2l(c.y)*p[1],d.zaxis.r2l(c.z)*p[2]]),v(w.graphDiv,c,r,w.id,c._xa,c._ya))}}},2468:function(U,B,e){var v=e(73972),E=e(71828);U.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:e(26997)}}},layoutAttributes:e(26997),handleDefaults:e(20226),includeBasePlot:a,convert:e(5485),draw:e(82188)};function a(C,w){var d=v.subplotsRegistry.gl3d;if(d)for(var p=d.attrRegex,t=Object.keys(C),r=0;r=0)))return r;if(i===3)n[i]>1&&(n[i]=1);else if(n[i]>=1)return r}var g=Math.round(n[0]*255)+", "+Math.round(n[1]*255)+", "+Math.round(n[2]*255);return u?"rgba("+g+", "+n[3]+")":"rgb("+g+")"}},63583:function(U,B,e){var v=e(13838),E=e(41940),a=e(1426).extendFlat,C=e(30962).overrideAll;U.exports=C({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:v.linecolor,outlinewidth:v.linewidth,bordercolor:v.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:v.minor.tickmode,nticks:v.nticks,tick0:v.tick0,dtick:v.dtick,tickvals:v.tickvals,ticktext:v.ticktext,ticks:a({},v.ticks,{dflt:""}),ticklabeloverflow:a({},v.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:v.ticklen,tickwidth:v.tickwidth,tickcolor:v.tickcolor,ticklabelstep:v.ticklabelstep,showticklabels:v.showticklabels,labelalias:v.labelalias,tickfont:E({}),tickangle:v.tickangle,tickformat:v.tickformat,tickformatstops:v.tickformatstops,tickprefix:v.tickprefix,showtickprefix:v.showtickprefix,ticksuffix:v.ticksuffix,showticksuffix:v.showticksuffix,separatethousands:v.separatethousands,exponentformat:v.exponentformat,minexponent:v.minexponent,showexponent:v.showexponent,title:{text:{valType:"string"},font:E({}),side:{valType:"enumerated",values:["right","top","bottom"]}},_deprecated:{title:{valType:"string"},titlefont:E({}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top"}}},"colorbars","from-root")},30939:function(U){U.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},62499:function(U,B,e){var v=e(71828),E=e(44467),a=e(26218),C=e(38701),w=e(96115),d=e(89426),p=e(63583);U.exports=function(r,c,o){var n=E.newContainer(c,"colorbar"),u=r.colorbar||{};function i(z,k){return v.coerce(u,n,p,z,k)}var g=o.margin||{t:0,b:0,l:0,r:0},h=o.width-g.l-g.r,x=o.height-g.t-g.b,f=i("orientation"),l=f==="v",y=i("thicknessmode");i("thickness",y==="fraction"?30/(l?h:x):30);var T=i("lenmode");i("len",T==="fraction"?1:l?x:h);var S=i("yref"),L=i("xref"),m=S==="paper",M=L==="paper",b,s,_,A="left";l?(_="middle",A=M?"left":"right",b=M?1.02:1,s=.5):(_=m?"bottom":"top",A="center",b=.5,s=m?1.02:1),v.coerce(u,n,{x:{valType:"number",min:M?-2:0,max:M?3:1,dflt:b}},"x"),v.coerce(u,n,{y:{valType:"number",min:m?-2:0,max:m?3:1,dflt:s}},"y"),i("xanchor",A),i("xpad"),i("yanchor",_),i("ypad"),v.noneOrAll(u,n,["x","y"]),i("outlinecolor"),i("outlinewidth"),i("bordercolor"),i("borderwidth"),i("bgcolor");var D=v.coerce(u,n,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:l?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");i("ticklabeloverflow",D.indexOf("inside")!==-1?"hide past domain":"hide past div"),a(u,n,i,"linear");var F=o.font,G={outerTicks:!1,font:F};D.indexOf("inside")!==-1&&(G.bgColor="black"),d(u,n,i,"linear",G),w(u,n,i,"linear",G),C(u,n,i,"linear",G),i("title.text",o._dfltTitle.colorbar);var O=n.showticklabels?n.tickfont:F,H=v.extendFlat({},O,{color:F.color,size:v.bigFont(O.size)});v.coerceFont(i,"title.font",H),i("title.side",l?"top":"right")}},98981:function(U,B,e){var v=e(39898),E=e(84267),a=e(74875),C=e(73972),w=e(89298),d=e(28569),p=e(71828),t=p.strTranslate,r=e(1426).extendFlat,c=e(6964),o=e(91424),n=e(7901),u=e(92998),i=e(63893),g=e(52075).flipScale,h=e(71453),x=e(52830),f=e(13838),l=e(18783),y=l.LINE_SPACING,T=l.FROM_TL,S=l.FROM_BR,L=e(30939).cn;function m(D){var F=D._fullLayout,G=F._infolayer.selectAll("g."+L.colorbar).data(M(D),function(O){return O._id});G.enter().append("g").attr("class",function(O){return O._id}).classed(L.colorbar,!0),G.each(function(O){var H=v.select(this);p.ensureSingle(H,"rect",L.cbbg),p.ensureSingle(H,"g",L.cbfills),p.ensureSingle(H,"g",L.cblines),p.ensureSingle(H,"g",L.cbaxis,function(k){k.classed(L.crisp,!0)}),p.ensureSingle(H,"g",L.cbtitleunshift,function(k){k.append("g").classed(L.cbtitle,!0)}),p.ensureSingle(H,"rect",L.cboutline);var z=b(H,O,D);z&&z.then&&(D._promises||[]).push(z),D._context.edits.colorbarPosition&&s(H,O,D)}),G.exit().each(function(O){a.autoMargin(D,O._id)}).remove(),G.order()}function M(D){var F=D._fullLayout,G=D.calcdata,O=[],H,z,k,V;function Z(q){return r(q,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function ee(){typeof V.calc=="function"?V.calc(D,k,H):(H._fillgradient=z.reversescale?g(z.colorscale):z.colorscale,H._zrange=[z[V.min],z[V.max]])}for(var Q=0;Q1){var Ze=Math.pow(10,Math.floor(Math.log(it)/Math.LN10));ze*=Ze*p.roundUp(it/Ze,[2,5,10]),(Math.abs(Oe.start)/Oe.size+1e-6)%1<2e-6&&(Xe.tick0=0)}Xe.dtick=ze}Xe.domain=O?[yt+Y/te.h,yt+Fe-Y/te.h]:[yt+$/te.w,yt+Fe-$/te.w],Xe.setScale(),D.attr("transform",t(Math.round(te.l),Math.round(te.t)));var Ie=D.select("."+L.cbtitleunshift).attr("transform",t(-Math.round(te.l),-Math.round(te.t))),Te=Xe.ticklabelposition,he=Xe.title.font.size,me=D.select("."+L.cbaxis),Re,Ne=0,st=0;function ft(Rt,qt){var sr={propContainer:Xe,propName:F._propPrefix+"title",traceIndex:F._traceIndex,_meta:F._meta,placeholder:q._dfltTitle.colorbar,containerGroup:D.select("."+L.cbtitle)},kr=Rt.charAt(0)==="h"?Rt.substr(1):"h"+Rt;D.selectAll("."+kr+",."+kr+"-math-group").remove(),u.draw(G,Rt,r(sr,qt||{}))}function At(){if(O&&Ue||!O&&!Ue){var Rt,qt;xe==="top"&&(Rt=$+te.l+qe*j,qt=Y+te.t+Qe*(1-yt-Fe)+3+he*.75),xe==="bottom"&&(Rt=$+te.l+qe*j,qt=Y+te.t+Qe*(1-yt)-3-he*.25),xe==="right"&&(qt=Y+te.t+Qe*X+3+he*.75,Rt=$+te.l+qe*yt),ft(Xe._id+"title",{attributes:{x:Rt,y:qt,"text-anchor":O?"start":"middle"}})}}function Ft(){if(O&&!Ue||!O&&Ue){var Rt=Xe.position||0,qt=Xe._offset+Xe._length/2,sr,kr;if(xe==="right")kr=qt,sr=te.l+qe*Rt+10+he*(Xe.showticklabels?1:.5);else if(sr=qt,xe==="bottom"&&(kr=te.t+Qe*Rt+10+(Te.indexOf("inside")===-1?Xe.tickfont.size:0)+(Xe.ticks!=="intside"&&F.ticklen||0)),xe==="top"){var xt=de.text.split("
").length;kr=te.t+Qe*Rt+10-Ge-y*he*xt}ft((O?"h":"v")+Xe._id+"title",{avoid:{selection:v.select(G).selectAll("g."+Xe._id+"tick"),side:xe,offsetTop:O?0:te.t,offsetLeft:O?te.l:0,maxShift:O?q.width:q.height},attributes:{x:sr,y:kr,"text-anchor":"middle"},transform:{rotate:O?-90:0,offset:0}})}}function Ht(){if(!O&&!Ue||O&&Ue){var Rt=D.select("."+L.cbtitle),qt=Rt.select("text"),sr=[-Z/2,Z/2],kr=Rt.select(".h"+Xe._id+"title-math-group").node(),xt=15.6;qt.node()&&(xt=parseInt(qt.node().style.fontSize,10)*y);var Xt;if(kr?(Xt=o.bBox(kr),st=Xt.width,Ne=Xt.height,Ne>xt&&(sr[1]-=(Ne-xt)/2)):qt.node()&&!qt.classed(L.jsPlaceholder)&&(Xt=o.bBox(qt.node()),st=Xt.width,Ne=Xt.height),O){if(Ne){if(Ne+=5,xe==="top")Xe.domain[1]-=Ne/te.h,sr[1]*=-1;else{Xe.domain[0]+=Ne/te.h;var jt=i.lineCount(qt);sr[1]+=(1-jt)*xt}Rt.attr("transform",t(sr[0],sr[1])),Xe.setScale()}}else st&&(xe==="right"&&(Xe.domain[0]+=(st+he/2)/te.w),Rt.attr("transform",t(sr[0],sr[1])),Xe.setScale())}D.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",O?t(0,Math.round(te.h*(1-Xe.domain[1]))):t(Math.round(te.w*Xe.domain[0]),0)),me.attr("transform",O?t(0,Math.round(-te.t)):t(Math.round(-te.l),0));var wr=D.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(we);wr.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),wr.exit().remove();var hr=Se.map(Xe.c2p).map(Math.round).sort(function(Lt,St){return Lt-St});wr.each(function(Lt,St){var Ot=[St===0?Se[0]:(we[St]+we[St-1])/2,St===we.length-1?Se[1]:(we[St]+we[St+1])/2].map(Xe.c2p).map(Math.round);O&&(Ot[1]=p.constrain(Ot[1]+(Ot[1]>Ot[0])?1:-1,hr[0],hr[1]));var Vt=v.select(this).attr(O?"x":"y",Je).attr(O?"y":"x",v.min(Ot)).attr(O?"width":"height",Math.max(Ge,2)).attr(O?"height":"width",Math.max(v.max(Ot)-v.min(Ot),2));if(F._fillgradient)o.gradient(Vt,G,F._id,O?"vertical":"horizontalreversed",F._fillgradient,"fill");else{var Jt=Be(Lt).replace("e-","");Vt.attr("fill",E(Jt).toHexString())}});var ct=D.select("."+L.cblines).selectAll("path."+L.cbline).data(ae.color&&ae.width?Ce:[]);ct.enter().append("path").classed(L.cbline,!0),ct.exit().remove(),ct.each(function(Lt){var St=Je,Ot=Math.round(Xe.c2p(Lt))+ae.width/2%1;v.select(this).attr("d","M"+(O?St+","+Ot:Ot+","+St)+(O?"h":"v")+Ge).call(o.lineGroupStyle,ae.width,Ae(Lt),ae.dash)}),me.selectAll("g."+Xe._id+"tick,path").remove();var ut=Je+Ge+(Z||0)/2-(F.ticks==="outside"?1:0),wt=w.calcTicks(Xe),Mt=w.getTickSigns(Xe)[2];return w.drawTicks(G,Xe,{vals:Xe.ticks==="inside"?w.clipEnds(Xe,wt):wt,layer:me,path:w.makeTickPath(Xe,ut,Mt),transFn:w.makeTransTickFn(Xe)}),w.drawLabels(G,Xe,{vals:wt,layer:me,transFn:w.makeTransTickLabelFn(Xe),labelFns:w.makeLabelFns(Xe,ut)})}function Gt(){var Rt,qt=Ge+Z/2;Te.indexOf("inside")===-1&&(Rt=o.bBox(me.node()),qt+=O?Rt.width:Rt.height),Re=Ie.select("text");var sr=0,kr=O&&xe==="top",xt=!O&&xe==="right",Xt=0;if(Re.node()&&!Re.classed(L.jsPlaceholder)){var jt,wr=Ie.select(".h"+Xe._id+"title-math-group").node();wr&&(O&&Ue||!O&&!Ue)?(Rt=o.bBox(wr),sr=Rt.width,jt=Rt.height):(Rt=o.bBox(Ie.node()),sr=Rt.right-te.l-(O?Je:Et),jt=Rt.bottom-te.t-(O?Et:Je),!O&&xe==="top"&&(qt+=Rt.height,Xt=Rt.height)),xt&&(Re.attr("transform",t(sr/2+he/2,0)),sr*=2),qt=Math.max(qt,O?sr:jt)}var hr=(O?$:Y)*2+qt+ee+Z/2,ct=0;!O&&de.text&&fe==="bottom"&&X<=0&&(ct=hr/2,hr+=ct,Xt+=ct),q._hColorbarMoveTitle=ct,q._hColorbarMoveCBTitle=Xt;var ut=ee+Z,wt=(O?Je:Et)-ut/2-(O?$:0),Mt=(O?Et:Je)-(O?De:Y+Xt-ct);D.select("."+L.cbbg).attr("x",wt).attr("y",Mt).attr(O?"width":"height",Math.max(hr-ct,2)).attr(O?"height":"width",Math.max(De+ut,2)).call(n.fill,Q).call(n.stroke,F.bordercolor).style("stroke-width",ee);var Lt=xt?Math.max(sr-10,0):0;D.selectAll("."+L.cboutline).attr("x",(O?Je:Et+$)+Lt).attr("y",(O?Et+Y-De:Je)+(kr?Ne:0)).attr(O?"width":"height",Math.max(Ge,2)).attr(O?"height":"width",Math.max(De-(O?2*Y+Ne:2*$+Lt),2)).call(n.stroke,F.outlinecolor).style({fill:"none","stroke-width":Z});var St=O?tt*hr:0,Ot=O?0:(1-ht)*hr-Xt;if(St=le?te.l-St:-St,Ot=re?te.t-Ot:-Ot,D.attr("transform",t(St,Ot)),!O&&(ee||E(Q).getAlpha()&&!E.equals(q.paper_bgcolor,Q))){var Vt=me.selectAll("text"),Jt=Vt[0].length,$t=D.select("."+L.cbbg).node(),ir=o.bBox($t),Cr=o.getTranslate(D),je=2;Vt.each(function(vr,pr){var dr=0,Yr=Jt-1;if(pr===dr||pr===Yr){var zr=o.bBox(this),Or=o.getTranslate(this),mn;if(pr===Yr){var Kr=zr.right+Or.x,kn=ir.right+Cr.x+Et-ee-je+j;mn=kn-Kr,mn>0&&(mn=0)}else if(pr===dr){var Dn=zr.left+Or.x,xr=ir.left+Cr.x+Et+ee+je;mn=xr-Dn,mn<0&&(mn=0)}mn&&(Jt<3?this.setAttribute("transform","translate("+mn+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var We={},It=T[ne],kt=S[ne],Yt=T[fe],ar=S[fe],lr=hr-Ge;O?(z==="pixels"?(We.y=X,We.t=De*Yt,We.b=De*ar):(We.t=We.b=0,We.yt=X+H*Yt,We.yb=X-H*ar),V==="pixels"?(We.x=j,We.l=hr*It,We.r=hr*kt):(We.l=lr*It,We.r=lr*kt,We.xl=j-k*It,We.xr=j+k*kt)):(z==="pixels"?(We.x=j,We.l=De*It,We.r=De*kt):(We.l=We.r=0,We.xl=j+H*It,We.xr=j-H*kt),V==="pixels"?(We.y=1-X,We.t=hr*Yt,We.b=hr*ar):(We.t=lr*Yt,We.b=lr*ar,We.yt=X-k*Yt,We.yb=X+k*ar));var rr=F.y<.5?"b":"t",Nt=F.x<.5?"l":"r";G._fullLayout._reservedMargin[F._id]={};var cr={r:q.width-wt-St,l:wt+We.r,b:q.height-Mt-Ot,t:Mt+We.b};le&&re?a.autoMargin(G,F._id,We):le?G._fullLayout._reservedMargin[F._id][rr]=cr[rr]:re||O?G._fullLayout._reservedMargin[F._id][Nt]=cr[Nt]:G._fullLayout._reservedMargin[F._id][rr]=cr[rr]}return p.syncOrAsync([a.previousPromises,At,Ht,Ft,a.previousPromises,Gt],G)}function s(D,F,G){var O=F.orientation==="v",H=G._fullLayout,z=H._size,k,V,Z;d.init({element:D.node(),gd:G,prepFn:function(){k=D.attr("transform"),c(D)},moveFn:function(ee,Q){D.attr("transform",k+t(ee,Q)),V=d.align((O?F._uFrac:F._vFrac)+ee/z.w,O?F._thickFrac:F._lenFrac,0,1,F.xanchor),Z=d.align((O?F._vFrac:1-F._uFrac)-Q/z.h,O?F._lenFrac:F._thickFrac,0,1,F.yanchor);var ne=d.getCursor(V,Z,F.xanchor,F.yanchor);c(D,ne)},doneFn:function(){if(c(D),V!==void 0&&Z!==void 0){var ee={};ee[F._propPrefix+"x"]=V,ee[F._propPrefix+"y"]=Z,F._traceIndex!==void 0?C.call("_guiRestyle",G,ee,F._traceIndex):C.call("_guiRelayout",G,ee)}}})}function _(D,F,G){var O=F._levels,H=[],z=[],k,V,Z=O.end+O.size/100,ee=O.size,Q=1.001*G[0]-.001*G[1],ne=1.001*G[1]-.001*G[0];for(V=0;V<1e5&&(k=O.start+V*ee,!(ee>0?k>=Z:k<=Z));V++)k>Q&&k0?k>=Z:k<=Z));V++)k>G[0]&&kh-i?i=h-(g-h):g-h=0?l=t.colorscale.sequential:l=t.colorscale.sequentialminus,n._sync("colorscale",l)}}},33046:function(U,B,e){var v=e(71828),E=e(52075).hasColorscale,a=e(52075).extractOpts;U.exports=function(w,d){function p(i,g){var h=i["_"+g];h!==void 0&&(i[g]=h)}function t(i,g){var h=g.container?v.nestedProperty(i,g.container).get():i;if(h)if(h.coloraxis)h._colorAx=d[h.coloraxis];else{var x=a(h),f=x.auto;(f||x.min===void 0)&&p(h,g.min),(f||x.max===void 0)&&p(h,g.max),x.autocolorscale&&p(h,"colorscale")}}for(var r=0;r=0;l--,y++){var T=h[l];f[y]=[1-T[0],T[1]]}return f}function u(h,x){x=x||{};for(var f=h.domain,l=h.range,y=l.length,T=new Array(y),S=0;S1.3333333333333333-p?d:p}},70461:function(U,B,e){var v=e(71828),E=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];U.exports=function(C,w,d,p){return d==="left"?C=0:d==="center"?C=1:d==="right"?C=2:C=v.constrain(Math.floor(C*3),0,2),p==="bottom"?w=0:p==="middle"?w=1:p==="top"?w=2:w=v.constrain(Math.floor(w*3),0,2),E[w][C]}},64505:function(U,B){B.selectMode=function(e){return e==="lasso"||e==="select"},B.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"},B.openMode=function(e){return e==="drawline"||e==="drawopenpath"},B.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"},B.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"},B.selectingOrDrawing=function(e){return B.freeMode(e)||B.rectMode(e)}},28569:function(U,B,e){var v=e(48956),E=e(57035),a=e(38520),C=e(71828).removeElement,w=e(85555),d=U.exports={};d.align=e(92807),d.getCursor=e(70461);var p=e(26041);d.unhover=p.wrapped,d.unhoverRaw=p.raw,d.init=function(o){var n=o.gd,u=1,i=n._context.doubleClickDelay,g=o.element,h,x,f,l,y,T,S,L;n._mouseDownTime||(n._mouseDownTime=0),g.style.pointerEvents="all",g.onmousedown=b,a?(g._ontouchstart&&g.removeEventListener("touchstart",g._ontouchstart),g._ontouchstart=b,g.addEventListener("touchstart",b,{passive:!1})):g.ontouchstart=b;function m(A,D,F){return Math.abs(A)"u"&&typeof A.clientY>"u"&&(A.clientX=h,A.clientY=x),f=new Date().getTime(),f-n._mouseDownTimei&&(u=Math.max(u-1,1)),n._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(u,T),!L){var D;try{D=new MouseEvent("click",A)}catch{var F=r(A);D=document.createEvent("MouseEvents"),D.initMouseEvent("click",A.bubbles,A.cancelable,A.view,A.detail,A.screenX,A.screenY,F[0],F[1],A.ctrlKey,A.altKey,A.shiftKey,A.metaKey,A.button,A.relatedTarget)}S.dispatchEvent(D)}n._dragging=!1,n._dragged=!1}};function t(){var c=document.createElement("div");c.className="dragcover";var o=c.style;return o.position="fixed",o.left=0,o.right=0,o.top=0,o.bottom=0,o.zIndex=999999999,o.background="none",document.body.appendChild(c),c}d.coverSlip=t;function r(c){return v(c.changedTouches?c.changedTouches[0]:c,document.body)}},26041:function(U,B,e){var v=e(11086),E=e(79990),a=e(24401).getGraphDiv,C=e(26675),w=U.exports={};w.wrapped=function(d,p,t){d=a(d),d._fullLayout&&E.clear(d._fullLayout._uid+C.HOVERID),w.raw(d,p,t)},w.raw=function(p,t){var r=p._fullLayout,c=p._hoverdata;t||(t={}),!(t.target&&!p._dragged&&v.triggerHandler(p,"plotly_beforehover",t)===!1)&&(r._hoverlayer.selectAll("g").remove(),r._hoverlayer.selectAll("line").remove(),r._hoverlayer.selectAll("circle").remove(),p._hoverdata=void 0,t.target&&c&&p.emit("plotly_unhover",{event:t,points:c}))}},79952:function(U,B){B.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},B.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(U,B,e){var v=e(39898),E=e(71828),a=E.numberFormat,C=e(92770),w=e(84267),d=e(73972),p=e(7901),t=e(21081),r=E.strTranslate,c=e(63893),o=e(77922),n=e(18783),u=n.LINE_SPACING,i=e(37822).DESELECTDIM,g=e(34098),h=e(39984),x=e(23469).appendArrayPointValue,f=U.exports={};f.font=function(Ee,we,Ce,Ge){E.isPlainObject(we)&&(Ge=we.color,Ce=we.size,we=we.family),we&&Ee.style("font-family",we),Ce+1&&Ee.style("font-size",Ce+"px"),Ge&&Ee.call(p.fill,Ge)},f.setPosition=function(Ee,we,Ce){Ee.attr("x",we).attr("y",Ce)},f.setSize=function(Ee,we,Ce){Ee.attr("width",we).attr("height",Ce)},f.setRect=function(Ee,we,Ce,Ge,He){Ee.call(f.setPosition,we,Ce).call(f.setSize,Ge,He)},f.translatePoint=function(Ee,we,Ce,Ge){var He=Ce.c2p(Ee.x),De=Ge.c2p(Ee.y);if(C(He)&&C(De)&&we.node())we.node().nodeName==="text"?we.attr("x",He).attr("y",De):we.attr("transform",r(He,De));else return!1;return!0},f.translatePoints=function(Ee,we,Ce){Ee.each(function(Ge){var He=v.select(this);f.translatePoint(Ge,He,we,Ce)})},f.hideOutsideRangePoint=function(Ee,we,Ce,Ge,He,De){we.attr("display",Ce.isPtWithinRange(Ee,He)&&Ge.isPtWithinRange(Ee,De)?null:"none")},f.hideOutsideRangePoints=function(Ee,we){if(we._hasClipOnAxisFalse){var Ce=we.xaxis,Ge=we.yaxis;Ee.each(function(He){var De=He[0].trace,Fe=De.xcalendar,qe=De.ycalendar,Qe=d.traceIs(De,"bar-like")?".bartext":".point,.textpoint";Ee.selectAll(Qe).each(function(Je){f.hideOutsideRangePoint(Je,v.select(this),Ce,Ge,Fe,qe)})})}},f.crispRound=function(Ee,we,Ce){return!we||!C(we)?Ce||0:Ee._context.staticPlot?we:we<1?1:Math.round(we)},f.singleLineStyle=function(Ee,we,Ce,Ge,He){we.style("fill","none");var De=(((Ee||[])[0]||{}).trace||{}).line||{},Fe=Ce||De.width||0,qe=He||De.dash||"";p.stroke(we,Ge||De.color),f.dashLine(we,qe,Fe)},f.lineGroupStyle=function(Ee,we,Ce,Ge){Ee.style("fill","none").each(function(He){var De=(((He||[])[0]||{}).trace||{}).line||{},Fe=we||De.width||0,qe=Ge||De.dash||"";v.select(this).call(p.stroke,Ce||De.color).call(f.dashLine,qe,Fe)})},f.dashLine=function(Ee,we,Ce){Ce=+Ce||0,we=f.dashStyle(we,Ce),Ee.style({"stroke-dasharray":we,"stroke-width":Ce+"px"})},f.dashStyle=function(Ee,we){we=+we||1;var Ce=Math.max(we,3);return Ee==="solid"?Ee="":Ee==="dot"?Ee=Ce+"px,"+Ce+"px":Ee==="dash"?Ee=3*Ce+"px,"+3*Ce+"px":Ee==="longdash"?Ee=5*Ce+"px,"+5*Ce+"px":Ee==="dashdot"?Ee=3*Ce+"px,"+Ce+"px,"+Ce+"px,"+Ce+"px":Ee==="longdashdot"&&(Ee=5*Ce+"px,"+2*Ce+"px,"+Ce+"px,"+2*Ce+"px"),Ee};function l(Ee,we,Ce){var Ge=we.fillpattern,He=Ge&&f.getPatternAttr(Ge.shape,0,"");if(He){var De=f.getPatternAttr(Ge.bgcolor,0,null),Fe=f.getPatternAttr(Ge.fgcolor,0,null),qe=Ge.fgopacity,Qe=f.getPatternAttr(Ge.size,0,8),Je=f.getPatternAttr(Ge.solidity,0,.3),tt=we.uid;f.pattern(Ee,"point",Ce,tt,He,Qe,Je,void 0,Ge.fillmode,De,Fe,qe)}else we.fillcolor&&Ee.call(p.fill,we.fillcolor)}f.singleFillStyle=function(Ee,we){var Ce=v.select(Ee.node()),Ge=Ce.data(),He=((Ge[0]||[])[0]||{}).trace||{};l(Ee,He,we)},f.fillGroupStyle=function(Ee,we){Ee.style("stroke-width",0).each(function(Ce){var Ge=v.select(this);Ce[0].trace&&l(Ge,Ce[0].trace,we)})};var y=e(90998);f.symbolNames=[],f.symbolFuncs=[],f.symbolBackOffs=[],f.symbolNeedLines={},f.symbolNoDot={},f.symbolNoFill={},f.symbolList=[],Object.keys(y).forEach(function(Ee){var we=y[Ee],Ce=we.n;f.symbolList.push(Ce,String(Ce),Ee,Ce+100,String(Ce+100),Ee+"-open"),f.symbolNames[Ce]=Ee,f.symbolFuncs[Ce]=we.f,f.symbolBackOffs[Ce]=we.backoff||0,we.needLine&&(f.symbolNeedLines[Ce]=!0),we.noDot?f.symbolNoDot[Ce]=!0:f.symbolList.push(Ce+200,String(Ce+200),Ee+"-dot",Ce+300,String(Ce+300),Ee+"-open-dot"),we.noFill&&(f.symbolNoFill[Ce]=!0)});var T=f.symbolNames.length,S="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";f.symbolNumber=function(Ee){if(C(Ee))Ee=+Ee;else if(typeof Ee=="string"){var we=0;Ee.indexOf("-open")>0&&(we=100,Ee=Ee.replace("-open","")),Ee.indexOf("-dot")>0&&(we+=200,Ee=Ee.replace("-dot","")),Ee=f.symbolNames.indexOf(Ee),Ee>=0&&(Ee+=we)}return Ee%100>=T||Ee>=400?0:Math.floor(Math.max(Ee,0))};function L(Ee,we,Ce,Ge){var He=Ee%100;return f.symbolFuncs[He](we,Ce,Ge)+(Ee>=200?S:"")}var m={x1:1,x2:0,y1:0,y2:0},M={x1:0,x2:0,y1:1,y2:0},b=a("~f"),s={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:m},horizontalreversed:{node:"linearGradient",attrs:m,reversed:!0},vertical:{node:"linearGradient",attrs:M},verticalreversed:{node:"linearGradient",attrs:M,reversed:!0}};f.gradient=function(Ee,we,Ce,Ge,He,De){for(var Fe=He.length,qe=s[Ge],Qe=new Array(Fe),Je=0;Je=100;var Je=Oe(Ee,Ce),tt=re(Ee,Ce);we.attr("d",L(Qe,qe,Je,tt))}var ht=!1,gt,yt,Et;if(Ee.so)Et=Fe.outlierwidth,yt=Fe.outliercolor,gt=De.outliercolor;else{var Xe=(Fe||{}).width;Et=(Ee.mlw+1||Xe+1||(Ee.trace?(Ee.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in Ee?yt=Ee.mlcc=Ge.lineScale(Ee.mlc):E.isArrayOrTypedArray(Fe.color)?yt=p.defaultLine:yt=Fe.color,E.isArrayOrTypedArray(De.color)&&(gt=p.defaultLine,ht=!0),"mc"in Ee?gt=Ee.mcc=Ge.markerScale(Ee.mc):gt=De.color||"rgba(0,0,0,0)",Ge.selectedColorFn&&(gt=Ge.selectedColorFn(Ee))}if(Ee.om)we.call(p.stroke,gt).style({"stroke-width":(Et||1)+"px",fill:"none"});else{we.style("stroke-width",(Ee.isBlank?0:Et)+"px");var Ue=De.gradient,ze=Ee.mgt;ze?ht=!0:ze=Ue&&Ue.type,E.isArrayOrTypedArray(ze)&&(ze=ze[0],s[ze]||(ze=0));var rt=De.pattern,it=rt&&f.getPatternAttr(rt.shape,Ee.i,"");if(ze&&ze!=="none"){var Ze=Ee.mgc;Ze?ht=!0:Ze=Ue.color;var Ie=Ce.uid;ht&&(Ie+="-"+Ee.i),f.gradient(we,He,Ie,ze,[[0,Ze],[1,gt]],"fill")}else if(it){var Te=f.getPatternAttr(rt.bgcolor,Ee.i,null),he=f.getPatternAttr(rt.fgcolor,Ee.i,null),me=rt.fgopacity,Re=f.getPatternAttr(rt.size,Ee.i,8),Ne=f.getPatternAttr(rt.solidity,Ee.i,.3),st=Ee.mcc||E.isArrayOrTypedArray(rt.shape)||E.isArrayOrTypedArray(rt.bgcolor)||E.isArrayOrTypedArray(rt.size)||E.isArrayOrTypedArray(rt.solidity),ft=Ce.uid;st&&(ft+="-"+Ee.i),f.pattern(we,"point",He,ft,it,Re,Ne,Ee.mcc,rt.fillmode,Te,he,me)}else p.fill(we,gt);Et&&p.stroke(we,yt)}},f.makePointStyleFns=function(Ee){var we={},Ce=Ee.marker;return we.markerScale=f.tryColorscale(Ce,""),we.lineScale=f.tryColorscale(Ce,"line"),d.traceIs(Ee,"symbols")&&(we.ms2mrc=g.isBubble(Ee)?h(Ee):function(){return(Ce.size||6)/2}),Ee.selectedpoints&&E.extendFlat(we,f.makeSelectedPointStyleFns(Ee)),we},f.makeSelectedPointStyleFns=function(Ee){var we={},Ce=Ee.selected||{},Ge=Ee.unselected||{},He=Ee.marker||{},De=Ce.marker||{},Fe=Ge.marker||{},qe=He.opacity,Qe=De.opacity,Je=Fe.opacity,tt=Qe!==void 0,ht=Je!==void 0;(E.isArrayOrTypedArray(qe)||tt||ht)&&(we.selectedOpacityFn=function(Ze){var Ie=Ze.mo===void 0?He.opacity:Ze.mo;return Ze.selected?tt?Qe:Ie:ht?Je:i*Ie});var gt=He.color,yt=De.color,Et=Fe.color;(yt||Et)&&(we.selectedColorFn=function(Ze){var Ie=Ze.mcc||gt;return Ze.selected?yt||Ie:Et||Ie});var Xe=He.size,Ue=De.size,ze=Fe.size,rt=Ue!==void 0,it=ze!==void 0;return d.traceIs(Ee,"symbols")&&(rt||it)&&(we.selectedSizeFn=function(Ze){var Ie=Ze.mrc||Xe/2;return Ze.selected?rt?Ue/2:Ie:it?ze/2:Ie}),we},f.makeSelectedTextStyleFns=function(Ee){var we={},Ce=Ee.selected||{},Ge=Ee.unselected||{},He=Ee.textfont||{},De=Ce.textfont||{},Fe=Ge.textfont||{},qe=He.color,Qe=De.color,Je=Fe.color;return we.selectedTextColorFn=function(tt){var ht=tt.tc||qe;return tt.selected?Qe||ht:Je||(Qe?ht:p.addOpacity(ht,i))},we},f.selectedPointStyle=function(Ee,we){if(!(!Ee.size()||!we.selectedpoints)){var Ce=f.makeSelectedPointStyleFns(we),Ge=we.marker||{},He=[];Ce.selectedOpacityFn&&He.push(function(De,Fe){De.style("opacity",Ce.selectedOpacityFn(Fe))}),Ce.selectedColorFn&&He.push(function(De,Fe){p.fill(De,Ce.selectedColorFn(Fe))}),Ce.selectedSizeFn&&He.push(function(De,Fe){var qe=Fe.mx||Ge.symbol||0,Qe=Ce.selectedSizeFn(Fe);De.attr("d",L(f.symbolNumber(qe),Qe,Oe(Fe,we),re(Fe,we))),Fe.mrc2=Qe}),He.length&&Ee.each(function(De){for(var Fe=v.select(this),qe=0;qe0?Ce:0}f.textPointStyle=function(Ee,we,Ce){if(Ee.size()){var Ge;if(we.selectedpoints){var He=f.makeSelectedTextStyleFns(we);Ge=He.selectedTextColorFn}var De=we.texttemplate,Fe=Ce._fullLayout;Ee.each(function(qe){var Qe=v.select(this),Je=De?E.extractOption(qe,we,"txt","texttemplate"):E.extractOption(qe,we,"tx","text");if(!Je&&Je!==0){Qe.remove();return}if(De){var tt=we._module.formatLabels,ht=tt?tt(qe,we,Fe):{},gt={};x(gt,we,qe.i);var yt=we._meta||{};Je=E.texttemplateString(Je,ht,Fe._d3locale,gt,qe,yt)}var Et=qe.tp||we.textposition,Xe=D(qe,we),Ue=Ge?Ge(qe):qe.tc||we.textfont.color;Qe.call(f.font,qe.tf||we.textfont.family,Xe,Ue).text(Je).call(c.convertToTspans,Ce).call(A,Et,Xe,qe.mrc)})}},f.selectedTextStyle=function(Ee,we){if(!(!Ee.size()||!we.selectedpoints)){var Ce=f.makeSelectedTextStyleFns(we);Ee.each(function(Ge){var He=v.select(this),De=Ce.selectedTextColorFn(Ge),Fe=Ge.tp||we.textposition,qe=D(Ge,we);p.fill(He,De);var Qe=d.traceIs(we,"bar-like");A(He,Fe,qe,Ge.mrc2||Ge.mrc,Qe)})}};var F=.5;f.smoothopen=function(Ee,we){if(Ee.length<3)return"M"+Ee.join("L");var Ce="M"+Ee[0],Ge=[],He;for(He=1;He=Qe||Ze>=tt&&Ze<=Qe)&&(Ie<=ht&&Ie>=Je||Ie>=ht&&Ie<=Je)&&(Ee=[Ze,Ie])}return Ee}f.applyBackoff=Q,f.makeTester=function(){var Ee=E.ensureSingleById(v.select("body"),"svg","js-plotly-tester",function(Ce){Ce.attr(o.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})}),we=E.ensureSingle(Ee,"path","js-reference-point",function(Ce){Ce.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})});f.tester=Ee,f.testref=we},f.savedBBoxes={};var ne=0,fe=1e4;f.bBox=function(Ee,we,Ce){Ce||(Ce=$(Ee));var Ge;if(Ce){if(Ge=f.savedBBoxes[Ce],Ge)return E.extendFlat({},Ge)}else if(Ee.childNodes.length===1){var He=Ee.childNodes[0];if(Ce=$(He),Ce){var De=+He.getAttribute("x")||0,Fe=+He.getAttribute("y")||0,qe=He.getAttribute("transform");if(!qe){var Qe=f.bBox(He,!1,Ce);return De&&(Qe.left+=De,Qe.right+=De),Fe&&(Qe.top+=Fe,Qe.bottom+=Fe),Qe}if(Ce+="~"+De+"~"+Fe+"~"+qe,Ge=f.savedBBoxes[Ce],Ge)return E.extendFlat({},Ge)}}var Je,tt;we?Je=Ee:(tt=f.tester.node(),Je=Ee.cloneNode(!0),tt.appendChild(Je)),v.select(Je).attr("transform",null).call(c.positionText,0,0);var ht=Je.getBoundingClientRect(),gt=f.testref.node().getBoundingClientRect();we||tt.removeChild(Je);var yt={height:ht.height,width:ht.width,left:ht.left-gt.left,top:ht.top-gt.top,right:ht.right-gt.left,bottom:ht.bottom-gt.top};return ne>=fe&&(f.savedBBoxes={},ne=0),Ce&&(f.savedBBoxes[Ce]=yt),ne++,E.extendFlat({},yt)};function $(Ee){var we=Ee.getAttribute("data-unformatted");if(we!==null)return we+Ee.getAttribute("data-math")+Ee.getAttribute("text-anchor")+Ee.getAttribute("style")}f.setClipUrl=function(Ee,we,Ce){Ee.attr("clip-path",Y(we,Ce))};function Y(Ee,we){if(!Ee)return null;var Ce=we._context,Ge=Ce._exportedPlot?"":Ce._baseUrl||"";return Ge?"url('"+Ge+"#"+Ee+"')":"url(#"+Ee+")"}f.getTranslate=function(Ee){var we=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,Ce=Ee.attr?"attr":"getAttribute",Ge=Ee[Ce]("transform")||"",He=Ge.replace(we,function(De,Fe,qe){return[Fe,qe].join(" ")}).split(" ");return{x:+He[0]||0,y:+He[1]||0}},f.setTranslate=function(Ee,we,Ce){var Ge=/(\btranslate\(.*?\);?)/,He=Ee.attr?"attr":"getAttribute",De=Ee.attr?"attr":"setAttribute",Fe=Ee[He]("transform")||"";return we=we||0,Ce=Ce||0,Fe=Fe.replace(Ge,"").trim(),Fe+=r(we,Ce),Fe=Fe.trim(),Ee[De]("transform",Fe),Fe},f.getScale=function(Ee){var we=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,Ce=Ee.attr?"attr":"getAttribute",Ge=Ee[Ce]("transform")||"",He=Ge.replace(we,function(De,Fe,qe){return[Fe,qe].join(" ")}).split(" ");return{x:+He[0]||1,y:+He[1]||1}},f.setScale=function(Ee,we,Ce){var Ge=/(\bscale\(.*?\);?)/,He=Ee.attr?"attr":"getAttribute",De=Ee.attr?"attr":"setAttribute",Fe=Ee[He]("transform")||"";return we=we||1,Ce=Ce||1,Fe=Fe.replace(Ge,"").trim(),Fe+="scale("+we+","+Ce+")",Fe=Fe.trim(),Ee[De]("transform",Fe),Fe};var j=/\s*sc.*/;f.setPointGroupScale=function(Ee,we,Ce){if(we=we||1,Ce=Ce||1,!!Ee){var Ge=we===1&&Ce===1?"":"scale("+we+","+Ce+")";Ee.each(function(){var He=(this.getAttribute("transform")||"").replace(j,"");He+=Ge,He=He.trim(),this.setAttribute("transform",He)})}};var X=/translate\([^)]*\)\s*$/;f.setTextPointsScale=function(Ee,we,Ce){Ee&&Ee.each(function(){var Ge,He=v.select(this),De=He.select("text");if(De.node()){var Fe=parseFloat(De.attr("x")||0),qe=parseFloat(De.attr("y")||0),Qe=(He.attr("transform")||"").match(X);we===1&&Ce===1?Ge=[]:Ge=[r(Fe,qe),"scale("+we+","+Ce+")",r(-Fe,-qe)],Qe&&Ge.push(Qe),He.attr("transform",Ge.join(""))}})};function re(Ee,we){var Ce;return Ee&&(Ce=Ee.mf),Ce===void 0&&(Ce=we.marker&&we.marker.standoff||0),!we._geo&&!we._xA?-Ce:Ce}f.getMarkerStandoff=re;var le=Math.atan2,q=Math.cos,te=Math.sin;function ue(Ee,we){var Ce=we[0],Ge=we[1];return[Ce*q(Ee)-Ge*te(Ee),Ce*te(Ee)+Ge*q(Ee)]}var ae,de,xe,Se,Ae,Be;function Oe(Ee,we){var Ce=Ee.ma;Ce===void 0&&(Ce=we.marker.angle||0);var Ge,He,De=we.marker.angleref;if(De==="previous"||De==="north"){if(we._geo){var Fe=we._geo.project(Ee.lonlat);Ge=Fe[0],He=Fe[1]}else{var qe=we._xA,Qe=we._yA;if(qe&&Qe)Ge=qe.c2p(Ee.x),He=Qe.c2p(Ee.y);else return 90}if(we._geo){var Je=Ee.lonlat[0],tt=Ee.lonlat[1],ht=we._geo.project([Je,tt+1e-5]),gt=we._geo.project([Je+1e-5,tt]),yt=le(gt[1]-He,gt[0]-Ge),Et=le(ht[1]-He,ht[0]-Ge),Xe;if(De==="north")Xe=Ce/180*Math.PI;else if(De==="previous"){var Ue=Je/180*Math.PI,ze=tt/180*Math.PI,rt=ae/180*Math.PI,it=de/180*Math.PI,Ze=rt-Ue,Ie=q(it)*te(Ze),Te=te(it)*q(ze)-q(it)*te(ze)*q(Ze);Xe=-le(Ie,Te)-Math.PI,ae=Je,de=tt}var he=ue(yt,[q(Xe),0]),me=ue(Et,[te(Xe),0]);Ce=le(he[1]+me[1],he[0]+me[0])/Math.PI*180,De==="previous"&&!(Be===we.uid&&Ee.i===Ae+1)&&(Ce=null)}if(De==="previous"&&!we._geo)if(Be===we.uid&&Ee.i===Ae+1&&C(Ge)&&C(He)){var Re=Ge-xe,Ne=He-Se,st=we.line&&we.line.shape||"",ft=st.slice(st.length-1);ft==="h"&&(Ne=0),ft==="v"&&(Re=0),Ce+=le(Ne,Re)/Math.PI*180+90}else Ce=null}return xe=Ge,Se=He,Ae=Ee.i,Be=we.uid,Ce}f.getMarkerAngle=Oe},90998:function(U,B,e){var v=e(95616),E=e(39898).round,a="M0,0Z",C=Math.sqrt(2),w=Math.sqrt(3),d=Math.PI,p=Math.cos,t=Math.sin;U.exports={circle:{n:0,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l="M"+f+",0A"+f+","+f+" 0 1,1 0,-"+f+"A"+f+","+f+" 0 0,1 "+f+",0Z";return x?i(h,x,l):l}},square:{n:1,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"H-"+f+"V-"+f+"H"+f+"Z")}},diamond:{n:2,f:function(g,h,x){if(r(h))return a;var f=E(g*1.3,2);return i(h,x,"M"+f+",0L0,"+f+"L-"+f+",0L0,-"+f+"Z")}},cross:{n:3,f:function(g,h,x){if(r(h))return a;var f=E(g*.4,2),l=E(g*1.2,2);return i(h,x,"M"+l+","+f+"H"+f+"V"+l+"H-"+f+"V"+f+"H-"+l+"V-"+f+"H-"+f+"V-"+l+"H"+f+"V-"+f+"H"+l+"Z")}},x:{n:4,f:function(g,h,x){if(r(h))return a;var f=E(g*.8/C,2),l="l"+f+","+f,y="l"+f+",-"+f,T="l-"+f+",-"+f,S="l-"+f+","+f;return i(h,x,"M0,"+f+l+y+T+y+T+S+T+S+l+S+l+"Z")}},"triangle-up":{n:5,f:function(g,h,x){if(r(h))return a;var f=E(g*2/w,2),l=E(g/2,2),y=E(g,2);return i(h,x,"M-"+f+","+l+"H"+f+"L0,-"+y+"Z")}},"triangle-down":{n:6,f:function(g,h,x){if(r(h))return a;var f=E(g*2/w,2),l=E(g/2,2),y=E(g,2);return i(h,x,"M-"+f+",-"+l+"H"+f+"L0,"+y+"Z")}},"triangle-left":{n:7,f:function(g,h,x){if(r(h))return a;var f=E(g*2/w,2),l=E(g/2,2),y=E(g,2);return i(h,x,"M"+l+",-"+f+"V"+f+"L-"+y+",0Z")}},"triangle-right":{n:8,f:function(g,h,x){if(r(h))return a;var f=E(g*2/w,2),l=E(g/2,2),y=E(g,2);return i(h,x,"M-"+l+",-"+f+"V"+f+"L"+y+",0Z")}},"triangle-ne":{n:9,f:function(g,h,x){if(r(h))return a;var f=E(g*.6,2),l=E(g*1.2,2);return i(h,x,"M-"+l+",-"+f+"H"+f+"V"+l+"Z")}},"triangle-se":{n:10,f:function(g,h,x){if(r(h))return a;var f=E(g*.6,2),l=E(g*1.2,2);return i(h,x,"M"+f+",-"+l+"V"+f+"H-"+l+"Z")}},"triangle-sw":{n:11,f:function(g,h,x){if(r(h))return a;var f=E(g*.6,2),l=E(g*1.2,2);return i(h,x,"M"+l+","+f+"H-"+f+"V-"+l+"Z")}},"triangle-nw":{n:12,f:function(g,h,x){if(r(h))return a;var f=E(g*.6,2),l=E(g*1.2,2);return i(h,x,"M-"+f+","+l+"V-"+f+"H"+l+"Z")}},pentagon:{n:13,f:function(g,h,x){if(r(h))return a;var f=E(g*.951,2),l=E(g*.588,2),y=E(-g,2),T=E(g*-.309,2),S=E(g*.809,2);return i(h,x,"M"+f+","+T+"L"+l+","+S+"H-"+l+"L-"+f+","+T+"L0,"+y+"Z")}},hexagon:{n:14,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g/2,2),y=E(g*w/2,2);return i(h,x,"M"+y+",-"+l+"V"+l+"L0,"+f+"L-"+y+","+l+"V-"+l+"L0,-"+f+"Z")}},hexagon2:{n:15,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g/2,2),y=E(g*w/2,2);return i(h,x,"M-"+l+","+y+"H"+l+"L"+f+",0L"+l+",-"+y+"H-"+l+"L-"+f+",0Z")}},octagon:{n:16,f:function(g,h,x){if(r(h))return a;var f=E(g*.924,2),l=E(g*.383,2);return i(h,x,"M-"+l+",-"+f+"H"+l+"L"+f+",-"+l+"V"+l+"L"+l+","+f+"H-"+l+"L-"+f+","+l+"V-"+l+"Z")}},star:{n:17,f:function(g,h,x){if(r(h))return a;var f=g*1.4,l=E(f*.225,2),y=E(f*.951,2),T=E(f*.363,2),S=E(f*.588,2),L=E(-f,2),m=E(f*-.309,2),M=E(f*.118,2),b=E(f*.809,2),s=E(f*.382,2);return i(h,x,"M"+l+","+m+"H"+y+"L"+T+","+M+"L"+S+","+b+"L0,"+s+"L-"+S+","+b+"L-"+T+","+M+"L-"+y+","+m+"H-"+l+"L0,"+L+"Z")}},hexagram:{n:18,f:function(g,h,x){if(r(h))return a;var f=E(g*.66,2),l=E(g*.38,2),y=E(g*.76,2);return i(h,x,"M-"+y+",0l-"+l+",-"+f+"h"+y+"l"+l+",-"+f+"l"+l+","+f+"h"+y+"l-"+l+","+f+"l"+l+","+f+"h-"+y+"l-"+l+","+f+"l-"+l+",-"+f+"h-"+y+"Z")}},"star-triangle-up":{n:19,f:function(g,h,x){if(r(h))return a;var f=E(g*w*.8,2),l=E(g*.8,2),y=E(g*1.6,2),T=E(g*4,2),S="A "+T+","+T+" 0 0 1 ";return i(h,x,"M-"+f+","+l+S+f+","+l+S+"0,-"+y+S+"-"+f+","+l+"Z")}},"star-triangle-down":{n:20,f:function(g,h,x){if(r(h))return a;var f=E(g*w*.8,2),l=E(g*.8,2),y=E(g*1.6,2),T=E(g*4,2),S="A "+T+","+T+" 0 0 1 ";return i(h,x,"M"+f+",-"+l+S+"-"+f+",-"+l+S+"0,"+y+S+f+",-"+l+"Z")}},"star-square":{n:21,f:function(g,h,x){if(r(h))return a;var f=E(g*1.1,2),l=E(g*2,2),y="A "+l+","+l+" 0 0 1 ";return i(h,x,"M-"+f+",-"+f+y+"-"+f+","+f+y+f+","+f+y+f+",-"+f+y+"-"+f+",-"+f+"Z")}},"star-diamond":{n:22,f:function(g,h,x){if(r(h))return a;var f=E(g*1.4,2),l=E(g*1.9,2),y="A "+l+","+l+" 0 0 1 ";return i(h,x,"M-"+f+",0"+y+"0,"+f+y+f+",0"+y+"0,-"+f+y+"-"+f+",0Z")}},"diamond-tall":{n:23,f:function(g,h,x){if(r(h))return a;var f=E(g*.7,2),l=E(g*1.4,2);return i(h,x,"M0,"+l+"L"+f+",0L0,-"+l+"L-"+f+",0Z")}},"diamond-wide":{n:24,f:function(g,h,x){if(r(h))return a;var f=E(g*1.4,2),l=E(g*.7,2);return i(h,x,"M0,"+l+"L"+f+",0L0,-"+l+"L-"+f+",0Z")}},hourglass:{n:25,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"H-"+f+"L"+f+",-"+f+"H-"+f+"Z")},noDot:!0},bowtie:{n:26,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"V-"+f+"L-"+f+","+f+"V-"+f+"Z")},noDot:!0},"circle-cross":{n:27,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M0,"+f+"V-"+f+"M"+f+",0H-"+f+"M"+f+",0A"+f+","+f+" 0 1,1 0,-"+f+"A"+f+","+f+" 0 0,1 "+f+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g/C,2);return i(h,x,"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l+"M"+f+",0A"+f+","+f+" 0 1,1 0,-"+f+"A"+f+","+f+" 0 0,1 "+f+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M0,"+f+"V-"+f+"M"+f+",0H-"+f+"M"+f+","+f+"H-"+f+"V-"+f+"H"+f+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f+"M"+f+","+f+"H-"+f+"V-"+f+"H"+f+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(g,h,x){if(r(h))return a;var f=E(g*1.3,2);return i(h,x,"M"+f+",0L0,"+f+"L-"+f+",0L0,-"+f+"ZM0,-"+f+"V"+f+"M-"+f+",0H"+f)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(g,h,x){if(r(h))return a;var f=E(g*1.3,2),l=E(g*.65,2);return i(h,x,"M"+f+",0L0,"+f+"L-"+f+",0L0,-"+f+"ZM-"+l+",-"+l+"L"+l+","+l+"M-"+l+","+l+"L"+l+",-"+l)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(g,h,x){if(r(h))return a;var f=E(g*1.4,2);return i(h,x,"M0,"+f+"V-"+f+"M"+f+",0H-"+f)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"L-"+f+",-"+f+"M"+f+",-"+f+"L-"+f+","+f)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(g,h,x){if(r(h))return a;var f=E(g*1.2,2),l=E(g*.85,2);return i(h,x,"M0,"+f+"V-"+f+"M"+f+",0H-"+f+"M"+l+","+l+"L-"+l+",-"+l+"M"+l+",-"+l+"L-"+l+","+l)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(g,h,x){if(r(h))return a;var f=E(g/2,2),l=E(g,2);return i(h,x,"M"+f+","+l+"V-"+l+"M"+(f-l)+",-"+l+"V"+l+"M"+l+","+f+"H-"+l+"M-"+l+","+(f-l)+"H"+l)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(g,h,x){if(r(h))return a;var f=E(g*1.2,2),l=E(g*1.6,2),y=E(g*.8,2);return i(h,x,"M-"+f+","+y+"L0,0M"+f+","+y+"L0,0M0,-"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(g,h,x){if(r(h))return a;var f=E(g*1.2,2),l=E(g*1.6,2),y=E(g*.8,2);return i(h,x,"M-"+f+",-"+y+"L0,0M"+f+",-"+y+"L0,0M0,"+l+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(g,h,x){if(r(h))return a;var f=E(g*1.2,2),l=E(g*1.6,2),y=E(g*.8,2);return i(h,x,"M"+y+","+f+"L0,0M"+y+",-"+f+"L0,0M-"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(g,h,x){if(r(h))return a;var f=E(g*1.2,2),l=E(g*1.6,2),y=E(g*.8,2);return i(h,x,"M-"+y+","+f+"L0,0M-"+y+",-"+f+"L0,0M"+l+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(g,h,x){if(r(h))return a;var f=E(g*1.4,2);return i(h,x,"M"+f+",0H-"+f)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(g,h,x){if(r(h))return a;var f=E(g*1.4,2);return i(h,x,"M0,"+f+"V-"+f)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+",-"+f+"L-"+f+","+f)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(g,h,x){if(r(h))return a;var f=E(g,2);return i(h,x,"M"+f+","+f+"L-"+f+",-"+f)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g*2,2);return i(h,x,"M0,0L-"+f+","+l+"H"+f+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g*2,2);return i(h,x,"M0,0L-"+f+",-"+l+"H"+f+"Z")},noDot:!0},"arrow-left":{n:47,f:function(g,h,x){if(r(h))return a;var f=E(g*2,2),l=E(g,2);return i(h,x,"M0,0L"+f+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-right":{n:48,f:function(g,h,x){if(r(h))return a;var f=E(g*2,2),l=E(g,2);return i(h,x,"M0,0L-"+f+",-"+l+"V"+l+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g*2,2);return i(h,x,"M-"+f+",0H"+f+"M0,0L-"+f+","+l+"H"+f+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(g,h,x){if(r(h))return a;var f=E(g,2),l=E(g*2,2);return i(h,x,"M-"+f+",0H"+f+"M0,0L-"+f+",-"+l+"H"+f+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(g,h,x){if(r(h))return a;var f=E(g*2,2),l=E(g,2);return i(h,x,"M0,-"+l+"V"+l+"M0,0L"+f+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(g,h,x){if(r(h))return a;var f=E(g*2,2),l=E(g,2);return i(h,x,"M0,-"+l+"V"+l+"M0,0L-"+f+",-"+l+"V"+l+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(g,h,x){if(r(h))return a;var f=d/2.5,l=2*g*p(f),y=2*g*t(f);return i(h,x,"M0,0L"+-l+","+y+"L"+l+","+y+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(g,h,x){if(r(h))return a;var f=d/4,l=2*g*p(f),y=2*g*t(f);return i(h,x,"M0,0L"+-l+","+y+"A "+2*g+","+2*g+" 0 0 1 "+l+","+y+"Z")},backoff:.4,noDot:!0}};function r(g){return g===null}var c,o,n,u;function i(g,h,x){if((!g||g%360===0)&&!h)return x;if(n===g&&u===h&&c===x)return o;n=g,u=h,c=x;function f(F,G){var O=p(F),H=t(F),z=G[0],k=G[1]+(h||0);return[z*O-k*H,z*H+k*O]}for(var l=g/180*d,y=0,T=0,S=v(x),L="",m=0;m0,g=p._context.staticPlot;t.each(function(h){var x=h[0].trace,f=x.error_x||{},l=x.error_y||{},y;x.ids&&(y=function(m){return m.id});var T=C.hasMarkers(x)&&x.marker.maxdisplayed>0;!l.visible&&!f.visible&&(h=[]);var S=v.select(this).selectAll("g.errorbar").data(h,y);if(S.exit().remove(),!!h.length){f.visible||S.selectAll("path.xerror").remove(),l.visible||S.selectAll("path.yerror").remove(),S.style("opacity",1);var L=S.enter().append("g").classed("errorbar",!0);i&&L.style("opacity",0).transition().duration(c.duration).style("opacity",1),a.setClipUrl(S,r.layerClipId,p),S.each(function(m){var M=v.select(this),b=w(m,n,u);if(!(T&&!m.vis)){var s,_=M.select("path.yerror");if(l.visible&&E(b.x)&&E(b.yh)&&E(b.ys)){var A=l.width;s="M"+(b.x-A)+","+b.yh+"h"+2*A+"m-"+A+",0V"+b.ys,b.noYS||(s+="m-"+A+",0h"+2*A),o=!_.size(),o?_=M.append("path").style("vector-effect",g?"none":"non-scaling-stroke").classed("yerror",!0):i&&(_=_.transition().duration(c.duration).ease(c.easing)),_.attr("d",s)}else _.remove();var D=M.select("path.xerror");if(f.visible&&E(b.y)&&E(b.xh)&&E(b.xs)){var F=(f.copy_ystyle?l:f).width;s="M"+b.xh+","+(b.y-F)+"v"+2*F+"m0,-"+F+"H"+b.xs,b.noXS||(s+="m0,-"+F+"v"+2*F),o=!D.size(),o?D=M.append("path").style("vector-effect",g?"none":"non-scaling-stroke").classed("xerror",!0):i&&(D=D.transition().duration(c.duration).ease(c.easing)),D.attr("d",s)}else D.remove()}})}})};function w(d,p,t){var r={x:p.c2p(d.x),y:t.c2p(d.y)};return d.yh!==void 0&&(r.yh=t.c2p(d.yh),r.ys=t.c2p(d.ys),E(r.ys)||(r.noYS=!0,r.ys=t.c2p(d.ys,!0))),d.xh!==void 0&&(r.xh=p.c2p(d.xh),r.xs=p.c2p(d.xs),E(r.xs)||(r.noXS=!0,r.xs=p.c2p(d.xs,!0))),r}},62662:function(U,B,e){var v=e(39898),E=e(7901);U.exports=function(C){C.each(function(w){var d=w[0].trace,p=d.error_y||{},t=d.error_x||{},r=v.select(this);r.selectAll("path.yerror").style("stroke-width",p.thickness+"px").call(E.stroke,p.color),t.copy_ystyle&&(t=p),r.selectAll("path.xerror").style("stroke-width",t.thickness+"px").call(E.stroke,t.color)})}},77914:function(U,B,e){var v=e(41940),E=e(528).hoverlabel,a=e(1426).extendFlat;U.exports={hoverlabel:{bgcolor:a({},E.bgcolor,{arrayOk:!0}),bordercolor:a({},E.bordercolor,{arrayOk:!0}),font:v({arrayOk:!0,editType:"none"}),align:a({},E.align,{arrayOk:!0}),namelength:a({},E.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(U,B,e){var v=e(71828),E=e(73972);U.exports=function(w){var d=w.calcdata,p=w._fullLayout;function t(u){return function(i){return v.coerceHoverinfo({hoverinfo:i},{_module:u._module},p)}}for(var r=0;r=0&&r.indexEe[0]._length||ft<0||ft>we[0]._length)return n.unhoverRaw(re,le)}if(le.pointerX=st+Ee[0]._offset,le.pointerY=ft+we[0]._offset,"xval"in le?ht=g.flat(ae,le.xval):ht=g.p2c(Ee,st),"yval"in le?gt=g.flat(ae,le.yval):gt=g.p2c(we,ft),!E(ht[0])||!E(gt[0]))return C.warn("Fx.hover failed",le,re),n.unhoverRaw(re,le)}var Ht=1/0;function Gt(br,Br){for(Et=0;Ethe&&(Je.splice(0,he),Ht=Je[0].distance),Ae&&Qe!==0&&Je.length===0){Te.distance=Qe,Te.index=!1;var Mn=Ue._module.hoverPoints(Te,Ze,Ie,"closest",{hoverLayer:de._hoverlayer});if(Mn&&(Mn=Mn.filter(function(aa){return aa.spikeDistance<=Qe})),Mn&&Mn.length){var Rn,Jn=Mn.filter(function(aa){return aa.xa.showspikes&&aa.xa.spikesnap!=="hovered data"});if(Jn.length){var na=Jn[0];E(na.x0)&&E(na.y0)&&(Rn=qt(na),(!me.vLinePoint||me.vLinePoint.spikeDistance>Rn.spikeDistance)&&(me.vLinePoint=Rn))}var ha=Mn.filter(function(aa){return aa.ya.showspikes&&aa.ya.spikesnap!=="hovered data"});if(ha.length){var ia=ha[0];E(ia.x0)&&E(ia.y0)&&(Rn=qt(ia),(!me.hLinePoint||me.hLinePoint.spikeDistance>Rn.spikeDistance)&&(me.hLinePoint=Rn))}}}}}Gt();function Rt(br,Br,Nr){for(var en=null,gn=1/0,hn,Mn=0;Mn0&&Math.abs(br.distance)St-1;je--)Cr(Je[je]);Je=Jt,Xt()}var We=re._hoverdata,It=[],kt=Y(re),Yt=j(re);for(yt=0;yt1||Je.length>1)||Fe==="closest"&&Re&&Je.length>1,Kr=o.combine(de.plot_bgcolor||o.background,de.paper_bgcolor),kn=F(Je,{gd:re,hovermode:Fe,rotateLabels:mn,bgColor:Kr,container:de._hoverlayer,outerContainer:de._paper.node(),commonLabelOpts:de.hoverlabel,hoverdistance:de.hoverdistance}),Dn=kn.hoverLabels;if(g.isUnifiedHover(Fe)||(O(Dn,mn,de,kn.commonLabelBoundingBox),k(Dn,mn,de._invScaleX,de._invScaleY)),ue&&ue.tagName){var xr=i.getComponentMethod("annotations","hasClickToShow")(re,It);r(v.select(ue),xr?"pointer":"")}!ue||te||!ee(re,le,We)||(We&&re.emit("plotly_unhover",{event:le,points:We}),re.emit("plotly_hover",{event:le,points:re._hoverdata,xaxes:Ee,yaxes:we,xvals:ht,yvals:gt}))}function A(re){return[re.trace.index,re.index,re.x0,re.y0,re.name,re.attr,re.xa?re.xa._id:"",re.ya?re.ya._id:""].join(",")}var D=/([\s\S]*)<\/extra>/;function F(re,le){var q=le.gd,te=q._fullLayout,ue=le.hovermode,ae=le.rotateLabels,de=le.bgColor,xe=le.container,Se=le.outerContainer,Ae=le.commonLabelOpts||{};if(re.length===0)return[[]];var Be=le.fontFamily||h.HOVERFONT,Oe=le.fontSize||h.HOVERFONTSIZE,Ee=re[0],we=Ee.xa,Ce=Ee.ya,Ge=ue.charAt(0),He=Ge+"Label",De=Ee[He];if(De===void 0&&we.type==="multicategory")for(var Fe=0;Fete.width-Yt?(We=te.width-Yt,Ot.attr("d","M"+(Yt-m)+",0L"+Yt+","+kt+m+"v"+kt+(M*2+je.height)+"H-"+Yt+"V"+kt+m+"H"+(Yt-m*2)+"Z")):Ot.attr("d","M0,0L"+m+","+kt+m+"H"+Yt+"v"+kt+(M*2+je.height)+"H-"+Yt+"V"+kt+m+"H-"+m+"Z"),ze.minX=We-Yt,ze.maxX=We+Yt,we.side==="top"?(ze.minY=It-(M*2+je.height),ze.maxY=It-M):(ze.minY=It+M,ze.maxY=It+(M*2+je.height))}else{var ar,lr,rr;Ce.side==="right"?(ar="start",lr=1,rr="",We=we._offset+we._length):(ar="end",lr=-1,rr="-",We=we._offset),It=Ce._offset+(Ee.y0+Ee.y1)/2,Vt.attr("text-anchor",ar),Ot.attr("d","M0,0L"+rr+m+","+m+"V"+(M+je.height/2)+"h"+rr+(M*2+je.width)+"V-"+(M+je.height/2)+"H"+rr+m+"V-"+m+"Z"),ze.minY=It-(M+je.height/2),ze.maxY=It+(M+je.height/2),Ce.side==="right"?(ze.minX=We+m,ze.maxX=We+m+(M*2+je.width)):(ze.minX=We-m-(M*2+je.width),ze.maxX=We-m);var Nt=je.height/2,cr=Qe-je.top-Nt,vr="clip"+te._uid+"commonlabel"+Ce._id,pr;if(We=0?wt=wr:hr+Gt=0?wt=hr:ct+Gt=0?Mt=Xt:jt+Rt=0?Mt=jt:ut+Rt=0,(St.idealAlign==="top"||!mn)&&Kr?(cr-=pr/2,St.anchor="end"):mn?(cr+=pr/2,St.anchor="start"):St.anchor="middle",St.crossPos=cr;else{if(St.pos=cr,mn=Nt+vr/2+Or<=Je,Kr=Nt-vr/2-Or>=0,(St.idealAlign==="left"||!mn)&&Kr)Nt-=vr/2,St.anchor="end";else if(mn)Nt+=vr/2,St.anchor="start";else{St.anchor="middle";var kn=Or/2,Dn=Nt+kn-Je,xr=Nt-kn;Dn>0&&(Nt-=Dn),xr<0&&(Nt+=-xr)}St.crossPos=Nt}kt.attr("text-anchor",St.anchor),ar&&Yt.attr("text-anchor",St.anchor),Ot.attr("transform",w(Nt,cr)+(ae?d(l):""))}),{hoverLabels:Lt,commonLabelBoundingBox:ze}}function G(re,le,q,te,ue,ae){var de="",xe="";re.nameOverride!==void 0&&(re.name=re.nameOverride),re.name&&(re.trace._meta&&(re.name=C.templateString(re.name,re.trace._meta)),de=ne(re.name,re.nameLength));var Se=q.charAt(0),Ae=Se==="x"?"y":"x";re.zLabel!==void 0?(re.xLabel!==void 0&&(xe+="x: "+re.xLabel+"
"),re.yLabel!==void 0&&(xe+="y: "+re.yLabel+"
"),re.trace.type!=="choropleth"&&re.trace.type!=="choroplethmapbox"&&(xe+=(xe?"z: ":"")+re.zLabel)):le&&re[Se+"Label"]===ue?xe=re[Ae+"Label"]||"":re.xLabel===void 0?re.yLabel!==void 0&&re.trace.type!=="scattercarpet"&&(xe=re.yLabel):re.yLabel===void 0?xe=re.xLabel:xe="("+re.xLabel+", "+re.yLabel+")",(re.text||re.text===0)&&!Array.isArray(re.text)&&(xe+=(xe?"
":"")+re.text),re.extraText!==void 0&&(xe+=(xe?"
":"")+re.extraText),ae&&xe===""&&!re.hovertemplate&&(de===""&&ae.remove(),xe=de);var Be=re.hovertemplate||!1;if(Be){var Oe=re.hovertemplateLabels||re;re[Se+"Label"]!==ue&&(Oe[Se+"other"]=Oe[Se+"Val"],Oe[Se+"otherLabel"]=Oe[Se+"Label"]),xe=C.hovertemplateString(Be,Oe,te._d3locale,re.eventData[0]||{},re.trace._meta),xe=xe.replace(D,function(Ee,we){return de=ne(we,re.nameLength),""})}return[xe,de]}function O(re,le,q,te){var ue=le?"xa":"ya",ae=le?"ya":"xa",de=0,xe=1,Se=re.size(),Ae=new Array(Se),Be=0,Oe=te.minX,Ee=te.maxX,we=te.minY,Ce=te.maxY,Ge=function(Ze){return Ze*q._invScaleX},He=function(Ze){return Ze*q._invScaleY};re.each(function(Ze){var Ie=Ze[ue],Te=Ze[ae],he=Ie._id.charAt(0)==="x",me=Ie.range;Be===0&&me&&me[0]>me[1]!==he&&(xe=-1);var Re=0,Ne=he?q.width:q.height;if(q.hovermode==="x"||q.hovermode==="y"){var st=H(Ze,le),ft=Ze.anchor,At=ft==="end"?-1:1,Ft,Ht;if(ft==="middle")Ft=Ze.crossPos+(he?He(st.y-Ze.by/2):Ge(Ze.bx/2+Ze.tx2width/2)),Ht=Ft+(he?He(Ze.by):Ge(Ze.bx));else if(he)Ft=Ze.crossPos+He(m+st.y)-He(Ze.by/2-m),Ht=Ft+He(Ze.by);else{var Gt=Ge(At*m+st.x),Rt=Gt+Ge(At*Ze.bx);Ft=Ze.crossPos+Math.min(Gt,Rt),Ht=Ze.crossPos+Math.max(Gt,Rt)}he?we!==void 0&&Ce!==void 0&&Math.min(Ht,Ce)-Math.max(Ft,we)>1&&(Te.side==="left"?(Re=Te._mainLinePosition,Ne=q.width):Ne=Te._mainLinePosition):Oe!==void 0&&Ee!==void 0&&Math.min(Ht,Ee)-Math.max(Ft,Oe)>1&&(Te.side==="top"?(Re=Te._mainLinePosition,Ne=q.height):Ne=Te._mainLinePosition)}Ae[Be++]=[{datum:Ze,traceIndex:Ze.trace.index,dp:0,pos:Ze.pos,posref:Ze.posref,size:Ze.by*(he?T:1)/2,pmin:Re,pmax:Ne}]}),Ae.sort(function(Ze,Ie){return Ze[0].posref-Ie[0].posref||xe*(Ie[0].traceIndex-Ze[0].traceIndex)});var De,Fe,qe,Qe,Je,tt,ht;function gt(Ze){var Ie=Ze[0],Te=Ze[Ze.length-1];if(Fe=Ie.pmin-Ie.pos-Ie.dp+Ie.size,qe=Te.pos+Te.dp+Te.size-Ie.pmax,Fe>.01){for(Je=Ze.length-1;Je>=0;Je--)Ze[Je].dp+=Fe;De=!1}if(!(qe<.01)){if(Fe<-.01){for(Je=Ze.length-1;Je>=0;Je--)Ze[Je].dp-=qe;De=!1}if(De){var he=0;for(Qe=0;QeIe.pmax&&he++;for(Qe=Ze.length-1;Qe>=0&&!(he<=0);Qe--)tt=Ze[Qe],tt.pos>Ie.pmax-1&&(tt.del=!0,he--);for(Qe=0;Qe=0;Je--)Ze[Je].dp-=qe;for(Qe=Ze.length-1;Qe>=0&&!(he<=0);Qe--)tt=Ze[Qe],tt.pos+tt.dp+tt.size>Ie.pmax&&(tt.del=!0,he--)}}}for(;!De&&de<=Se;){for(de++,De=!0,Qe=0;Qe.01&&Xe.pmin===Ue.pmin&&Xe.pmax===Ue.pmax){for(Je=Et.length-1;Je>=0;Je--)Et[Je].dp+=Fe;for(yt.push.apply(yt,Et),Ae.splice(Qe+1,1),ht=0,Je=yt.length-1;Je>=0;Je--)ht+=yt[Je].dp;for(qe=ht/yt.length,Je=yt.length-1;Je>=0;Je--)yt[Je].dp-=qe;De=!1}else Qe++}Ae.forEach(gt)}for(Qe=Ae.length-1;Qe>=0;Qe--){var ze=Ae[Qe];for(Je=ze.length-1;Je>=0;Je--){var rt=ze[Je],it=rt.datum;it.offset=rt.dp,it.del=rt.del}}}function H(re,le){var q=0,te=re.offset;return le&&(te*=-L,q=re.offset*S),{x:q,y:te}}function z(re){var le={start:1,end:-1,middle:0}[re.anchor],q=le*(m+M),te=q+le*(re.txwidth+M),ue=re.anchor==="middle";return ue&&(q-=re.tx2width/2,te+=re.txwidth/2+M),{alignShift:le,textShiftX:q,text2ShiftX:te}}function k(re,le,q,te){var ue=function(de){return de*q},ae=function(de){return de*te};re.each(function(de){var xe=v.select(this);if(de.del)return xe.remove();var Se=xe.select("text.nums"),Ae=de.anchor,Be=Ae==="end"?-1:1,Oe=z(de),Ee=H(de,le),we=Ee.x,Ce=Ee.y,Ge=Ae==="middle";xe.select("path").attr("d",Ge?"M-"+ue(de.bx/2+de.tx2width/2)+","+ae(Ce-de.by/2)+"h"+ue(de.bx)+"v"+ae(de.by)+"h-"+ue(de.bx)+"Z":"M0,0L"+ue(Be*m+we)+","+ae(m+Ce)+"v"+ae(de.by/2-m)+"h"+ue(Be*de.bx)+"v-"+ae(de.by)+"H"+ue(Be*m+we)+"V"+ae(Ce-m)+"Z");var He=we+Oe.textShiftX,De=Ce+de.ty0-de.by/2+M,Fe=de.textAlign||"auto";Fe!=="auto"&&(Fe==="left"&&Ae!=="start"?(Se.attr("text-anchor","start"),He=Ge?-de.bx/2-de.tx2width/2+M:-de.bx-M):Fe==="right"&&Ae!=="end"&&(Se.attr("text-anchor","end"),He=Ge?de.bx/2-de.tx2width/2-M:de.bx+M)),Se.call(t.positionText,ue(He),ae(De)),de.tx2width&&(xe.select("text.name").call(t.positionText,ue(Oe.text2ShiftX+Oe.alignShift*M+we),ae(Ce+de.ty0-de.by/2+M)),xe.select("rect").call(c.setRect,ue(Oe.text2ShiftX+(Oe.alignShift-1)*de.tx2width/2+we),ae(Ce-de.by/2-1),ue(de.tx2width),ae(de.by+2)))})}function V(re,le){var q=re.index,te=re.trace||{},ue=re.cd[0],ae=re.cd[q]||{};function de(Ee){return Ee||E(Ee)&&Ee===0}var xe=Array.isArray(q)?function(Ee,we){var Ce=C.castOption(ue,q,Ee);return de(Ce)?Ce:C.extractOption({},te,"",we)}:function(Ee,we){return C.extractOption(ae,te,Ee,we)};function Se(Ee,we,Ce){var Ge=xe(we,Ce);de(Ge)&&(re[Ee]=Ge)}if(Se("hoverinfo","hi","hoverinfo"),Se("bgcolor","hbg","hoverlabel.bgcolor"),Se("borderColor","hbc","hoverlabel.bordercolor"),Se("fontFamily","htf","hoverlabel.font.family"),Se("fontSize","hts","hoverlabel.font.size"),Se("fontColor","htc","hoverlabel.font.color"),Se("nameLength","hnl","hoverlabel.namelength"),Se("textAlign","hta","hoverlabel.align"),re.posref=le==="y"||le==="closest"&&te.orientation==="h"?re.xa._offset+(re.x0+re.x1)/2:re.ya._offset+(re.y0+re.y1)/2,re.x0=C.constrain(re.x0,0,re.xa._length),re.x1=C.constrain(re.x1,0,re.xa._length),re.y0=C.constrain(re.y0,0,re.ya._length),re.y1=C.constrain(re.y1,0,re.ya._length),re.xLabelVal!==void 0&&(re.xLabel="xLabel"in re?re.xLabel:u.hoverLabelText(re.xa,re.xLabelVal,te.xhoverformat),re.xVal=re.xa.c2d(re.xLabelVal)),re.yLabelVal!==void 0&&(re.yLabel="yLabel"in re?re.yLabel:u.hoverLabelText(re.ya,re.yLabelVal,te.yhoverformat),re.yVal=re.ya.c2d(re.yLabelVal)),re.zLabelVal!==void 0&&re.zLabel===void 0&&(re.zLabel=String(re.zLabelVal)),!isNaN(re.xerr)&&!(re.xa.type==="log"&&re.xerr<=0)){var Ae=u.tickText(re.xa,re.xa.c2l(re.xerr),"hover").text;re.xerrneg!==void 0?re.xLabel+=" +"+Ae+" / -"+u.tickText(re.xa,re.xa.c2l(re.xerrneg),"hover").text:re.xLabel+=" ± "+Ae,le==="x"&&(re.distance+=1)}if(!isNaN(re.yerr)&&!(re.ya.type==="log"&&re.yerr<=0)){var Be=u.tickText(re.ya,re.ya.c2l(re.yerr),"hover").text;re.yerrneg!==void 0?re.yLabel+=" +"+Be+" / -"+u.tickText(re.ya,re.ya.c2l(re.yerrneg),"hover").text:re.yLabel+=" ± "+Be,le==="y"&&(re.distance+=1)}var Oe=re.hoverinfo||re.trace.hoverinfo;return Oe&&Oe!=="all"&&(Oe=Array.isArray(Oe)?Oe:Oe.split("+"),Oe.indexOf("x")===-1&&(re.xLabel=void 0),Oe.indexOf("y")===-1&&(re.yLabel=void 0),Oe.indexOf("z")===-1&&(re.zLabel=void 0),Oe.indexOf("text")===-1&&(re.text=void 0),Oe.indexOf("name")===-1&&(re.name=void 0)),re}function Z(re,le,q){var te=q.container,ue=q.fullLayout,ae=ue._size,de=q.event,xe=!!le.hLinePoint,Se=!!le.vLinePoint,Ae,Be;if(te.selectAll(".spikeline").remove(),!!(Se||xe)){var Oe=o.combine(ue.plot_bgcolor,ue.paper_bgcolor);if(xe){var Ee=le.hLinePoint,we,Ce;Ae=Ee&&Ee.xa,Be=Ee&&Ee.ya;var Ge=Be.spikesnap;Ge==="cursor"?(we=de.pointerX,Ce=de.pointerY):(we=Ae._offset+Ee.x,Ce=Be._offset+Ee.y);var He=a.readability(Ee.color,Oe)<1.5?o.contrast(Oe):Ee.color,De=Be.spikemode,Fe=Be.spikethickness,qe=Be.spikecolor||He,Qe=u.getPxPosition(re,Be),Je,tt;if(De.indexOf("toaxis")!==-1||De.indexOf("across")!==-1){if(De.indexOf("toaxis")!==-1&&(Je=Qe,tt=we),De.indexOf("across")!==-1){var ht=Be._counterDomainMin,gt=Be._counterDomainMax;Be.anchor==="free"&&(ht=Math.min(ht,Be.position),gt=Math.max(gt,Be.position)),Je=ae.l+ht*ae.w,tt=ae.l+gt*ae.w}te.insert("line",":first-child").attr({x1:Je,x2:tt,y1:Ce,y2:Ce,"stroke-width":Fe,stroke:qe,"stroke-dasharray":c.dashStyle(Be.spikedash,Fe)}).classed("spikeline",!0).classed("crisp",!0),te.insert("line",":first-child").attr({x1:Je,x2:tt,y1:Ce,y2:Ce,"stroke-width":Fe+2,stroke:Oe}).classed("spikeline",!0).classed("crisp",!0)}De.indexOf("marker")!==-1&&te.insert("circle",":first-child").attr({cx:Qe+(Be.side!=="right"?Fe:-Fe),cy:Ce,r:Fe,fill:qe}).classed("spikeline",!0)}if(Se){var yt=le.vLinePoint,Et,Xe;Ae=yt&&yt.xa,Be=yt&&yt.ya;var Ue=Ae.spikesnap;Ue==="cursor"?(Et=de.pointerX,Xe=de.pointerY):(Et=Ae._offset+yt.x,Xe=Be._offset+yt.y);var ze=a.readability(yt.color,Oe)<1.5?o.contrast(Oe):yt.color,rt=Ae.spikemode,it=Ae.spikethickness,Ze=Ae.spikecolor||ze,Ie=u.getPxPosition(re,Ae),Te,he;if(rt.indexOf("toaxis")!==-1||rt.indexOf("across")!==-1){if(rt.indexOf("toaxis")!==-1&&(Te=Ie,he=Xe),rt.indexOf("across")!==-1){var me=Ae._counterDomainMin,Re=Ae._counterDomainMax;Ae.anchor==="free"&&(me=Math.min(me,Ae.position),Re=Math.max(Re,Ae.position)),Te=ae.t+(1-Re)*ae.h,he=ae.t+(1-me)*ae.h}te.insert("line",":first-child").attr({x1:Et,x2:Et,y1:Te,y2:he,"stroke-width":it,stroke:Ze,"stroke-dasharray":c.dashStyle(Ae.spikedash,it)}).classed("spikeline",!0).classed("crisp",!0),te.insert("line",":first-child").attr({x1:Et,x2:Et,y1:Te,y2:he,"stroke-width":it+2,stroke:Oe}).classed("spikeline",!0).classed("crisp",!0)}rt.indexOf("marker")!==-1&&te.insert("circle",":first-child").attr({cx:Et,cy:Ie-(Ae.side!=="top"?it:-it),r:it,fill:Ze}).classed("spikeline",!0)}}}function ee(re,le,q){if(!q||q.length!==re._hoverdata.length)return!0;for(var te=q.length-1;te>=0;te--){var ue=q[te],ae=re._hoverdata[te];if(ue.curveNumber!==ae.curveNumber||String(ue.pointNumber)!==String(ae.pointNumber)||String(ue.pointNumbers)!==String(ae.pointNumbers))return!0}return!1}function Q(re,le){return!le||le.vLinePoint!==re._spikepoints.vLinePoint||le.hLinePoint!==re._spikepoints.hLinePoint}function ne(re,le){return t.plainText(re||"",{len:le,allowedTags:["br","sub","sup","b","i","em"]})}function fe(re,le){for(var q=le.charAt(0),te=[],ue=[],ae=[],de=0;de1)){delete u.grid;return}if(!x&&!f&&!l){var s=m("pattern")==="independent";s&&(x=!0)}L._hasSubplotGrid=x;var _=m("roworder"),A=_==="top to bottom",D=x?.2:.1,F=x?.3:.1,G,O;y&&u._splomGridDflt&&(G=u._splomGridDflt.xside,O=u._splomGridDflt.yside),L._domains={x:r("x",m,D,G,b),y:r("y",m,F,O,M,A)}}function r(n,u,i,g,h,x){var f=u(n+"gap",i),l=u("domain."+n);u(n+"side",g);for(var y=new Array(h),T=l[0],S=(l[1]-T)/(h-f),L=S*(1-f),m=0;m1);if(b===!1&&(o.legend=void 0),!(b===!1&&!u.uirevision)&&(g("uirevision",o.uirevision),b!==!1)){g("borderwidth");var s=g("orientation"),_=g("yref"),A=g("xref"),D=s==="h",F=_==="paper",G=A==="paper",O,H,z,k="left";D?(O=0,v.getComponentMethod("rangeslider","isVisible")(c.xaxis)?F?(H=1.1,z="bottom"):(H=1,z="top"):F?(H=-.1,z="top"):(H=0,z="bottom")):(H=1,z="auto",G?O=1.02:(O=1,k="right")),E.coerce(u,i,{x:{valType:"number",editType:"legend",min:G?-2:0,max:G?3:1,dflt:O}},"x"),E.coerce(u,i,{y:{valType:"number",editType:"legend",min:F?-2:0,max:F?3:1,dflt:H}},"y"),g("traceorder",m),p.isGrouped(o.legend)&&g("tracegroupgap"),g("entrywidth"),g("entrywidthmode"),g("itemsizing"),g("itemwidth"),g("itemclick"),g("itemdoubleclick"),g("groupclick"),g("xanchor",k),g("yanchor",z),g("valign"),E.noneOrAll(u,i,["x","y"]);var V=g("title.text");if(V){g("title.side",D?"left":"top");var Z=E.extendFlat({},h,{size:E.bigFont(h.size)});E.coerceFont(g,"title.font",Z)}}}}U.exports=function(c,o,n){var u,i=["legend"];for(u=0;u1)}var Y=Z.hiddenlabels||[];if(!fe&&(!Z.showlegend||!$.length))return ne.selectAll("."+ee).remove(),Z._topdefs.select("#"+Q).remove(),a.autoMargin(z,ee);var j=E.ensureSingle(ne,"g",ee,function(xe){fe||xe.attr("pointer-events","all")}),X=E.ensureSingleById(Z._topdefs,"clipPath",Q,function(xe){xe.append("rect")}),re=E.ensureSingle(j,"rect","bg",function(xe){xe.attr("shape-rendering","crispEdges")});re.call(t.stroke,V.bordercolor).call(t.fill,V.bgcolor).style("stroke-width",V.borderwidth+"px");var le=E.ensureSingle(j,"g","scrollbox"),q=V.title;if(V._titleWidth=0,V._titleHeight=0,q.text){var te=E.ensureSingle(le,"text",ee+"titletext");te.attr("text-anchor","start").call(p.font,q.font).text(q.text),s(te,le,z,V,l)}else le.selectAll("."+ee+"titletext").remove();var ue=E.ensureSingle(j,"rect","scrollbar",function(xe){xe.attr(o.scrollBarEnterAttrs).call(t.fill,o.scrollBarColor)}),ae=le.selectAll("g.groups").data($);ae.enter().append("g").attr("class","groups"),ae.exit().remove();var de=ae.selectAll("g.traces").data(E.identity);de.enter().append("g").attr("class","traces"),de.exit().remove(),de.style("opacity",function(xe){var Se=xe[0].trace;return C.traceIs(Se,"pie-like")?Y.indexOf(xe[0].label)!==-1?.5:1:Se.visible==="legendonly"?.5:1}).each(function(){v.select(this).call(m,z,V)}).call(x,z,V).each(function(){fe||v.select(this).call(b,z,ee)}),E.syncOrAsync([a.previousPromises,function(){return D(z,ae,de,V)},function(){var xe=Z._size,Se=V.borderwidth,Ae=V.xref==="paper",Be=V.yref==="paper";if(!fe){var Oe,Ee;Ae?Oe=xe.l+xe.w*V.x-i[G(V)]*V._width:Oe=Z.width*V.x-i[G(V)]*V._width,Be?Ee=xe.t+xe.h*(1-V.y)-i[O(V)]*V._effHeight:Ee=Z.height*(1-V.y)-i[O(V)]*V._effHeight;var we=F(z,ee,Oe,Ee);if(we)return;if(Z.margin.autoexpand){var Ce=Oe,Ge=Ee;Oe=Ae?E.constrain(Oe,0,Z.width-V._width):Ce,Ee=Be?E.constrain(Ee,0,Z.height-V._effHeight):Ge,Oe!==Ce&&E.log("Constrain "+ee+".x to make legend fit inside graph"),Ee!==Ge&&E.log("Constrain "+ee+".y to make legend fit inside graph")}p.setTranslate(j,Oe,Ee)}if(ue.on(".drag",null),j.on("wheel",null),fe||V._height<=V._maxHeight||z._context.staticPlot){var He=V._effHeight;fe&&(He=V._height),re.attr({width:V._width-Se,height:He-Se,x:Se/2,y:Se/2}),p.setTranslate(le,0,0),X.select("rect").attr({width:V._width-2*Se,height:He-2*Se,x:Se,y:Se}),p.setClipUrl(le,Q,z),p.setRect(ue,0,0,0,0),delete V._scrollY}else{var De=Math.max(o.scrollBarMinHeight,V._effHeight*V._effHeight/V._height),Fe=V._effHeight-De-2*o.scrollBarMargin,qe=V._height-V._effHeight,Qe=Fe/qe,Je=Math.min(V._scrollY||0,qe);re.attr({width:V._width-2*Se+o.scrollBarWidth+o.scrollBarMargin,height:V._effHeight-Se,x:Se/2,y:Se/2}),X.select("rect").attr({width:V._width-2*Se+o.scrollBarWidth+o.scrollBarMargin,height:V._effHeight-2*Se,x:Se,y:Se+Je}),p.setClipUrl(le,Q,z),ze(Je,De,Qe),j.on("wheel",function(){Je=E.constrain(V._scrollY+v.event.deltaY/Fe*qe,0,qe),ze(Je,De,Qe),Je!==0&&Je!==qe&&v.event.preventDefault()});var tt,ht,gt,yt=function(Te,he,me){var Re=(me-he)/Qe+Te;return E.constrain(Re,0,qe)},Et=function(Te,he,me){var Re=(he-me)/Qe+Te;return E.constrain(Re,0,qe)},Xe=v.behavior.drag().on("dragstart",function(){var Te=v.event.sourceEvent;Te.type==="touchstart"?tt=Te.changedTouches[0].clientY:tt=Te.clientY,gt=Je}).on("drag",function(){var Te=v.event.sourceEvent;Te.buttons===2||Te.ctrlKey||(Te.type==="touchmove"?ht=Te.changedTouches[0].clientY:ht=Te.clientY,Je=yt(gt,tt,ht),ze(Je,De,Qe))});ue.call(Xe);var Ue=v.behavior.drag().on("dragstart",function(){var Te=v.event.sourceEvent;Te.type==="touchstart"&&(tt=Te.changedTouches[0].clientY,gt=Je)}).on("drag",function(){var Te=v.event.sourceEvent;Te.type==="touchmove"&&(ht=Te.changedTouches[0].clientY,Je=Et(gt,tt,ht),ze(Je,De,Qe))});le.call(Ue)}function ze(Te,he,me){V._scrollY=z._fullLayout[ee]._scrollY=Te,p.setTranslate(le,0,-Te),p.setRect(ue,V._width,o.scrollBarMargin+Te*me,o.scrollBarWidth,he),X.select("rect").attr("y",Se+Te)}if(z._context.edits.legendPosition){var rt,it,Ze,Ie;j.classed("cursor-move",!0),d.init({element:j.node(),gd:z,prepFn:function(){var Te=p.getTranslate(j);Ze=Te.x,Ie=Te.y},moveFn:function(Te,he){var me=Ze+Te,Re=Ie+he;p.setTranslate(j,me,Re),rt=d.align(me,V._width,xe.l,xe.l+xe.w,V.xanchor),it=d.align(Re+V._height,-V._height,xe.t+xe.h,xe.t,V.yanchor)},doneFn:function(){if(rt!==void 0&&it!==void 0){var Te={};Te[ee+".x"]=rt,Te[ee+".y"]=it,C.call("_guiRelayout",z,Te)}},clickFn:function(Te,he){var me=ae.selectAll("g.traces").filter(function(){var Re=this.getBoundingClientRect();return he.clientX>=Re.left&&he.clientX<=Re.right&&he.clientY>=Re.top&&he.clientY<=Re.bottom});me.size()>0&&L(z,j,me,Te,he)}})}}],z)}}function S(z,k,V){var Z=z[0],ee=Z.width,Q=k.entrywidthmode,ne=Z.trace.legendwidth||k.entrywidth;return Q==="fraction"?k._maxWidth*ne:V+(ne||ee)}function L(z,k,V,Z,ee){var Q=V.data()[0][0].trace,ne={event:ee,node:V.node(),curveNumber:Q.index,expandedIndex:Q._expandedIndex,data:z.data,layout:z.layout,frames:z._transitionData._frames,config:z._context,fullData:z._fullData,fullLayout:z._fullLayout};Q._group&&(ne.group=Q._group),C.traceIs(Q,"pie-like")&&(ne.label=V.datum()[0].label);var fe=w.triggerHandler(z,"plotly_legendclick",ne);if(fe!==!1){if(Z===1)k._clickTimeout=setTimeout(function(){z._fullLayout&&c(V,z,Z)},z._context.doubleClickDelay);else if(Z===2){k._clickTimeout&&clearTimeout(k._clickTimeout),z._legendMouseDownTime=0;var $=w.triggerHandler(z,"plotly_legenddoubleclick",ne);$!==!1&&c(V,z,Z)}}}function m(z,k,V){var Z=H(V),ee=z.data()[0][0],Q=ee.trace,ne=C.traceIs(Q,"pie-like"),fe=!V._inHover&&k._context.edits.legendText&&!ne,$=V._maxNameLength,Y,j;ee.groupTitle?(Y=ee.groupTitle.text,j=ee.groupTitle.font):(j=V.font,V.entries?Y=ee.text:(Y=ne?ee.label:Q.name,Q._meta&&(Y=E.templateString(Y,Q._meta))));var X=E.ensureSingle(z,"text",Z+"text");X.attr("text-anchor","start").call(p.font,j).text(fe?M(Y,$):Y);var re=V.itemwidth+o.itemGap*2;r.positionText(X,re,0),fe?X.call(r.makeEditable,{gd:k,text:Y}).call(s,z,k,V).on("edit",function(le){this.text(M(le,$)).call(s,z,k,V);var q=ee.trace._fullInput||{},te={};if(C.hasTransform(q,"groupby")){var ue=C.getTransformIndices(q,"groupby"),ae=ue[ue.length-1],de=E.keyedContainer(q,"transforms["+ae+"].styles","target","value.name");de.set(ee.trace._group,le),te=de.constructUpdate()}else te.name=le;return C.call("_guiRestyle",k,te,Q.index)}):s(X,z,k,V)}function M(z,k){var V=Math.max(4,k);if(z&&z.trim().length>=V/2)return z;z=z||"";for(var Z=V-z.length;Z>0;Z--)z+=" ";return z}function b(z,k,V){var Z=k._context.doubleClickDelay,ee,Q=1,ne=E.ensureSingle(z,"rect",V+"toggle",function(fe){k._context.staticPlot||fe.style("cursor","pointer").attr("pointer-events","all"),fe.call(t.fill,"rgba(0,0,0,0)")});k._context.staticPlot||(ne.on("mousedown",function(){ee=new Date().getTime(),ee-k._legendMouseDownTimeZ&&(Q=Math.max(Q-1,1)),L(k,fe,z,Q,v.event)}}))}function s(z,k,V,Z,ee){Z._inHover&&z.attr("data-notex",!0),r.convertToTspans(z,V,function(){_(k,V,Z,ee)})}function _(z,k,V,Z){var ee=z.data()[0][0];if(!V._inHover&&ee&&!ee.trace.showlegend){z.remove();return}var Q=z.select("g[class*=math-group]"),ne=Q.node(),fe=H(V);V||(V=k._fullLayout[fe]);var $=V.borderwidth,Y;Z===l?Y=V.title.font:ee.groupTitle?Y=ee.groupTitle.font:Y=V.font;var j=Y.size*u,X,re;if(ne){var le=p.bBox(ne);X=le.height,re=le.width,Z===l?p.setTranslate(Q,$,$+X*.75):p.setTranslate(Q,0,X*.25)}else{var q="."+fe+(Z===l?"title":"")+"text",te=z.select(q),ue=r.lineCount(te),ae=te.node();if(X=j*ue,re=ae?p.bBox(ae).width:0,Z===l)V.title.side==="left"&&(re+=o.itemGap*2),r.positionText(te,$+o.titlePad,$+j);else{var de=o.itemGap*2+V.itemwidth;ee.groupTitle&&(de=o.itemGap,re-=V.itemwidth),r.positionText(te,de,-j*((ue-1)/2-.3))}}Z===l?(V._titleWidth=re,V._titleHeight=X):(ee.lineHeight=j,ee.height=Math.max(X,16)+3,ee.width=re)}function A(z){var k=0,V=0,Z=z.title.side;return Z&&(Z.indexOf("left")!==-1&&(k=z._titleWidth),Z.indexOf("top")!==-1&&(V=z._titleHeight)),[k,V]}function D(z,k,V,Z){var ee=z._fullLayout,Q=H(Z);Z||(Z=ee[Q]);var ne=ee._size,fe=f.isVertical(Z),$=f.isGrouped(Z),Y=Z.entrywidthmode==="fraction",j=Z.borderwidth,X=2*j,re=o.itemGap,le=Z.itemwidth+re*2,q=2*(j+re),te=O(Z),ue=Z.y<0||Z.y===0&&te==="top",ae=Z.y>1||Z.y===1&&te==="bottom",de=Z.tracegroupgap,xe={};Z._maxHeight=Math.max(ue||ae?ee.height/2:ne.h,30);var Se=0;Z._width=0,Z._height=0;var Ae=A(Z);if(fe)V.each(function(ze){var rt=ze[0].height;p.setTranslate(this,j+Ae[0],j+Ae[1]+Z._height+rt/2+re),Z._height+=rt,Z._width=Math.max(Z._width,ze[0].width)}),Se=le+Z._width,Z._width+=re+le+X,Z._height+=q,$&&(k.each(function(ze,rt){p.setTranslate(this,0,rt*Z.tracegroupgap)}),Z._height+=(Z._lgroupsLength-1)*Z.tracegroupgap);else{var Be=G(Z),Oe=Z.x<0||Z.x===0&&Be==="right",Ee=Z.x>1||Z.x===1&&Be==="left",we=ae||ue,Ce=ee.width/2;Z._maxWidth=Math.max(Oe?we&&Be==="left"?ne.l+ne.w:Ce:Ee?we&&Be==="right"?ne.r+ne.w:Ce:ne.w,2*le);var Ge=0,He=0;V.each(function(ze){var rt=S(ze,Z,le);Ge=Math.max(Ge,rt),He+=rt}),Se=null;var De=0;if($){var Fe=0,qe=0,Qe=0;k.each(function(){var ze=0,rt=0;v.select(this).selectAll("g.traces").each(function(Ze){var Ie=S(Ze,Z,le),Te=Ze[0].height;p.setTranslate(this,Ae[0],Ae[1]+j+re+Te/2+rt),rt+=Te,ze=Math.max(ze,Ie),xe[Ze[0].trace.legendgroup]=ze});var it=ze+re;qe>0&&it+j+qe>Z._maxWidth?(De=Math.max(De,qe),qe=0,Qe+=Fe+de,Fe=rt):Fe=Math.max(Fe,rt),p.setTranslate(this,qe,Qe),qe+=it}),Z._width=Math.max(De,qe)+j,Z._height=Qe+Fe+q}else{var Je=V.size(),tt=He+X+(Je-1)*re=Z._maxWidth&&(De=Math.max(De,Et),gt=0,yt+=ht,Z._height+=ht,ht=0),p.setTranslate(this,Ae[0]+j+gt,Ae[1]+j+yt+rt/2+re),Et=gt+it+re,gt+=Ze,ht=Math.max(ht,rt)}),tt?(Z._width=gt+X,Z._height=ht+q):(Z._width=Math.max(De,Et)+X,Z._height+=ht+q)}}Z._width=Math.ceil(Math.max(Z._width+Ae[0],Z._titleWidth+2*(j+o.titlePad))),Z._height=Math.ceil(Math.max(Z._height+Ae[1],Z._titleHeight+2*(j+o.itemGap))),Z._effHeight=Math.min(Z._height,Z._maxHeight);var Xe=z._context.edits,Ue=Xe.legendText||Xe.legendPosition;V.each(function(ze){var rt=v.select(this).select("."+Q+"toggle"),it=ze[0].height,Ze=ze[0].trace.legendgroup,Ie=S(ze,Z,le);$&&Ze!==""&&(Ie=xe[Ze]);var Te=Ue?le:Se||Ie;!fe&&!Y&&(Te+=re/2),p.setRect(rt,0,-it/2,Te,it)})}function F(z,k,V,Z){var ee=z._fullLayout,Q=ee[k],ne=G(Q),fe=O(Q),$=Q.xref==="paper",Y=Q.yref==="paper";z._fullLayout._reservedMargin[k]={};var j=Q.y<.5?"b":"t",X=Q.x<.5?"l":"r",re={r:ee.width-V,l:V+Q._width,b:ee.height-Z,t:Z+Q._effHeight};if($&&Y)return a.autoMargin(z,k,{x:Q.x,y:Q.y,l:Q._width*i[ne],r:Q._width*g[ne],b:Q._effHeight*g[fe],t:Q._effHeight*i[fe]});$?z._fullLayout._reservedMargin[k][j]=re[j]:Y||Q.orientation==="v"?z._fullLayout._reservedMargin[k][X]=re[X]:z._fullLayout._reservedMargin[k][j]=re[j]}function G(z){return E.isRightAnchor(z)?"right":E.isCenterAnchor(z)?"center":"left"}function O(z){return E.isBottomAnchor(z)?"bottom":E.isMiddleAnchor(z)?"middle":"top"}function H(z){return z._id||"legend"}},82424:function(U,B,e){var v=e(73972),E=e(10130);U.exports=function(C,w,d){var p=w._inHover,t=E.isGrouped(w),r=E.isReversed(w),c={},o=[],n=!1,u={},i=0,g=0,h,x;function f(k,V,Z){if(w.visible!==!1&&!(d&&k!==w._id))if(V===""||!E.isGrouped(w)){var ee="~~i"+i;o.push(ee),c[ee]=[Z],i++}else o.indexOf(V)===-1?(o.push(V),n=!0,c[V]=[Z]):c[V].push(Z)}for(h=0;hA&&(_=A)}b[h][0]._groupMinRank=_,b[h][0]._preGroupSort=h}var D=function(k,V){return k[0]._groupMinRank-V[0]._groupMinRank||k[0]._preGroupSort-V[0]._preGroupSort},F=function(k,V){return k.trace.legendrank-V.trace.legendrank||k._preSort-V._preSort};for(b.forEach(function(k,V){k[0]._preGroupSort=V}),b.sort(D),h=0;h0)re=Y.width;else return 0;return M?X:Math.min(re,j)};T.each(function($){var Y=v.select(this),j=a.ensureSingle(Y,"g","layers");j.style("opacity",$[0].trace.opacity);var X=L.valign,re=$[0].lineHeight,le=$[0].height;if(X==="middle"||!re||!le)j.attr("transform",null);else{var q={top:1,bottom:-1}[X],te=q*(.5*(re-le+3));j.attr("transform",C(0,te))}var ue=j.selectAll("g.legendfill").data([$]);ue.enter().append("g").classed("legendfill",!0);var ae=j.selectAll("g.legendlines").data([$]);ae.enter().append("g").classed("legendlines",!0);var de=j.selectAll("g.legendsymbols").data([$]);de.enter().append("g").classed("legendsymbols",!0),de.selectAll("g.legendpoints").data([$]).enter().append("g").classed("legendpoints",!0)}).each(fe).each(G).each(H).each(O).each(k).each(Q).each(ee).each(D).each(F).each(V).each(Z);function D($){var Y=f($),j=Y.showFill,X=Y.showLine,re=Y.showGradientLine,le=Y.showGradientFill,q=Y.anyFill,te=Y.anyLine,ue=$[0],ae=ue.trace,de,xe,Se=p(ae),Ae=Se.colorscale,Be=Se.reversescale,Oe=function(Fe){if(Fe.size())if(j)w.fillGroupStyle(Fe,S);else{var qe="legendfill-"+ae.uid;w.gradient(Fe,S,qe,x(Be),Ae,"fill")}},Ee=function(Fe){if(Fe.size()){var qe="legendline-"+ae.uid;w.lineGroupStyle(Fe),w.gradient(Fe,S,qe,x(Be),Ae,"stroke")}},we=t.hasMarkers(ae)||!q?"M5,0":te?"M5,-2":"M5,-3",Ce=v.select(this),Ge=Ce.select(".legendfill").selectAll("path").data(j||le?[$]:[]);if(Ge.enter().append("path").classed("js-fill",!0),Ge.exit().remove(),Ge.attr("d",we+"h"+b+"v6h-"+b+"z").call(Oe),X||re){var He=A(void 0,ae.line,g,u);xe=a.minExtend(ae,{line:{width:He}}),de=[a.minExtend(ue,{trace:xe})]}var De=Ce.select(".legendlines").selectAll("path").data(X||re?[de]:[]);De.enter().append("path").classed("js-line",!0),De.exit().remove(),De.attr("d",we+(re?"l"+b+",0.0001":"h"+b)).call(X?w.lineGroupStyle:Ee)}function F($){var Y=f($),j=Y.anyFill,X=Y.anyLine,re=Y.showLine,le=Y.showMarker,q=$[0],te=q.trace,ue=!le&&!X&&!j&&t.hasText(te),ae,de;function xe(Ge,He,De,Fe){var qe=a.nestedProperty(te,Ge).get(),Qe=a.isArrayOrTypedArray(qe)&&He?He(qe):qe;if(M&&Qe&&Fe!==void 0&&(Qe=Fe),De){if(QeDe[1])return De[1]}return Qe}function Se(Ge){return q._distinct&&q.index&&Ge[q.index]?Ge[q.index]:Ge[0]}if(le||ue||re){var Ae={},Be={};if(le){Ae.mc=xe("marker.color",Se),Ae.mx=xe("marker.symbol",Se),Ae.mo=xe("marker.opacity",a.mean,[.2,1]),Ae.mlc=xe("marker.line.color",Se),Ae.mlw=xe("marker.line.width",a.mean,[0,5],i),Be.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Oe=xe("marker.size",a.mean,[2,16],n);Ae.ms=Oe,Be.marker.size=Oe}re&&(Be.line={width:xe("line.width",Se,[0,10],u)}),ue&&(Ae.tx="Aa",Ae.tp=xe("textposition",Se),Ae.ts=10,Ae.tc=xe("textfont.color",Se),Ae.tf=xe("textfont.family",Se)),ae=[a.minExtend(q,Ae)],de=a.minExtend(te,Be),de.selectedpoints=null,de.texttemplate=null}var Ee=v.select(this).select("g.legendpoints"),we=Ee.selectAll("path.scatterpts").data(le?ae:[]);we.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",_),we.exit().remove(),we.call(w.pointStyle,de,S),le&&(ae[0].mrc=3);var Ce=Ee.selectAll("g.pointtext").data(ue?ae:[]);Ce.enter().append("g").classed("pointtext",!0).append("text").attr("transform",_),Ce.exit().remove(),Ce.selectAll("text").call(w.textPointStyle,de,S)}function G($){var Y=$[0].trace,j=Y.type==="waterfall";if($[0]._distinct&&j){var X=$[0].trace[$[0].dir].marker;return $[0].mc=X.color,$[0].mlw=X.line.width,$[0].mlc=X.line.color,z($,this,"waterfall")}var re=[];Y.visible&&j&&(re=$[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var le=v.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(re);le.enter().append("path").classed("legendwaterfall",!0).attr("transform",_).style("stroke-miterlimit",1),le.exit().remove(),le.each(function(q){var te=v.select(this),ue=Y[q[0]].marker,ae=A(void 0,ue.line,h,i);te.attr("d",q[1]).style("stroke-width",ae+"px").call(d.fill,ue.color),ae&&te.call(d.stroke,ue.line.color)})}function O($){z($,this)}function H($){z($,this,"funnel")}function z($,Y,j){var X=$[0].trace,re=X.marker||{},le=re.line||{},q=j?X.visible&&X.type===j:E.traceIs(X,"bar"),te=v.select(Y).select("g.legendpoints").selectAll("path.legend"+j).data(q?[$]:[]);te.enter().append("path").classed("legend"+j,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),te.exit().remove(),te.each(function(ue){var ae=v.select(this),de=ue[0],xe=A(de.mlw,re.line,h,i);ae.style("stroke-width",xe+"px");var Se=de.mcc;if(!L._inHover&&"mc"in de){var Ae=p(re),Be=Ae.mid;Be===void 0&&(Be=(Ae.max+Ae.min)/2),Se=w.tryColorscale(re,"")(Be)}var Oe=Se||de.mc||re.color,Ee=re.pattern,we=Ee&&w.getPatternAttr(Ee.shape,0,"");if(we){var Ce=w.getPatternAttr(Ee.bgcolor,0,null),Ge=w.getPatternAttr(Ee.fgcolor,0,null),He=Ee.fgopacity,De=l(Ee.size,8,10),Fe=l(Ee.solidity,.5,1),qe="legend-"+X.uid;ae.call(w.pattern,"legend",S,qe,we,De,Fe,Se,Ee.fillmode,Ce,Ge,He)}else ae.call(d.fill,Oe);xe&&d.stroke(ae,de.mlc||le.color)})}function k($){var Y=$[0].trace,j=v.select(this).select("g.legendpoints").selectAll("path.legendbox").data(Y.visible&&E.traceIs(Y,"box-violin")?[$]:[]);j.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),j.exit().remove(),j.each(function(){var X=v.select(this);if((Y.boxpoints==="all"||Y.points==="all")&&d.opacity(Y.fillcolor)===0&&d.opacity((Y.line||{}).color)===0){var re=a.minExtend(Y,{marker:{size:M?n:a.constrain(Y.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});j.call(w.pointStyle,re,S)}else{var le=A(void 0,Y.line,h,i);X.style("stroke-width",le+"px").call(d.fill,Y.fillcolor),le&&d.stroke(X,Y.line.color)}})}function V($){var Y=$[0].trace,j=v.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(Y.visible&&Y.type==="candlestick"?[$,$]:[]);j.enter().append("path").classed("legendcandle",!0).attr("d",function(X,re){return re?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",_).style("stroke-miterlimit",1),j.exit().remove(),j.each(function(X,re){var le=v.select(this),q=Y[re?"increasing":"decreasing"],te=A(void 0,q.line,h,i);le.style("stroke-width",te+"px").call(d.fill,q.fillcolor),te&&d.stroke(le,q.line.color)})}function Z($){var Y=$[0].trace,j=v.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(Y.visible&&Y.type==="ohlc"?[$,$]:[]);j.enter().append("path").classed("legendohlc",!0).attr("d",function(X,re){return re?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",_).style("stroke-miterlimit",1),j.exit().remove(),j.each(function(X,re){var le=v.select(this),q=Y[re?"increasing":"decreasing"],te=A(void 0,q.line,h,i);le.style("fill","none").call(w.dashLine,q.line.dash,te),te&&d.stroke(le,q.line.color)})}function ee($){ne($,this,"pie")}function Q($){ne($,this,"funnelarea")}function ne($,Y,j){var X=$[0],re=X.trace,le=j?re.visible&&re.type===j:E.traceIs(re,j),q=v.select(Y).select("g.legendpoints").selectAll("path.legend"+j).data(le?[$]:[]);if(q.enter().append("path").classed("legend"+j,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),q.exit().remove(),q.size()){var te=(re.marker||{}).line,ue=A(c(te.width,X.pts),te,h,i),ae=a.minExtend(re,{marker:{line:{width:ue}}});ae.marker.line.color=te.color;var de=a.minExtend(X,{trace:ae});r(q,de,ae)}}function fe($){var Y=$[0].trace,j,X=[];if(Y.visible)switch(Y.type){case"histogram2d":case"heatmap":X=[["M-15,-2V4H15V-2Z"]],j=!0;break;case"choropleth":case"choroplethmapbox":X=[["M-6,-6V6H6V-6Z"]],j=!0;break;case"densitymapbox":X=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],j="radial";break;case"cone":X=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],j=!1;break;case"streamtube":X=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],j=!1;break;case"surface":X=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],j=!0;break;case"mesh3d":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],j=!1;break;case"volume":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],j=!0;break;case"isosurface":X=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],j=!1;break}var re=v.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(X);re.enter().append("path").classed("legend3dandfriends",!0).attr("transform",_).style("stroke-miterlimit",1),re.exit().remove(),re.each(function(le,q){var te=v.select(this),ue=p(Y),ae=ue.colorscale,de=ue.reversescale,xe=function(Oe){if(Oe.size()){var Ee="legendfill-"+Y.uid;w.gradient(Oe,S,Ee,x(de,j==="radial"),ae,"fill")}},Se;if(ae){if(!j){var Be=ae.length;Se=q===0?ae[de?Be-1:0][1]:q===1?ae[de?0:Be-1][1]:ae[Math.floor((Be-1)/2)][1]}}else{var Ae=Y.vertexcolor||Y.facecolor||Y.color;Se=a.isArrayOrTypedArray(Ae)?Ae[q]||Ae[0]:Ae}te.attr("d",le[0]),Se?te.call(d.fill,Se):te.call(xe)})}};function x(y,T){var S=T?"radial":"horizontal";return S+(y?"":"reversed")}function f(y){var T=y[0].trace,S=T.contours,L=t.hasLines(T),m=t.hasMarkers(T),M=T.visible&&T.fill&&T.fill!=="none",b=!1,s=!1;if(S){var _=S.coloring;_==="lines"?b=!0:L=_==="none"||_==="heatmap"||S.showlines,S.type==="constraint"?M=S._operation!=="=":(_==="fill"||_==="heatmap")&&(s=!0)}return{showMarker:m,showLine:L,showFill:M,showGradientLine:b,showGradientFill:s,anyLine:L||b,anyFill:M||s}}function l(y,T,S){return y&&a.isArrayOrTypedArray(y)?T:y>S?S:y}},42068:function(U,B,e){e(93348),U.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(U,B,e){var v=e(73972),E=e(74875),a=e(41675),C=e(24255),w=e(34031).eraseActiveShape,d=e(71828),p=d._,t=U.exports={};t.toImage={name:"toImage",title:function(y){var T=y._context.toImageButtonOptions||{},S=T.format||"png";return S==="png"?p(y,"Download plot as a png"):p(y,"Download plot")},icon:C.camera,click:function(y){var T=y._context.toImageButtonOptions,S={format:T.format||"png"};d.notifier(p(y,"Taking snapshot - this may take a few seconds"),"long"),S.format!=="svg"&&d.isIE()&&(d.notifier(p(y,"IE only supports svg. Changing format to svg."),"long"),S.format="svg"),["filename","width","height","scale"].forEach(function(L){L in T&&(S[L]=T[L])}),v.call("downloadImage",y,S).then(function(L){d.notifier(p(y,"Snapshot succeeded")+" - "+L,"long")}).catch(function(){d.notifier(p(y,"Sorry, there was a problem downloading your snapshot!"),"long")})}},t.sendDataToCloud={name:"sendDataToCloud",title:function(y){return p(y,"Edit in Chart Studio")},icon:C.disk,click:function(y){E.sendDataToCloud(y)}},t.editInChartStudio={name:"editInChartStudio",title:function(y){return p(y,"Edit in Chart Studio")},icon:C.pencil,click:function(y){E.sendDataToCloud(y)}},t.zoom2d={name:"zoom2d",_cat:"zoom",title:function(y){return p(y,"Zoom")},attr:"dragmode",val:"zoom",icon:C.zoombox,click:r},t.pan2d={name:"pan2d",_cat:"pan",title:function(y){return p(y,"Pan")},attr:"dragmode",val:"pan",icon:C.pan,click:r},t.select2d={name:"select2d",_cat:"select",title:function(y){return p(y,"Box Select")},attr:"dragmode",val:"select",icon:C.selectbox,click:r},t.lasso2d={name:"lasso2d",_cat:"lasso",title:function(y){return p(y,"Lasso Select")},attr:"dragmode",val:"lasso",icon:C.lasso,click:r},t.drawclosedpath={name:"drawclosedpath",title:function(y){return p(y,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:C.drawclosedpath,click:r},t.drawopenpath={name:"drawopenpath",title:function(y){return p(y,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:C.drawopenpath,click:r},t.drawline={name:"drawline",title:function(y){return p(y,"Draw line")},attr:"dragmode",val:"drawline",icon:C.drawline,click:r},t.drawrect={name:"drawrect",title:function(y){return p(y,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:C.drawrect,click:r},t.drawcircle={name:"drawcircle",title:function(y){return p(y,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:C.drawcircle,click:r},t.eraseshape={name:"eraseshape",title:function(y){return p(y,"Erase active shape")},icon:C.eraseshape,click:w},t.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(y){return p(y,"Zoom in")},attr:"zoom",val:"in",icon:C.zoom_plus,click:r},t.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(y){return p(y,"Zoom out")},attr:"zoom",val:"out",icon:C.zoom_minus,click:r},t.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(y){return p(y,"Autoscale")},attr:"zoom",val:"auto",icon:C.autoscale,click:r},t.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(y){return p(y,"Reset axes")},attr:"zoom",val:"reset",icon:C.home,click:r},t.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(y){return p(y,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:C.tooltip_basic,gravity:"ne",click:r},t.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(y){return p(y,"Compare data on hover")},attr:"hovermode",val:function(y){return y._fullLayout._isHoriz?"y":"x"},icon:C.tooltip_compare,gravity:"ne",click:r};function r(y,T){var S=T.currentTarget,L=S.getAttribute("data-attr"),m=S.getAttribute("data-val")||!0,M=y._fullLayout,b={},s=a.list(y,null,!0),_=M._cartesianSpikesEnabled,A,D;if(L==="zoom"){var F=m==="in"?.5:2,G=(1+F)/2,O=(1-F)/2,H;for(D=0;D1?(ne=["toggleHover"],fe=["resetViews"]):b?(Q=["zoomInGeo","zoomOutGeo"],ne=["hoverClosestGeo"],fe=["resetGeo"]):M?(ne=["hoverClosest3d"],fe=["resetCameraDefault3d","resetCameraLastSave3d"]):F?(Q=["zoomInMapbox","zoomOutMapbox"],ne=["toggleHover"],fe=["resetViewMapbox"]):A?ne=["hoverClosestGl2d"]:s?ne=["hoverClosestPie"]:H?(ne=["hoverClosestCartesian","hoverCompareCartesian"],fe=["resetViewSankey"]):ne=["toggleHover"],m&&(ne=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(n(x)||k)&&(ne=[]),(m||A)&&!z&&(Q=["zoomIn2d","zoomOut2d","autoScale2d"],fe[0]!=="resetViews"&&(fe=["resetScale2d"])),M?$=["zoom3d","pan3d","orbitRotation","tableRotation"]:(m||A)&&!z||D?$=["zoom2d","pan2d"]:F||b?$=["pan2d"]:G&&($=["zoom2d"]),o(x)&&$.push("select2d","lasso2d");var Y=[],j=function(q){Y.indexOf(q)===-1&&ne.indexOf(q)!==-1&&Y.push(q)};if(Array.isArray(S)){for(var X=[],re=0;re0);if(l){var y=t(o,n,u);x("x",y[0]),x("y",y[1]),v.noneOrAll(c,o,["x","y"]),x("xanchor"),x("yanchor"),v.coerceFont(x,"font",n.font);var T=x("bgcolor");x("activecolor",E.contrast(T,d.lightAmount,d.darkAmount)),x("bordercolor"),x("borderwidth")}};function p(r,c,o,n){var u=n.calendar;function i(x,f){return v.coerce(r,c,w.buttons,x,f)}var g=i("visible");if(g){var h=i("step");h!=="all"&&(u&&u!=="gregorian"&&(h==="month"||h==="year")?c.stepmode="backward":i("stepmode"),i("count")),i("label")}}function t(r,c,o){for(var n=o.filter(function(h){return c[h].anchor===r._id}),u=0,i=0;i=Oe.max)Ae=ue[Be+1];else if(Se=Oe.pmax)Ae=ue[Be+1];else if(Seb._length||V+$<0)return;Y=k+$,j=V+$;break;case A:if(X="col-resize",k+$>b._length)return;Y=k+$,j=V;break;case D:if(X="col-resize",V+$<0)return;Y=k,j=V+$;break;default:X="ew-resize",Y=z,j=z+$;break}if(j=0;G--){var O=S.append("path").attr(m).style("opacity",G?.1:M).call(C.stroke,s).call(C.fill,b).call(w.dashLine,G?"solid":A,G?4+_:_);if(n(O,h,l),D){var H=d(h.layout,"selections",l);O.style({cursor:"move"});var z={element:O.node(),plotinfo:y,gd:h,editHelpers:H,isActiveSelection:!0},k=v(L,h);E(k,O,z)}else O.style("pointer-events",G?"all":"none");F[G]=O}var V=F[0],Z=F[1];Z.node().addEventListener("click",function(){return u(h,V)})}}function n(h,x,f){var l=f.xref+f.yref;w.setClipUrl(h,"clip"+x._fullLayout._uid+l,x)}function u(h,x){if(c(h)){var f=x.node(),l=+f.getAttribute("data-index");if(l>=0){if(l===h._fullLayout._activeSelectionIndex){g(h);return}h._fullLayout._activeSelectionIndex=l,h._fullLayout._deactivateSelection=g,r(h)}}}function i(h){if(c(h)){var x=h._fullLayout.selections.length-1;h._fullLayout._activeSelectionIndex=x,h._fullLayout._deactivateSelection=g,r(h)}}function g(h){if(c(h)){var x=h._fullLayout._activeSelectionIndex;x>=0&&(a(h),delete h._fullLayout._activeSelectionIndex,r(h))}}},53777:function(U,B,e){var v=e(79952).P,E=e(1426).extendFlat;U.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:E({},v,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(U){U.exports=function(e,v,E){E("newselection.mode");var a=E("newselection.line.width");a&&(E("newselection.line.color"),E("newselection.line.dash")),E("activeselection.fillcolor"),E("activeselection.opacity")}},35855:function(U,B,e){var v=e(64505),E=v.selectMode,a=e(51873),C=a.clearOutline,w=e(60165),d=w.readPaths,p=w.writePaths,t=w.fixDatesForPaths;U.exports=function(c,o){if(c.length){var n=c[0][0];if(n){var u=n.getAttribute("d"),i=o.gd,g=i._fullLayout.newselection,h=o.plotinfo,x=h.xaxis,f=h.yaxis,l=o.isActiveSelection,y=o.dragmode,T=(i.layout||{}).selections||[];if(!E(y)&&l!==void 0){var S=i._fullLayout._activeSelectionIndex;if(S=0){qt._fullLayout._deactivateShape(qt);return}if(!At){var Dn=sr.clickmode;s.done(Yr).then(function(){if(s.clear(Yr),Kr===2){for(rr.remove(),Yt=0;Yt-1&&ne(kn,qt,he.xaxes,he.yaxes,he.subplot,he,rr),Dn==="event"&&rt(qt,void 0);d.click(qt,kn)}).catch(m.error)}},he.doneFn=function(){pr.remove(),s.done(Yr).then(function(){s.clear(Yr),!kr&&kt&&he.selectionDefs&&(kt.subtract=Cr,he.selectionDefs.push(kt),he.mergedPolygons.length=0,[].push.apply(he.mergedPolygons,It)),(kr||At)&&q(he,kr),he.doneFnCompleted&&he.doneFnCompleted(zr),Ft&&rt(qt,lr)}).catch(m.error)}}function ne(Ze,Ie,Te,he,me,Re,Ne){var st=Ie._hoverdata,ft=Ie._fullLayout,At=ft.clickmode,Ft=At.indexOf("event")>-1,Ht=[],Gt,Rt,qt,sr,kr,xt,Xt,jt,wr,hr;if(de(st)){X(Ze,Ie,Re),Gt=ue(Ie,Te,he,me);var ct=xe(st,Gt),ut=ct.pointNumbers.length>0;if(ut?Ae(Gt,ct):Be(Gt)&&(Xt=Se(ct))){for(Ne&&Ne.remove(),hr=0;hr=0}function le(Ze){return Ze._fullLayout._activeSelectionIndex>=0}function q(Ze,Ie){var Te=Ze.dragmode,he=Ze.plotinfo,me=Ze.gd;re(me)&&me._fullLayout._deactivateShape(me),le(me)&&me._fullLayout._deactivateSelection(me);var Re=me._fullLayout,Ne=Re._zoomlayer,st=o(Te),ft=u(Te);if(st||ft){var At=Ne.selectAll(".select-outline-"+he.id);if(At&&me._fullLayout._outlining){var Ft;st&&(Ft=T(At,Ze)),Ft&&a.call("_guiRelayout",me,{shapes:Ft});var Ht;ft&&!ee(Ze)&&(Ht=S(At,Ze)),Ht&&(me._fullLayout._noEmitSelectedAtStart=!0,a.call("_guiRelayout",me,{selections:Ht}).then(function(){Ie&&L(me)})),me._fullLayout._outlining=!1}}he.selection={},he.selection.selectionDefs=Ze.selectionDefs=[],he.selection.mergedPolygons=Ze.mergedPolygons=[]}function te(Ze){return Ze._id}function ue(Ze,Ie,Te,he){if(!Ze.calcdata)return[];var me=[],Re=Ie.map(te),Ne=Te.map(te),st,ft,At;for(At=0;At0,Re=me?he[0]:Te;return Ie.selectedpoints?Ie.selectedpoints.indexOf(Re)>-1:!1}function Ae(Ze,Ie){var Te=[],he,me,Re,Ne;for(Ne=0;Ne0&&Te.push(he);if(Te.length===1&&(Re=Te[0]===Ie.searchInfo,Re&&(me=Ie.searchInfo.cd[0].trace,me.selectedpoints.length===Ie.pointNumbers.length))){for(Ne=0;Ne1||(Ie+=he.selectedpoints.length,Ie>1)))return!1;return Ie===1}function Oe(Ze,Ie,Te){var he;for(he=0;he-1&&Ie;if(!Ne&&Ie){var Kr=tt(Ze,!0);if(Kr.length){var kn=Kr[0].xref,Dn=Kr[0].yref;if(kn&&Dn){var xr=yt(Kr),br=Xe([_(Ze,kn,"x"),_(Ze,Dn,"y")]);br(zr,xr)}}Ze._fullLayout._noEmitSelectedAtStart?Ze._fullLayout._noEmitSelectedAtStart=!1:mn&&rt(Ze,zr),Gt._reselect=!1}if(!Ne&&Gt._deselect){var Br=Gt._deselect;st=Br.xref,ft=Br.yref,qe(st,ft,Ft)||Qe(Ze,st,ft,he),mn&&(zr.points.length?rt(Ze,zr):it(Ze)),Gt._deselect=!1}return{eventData:zr,selectionTesters:Te}}function Fe(Ze){var Ie=Ze.calcdata;if(Ie)for(var Te=0;Te0?f+g:g;return{ppad:g,ppadplus:h?y:T,ppadminus:h?T:y}}else return{ppad:g}}function t(r,c,o,n,u){var i=r.type==="category"||r.type==="multicategory"?r.r2c:r.d2c;if(c!==void 0)return[i(c),i(o)];if(n){var g=1/0,h=-1/0,x=n.match(a.segmentRE),f,l,y,T,S;for(r.type==="date"&&(i=C.decodeDate(i)),f=0;fh&&(h=S)));if(h>=g)return[g,h]}}},21459:function(U){U.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},84726:function(U,B,e){var v=e(71828),E=e(89298),a=e(85501),C=e(89827),w=e(30477);U.exports=function(r,c){a(r,c,{name:"shapes",handleItemDefaults:p})};function d(t,r){return t?"bottom":r.indexOf("top")!==-1?"top":r.indexOf("bottom")!==-1?"bottom":"middle"}function p(t,r,c){function o(fe,$){return v.coerce(t,r,C,fe,$)}var n=o("visible");if(n){var u=o("path"),i=u?"path":"rect",g=o("type",i),h=g!=="path";h&&delete r.path,o("editable"),o("layer"),o("opacity"),o("fillcolor"),o("fillrule");var x=o("line.width");x&&(o("line.color"),o("line.dash"));for(var f=o("xsizemode"),l=o("ysizemode"),y=["x","y"],T=0;T<2;T++){var S=y[T],L=S+"anchor",m=S==="x"?f:l,M={_fullLayout:c},b,s,_,A=E.coerceRef(t,r,M,S,void 0,"paper"),D=E.getRefType(A);if(D==="range"?(b=E.getFromId(M,A),b._shapeIndices.push(r._index),_=w.rangeToShapePosition(b),s=w.shapePositionToRange(b)):s=_=v.identity,h){var F=.25,G=.75,O=S+"0",H=S+"1",z=t[O],k=t[H];t[O]=s(t[O],!0),t[H]=s(t[H],!0),m==="pixel"?(o(O,0),o(H,10)):(E.coercePosition(r,M,o,A,O,F),E.coercePosition(r,M,o,A,H,G)),r[O]=_(r[O]),r[H]=_(r[H]),t[O]=z,t[H]=k}if(m==="pixel"){var V=t[L];t[L]=s(t[L],!0),E.coercePosition(r,M,o,A,L,.25),r[L]=_(r[L]),t[L]=V}}h&&v.noneOrAll(t,r,["x0","x1","y0","y1"]);var Z=g==="line",ee,Q;if(h&&(ee=o("label.texttemplate")),ee||(Q=o("label.text")),Q||ee){o("label.textangle");var ne=o("label.textposition",Z?"middle":"middle center");o("label.xanchor"),o("label.yanchor",d(Z,ne)),o("label.padding"),v.coerceFont(o,"label.font",c.font)}}}},48100:function(U,B,e){var v=e(71828),E=e(89298),a=e(63893),C=e(91424),w=e(60165).readPaths,d=e(30477),p=d.getPathString,t=e(37281),r=e(18783).FROM_TL;U.exports=function(u,i,g,h){if(h.selectAll(".shape-label").remove(),!!(g.label.text||g.label.texttemplate)){var x;if(g.label.texttemplate){var f={};if(g.type!=="path"){var l=E.getFromId(u,g.xref),y=E.getFromId(u,g.yref);for(var T in t){var S=t[T](g,l,y);S!==void 0&&(f[T]=S)}}x=v.texttemplateStringForShapes(g.label.texttemplate,{},u._fullLayout._d3locale,f)}else x=g.label.text;var L={"data-index":i},m=g.label.font,M={"data-notex":1},b=h.append("g").attr(L).classed("shape-label",!0),s=b.append("text").attr(M).classed("shape-label-text",!0).text(x),_,A,D,F;if(g.path){var G=p(u,g),O=w(G,u);_=1/0,D=1/0,A=-1/0,F=-1/0;for(var H=0;H=n?h=u-g:h=g-u,-180/Math.PI*Math.atan2(h,x)}function o(n,u,i,g,h,x,f){var l=h.label.textposition,y=h.label.textangle,T=h.label.padding,S=h.type,L=Math.PI/180*x,m=Math.sin(L),M=Math.cos(L),b=h.label.xanchor,s=h.label.yanchor,_,A,D,F;if(S==="line"){l==="start"?(_=n,A=u):l==="end"?(_=i,A=g):(_=(n+i)/2,A=(u+g)/2),b==="auto"&&(l==="start"?y==="auto"?i>n?b="left":in?b="right":in?b="right":in?b="left":i1&&!(we.length===2&&we[1][0]==="Z")&&($===0&&(we[0][0]="M"),_[fe]=we,O(),H())}}function ae(we,Ce){if(we===2){fe=+Ce.srcElement.getAttribute("data-i"),$=+Ce.srcElement.getAttribute("data-j");var Ge=_[fe];!x(Ge)&&!f(Ge)&&ue()}}function de(we){Q=[];for(var Ce=0;Ce<_.length;Ce++){var Ge=_[Ce],He=x(Ge),De=!He&&f(Ge);Q[Ce]=[];for(var Fe=Ge.length,qe=0;qeO&&Te>H&&!it.shiftKey?n.getCursor(he/Ie,1-me/Te):"move";u(_,Re),qe=Re.split("-")[0]}}function ht(it){f(s)||(z&&(Y=we(A.xanchor)),k&&(j=Ce(A.yanchor)),A.type==="path"?xe=A.path:(Q=z?A.x0:we(A.x0),ne=k?A.y0:Ce(A.y0),fe=z?A.x1:we(A.x1),$=k?A.y1:Ce(A.y1)),Q$?(X=ne,te="y0",re=$,ue="y1"):(X=$,te="y1",re=ne,ue="y0"),tt(it),Ue(F,A),rt(_,A,s),Fe.moveFn=qe==="move"?Et:Xe,Fe.altKey=it.altKey)}function gt(){f(s)||(u(_),ze(F),T(_,s,A),E.call("_guiRelayout",s,G.getUpdateObj()))}function yt(){f(s)||ze(F)}function Et(it,Ze){if(A.type==="path"){var Ie=function(me){return me},Te=Ie,he=Ie;z?ee("xanchor",A.xanchor=Ge(Y+it)):(Te=function(Re){return Ge(we(Re)+it)},Ae&&Ae.type==="date"&&(Te=g.encodeDate(Te))),k?ee("yanchor",A.yanchor=He(j+Ze)):(he=function(Re){return He(Ce(Re)+Ze)},Oe&&Oe.type==="date"&&(he=g.encodeDate(he))),ee("path",A.path=L(xe,Te,he))}else z?ee("xanchor",A.xanchor=Ge(Y+it)):(ee("x0",A.x0=Ge(Q+it)),ee("x1",A.x1=Ge(fe+it))),k?ee("yanchor",A.yanchor=He(j+Ze)):(ee("y0",A.y0=He(ne+Ze)),ee("y1",A.y1=He($+Ze)));_.attr("d",h(s,A)),Ue(F,A),p(s,D,A,Se)}function Xe(it,Ze){if(Z){var Ie=function(xt){return xt},Te=Ie,he=Ie;z?ee("xanchor",A.xanchor=Ge(Y+it)):(Te=function(Xt){return Ge(we(Xt)+it)},Ae&&Ae.type==="date"&&(Te=g.encodeDate(Te))),k?ee("yanchor",A.yanchor=He(j+Ze)):(he=function(Xt){return He(Ce(Xt)+Ze)},Oe&&Oe.type==="date"&&(he=g.encodeDate(he))),ee("path",A.path=L(xe,Te,he))}else if(V){if(qe==="resize-over-start-point"){var me=Q+it,Re=k?ne-Ze:ne+Ze;ee("x0",A.x0=z?me:Ge(me)),ee("y0",A.y0=k?Re:He(Re))}else if(qe==="resize-over-end-point"){var Ne=fe+it,st=k?$-Ze:$+Ze;ee("x1",A.x1=z?Ne:Ge(Ne)),ee("y1",A.y1=k?st:He(st))}}else{var ft=function(xt){return qe.indexOf(xt)!==-1},At=ft("n"),Ft=ft("s"),Ht=ft("w"),Gt=ft("e"),Rt=At?X+Ze:X,qt=Ft?re+Ze:re,sr=Ht?le+it:le,kr=Gt?q+it:q;k&&(At&&(Rt=X-Ze),Ft&&(qt=re-Ze)),(!k&&qt-Rt>H||k&&Rt-qt>H)&&(ee(te,A[te]=k?Rt:He(Rt)),ee(ue,A[ue]=k?qt:He(qt))),kr-sr>O&&(ee(ae,A[ae]=z?sr:Ge(sr)),ee(de,A[de]=z?kr:Ge(kr)))}_.attr("d",h(s,A)),Ue(F,A),p(s,D,A,Se)}function Ue(it,Ze){(z||k)&&Ie();function Ie(){var Te=Ze.type!=="path",he=it.selectAll(".visual-cue").data([0]),me=1;he.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":me}).classed("visual-cue",!0);var Re=we(z?Ze.xanchor:a.midRange(Te?[Ze.x0,Ze.x1]:g.extractPathCoords(Ze.path,i.paramIsX))),Ne=Ce(k?Ze.yanchor:a.midRange(Te?[Ze.y0,Ze.y1]:g.extractPathCoords(Ze.path,i.paramIsY)));if(Re=g.roundPositionForSharpStrokeRendering(Re,me),Ne=g.roundPositionForSharpStrokeRendering(Ne,me),z&&k){var st="M"+(Re-1-me)+","+(Ne-1-me)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";he.attr("d",st)}else if(z){var ft="M"+(Re-1-me)+","+(Ne-9-me)+"v18 h2 v-18 Z";he.attr("d",ft)}else{var At="M"+(Re-9-me)+","+(Ne-1-me)+"h18 v2 h-18 Z";he.attr("d",At)}}}function ze(it){it.selectAll(".visual-cue").remove()}function rt(it,Ze,Ie){var Te=Ze.xref,he=Ze.yref,me=C.getFromId(Ie,Te),Re=C.getFromId(Ie,he),Ne="";Te!=="paper"&&!me.autorange&&(Ne+=Te),he!=="paper"&&!Re.autorange&&(Ne+=he),c.setClipUrl(it,Ne?"clip"+Ie._fullLayout._uid+Ne:null,Ie)}}function L(s,_,A){return s.replace(i.segmentRE,function(D){var F=0,G=D.charAt(0),O=i.paramIsX[G],H=i.paramIsY[G],z=i.numParams[G],k=D.substr(1).replace(i.paramRE,function(V){return F>=z||(O[F]?V=_(V):H[F]&&(V=A(V)),F++),V});return G+k})}function m(s,_){if(l(s)){var A=_.node(),D=+A.getAttribute("data-index");if(D>=0){if(D===s._fullLayout._activeShapeIndex){M(s);return}s._fullLayout._activeShapeIndex=D,s._fullLayout._deactivateShape=M,x(s)}}}function M(s){if(l(s)){var _=s._fullLayout._activeShapeIndex;_>=0&&(t(s),delete s._fullLayout._activeShapeIndex,x(s))}}function b(s){if(l(s)){t(s);var _=s._fullLayout._activeShapeIndex,A=(s.layout||{}).shapes||[];if(_0&&yf&&(y="X"),y});return i>f&&(l=l.replace(/[\s,]*X.*/,""),E.log("Ignoring extra params in segment "+u)),g+l})}},89853:function(U,B,e){var v=e(34031);U.exports={moduleType:"component",name:"shapes",layoutAttributes:e(89827),supplyLayoutDefaults:e(84726),supplyDrawNewShapeDefaults:e(45547),includeBasePlot:e(76325)("shapes"),calcAutorange:e(5627),draw:v.draw,drawOne:v.drawOne}},37281:function(U){function B(u,i){return i?i.d2l(u):u}function e(u,i){return i?i.l2d(u):u}function v(u){return u.x0}function E(u){return u.x1}function a(u){return u.y0}function C(u){return u.y1}function w(u,i){return B(u.x1,i)-B(u.x0,i)}function d(u,i,g){return B(u.y1,g)-B(u.y0,g)}function p(u,i){return Math.abs(w(u,i))}function t(u,i,g){return Math.abs(d(u,i,g))}function r(u,i,g){return u.type!=="line"?void 0:Math.sqrt(Math.pow(w(u,i),2)+Math.pow(d(u,i,g),2))}function c(u,i){return e((B(u.x1,i)+B(u.x0,i))/2,i)}function o(u,i,g){return e((B(u.y1,g)+B(u.y0,g))/2,g)}function n(u,i,g){return u.type!=="line"?void 0:d(u,i,g)/w(u,i)}U.exports={x0:v,x1:E,y0:a,y1:C,slope:n,dx:w,dy:d,width:p,height:t,length:r,xcenter:c,ycenter:o}},75067:function(U,B,e){var v=e(41940),E=e(35025),a=e(1426).extendDeepAll,C=e(30962).overrideAll,w=e(85594),d=e(44467).templatedArray,p=e(98292),t=d("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});U.exports=C(d("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:t,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:a(E({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:w.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:v({})},font:v({}),activebgcolor:{valType:"color",dflt:p.gripBgActiveColor},bgcolor:{valType:"color",dflt:p.railBgColor},bordercolor:{valType:"color",dflt:p.railBorderColor},borderwidth:{valType:"number",min:0,dflt:p.railBorderWidth},ticklen:{valType:"number",min:0,dflt:p.tickLength},tickcolor:{valType:"color",dflt:p.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:p.minorTickLength}}),"arraydraw","from-root")},98292:function(U){U.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(U,B,e){var v=e(71828),E=e(85501),a=e(75067),C=e(98292),w=C.name,d=a.steps;U.exports=function(c,o){E(c,o,{name:w,handleItemDefaults:p})};function p(r,c,o){function n(y,T){return v.coerce(r,c,a,y,T)}for(var u=E(r,c,{name:"steps",handleItemDefaults:t}),i=0,g=0;g0?[0]:[]);Z.enter().append("g").classed(r.containerClassName,!0).style("cursor",z?null:"ew-resize");function ee($){$._commandObserver&&($._commandObserver.remove(),delete $._commandObserver),E.autoMargin(H,i($))}if(Z.exit().each(function(){v.select(this).selectAll("g."+r.groupClassName).each(ee)}).remove(),V.length!==0){var Q=Z.selectAll("g."+r.groupClassName).data(V,h);Q.enter().append("g").classed(r.groupClassName,!0),Q.exit().each(ee).remove();for(var ne=0;ne0&&(Q=Q.transition().duration(H.transition.duration).ease(H.transition.easing)),Q.attr("transform",d(ee-r.gripWidth*.5,H._dims.currentValueTotalHeight))}}function A(O,H){var z=O._dims;return z.inputAreaStart+r.stepInset+(z.inputAreaLength-2*r.stepInset)*Math.min(1,Math.max(0,H))}function D(O,H){var z=O._dims;return Math.min(1,Math.max(0,(H-r.stepInset-z.inputAreaStart)/(z.inputAreaLength-2*r.stepInset-2*z.inputAreaStart)))}function F(O,H,z){var k=z._dims,V=w.ensureSingle(O,"rect",r.railTouchRectClass,function(Z){Z.call(M,H,O,z).style("pointer-events","all")});V.attr({width:k.inputAreaLength,height:Math.max(k.inputAreaWidth,r.tickOffset+z.ticklen+k.labelHeight)}).call(a.fill,z.bgcolor).attr("opacity",0),C.setTranslate(V,0,k.currentValueTotalHeight)}function G(O,H){var z=H._dims,k=z.inputAreaLength-r.railInset*2,V=w.ensureSingle(O,"rect",r.railRectClass);V.attr({width:k,height:r.railWidth,rx:r.railRadius,ry:r.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,H.bordercolor).call(a.fill,H.bgcolor).style("stroke-width",H.borderwidth+"px"),C.setTranslate(V,r.railInset,(z.inputAreaWidth-r.railWidth)*.5+z.currentValueTotalHeight)}},23243:function(U,B,e){var v=e(98292);U.exports={moduleType:"component",name:v.name,layoutAttributes:e(75067),supplyLayoutDefaults:e(12343),draw:e(44504)}},92998:function(U,B,e){var v=e(39898),E=e(92770),a=e(74875),C=e(73972),w=e(71828),d=w.strTranslate,p=e(91424),t=e(7901),r=e(63893),c=e(37822),o=e(18783).OPPOSITE_SIDE,n=/ [XY][0-9]* /;function u(i,g,h){var x=h.propContainer,f=h.propName,l=h.placeholder,y=h.traceIndex,T=h.avoid||{},S=h.attributes,L=h.transform,m=h.containerGroup,M=i._fullLayout,b=1,s=!1,_=x.title,A=(_&&_.text?_.text:"").trim(),D=_&&_.font?_.font:{},F=D.family,G=D.size,O=D.color,H;f==="title.text"?H="titleText":f.indexOf("axis")!==-1?H="axisTitleText":f.indexOf("colorbar"!==-1)&&(H="colorbarTitleText");var z=i._context.edits[H];A===""?b=0:A.replace(n," % ")===l.replace(n," % ")&&(b=.2,s=!0,z||(A="")),h._meta?A=w.templateString(A,h._meta):M._meta&&(A=w.templateString(A,M._meta));var k=A||z,V;m||(m=w.ensureSingle(M._infolayer,"g","g-"+g),V=M._hColorbarMoveTitle);var Z=m.selectAll("text").data(k?[0]:[]);if(Z.enter().append("text"),Z.text(A).attr("class",g),Z.exit().remove(),!k)return m;function ee($){w.syncOrAsync([Q,ne],$)}function Q($){var Y;return!L&&V&&(L={}),L?(Y="",L.rotate&&(Y+="rotate("+[L.rotate,S.x,S.y]+")"),(L.offset||V)&&(Y+=d(0,(L.offset||0)-(V||0)))):Y=null,$.attr("transform",Y),$.style({"font-family":F,"font-size":v.round(G,2)+"px",fill:t.rgb(O),opacity:b*t.opacity(O),"font-weight":a.fontWeight}).attr(S).call(r.convertToTspans,i),a.previousPromises(i)}function ne($){var Y=v.select($.node().parentNode);if(T&&T.selection&&T.side&&A){Y.attr("transform",null);var j=o[T.side],X=T.side==="left"||T.side==="top"?-1:1,re=E(T.pad)?T.pad:2,le=p.bBox(Y.node()),q={t:0,b:0,l:0,r:0},te=i._fullLayout._reservedMargin;for(var ue in te)for(var ae in te[ue]){var de=te[ue][ae];q[ae]=Math.max(q[ae],de)}var xe={left:q.l,top:q.t,right:M.width-q.r,bottom:M.height-q.b},Se=T.maxShift||X*(xe[T.side]-le[T.side]),Ae=0;if(Se<0)Ae=Se;else{var Be=T.offsetLeft||0,Oe=T.offsetTop||0;le.left-=Be,le.right-=Be,le.top-=Oe,le.bottom-=Oe,T.selection.each(function(){var we=p.bBox(this);w.bBoxIntersect(le,we,re)&&(Ae=Math.max(Ae,X*(we[T.side]-le[j])+re))}),Ae=Math.min(Se,Ae),x._titleScoot=Math.abs(Ae)}if(Ae>0||Se<0){var Ee={left:[-Ae,0],right:[Ae,0],top:[0,-Ae],bottom:[0,Ae]}[T.side];Y.attr("transform",d(Ee[0],Ee[1]))}}}Z.call(ee);function fe(){b=0,s=!0,Z.text(l).on("mouseover.opacity",function(){v.select(this).transition().duration(c.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){v.select(this).transition().duration(c.HIDE_PLACEHOLDER).style("opacity",0)})}return z&&(A?Z.on(".opacity",null):fe(),Z.call(r.makeEditable,{gd:i}).on("edit",function($){y!==void 0?C.call("_guiRestyle",i,f,$,y):C.call("_guiRelayout",i,f,$)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(ee)}).on("input",function($){this.text($||" ").call(r.positionText,S.x,S.y)})),Z.classed("js-placeholder",s),m}U.exports={draw:u}},7163:function(U,B,e){var v=e(41940),E=e(22399),a=e(1426).extendFlat,C=e(30962).overrideAll,w=e(35025),d=e(44467).templatedArray,p=d("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});U.exports=C(d("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:p,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:a(w({editType:"arraydraw"}),{}),font:v({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:E.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(U){U.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(U,B,e){var v=e(71828),E=e(85501),a=e(7163),C=e(75909),w=C.name,d=a.buttons;U.exports=function(c,o){var n={name:w,handleItemDefaults:p};E(c,o,n)};function p(r,c,o){function n(g,h){return v.coerce(r,c,a,g,h)}var u=E(r,c,{name:"buttons",handleItemDefaults:t}),i=n("visible",u.length>0);i&&(n("active"),n("direction"),n("type"),n("showactive"),n("x"),n("y"),v.noneOrAll(r,c,["x","y"]),n("xanchor"),n("yanchor"),n("pad.t"),n("pad.r"),n("pad.b"),n("pad.l"),v.coerceFont(n,"font",o.font),n("bgcolor",o.paper_bgcolor),n("bordercolor"),n("borderwidth"))}function t(r,c){function o(u,i){return v.coerce(r,c,d,u,i)}var n=o("visible",r.method==="skip"||Array.isArray(r.args));n&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}},13689:function(U,B,e){var v=e(39898),E=e(74875),a=e(7901),C=e(91424),w=e(71828),d=e(63893),p=e(44467).arrayEditor,t=e(18783).LINE_SPACING,r=e(75909),c=e(25849);U.exports=function(D){var F=D._fullLayout,G=w.filterVisible(F[r.name]);function O(ne){E.autoMargin(D,b(ne))}var H=F._menulayer.selectAll("g."+r.containerClassName).data(G.length>0?[0]:[]);if(H.enter().append("g").classed(r.containerClassName,!0).style("cursor","pointer"),H.exit().each(function(){v.select(this).selectAll("g."+r.headerGroupClassName).each(O)}).remove(),G.length!==0){var z=H.selectAll("g."+r.headerGroupClassName).data(G,o);z.enter().append("g").classed(r.headerGroupClassName,!0);for(var k=w.ensureSingle(H,"g",r.dropdownButtonGroupClassName,function(ne){ne.style("pointer-events","all")}),V=0;VS,D=w.barLength+2*w.barPad,F=w.barWidth+2*w.barPad,G=u,O=g+h;O+F>n&&(O=n-F);var H=this.container.selectAll("rect.scrollbar-horizontal").data(A?[0]:[]);H.exit().on(".drag",null).remove(),H.enter().append("rect").classed("scrollbar-horizontal",!0).call(E.fill,w.barColor),A?(this.hbar=H.attr({rx:w.barRadius,ry:w.barRadius,x:G,y:O,width:D,height:F}),this._hbarXMin=G+D/2,this._hbarTranslateMax=S-D):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var z=h>L,k=w.barWidth+2*w.barPad,V=w.barLength+2*w.barPad,Z=u+i,ee=g;Z+k>o&&(Z=o-k);var Q=this.container.selectAll("rect.scrollbar-vertical").data(z?[0]:[]);Q.exit().on(".drag",null).remove(),Q.enter().append("rect").classed("scrollbar-vertical",!0).call(E.fill,w.barColor),z?(this.vbar=Q.attr({rx:w.barRadius,ry:w.barRadius,x:Z,y:ee,width:k,height:V}),this._vbarYMin=ee+V/2,this._vbarTranslateMax=L-V):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var ne=this.id,fe=m-.5,$=z?M+k+.5:M+.5,Y=b-.5,j=A?s+F+.5:s+.5,X=c._topdefs.selectAll("#"+ne).data(A||z?[0]:[]);if(X.exit().remove(),X.enter().append("clipPath").attr("id",ne).append("rect"),A||z?(this._clipRect=X.select("rect").attr({x:Math.floor(fe),y:Math.floor(Y),width:Math.ceil($)-Math.floor(fe),height:Math.ceil(j)-Math.floor(Y)}),this.container.call(a.setClipUrl,ne,this.gd),this.bg.attr({x:u,y:g,width:i,height:h})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),A||z){var re=v.behavior.drag().on("dragstart",function(){v.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var le=v.behavior.drag().on("dragstart",function(){v.event.sourceEvent.preventDefault(),v.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));A&&this.hbar.on(".drag",null).call(le),z&&this.vbar.on(".drag",null).call(le)}this.setTranslate(t,r)},w.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},w.prototype._onBoxDrag=function(){var p=this.translateX,t=this.translateY;this.hbar&&(p-=v.event.dx),this.vbar&&(t-=v.event.dy),this.setTranslate(p,t)},w.prototype._onBoxWheel=function(){var p=this.translateX,t=this.translateY;this.hbar&&(p+=v.event.deltaY),this.vbar&&(t+=v.event.deltaY),this.setTranslate(p,t)},w.prototype._onBarDrag=function(){var p=this.translateX,t=this.translateY;if(this.hbar){var r=p+this._hbarXMin,c=r+this._hbarTranslateMax,o=C.constrain(v.event.x,r,c),n=(o-r)/(c-r),u=this.position.w-this._box.w;p=n*u}if(this.vbar){var i=t+this._vbarYMin,g=i+this._vbarTranslateMax,h=C.constrain(v.event.y,i,g),x=(h-i)/(g-i),f=this.position.h-this._box.h;t=x*f}this.setTranslate(p,t)},w.prototype.setTranslate=function(p,t){var r=this.position.w-this._box.w,c=this.position.h-this._box.h;if(p=C.constrain(p||0,0,r),t=C.constrain(t||0,0,c),this.translateX=p,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-p,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+p-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var o=p/r;this.hbar.call(a.setTranslate,p+o*this._hbarTranslateMax,t)}if(this.vbar){var n=t/c;this.vbar.call(a.setTranslate,p,t+n*this._vbarTranslateMax)}}},18783:function(U){U.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(U){U.exports={axisRefDescription:function(B,e,v){return["If set to a",B,"axis id (e.g. *"+B+"* or","*"+B+"2*), the `"+B+"` position refers to a",B,"coordinate. If set to *paper*, the `"+B+"`","position refers to the distance from the",e,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",e,"("+v+"). If set to a",B,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",e,"of the domain of that axis: e.g.,","*"+B+"2 domain* refers to the domain of the second",B," axis and a",B,"position of 0.5 refers to the","point between the",e,"and the",v,"of the domain of the","second",B,"axis."].join(" ")}}},22372:function(U){U.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(U){U.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(U){U.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(U){U.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(U){U.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(U){U.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(U){U.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},32396:function(U,B){B.CSS_DECLARATIONS=[["image-rendering","optimizeSpeed"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-crisp-edges"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","optimize-contrast"],["image-rendering","crisp-edges"],["image-rendering","pixelated"]],B.STYLE=B.CSS_DECLARATIONS.map(function(e){return e.join(": ")+"; "}).join("")},77922:function(U,B){B.xmlns="http://www.w3.org/2000/xmlns/",B.svg="http://www.w3.org/2000/svg",B.xlink="http://www.w3.org/1999/xlink",B.svgAttrs={xmlns:B.svg,"xmlns:xlink":B.xlink}},8729:function(U,B,e){B.version=e(11506).version,e(7417),e(98847);for(var v=e(73972),E=B.register=v.register,a=e(10641),C=Object.keys(a),w=0;w",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(U,B){B.isLeftAnchor=function(v){return v.xanchor==="left"||v.xanchor==="auto"&&v.x<=.3333333333333333},B.isCenterAnchor=function(v){return v.xanchor==="center"||v.xanchor==="auto"&&v.x>.3333333333333333&&v.x<.6666666666666666},B.isRightAnchor=function(v){return v.xanchor==="right"||v.xanchor==="auto"&&v.x>=.6666666666666666},B.isTopAnchor=function(v){return v.yanchor==="top"||v.yanchor==="auto"&&v.y>=.6666666666666666},B.isMiddleAnchor=function(v){return v.yanchor==="middle"||v.yanchor==="auto"&&v.y>.3333333333333333&&v.y<.6666666666666666},B.isBottomAnchor=function(v){return v.yanchor==="bottom"||v.yanchor==="auto"&&v.y<=.3333333333333333}},26348:function(U,B,e){var v=e(64872),E=v.mod,a=v.modHalf,C=Math.PI,w=2*C;function d(x){return x/180*C}function p(x){return x/C*180}function t(x){return Math.abs(x[1]-x[0])>w-1e-14}function r(x,f){return a(f-x,w)}function c(x,f){return Math.abs(r(x,f))}function o(x,f){if(t(f))return!0;var l,y;f[0]y&&(y+=w);var T=E(x,w),S=T+w;return T>=l&&T<=y||S>=l&&S<=y}function n(x,f,l,y){if(!o(f,y))return!1;var T,S;return l[0]=T&&x<=S}function u(x,f,l,y,T,S,L){T=T||0,S=S||0;var m=t([l,y]),M,b,s,_,A;m?(M=0,b=C,s=w):lg.max?u.set(i):u.set(+n)}},integer:{coerceFunction:function(n,u,i,g){n%1||!v(n)||g.min!==void 0&&ng.max?u.set(i):u.set(+n)}},string:{coerceFunction:function(n,u,i,g){if(typeof n!="string"){var h=typeof n=="number";g.strict===!0||!h?u.set(i):u.set(String(n))}else g.noBlank&&!n?u.set(i):u.set(n)}},color:{coerceFunction:function(n,u,i){E(n).isValid()?u.set(n):u.set(i)}},colorlist:{coerceFunction:function(n,u,i){function g(h){return E(h).isValid()}!Array.isArray(n)||!n.length?u.set(i):n.every(g)?u.set(n):u.set(i)}},colorscale:{coerceFunction:function(n,u,i){u.set(C.get(n,i))}},angle:{coerceFunction:function(n,u,i){n==="auto"?u.set("auto"):v(n)?u.set(r(+n,360)):u.set(i)}},subplotid:{coerceFunction:function(n,u,i,g){var h=g.regex||t(i);if(typeof n=="string"&&h.test(n)){u.set(n);return}u.set(i)},validateFunction:function(n,u){var i=u.dflt;return n===i?!0:typeof n!="string"?!1:!!t(i).test(n)}},flaglist:{coerceFunction:function(n,u,i,g){if((g.extras||[]).indexOf(n)!==-1){u.set(n);return}if(typeof n!="string"){u.set(i);return}for(var h=n.split("+"),x=0;x=l&&O<=y?O:d}if(typeof O!="string"&&typeof O!="number")return d;O=String(O);var Z=x(H),ee=O.charAt(0);Z&&(ee==="G"||ee==="g")&&(O=O.substr(1),H="");var Q=Z&&H.substr(0,7)==="chinese",ne=O.match(Q?g:i);if(!ne)return d;var fe=ne[1],$=ne[3]||"1",Y=Number(ne[5]||1),j=Number(ne[7]||0),X=Number(ne[9]||0),re=Number(ne[11]||0);if(Z){if(fe.length===2)return d;fe=Number(fe);var le;try{var q=n.getComponentMethod("calendars","getCal")(H);if(Q){var te=$.charAt($.length-1)==="i";$=parseInt($,10),le=q.newDate(fe,q.toMonthIndex(fe,$,te),Y)}else le=q.newDate(fe,Number($),Y)}catch{return d}return le?(le.toJD()-o)*p+j*t+X*r+re*c:d}fe.length===2?fe=(Number(fe)+2e3-h)%100+h:fe=Number(fe),$-=1;var ue=new Date(Date.UTC(2e3,$,Y,j,X));return ue.setUTCFullYear(fe),ue.getUTCMonth()!==$||ue.getUTCDate()!==Y?d:ue.getTime()+re*c},l=B.MIN_MS=B.dateTime2ms("-9999"),y=B.MAX_MS=B.dateTime2ms("9999-12-31 23:59:59.9999"),B.isDateTime=function(O,H){return B.dateTime2ms(O,H)!==d};function T(O,H){return String(O+Math.pow(10,H)).substr(1)}var S=90*p,L=3*t,m=5*r;B.ms2DateTime=function(O,H,z){if(typeof O!="number"||!(O>=l&&O<=y))return d;H||(H=0);var k=Math.floor(C(O+.05,1)*10),V=Math.round(O-k/10),Z,ee,Q,ne,fe,$;if(x(z)){var Y=Math.floor(V/p)+o,j=Math.floor(C(O,p));try{Z=n.getComponentMethod("calendars","getCal")(z).fromJD(Y).formatDate("yyyy-mm-dd")}catch{Z=u("G%Y-%m-%d")(new Date(V))}if(Z.charAt(0)==="-")for(;Z.length<11;)Z="-0"+Z.substr(1);else for(;Z.length<10;)Z="0"+Z;ee=H=l+p&&O<=y-p))return d;var H=Math.floor(C(O+.05,1)*10),z=new Date(Math.round(O-H/10)),k=v("%Y-%m-%d")(z),V=z.getHours(),Z=z.getMinutes(),ee=z.getSeconds(),Q=z.getUTCMilliseconds()*10+H;return M(k,V,Z,ee,Q)};function M(O,H,z,k,V){if((H||z||k||V)&&(O+=" "+T(H,2)+":"+T(z,2),(k||V)&&(O+=":"+T(k,2),V))){for(var Z=4;V%10===0;)Z-=1,V/=10;O+="."+T(V,Z)}return O}B.cleanDate=function(O,H,z){if(O===d)return H;if(B.isJSDate(O)||typeof O=="number"&&isFinite(O)){if(x(z))return a.error("JS Dates and milliseconds are incompatible with world calendars",O),H;if(O=B.ms2DateTimeLocal(+O),!O&&H!==void 0)return H}else if(!B.isDateTime(O,z))return a.error("unrecognized date",O),H;return O};var b=/%\d?f/g,s=/%h/g,_={1:"1",2:"1",3:"2",4:"2"};function A(O,H,z,k){O=O.replace(b,function(Z){var ee=Math.min(+Z.charAt(1)||6,6),Q=(H/1e3%1+2).toFixed(ee).substr(2).replace(/0+$/,"")||"0";return Q});var V=new Date(Math.floor(H+.05));if(O=O.replace(s,function(){return _[z("%q")(V)]}),x(k))try{O=n.getComponentMethod("calendars","worldCalFmt")(O,H,k)}catch{return"Invalid"}return z(O)(V)}var D=[59,59.9,59.99,59.999,59.9999];function F(O,H){var z=C(O+.05,p),k=T(Math.floor(z/t),2)+":"+T(C(Math.floor(z/r),60),2);if(H!=="M"){E(H)||(H=0);var V=Math.min(C(O/c,60),D[H]),Z=(100+V).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),k+=":"+Z}return k}B.formatDate=function(O,H,z,k,V,Z){if(V=x(V)&&V,!H)if(z==="y")H=Z.year;else if(z==="m")H=Z.month;else if(z==="d")H=Z.dayMonth+`
+`+Z.year;else return F(O,z)+`
+`+A(Z.dayMonthYear,O,k,V);return A(H,O,k,V)};var G=3*p;B.incrementMonth=function(O,H,z){z=x(z)&&z;var k=C(O,p);if(O=Math.round(O-k),z)try{var V=Math.round(O/p)+o,Z=n.getComponentMethod("calendars","getCal")(z),ee=Z.fromJD(V);return H%12?Z.add(ee,H,"m"):Z.add(ee,H/12,"y"),(ee.toJD()-o)*p+k}catch{a.error("invalid ms "+O+" in calendar "+z)}var Q=new Date(O+G);return Q.setUTCMonth(Q.getUTCMonth()+H)+k-G},B.findExactDates=function(O,H){for(var z=0,k=0,V=0,Z=0,ee,Q,ne=x(H)&&n.getComponentMethod("calendars","getCal")(H),fe=0;fe0&&F[G+1][0]<0)return G;return null}switch(m==="RUS"||m==="FJI"?b=function(F){var G;if(D(F)===null)G=F;else for(G=new Array(F.length),A=0;AG?O[H++]=[F[A][0]+360,F[A][1]]:A===G?(O[H++]=F[A],O[H++]=[F[A][0],-90]):O[H++]=F[A];var z=c.tester(O);z.pts.pop(),M.push(z)}:b=function(F){M.push(c.tester(F))},S.type){case"MultiPolygon":for(s=0;sM&&(M=_,L=s)}else L=S;return C.default(L).geometry.coordinates}function l(T){var S=window.PlotlyGeoAssets||{},L=[];function m(A){return new Promise(function(D,F){v.json(A,function(G,O){if(G){delete S[A];var H=G.status===404?'GeoJSON at URL "'+A+'" does not exist.':"Unexpected error while fetching from "+A;return F(new Error(H))}return S[A]=O,D(O)})})}function M(A){return new Promise(function(D,F){var G=0,O=setInterval(function(){if(S[A]&&S[A]!=="pending")return clearInterval(O),D(S[A]);if(G>100)return clearInterval(O),F("Unexpected error while fetching from "+A);G++},50)})}for(var b=0;b0&&(w.push(d),d=[])}return d.length>0&&w.push(d),w},B.makeLine=function(E){return E.length===1?{type:"LineString",coordinates:E[0]}:{type:"MultiLineString",coordinates:E}},B.makePolygon=function(E){if(E.length===1)return{type:"Polygon",coordinates:E};for(var a=new Array(E.length),C=0;C1||S<0||S>1?null:{x:p+g*S,y:t+f*S}}B.segmentDistance=function(t,r,c,o,n,u,i,g){if(E(t,r,c,o,n,u,i,g))return 0;var h=c-t,x=o-r,f=i-n,l=g-u,y=h*h+x*x,T=f*f+l*l,S=Math.min(a(h,x,y,n-t,u-r),a(h,x,y,i-t,g-r),a(f,l,T,t-n,r-u),a(f,l,T,c-n,o-u));return Math.sqrt(S)};function a(p,t,r,c,o){var n=c*p+o*t;if(n<0)return c*c+o*o;if(n>r){var u=c-p,i=o-t;return u*u+i*i}else{var g=c*t-o*p;return g*g/r}}var C,w,d;B.getTextLocation=function(t,r,c,o){if((t!==w||o!==d)&&(C={},w=t,d=o),C[c])return C[c];var n=t.getPointAtLength(v(c-o/2,r)),u=t.getPointAtLength(v(c+o/2,r)),i=Math.atan((u.y-n.y)/(u.x-n.x)),g=t.getPointAtLength(v(c,r)),h=(g.x*4+n.x+u.x)/6,x=(g.y*4+n.y+u.y)/6,f={x:h,y:x,theta:i};return C[c]=f,f},B.clearLocationCache=function(){w=null},B.getVisibleSegment=function(t,r,c){var o=r.left,n=r.right,u=r.top,i=r.bottom,g=0,h=t.getTotalLength(),x=h,f,l;function y(S){var L=t.getPointAtLength(S);S===0?f=L:S===h&&(l=L);var m=L.xn?L.x-n:0,M=L.yi?L.y-i:0;return Math.sqrt(m*m+M*M)}for(var T=y(g);T;){if(g+=T+c,g>x)return;T=y(g)}for(T=y(x);T;){if(x-=T+c,g>x)return;T=y(x)}return{min:g,max:x,len:x-g,total:h,isClosed:g===0&&x===h&&Math.abs(f.x-l.x)<.1&&Math.abs(f.y-l.y)<.1}},B.findPointOnPath=function(t,r,c,o){o=o||{};for(var n=o.pathLength||t.getTotalLength(),u=o.tolerance||.001,i=o.iterationLimit||30,g=t.getPointAtLength(0)[c]>t.getPointAtLength(n)[c]?-1:1,h=0,x=0,f=n,l,y,T;h0?f=l:x=l,h++}return y}},81697:function(U,B,e){var v=e(92770),E=e(84267),a=e(25075),C=e(21081),w=e(22399).defaultLine,d=e(73627).isArrayOrTypedArray,p=a(w),t=1;function r(i,g){var h=i;return h[3]*=g,h}function c(i){if(v(i))return p;var g=a(i);return g.length?g:p}function o(i){return v(i)?i:t}function n(i,g,h){var x=i.color,f=d(x),l=d(g),y=C.extractOpts(i),T=[],S,L,m,M,b;if(y.colorscale!==void 0?S=C.makeColorScaleFuncFromTrace(i):S=c,f?L=function(_,A){return _[A]===void 0?p:a(S(_[A]))}:L=c,l?m=function(_,A){return _[A]===void 0?t:o(_[A])}:m=o,f||l)for(var s=0;s1?(E*e+E*v)/E:e+v,C=String(a).length;if(C>16){var w=String(v).length,d=String(e).length;if(C>=d+w){var p=parseFloat(a).toPrecision(12);p.indexOf("e+")===-1&&(a=+p)}}return a}},71828:function(U,B,e){var v=e(39898),E=e(84096).g0,a=e(60721).WU,C=e(92770),w=e(50606),d=w.FP_SAFE,p=-d,t=w.BADNUM,r=U.exports={};r.adjustFormat=function(X){return!X||/^\d[.]\df/.test(X)||/[.]\d%/.test(X)?X:X==="0.f"?"~f":/^\d%/.test(X)?"~%":/^\ds/.test(X)?"~s":!/^[~,.0$]/.test(X)&&/[&fps]/.test(X)?"~"+X:X};var c={};r.warnBadFormat=function(j){var X=String(j);c[X]||(c[X]=1,r.warn('encountered bad format: "'+X+'"'))},r.noFormat=function(j){return String(j)},r.numberFormat=function(j){var X;try{X=a(r.adjustFormat(j))}catch{return r.warnBadFormat(j),r.noFormat}return X},r.nestedProperty=e(65487),r.keyedContainer=e(66636),r.relativeAttr=e(6962),r.isPlainObject=e(41965),r.toLogRange=e(58163),r.relinkPrivateKeys=e(51332);var o=e(73627);r.isTypedArray=o.isTypedArray,r.isArrayOrTypedArray=o.isArrayOrTypedArray,r.isArray1D=o.isArray1D,r.ensureArray=o.ensureArray,r.concat=o.concat,r.maxRowLength=o.maxRowLength,r.minRowLength=o.minRowLength;var n=e(64872);r.mod=n.mod,r.modHalf=n.modHalf;var u=e(96554);r.valObjectMeta=u.valObjectMeta,r.coerce=u.coerce,r.coerce2=u.coerce2,r.coerceFont=u.coerceFont,r.coercePattern=u.coercePattern,r.coerceHoverinfo=u.coerceHoverinfo,r.coerceSelectionMarkerOpacity=u.coerceSelectionMarkerOpacity,r.validate=u.validate;var i=e(41631);r.dateTime2ms=i.dateTime2ms,r.isDateTime=i.isDateTime,r.ms2DateTime=i.ms2DateTime,r.ms2DateTimeLocal=i.ms2DateTimeLocal,r.cleanDate=i.cleanDate,r.isJSDate=i.isJSDate,r.formatDate=i.formatDate,r.incrementMonth=i.incrementMonth,r.dateTick0=i.dateTick0,r.dfltRange=i.dfltRange,r.findExactDates=i.findExactDates,r.MIN_MS=i.MIN_MS,r.MAX_MS=i.MAX_MS;var g=e(65888);r.findBin=g.findBin,r.sorterAsc=g.sorterAsc,r.sorterDes=g.sorterDes,r.distinctVals=g.distinctVals,r.roundUp=g.roundUp,r.sort=g.sort,r.findIndexOfMin=g.findIndexOfMin,r.sortObjectKeys=e(78607);var h=e(80038);r.aggNums=h.aggNums,r.len=h.len,r.mean=h.mean,r.median=h.median,r.midRange=h.midRange,r.variance=h.variance,r.stdev=h.stdev,r.interp=h.interp;var x=e(35657);r.init2dArray=x.init2dArray,r.transposeRagged=x.transposeRagged,r.dot=x.dot,r.translationMatrix=x.translationMatrix,r.rotationMatrix=x.rotationMatrix,r.rotationXYMatrix=x.rotationXYMatrix,r.apply3DTransform=x.apply3DTransform,r.apply2DTransform=x.apply2DTransform,r.apply2DTransform2=x.apply2DTransform2,r.convertCssMatrix=x.convertCssMatrix,r.inverseTransformMatrix=x.inverseTransformMatrix;var f=e(26348);r.deg2rad=f.deg2rad,r.rad2deg=f.rad2deg,r.angleDelta=f.angleDelta,r.angleDist=f.angleDist,r.isFullCircle=f.isFullCircle,r.isAngleInsideSector=f.isAngleInsideSector,r.isPtInsideSector=f.isPtInsideSector,r.pathArc=f.pathArc,r.pathSector=f.pathSector,r.pathAnnulus=f.pathAnnulus;var l=e(99863);r.isLeftAnchor=l.isLeftAnchor,r.isCenterAnchor=l.isCenterAnchor,r.isRightAnchor=l.isRightAnchor,r.isTopAnchor=l.isTopAnchor,r.isMiddleAnchor=l.isMiddleAnchor,r.isBottomAnchor=l.isBottomAnchor;var y=e(87642);r.segmentsIntersect=y.segmentsIntersect,r.segmentDistance=y.segmentDistance,r.getTextLocation=y.getTextLocation,r.clearLocationCache=y.clearLocationCache,r.getVisibleSegment=y.getVisibleSegment,r.findPointOnPath=y.findPointOnPath;var T=e(1426);r.extendFlat=T.extendFlat,r.extendDeep=T.extendDeep,r.extendDeepAll=T.extendDeepAll,r.extendDeepNoArrays=T.extendDeepNoArrays;var S=e(47769);r.log=S.log,r.warn=S.warn,r.error=S.error;var L=e(30587);r.counterRegex=L.counter;var m=e(79990);r.throttle=m.throttle,r.throttleDone=m.done,r.clearThrottle=m.clear;var M=e(24401);r.getGraphDiv=M.getGraphDiv,r.isPlotDiv=M.isPlotDiv,r.removeElement=M.removeElement,r.addStyleRule=M.addStyleRule,r.addRelatedStyleRule=M.addRelatedStyleRule,r.deleteRelatedStyleRule=M.deleteRelatedStyleRule,r.getFullTransformMatrix=M.getFullTransformMatrix,r.getElementTransformMatrix=M.getElementTransformMatrix,r.getElementAndAncestors=M.getElementAndAncestors,r.equalDomRects=M.equalDomRects,r.clearResponsive=e(86367),r.preserveDrawingBuffer=e(45142),r.makeTraceGroups=e(77310),r._=e(15867),r.notifier=e(75046),r.filterUnique=e(75744),r.filterVisible=e(76756),r.pushUnique=e(75138),r.increment=e(39240),r.cleanNumber=e(95218),r.ensureNumber=function(X){return C(X)?(X=Number(X),X>d||X=X?!1:C(j)&&j>=0&&j%1===0},r.noop=e(64213),r.identity=e(23389),r.repeat=function(j,X){for(var re=new Array(X),le=0;lere?Math.max(re,Math.min(X,j)):Math.max(X,Math.min(re,j))},r.bBoxIntersect=function(j,X,re){return re=re||0,j.left<=X.right+re&&X.left<=j.right+re&&j.top<=X.bottom+re&&X.top<=j.bottom+re},r.simpleMap=function(j,X,re,le,q){for(var te=j.length,ue=new Array(te),ae=0;ae=Math.pow(2,re)?q>10?(r.warn("randstr failed uniqueness"),ue):j(X,re,le,(q||0)+1):ue},r.OptionControl=function(j,X){j||(j={}),X||(X="opt");var re={};return re.optionList=[],re._newoption=function(le){le[X]=j,re[le.name]=le,re.optionList.push(le)},re["_"+X]=j,re},r.smooth=function(j,X){if(X=Math.round(X)||0,X<2)return j;var re=j.length,le=2*re,q=2*X-1,te=new Array(q),ue=new Array(re),ae,de,xe,Se;for(ae=0;ae=le&&(xe-=le*Math.floor(xe/le)),xe<0?xe=-1-xe:xe>=re&&(xe=le-1-xe),Se+=j[xe]*te[de];ue[ae]=Se}return ue},r.syncOrAsync=function(j,X,re){var le,q;function te(){return r.syncOrAsync(j,X,re)}for(;j.length;)if(q=j.splice(0,1)[0],le=q(X),le&&le.then)return le.then(te);return re&&re(X)},r.stripTrailingSlash=function(j){return j.substr(-1)==="/"?j.substr(0,j.length-1):j},r.noneOrAll=function(j,X,re){if(j){var le=!1,q=!0,te,ue;for(te=0;te0?q:0})},r.fillArray=function(j,X,re,le){if(le=le||r.identity,r.isArrayOrTypedArray(j))for(var q=0;q1?q+ue[1]:"";if(te&&(ue.length>1||ae.length>4||re))for(;le.test(ae);)ae=ae.replace(le,"$1"+te+"$2");return ae+de},r.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var G=/^\w*$/;r.templateString=function(j,X){var re={};return j.replace(r.TEMPLATE_STRING_REGEX,function(le,q){var te;return G.test(q)?te=X[q]:(re[q]=re[q]||r.nestedProperty(X,q).get,te=re[q]()),r.isValidTextValue(te)?te:""})};var O={max:10,count:0,name:"hovertemplate"};r.hovertemplateString=function(){return ee.apply(O,arguments)};var H={max:10,count:0,name:"texttemplate"};r.texttemplateString=function(){return ee.apply(H,arguments)};var z=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function k(j){var X=j.match(z);return X?{key:X[1],op:X[2],number:Number(X[3])}:{key:j,op:null,number:null}}var V={max:10,count:0,name:"texttemplate",parseMultDiv:!0};r.texttemplateStringForShapes=function(){return ee.apply(V,arguments)};var Z=/^[:|\|]/;function ee(j,X,re){var le=this,q=arguments;X||(X={});var te={};return j.replace(r.TEMPLATE_STRING_REGEX,function(ue,ae,de){var xe=ae==="xother"||ae==="yother",Se=ae==="_xother"||ae==="_yother",Ae=ae==="_xother_"||ae==="_yother_",Be=ae==="xother_"||ae==="yother_",Oe=xe||Se||Be||Ae,Ee=ae;(Se||Ae)&&(Ee=Ee.substring(1)),(Be||Ae)&&(Ee=Ee.substring(0,Ee.length-1));var we=null,Ce=null;if(le.parseMultDiv){var Ge=k(Ee);Ee=Ge.key,we=Ge.op,Ce=Ge.number}var He;if(Oe){if(He=X[Ee],He===void 0)return""}else{var De,Fe;for(Fe=3;Fe=Q&&ue<=ne,xe=ae>=Q&&ae<=ne;if(de&&(le=10*le+ue-Q),xe&&(q=10*q+ae-Q),!de||!xe){if(le!==q)return le-q;if(ue!==ae)return ue-ae}}return q-le};var fe=2e9;r.seedPseudoRandom=function(){fe=2e9},r.pseudoRandom=function(){var j=fe;return fe=(69069*fe+1)%4294967296,Math.abs(fe-j)<429496729?r.pseudoRandom():fe/4294967296},r.fillText=function(j,X,re){var le=Array.isArray(re)?function(ue){re.push(ue)}:function(ue){re.text=ue},q=r.extractOption(j,X,"htx","hovertext");if(r.isValidTextValue(q))return le(q);var te=r.extractOption(j,X,"tx","text");if(r.isValidTextValue(te))return le(te)},r.isValidTextValue=function(j){return j||j===0},r.formatPercent=function(j,X){X=X||0;for(var re=(Math.round(100*j*Math.pow(10,X))*Math.pow(.1,X)).toFixed(X)+"%",le=0;le1&&(xe=1):xe=0,r.strTranslate(q-xe*(re+ue),te-xe*(le+ae))+r.strScale(xe)+(de?"rotate("+de+(X?"":" "+re+" "+le)+")":"")},r.setTransormAndDisplay=function(j,X){j.attr("transform",r.getTextTransform(X)),j.style("display",X.scale?null:"none")},r.ensureUniformFontSize=function(j,X){var re=r.extendFlat({},X);return re.size=Math.max(X.size,j._fullLayout.uniformtext.minsize||0),re},r.join2=function(j,X,re){var le=j.length;return le>1?j.slice(0,-1).join(X)+re+j[le-1]:j.join(X)},r.bigFont=function(j){return Math.round(1.2*j)};var $=r.getFirefoxVersion(),Y=$!==null&&$<86;r.getPositionFromD3Event=function(){return Y?[v.event.layerX,v.event.layerY]:[v.event.offsetX,v.event.offsetY]}},41965:function(U){U.exports=function(e){return window&&window.process&&window.process.versions?Object.prototype.toString.call(e)==="[object Object]":Object.prototype.toString.call(e)==="[object Object]"&&Object.getPrototypeOf(e).hasOwnProperty("hasOwnProperty")}},66636:function(U,B,e){var v=e(65487),E=/^\w*$/,a=0,C=1,w=2,d=3,p=4;U.exports=function(r,c,o,n){o=o||"name",n=n||"value";var u,i,g,h={};c&&c.length?(g=v(r,c),i=g.get()):i=r,c=c||"";var x={};if(i)for(u=0;u2)return h[T]=h[T]|w,l.set(y,null);if(f){for(u=T;u1){var w=["LOG:"];for(C=0;C1){var d=[];for(C=0;C"),"long")}},a.warn=function(){var C;if(v.logging>0){var w=["WARN:"];for(C=0;C0){var d=[];for(C=0;C"),"stick")}},a.error=function(){var C;if(v.logging>0){var w=["ERROR:"];for(C=0;C0){var d=[];for(C=0;C"),"stick")}}},77310:function(U,B,e){var v=e(39898);U.exports=function(a,C,w){var d=a.selectAll("g."+w.replace(/\s/g,".")).data(C,function(t){return t[0].trace.uid});d.exit().remove(),d.enter().append("g").attr("class",w),d.order();var p=a.classed("rangeplot")?"nodeRangePlot3":"node3";return d.each(function(t){t[0][p]=v.select(this)}),d}},35657:function(U,B,e){var v=e(79576);B.init2dArray=function(E,a){for(var C=new Array(E),w=0;wE/2?v-Math.round(v/E)*E:v}U.exports={mod:B,modHalf:e}},65487:function(U,B,e){var v=e(92770),E=e(73627).isArrayOrTypedArray;U.exports=function(n,u){if(v(u))u=String(u);else if(typeof u!="string"||u.substr(u.length-4)==="[-1]")throw"bad property string";for(var i=0,g=u.split("."),h,x,f;i/g),i=0;it||T===E||Tc||l&&u(f))}function g(f,l){var y=f[0],T=f[1];if(y===E||yt||T===E||Tc)return!1;var S=d.length,L=d[0][0],m=d[0][1],M=0,b,s,_,A,D;for(b=1;bMath.max(s,L)||T>Math.max(_,m)))if(To||Math.abs(v(g,u))>t)return!0;return!1},a.filter=function(w,d){var p=[w[0]],t=0,r=0;function c(n){w.push(n);var u=p.length,i=t;p.splice(r+1);for(var g=i+1;g1){var o=w.pop();c(o)}return{addPt:c,raw:w,filtered:p}}},79749:function(U,B,e){var v=e(58617),E=e(98580);U.exports=function(C,w,d){var p=C._fullLayout,t=!0;return p._glcanvas.each(function(r){if(r.regl){r.regl.preloadCachedCode(d);return}if(!(r.pick&&!p._has("parcoords"))){try{r.regl=E({canvas:this,attributes:{antialias:!r.pick,preserveDrawingBuffer:!0},pixelRatio:C._context.plotGlPixelRatio||e.g.devicePixelRatio,extensions:w||[],cachedCode:d||{}})}catch{t=!1}r.regl||(t=!1),t&&this.addEventListener("webglcontextlost",function(c){C&&C.emit&&C.emit("plotly_webglcontextlost",{event:c,layer:r.key})},!1)}}),t||v({container:p._glcontainer.node()}),t}},45142:function(U,B,e){var v=e(92770),E=e(35791);U.exports=function(w){var d;if(w&&w.hasOwnProperty("userAgent")?d=w.userAgent:d=a(),typeof d!="string")return!0;var p=E({ua:{headers:{"user-agent":d}},tablet:!0,featureDetect:!1});if(!p)for(var t=d.split(" "),r=1;r-1;o--){var n=t[o];if(n.substr(0,8)==="Version/"){var u=n.substr(8).split(".")[0];if(v(u)&&(u=+u),u>=13)return!0}}}return p};function a(){var C;return typeof navigator<"u"&&(C=navigator.userAgent),C&&C.headers&&typeof C.headers["user-agent"]=="string"&&(C=C.headers["user-agent"]),C}},75138:function(U){U.exports=function(e,v){if(v instanceof RegExp){for(var E=v.toString(),a=0;aE.queueLength&&(w.undoQueue.queue.shift(),w.undoQueue.index--)},C.startSequence=function(w){w.undoQueue=w.undoQueue||{index:0,queue:[],sequence:!1},w.undoQueue.sequence=!0,w.undoQueue.beginSequence=!0},C.stopSequence=function(w){w.undoQueue=w.undoQueue||{index:0,queue:[],sequence:!1},w.undoQueue.sequence=!1,w.undoQueue.beginSequence=!1},C.undo=function(d){var p,t;if(!(d.undoQueue===void 0||isNaN(d.undoQueue.index)||d.undoQueue.index<=0)){for(d.undoQueue.index--,p=d.undoQueue.queue[d.undoQueue.index],d.undoQueue.inSequence=!0,t=0;t=d.undoQueue.queue.length)){for(p=d.undoQueue.queue[d.undoQueue.index],d.undoQueue.inSequence=!0,t=0;t1?(o[i-1]-o[0])/(i-1):1,x,f;for(h>=0?f=n?d:p:f=n?r:t,c+=h*w*(n?-1:1)*(h>=0?1:-1);u90&&E.log("Long binary search..."),u-1};function d(c,o){return co}function r(c,o){return c>=o}B.sorterAsc=function(c,o){return c-o},B.sorterDes=function(c,o){return o-c},B.distinctVals=function(c){var o=c.slice();o.sort(B.sorterAsc);var n;for(n=o.length-1;n>-1&&o[n]===C;n--);for(var u=o[n]-o[0]||1,i=u/(n||1)/1e4,g=[],h,x=0;x<=n;x++){var f=o[x],l=f-h;h===void 0?(g.push(f),h=f):l>i&&(u=Math.min(u,l),g.push(f),h=f)}return{vals:g,minDiff:u}},B.roundUp=function(c,o,n){for(var u=0,i=o.length-1,g,h=0,x=n?0:1,f=n?1:0,l=n?Math.ceil:Math.floor;u0&&(u=1),n&&u)return c.sort(o)}return u?c:c.reverse()},B.findIndexOfMin=function(c,o){o=o||a;for(var n=1/0,u,i=0;iw.length)&&(d=w.length),v(C)||(C=!1),E(w[0])){for(t=new Array(d),p=0;pa.length-1)return a[a.length-1];var w=C%1;return w*a[Math.ceil(C)]+(1-w)*a[Math.floor(C)]}},78614:function(U,B,e){var v=e(25075);function E(a){return a?v(a):[0,0,0,1]}U.exports=E},3883:function(U,B,e){var v=e(32396),E=e(91424),a=e(71828),C=null;function w(){if(C!==null)return C;C=!1;var d=a.isIE()||a.isSafari()||a.isIOS();if(window.navigator.userAgent&&!d){var p=Array.from(v.CSS_DECLARATIONS).reverse(),t=window.CSS&&window.CSS.supports||window.supportsCSS;if(typeof t=="function")C=p.some(function(n){return t.apply(null,n)});else{var r=E.tester.append("image").attr("style",v.STYLE),c=window.getComputedStyle(r.node()),o=c.imageRendering;C=p.some(function(n){var u=n[1];return o===u||o===u.toLowerCase()}),r.remove()}}return C}U.exports=w},63893:function(U,B,e){var v=e(39898),E=e(71828),a=E.strTranslate,C=e(77922),w=e(18783).LINE_SPACING,d=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;B.convertToTspans=function(z,k,V){var Z=z.text(),ee=!z.attr("data-notex")&&k&&k._context.typesetMath&&typeof MathJax<"u"&&Z.match(d),Q=v.select(z.node().parentNode);if(Q.empty())return;var ne=z.attr("class")?z.attr("class").split(" ")[0]:"text";ne+="-math",Q.selectAll("svg."+ne).remove(),Q.selectAll("g."+ne+"-group").remove(),z.style("display",null).attr({"data-unformatted":Z,"data-math":"N"});function fe(){Q.empty()||(ne=z.attr("class")+"-math",Q.select("svg."+ne).remove()),z.text("").style("white-space","pre");var $=F(z.node(),Z);$&&z.style("pointer-events","all"),B.positionText(z),V&&V.call(z)}return ee?(k&&k._promises||[]).push(new Promise(function($){z.style("display","none");var Y=parseInt(z.node().style.fontSize,10),j={fontSize:Y};o(ee[2],j,function(X,re,le){Q.selectAll("svg."+ne).remove(),Q.selectAll("g."+ne+"-group").remove();var q=X&&X.select("svg");if(!q||!q.node()){fe(),$();return}var te=Q.append("g").classed(ne+"-group",!0).attr({"pointer-events":"none","data-unformatted":Z,"data-math":"Y"});te.node().appendChild(q.node()),re&&re.node()&&q.node().insertBefore(re.node().cloneNode(!0),q.node().firstChild);var ue=le.width,ae=le.height;q.attr({class:ne,height:ae,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var de=z.node().style.fill||"black",xe=q.select("g");xe.attr({fill:de,stroke:de});var Se=xe.node().getBoundingClientRect(),Ae=Se.width,Be=Se.height;(Ae>ue||Be>ae)&&(q.style("overflow","hidden"),Se=q.node().getBoundingClientRect(),Ae=Se.width,Be=Se.height);var Oe=+z.attr("x"),Ee=+z.attr("y"),we=Y||z.node().getBoundingClientRect().height,Ce=-we/4;if(ne[0]==="y")te.attr({transform:"rotate("+[-90,Oe,Ee]+")"+a(-Ae/2,Ce-Be/2)});else if(ne[0]==="l")Ee=Ce-Be/2;else if(ne[0]==="a"&&ne.indexOf("atitle")!==0)Oe=0,Ee=Ce;else{var Ge=z.attr("text-anchor");Oe=Oe-Ae*(Ge==="middle"?.5:Ge==="end"?1:0),Ee=Ee+Ce-Be/2}q.attr({x:Oe,y:Ee}),V&&V.call(z,te),$(te)})})):fe(),z};var p=/(<|<|<)/g,t=/(>|>|>)/g;function r(z){return z.replace(p,"\\lt ").replace(t,"\\gt ")}var c=[["$","$"],["\\(","\\)"]];function o(z,k,V){var Z=parseInt((MathJax.version||"").split(".")[0]);if(Z!==2&&Z!==3){E.warn("No MathJax version:",MathJax.version);return}var ee,Q,ne,fe,$=function(){return Q=E.extendDeepAll({},MathJax.Hub.config),ne=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:c},displayAlign:"left"})},Y=function(){Q=E.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=c},j=function(){if(ee=MathJax.Hub.config.menuSettings.renderer,ee!=="SVG")return MathJax.Hub.setRenderer("SVG")},X=function(){ee=MathJax.config.startup.output,ee!=="svg"&&(MathJax.config.startup.output="svg")},re=function(){var de="math-output-"+E.randstr({},64);fe=v.select("body").append("div").attr({id:de}).style({visibility:"hidden",position:"absolute","font-size":k.fontSize+"px"}).text(r(z));var xe=fe.node();return Z===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},le=function(){var de=fe.select(Z===2?".MathJax_SVG":".MathJax"),xe=!de.empty()&&fe.select("svg").node();if(!xe)E.log("There was an error in the tex syntax.",z),V();else{var Se=xe.getBoundingClientRect(),Ae;Z===2?Ae=v.select("body").select("#MathJax_SVG_glyphs"):Ae=de.select("defs"),V(de,Ae,Se)}fe.remove()},q=function(){if(ee!=="SVG")return MathJax.Hub.setRenderer(ee)},te=function(){ee!=="svg"&&(MathJax.config.startup.output=ee)},ue=function(){return ne!==void 0&&(MathJax.Hub.processSectionDelay=ne),MathJax.Hub.Config(Q)},ae=function(){MathJax.config=Q};Z===2?MathJax.Hub.Queue($,j,re,le,q,ue):Z===3&&(Y(),X(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){re(),le(),te(),ae()}))}var n={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},u={sub:"0.3em",sup:"-0.6em"},i={sub:"-0.21em",sup:"0.42em"},g="",h=["http:","https:","mailto:","",void 0,":"],x=B.NEWLINES=/(\r\n?|\n)/g,f=/(<[^<>]*>)/,l=/<(\/?)([^ >]*)(\s+(.*))?>/i,y=/
/i;B.BR_TAG_ALL=/
/gi;var T=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,S=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,L=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,m=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function M(z,k){if(!z)return null;var V=z.match(k),Z=V&&(V[3]||V[4]);return Z&&A(Z)}var b=/(^|;)\s*color:/;B.plainText=function(z,k){k=k||{};for(var V=k.len!==void 0&&k.len!==-1?k.len:1/0,Z=k.allowedTags!==void 0?k.allowedTags:["br"],ee="...",Q=ee.length,ne=z.split(f),fe=[],$="",Y=0,j=0;jQ?fe.push(X.substr(0,te-Q)+ee):fe.push(X.substr(0,te));break}$=""}}return fe.join("")};var s={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},_=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function A(z){return z.replace(_,function(k,V){var Z;return V.charAt(0)==="#"?Z=D(V.charAt(1)==="x"?parseInt(V.substr(2),16):parseInt(V.substr(1),10)):Z=s[V],Z||k})}B.convertEntities=A;function D(z){if(!(z>1114111)){var k=String.fromCodePoint;if(k)return k(z);var V=String.fromCharCode;return z<=65535?V(z):V((z>>10)+55232,z%1024+56320)}}function F(z,k){k=k.replace(x," ");var V=!1,Z=[],ee,Q=-1;function ne(){Q++;var Be=document.createElementNS(C.svg,"tspan");v.select(Be).attr({class:"line",dy:Q*w+"em"}),z.appendChild(Be),ee=Be;var Oe=Z;if(Z=[{node:Be}],Oe.length>1)for(var Ee=1;Ee.",k);return}var Oe=Z.pop();Be!==Oe.type&&E.log("Start tag <"+Oe.type+"> doesnt match end tag <"+Be+">. Pretending it did match.",k),ee=Z[Z.length-1].node}var j=y.test(k);j?ne():(ee=z,Z=[{node:z}]);for(var X=k.split(f),re=0;red.ts+C){r();return}d.timer=setTimeout(function(){r(),d.timer=null},C)},B.done=function(E){var a=e[E];return!a||!a.timer?Promise.resolve():new Promise(function(C){var w=a.onDone;a.onDone=function(){w&&w(),C(),a.onDone=null}})},B.clear=function(E){if(E)v(e[E]),delete e[E];else for(var a in e)B.clear(a)};function v(E){E&&E.timer!==null&&(clearTimeout(E.timer),E.timer=null)}},58163:function(U,B,e){var v=e(92770);U.exports=function(a,C){if(a>0)return Math.log(a)/Math.LN10;var w=Math.log(Math.min(C[0],C[1]))/Math.LN10;return v(w)||(w=Math.log(Math.max(C[0],C[1]))/Math.LN10-6),w}},90973:function(U,B,e){var v=U.exports={},E=e(78776).locationmodeToLayer,a=e(96892).zL;v.getTopojsonName=function(C){return[C.scope.replace(/ /g,"-"),"_",C.resolution.toString(),"m"].join("")},v.getTopojsonPath=function(C,w){return C+w+".json"},v.getTopojsonFeatures=function(C,w){var d=E[C.locationmode],p=w.objects[d];return a(w,p).features}},37815:function(U){U.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(U){U.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(U,B,e){var v=e(73972);U.exports=function(a){for(var C=v.layoutArrayContainers,w=v.layoutArrayRegexes,d=a.split("[")[0],p,t,r=0;r0&&C.log("Clearing previous rejected promises from queue."),y._promises=[]},B.cleanLayout=function(y){var T,S;y||(y={}),y.xaxis1&&(y.xaxis||(y.xaxis=y.xaxis1),delete y.xaxis1),y.yaxis1&&(y.yaxis||(y.yaxis=y.yaxis1),delete y.yaxis1),y.scene1&&(y.scene||(y.scene=y.scene1),delete y.scene1);var L=(w.subplotsRegistry.cartesian||{}).attrRegex,m=(w.subplotsRegistry.polar||{}).attrRegex,M=(w.subplotsRegistry.ternary||{}).attrRegex,b=(w.subplotsRegistry.gl3d||{}).attrRegex,s=Object.keys(y);for(T=0;T3?(j.x=1.02,j.xanchor="left"):j.x<-2&&(j.x=-.02,j.xanchor="right"),j.y>3?(j.y=1.02,j.yanchor="bottom"):j.y<-2&&(j.y=-.02,j.yanchor="top")),n(y),y.dragmode==="rotate"&&(y.dragmode="orbit"),p.clean(y),y.template&&y.template.layout&&B.cleanLayout(y.template.layout),y};function o(y,T){var S=y[T],L=T.charAt(0);S&&S!=="paper"&&(y[T]=t(S,L,!0))}function n(y){y&&((typeof y.title=="string"||typeof y.title=="number")&&(y.title={text:y.title}),T("titlefont","font"),T("titleposition","position"),T("titleside","side"),T("titleoffset","offset"));function T(S,L){var m=y[S],M=y.title&&y.title[L];m&&!M&&(y.title||(y.title={}),y.title[L]=y[S],delete y[S])}}B.cleanData=function(y){for(var T=0;T0)return y.substr(0,T)}B.hasParent=function(y,T){for(var S=f(T);S;){if(S in y)return!0;S=f(S)}return!1};var l=["x","y","z"];B.clearAxisTypes=function(y,T,S){for(var L=0;L1&&a.warn("Full array edits are incompatible with other edits",i);var T=o[""][""];if(p(T))c.set(null);else if(Array.isArray(T))c.set(T);else return a.warn("Unrecognized full array edit value",i,T),!0;return f?!1:(g(l,y),h(r),!0)}var S=Object.keys(o).map(Number).sort(C),L=c.get(),m=L||[],M=u(y,i).get(),b=[],s=-1,_=m.length,A,D,F,G,O,H,z,k;for(A=0;Am.length-(z?0:1)){a.warn("index out of range",i,F);continue}if(H!==void 0)O.length>1&&a.warn("Insertion & removal are incompatible with edits to the same index.",i,F),p(H)?b.push(F):z?(H==="add"&&(H={}),m.splice(F,0,H),M&&M.splice(F,0,{})):a.warn("Unrecognized full object edit value",i,F,H),s===-1&&(s=F);else for(D=0;D=0;A--)m.splice(b[A],1),M&&M.splice(b[A],1);if(m.length?L||c.set(m):c.set(null),f)return!1;if(g(l,y),x!==E){var V;if(s===-1)V=S;else{for(_=Math.max(m.length,_),V=[],A=0;A=s));A++)V.push(F);for(A=s;A<_;A++)V.push(A)}for(A=0;A=he.data.length||st<-he.data.length)throw new Error(Re+" must be valid indices for gd.data.");if(me.indexOf(st,Ne+1)>-1||st>=0&&me.indexOf(-he.data.length+st)>-1||st<0&&me.indexOf(he.data.length+st)>-1)throw new Error("each index in "+Re+" must be unique.")}}function z(he,me,Re){if(!Array.isArray(he.data))throw new Error("gd.data must be an array.");if(typeof me>"u")throw new Error("currentIndices is a required argument.");if(Array.isArray(me)||(me=[me]),H(he,me,"currentIndices"),typeof Re<"u"&&!Array.isArray(Re)&&(Re=[Re]),typeof Re<"u"&&H(he,Re,"newIndices"),typeof Re<"u"&&me.length!==Re.length)throw new Error("current and new indices must be of equal length.")}function k(he,me,Re){var Ne,st;if(!Array.isArray(he.data))throw new Error("gd.data must be an array.");if(typeof me>"u")throw new Error("traces must be defined.");for(Array.isArray(me)||(me=[me]),Ne=0;Ne"u")throw new Error("indices must be an integer or array of integers");H(he,Re,"indices");for(var ft in me){if(!Array.isArray(me[ft])||me[ft].length!==Re.length)throw new Error("attribute "+ft+" must be an array of length equal to indices array length");if(st&&(!(ft in Ne)||!Array.isArray(Ne[ft])||Ne[ft].length!==me[ft].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}function Z(he,me,Re,Ne){var st=C.isPlainObject(Ne),ft=[],At,Ft,Ht,Gt,Rt;Array.isArray(Re)||(Re=[Re]),Re=O(Re,he.data.length-1);for(var qt in me)for(var sr=0;sr=0&&Rt=0&&Rt"u")return Gt=B.redraw(he),p.add(he,st,At,ft,Ft),Gt;Array.isArray(Re)||(Re=[Re]);try{z(he,Ne,Re)}catch(Rt){throw he.data.splice(he.data.length-me.length,me.length),Rt}return p.startSequence(he),p.add(he,st,At,ft,Ft),Gt=B.moveTraces(he,Ne,Re),p.stopSequence(he),Gt}function Y(he,me){he=C.getGraphDiv(he);var Re=[],Ne=B.addTraces,st=Y,ft=[he,Re,me],At=[he,me],Ft,Ht;if(typeof me>"u")throw new Error("indices must be an integer or array of integers.");for(Array.isArray(me)||(me=[me]),H(he,me,"indices"),me=O(me,he.data.length-1),me.sort(C.sorterDes),Ft=0;Ft"u")for(Re=[],Gt=0;Gt-1&&ft.indexOf("grouptitlefont")===-1?Ft(ft,ft.replace("titlefont","title.font")):ft.indexOf("titleposition")>-1?Ft(ft,ft.replace("titleposition","title.position")):ft.indexOf("titleside")>-1?Ft(ft,ft.replace("titleside","title.side")):ft.indexOf("titleoffset")>-1&&Ft(ft,ft.replace("titleoffset","title.offset"));function Ft(Ht,Gt){he[Gt]=he[Ht],delete he[Ht]}}function de(he,me,Re){he=C.getGraphDiv(he),l.clearPromiseQueue(he);var Ne={};if(typeof me=="string")Ne[me]=Re;else if(C.isPlainObject(me))Ne=C.extendFlat({},me);else return C.warn("Relayout fail.",me,Re),Promise.reject();Object.keys(Ne).length&&(he.changed=!0);var st=Ee(he,Ne),ft=st.flags;ft.calc&&(he.calcdata=void 0);var At=[c.previousPromises];ft.layoutReplot?At.push(y.layoutReplot):Object.keys(Ne).length&&(xe(he,ft,st)||c.supplyDefaults(he),ft.legend&&At.push(y.doLegend),ft.layoutstyle&&At.push(y.layoutStyles),ft.axrange&&Se(At,st.rangesAltered),ft.ticks&&At.push(y.doTicksRelayout),ft.modebar&&At.push(y.doModeBar),ft.camera&&At.push(y.doCamera),ft.colorbars&&At.push(y.doColorBars),At.push(b)),At.push(c.rehover,c.redrag,c.reselect),p.add(he,de,[he,st.undoit],de,[he,st.redoit]);var Ft=C.syncOrAsync(At,he);return(!Ft||!Ft.then)&&(Ft=Promise.resolve(he)),Ft.then(function(){return he.emit("plotly_relayout",st.eventData),he})}function xe(he,me,Re){var Ne=he._fullLayout;if(!me.axrange)return!1;for(var st in me)if(st!=="axrange"&&me[st])return!1;for(var ft in Re.rangesAltered){var At=o.id2name(ft),Ft=he.layout[At],Ht=Ne[At];if(Ht.autorange=Ft.autorange,Ft.range&&(Ht.range=Ft.range.slice()),Ht.cleanRange(),Ht._matchGroup){for(var Gt in Ht._matchGroup)if(Gt!==ft){var Rt=Ne[o.id2name(Gt)];Rt.autorange=Ht.autorange,Rt.range=Ht.range.slice(),Rt._input.range=Ht.range.slice()}}}return!0}function Se(he,me){var Re=me?function(Ne){var st=[],ft=!0;for(var At in me){var Ft=o.getFromId(Ne,At);if(st.push(At),(Ft.ticklabelposition||"").indexOf("inside")!==-1&&Ft._anchorAxis&&st.push(Ft._anchorAxis._id),Ft._matchGroup)for(var Ht in Ft._matchGroup)me[Ht]||st.push(Ht)}return o.draw(Ne,st,{skipTitle:ft})}:function(Ne){return o.draw(Ne,"redraw")};he.push(h,y.doAutoRangeAndConstraints,Re,y.drawData,y.finalDraw)}var Ae=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Be=/^[xyz]axis[0-9]*\.autorange$/,Oe=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function Ee(he,me){var Re=he.layout,Ne=he._fullLayout,st=Ne._guiEditing,ft=le(Ne._preGUI,st),At=Object.keys(me),Ft=o.list(he),Ht=C.extendDeepAll({},me),Gt={},Rt,qt,sr;for(ae(me),At=Object.keys(me),qt=0;qt0&&typeof St.parts[Jt]!="string";)Jt--;var $t=St.parts[Jt],ir=St.parts[Jt-1]+"."+$t,Cr=St.parts.slice(0,Jt).join("."),je=w(he.layout,Cr).get(),We=w(Ne,Cr).get(),It=St.get();if(Ot!==void 0){wr[Lt]=Ot,hr[Lt]=$t==="reverse"?Ot:re(It);var kt=r.getLayoutValObject(Ne,St.parts);if(kt&&kt.impliedEdits&&Ot!==null)for(var Yt in kt.impliedEdits)ct(C.relativeAttr(Lt,Yt),kt.impliedEdits[Yt]);if(["width","height"].indexOf(Lt)!==-1)if(Ot){ct("autosize",null);var ar=Lt==="height"?"width":"height";ct(ar,Ne[ar])}else Ne[Lt]=he._initialAutoSize[Lt];else if(Lt==="autosize")ct("width",Ot?null:Ne.width),ct("height",Ot?null:Ne.height);else if(ir.match(Ae))Mt(ir),w(Ne,Cr+"._inputRange").set(null);else if(ir.match(Be)){Mt(ir),w(Ne,Cr+"._inputRange").set(null);var lr=w(Ne,Cr).get();lr._inputDomain&&(lr._input.domain=lr._inputDomain.slice())}else ir.match(Oe)&&w(Ne,Cr+"._inputDomain").set(null);if($t==="type"){wt=je;var rr=We.type==="linear"&&Ot==="log",Nt=We.type==="log"&&Ot==="linear";if(rr||Nt){if(!wt||!wt.range)ct(Cr+".autorange",!0);else if(We.autorange)rr&&(wt.range=wt.range[1]>wt.range[0]?[1,2]:[2,1]);else{var cr=wt.range[0],vr=wt.range[1];rr?(cr<=0&&vr<=0&&ct(Cr+".autorange",!0),cr<=0?cr=vr/1e6:vr<=0&&(vr=cr/1e6),ct(Cr+".range[0]",Math.log(cr)/Math.LN10),ct(Cr+".range[1]",Math.log(vr)/Math.LN10)):(ct(Cr+".range[0]",Math.pow(10,cr)),ct(Cr+".range[1]",Math.pow(10,vr)))}Array.isArray(Ne._subplots.polar)&&Ne._subplots.polar.length&&Ne[St.parts[0]]&&St.parts[1]==="radialaxis"&&delete Ne[St.parts[0]]._subplot.viewInitial["radialaxis.range"],t.getComponentMethod("annotations","convertCoords")(he,We,Ot,ct),t.getComponentMethod("images","convertCoords")(he,We,Ot,ct)}else ct(Cr+".autorange",!0),ct(Cr+".range",null);w(Ne,Cr+"._inputRange").set(null)}else if($t.match(S)){var pr=w(Ne,Lt).get(),dr=(Ot||{}).type;(!dr||dr==="-")&&(dr="linear"),t.getComponentMethod("annotations","convertCoords")(he,pr,dr,ct),t.getComponentMethod("images","convertCoords")(he,pr,dr,ct)}var Yr=f.containerArrayMatch(Lt);if(Yr){Rt=Yr.array,qt=Yr.index;var zr=Yr.property,Or=kt||{editType:"calc"};qt!==""&&zr===""&&(f.isAddVal(Ot)?hr[Lt]=null:f.isRemoveVal(Ot)?hr[Lt]=(w(Re,Rt).get()||[])[qt]:C.warn("unrecognized full object value",me)),T.update(jt,Or),Gt[Rt]||(Gt[Rt]={});var mn=Gt[Rt][qt];mn||(mn=Gt[Rt][qt]={}),mn[zr]=Ot,delete me[Lt]}else $t==="reverse"?(je.range?je.range.reverse():(ct(Cr+".autorange",!0),je.range=[1,0]),We.autorange?jt.calc=!0:jt.plot=!0):(Lt==="dragmode"&&(Ot===!1&&It!==!1||Ot!==!1&&It===!1)||Ne._has("scatter-like")&&Ne._has("regl")&&Lt==="dragmode"&&(Ot==="lasso"||Ot==="select")&&!(It==="lasso"||It==="select")||Ne._has("gl2d")?jt.plot=!0:kt?T.update(jt,kt):jt.calc=!0,St.set(Ot))}}for(Rt in Gt){var Kr=f.applyContainerArrayChanges(he,ft(Re,Rt),Gt[Rt],jt,ft);Kr||(jt.plot=!0)}for(var kn in ut){wt=o.getFromId(he,kn);var Dn=wt&&wt._constraintGroup;if(Dn){jt.calc=!0;for(var xr in Dn)ut[xr]||(o.getFromId(he,xr)._constraintShrinkable=!0)}}return(we(he)||me.height||me.width)&&(jt.plot=!0),(jt.plot||jt.calc)&&(jt.layoutReplot=!0),{flags:jt,rangesAltered:ut,undoit:hr,redoit:wr,eventData:Ht}}function we(he){var me=he._fullLayout,Re=me.width,Ne=me.height;return he.layout.autosize&&c.plotAutoSize(he,he.layout,me),me.width!==Re||me.height!==Ne}function Ce(he,me,Re,Ne){he=C.getGraphDiv(he),l.clearPromiseQueue(he),C.isPlainObject(me)||(me={}),C.isPlainObject(Re)||(Re={}),Object.keys(me).length&&(he.changed=!0),Object.keys(Re).length&&(he.changed=!0);var st=l.coerceTraceIndices(he,Ne),ft=ue(he,C.extendFlat({},me),st),At=ft.flags,Ft=Ee(he,C.extendFlat({},Re)),Ht=Ft.flags;(At.calc||Ht.calc)&&(he.calcdata=void 0),At.clearAxisTypes&&l.clearAxisTypes(he,st,Re);var Gt=[];Ht.layoutReplot?Gt.push(y.layoutReplot):At.fullReplot?Gt.push(B._doPlot):(Gt.push(c.previousPromises),xe(he,Ht,Ft)||c.supplyDefaults(he),At.style&&Gt.push(y.doTraceStyle),(At.colorbars||Ht.colorbars)&&Gt.push(y.doColorBars),Ht.legend&&Gt.push(y.doLegend),Ht.layoutstyle&&Gt.push(y.layoutStyles),Ht.axrange&&Se(Gt,Ft.rangesAltered),Ht.ticks&&Gt.push(y.doTicksRelayout),Ht.modebar&&Gt.push(y.doModeBar),Ht.camera&&Gt.push(y.doCamera),Gt.push(b)),Gt.push(c.rehover,c.redrag,c.reselect),p.add(he,Ce,[he,ft.undoit,Ft.undoit,ft.traces],Ce,[he,ft.redoit,Ft.redoit,ft.traces]);var Rt=C.syncOrAsync(Gt,he);return(!Rt||!Rt.then)&&(Rt=Promise.resolve(he)),Rt.then(function(){return he.emit("plotly_update",{data:ft.eventData,layout:Ft.eventData}),he})}function Ge(he){return function(Re){Re._fullLayout._guiEditing=!0;var Ne=he.apply(null,arguments);return Re._fullLayout._guiEditing=!1,Ne}}var He=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],De=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function Fe(he,me){for(var Re=0;Re1;)if(Ne.pop(),Re=w(me,Ne.join(".")+".uirevision").get(),Re!==void 0)return Re;return me.uirevision}function Qe(he,me){for(var Re=0;Re=st.length?st[0]:st[Gt]:st}function Ft(Gt){return Array.isArray(ft)?Gt>=ft.length?ft[0]:ft[Gt]:ft}function Ht(Gt,Rt){var qt=0;return function(){if(Gt&&++qt===Rt)return Gt()}}return new Promise(function(Gt,Rt){function qt(){if(Ne._frameQueue.length!==0){for(;Ne._frameQueue.length;){var $t=Ne._frameQueue.pop();$t.onInterrupt&&$t.onInterrupt()}he.emit("plotly_animationinterrupted",[])}}function sr($t){if($t.length!==0){for(var ir=0;ir<$t.length;ir++){var Cr;$t[ir].type==="byname"?Cr=c.computeFrame(he,$t[ir].name):Cr=$t[ir].data;var je=Ft(ir),We=At(ir);We.duration=Math.min(We.duration,je.duration);var It={frame:Cr,name:$t[ir].name,frameOpts:je,transitionOpts:We};ir===$t.length-1&&(It.onComplete=Ht(Gt,2),It.onInterrupt=Rt),Ne._frameQueue.push(It)}Re.mode==="immediate"&&(Ne._lastFrameAt=-1/0),Ne._animationRaf||Xt()}}function kr(){he.emit("plotly_animated"),window.cancelAnimationFrame(Ne._animationRaf),Ne._animationRaf=null}function xt(){Ne._currentFrame&&Ne._currentFrame.onComplete&&Ne._currentFrame.onComplete();var $t=Ne._currentFrame=Ne._frameQueue.shift();if($t){var ir=$t.name?$t.name.toString():null;he._fullLayout._currentFrame=ir,Ne._lastFrameAt=Date.now(),Ne._timeToNext=$t.frameOpts.duration,c.transition(he,$t.frame.data,$t.frame.layout,l.coerceTraceIndices(he,$t.frame.traces),$t.frameOpts,$t.transitionOpts).then(function(){$t.onComplete&&$t.onComplete()}),he.emit("plotly_animatingframe",{name:ir,frame:$t.frame,animation:{frame:$t.frameOpts,transition:$t.transitionOpts}})}else kr()}function Xt(){he.emit("plotly_animating"),Ne._lastFrameAt=-1/0,Ne._timeToNext=0,Ne._runningTransitions=0,Ne._currentFrame=null;var $t=function(){Ne._animationRaf=window.requestAnimationFrame($t),Date.now()-Ne._lastFrameAt>Ne._timeToNext&&xt()};$t()}var jt=0;function wr($t){return Array.isArray(st)?jt>=st.length?$t.transitionOpts=st[jt]:$t.transitionOpts=st[0]:$t.transitionOpts=st,jt++,$t}var hr,ct,ut=[],wt=me==null,Mt=Array.isArray(me),Lt=!wt&&!Mt&&C.isPlainObject(me);if(Lt)ut.push({type:"object",data:wr(C.extendFlat({},me))});else if(wt||["string","number"].indexOf(typeof me)!==-1)for(hr=0;hr0&&VtVt)&&Jt.push(ct);ut=Jt}}ut.length>0?sr(ut):(he.emit("plotly_animated"),Gt())})}function rt(he,me,Re){if(he=C.getGraphDiv(he),me==null)return Promise.resolve();if(!C.isPlotDiv(he))throw new Error("This element is not a Plotly plot: "+he+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var Ne,st,ft,At,Ft=he._transitionData._frames,Ht=he._transitionData._frameHash;if(!Array.isArray(me))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+me);var Gt=Ft.length+me.length*2,Rt=[],qt={};for(Ne=me.length-1;Ne>=0;Ne--)if(C.isPlainObject(me[Ne])){var sr=me[Ne].name,kr=(Ht[sr]||qt[sr]||{}).name,xt=me[Ne].name,Xt=Ht[kr]||qt[kr];kr&&xt&&typeof xt=="number"&&Xt&&LSt.index?-1:Lt.index=0;Ne--){if(st=Rt[Ne].frame,typeof st.name=="number"&&C.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!st.name)for(;Ht[st.name="frame "+he._transitionData._counter++];);if(Ht[st.name]){for(ft=0;ft=0;Re--)Ne=me[Re],ft.push({type:"delete",index:Ne}),At.unshift({type:"insert",index:Ne,value:st[Ne]});var Ft=c.modifyFrames,Ht=c.modifyFrames,Gt=[he,At],Rt=[he,ft];return p&&p.add(he,Ft,Gt,Ht,Rt),c.modifyFrames(he,ft)}function Ze(he){he=C.getGraphDiv(he);var me=he._fullLayout||{},Re=he._fullData||[];return c.cleanPlot([],{},Re,me),c.purge(he),d.purge(he),me._container&&me._container.remove(),delete he._context,he}function Ie(he){var me=he._fullLayout,Re=he.getBoundingClientRect();if(!C.equalDomRects(Re,me._lastBBox)){var Ne=me._invTransform=C.inverseTransformMatrix(C.getFullTransformMatrix(he));me._invScaleX=Math.sqrt(Ne[0][0]*Ne[0][0]+Ne[0][1]*Ne[0][1]+Ne[0][2]*Ne[0][2]),me._invScaleY=Math.sqrt(Ne[1][0]*Ne[1][0]+Ne[1][1]*Ne[1][1]+Ne[1][2]*Ne[1][2]),me._lastBBox=Re}}function Te(he){var me=v.select(he),Re=he._fullLayout;if(Re._calcInverseTransform=Ie,Re._calcInverseTransform(he),Re._container=me.selectAll(".plot-container").data([0]),Re._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),Re._paperdiv=Re._container.selectAll(".svg-container").data([0]),Re._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),Re._glcontainer=Re._paperdiv.selectAll(".gl-container").data([{}]),Re._glcontainer.enter().append("div").classed("gl-container",!0),Re._paperdiv.selectAll(".main-svg").remove(),Re._paperdiv.select(".modebar-container").remove(),Re._paper=Re._paperdiv.insert("svg",":first-child").classed("main-svg",!0),Re._toppaper=Re._paperdiv.append("svg").classed("main-svg",!0),Re._modebardiv=Re._paperdiv.append("div"),delete Re._modeBar,Re._hoverpaper=Re._paperdiv.append("svg").classed("main-svg",!0),!Re._uid){var Ne={};v.selectAll("defs").each(function(){this.id&&(Ne[this.id.split("-")[1]]=1)}),Re._uid=C.randstr(Ne)}Re._paperdiv.selectAll(".main-svg").attr(g.svgAttrs),Re._defs=Re._paper.append("defs").attr("id","defs-"+Re._uid),Re._clips=Re._defs.append("g").classed("clips",!0),Re._topdefs=Re._toppaper.append("defs").attr("id","topdefs-"+Re._uid),Re._topclips=Re._topdefs.append("g").classed("clips",!0),Re._bgLayer=Re._paper.append("g").classed("bglayer",!0),Re._draggers=Re._paper.append("g").classed("draglayer",!0);var st=Re._paper.append("g").classed("layer-below",!0);Re._imageLowerLayer=st.append("g").classed("imagelayer",!0),Re._shapeLowerLayer=st.append("g").classed("shapelayer",!0),Re._cartesianlayer=Re._paper.append("g").classed("cartesianlayer",!0),Re._polarlayer=Re._paper.append("g").classed("polarlayer",!0),Re._smithlayer=Re._paper.append("g").classed("smithlayer",!0),Re._ternarylayer=Re._paper.append("g").classed("ternarylayer",!0),Re._geolayer=Re._paper.append("g").classed("geolayer",!0),Re._funnelarealayer=Re._paper.append("g").classed("funnelarealayer",!0),Re._pielayer=Re._paper.append("g").classed("pielayer",!0),Re._iciclelayer=Re._paper.append("g").classed("iciclelayer",!0),Re._treemaplayer=Re._paper.append("g").classed("treemaplayer",!0),Re._sunburstlayer=Re._paper.append("g").classed("sunburstlayer",!0),Re._indicatorlayer=Re._toppaper.append("g").classed("indicatorlayer",!0),Re._glimages=Re._paper.append("g").classed("glimages",!0);var ft=Re._toppaper.append("g").classed("layer-above",!0);Re._imageUpperLayer=ft.append("g").classed("imagelayer",!0),Re._shapeUpperLayer=ft.append("g").classed("shapelayer",!0),Re._selectionLayer=Re._toppaper.append("g").classed("selectionlayer",!0),Re._infolayer=Re._toppaper.append("g").classed("infolayer",!0),Re._menulayer=Re._toppaper.append("g").classed("menulayer",!0),Re._zoomlayer=Re._toppaper.append("g").classed("zoomlayer",!0),Re._hoverlayer=Re._hoverpaper.append("g").classed("hoverlayer",!0),Re._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),he.emit("plotly_framework")}B.animate=ze,B.addFrames=rt,B.deleteFrames=it,B.addTraces=$,B.deleteTraces=Y,B.extendTraces=ne,B.moveTraces=j,B.prependTraces=fe,B.newPlot=G,B._doPlot=M,B.purge=Ze,B.react=gt,B.redraw=F,B.relayout=de,B.restyle=X,B.setPlotConfig=s,B.update=Ce,B._guiRelayout=Ge(de),B._guiRestyle=Ge(X),B._guiUpdate=Ge(Ce),B._storeDirectGUIEdit=te},72075:function(U){var B={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},globalTransforms:{valType:"any",dflt:[]},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},e={};function v(E,a){for(var C in E){var w=E[C];w.valType?a[C]=w.dflt:(a[C]||(a[C]={}),v(w,a[C]))}}v(B,e),U.exports={configAttributes:B,dfltConfig:e}},86281:function(U,B,e){var v=e(73972),E=e(71828),a=e(9012),C=e(10820),w=e(31391),d=e(85594),p=e(72075).configAttributes,t=e(30962),r=E.extendDeepAll,c=E.isPlainObject,o=E.isArrayOrTypedArray,n=E.nestedProperty,u=E.valObjectMeta,i="_isSubplotObj",g="_isLinkedToArray",h="_arrayAttrRegexps",x="_deprecated",f=[i,g,h,x];B.IS_SUBPLOT_OBJ=i,B.IS_LINKED_TO_ARRAY=g,B.DEPRECATED=x,B.UNDERSCORE_ATTRS=f,B.get=function(){var G={};v.allTypes.forEach(function(H){G[H]=S(H)});var O={};return Object.keys(v.transformsRegistry).forEach(function(H){O[H]=m(H)}),{defs:{valObjects:u,metaKeys:f.concat(["description","role","editType","impliedEdits"]),editType:{traces:t.traces,layout:t.layout},impliedEdits:{}},traces:G,layout:L(),transforms:O,frames:M(),animation:b(d),config:b(p)}},B.crawl=function(G,O,H,z){var k=H||0;z=z||"",Object.keys(G).forEach(function(V){var Z=G[V];if(f.indexOf(V)===-1){var ee=(z?z+".":"")+V;O(Z,V,G,k,ee),!B.isValObject(Z)&&c(Z)&&V!=="impliedEdits"&&B.crawl(Z,O,k+1,ee)}})},B.isValObject=function(G){return G&&G.valType!==void 0},B.findArrayAttributes=function(G){var O=[],H=[],z=[],k,V;function Z(Y,j,X,re){H=H.slice(0,re).concat([j]),z=z.slice(0,re).concat([Y&&Y._isLinkedToArray]);var le=Y&&(Y.valType==="data_array"||Y.arrayOk===!0)&&!(H[re-1]==="colorbar"&&(j==="ticktext"||j==="tickvals"));le&&ee(k,0,"")}function ee(Y,j,X){var re=Y[H[j]],le=X+H[j];if(j===H.length-1)o(re)&&O.push(V+le);else if(z[j]){if(Array.isArray(re))for(var q=0;q=Z.length)return!1;k=(v.transformsRegistry[Z[ee].type]||{}).attributes,V=k&&k[O[2]],z=3}else{var Q=G._module;if(Q||(Q=(v.modules[G.type||a.type.dflt]||{})._module),!Q)return!1;if(k=Q.attributes,V=k&&k[H],!V){var ne=Q.basePlotModule;ne&&ne.attributes&&(V=ne.attributes[H])}V||(V=a[H])}return y(V,O,z)},B.getLayoutValObject=function(G,O){var H=l(G,O[0]);return y(H,O,1)};function l(G,O){var H,z,k,V,Z=G._basePlotModules;if(Z){var ee;for(H=0;H=V.length)return!1;if(G.dimensions===2){if(H++,O.length===H)return G;var Z=O[H];if(!T(Z))return!1;G=V[k][Z]}else G=V[k]}else G=V}}return G}function T(G){return G===Math.round(G)&&G>=0}function S(G){var O,H;O=v.modules[G]._module,H=O.basePlotModule;var z={};z.type=null;var k=r({},a),V=r({},O.attributes);B.crawl(V,function(Q,ne,fe,$,Y){n(k,Y).set(void 0),Q===void 0&&n(V,Y).set(void 0)}),r(z,k),v.traceIs(G,"noOpacity")&&delete z.opacity,v.traceIs(G,"showLegend")||(delete z.showlegend,delete z.legendgroup),v.traceIs(G,"noHover")&&(delete z.hoverinfo,delete z.hoverlabel),O.selectPoints||delete z.selectedpoints,r(z,V),H.attributes&&r(z,H.attributes),z.type=G;var Z={meta:O.meta||{},categories:O.categories||{},animatable:!!O.animatable,type:G,attributes:b(z)};if(O.layoutAttributes){var ee={};r(ee,O.layoutAttributes),Z.layoutAttributes=b(ee)}return O.animatable||B.crawl(Z,function(Q){B.isValObject(Q)&&"anim"in Q&&delete Q.anim}),Z}function L(){var G={},O,H;r(G,C);for(O in v.subplotsRegistry)if(H=v.subplotsRegistry[O],!!H.layoutAttributes)if(Array.isArray(H.attr))for(var z=0;z=c&&(r._input||{})._templateitemname;n&&(o=c);var u=t+"["+o+"]",i;function g(){i={},n&&(i[u]={},i[u][a]=n)}g();function h(y,T){i[y]=T}function x(y,T){n?v.nestedProperty(i[u],y).set(T):i[u+"."+y]=T}function f(){var y=i;return g(),y}function l(y,T){y&&x(y,T);var S=f();for(var L in S)v.nestedProperty(p,L).set(S[L])}return{modifyBase:h,modifyItem:x,getUpdateObj:f,applyUpdate:l}}},61549:function(U,B,e){var v=e(39898),E=e(73972),a=e(74875),C=e(71828),w=e(63893),d=e(33306),p=e(7901),t=e(91424),r=e(92998),c=e(64168),o=e(89298),n=e(18783),u=e(99082),i=u.enforce,g=u.clean,h=e(71739).doAutoRange,x="start",f="middle",l="end";B.layoutStyles=function(H){return C.syncOrAsync([a.doAutoMargin,T],H)};function y(H,z,k){for(var V=0;V=H[1]||Z[1]<=H[0])&&ee[0]z[0])return!0}return!1}function T(H){var z=H._fullLayout,k=z._size,V=k.p,Z=o.list(H,"",!0),ee,Q,ne,fe,$,Y;if(z._paperdiv.style({width:H._context.responsive&&z.autosize&&!H._context._hasZeroWidth&&!H.layout.width?"100%":z.width+"px",height:H._context.responsive&&z.autosize&&!H._context._hasZeroHeight&&!H.layout.height?"100%":z.height+"px"}).selectAll(".main-svg").call(t.setSize,z.width,z.height),H._context.setBackground(H,z.paper_bgcolor),B.drawMainTitle(H),c.manage(H),!z._has("cartesian"))return a.previousPromises(H);function j(Te,he,me){var Re=Te._lw/2;if(Te._id.charAt(0)==="x"){if(he){if(me==="top")return he._offset-V-Re}else return k.t+k.h*(1-(Te.position||0))+Re%1;return he._offset+he._length+V+Re}if(he){if(me==="right")return he._offset+he._length+V+Re}else return k.l+k.w*(Te.position||0)+Re%1;return he._offset-V-Re}for(ee=0;ee0&&(_(H,ee,$,fe),ne.attr({x:Q,y:ee,"text-anchor":V,dy:F(z.yanchor)}).call(w.positionText,Q,ee))}};function M(H,z,k,V,Z){var ee=z.yref==="paper"?H._fullLayout._size.h:H._fullLayout.height,Q=C.isTopAnchor(z)?V:V-Z,ne=k==="b"?ee-Q:Q;return C.isTopAnchor(z)&&k==="t"||C.isBottomAnchor(z)&&k==="b"?!1:ne.5?"t":"b",Q=H._fullLayout.margin[ee],ne=0;return z.yref==="paper"?ne=k+z.pad.t+z.pad.b:z.yref==="container"&&(ne=b(ee,V,Z,H._fullLayout.height,k)+z.pad.t+z.pad.b),ne>Q?ne:0}function _(H,z,k,V){var Z="title.automargin",ee=H._fullLayout.title,Q=ee.y>.5?"t":"b",ne={x:ee.x,y:ee.y,t:0,b:0},fe={};ee.yref==="paper"&&M(H,ee,Q,z,V)?ne[Q]=k:ee.yref==="container"&&(fe[Q]=k,H._fullLayout._reservedMargin[Z]=fe),a.allowAutoMargin(H,Z),a.autoMargin(H,Z,ne)}function A(H,z){var k=H.title,V=H._size,Z=0;switch(z===x?Z=k.pad.l:z===l&&(Z=-k.pad.r),k.xref){case"paper":return V.l+V.w*k.x+Z;case"container":default:return H.width*k.x+Z}}function D(H,z){var k=H.title,V=H._size,Z=0;if(z==="0em"||!z?Z=-k.pad.b:z===n.CAP_SHIFT+"em"&&(Z=k.pad.t),k.y==="auto")return V.t/2;switch(k.yref){case"paper":return V.t+V.h-V.h*k.y+Z;case"container":default:return H.height-H.height*k.y+Z}}function F(H){return H==="top"?n.CAP_SHIFT+.3+"em":H==="bottom"?"-0.3em":n.MID_SHIFT+"em"}function G(H){var z=H.title,k=f;return C.isRightAnchor(z)?k=l:C.isLeftAnchor(z)&&(k=x),k}function O(H){var z=H.title,k="0em";return C.isTopAnchor(z)?k=n.CAP_SHIFT+"em":C.isMiddleAnchor(z)&&(k=n.MID_SHIFT+"em"),k}B.doTraceStyle=function(H){var z=H.calcdata,k=[],V;for(V=0;VO?S.push({code:"unused",traceType:A,templateCount:G,dataCount:O}):O>G&&S.push({code:"reused",traceType:A,templateCount:G,dataCount:O})}}function H(z,k){for(var V in z)if(V.charAt(0)!=="_"){var Z=z[V],ee=u(z,V,k);E(Z)?(Array.isArray(z)&&Z._template===!1&&Z.templateitemname&&S.push({code:"missing",path:ee,templateitemname:Z.templateitemname}),H(Z,ee)):Array.isArray(Z)&&i(Z)&&H(Z,ee)}}if(H({data:m,layout:L},""),S.length)return S.map(g)};function i(h){for(var x=0;x1&&S.push(n("object","layout"))),E.supplyDefaults(L);for(var b=L._fullData,s=m.length,_=0;_A.length&&T.push(n("unused",S,s.concat(A.length)));var z=A.length,k=Array.isArray(H);k&&(z=Math.min(z,H.length));var V,Z,ee,Q,ne;if(D.dimensions===2)for(Z=0;ZA[Z].length&&T.push(n("unused",S,s.concat(Z,A[Z].length)));var fe=A[Z].length;for(V=0;V<(k?Math.min(fe,H[Z].length):fe);V++)ee=k?H[Z][V]:H,Q=_[Z][V],ne=A[Z][V],v.validate(Q,ee)?ne!==Q&&ne!==+Q&&T.push(n("dynamic",S,s.concat(Z,V),Q,ne)):T.push(n("value",S,s.concat(Z,V),Q))}else T.push(n("array",S,s.concat(Z),_[Z]));else for(Z=0;Z0&&Math.round(g)===g)i=g;else return{vals:o}}for(var h=r.calendar,x=n==="start",f=n==="end",l=t[c+"period0"],y=a(l,h)||0,T=[],S=[],L=[],m=o.length,M=0;Mb;)A=C(A,-i,h);for(;A<=b;)A=C(A,i,h);_=C(A,-i,h)}else{for(s=Math.round((b-y)/u),A=y+s*u;A>b;)A-=u;for(;A<=b;)A+=u;_=A-u}T[M]=x?_:f?A:(_+A)/2,S[M]=_,L[M]=A}return{vals:T,starts:S,ends:L}}},89502:function(U){U.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(U,B,e){var v=e(39898),E=e(92770),a=e(71828),C=e(50606).FP_SAFE,w=e(73972),d=e(91424),p=e(41675),t=p.getFromId,r=p.isLinked;U.exports={getAutoRange:c,makePadFn:n,doAutoRange:h,findExtremes:x,concatExtremes:g};function c(m,M){var b,s,_=[],A=m._fullLayout,D=n(A,M,0),F=n(A,M,1),G=g(m,M),O=G.min,H=G.max;if(O.length===0||H.length===0)return a.simpleMap(M.range,M.r2l);var z=O[0].val,k=H[0].val;for(b=1;b0&&(q=fe-D(j)-F(X),q>$?te/q>Y&&(re=j,le=X,Y=te/q):te/fe>Y&&(re={val:j.val,nopad:1},le={val:X.val,nopad:1},Y=te/fe));function ue(Ae,Be){return Math.max(Ae,F(Be))}if(z===k){var ae=z-1,de=z+1;if(Q)if(z===0)_=[0,1];else{var xe=(z>0?H:O).reduce(ue,0),Se=z/(1-Math.min(.5,xe/fe));_=z>0?[0,Se]:[Se,0]}else ne?_=[Math.max(0,ae),Math.max(1,de)]:_=[ae,de]}else Q?(re.val>=0&&(re={val:0,nopad:1}),le.val<=0&&(le={val:0,nopad:1})):ne&&(re.val-Y*D(re)<0&&(re={val:0,nopad:1}),le.val<=0&&(le={val:1,nopad:1})),Y=(le.val-re.val-o(M,j.val,X.val))/(fe-D(re)-F(le)),_=[re.val-Y*D(re),le.val+Y*F(le)];return V&&_.reverse(),a.simpleMap(_,M.l2r||Number)}function o(m,M,b){var s=0;if(m.rangebreaks)for(var _=m.locateBreaks(M,b),A=0;A<_.length;A++){var D=_[A];s+=D.max-D.min}return s}function n(m,M,b){var s=.05*M._length,_=M._anchorAxis||{};if((M.ticklabelposition||"").indexOf("inside")!==-1||(_.ticklabelposition||"").indexOf("inside")!==-1){var A=M.autorange==="reversed";if(!A){var D=a.simpleMap(M.range,M.r2l);A=D[1]0?b.ppadplus:b.ppadminus)||b.ppad||0),X=Y((m._m>0?b.ppadminus:b.ppadplus)||b.ppad||0),re=Y(b.vpadplus||b.vpad),le=Y(b.vpadminus||b.vpad);if(!O){if(fe=1/0,$=-1/0,G)for(z=0;z0&&(fe=k),k>$&&k-C&&(fe=k),k>$&&k=ue;z--)te(z);return{min:s,max:_,opts:b}}function f(m,M,b,s){y(m,M,b,s,S)}function l(m,M,b,s){y(m,M,b,s,L)}function y(m,M,b,s,_){for(var A=s.tozero,D=s.extrapad,F=!0,G=0;G=b&&(O.extrapad||!D)){F=!1;break}else _(M,O.val)&&O.pad<=b&&(D||!O.extrapad)&&(m.splice(G,1),G--)}if(F){var H=A&&M===0;m.push({val:M,pad:H?0:b,extrapad:H?!1:D})}}function T(m){return E(m)&&Math.abs(m)=M}},89298:function(U,B,e){var v=e(39898),E=e(92770),a=e(74875),C=e(73972),w=e(71828),d=w.strTranslate,p=e(63893),t=e(92998),r=e(7901),c=e(91424),o=e(13838),n=e(66287),u=e(50606),i=u.ONEMAXYEAR,g=u.ONEAVGYEAR,h=u.ONEMINYEAR,x=u.ONEMAXQUARTER,f=u.ONEAVGQUARTER,l=u.ONEMINQUARTER,y=u.ONEMAXMONTH,T=u.ONEAVGMONTH,S=u.ONEMINMONTH,L=u.ONEWEEK,m=u.ONEDAY,M=m/2,b=u.ONEHOUR,s=u.ONEMIN,_=u.ONESEC,A=u.MINUS_SIGN,D=u.BADNUM,F={K:"zeroline"},G={K:"gridline",L:"path"},O={K:"minor-gridline",L:"path"},H={K:"tick",L:"path"},z={K:"tick",L:"text"},k={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},V=e(18783),Z=V.MID_SHIFT,ee=V.CAP_SHIFT,Q=V.LINE_SPACING,ne=V.OPPOSITE_SIDE,fe=3,$=U.exports={};$.setConvert=e(21994);var Y=e(4322),j=e(41675),X=j.idSort,re=j.isLinked;$.id2name=j.id2name,$.name2id=j.name2id,$.cleanId=j.cleanId,$.list=j.list,$.listIds=j.listIds,$.getFromId=j.getFromId,$.getFromTrace=j.getFromTrace;var le=e(71739);$.getAutoRange=le.getAutoRange,$.findExtremes=le.findExtremes;var q=1e-4;function te(je){var We=(je[1]-je[0])*q;return[je[0]-We,je[1]+We]}$.coerceRef=function(je,We,It,kt,Yt,ar){var lr=kt.charAt(kt.length-1),rr=It._fullLayout._subplots[lr+"axis"],Nt=kt+"ref",cr={};return Yt||(Yt=rr[0]||(typeof ar=="string"?ar:ar[0])),ar||(ar=Yt),rr=rr.concat(rr.map(function(vr){return vr+" domain"})),cr[Nt]={valType:"enumerated",values:rr.concat(ar?typeof ar=="string"?[ar]:ar:[]),dflt:Yt},w.coerce(je,We,cr,Nt)},$.getRefType=function(je){return je===void 0?je:je==="paper"?"paper":je==="pixel"?"pixel":/( domain)$/.test(je)?"domain":"range"},$.coercePosition=function(je,We,It,kt,Yt,ar){var lr,rr,Nt=$.getRefType(kt);if(Nt!=="range")lr=w.ensureNumber,rr=It(Yt,ar);else{var cr=$.getFromId(We,kt);ar=cr.fraction2r(ar),rr=It(Yt,ar),lr=cr.cleanPos}je[Yt]=lr(rr)},$.cleanPosition=function(je,We,It){var kt=It==="paper"||It==="pixel"?w.ensureNumber:$.getFromId(We,It).cleanPos;return kt(je)},$.redrawComponents=function(je,We){We=We||$.listIds(je);var It=je._fullLayout;function kt(Yt,ar,lr,rr){for(var Nt=C.getComponentMethod(Yt,ar),cr={},vr=0;vr2e-6||((It-je._forceTick0)/je._minDtick%1+1.000001)%1>2e-6)&&(je._minDtick=0))},$.saveRangeInitial=function(je,We){for(var It=$.list(je,"",!0),kt=!1,Yt=0;Ytpr*.3||cr(kt)||cr(Yt))){var dr=It.dtick/2;je+=je+drlr){var rr=Number(It.substr(1));ar.exactYears>lr&&rr%12===0?je=$.tickIncrement(je,"M6","reverse")+m*1.5:ar.exactMonths>lr?je=$.tickIncrement(je,"M1","reverse")+m*15.5:je-=M;var Nt=$.tickIncrement(je,It);if(Nt<=kt)return Nt}return je}$.prepMinorTicks=function(je,We,It){if(!We.minor.dtick){delete je.dtick;var kt=We.dtick&&E(We._tmin),Yt;if(kt){var ar=$.tickIncrement(We._tmin,We.dtick,!0);Yt=[We._tmin,ar*.99+We._tmin*.01]}else{var lr=w.simpleMap(We.range,We.r2l);Yt=[lr[0],.8*lr[0]+.2*lr[1]]}if(je.range=w.simpleMap(Yt,We.l2r),je._isMinor=!0,$.prepTicks(je,It),kt){var rr=E(We.dtick),Nt=E(je.dtick),cr=rr?We.dtick:+We.dtick.substring(1),vr=Nt?je.dtick:+je.dtick.substring(1);rr&&Nt?Ae(cr,vr)?cr===2*L&&vr===2*m&&(je.dtick=L):cr===2*L&&vr===3*m?je.dtick=L:cr===L&&!(We._input.minor||{}).nticks?je.dtick=m:Be(cr/vr,2.5)?je.dtick=cr/2:je.dtick=cr:String(We.dtick).charAt(0)==="M"?Nt?je.dtick="M1":Ae(cr,vr)?cr>=12&&vr===2&&(je.dtick="M3"):je.dtick=We.dtick:String(je.dtick).charAt(0)==="L"?String(We.dtick).charAt(0)==="L"?Ae(cr,vr)||(je.dtick=Be(cr/vr,2.5)?We.dtick/2:We.dtick):je.dtick="D1":je.dtick==="D2"&&+We.dtick>1&&(je.dtick=1)}je.range=We.range}We.minor._tick0Init===void 0&&(je.tick0=We.tick0)};function Ae(je,We){return Math.abs((je/We+.5)%1-.5)<.001}function Be(je,We){return Math.abs(je/We-1)<.001}$.prepTicks=function(je,We){var It=w.simpleMap(je.range,je.r2l,void 0,void 0,We);if(je.tickmode==="auto"||!je.dtick){var kt=je.nticks,Yt;kt||(je.type==="category"||je.type==="multicategory"?(Yt=je.tickfont?w.bigFont(je.tickfont.size||12):15,kt=je._length/Yt):(Yt=je._id.charAt(0)==="y"?40:80,kt=w.constrain(je._length/Yt,4,9)+1),je._name==="radialaxis"&&(kt*=2)),je.minor&&je.minor.tickmode!=="array"||je.tickmode==="array"&&(kt*=100),je._roughDTick=Math.abs(It[1]-It[0])/kt,$.autoTicks(je,je._roughDTick),je._minDtick>0&&je.dtick0?(ar=kt-1,lr=kt):(ar=kt,lr=kt);var rr=je[ar].value,Nt=je[lr].value,cr=Math.abs(Nt-rr),vr=It||cr,pr=0;vr>=h?cr>=h&&cr<=i?pr=cr:pr=g:It===f&&vr>=l?cr>=l&&cr<=x?pr=cr:pr=f:vr>=S?cr>=S&&cr<=y?pr=cr:pr=T:It===L&&vr>=L?pr=L:vr>=m?pr=m:It===M&&vr>=M?pr=M:It===b&&vr>=b&&(pr=b);var dr;pr>=cr&&(pr=cr,dr=!0);var Yr=Yt+pr;if(We.rangebreaks&&pr>0){for(var zr=84,Or=0,mn=0;mnL&&(pr=cr)}(pr>0||kt===0)&&(je[kt].periodX=Yt+pr/2)}}$.calcTicks=function(We,It){for(var kt=We.type,Yt=We.calendar,ar=We.ticklabelstep,lr=We.ticklabelmode==="period",rr=w.simpleMap(We.range,We.r2l,void 0,void 0,It),Nt=rr[1]=(mn?0:1);Kr--){var kn=!Kr;Kr?(We._dtickInit=We.dtick,We._tick0Init=We.tick0):(We.minor._dtickInit=We.minor.dtick,We.minor._tick0Init=We.minor.tick0);var Dn=Kr?We:w.extendFlat({},We,We.minor);if(kn?$.prepMinorTicks(Dn,We,It):$.prepTicks(Dn,It),Dn.tickmode==="array"){Kr?(zr=[],dr=He(We)):(Or=[],Yr=He(We));continue}if(Dn.tickmode==="sync"){zr=[],dr=Ge(We);continue}var xr=te(rr),br=xr[0],Br=xr[1],Nr=E(Dn.dtick),en=kt==="log"&&!(Nr||Dn.dtick.charAt(0)==="L"),gn=$.tickFirst(Dn,It);if(Kr){if(We._tmin=gn,gn
=Br:Mn<=Br;Mn=$.tickIncrement(Mn,na,Nt,Yt)){if(Kr&&Rn++,Dn.rangebreaks&&!Nt){if(Mn
=vr)break}if(zr.length>pr||Mn===hn)break;hn=Mn;var ha={value:Mn};Kr?(en&&Mn!==(Mn|0)&&(ha.simpleLabel=!0),ar>1&&Rn%ar&&(ha.skipLabel=!0),zr.push(ha)):(ha.minor=!0,Or.push(ha))}}if(mn){var ia=We.minor.ticks==="inside"&&We.ticks==="outside"||We.minor.ticks==="outside"&&We.ticks==="inside";if(!ia){for(var aa=zr.map(function(An){return An.value}),Sr=[],ln=0;ln-1;_n--){if(zr[_n].drop){zr.splice(_n,1);continue}zr[_n].value=Vt(zr[_n].value,We);var ii=We.c2p(zr[_n].value);(Gn?Fa>ii-la:Favr||dnvr&&(on.periodX=vr),dnkt&&prg)We/=g,kt=Yt(10),je.dtick="M"+12*gt(We,kt,De);else if(ar>T)We/=T,je.dtick="M"+gt(We,1,Fe);else if(ar>m){if(je.dtick=gt(We,m,je._hasDayOfWeekBreaks?[1,2,7,14]:Qe),!It){var lr=$.getTickFormat(je),rr=je.ticklabelmode==="period";rr&&(je._rawTick0=je.tick0),/%[uVW]/.test(lr)?je.tick0=w.dateTick0(je.calendar,2):je.tick0=w.dateTick0(je.calendar,1),rr&&(je._dowTick0=je.tick0)}}else ar>b?je.dtick=gt(We,b,Fe):ar>s?je.dtick=gt(We,s,qe):ar>_?je.dtick=gt(We,_,qe):(kt=Yt(10),je.dtick=gt(We,kt,De))}else if(je.type==="log"){je.tick0=0;var Nt=w.simpleMap(je.range,je.r2l);if(je._isMinor&&(We*=1.5),We>.7)je.dtick=Math.ceil(We);else if(Math.abs(Nt[1]-Nt[0])<1){var cr=1.5*Math.abs((Nt[1]-Nt[0])/We);We=Math.abs(Math.pow(10,Nt[1])-Math.pow(10,Nt[0]))/cr,kt=Yt(10),je.dtick="L"+gt(We,kt,De)}else je.dtick=We>.3?"D2":"D1"}else je.type==="category"||je.type==="multicategory"?(je.tick0=0,je.dtick=Math.ceil(Math.max(We,1))):Ot(je)?(je.tick0=0,kt=1,je.dtick=gt(We,kt,ht)):(je.tick0=0,kt=Yt(10),je.dtick=gt(We,kt,De));if(je.dtick===0&&(je.dtick=1),!E(je.dtick)&&typeof je.dtick!="string"){var vr=je.dtick;throw je.dtick=1,"ax.dtick error: "+String(vr)}};function yt(je){var We=je.dtick;if(je._tickexponent=0,!E(We)&&typeof We!="string"&&(We=1),(je.type==="category"||je.type==="multicategory")&&(je._tickround=null),je.type==="date"){var It=je.r2l(je.tick0),kt=je.l2r(It).replace(/(^-|i)/g,""),Yt=kt.length;if(String(We).charAt(0)==="M")Yt>10||kt.substr(5)!=="01-01"?je._tickround="d":je._tickround=+We.substr(1)%12===0?"y":"m";else if(We>=m&&Yt<=10||We>=m*15)je._tickround="d";else if(We>=s&&Yt<=16||We>=b)je._tickround="M";else if(We>=_&&Yt<=19||We>=s)je._tickround="S";else{var ar=je.l2r(It+We).replace(/^-/,"").length;je._tickround=Math.max(Yt,ar)-20,je._tickround<0&&(je._tickround=4)}}else if(E(We)||We.charAt(0)==="L"){var lr=je.range.map(je.r2d||Number);E(We)||(We=Number(We.substr(1))),je._tickround=2-Math.floor(Math.log(We)/Math.LN10+.01);var rr=Math.max(Math.abs(lr[0]),Math.abs(lr[1])),Nt=Math.floor(Math.log(rr)/Math.LN10+.01),cr=je.minexponent===void 0?3:je.minexponent;Math.abs(Nt)>cr&&(he(je.exponentformat)&&!me(Nt)?je._tickexponent=3*Math.round((Nt-1)/3):je._tickexponent=Nt)}else je._tickround=null}$.tickIncrement=function(je,We,It,kt){var Yt=It?-1:1;if(E(We))return w.increment(je,Yt*We);var ar=We.charAt(0),lr=Yt*Number(We.substr(1));if(ar==="M")return w.incrementMonth(je,lr,kt);if(ar==="L")return Math.log(Math.pow(10,je)+lr)/Math.LN10;if(ar==="D"){var rr=We==="D2"?tt:Je,Nt=je+Yt*.01,cr=w.roundUp(w.mod(Nt,1),rr,It);return Math.floor(Nt)+Math.log(v.round(Math.pow(10,cr),1))/Math.LN10}throw"unrecognized dtick "+String(We)},$.tickFirst=function(je,We){var It=je.r2l||Number,kt=w.simpleMap(je.range,It,void 0,void 0,We),Yt=kt[1]=0&&Kr<=je._length?mn:null};Yt.xbnd=[Or(Yt.x-.5),Or(Yt.x+je.dtick-.5)]}return Yt},$.hoverLabelText=function(je,We,It){It&&(je=w.extendFlat({},je,{hoverformat:It}));var kt=Array.isArray(We)?We[0]:We,Yt=Array.isArray(We)?We[1]:void 0;if(Yt!==void 0&&Yt!==kt)return $.hoverLabelText(je,kt,It)+" - "+$.hoverLabelText(je,Yt,It);var ar=je.type==="log"&&kt<=0,lr=$.tickText(je,je.c2l(ar?-kt:kt),"hover").text;return ar?kt===0?"0":A+lr:lr};function Et(je,We,It){var kt=je.tickfont||{};return{x:We,dx:0,dy:0,text:It||"",fontSize:kt.size,font:kt.family,fontColor:kt.color}}function Xe(je,We,It,kt){var Yt=je._tickround,ar=It&&je.hoverformat||$.getTickFormat(je);kt&&(E(Yt)?Yt=4:Yt={y:"m",m:"d",d:"M",M:"S",S:4}[Yt]);var lr=w.formatDate(We.x,ar,Yt,je._dateFormat,je.calendar,je._extraFormat),rr,Nt=lr.indexOf(`
+`);if(Nt!==-1&&(rr=lr.substr(Nt+1),lr=lr.substr(0,Nt)),kt&&(lr==="00:00:00"||lr==="00:00"?(lr=rr,rr=""):lr.length===8&&(lr=lr.replace(/:00$/,""))),rr)if(It)Yt==="d"?lr+=", "+rr:lr=rr+(lr?", "+lr:"");else if(!je._inCalcTicks||je._prevDateHead!==rr)je._prevDateHead=rr,lr+="
"+rr;else{var cr=Jt(je),vr=je._trueSide||je.side;(!cr&&vr==="top"||cr&&vr==="bottom")&&(lr+="
")}We.text=lr}function Ue(je,We,It,kt,Yt){var ar=je.dtick,lr=We.x,rr=je.tickformat,Nt=typeof ar=="string"&&ar.charAt(0);if(Yt==="never"&&(Yt=""),kt&&Nt!=="L"&&(ar="L3",Nt="L"),rr||Nt==="L")We.text=Re(Math.pow(10,lr),je,Yt,kt);else if(E(ar)||Nt==="D"&&w.mod(lr+.01,1)<.1){var cr=Math.round(lr),vr=Math.abs(cr),pr=je.exponentformat;pr==="power"||he(pr)&&me(cr)?(cr===0?We.text=1:cr===1?We.text="10":We.text="10"+(cr>1?"":A)+vr+"",We.fontSize*=1.25):(pr==="e"||pr==="E")&&vr>2?We.text="1"+pr+(cr>0?"+":A)+vr:(We.text=Re(Math.pow(10,lr),je,"","fakehover"),ar==="D1"&&je._id.charAt(0)==="y"&&(We.dy-=We.fontSize/6))}else if(Nt==="D")We.text=String(Math.round(Math.pow(10,w.mod(lr,1)))),We.fontSize*=.75;else throw"unrecognized dtick "+String(ar);if(je.dtick==="D1"){var dr=String(We.text).charAt(0);(dr==="0"||dr==="1")&&(je._id.charAt(0)==="y"?We.dx-=We.fontSize/4:(We.dy+=We.fontSize/2,We.dx+=(je.range[1]>je.range[0]?1:-1)*We.fontSize*(lr<0?.5:.25)))}}function ze(je,We){var It=je._categories[Math.round(We.x)];It===void 0&&(It=""),We.text=String(It)}function rt(je,We,It){var kt=Math.round(We.x),Yt=je._categories[kt]||[],ar=Yt[1]===void 0?"":String(Yt[1]),lr=Yt[0]===void 0?"":String(Yt[0]);It?We.text=lr+" - "+ar:(We.text=ar,We.text2=lr)}function it(je,We,It,kt,Yt){Yt==="never"?Yt="":je.showexponent==="all"&&Math.abs(We.x/je.dtick)<1e-6&&(Yt="hide"),We.text=Re(We.x,je,Yt,kt)}function Ze(je,We,It,kt,Yt){if(je.thetaunit==="radians"&&!It){var ar=We.x/180;if(ar===0)We.text="0";else{var lr=Ie(ar);if(lr[1]>=100)We.text=Re(w.deg2rad(We.x),je,Yt,kt);else{var rr=We.x<0;lr[1]===1?lr[0]===1?We.text="π":We.text=lr[0]+"π":We.text=["",lr[0],"","⁄","",lr[1],"","π"].join(""),rr&&(We.text=A+We.text)}}}else We.text=Re(We.x,je,Yt,kt)}function Ie(je){function We(rr,Nt){return Math.abs(rr-Nt)<=1e-6}function It(rr,Nt){return We(Nt,0)?rr:It(Nt,rr%Nt)}function kt(rr){for(var Nt=1;!We(Math.round(rr*Nt)/Nt,rr);)Nt*=10;return Nt}var Yt=kt(je),ar=je*Yt,lr=Math.abs(It(ar,Yt));return[Math.round(ar/lr),Math.round(Yt/lr)]}var Te=["f","p","n","μ","m","","k","M","G","T"];function he(je){return je==="SI"||je==="B"}function me(je){return je>14||je<-15}function Re(je,We,It,kt){var Yt=je<0,ar=We._tickround,lr=It||We.exponentformat||"B",rr=We._tickexponent,Nt=$.getTickFormat(We),cr=We.separatethousands;if(kt){var vr={exponentformat:lr,minexponent:We.minexponent,dtick:We.showexponent==="none"?We.dtick:E(je)&&Math.abs(je)||1,range:We.showexponent==="none"?We.range.map(We.r2d):[0,je||1]};yt(vr),ar=(Number(vr._tickround)||0)+4,rr=vr._tickexponent,We.hoverformat&&(Nt=We.hoverformat)}if(Nt)return We._numFormat(Nt)(je).replace(/-/g,A);var pr=Math.pow(10,-ar)/2;if(lr==="none"&&(rr=0),je=Math.abs(je),je"+zr+"":lr==="B"&&rr===9?je+="B":he(lr)&&(je+=Te[rr/3+5])}return Yt?A+je:je}$.getTickFormat=function(je){var We;function It(Nt){return typeof Nt!="string"?Nt:Number(Nt.replace("M",""))*T}function kt(Nt,cr){var vr=["L","D"];if(typeof Nt==typeof cr){if(typeof Nt=="number")return Nt-cr;var pr=vr.indexOf(Nt.charAt(0)),dr=vr.indexOf(cr.charAt(0));return pr===dr?Number(Nt.replace(/(L|D)/g,""))-Number(cr.replace(/(L|D)/g,"")):pr-dr}else return typeof Nt=="number"?1:-1}function Yt(Nt,cr,vr){var pr=vr||function(zr){return zr},dr=cr[0],Yr=cr[1];return(!dr&&typeof dr!="number"||pr(dr)<=pr(Nt))&&(!Yr&&typeof Yr!="number"||pr(Yr)>=pr(Nt))}function ar(Nt,cr){var vr=cr[0]===null,pr=cr[1]===null,dr=kt(Nt,cr[0])>=0,Yr=kt(Nt,cr[1])<=0;return(vr||dr)&&(pr||Yr)}var lr,rr;if(je.tickformatstops&&je.tickformatstops.length>0)switch(je.type){case"date":case"linear":{for(We=0;We