import{r as ge,w as wt,s as Ra,a as La,b as Di,g as qa,o as Ca,c as Na,d as Ha,n as Ba,u as Wa,e as Ya}from"./vendor-vue-CrWqv-BE.js";var Fi=typeof global=="object"&&global&&global.Object===Object&&global,ka=typeof self=="object"&&self&&self.Object===Object&&self,ve=Fi||ka||Function("return this")(),se=ve.Symbol,ji=Object.prototype,Ua=ji.hasOwnProperty,Ga=ji.toString,nt=se?se.toStringTag:void 0;function za(e){var t=Ua.call(e,nt),r=e[nt];try{e[nt]=void 0;var n=!0}catch{}var i=Ga.call(e);return n&&(t?e[nt]=r:delete e[nt]),i}var Xa=Object.prototype,Va=Xa.toString;function Za(e){return Va.call(e)}var Ka="[object Null]",Qa="[object Undefined]",hn=se?se.toStringTag:void 0;function Le(e){return e==null?e===void 0?Qa:Ka:hn&&hn in Object(e)?za(e):Za(e)}function we(e){return e!=null&&typeof e=="object"}var Ja="[object Symbol]";function Kt(e){return typeof e=="symbol"||we(e)&&Le(e)==Ja}function Cr(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r0){if(++t>=Mo)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Do(e){return function(){return e}}var Gt=(function(){try{var e=Ce(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Fo=Gt?function(e,t){return Gt(e,"toString",{configurable:!0,enumerable:!1,value:Do(t),writable:!0})}:Nr,Li=Po(Fo);function jo(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=Ho}function Qe(e){return e!=null&&Yr(e.length)&&!Hr(e)}function Bo(e,t,r){if(!te(r))return!1;var n=typeof t;return(n=="number"?Qe(r)&&Qt(t,r.length):n=="string"&&t in r)?xt(r[t],e):!1}function Wo(e){return No(function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&Bo(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++n-1}function Qs(e,t){var r=this.__data__,n=Jt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function _e(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ti?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n=t?e:t)),e}function nh(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=ot(r),r=r===r?r:0),t!==void 0&&(t=ot(t),t=t===t?t:0),Of(ot(e),t,r)}function $f(){this.__data__=new _e,this.size=0}function _f(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Sf(e){return this.__data__.get(e)}function Af(e){return this.__data__.has(e)}var Mf=200;function Tf(e,t){var r=this.__data__;if(r instanceof _e){var n=r.__data__;if(!gt||n.lengths))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var c=-1,l=!0,v=r&rc?new Xt:void 0;for(a.set(e,t),a.set(t,e);++c=t||P<0||c&&F>=a}function p(){var O=dr();if(h(O))return _(O);s=setTimeout(p,g(O))}function _(O){return s=void 0,l&&n?v(O):(n=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),u=0,n=f=i=s=void 0}function $(){return s===void 0?o:_(dr())}function A(){var O=dr(),P=h(O);if(n=arguments,i=this,f=O,P){if(s===void 0)return b(f);if(c)return clearTimeout(s),s=setTimeout(p,t),v(f)}return s===void 0&&(s=setTimeout(p,t)),o}return A.cancel=y,A.flush=$,A}function xr(e,t,r){(r!==void 0&&!xt(e[t],r)||r===void 0&&!(t in e))&&Br(e,t,r)}function Gc(e){return we(e)&&Qe(e)}function Or(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function zc(e){return Ke(e,$t(e))}function Xc(e,t,r,n,i,a,o){var s=Or(e,r),f=Or(t,r),u=o.get(f);if(u){xr(e,r,u);return}var d=a?a(s,f,r+"",e,t,o):void 0,c=d===void 0;if(c){var l=Z(f),v=!l&&pt(f),b=!l&&!v&&Gr(f);d=f,l||v||b?Z(s)?d=s:Gc(s)?d=Ri(s):v?(c=!1,d=Xi(f,!0)):b?(c=!1,d=Ji(f,!0)):d=[]:Gi(f)||lt(f)?(d=s,lt(s)?d=zc(s):(!te(s)||Hr(s))&&(d=ea(f))):c=!1}c&&(o.set(f,d),i(d,f,n,a,o),o.delete(f)),xr(e,r,d)}function ca(e,t,r,n,i){e!==t&&ua(t,function(a,o){if(i||(i=new he),te(a))Xc(e,t,o,r,ca,n,i);else{var s=n?n(Or(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),xr(e,o,s)}},$t)}function Vc(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function oh(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var i=n-1;return Io(e,fa(t),i)}function Zc(e,t){var r=-1,n=Qe(e)?Array(e.length):[];return Wc(e,function(i,a,o){n[++r]=t(i,a,o)}),n}function Kc(e,t){var r=Z(e)?Cr:Zc;return r(e,fa(t))}function sh(e,t){return Yi(Kc(e,t))}function fh(e){for(var t=-1,r=e==null?0:e.length,n={};++t1),a}),Ke(e,Qi(e),r),n&&(r=ft(r,td|rd|nd,ed));for(var i=t.length;i--;)Jc(r,t[i]);return r});function da(e,t,r,n){if(!te(e))return e;t=Je(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++it in e?od(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dd=(e,t)=>{for(var r in t||(t={}))ud.call(t,r)&&kn(e,r,t[r]);if(Yn)for(var r of Yn(t))cd.call(t,r)&&kn(e,r,t[r]);return e},ld=(e,t)=>sd(e,fd(t));function mh(e,t){var r;const n=Ra();return La(()=>{n.value=e()},ld(dd({},t),{flush:(r=void 0)!=null?r:"sync"})),Di(n)}var Un;const nr=typeof window<"u",pd=e=>typeof e=="string",yh=(e,t,r)=>Math.min(r,Math.max(t,e)),Vt=()=>{},hd=nr&&((Un=window?.navigator)==null?void 0:Un.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function vt(e){return typeof e=="function"?e():Wa(e)}function gd(e,t){function r(...n){return new Promise((i,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(a)})}return r}function vd(e,t={}){let r,n,i=Vt;const a=s=>{clearTimeout(s),i(),i=Vt};return s=>{const f=vt(e),u=vt(t.maxWait);return r&&a(r),f<=0||u!==void 0&&u<=0?(n&&(a(n),n=null),Promise.resolve(s())):new Promise((d,c)=>{i=t.rejectOnCancel?c:d,u&&!n&&(n=setTimeout(()=>{r&&a(r),n=null,d(s())},u)),r=setTimeout(()=>{n&&a(n),n=null,d(s())},f)})}}function md(e){return e}function ir(e){return qa()?(Ca(e),!0):!1}function yd(e,t=200,r={}){return gd(vd(t,r),e)}function bh(e,t=200,r={}){const n=ge(e.value),i=yd(()=>{n.value=e.value},t,r);return wt(e,()=>i()),n}function la(e,t=!0){Na()?Ha(e):t?e():Ba(e)}function wh(e,t,r={}){const{immediate:n=!0}=r,i=ge(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,o()}function f(...u){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...u)},vt(t))}return n&&(i.value=!0,nr&&f()),ir(s),{isPending:Di(i),start:f,stop:s}}function ye(e){var t;const r=vt(e);return(t=r?.$el)!=null?t:r}const Ne=nr?window:void 0,bd=nr?window.document:void 0;function Ee(...e){let t,r,n,i;if(pd(e[0])||Array.isArray(e[0])?([r,n,i]=e,t=Ne):[t,r,n,i]=e,!t)return Vt;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],o=()=>{a.forEach(d=>d()),a.length=0},s=(d,c,l,v)=>(d.addEventListener(c,l,v),()=>d.removeEventListener(c,l,v)),f=wt(()=>[ye(t),vt(i)],([d,c])=>{o(),d&&a.push(...r.flatMap(l=>n.map(v=>s(d,l,v,c))))},{immediate:!0,flush:"post"}),u=()=>{f(),o()};return ir(u),u}let Gn=!1;function xh(e,t,r={}){const{window:n=Ne,ignore:i=[],capture:a=!0,detectIframe:o=!1}=r;if(!n)return;hd&&!Gn&&(Gn=!0,Array.from(n.document.body.children).forEach(l=>l.addEventListener("click",Vt)));let s=!0;const f=l=>i.some(v=>{if(typeof v=="string")return Array.from(n.document.querySelectorAll(v)).some(b=>b===l.target||l.composedPath().includes(b));{const b=ye(v);return b&&(l.target===b||l.composedPath().includes(b))}}),d=[Ee(n,"click",l=>{const v=ye(e);if(!(!v||v===l.target||l.composedPath().includes(v))){if(l.detail===0&&(s=!f(l)),!s){s=!0;return}t(l)}},{passive:!0,capture:a}),Ee(n,"pointerdown",l=>{const v=ye(e);v&&(s=!l.composedPath().includes(v)&&!f(l))},{passive:!0}),o&&Ee(n,"blur",l=>{var v;const b=ye(e);((v=n.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!b?.contains(n.document.activeElement)&&t(l)})].filter(Boolean);return()=>d.forEach(l=>l())}function pa(e,t=!1){const r=ge(),n=()=>r.value=!!e();return n(),la(n,t),r}const zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xn="__vueuse_ssr_handlers__";zn[Xn]=zn[Xn]||{};function Oh({document:e=bd}={}){if(!e)return ge("visible");const t=ge(e.visibilityState);return Ee(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Vn=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,Od=(e,t)=>{var r={};for(var n in e)wd.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Vn)for(var n of Vn(e))t.indexOf(n)<0&&xd.call(e,n)&&(r[n]=e[n]);return r};function $d(e,t,r={}){const n=r,{window:i=Ne}=n,a=Od(n,["window"]);let o;const s=pa(()=>i&&"ResizeObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=wt(()=>ye(e),c=>{f(),s.value&&i&&c&&(o=new ResizeObserver(t),o.observe(c,a))},{immediate:!0,flush:"post"}),d=()=>{f(),u()};return ir(d),{isSupported:s,stop:d}}function $h(e,t={width:0,height:0},r={}){const{window:n=Ne,box:i="content-box"}=r,a=Ya(()=>{var f,u;return(u=(f=ye(e))==null?void 0:f.namespaceURI)==null?void 0:u.includes("svg")}),o=ge(t.width),s=ge(t.height);return $d(e,([f])=>{const u=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(n&&a.value){const d=ye(e);if(d){const c=n.getComputedStyle(d);o.value=parseFloat(c.width),s.value=parseFloat(c.height)}}else if(u){const d=Array.isArray(u)?u:[u];o.value=d.reduce((c,{inlineSize:l})=>c+l,0),s.value=d.reduce((c,{blockSize:l})=>c+l,0)}else o.value=f.contentRect.width,s.value=f.contentRect.height},r),wt(()=>ye(e),f=>{o.value=f?t.width:0,s.value=f?t.height:0}),{width:o,height:s}}var Zn=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,Sd=Object.prototype.propertyIsEnumerable,Ad=(e,t)=>{var r={};for(var n in e)_d.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Zn)for(var n of Zn(e))t.indexOf(n)<0&&Sd.call(e,n)&&(r[n]=e[n]);return r};function _h(e,t,r={}){const n=r,{window:i=Ne}=n,a=Ad(n,["window"]);let o;const s=pa(()=>i&&"MutationObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=wt(()=>ye(e),c=>{f(),s.value&&i&&c&&(o=new MutationObserver(t),o.observe(c,a))},{immediate:!0}),d=()=>{f(),u()};return ir(d),{isSupported:s,stop:d}}var Kn;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Kn||(Kn={}));var Md=Object.defineProperty,Qn=Object.getOwnPropertySymbols,Td=Object.prototype.hasOwnProperty,Ed=Object.prototype.propertyIsEnumerable,Jn=(e,t,r)=>t in e?Md(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pd=(e,t)=>{for(var r in t||(t={}))Td.call(t,r)&&Jn(e,r,t[r]);if(Qn)for(var r of Qn(t))Ed.call(t,r)&&Jn(e,r,t[r]);return e};const Dd={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]};Pd({linear:md},Dd);function Sh({window:e=Ne}={}){if(!e)return ge(!1);const t=ge(e.document.hasFocus());return Ee(e,"blur",()=>{t.value=!1}),Ee(e,"focus",()=>{t.value=!0}),t}function Ah(e={}){const{window:t=Ne,initialWidth:r=1/0,initialHeight:n=1/0,listenOrientation:i=!0,includeScrollbar:a=!0}=e,o=ge(r),s=ge(n),f=()=>{t&&(a?(o.value=t.innerWidth,s.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return f(),la(f),Ee("resize",f,{passive:!0}),i&&Ee("orientationchange",f,{passive:!0}),{width:o,height:s}}var J="top",fe="bottom",ue="right",ee="left",Jr="auto",_t=[J,fe,ue,ee],Ge="start",mt="end",Fd="clippingParents",ha="viewport",it="popper",jd="reference",ei=_t.reduce(function(e,t){return e.concat([t+"-"+Ge,t+"-"+mt])},[]),ga=[].concat(_t,[Jr]).reduce(function(e,t){return e.concat([t,t+"-"+Ge,t+"-"+mt])},[]),Id="beforeRead",Rd="read",Ld="afterRead",qd="beforeMain",Cd="main",Nd="afterMain",Hd="beforeWrite",Bd="write",Wd="afterWrite",Yd=[Id,Rd,Ld,qd,Cd,Nd,Hd,Bd,Wd];function xe(e){return e?(e.nodeName||"").toLowerCase():null}function me(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ze(e){var t=me(e).Element;return e instanceof t||e instanceof Element}function oe(e){var t=me(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function en(e){if(typeof ShadowRoot>"u")return!1;var t=me(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kd(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!oe(a)||!xe(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function Ud(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=o.reduce(function(f,u){return f[u]="",f},{});!oe(i)||!xe(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(f){i.removeAttribute(f)}))})}}var va={name:"applyStyles",enabled:!0,phase:"write",fn:kd,effect:Ud,requires:["computeStyles"]};function be(e){return e.split("-")[0]}var Ie=Math.max,Zt=Math.min,Xe=Math.round;function Ve(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),n=1,i=1;if(oe(e)&&t){var a=e.offsetHeight,o=e.offsetWidth;o>0&&(n=Xe(r.width)/o||1),a>0&&(i=Xe(r.height)/a||1)}return{width:r.width/n,height:r.height/i,top:r.top/i,right:r.right/n,bottom:r.bottom/i,left:r.left/n,x:r.left/n,y:r.top/i}}function tn(e){var t=Ve(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ma(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&en(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function $e(e){return me(e).getComputedStyle(e)}function Gd(e){return["table","td","th"].indexOf(xe(e))>=0}function Pe(e){return((ze(e)?e.ownerDocument:e.document)||window.document).documentElement}function ar(e){return xe(e)==="html"?e:e.assignedSlot||e.parentNode||(en(e)?e.host:null)||Pe(e)}function ti(e){return!oe(e)||$e(e).position==="fixed"?null:e.offsetParent}function zd(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&oe(e)){var n=$e(e);if(n.position==="fixed")return null}var i=ar(e);for(en(i)&&(i=i.host);oe(i)&&["html","body"].indexOf(xe(i))<0;){var a=$e(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function St(e){for(var t=me(e),r=ti(e);r&&Gd(r)&&$e(r).position==="static";)r=ti(r);return r&&(xe(r)==="html"||xe(r)==="body"&&$e(r).position==="static")?t:r||zd(e)||t}function rn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ut(e,t,r){return Ie(e,Zt(t,r))}function Xd(e,t,r){var n=ut(e,t,r);return n>r?r:n}function ya(){return{top:0,right:0,bottom:0,left:0}}function ba(e){return Object.assign({},ya(),e)}function wa(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Vd=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ba(typeof e!="number"?e:wa(e,_t))};function Zd(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=be(r.placement),f=rn(s),u=[ee,ue].indexOf(s)>=0,d=u?"height":"width";if(!(!a||!o)){var c=Vd(i.padding,r),l=tn(a),v=f==="y"?J:ee,b=f==="y"?fe:ue,g=r.rects.reference[d]+r.rects.reference[f]-o[f]-r.rects.popper[d],h=o[f]-r.rects.reference[f],p=St(a),_=p?f==="y"?p.clientHeight||0:p.clientWidth||0:0,y=g/2-h/2,$=c[v],A=_-l[d]-c[b],O=_/2-l[d]/2+y,P=ut($,O,A),F=f;r.modifiersData[n]=(t={},t[F]=P,t.centerOffset=P-O,t)}}function Kd(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!ma(t.elements.popper,i)||(t.elements.arrow=i))}var Qd={name:"arrow",enabled:!0,phase:"main",fn:Zd,effect:Kd,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ze(e){return e.split("-")[1]}var Jd={top:"auto",right:"auto",bottom:"auto",left:"auto"};function el(e){var t=e.x,r=e.y,n=window,i=n.devicePixelRatio||1;return{x:Xe(t*i)/i||0,y:Xe(r*i)/i||0}}function ri(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,f=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,l=o.x,v=l===void 0?0:l,b=o.y,g=b===void 0?0:b,h=typeof d=="function"?d({x:v,y:g}):{x:v,y:g};v=h.x,g=h.y;var p=o.hasOwnProperty("x"),_=o.hasOwnProperty("y"),y=ee,$=J,A=window;if(u){var O=St(r),P="clientHeight",F="clientWidth";if(O===me(r)&&(O=Pe(r),$e(O).position!=="static"&&s==="absolute"&&(P="scrollHeight",F="scrollWidth")),O=O,i===J||(i===ee||i===ue)&&a===mt){$=fe;var L=c&&O===A&&A.visualViewport?A.visualViewport.height:O[P];g-=L-n.height,g*=f?1:-1}if(i===ee||(i===J||i===fe)&&a===mt){y=ue;var j=c&&O===A&&A.visualViewport?A.visualViewport.width:O[F];v-=j-n.width,v*=f?1:-1}}var T=Object.assign({position:s},u&&Jd),q=d===!0?el({x:v,y:g}):{x:v,y:g};if(v=q.x,g=q.y,f){var R;return Object.assign({},T,(R={},R[$]=_?"0":"",R[y]=p?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",R))}return Object.assign({},T,(t={},t[$]=_?g+"px":"",t[y]=p?v+"px":"",t.transform="",t))}function tl(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,s=r.roundOffsets,f=s===void 0?!0:s,u={placement:be(t.placement),variation:Ze(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ri(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ri(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var xa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tl,data:{}},Tt={passive:!0};function rl(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,s=o===void 0?!0:o,f=me(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(d){d.addEventListener("scroll",r.update,Tt)}),s&&f.addEventListener("resize",r.update,Tt),function(){a&&u.forEach(function(d){d.removeEventListener("scroll",r.update,Tt)}),s&&f.removeEventListener("resize",r.update,Tt)}}var Oa={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:rl,data:{}},nl={left:"right",right:"left",bottom:"top",top:"bottom"};function Ft(e){return e.replace(/left|right|bottom|top/g,function(t){return nl[t]})}var il={start:"end",end:"start"};function ni(e){return e.replace(/start|end/g,function(t){return il[t]})}function nn(e){var t=me(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function an(e){return Ve(Pe(e)).left+nn(e).scrollLeft}function al(e){var t=me(e),r=Pe(e),n=t.visualViewport,i=r.clientWidth,a=r.clientHeight,o=0,s=0;return n&&(i=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=n.offsetLeft,s=n.offsetTop)),{width:i,height:a,x:o+an(e),y:s}}function ol(e){var t,r=Pe(e),n=nn(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Ie(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Ie(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+an(e),f=-n.scrollTop;return $e(i||r).direction==="rtl"&&(s+=Ie(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:f}}function on(e){var t=$e(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function $a(e){return["html","body","#document"].indexOf(xe(e))>=0?e.ownerDocument.body:oe(e)&&on(e)?e:$a(ar(e))}function ct(e,t){var r;t===void 0&&(t=[]);var n=$a(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=me(n),o=i?[a].concat(a.visualViewport||[],on(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(ct(ar(o)))}function $r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sl(e){var t=Ve(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ii(e,t){return t===ha?$r(al(e)):ze(t)?sl(t):$r(ol(Pe(e)))}function fl(e){var t=ct(ar(e)),r=["absolute","fixed"].indexOf($e(e).position)>=0,n=r&&oe(e)?St(e):e;return ze(n)?t.filter(function(i){return ze(i)&&ma(i,n)&&xe(i)!=="body"}):[]}function ul(e,t,r){var n=t==="clippingParents"?fl(e):[].concat(t),i=[].concat(n,[r]),a=i[0],o=i.reduce(function(s,f){var u=ii(e,f);return s.top=Ie(u.top,s.top),s.right=Zt(u.right,s.right),s.bottom=Zt(u.bottom,s.bottom),s.left=Ie(u.left,s.left),s},ii(e,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function _a(e){var t=e.reference,r=e.element,n=e.placement,i=n?be(n):null,a=n?Ze(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,f;switch(i){case J:f={x:o,y:t.y-r.height};break;case fe:f={x:o,y:t.y+t.height};break;case ue:f={x:t.x+t.width,y:s};break;case ee:f={x:t.x-r.width,y:s};break;default:f={x:t.x,y:t.y}}var u=i?rn(i):null;if(u!=null){var d=u==="y"?"height":"width";switch(a){case Ge:f[u]=f[u]-(t[d]/2-r[d]/2);break;case mt:f[u]=f[u]+(t[d]/2-r[d]/2);break}}return f}function yt(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.boundary,o=a===void 0?Fd:a,s=r.rootBoundary,f=s===void 0?ha:s,u=r.elementContext,d=u===void 0?it:u,c=r.altBoundary,l=c===void 0?!1:c,v=r.padding,b=v===void 0?0:v,g=ba(typeof b!="number"?b:wa(b,_t)),h=d===it?jd:it,p=e.rects.popper,_=e.elements[l?h:d],y=ul(ze(_)?_:_.contextElement||Pe(e.elements.popper),o,f),$=Ve(e.elements.reference),A=_a({reference:$,element:p,placement:i}),O=$r(Object.assign({},p,A)),P=d===it?O:$,F={top:y.top-P.top+g.top,bottom:P.bottom-y.bottom+g.bottom,left:y.left-P.left+g.left,right:P.right-y.right+g.right},L=e.modifiersData.offset;if(d===it&&L){var j=L[i];Object.keys(F).forEach(function(T){var q=[ue,fe].indexOf(T)>=0?1:-1,R=[J,fe].indexOf(T)>=0?"y":"x";F[T]+=j[R]*q})}return F}function cl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,u=f===void 0?ga:f,d=Ze(n),c=d?s?ei:ei.filter(function(b){return Ze(b)===d}):_t,l=c.filter(function(b){return u.indexOf(b)>=0});l.length===0&&(l=c);var v=l.reduce(function(b,g){return b[g]=yt(e,{placement:g,boundary:i,rootBoundary:a,padding:o})[be(g)],b},{});return Object.keys(v).sort(function(b,g){return v[b]-v[g]})}function dl(e){if(be(e)===Jr)return[];var t=Ft(e);return[ni(e),t,ni(t)]}function ll(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!0:o,f=r.fallbackPlacements,u=r.padding,d=r.boundary,c=r.rootBoundary,l=r.altBoundary,v=r.flipVariations,b=v===void 0?!0:v,g=r.allowedAutoPlacements,h=t.options.placement,p=be(h),_=p===h,y=f||(_||!b?[Ft(h)]:dl(h)),$=[h].concat(y).reduce(function(B,k){return B.concat(be(k)===Jr?cl(t,{placement:k,boundary:d,rootBoundary:c,padding:u,flipVariations:b,allowedAutoPlacements:g}):k)},[]),A=t.rects.reference,O=t.rects.popper,P=new Map,F=!0,L=$[0],j=0;j<$.length;j++){var T=$[j],q=be(T),R=Ze(T)===Ge,M=[J,fe].indexOf(q)>=0,w=M?"width":"height",m=yt(t,{placement:T,boundary:d,rootBoundary:c,altBoundary:l,padding:u}),S=M?R?ue:ee:R?fe:J;A[w]>O[w]&&(S=Ft(S));var x=Ft(S),E=[];if(a&&E.push(m[q]<=0),s&&E.push(m[S]<=0,m[x]<=0),E.every(function(B){return B})){L=T,F=!1;break}P.set(T,E)}if(F)for(var D=b?3:1,I=function(B){var k=$.find(function(re){var V=P.get(re);if(V)return V.slice(0,B).every(function(K){return K})});if(k)return L=k,"break"},N=D;N>0;N--){var H=I(N);if(H==="break")break}t.placement!==L&&(t.modifiersData[n]._skip=!0,t.placement=L,t.reset=!0)}}var pl={name:"flip",enabled:!0,phase:"main",fn:ll,requiresIfExists:["offset"],data:{_skip:!1}};function ai(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function oi(e){return[J,ue,fe,ee].some(function(t){return e[t]>=0})}function hl(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=yt(t,{elementContext:"reference"}),s=yt(t,{altBoundary:!0}),f=ai(o,n),u=ai(s,i,a),d=oi(f),c=oi(u);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}var gl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hl};function vl(e,t,r){var n=be(e),i=[ee,J].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[ee,ue].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function ml(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=ga.reduce(function(d,c){return d[c]=vl(c,t.rects,a),d},{}),s=o[t.placement],f=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=o}var yl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ml};function bl(e){var t=e.state,r=e.name;t.modifiersData[r]=_a({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Sa={name:"popperOffsets",enabled:!0,phase:"read",fn:bl,data:{}};function wl(e){return e==="x"?"y":"x"}function xl(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,s=o===void 0?!1:o,f=r.boundary,u=r.rootBoundary,d=r.altBoundary,c=r.padding,l=r.tether,v=l===void 0?!0:l,b=r.tetherOffset,g=b===void 0?0:b,h=yt(t,{boundary:f,rootBoundary:u,padding:c,altBoundary:d}),p=be(t.placement),_=Ze(t.placement),y=!_,$=rn(p),A=wl($),O=t.modifiersData.popperOffsets,P=t.rects.reference,F=t.rects.popper,L=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,j=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(O){if(a){var R,M=$==="y"?J:ee,w=$==="y"?fe:ue,m=$==="y"?"height":"width",S=O[$],x=S+h[M],E=S-h[w],D=v?-F[m]/2:0,I=_===Ge?P[m]:F[m],N=_===Ge?-F[m]:-P[m],H=t.elements.arrow,B=v&&H?tn(H):{width:0,height:0},k=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ya(),re=k[M],V=k[w],K=ut(0,P[m],B[m]),ae=y?P[m]/2-D-K-re-j.mainAxis:I-K-re-j.mainAxis,U=y?-P[m]/2+D+K+V+j.mainAxis:N+K+V+j.mainAxis,X=t.elements.arrow&&St(t.elements.arrow),ce=X?$==="y"?X.clientTop||0:X.clientLeft||0:0,de=(R=T?.[$])!=null?R:0,He=S+ae-de-ce,Be=S+U-de,We=ut(v?Zt(x,He):x,S,v?Ie(E,Be):E);O[$]=We,q[$]=We-S}if(s){var Ye,tt=$==="x"?J:ee,rt=$==="x"?fe:ue,Me=O[A],At=A==="y"?"height":"width",fn=Me+h[tt],un=Me-h[rt],sr=[J,ee].indexOf(p)!==-1,cn=(Ye=T?.[A])!=null?Ye:0,dn=sr?fn:Me-P[At]-F[At]-cn+j.altAxis,ln=sr?Me+P[At]+F[At]-cn-j.altAxis:un,pn=v&&sr?Xd(dn,Me,ln):ut(v?dn:fn,Me,v?ln:un);O[A]=pn,q[A]=pn-Me}t.modifiersData[n]=q}}var Ol={name:"preventOverflow",enabled:!0,phase:"main",fn:xl,requiresIfExists:["offset"]};function $l(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _l(e){return e===me(e)||!oe(e)?nn(e):$l(e)}function Sl(e){var t=e.getBoundingClientRect(),r=Xe(t.width)/e.offsetWidth||1,n=Xe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Al(e,t,r){r===void 0&&(r=!1);var n=oe(t),i=oe(t)&&Sl(t),a=Pe(t),o=Ve(e,i),s={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((xe(t)!=="body"||on(a))&&(s=_l(t)),oe(t)?(f=Ve(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=an(a))),{x:o.left+s.scrollLeft-f.x,y:o.top+s.scrollTop-f.y,width:o.width,height:o.height}}function Ml(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var f=t.get(s);f&&i(f)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Tl(e){var t=Ml(e);return Yd.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function El(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Pl(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var si={placement:"bottom",modifiers:[],strategy:"absolute"};function fi(){for(var e=arguments.length,t=new Array(e),r=0;r1)&&(e=1),e}function Pt(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Fe(e){return e.length===1?"0"+e:String(e)}function Rl(e,t,r){return{r:z(e,255)*255,g:z(t,255)*255,b:z(r,255)*255}}function ui(e,t,r){e=z(e,255),t=z(t,255),r=z(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=0,s=(n+i)/2;if(n===i)o=0,a=0;else{var f=n-i;switch(o=s>.5?f/(2-n-i):f/(n+i),n){case e:a=(t-r)/f+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ll(e,t,r){var n,i,a;if(e=z(e,360),t=z(t,100),r=z(r,100),t===0)i=r,a=r,n=r;else{var o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;n=lr(s,o,e+1/3),i=lr(s,o,e),a=lr(s,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function ci(e,t,r){e=z(e,255),t=z(t,255),r=z(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=n,s=n-i,f=n===0?0:s/n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/s+(t>16,g:(e&65280)>>8,b:e&255}}var _r={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 Bl(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;return typeof e=="string"&&(e=kl(e)),typeof e=="object"&&(Oe(e.r)&&Oe(e.g)&&Oe(e.b)?(t=Rl(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Oe(e.h)&&Oe(e.s)&&Oe(e.v)?(n=Pt(e.s),i=Pt(e.v),t=ql(e.h,n,i),o=!0,s="hsv"):Oe(e.h)&&Oe(e.s)&&Oe(e.l)&&(n=Pt(e.s),a=Pt(e.l),t=Ll(e.h,n,a),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Aa(r),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Wl="[-\\+]?\\d+%?",Yl="[-\\+]?\\d*\\.\\d+%?",Te="(?:".concat(Yl,")|(?:").concat(Wl,")"),pr="[\\s|\\(]+(".concat(Te,")[,|\\s]+(").concat(Te,")[,|\\s]+(").concat(Te,")\\s*\\)?"),hr="[\\s|\\(]+(".concat(Te,")[,|\\s]+(").concat(Te,")[,|\\s]+(").concat(Te,")[,|\\s]+(").concat(Te,")\\s*\\)?"),le={CSS_UNIT:new RegExp(Te),rgb:new RegExp("rgb"+pr),rgba:new RegExp("rgba"+hr),hsl:new RegExp("hsl"+pr),hsla:new RegExp("hsla"+hr),hsv:new RegExp("hsv"+pr),hsva:new RegExp("hsva"+hr),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 kl(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(_r[e])e=_r[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=le.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=le.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=le.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=le.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=le.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=le.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=le.hex8.exec(e),r?{r:ne(r[1]),g:ne(r[2]),b:ne(r[3]),a:li(r[4]),format:t?"name":"hex8"}:(r=le.hex6.exec(e),r?{r:ne(r[1]),g:ne(r[2]),b:ne(r[3]),format:t?"name":"hex"}:(r=le.hex4.exec(e),r?{r:ne(r[1]+r[1]),g:ne(r[2]+r[2]),b:ne(r[3]+r[3]),a:li(r[4]+r[4]),format:t?"name":"hex8"}:(r=le.hex3.exec(e),r?{r:ne(r[1]+r[1]),g:ne(r[2]+r[2]),b:ne(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Oe(e){return!!le.CSS_UNIT.exec(String(e))}var Th=(function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=Hl(t)),this.originalInput=t;var i=Bl(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.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=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,a=t.r/255,o=t.g/255,s=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Aa(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=ci(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=ci(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=ui(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=ui(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),di(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Cl(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(z(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(z(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+di(this.r,this.g,this.b,!1),r=0,n=Object.entries(_r);r=0,a=!r&&i&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Et(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Et(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Et(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Et(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return new e(o)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,a=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(new e(n));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/t;t--;)o.push(new e({h:n,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],a=360/t,o=1;o=w?M:""+Array(w+1-S.length).join(m)+M},$={s:y,z:function(M){var w=-M.utcOffset(),m=Math.abs(w),S=Math.floor(m/60),x=m%60;return(w<=0?"+":"-")+y(S,2,"0")+":"+y(x,2,"0")},m:function M(w,m){if(w.date()1)return M(D[0])}else{var I=w.name;O[I]=w,x=I}return!S&&x&&(A=x),x||!S&&A},j=function(M,w){if(F(M))return M.clone();var m=typeof w=="object"?w:{};return m.date=M,m.args=arguments,new q(m)},T=$;T.l=L,T.i=F,T.w=function(M,w){return j(M,{locale:w.$L,utc:w.$u,x:w.$x,$offset:w.$offset})};var q=(function(){function M(m){this.$L=L(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[P]=!0}var w=M.prototype;return w.parse=function(m){this.$d=(function(S){var x=S.date,E=S.utc;if(x===null)return new Date(NaN);if(T.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var D=x.match(h);if(D){var I=D[2]-1||0,N=(D[7]||"0").substring(0,3);return E?new Date(Date.UTC(D[1],I,D[3]||1,D[4]||0,D[5]||0,D[6]||0,N)):new Date(D[1],I,D[3]||1,D[4]||0,D[5]||0,D[6]||0,N)}}return new Date(x)})(m),this.init()},w.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},w.$utils=function(){return T},w.isValid=function(){return this.$d.toString()!==g},w.isSame=function(m,S){var x=j(m);return this.startOf(S)<=x&&x<=this.endOf(S)},w.isAfter=function(m,S){return j(m)68?1900:2e3)},d=function(h){return function(p){this[h]=+p}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=(function(p){if(!p||p==="Z")return 0;var _=p.match(/([+-]|\d\d)/g),y=60*_[1]+(+_[2]||0);return y===0?0:_[0]==="+"?-y:y})(h)}],l=function(h){var p=f[h];return p&&(p.indexOf?p:p.s.concat(p.f))},v=function(h,p){var _,y=f.meridiem;if(y){for(var $=1;$<=24;$+=1)if(h.indexOf(y($,0,p))>-1){_=$>12;break}}else _=h===(p?"pm":"PM");return _},b={A:[s,function(h){this.afternoon=v(h,!1)}],a:[s,function(h){this.afternoon=v(h,!0)}],Q:[i,function(h){this.month=3*(h-1)+1}],S:[i,function(h){this.milliseconds=100*+h}],SS:[a,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[a,d("day")],Do:[s,function(h){var p=f.ordinal,_=h.match(/\d+/);if(this.day=_[0],p)for(var y=1;y<=31;y+=1)p(y).replace(/\[|\]/g,"")===h&&(this.day=y)}],w:[o,d("week")],ww:[a,d("week")],M:[o,d("month")],MM:[a,d("month")],MMM:[s,function(h){var p=l("months"),_=(l("monthsShort")||p.map((function(y){return y.slice(0,3)}))).indexOf(h)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[s,function(h){var p=l("months").indexOf(h)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(h){this.year=u(h)}],YYYY:[/\d{4}/,d("year")],Z:c,ZZ:c};function g(h){var p,_;p=h,_=f&&f.formats;for(var y=(h=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(j,T,q){var R=q&&q.toUpperCase();return T||_[q]||r[q]||_[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(M,w,m){return w||m.slice(1)}))}))).match(n),$=y.length,A=0;A<$;A+=1){var O=y[A],P=b[O],F=P&&P[0],L=P&&P[1];y[A]=L?{regex:F,parser:L}:O.replace(/^\[|\]$/g,"")}return function(j){for(var T={},q=0,R=0;q<$;q+=1){var M=y[q];if(typeof M=="string")R+=M.length;else{var w=M.regex,m=M.parser,S=j.slice(R),x=w.exec(S)[0];m.call(T,x),j=j.replace(x,"")}}return(function(E){var D=E.afternoon;if(D!==void 0){var I=E.hours;D?I<12&&(E.hours+=12):I===12&&(E.hours=0),delete E.afternoon}})(T),T}}return function(h,p,_){_.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(u=h.parseTwoDigitYear);var y=p.prototype,$=y.parse;y.parse=function(A){var O=A.date,P=A.utc,F=A.args;this.$u=P;var L=F[1];if(typeof L=="string"){var j=F[2]===!0,T=F[3]===!0,q=j||T,R=F[2];T&&(R=F[2]),f=this.$locale(),!j&&R&&(f=_.Ls[R]),this.$d=(function(S,x,E,D){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*S);var I=g(x)(S),N=I.year,H=I.month,B=I.day,k=I.hours,re=I.minutes,V=I.seconds,K=I.milliseconds,ae=I.zone,U=I.week,X=new Date,ce=B||(N||H?1:X.getDate()),de=N||X.getFullYear(),He=0;N&&!H||(He=H>0?H-1:X.getMonth());var Be,We=k||0,Ye=re||0,tt=V||0,rt=K||0;return ae?new Date(Date.UTC(de,He,ce,We,Ye,tt,rt+60*ae.offset*1e3)):E?new Date(Date.UTC(de,He,ce,We,Ye,tt,rt)):(Be=new Date(de,He,ce,We,Ye,tt,rt),U&&(Be=D(Be).week(U).toDate()),Be)}catch{return new Date("")}})(O,L,P,_),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),q&&O!=this.format(L)&&(this.$d=new Date("")),f={}}else if(L instanceof Array)for(var M=L.length,w=1;w<=M;w+=1){F[1]=L[w-1];var m=_.apply(this,F);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}w===M&&(this.$d=new Date(""))}else $.call(this,A)}}}))})(Rt)),Rt.exports}var Jl=Ql();const Dh=Ae(Jl);var Lt={exports:{}},ep=Lt.exports,vi;function tp(){return vi||(vi=1,(function(e,t){(function(r,n){e.exports=n()})(ep,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var s=this,f=this.$locale();if(!this.isValid())return a.bind(this)(o);var u=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(c){switch(c){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return f.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return f.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),c==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),c==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),c==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return c}}));return a.bind(this)(d)}}}))})(Lt)),Lt.exports}var rp=tp();const Fh=Ae(rp);var qt={exports:{}},np=qt.exports,mi;function ip(){return mi||(mi=1,(function(e,t){(function(r,n){e.exports=n()})(np,(function(){var r="week",n="year";return function(i,a,o){var s=a.prototype;s.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=o(this).startOf(n).add(1,n).date(u),c=o(this).endOf(r);if(d.isBefore(c))return 1}var l=o(this).startOf(n).date(u).startOf(r).subtract(1,"millisecond"),v=this.diff(l,r,!0);return v<0?o(this).startOf("week").week():Math.ceil(v)},s.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}}))})(qt)),qt.exports}var ap=ip();const jh=Ae(ap);var Ct={exports:{}},op=Ct.exports,yi;function sp(){return yi||(yi=1,(function(e,t){(function(r,n){e.exports=n()})(op,(function(){return function(r,n){n.prototype.weekYear=function(){var i=this.month(),a=this.week(),o=this.year();return a===1&&i===11?o+1:i===0&&a>=52?o-1:o}}}))})(Ct)),Ct.exports}var fp=sp();const Ih=Ae(fp);var Nt={exports:{}},up=Nt.exports,bi;function cp(){return bi||(bi=1,(function(e,t){(function(r,n){e.exports=n()})(up,(function(){return function(r,n,i){n.prototype.dayOfYear=function(a){var o=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return a==null?o:this.add(a-o,"day")}}}))})(Nt)),Nt.exports}var dp=cp();const Rh=Ae(dp);var Ht={exports:{}},lp=Ht.exports,wi;function pp(){return wi||(wi=1,(function(e,t){(function(r,n){e.exports=n()})(lp,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(Ht)),Ht.exports}var hp=pp();const Lh=Ae(hp);var Bt={exports:{}},gp=Bt.exports,xi;function vp(){return xi||(xi=1,(function(e,t){(function(r,n){e.exports=n()})(gp,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(Bt)),Bt.exports}var mp=vp();const qh=Ae(mp);function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t"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 Wt(e,t,r){return bp()?Wt=Reflect.construct.bind():Wt=function(i,a,o){var s=[null];s.push.apply(s,a);var f=Function.bind.apply(i,s),u=new f;return o&&bt(u,o.prototype),u},Wt.apply(null,arguments)}function wp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ar(e){var t=typeof Map=="function"?new Map:void 0;return Ar=function(n){if(n===null||!wp(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Wt(n,arguments,Sr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),bt(i,n)},Ar(e)}var xp=/%[sdj%]/g,Op=function(){};function Mr(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function ie(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=a)return s;switch(s){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch{return"[Circular]"}break;default:return s}});return o}return e}function $p(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||$p(t)&&typeof e=="string"&&!e)}function _p(e,t,r){var n=[],i=0,a=e.length;function o(s){n.push.apply(n,s||[]),i++,i===a&&r(n)}e.forEach(function(s){t(s,o)})}function Oi(e,t,r){var n=0,i=e.length;function a(o){if(o&&o.length){r(o);return}var s=n;n=n+1,s()\[\]\\.,;:\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},at={integer:function(t){return at.number(t)&&parseInt(t,10)===t},float:function(t){return at.number(t)&&!at.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!at.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Ai.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Pp())},hex:function(t){return typeof t=="string"&&!!t.match(Ai.hex)}},Dp=function(t,r,n,i,a){if(t.required&&r===void 0){Ma(t,r,n,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?at[s](r)||i.push(ie(a.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&i.push(ie(a.messages.types[s],t.fullField,t.type))},Fp=function(t,r,n,i,a){var o=typeof t.len=="number",s=typeof t.min=="number",f=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=r,c=null,l=typeof r=="number",v=typeof r=="string",b=Array.isArray(r);if(l?c="number":v?c="string":b&&(c="array"),!c)return!1;b&&(d=r.length),v&&(d=r.replace(u,"_").length),o?d!==t.len&&i.push(ie(a.messages[c].len,t.fullField,t.len)):s&&!f&&dt.max?i.push(ie(a.messages[c].max,t.fullField,t.max)):s&&f&&(dt.max)&&i.push(ie(a.messages[c].range,t.fullField,t.min,t.max))},ke="enum",jp=function(t,r,n,i,a){t[ke]=Array.isArray(t[ke])?t[ke]:[],t[ke].indexOf(r)===-1&&i.push(ie(a.messages[ke],t.fullField,t[ke].join(", ")))},Ip=function(t,r,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||i.push(ie(a.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(r)||i.push(ie(a.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},C={required:Ma,whitespace:Ep,type:Dp,range:Fp,enum:jp,pattern:Ip},Rp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r,"string")&&!t.required)return n();C.required(t,r,i,o,a,"string"),G(r,"string")||(C.type(t,r,i,o,a),C.range(t,r,i,o,a),C.pattern(t,r,i,o,a),t.whitespace===!0&&C.whitespace(t,r,i,o,a))}n(o)},Lp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&C.type(t,r,i,o,a)}n(o)},qp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&(C.type(t,r,i,o,a),C.range(t,r,i,o,a))}n(o)},Cp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&C.type(t,r,i,o,a)}n(o)},Np=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),G(r)||C.type(t,r,i,o,a)}n(o)},Hp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&(C.type(t,r,i,o,a),C.range(t,r,i,o,a))}n(o)},Bp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&(C.type(t,r,i,o,a),C.range(t,r,i,o,a))}n(o)},Wp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return n();C.required(t,r,i,o,a,"array"),r!=null&&(C.type(t,r,i,o,a),C.range(t,r,i,o,a))}n(o)},Yp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&C.type(t,r,i,o,a)}n(o)},kp="enum",Up=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a),r!==void 0&&C[kp](t,r,i,o,a)}n(o)},Gp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r,"string")&&!t.required)return n();C.required(t,r,i,o,a),G(r,"string")||C.pattern(t,r,i,o,a)}n(o)},zp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r,"date")&&!t.required)return n();if(C.required(t,r,i,o,a),!G(r,"date")){var f;r instanceof Date?f=r:f=new Date(r),C.type(t,f,i,o,a),f&&C.range(t,f.getTime(),i,o,a)}}n(o)},Xp=function(t,r,n,i,a){var o=[],s=Array.isArray(r)?"array":typeof r;C.required(t,r,i,o,a,s),n(o)},gr=function(t,r,n,i,a){var o=t.type,s=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(G(r,o)&&!t.required)return n();C.required(t,r,i,s,a,o),G(r,o)||C.type(t,r,i,s,a)}n(s)},Vp=function(t,r,n,i,a){var o=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(G(r)&&!t.required)return n();C.required(t,r,i,o,a)}n(o)},dt={string:Rp,method:Lp,number:qp,boolean:Cp,regexp:Np,integer:Hp,float:Bp,array:Wp,object:Yp,enum:Up,pattern:Gp,date:zp,url:gr,hex:gr,email:gr,required:Xp,any:Vp};function Tr(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Er=Tr(),or=(function(){function e(r){this.rules=null,this._messages=Er,this.define(r)}var t=e.prototype;return t.define=function(n){var i=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(typeof n!="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var o=n[a];i.rules[a]=Array.isArray(o)?o:[o]})},t.messages=function(n){return n&&(this._messages=Si(Tr(),n)),this._messages},t.validate=function(n,i,a){var o=this;i===void 0&&(i={}),a===void 0&&(a=function(){});var s=n,f=i,u=a;if(typeof f=="function"&&(u=f,f={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,s),Promise.resolve(s);function d(g){var h=[],p={};function _($){if(Array.isArray($)){var A;h=(A=h).concat.apply(A,$)}else h.push($)}for(var y=0;yDe},ie64:function(){return qr.ie()&&Ea},firefox:function(){return Q()||Pr},opera:function(){return Q()||Dr},webkit:function(){return Q()||Yt},safari:function(){return qr.webkit()},chrome:function(){return Q()||kt},windows:function(){return Q()||Fr},osx:function(){return Q()||Ut},linux:function(){return Q()||jr},iphone:function(){return Q()||Rr},mobile:function(){return Q()||Rr||Lr||Ir||Da},nativeApp:function(){return Q()||Pa},android:function(){return Q()||Ir},ipad:function(){return Q()||Lr}},Zp=qr,Kp=!!(typeof window<"u"&&window.document&&window.document.createElement),Qp={canUseDOM:Kp},Fa=Qp,ja;Fa.canUseDOM&&(ja=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Jp(e,t){if(!Fa.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+e,n=r in document;if(!n){var i=document.createElement("div");i.setAttribute(r,"return;"),n=typeof i[r]=="function"}return!n&&ja&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var eh=Jp,Ti=10,Ei=40,Pi=800;function Ia(e){var t=0,r=0,n=0,i=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*Ti,i=r*Ti,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||i)&&e.deltaMode&&(e.deltaMode==1?(n*=Ei,i*=Ei):(n*=Pi,i*=Pi)),n&&!t&&(t=n<1?-1:1),i&&!r&&(r=i<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:i}}Ia.getEventType=function(){return Zp.firefox()?"DOMMouseScroll":eh("wheel")?"wheel":"mousewheel"};var Ch=Ia;export{Ih as A,Rh as B,Lh as C,qh as D,ga as E,Oh as F,Sh as G,$h as H,nh as I,hh as J,hd as K,oh as L,_h as M,dh as N,ph as O,sh as P,bh as Q,ih as R,or as S,Th as T,Ch as Y,nr as a,uh as b,mh as c,$d as d,ye as e,fh as f,pf as g,lh as h,ch as i,wh as j,Ah as k,yh as l,rh as m,Eh as n,xh as o,gh as p,ah as q,gf as r,vh as s,ir as t,Ee as u,Ph as v,Fh as w,Dh as x,Mh as y,jh as z};