/*! For license information please see main.7c698580.js.LICENSE.txt */
(()=>{var e={5552:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>tn,CompositeItem:()=>nn,FloatingArrow:()=>cn,FloatingDelayGroup:()=>Mn,FloatingFocusManager:()=>or,FloatingList:()=>Qt,FloatingNode:()=>gn,FloatingOverlay:()=>lr,FloatingPortal:()=>Zn,FloatingTree:()=>yn,arrow:()=>jt,autoPlacement:()=>wt,autoUpdate:()=>Xe,computePosition:()=>ct,detectOverflow:()=>Je,flip:()=>bt,getOverflowAncestors:()=>_,hide:()=>kt,inline:()=>_t,inner:()=>Yr,limitShift:()=>vt,offset:()=>gt,platform:()=>Ge,safePolygon:()=>Hr,shift:()=>yt,size:()=>xt,useClick:()=>dr,useClientPoint:()=>hr,useDelayGroup:()=>Dn,useDelayGroupContext:()=>Sn,useDismiss:()=>yr,useFloating:()=>br,useFloatingNodeId:()=>mn,useFloatingParentNodeId:()=>hn,useFloatingPortalNode:()=>Kn,useFloatingRootContext:()=>vr,useFloatingTree:()=>pn,useFocus:()=>xr,useHover:()=>kn,useId:()=>ln,useInnerOffset:()=>zr,useInteractions:()=>jr,useListItem:()=>Kt,useListNavigation:()=>Nr,useMergeRefs:()=>St,useRole:()=>Tr,useTransitionStatus:()=>Rr,useTransitionStyles:()=>Fr,useTypeahead:()=>Lr});var r=n(5043),a=n.t(r,2);function o(){return"undefined"!==typeof window}function i(e){return c(e)?(e.nodeName||"").toLowerCase():"#document"}function s(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(c(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function c(e){return!!o()&&(e instanceof Node||e instanceof s(e).Node)}function u(e){return!!o()&&(e instanceof Element||e instanceof s(e).Element)}function d(e){return!!o()&&(e instanceof HTMLElement||e instanceof s(e).HTMLElement)}function f(e){return!(!o()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof s(e).ShadowRoot)}function h(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=b(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function p(e){return["table","td","th"].includes(i(e))}function m(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function g(e){const t=y(),n=u(e)?b(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function y(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(i(e))}function b(e){return s(e).getComputedStyle(e)}function x(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===i(e))return e;const t=e.assignedSlot||e.parentNode||f(e)&&e.host||l(e);return f(t)?t.host:t}function k(e){const t=w(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:d(t)&&h(t)?t:k(t)}function _(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=k(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),i=s(a);if(o){const e=j(i);return t.concat(i,i.visualViewport||[],h(a)?a:[],e&&n?_(e):[])}return t.concat(a,_(a,[],n))}function j(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function S(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function M(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&f(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function D(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function O(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function E(e){return!(0!==e.mozInputSource||!e.isTrusted)||(T()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function N(e){return!O().includes("jsdom/")&&(!T()&&0===e.width&&0===e.height||T()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function P(){return/apple/i.test(navigator.vendor)}function T(){const e=/android/i;return e.test(D())||e.test(O())}function C(){return D().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function I(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function R(e){return(null==e?void 0:e.ownerDocument)||document}function F(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function L(e){return"composedPath"in e?e.composedPath()[0]:e.target}const A="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Y(e){return d(e)&&e.matches(A)}function z(e){e.preventDefault(),e.stopPropagation()}function W(e){return!!e&&("combobox"===e.getAttribute("role")&&Y(e))}const H=["top","right","bottom","left"],B=["start","end"],V=H.reduce(((e,t)=>e.concat(t,t+"-"+B[0],t+"-"+B[1])),[]),U=Math.min,$=Math.max,q=Math.round,Q=Math.floor,K=e=>({x:e,y:e}),Z={left:"right",right:"left",bottom:"top",top:"bottom"},G={start:"end",end:"start"};function X(e,t,n){return $(e,U(t,n))}function J(e,t){return"function"===typeof e?e(t):e}function ee(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function ne(e){return"x"===e?"y":"x"}function re(e){return"y"===e?"height":"width"}function ae(e){return["top","bottom"].includes(ee(e))?"y":"x"}function oe(e){return ne(ae(e))}function ie(e,t,n){void 0===n&&(n=!1);const r=te(e),a=oe(e),o=re(a);let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=le(i)),[i,le(i)]}function se(e){return e.replace(/start|end/g,(e=>G[e]))}function le(e){return e.replace(/left|right|bottom|top/g,(e=>Z[e]))}function ce(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ue(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}var de=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],fe=de.join(","),he="undefined"===typeof Element,pe=he?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,me=!he&&Element.prototype.getRootNode?function(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null===e||void 0===e?void 0:e.ownerDocument},ge=function e(t,n){var r;void 0===n&&(n=!0);var a=null===t||void 0===t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===a||"true"===a||n&&t&&e(t.parentNode)},ye=function(e,t,n){if(ge(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(fe));return t&&pe.call(e,fe)&&r.unshift(e),r=r.filter(n)},ve=function e(t,n,r){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(!ge(i,!1))if("SLOT"===i.tagName){var s=i.assignedElements(),l=e(s.length?s:i.children,!0,r);r.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{pe.call(i,fe)&&r.filter(i)&&(n||!t.includes(i))&&a.push(i);var c=i.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(i),u=!ge(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(c&&u){var d=e(!0===c?i.children:c.children,!0,r);r.flatten?a.push.apply(a,d):a.push({scopeParent:i,candidates:d})}else o.unshift.apply(o,i.children)}}return a},be=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},xe=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null===e||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!be(e)?0:e.tabIndex},we=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ke=function(e){return"INPUT"===e.tagName},_e=function(e){return function(e){return ke(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||me(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var a=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!a||a===e}(e)},je=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Se=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=pe.call(e,"details>summary:first-of-type")?e.parentElement:e;if(pe.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return je(e)}else{if("function"===typeof r){for(var o=e;e;){var i=e.parentElement,s=me(e);if(i&&!i.shadowRoot&&!0===r(i))return je(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}if(function(e){var t,n,r,a,o=e&&me(e),i=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!==e&&void 0!==e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){var l,c,u;s=!(null===(c=i=null===(l=o=me(i))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(i))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Me=function(e,t){return!(t.disabled||ge(t)||function(e){return ke(e)&&"hidden"===e.type}(t)||Se(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!pe.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},De=function(e,t){return!(_e(t)||xe(t)<0||!Me(e,t))},Oe=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ee=function e(t){var n=[],r=[];return t.forEach((function(t,a){var o=!!t.scopeParent,i=o?t.scopeParent:t,s=function(e,t){var n=xe(e);return n<0&&t&&!be(e)?0:n}(i,o),l=o?e(t.candidates):i;0===s?o?n.push.apply(n,l):n.push(i):r.push({documentOrder:a,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(we).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Ne=function(e,t){var n;return n=(t=t||{}).getShadowRoot?ve([e],t.includeContainer,{filter:De.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Oe}):ye(e,t.includeContainer,De.bind(null,t)),Ee(n)},Pe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==pe.call(e,fe)&&De(t,e)},Te=n(7950);function Ce(e,t,n){let{reference:r,floating:a}=e;const o=ae(t),i=oe(t),s=re(i),l=ee(t),c="y"===o,u=r.x+r.width/2-a.width/2,d=r.y+r.height/2-a.height/2,f=r[s]/2-a[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-a.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-a.width,y:d};break;default:h={x:r.x,y:r.y}}switch(te(t)){case"start":h[i]-=f*(n&&c?-1:1);break;case"end":h[i]+=f*(n&&c?-1:1)}return h}async function Ie(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:o,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=J(t,e),p=ce(h),m=s[f?"floating"===d?"reference":"floating":d],g=ue(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===d?{x:r,y:a,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},x=ue(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+p.top)/b.y,bottom:(x.bottom-g.bottom+p.bottom)/b.y,left:(g.left-x.left+p.left)/b.x,right:(x.right-g.right+p.right)/b.x}}function Re(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fe(e){return H.some((t=>e[t]>=0))}function Le(e){const t=U(...e.map((e=>e.left))),n=U(...e.map((e=>e.top)));return{x:t,y:n,width:$(...e.map((e=>e.right)))-t,height:$(...e.map((e=>e.bottom)))-n}}function Ae(e){const t=b(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=d(e),o=a?e.offsetWidth:n,i=a?e.offsetHeight:r,s=q(n)!==o||q(r)!==i;return s&&(n=o,r=i),{width:n,height:r,$:s}}function Ye(e){return u(e)?e:e.contextElement}function ze(e){const t=Ye(e);if(!d(t))return K(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=Ae(t);let i=(o?q(n.width):n.width)/r,s=(o?q(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const We=K(0);function He(e){const t=s(e);return y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:We}function Be(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),o=Ye(e);let i=K(1);t&&(r?u(r)&&(i=ze(r)):i=ze(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==s(e))&&t}(o,n,r)?He(o):K(0);let c=(a.left+l.x)/i.x,d=(a.top+l.y)/i.y,f=a.width/i.x,h=a.height/i.y;if(o){const e=s(o),t=r&&u(r)?s(r):r;let n=e,a=j(n);for(;a&&r&&t!==n;){const e=ze(a),t=a.getBoundingClientRect(),r=b(a),o=t.left+(a.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=i,n=s(a),a=j(n)}}return ue({width:f,height:h,x:c,y:d})}function Ve(e,t){const n=x(e).scrollLeft;return t?t.left+n:Be(l(e)).left+n}function Ue(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=s(e),r=l(e),a=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,c=0,u=0;if(a){o=a.width,i=a.height;const e=y();(!e||e&&"fixed"===t)&&(c=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:c,y:u}}(e,n);else if("document"===t)r=function(e){const t=l(e),n=x(e),r=e.ownerDocument.body,a=$(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=$(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ve(e);const s=-n.scrollTop;return"rtl"===b(r).direction&&(i+=$(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:i,y:s}}(l(e));else if(u(t))r=function(e,t){const n=Be(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=d(e)?ze(e):K(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:r*o.y}}(t,n);else{const n=He(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return ue(r)}function $e(e,t){const n=w(e);return!(n===t||!u(n)||v(n))&&("fixed"===b(n).position||$e(n,t))}function qe(e,t,n){const r=d(t),a=l(t),o="fixed"===n,s=Be(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const u=K(0);if(r||!r&&!o)if(("body"!==i(t)||h(a))&&(c=x(t)),r){const e=Be(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=Ve(a));let f=0,p=0;if(a&&!r&&!o){const e=a.getBoundingClientRect();p=e.top+c.scrollTop,f=e.left+c.scrollLeft-Ve(a,e)}return{x:s.left+c.scrollLeft-u.x-f,y:s.top+c.scrollTop-u.y-p,width:s.width,height:s.height}}function Qe(e){return"static"===b(e).position}function Ke(e,t){if(!d(e)||"fixed"===b(e).position)return null;if(t)return t(e);let n=e.offsetParent;return l(e)===n&&(n=n.ownerDocument.body),n}function Ze(e,t){const n=s(e);if(m(e))return n;if(!d(e)){let t=w(e);for(;t&&!v(t);){if(u(t)&&!Qe(t))return t;t=w(t)}return n}let r=Ke(e,t);for(;r&&p(r)&&Qe(r);)r=Ke(r,t);return r&&v(r)&&Qe(r)&&!g(r)?n:r||function(e){let t=w(e);for(;d(t)&&!v(t);){if(g(t))return t;if(m(t))return null;t=w(t)}return null}(e)||n}const Ge={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o="fixed"===a,s=l(r),c=!!t&&m(t.floating);if(r===s||c&&o)return n;let u={scrollLeft:0,scrollTop:0},f=K(1);const p=K(0),g=d(r);if((g||!g&&!o)&&(("body"!==i(r)||h(s))&&(u=x(r)),d(r))){const e=Be(r);f=ze(r),p.x=e.x+r.clientLeft,p.y=e.y+r.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+p.x,y:n.y*f.y-u.scrollTop*f.y+p.y}},getDocumentElement:l,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[..."clippingAncestors"===n?m(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=_(e,[],!1).filter((e=>u(e)&&"body"!==i(e))),a=null;const o="fixed"===b(e).position;let s=o?w(e):e;for(;u(s)&&!v(s);){const t=b(s),n=g(s);n||"fixed"!==t.position||(a=null),(o?!n&&!a:!n&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||h(s)&&!n&&$e(e,s))?r=r.filter((e=>e!==s)):a=t,s=w(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],l=o.reduce(((e,n)=>{const r=Ue(t,n,a);return e.top=$(r.top,e.top),e.right=U(r.right,e.right),e.bottom=U(r.bottom,e.bottom),e.left=$(r.left,e.left),e}),Ue(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ze,getElementRects:async function(e){const t=this.getOffsetParent||Ze,n=this.getDimensions,r=await n(e.floating);return{reference:qe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ae(e);return{width:t,height:n}},getScale:ze,isElement:u,isRTL:function(e){return"rtl"===b(e).direction}};function Xe(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"===typeof ResizeObserver,layoutShift:s="function"===typeof IntersectionObserver,animationFrame:c=!1}=r,u=Ye(e),d=a||o?[...u?_(u):[],..._(t)]:[];d.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const f=u&&s?function(e,t){let n,r=null;const a=l(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h={rootMargin:-Q(u)+"px "+-Q(a.clientWidth-(c+d))+"px "+-Q(a.clientHeight-(u+f))+"px "+-Q(c)+"px",threshold:$(0,U(1,l))||1};let p=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!p)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}p=!1}try{r=new IntersectionObserver(m,{...h,root:a.ownerDocument})}catch(g){r=new IntersectionObserver(m,h)}r.observe(e)}(!0),o}(u,n):null;let h,p=-1,m=null;i&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=m)||e.observe(t)}))),n()})),u&&!c&&m.observe(u),m.observe(t));let g=c?Be(e):null;return c&&function t(){const r=Be(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n();g=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach((e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(h)}}const Je=Ie,et=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=ee(n),s=te(n),l="y"===ae(n),c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,d=J(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"===typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},tt=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,a;const{rects:o,middlewareData:i,placement:s,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=V,autoAlignment:h=!0,...p}=J(e,t),m=void 0!==d||f===V?function(e,t,n){return(e?[...n.filter((t=>te(t)===e)),...n.filter((t=>te(t)!==e))]:n.filter((e=>ee(e)===e))).filter((n=>!e||te(n)===e||!!t&&se(n)!==n))}(d||null,h,f):f,g=await Ie(t,p),y=(null==(n=i.autoPlacement)?void 0:n.index)||0,v=m[y];if(null==v)return{};const b=ie(v,o,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==v)return{reset:{placement:m[0]}};const x=[g[ee(v)],g[b[0]],g[b[1]]],w=[...(null==(r=i.autoPlacement)?void 0:r.overflows)||[],{placement:v,overflows:x}],k=m[y+1];if(k)return{data:{index:y+1,overflows:w},reset:{placement:k}};const _=w.map((e=>{const t=te(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),j=(null==(a=_.filter((e=>e[2].slice(0,te(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||_[0][0];return j!==s?{data:{index:y+1,overflows:w},reset:{placement:j}}:{}}}},nt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=J(e,t),c={x:n,y:r},u=await Ie(t,l),d=ae(ee(a)),f=ne(d);let h=c[f],p=c[d];if(o){const e="y"===f?"bottom":"right";h=X(h+u["y"===f?"top":"left"],h,h-u[e])}if(i){const e="y"===d?"bottom":"right";p=X(p+u["y"===d?"top":"left"],p,p-u[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:o,[d]:i}}}}}},rt=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=J(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const y=ee(a),v=ae(s),b=ee(s)===s,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(b||!m?[le(s)]:function(e){const t=le(e);return[se(e),t,se(t)]}(s)),k="none"!==p;!f&&k&&w.push(...function(e,t,n,r){const a=te(e);let o=function(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}(ee(e),"start"===n,r);return a&&(o=o.map((e=>e+"-"+a)),t&&(o=o.concat(o.map(se)))),o}(s,m,p,x));const _=[s,...w],j=await Ie(t,g),S=[];let M=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&S.push(j[y]),d){const e=ie(a,i,x);S.push(j[e[0]],j[e[1]])}if(M=[...M,{placement:a,overflows:S}],!S.every((e=>e<=0))){var D,O;const e=((null==(D=o.flip)?void 0:D.index)||0)+1,t=_[e];if(t)return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(O=M.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(h){case"bestFit":{var E;const e=null==(E=M.filter((e=>{if(k){const t=ae(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:E[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},at=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:o,platform:i,elements:s}=t,{apply:l=()=>{},...c}=J(e,t),u=await Ie(t,c),d=ee(a),f=te(a),h="y"===ae(a),{width:p,height:m}=o.floating;let g,y;"top"===d||"bottom"===d?(g=d,y=f===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,g="end"===f?"top":"bottom");const v=m-u.top-u.bottom,b=p-u.left-u.right,x=U(m-u[g],v),w=U(p-u[y],b),k=!t.middlewareData.shift;let _=x,j=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(j=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(_=v),k&&!f){const e=$(u.left,0),t=$(u.right,0),n=$(u.top,0),r=$(u.bottom,0);h?j=p-2*(0!==e||0!==t?e+t:$(u.left,u.right)):_=m-2*(0!==n||0!==r?n+r:$(u.top,u.bottom))}await l({...t,availableWidth:j,availableHeight:_});const S=await i.getDimensions(s.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}},ot=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=J(e,t);switch(r){case"referenceHidden":{const e=Re(await Ie(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Fe(e)}}}case"escaped":{const e=Re(await Ie(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Fe(e)}}}default:return{}}}}},it=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=J(e,t)||{};if(null==c)return{};const d=ce(u),f={x:n,y:r},h=oe(a),p=re(h),m=await i.getDimensions(c),g="y"===h,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=o.reference[p]+o.reference[h]-f[h]-o.floating[p],w=f[h]-o.reference[h],k=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=k?k[b]:0;_&&await(null==i.isElement?void 0:i.isElement(k))||(_=s.floating[b]||o.floating[p]);const j=x/2-w/2,S=_/2-m[p]/2-1,M=U(d[y],S),D=U(d[v],S),O=M,E=_-m[p]-D,N=_/2-m[p]/2+j,P=X(O,N,E),T=!l.arrow&&null!=te(a)&&N!==P&&o.reference[p]/2-(N<O?M:D)-m[p]/2<0,C=T?N<O?N-O:N-E:0;return{[h]:f[h]+C,data:{[h]:P,centerOffset:N-P-C,...T&&{alignmentOffset:C}},reset:T}}}),st=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:a,platform:o,strategy:i}=t,{padding:s=2,x:l,y:c}=J(e,t),u=Array.from(await(null==o.getClientRects?void 0:o.getClientRects(r.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let r=null;for(let a=0;a<t.length;a++){const e=t[a];!r||e.y-r.y>r.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map((e=>ue(Le(e))))}(u),f=ue(Le(u)),h=ce(s);const p=await o.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=l&&null!=c)return d.find((e=>l>e.left-h.left&&l<e.right+h.right&&c>e.top-h.top&&c<e.bottom+h.bottom))||f;if(d.length>=2){if("y"===ae(n)){const e=d[0],t=d[d.length-1],r="top"===ee(n),a=e.top,o=t.bottom,i=r?e.left:t.left,s=r?e.right:t.right;return{top:a,bottom:o,left:i,right:s,width:s-i,height:o-a,x:i,y:a}}const e="left"===ee(n),t=$(...d.map((e=>e.right))),r=U(...d.map((e=>e.left))),a=d.filter((n=>e?n.left===r:n.right===t)),o=a[0].top,i=a[a.length-1].bottom;return{top:o,bottom:i,left:r,right:t,width:t-r,height:i-o,x:r,y:o}}return f}},floating:r.floating,strategy:i});return a.reference.x!==p.reference.x||a.reference.y!==p.reference.y||a.reference.width!==p.reference.width||a.reference.height!==p.reference.height?{reset:{rects:p}}:{}}}},lt=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=J(e,t),u={x:n,y:r},d=ae(a),f=ne(d);let h=u[f],p=u[d];const m=J(s,t),g="number"===typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+g.mainAxis,n=o.reference[f]+o.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var y,v;const e="y"===f?"width":"height",t=["top","left"].includes(ee(a)),n=o.reference[d]-o.floating[e]+(t&&(null==(y=i.offset)?void 0:y[d])||0)+(t?0:g.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[d])||0)-(t?g.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[f]:h,[d]:p}}}},ct=(e,t,n)=>{const r=new Map,a={platform:Ge,...n},o={...a.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=Ce(c,r,l),f=r,h={},p=0;for(let m=0;m<s.length;m++){const{name:n,fn:o}=s[m],{x:g,y:y,data:v,reset:b}=await o({x:u,y:d,initialPlacement:r,placement:f,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,h={...h,[n]:{...h[n],...v}},b&&p<=50&&(p++,"object"===typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):b.rects),({x:u,y:d}=Ce(c,f,l))),m=-1)}return{x:u,y:d,placement:f,strategy:a,middlewareData:h}})(e,t,{...a,platform:o})};var ut="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function dt(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!dt(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!==r--;){const n=a[r];if(("_owner"!==n||!e.$$typeof)&&!dt(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function ft(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ht(e,t){const n=ft(e);return Math.round(t*n)/n}function pt(e){const t=r.useRef(e);return ut((()=>{t.current=e})),t}const mt=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"===typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?it({element:n.current,padding:r}).fn(t):{}:n?it({element:n,padding:r}).fn(t):{};var a}}),gt=(e,t)=>({...et(e),options:[e,t]}),yt=(e,t)=>({...nt(e),options:[e,t]}),vt=(e,t)=>({...lt(e),options:[e,t]}),bt=(e,t)=>({...rt(e),options:[e,t]}),xt=(e,t)=>({...at(e),options:[e,t]}),wt=(e,t)=>({...tt(e),options:[e,t]}),kt=(e,t)=>({...ot(e),options:[e,t]}),_t=(e,t)=>({...st(e),options:[e,t]}),jt=(e,t)=>({...mt(e),options:[e,t]});function St(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"===typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const Mt={...a},Dt=Mt.useInsertionEffect||(e=>e());function Ot(e){const t=r.useRef((()=>{0}));return Dt((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const Et="ArrowUp",Nt="ArrowDown",Pt="ArrowLeft",Tt="ArrowRight";function Ct(e,t,n){return Math.floor(e/t)!==n}function It(e,t){return t<0||t>=e.current.length}function Rt(e,t){return Lt(e,{disabledIndices:t})}function Ft(e,t){return Lt(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Lt(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:a,amount:o=1}=void 0===t?{}:t;const i=e.current;let s=n;do{s+=r?-o:o}while(s>=0&&s<=i.length-1&&Ht(i,s,a));return s}function At(e,t){let{event:n,orientation:r,loop:a,cols:o,disabledIndices:i,minIndex:s,maxIndex:l,prevIndex:c,stopEvent:u=!1}=t,d=c;if(n.key===Et){if(u&&z(n),-1===c)d=l;else if(d=Lt(e,{startingIndex:d,amount:o,decrement:!0,disabledIndices:i}),a&&(c-o<s||d<0)){const e=c%o,t=l%o,n=l-(t-e);d=t===e?l:t>e?n:n-o}It(e,d)&&(d=c)}if(n.key===Nt&&(u&&z(n),-1===c?d=s:(d=Lt(e,{startingIndex:c,amount:o,disabledIndices:i}),a&&c+o>l&&(d=Lt(e,{startingIndex:c%o-o,amount:o,disabledIndices:i}))),It(e,d)&&(d=c)),"both"===r){const t=Q(c/o);n.key===Tt&&(u&&z(n),c%o!==o-1?(d=Lt(e,{startingIndex:c,disabledIndices:i}),a&&Ct(d,o,t)&&(d=Lt(e,{startingIndex:c-c%o-1,disabledIndices:i}))):a&&(d=Lt(e,{startingIndex:c-c%o-1,disabledIndices:i})),Ct(d,o,t)&&(d=c)),n.key===Pt&&(u&&z(n),c%o!==0?(d=Lt(e,{startingIndex:c,decrement:!0,disabledIndices:i}),a&&Ct(d,o,t)&&(d=Lt(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:i}))):a&&(d=Lt(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:i})),Ct(d,o,t)&&(d=c));const r=Q(l/o)===t;It(e,d)&&(d=a&&r?n.key===Pt?l:Lt(e,{startingIndex:c-c%o-1,disabledIndices:i}):c)}return d}function Yt(e,t,n){const r=[];let a=0;return e.forEach(((e,o)=>{let{width:i,height:s}=e,l=!1;for(n&&(a=0);!l;){const e=[];for(let n=0;n<i;n++)for(let r=0;r<s;r++)e.push(a+n+r*t);a%t+i<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=o})),l=!0):a++}})),[...r]}function zt(e,t,n,r,a){if(-1===e)return-1;const o=n.indexOf(e),i=t[e];switch(a){case"tl":return o;case"tr":return i?o+i.width-1:o;case"bl":return i?o+(i.height-1)*r:o;case"br":return n.lastIndexOf(e)}}function Wt(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function Ht(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let Bt=0;function Vt(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:a=!1}=t;r&&cancelAnimationFrame(Bt);const o=()=>null==e?void 0:e.focus({preventScroll:n});a?o():Bt=requestAnimationFrame(o)}var Ut="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function $t(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const qt=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function Qt(e){const{children:t,elementsRef:n,labelsRef:a}=e,[o,i]=r.useState((()=>new Map)),s=r.useCallback((e=>{i((t=>new Map(t).set(e,null)))}),[]),l=r.useCallback((e=>{i((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return Ut((()=>{const e=new Map(o);Array.from(e.keys()).sort($t).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(o,e)||i(e)}),[o]),r.createElement(qt.Provider,{value:r.useMemo((()=>({register:s,unregister:l,map:o,elementsRef:n,labelsRef:a})),[s,l,o,n,a])},t)}function Kt(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:a,map:o,elementsRef:i,labelsRef:s}=r.useContext(qt),[l,c]=r.useState(null),u=r.useRef(null),d=r.useCallback((e=>{if(u.current=e,null!==l&&(i.current[l]=e,s)){var n;const r=void 0!==t;s.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[l,i,s,t]);return Ut((()=>{const e=u.current;if(e)return n(e),()=>{a(e)}}),[n,a]),Ut((()=>{const e=u.current?o.get(u.current):null;null!=e&&c(e)}),[o]),r.useMemo((()=>({ref:d,index:null==l?-1:l})),[l,d])}function Zt(e,t){return"function"===typeof e?e(t):e?r.cloneElement(e,t):r.createElement("div",t)}const Gt=r.createContext({activeIndex:0,onNavigate:()=>{}}),Xt=[Pt,Tt],Jt=[Et,Nt],en=[...Xt,...Jt],tn=r.forwardRef((function(e,t){const{render:n,orientation:a="both",loop:o=!0,cols:i=1,disabledIndices:s,activeIndex:l,onNavigate:c,itemSizes:u,dense:d=!1,...f}=e,[h,p]=r.useState(0),m=null!=l?l:h,g=Ot(null!=c?c:p),y=r.useRef([]),v=n&&"function"!==typeof n?n.props:{},b=r.useMemo((()=>({activeIndex:m,onNavigate:g})),[m,g]),x=i>1;const w={...f,...v,ref:t,"aria-orientation":"both"===a?void 0:a,onKeyDown(e){null==f.onKeyDown||f.onKeyDown(e),null==v.onKeyDown||v.onKeyDown(e),function(e){if(!en.includes(e.key))return;let t=m;const n=Rt(y,s),r=Ft(y,s);if(x){const l=u||Array.from({length:y.current.length},(()=>({width:1,height:1}))),c=Yt(l,i,d),f=c.findIndex((e=>null!=e&&!Ht(y.current,e,s))),h=c.reduce(((e,t,n)=>null==t||Ht(y.current,t,s)?e:n),-1),p=c[At({current:c.map((e=>e?y.current[e]:null))},{event:e,orientation:a,loop:o,cols:i,disabledIndices:Wt([...s||y.current.map(((e,t)=>Ht(y.current,t)?t:void 0)),void 0],c),minIndex:f,maxIndex:h,prevIndex:zt(m>r?n:m,l,c,i,e.key===Nt?"bl":e.key===Tt?"tr":"tl")})];null!=p&&(t=p)}const l={horizontal:[Tt],vertical:[Nt],both:[Tt,Nt]}[a],c={horizontal:[Pt],vertical:[Et],both:[Pt,Et]}[a],f=x?en:{horizontal:Xt,vertical:Jt,both:en}[a];t===m&&[...l,...c].includes(e.key)&&(t=o&&t===r&&l.includes(e.key)?n:o&&t===n&&c.includes(e.key)?r:Lt(y,{startingIndex:t,decrement:c.includes(e.key),disabledIndices:s})),t===m||It(y,t)||(e.stopPropagation(),f.includes(e.key)&&e.preventDefault(),g(t),queueMicrotask((()=>{Vt(y.current[t])})))}(e)}};return r.createElement(Gt.Provider,{value:b},r.createElement(Qt,{elementsRef:y},Zt(n,w)))})),nn=r.forwardRef((function(e,t){const{render:n,...a}=e,o=n&&"function"!==typeof n?n.props:{},{activeIndex:i,onNavigate:s}=r.useContext(Gt),{ref:l,index:c}=Kt(),u=St([l,t,o.ref]),d=i===c;return Zt(n,{...a,...o,ref:u,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==a.onFocus||a.onFocus(e),null==o.onFocus||o.onFocus(e),s(c)}})}));function rn(){return rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rn.apply(this,arguments)}let an=!1,on=0;const sn=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+on++;const ln=Mt.useId||function(){const[e,t]=r.useState((()=>an?sn():void 0));return Ut((()=>{null==e&&t(sn())}),[]),r.useEffect((()=>{an=!0}),[]),e};const cn=r.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:a},middlewareData:{arrow:o,shift:i}},width:s=14,height:l=7,tipRadius:c=0,strokeWidth:u=0,staticOffset:d,stroke:f,d:h,style:{transform:p,...m}={},...g}=e;const y=ln(),[v,x]=r.useState(!1);if(Ut((()=>{if(!a)return;"rtl"===b(a).direction&&x(!0)}),[a]),!a)return null;const[w,k]=n.split("-"),_="top"===w||"bottom"===w;let j=d;(_&&null!=i&&i.x||!_&&null!=i&&i.y)&&(j=null);const S=2*u,M=S/2,D=s/2*(c/-8+1),O=l/2*c/4,E=!!h,N=j&&"end"===k?"bottom":"top";let P=j&&"end"===k?"right":"left";j&&v&&(P="end"===k?"left":"right");const T=null!=(null==o?void 0:o.x)?j||o.x:"",C=null!=(null==o?void 0:o.y)?j||o.y:"",I=h||"M0,0 H"+s+" L"+(s-D)+","+(l-O)+" Q"+s/2+","+l+" "+D+","+(l-O)+" Z",R={top:E?"rotate(180deg)":"",left:E?"rotate(90deg)":"rotate(-90deg)",bottom:E?"":"rotate(180deg)",right:E?"rotate(-90deg)":"rotate(90deg)"}[w];return r.createElement("svg",rn({},g,{"aria-hidden":!0,ref:t,width:E?s:s+S,height:s,viewBox:"0 0 "+s+" "+(l>s?l:s),style:{position:"absolute",pointerEvents:"none",[P]:T,[N]:C,[w]:_||E?"100%":"calc(100% - "+S/2+"px)",transform:[R,p].filter((e=>!!e)).join(" "),...m}}),S>0&&r.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:f,strokeWidth:S+(h?0:1),d:I}),r.createElement("path",{stroke:S&&!h?g.fill:"none",d:I}),r.createElement("clipPath",{id:y},r.createElement("rect",{x:-M,y:M*(E?-1:1),width:s+S,height:s})))}));function un(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const dn=r.createContext(null),fn=r.createContext(null),hn=()=>{var e;return(null==(e=r.useContext(dn))?void 0:e.id)||null},pn=()=>r.useContext(fn);function mn(e){const t=ln(),n=pn(),r=hn(),a=e||r;return Ut((()=>{const e={id:t,parentId:a};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,a]),t}function gn(e){const{children:t,id:n}=e,a=hn();return r.createElement(dn.Provider,{value:r.useMemo((()=>({id:n,parentId:a})),[n,a])},t)}function yn(e){const{children:t}=e,n=r.useRef([]),a=r.useCallback((e=>{n.current=[...n.current,e]}),[]),o=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),i=r.useState((()=>un()))[0];return r.createElement(fn.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:a,removeNode:o,events:i})),[a,o,i])},t)}function vn(e){return"data-floating-ui-"+e}function bn(e){const t=(0,r.useRef)(e);return Ut((()=>{t.current=e})),t}const xn=vn("safe-polygon");function wn(e,t,n){return n&&!I(n)?0:"number"===typeof e?e:null==e?void 0:e[t]}function kn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:o,events:i,elements:s}=e,{enabled:l=!0,delay:c=0,handleClose:d=null,mouseOnly:f=!1,restMs:h=0,move:p=!0}=t,m=pn(),g=hn(),y=bn(d),v=bn(c),b=bn(n),x=r.useRef(),w=r.useRef(-1),k=r.useRef(),_=r.useRef(-1),j=r.useRef(!0),S=r.useRef(!1),D=r.useRef((()=>{})),O=r.useRef(!1),E=r.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);r.useEffect((()=>{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(w.current),clearTimeout(_.current),j.current=!0,O.current=!1)}}),[l,i]),r.useEffect((()=>{if(!l)return;if(!y.current)return;if(!n)return;function e(e){E()&&a(!1,e,"hover")}const t=R(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[s.floating,n,a,l,y,E]);const N=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=wn(v.current,"close",x.current);r&&!k.current?(clearTimeout(w.current),w.current=window.setTimeout((()=>a(!1,e,n)),r)):t&&(clearTimeout(w.current),a(!1,e,n))}),[v,a]),P=Ot((()=>{D.current(),k.current=void 0})),T=Ot((()=>{if(S.current){const e=R(s.floating).body;e.style.pointerEvents="",e.removeAttribute(xn),S.current=!1}}));r.useEffect((()=>{if(l&&u(s.domReference)){var e;const t=s.domReference;return n&&t.addEventListener("mouseleave",c),null==(e=s.floating)||e.addEventListener("mouseleave",c),p&&t.addEventListener("mousemove",r,{once:!0}),t.addEventListener("mouseenter",r),t.addEventListener("mouseleave",i),()=>{var e;n&&t.removeEventListener("mouseleave",c),null==(e=s.floating)||e.removeEventListener("mouseleave",c),p&&t.removeEventListener("mousemove",r),t.removeEventListener("mouseenter",r),t.removeEventListener("mouseleave",i)}}function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function r(e){if(clearTimeout(w.current),j.current=!1,f&&!I(x.current)||h>0&&!wn(v.current,"open"))return;const t=wn(v.current,"open",x.current);t?w.current=window.setTimeout((()=>{b.current||a(!0,e,"hover")}),t):a(!0,e,"hover")}function i(e){if(t())return;D.current();const r=R(s.floating);if(clearTimeout(_.current),O.current=!1,y.current&&o.current.floatingContext){n||clearTimeout(w.current),k.current=y.current({...o.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){T(),P(),N(e,!0,"safe-polygon")}});const t=k.current;return r.addEventListener("mousemove",t),void(D.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==x.current||!M(s.floating,e.relatedTarget))&&N(e)}function c(e){t()||o.current.floatingContext&&(null==y.current||y.current({...o.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){T(),P(),N(e)}})(e))}}),[s,l,e,f,h,p,N,P,T,a,n,b,m,v,y,o]),Ut((()=>{var e;if(l&&n&&null!=(e=y.current)&&e.__options.blockPointerEvents&&E()){S.current=!0;const e=s.floating;if(u(s.domReference)&&e){var t;const n=R(s.floating).body;n.setAttribute(xn,"");const r=s.domReference,a=null==m||null==(t=m.nodesRef.current.find((e=>e.id===g)))||null==(t=t.context)?void 0:t.elements.floating;return a&&(a.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,g,s,m,y,E]),Ut((()=>{n||(x.current=void 0,O.current=!1,P(),T())}),[n,P,T]),r.useEffect((()=>()=>{P(),clearTimeout(w.current),clearTimeout(_.current),T()}),[l,s.domReference,P,T]);const C=r.useMemo((()=>{function e(e){x.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){j.current||b.current||a(!0,t,"hover")}f&&!I(x.current)||n||0===h||O.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(_.current),"touch"===x.current?r():(O.current=!0,_.current=window.setTimeout(r,h)))}}}),[f,a,n,b,h]),F=r.useMemo((()=>({onMouseEnter(){clearTimeout(w.current)},onMouseLeave(e){N(e.nativeEvent,!1)}})),[N]);return r.useMemo((()=>l?{reference:C,floating:F}:{}),[l,C,F])}const _n=()=>{},jn=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:_n,setState:_n,isInstantPhase:!1}),Sn=()=>r.useContext(jn);function Mn(e){const{children:t,delay:n,timeoutMs:a=0}=e,[o,i]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:a,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),l=r.useCallback((e=>{i({currentId:e})}),[]);return Ut((()=>{o.currentId?null===s.current?s.current=o.currentId:o.isInstantPhase||i({isInstantPhase:!0}):(o.isInstantPhase&&i({isInstantPhase:!1}),s.current=null)}),[o.currentId,o.isInstantPhase]),r.createElement(jn.Provider,{value:r.useMemo((()=>({...o,setState:i,setCurrentId:l})),[o,l])},t)}function Dn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:a}=e,{id:o,enabled:i=!0}=t,s=null!=o?o:a,l=Sn(),{currentId:c,setCurrentId:u,initialDelay:d,setState:f,timeoutMs:h}=l;return Ut((()=>{i&&c&&(f({delay:{open:1,close:wn(d,"close")}}),c!==s&&r(!1))}),[i,s,r,f,c,d]),Ut((()=>{function e(){r(!1),f({delay:d,currentId:null})}if(i&&c&&!n&&c===s){if(h){const t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}}),[i,n,f,c,s,r,d,h]),Ut((()=>{i&&u!==_n&&n&&u(s)}),[i,n,u,s]),l}function On(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let En=new WeakMap,Nn=new WeakSet,Pn={},Tn=0;const Cn=()=>"undefined"!==typeof HTMLElement&&"inert"in HTMLElement.prototype,In=e=>e&&(e.host||In(e.parentNode)),Rn=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=In(t);return e.contains(n)?n:null})).filter((e=>null!=e));function Fn(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=R(e[0]).body;return function(e,t,n,r){const a="data-floating-ui-inert",o=r?"inert":n?"aria-hidden":null,s=Rn(t,e),l=new Set,c=new Set(s),u=[];Pn[a]||(Pn[a]=new WeakMap);const d=Pn[a];return s.forEach((function e(t){t&&!l.has(t)&&(l.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!c.has(t)&&[].forEach.call(t.children,(t=>{if("script"!==i(t))if(l.has(t))e(t);else{const e=o?t.getAttribute(o):null,n=null!==e&&"false"!==e,r=(En.get(t)||0)+1,i=(d.get(t)||0)+1;En.set(t,r),d.set(t,i),u.push(t),1===r&&n&&Nn.add(t),1===i&&t.setAttribute(a,""),!n&&o&&t.setAttribute(o,"true")}}))}(t),l.clear(),Tn++,()=>{u.forEach((e=>{const t=(En.get(e)||0)-1,n=(d.get(e)||0)-1;En.set(e,t),d.set(e,n),t||(!Nn.has(e)&&o&&e.removeAttribute(o),Nn.delete(e)),n||e.removeAttribute(a)})),Tn--,Tn||(En=new WeakMap,En=new WeakMap,Nn=new WeakSet,Pn={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const Ln=()=>({getShadowRoot:!0,displayCheck:"function"===typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function An(e,t){const n=Ne(e,Ln());"prev"===t&&n.reverse();const r=n.indexOf(S(R(e)));return n.slice(r+1)[0]}function Yn(){return An(document.body,"next")}function zn(){return An(document.body,"prev")}function Wn(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!M(n,r)}function Hn(e){Ne(e,Ln()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Bn(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Vn={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function Un(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const $n=r.forwardRef((function(e,t){const[n,a]=r.useState();Ut((()=>(P()&&a("button"),document.addEventListener("keydown",Un),()=>{document.removeEventListener("keydown",Un)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[vn("focus-guard")]:"",style:Vn};return r.createElement("span",rn({},e,o))})),qn=r.createContext(null),Qn=vn("portal");function Kn(e){void 0===e&&(e={});const{id:t,root:n}=e,a=ln(),o=Gn(),[i,s]=r.useState(null),l=r.useRef(null);return Ut((()=>()=>{null==i||i.remove(),queueMicrotask((()=>{l.current=null}))}),[i]),Ut((()=>{if(!a)return;if(l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=a,n.setAttribute(Qn,""),e.appendChild(n),l.current=n,s(n)}),[t,a]),Ut((()=>{if(!a)return;if(l.current)return;let e=n||(null==o?void 0:o.portalNode);e&&!u(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const i=document.createElement("div");i.id=a,i.setAttribute(Qn,""),e=r||e,e.appendChild(i),l.current=i,s(i)}),[t,n,a,o]),i}function Zn(e){const{children:t,id:n,root:a=null,preserveTabOrder:o=!0}=e,i=Kn({id:n,root:a}),[s,l]=r.useState(null),c=r.useRef(null),u=r.useRef(null),d=r.useRef(null),f=r.useRef(null),h=null==s?void 0:s.modal,p=null==s?void 0:s.open,m=!!s&&!s.modal&&s.open&&o&&!(!a&&!i);return r.useEffect((()=>{if(i&&o&&!h)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){if(i&&Wn(e)){("focusin"===e.type?Bn:Hn)(i)}}}),[i,o,h]),r.useEffect((()=>{i&&(p||Bn(i))}),[p,i]),r.createElement(qn.Provider,{value:r.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:f,portalNode:i,setFocusManagerState:l})),[o,i])},m&&i&&r.createElement($n,{"data-type":"outside",ref:c,onFocus:e=>{if(Wn(e,i)){var t;null==(t=d.current)||t.focus()}else{const e=zn()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),m&&i&&r.createElement("span",{"aria-owns":i.id,style:Vn}),i&&Te.createPortal(t,i),m&&i&&r.createElement($n,{"data-type":"outside",ref:u,onFocus:e=>{if(Wn(e,i)){var t;null==(t=f.current)||t.focus()}else{const t=Yn()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const Gn=()=>r.useContext(qn),Xn="data-floating-ui-focusable";function Jn(e){return e?e.hasAttribute(Xn)?e:e.querySelector("["+Xn+"]")||e:null}const er=20;let tr=[];function nr(e){tr=tr.filter((e=>e.isConnected));let t=e;if(t&&"body"!==i(t)){if(!Pe(t,Ln())){const e=Ne(t,Ln())[0];e&&(t=e)}tr.push(t),tr.length>er&&(tr=tr.slice(-er))}}function rr(){return tr.slice().reverse().find((e=>e.isConnected))}const ar=r.forwardRef((function(e,t){return r.createElement("button",rn({},e,{type:"button",ref:t,tabIndex:-1,style:Vn}))}));function or(e){const{context:t,children:n,disabled:a=!1,order:o=["content"],guards:i=!0,initialFocus:s=0,returnFocus:l=!0,restoreFocus:c=!1,modal:u=!0,visuallyHiddenDismiss:f=!1,closeOnFocusOut:h=!0}=e,{open:p,refs:m,nodeId:g,onOpenChange:y,events:v,dataRef:b,floatingId:x,elements:{domReference:w,floating:k}}=t,_="number"===typeof s&&s<0,j=W(w)&&_,D=!Cn()||i,O=bn(o),P=bn(s),T=bn(l),C=pn(),I=Gn(),F=r.useRef(null),A=r.useRef(null),Y=r.useRef(!1),H=r.useRef(!1),B=r.useRef(-1),V=null!=I,U=Jn(k),$=Ot((function(e){return void 0===e&&(e=U),e?Ne(e,Ln()):[]})),q=Ot((e=>{const t=$(e);return O.current.map((e=>w&&"reference"===e?w:U&&"floating"===e?U:t)).filter(Boolean).flat()}));function Q(e){return!a&&f&&u?r.createElement(ar,{ref:"start"===e?F:A,onClick:e=>y(!1,e.nativeEvent)},"string"===typeof f?f:"Dismiss"):null}r.useEffect((()=>{Y.current=!1}),[a]),r.useEffect((()=>{if(a)return;if(!u)return;function e(e){if("Tab"===e.key){M(U,S(R(U)))&&0===$().length&&!j&&z(e);const t=q(),n=L(e);"reference"===O.current[0]&&n===w&&(z(e),e.shiftKey?Vt(t[t.length-1]):Vt(t[1])),"floating"===O.current[1]&&n===U&&e.shiftKey&&(z(e),Vt(t[0]))}}const t=R(U);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[a,w,U,u,O,j,$,q]),r.useEffect((()=>{if(!a&&k)return k.addEventListener("focusin",e),()=>{k.removeEventListener("focusin",e)};function e(e){const t=L(e),n=$().indexOf(t);-1!==n&&(B.current=n)}}),[a,k,$]),r.useEffect((()=>{if(!a&&h)return k&&d(w)?(w.addEventListener("focusout",t),w.addEventListener("pointerdown",e),k.addEventListener("focusout",t),()=>{w.removeEventListener("focusout",t),w.removeEventListener("pointerdown",e),k.removeEventListener("focusout",t)}):void 0;function e(){H.current=!0,setTimeout((()=>{H.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=!(M(w,t)||M(k,t)||M(t,k)||M(null==I?void 0:I.portalNode,t)||null!=t&&t.hasAttribute(vn("focus-guard"))||C&&(On(C.nodesRef.current,g).find((e=>{var n,r;return M(null==(n=e.context)?void 0:n.elements.floating,t)||M(null==(r=e.context)?void 0:r.elements.domReference,t)}))||function(e,t){var n;let r=[],a=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;a;){const t=e.find((e=>e.id===a));a=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(C.nodesRef.current,g).find((e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t}))));if(c&&n&&S(R(U))===R(U).body){d(U)&&U.focus();const e=B.current,t=$(),n=t[e]||t[t.length-1]||U;d(n)&&n.focus()}!j&&u||!t||!n||H.current||t===rr()||(Y.current=!0,y(!1,e,"focus-out"))}))}}),[a,w,k,U,u,g,C,I,y,h,c,$,j]),r.useEffect((()=>{var e;if(a)return;const t=Array.from((null==I||null==(e=I.portalNode)?void 0:e.querySelectorAll("["+vn("portal")+"]"))||[]);if(k){const e=[k,...t,F.current,A.current,O.current.includes("reference")||j?w:null].filter((e=>null!=e)),n=u||j?Fn(e,D,!D):Fn(e);return()=>{n()}}}),[a,w,k,u,O,I,j,D]),Ut((()=>{if(a||!d(U))return;const e=S(R(U));queueMicrotask((()=>{const t=q(U),n=P.current,r=("number"===typeof n?t[n]:n.current)||U,a=M(U,e);_||a||!p||Vt(r,{preventScroll:r===U})}))}),[a,p,U,_,q,P]),Ut((()=>{if(a||!U)return;let e=!1;const t=R(U),n=S(t);let r=b.current.openEvent;function o(t){let{open:n,reason:a,event:o,nested:i}=t;n&&(r=o),"escape-key"===a&&m.domReference.current&&nr(m.domReference.current),"hover"===a&&"mouseleave"===o.type&&(Y.current=!0),"outside-press"===a&&(i?(Y.current=!1,e=!0):Y.current=!(E(o)||N(o)))}nr(n),v.on("openchange",o);const i=t.createElement("span");return i.setAttribute("tabindex","-1"),i.setAttribute("aria-hidden","true"),Object.assign(i.style,Vn),V&&w&&w.insertAdjacentElement("afterend",i),()=>{v.off("openchange",o);const n=S(t),a=M(k,n)||C&&On(C.nodesRef.current,g).some((e=>{var t;return M(null==(t=e.context)?void 0:t.elements.floating,n)}));(a||r&&["click","mousedown"].includes(r.type))&&m.domReference.current&&nr(m.domReference.current);const s=rr()||i;queueMicrotask((()=>{T.current&&!Y.current&&d(s)&&(s===n||n===t.body||a)&&s.focus({preventScroll:e}),i.remove()}))}}),[a,k,U,T,b,m,v,C,g,V,w]),Ut((()=>{if(!a&&I)return I.setFocusManagerState({modal:u,closeOnFocusOut:h,open:p,onOpenChange:y,refs:m}),()=>{I.setFocusManagerState(null)}}),[a,I,u,p,y,m,h]),Ut((()=>{if(a)return;if(!U)return;if("function"!==typeof MutationObserver)return;if(_)return;const e=()=>{const e=U.getAttribute("tabindex"),t=$(),n=S(R(k)),r=t.indexOf(n);-1!==r&&(B.current=r),O.current.includes("floating")||n!==m.domReference.current&&0===t.length?"0"!==e&&U.setAttribute("tabindex","0"):"-1"!==e&&U.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(U,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[a,k,U,m,O,$,_]);const K=!a&&D&&(!u||!j)&&(V||u);return r.createElement(r.Fragment,null,K&&r.createElement($n,{"data-type":"inside",ref:null==I?void 0:I.beforeInsideRef,onFocus:e=>{if(u){const e=q();Vt("reference"===o[0]?e[0]:e[e.length-1])}else if(null!=I&&I.preserveTabOrder&&I.portalNode)if(Y.current=!1,Wn(e,I.portalNode)){const e=Yn()||w;null==e||e.focus()}else{var t;null==(t=I.beforeOutsideRef.current)||t.focus()}}}),!j&&Q("start"),n,Q("end"),K&&r.createElement($n,{"data-type":"inside",ref:null==I?void 0:I.afterInsideRef,onFocus:e=>{if(u)Vt(q()[0]);else if(null!=I&&I.preserveTabOrder&&I.portalNode)if(h&&(Y.current=!0),Wn(e,I.portalNode)){const e=zn()||w;null==e||e.focus()}else{var t;null==(t=I.afterOutsideRef.current)||t.focus()}}}))}let ir=0;let sr=()=>{};const lr=r.forwardRef((function(e,t){const{lockScroll:n=!1,...a}=e;return Ut((()=>{if(n)return ir++,1===ir&&(sr=function(){const e=/iP(hone|ad|od)|iOS/.test(D()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,a=t.left?parseFloat(t.left):window.scrollX,o=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var i,s;const e=(null==(i=window.visualViewport)?void 0:i.offsetLeft)||0,n=(null==(s=window.visualViewport)?void 0:s.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(o-Math.floor(n))+"px",left:-(a-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(a,o))}}()),()=>{ir--,0===ir&&sr()}}),[n]),r.createElement("div",rn({ref:t},a,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...a.style}}))}));function cr(e){return d(e.target)&&"BUTTON"===e.target.tagName}function ur(e){return Y(e)}function dr(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,dataRef:o,elements:{domReference:i}}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,f=r.useRef(),h=r.useRef(!1),p=r.useMemo((()=>({onPointerDown(e){f.current=e.pointerType},onMouseDown(e){const t=f.current;0===e.button&&"click"!==l&&(I(t,!0)&&u||(!n||!c||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),a(!0,e.nativeEvent,"click")):a(!1,e.nativeEvent,"click")))},onClick(e){const t=f.current;"mousedown"===l&&f.current?f.current=void 0:I(t,!0)&&u||(!n||!c||o.current.openEvent&&"click"!==o.current.openEvent.type?a(!0,e.nativeEvent,"click"):a(!1,e.nativeEvent,"click"))},onKeyDown(e){f.current=void 0,e.defaultPrevented||!d||cr(e)||(" "!==e.key||ur(i)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&a(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||cr(e)||ur(i)||" "===e.key&&h.current&&(h.current=!1,a(!n||!c,e.nativeEvent,"click"))}})),[o,i,l,u,d,a,n,c]);return r.useMemo((()=>s?{reference:p}:{}),[s,p])}function fr(e){return null!=e&&null!=e.clientX}function hr(e,t){void 0===t&&(t={});const{open:n,dataRef:a,elements:{floating:o,domReference:i},refs:l}=e,{enabled:c=!0,axis:u="both",x:d=null,y:f=null}=t,h=r.useRef(!1),p=r.useRef(null),[m,g]=r.useState(),[y,v]=r.useState([]),b=Ot(((e,t)=>{h.current||a.current.openEvent&&!fr(a.current.openEvent)||l.setPositionReference(function(e,t){let n=null,r=null,a=!1;return{contextElement:e||void 0,getBoundingClientRect(){var o;const i=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,l="y"===t.axis||"both"===t.axis,c=["mouseenter","mousemove"].includes((null==(o=t.dataRef.current.openEvent)?void 0:o.type)||"")&&"touch"!==t.pointerType;let u=i.width,d=i.height,f=i.x,h=i.y;return null==n&&t.x&&s&&(n=i.x-t.x),null==r&&t.y&&l&&(r=i.y-t.y),f-=n||0,h-=r||0,u=0,d=0,!a||c?(u="y"===t.axis?i.width:0,d="x"===t.axis?i.height:0,f=s&&null!=t.x?t.x:f,h=l&&null!=t.y?t.y:h):a&&!c&&(d="x"===t.axis?i.height:d,u="y"===t.axis?i.width:u),a=!0,{width:u,height:d,x:f,y:h,top:h,right:f+u,bottom:h+d,left:f}}}}(i,{x:e,y:t,axis:u,dataRef:a,pointerType:m}))})),x=Ot((e=>{null==d&&null==f&&(n?p.current||v([]):b(e.clientX,e.clientY))})),w=I(m)?o:n,k=r.useCallback((()=>{if(!w||!c||null!=d||null!=f)return;const e=s(o);function t(n){const r=L(n);M(o,r)?(e.removeEventListener("mousemove",t),p.current=null):b(n.clientX,n.clientY)}if(!a.current.openEvent||fr(a.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),p.current=null};return p.current=n,n}l.setPositionReference(i)}),[w,c,d,f,o,a,l,i,b]);r.useEffect((()=>k()),[k,y]),r.useEffect((()=>{c&&!o&&(h.current=!1)}),[c,o]),r.useEffect((()=>{!c&&n&&(h.current=!0)}),[c,n]),Ut((()=>{!c||null==d&&null==f||(h.current=!1,b(d,f))}),[c,d,f,b]);const _=r.useMemo((()=>{function e(e){let{pointerType:t}=e;g(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:x,onMouseEnter:x}}),[x]);return r.useMemo((()=>c?{reference:_}:{}),[c,_])}const pr={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},mr={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},gr=e=>{var t,n;return{escapeKey:"boolean"===typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"===typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function yr(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,elements:o,dataRef:i}=e,{enabled:s=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:f="pointerdown",referencePress:h=!1,referencePressEvent:p="pointerdown",ancestorScroll:m=!1,bubbles:g,capture:x}=t,k=pn(),j=Ot("function"===typeof c?c:()=>!1),S="function"===typeof c?j:c,D=r.useRef(!1),O=r.useRef(!1),{escapeKey:E,outsidePress:N}=gr(g),{escapeKey:P,outsidePress:T}=gr(x),C=r.useRef(!1),I=Ot((e=>{var t;if(!n||!s||!l||"Escape"!==e.key)return;if(C.current)return;const r=null==(t=i.current.floatingContext)?void 0:t.nodeId,o=k?On(k.nodesRef.current,r):[];if(!E&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}a(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),A=Ot((e=>{var t;const n=()=>{var t;I(e),null==(t=L(e))||t.removeEventListener("keydown",n)};null==(t=L(e))||t.addEventListener("keydown",n)})),Y=Ot((e=>{var t;const n=D.current;D.current=!1;const r=O.current;if(O.current=!1,"click"===f&&r)return;if(n)return;if("function"===typeof S&&!S(e))return;const s=L(e),l="["+vn("inert")+"]",c=R(o.floating).querySelectorAll(l);let h=u(s)?s:null;for(;h&&!v(h);){const e=w(h);if(v(e)||!u(e))break;h=e}if(c.length&&u(s)&&!s.matches("html,body")&&!M(s,o.floating)&&Array.from(c).every((e=>!M(h,e))))return;if(d(s)&&H){const t=s.clientWidth>0&&s.scrollWidth>s.clientWidth,n=s.clientHeight>0&&s.scrollHeight>s.clientHeight;let r=n&&e.offsetX>s.clientWidth;if(n){"rtl"===b(s).direction&&(r=e.offsetX<=s.offsetWidth-s.clientWidth)}if(r||t&&e.offsetY>s.clientHeight)return}const p=null==(t=i.current.floatingContext)?void 0:t.nodeId,m=k&&On(k.nodesRef.current,p).some((t=>{var n;return F(e,null==(n=t.context)?void 0:n.elements.floating)}));if(F(e,o.floating)||F(e,o.domReference)||m)return;const g=k?On(k.nodesRef.current,p):[];if(g.length>0){let e=!0;if(g.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}a(!1,e,"outside-press")})),z=Ot((e=>{var t;const n=()=>{var t;Y(e),null==(t=L(e))||t.removeEventListener(f,n)};null==(t=L(e))||t.addEventListener(f,n)}));r.useEffect((()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=E,i.current.__outsidePressBubbles=N;let e=-1;function t(e){a(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),C.current=!0}function c(){e=window.setTimeout((()=>{C.current=!1}),y()?5:0)}const d=R(o.floating);l&&(d.addEventListener("keydown",P?A:I,P),d.addEventListener("compositionstart",r),d.addEventListener("compositionend",c)),S&&d.addEventListener(f,T?z:Y,T);let h=[];return m&&(u(o.domReference)&&(h=_(o.domReference)),u(o.floating)&&(h=h.concat(_(o.floating))),!u(o.reference)&&o.reference&&o.reference.contextElement&&(h=h.concat(_(o.reference.contextElement)))),h=h.filter((e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})),h.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{l&&(d.removeEventListener("keydown",P?A:I,P),d.removeEventListener("compositionstart",r),d.removeEventListener("compositionend",c)),S&&d.removeEventListener(f,T?z:Y,T),h.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[i,o,l,S,f,n,a,m,s,E,N,I,P,A,Y,T,z]),r.useEffect((()=>{D.current=!1}),[S,f]);const W=r.useMemo((()=>({onKeyDown:I,[pr[p]]:e=>{h&&a(!1,e.nativeEvent,"reference-press")}})),[I,a,h,p]),H=r.useMemo((()=>({onKeyDown:I,onMouseDown(){O.current=!0},onMouseUp(){O.current=!0},[mr[f]]:()=>{D.current=!0}})),[I,f]);return r.useMemo((()=>s?{reference:W,floating:H}:{}),[s,W,H])}function vr(e){const{open:t=!1,onOpenChange:n,elements:a}=e,o=ln(),i=r.useRef({}),[s]=r.useState((()=>un())),l=null!=hn();const[c,u]=r.useState(a.reference),d=Ot(((e,t,r)=>{i.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),f=r.useMemo((()=>({setPositionReference:u})),[]),h=r.useMemo((()=>({reference:c||a.reference||null,floating:a.floating||null,domReference:a.reference})),[c,a.reference,a.floating]);return r.useMemo((()=>({dataRef:i,open:t,onOpenChange:d,elements:h,events:s,floatingId:o,refs:f})),[t,d,h,s,o,f])}function br(e){void 0===e&&(e={});const{nodeId:t}=e,n=vr({...e,elements:{reference:null,floating:null,...e.elements}}),a=e.rootContext||n,o=a.elements,[i,s]=r.useState(null),[l,c]=r.useState(null),d=(null==o?void 0:o.reference)||i,f=r.useRef(null),h=pn();Ut((()=>{d&&(f.current=d)}),[d]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=r.useState(a);dt(h,a)||p(a);const[m,g]=r.useState(null),[y,v]=r.useState(null),b=r.useCallback((e=>{e!==_.current&&(_.current=e,g(e))}),[]),x=r.useCallback((e=>{e!==j.current&&(j.current=e,v(e))}),[]),w=i||m,k=s||y,_=r.useRef(null),j=r.useRef(null),S=r.useRef(d),M=null!=c,D=pt(c),O=pt(o),E=pt(u),N=r.useCallback((()=>{if(!_.current||!j.current)return;const e={placement:t,strategy:n,middleware:h};O.current&&(e.platform=O.current),ct(_.current,j.current,e).then((e=>{const t={...e,isPositioned:!1!==E.current};P.current&&!dt(S.current,t)&&(S.current=t,Te.flushSync((()=>{f(t)})))}))}),[h,t,n,O,E]);ut((()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const P=r.useRef(!1);ut((()=>(P.current=!0,()=>{P.current=!1})),[]),ut((()=>{if(w&&(_.current=w),k&&(j.current=k),w&&k){if(D.current)return D.current(w,k,N);N()}}),[w,k,N,D,M]);const T=r.useMemo((()=>({reference:_,floating:j,setReference:b,setFloating:x})),[b,x]),C=r.useMemo((()=>({reference:w,floating:k})),[w,k]),I=r.useMemo((()=>{const e={position:n,left:0,top:0};if(!C.floating)return e;const t=ht(C.floating,d.x),r=ht(C.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...ft(C.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,C.floating,d.x,d.y]);return r.useMemo((()=>({...d,update:N,refs:T,elements:C,floatingStyles:I})),[d,N,T,C,I])}({...e,elements:{...o,...l&&{reference:l}}}),m=r.useCallback((e=>{const t=u(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),p.refs.setReference(t)}),[p.refs]),g=r.useCallback((e=>{(u(e)||null===e)&&(f.current=e,s(e)),(u(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!u(e))&&p.refs.setReference(e)}),[p.refs]),y=r.useMemo((()=>({...p.refs,setReference:g,setPositionReference:m,domReference:f})),[p.refs,g,m]),v=r.useMemo((()=>({...p.elements,domReference:d})),[p.elements,d]),b=r.useMemo((()=>({...p,...a,refs:y,elements:v,nodeId:t})),[p,y,v,t,a]);return Ut((()=>{a.dataRef.current.floatingContext=b;const e=null==h?void 0:h.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),r.useMemo((()=>({...p,context:b,refs:y,elements:v})),[p,y,v,b])}function xr(e,t){void 0===t&&(t={});const{open:n,onOpenChange:a,events:o,dataRef:i,elements:l}=e,{enabled:c=!0,visibleOnly:f=!0}=t,h=r.useRef(!1),p=r.useRef(),m=r.useRef(!0);r.useEffect((()=>{if(!c)return;const e=s(l.domReference);function t(){!n&&d(l.domReference)&&l.domReference===S(R(l.domReference))&&(h.current=!0)}function r(){m.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[l.domReference,n,c]),r.useEffect((()=>{if(c)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(h.current=!0)}}),[o,c]),r.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const g=r.useMemo((()=>({onPointerDown(e){N(e.nativeEvent)||(m.current=!1)},onMouseLeave(){h.current=!1},onFocus(e){if(h.current)return;const t=L(e.nativeEvent);if(f&&u(t))try{if(P()&&C())throw Error();if(!t.matches(":focus-visible"))return}catch(n){if(!m.current&&!Y(t))return}a(!0,e.nativeEvent,"focus")},onBlur(e){h.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=u(t)&&t.hasAttribute(vn("focus-guard"))&&"outside"===t.getAttribute("data-type");p.current=window.setTimeout((()=>{var e;const o=S(l.domReference?l.domReference.ownerDocument:document);(t||o!==l.domReference)&&(M(null==(e=i.current.floatingContext)?void 0:e.refs.floating.current,o)||M(l.domReference,o)||r||a(!1,n,"focus"))}))}})),[i,l.domReference,a,f]);return r.useMemo((()=>c?{reference:g}:{}),[c,g])}const wr="active",kr="selected";function _r(e,t,n){const r=new Map,a="item"===n;let o=e;if(a&&e){const{[wr]:t,[kr]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[Xn]:""},...o,...t.map((t=>{const r=t?t[n]:null;return"function"===typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var i;a&&[wr,kr].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"===typeof o&&(null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...a))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function jr(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),a=e.map((e=>null==e?void 0:e.item)),o=r.useCallback((t=>_r(t,e,"reference")),t),i=r.useCallback((t=>_r(t,e,"floating")),n),s=r.useCallback((t=>_r(t,e,"item")),a);return r.useMemo((()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:s})),[o,i,s])}let Sr=!1;function Mr(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Dr(e,t){return Mr(t,e===Et||e===Nt,e===Pt||e===Tt)}function Or(e,t,n){return Mr(t,e===Nt,n?e===Pt:e===Tt)||"Enter"===e||" "===e||""===e}function Er(e,t,n){return Mr(t,n?e===Tt:e===Pt,e===Et)}function Nr(e,t){const{open:n,onOpenChange:a,elements:o}=e,{listRef:i,activeIndex:s,onNavigate:l=()=>{},enabled:c=!0,selectedIndex:u=null,allowEscape:f=!1,loop:h=!1,nested:p=!1,rtl:m=!1,virtual:g=!1,focusItemOnOpen:y="auto",focusItemOnHover:v=!0,openOnArrowKeyDown:b=!0,disabledIndices:x,orientation:w="vertical",cols:k=1,scrollItemIntoView:_=!0,virtualItemRef:j,itemSizes:D,dense:O=!1}=t;const T=bn(Jn(o.floating)),I=hn(),F=pn(),L=Ot(l),A=r.useRef(y),Y=r.useRef(null!=u?u:-1),H=r.useRef(null),B=r.useRef(!0),V=r.useRef(L),U=r.useRef(!!o.floating),$=r.useRef(n),q=r.useRef(!1),Q=r.useRef(!1),K=bn(x),Z=bn(n),G=bn(_),X=bn(u),[J,ee]=r.useState(),[te,ne]=r.useState(),re=Ot((function(e,t,n){function r(e){g?(ee(e.id),null==F||F.events.emit("virtualfocus",e),j&&(j.current=e)):Vt(e,{preventScroll:!0,sync:!(!C()||!P())&&(Sr||q.current)})}void 0===n&&(n=!1);const a=e.current[t.current];a&&r(a),requestAnimationFrame((()=>{const o=e.current[t.current]||a;if(!o)return;a||r(o);const i=G.current;i&&oe&&(n||!B.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"===typeof i?{block:"nearest",inline:"nearest"}:i))}))}));Ut((()=>{document.createElement("div").focus({get preventScroll(){return Sr=!0,!1}})}),[]),Ut((()=>{c&&(n&&o.floating?A.current&&null!=u&&(Q.current=!0,Y.current=u,L(u)):U.current&&(Y.current=-1,V.current(null)))}),[c,n,o.floating,u,L]),Ut((()=>{if(c&&n&&o.floating)if(null==s){if(q.current=!1,null!=X.current)return;if(U.current&&(Y.current=-1,re(i,Y)),(!$.current||!U.current)&&A.current&&(null!=H.current||!0===A.current&&null==H.current)){let e=0;const t=()=>{if(null==i.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else Y.current=null==H.current||Or(H.current,w,m)||p?Rt(i,K.current):Ft(i,K.current),H.current=null,L(Y.current)};t()}}else It(i,s)||(Y.current=s,re(i,Y,Q.current),Q.current=!1)}),[c,n,o.floating,s,X,p,i,w,m,L,re,K]),Ut((()=>{var e;if(!c||o.floating||!F||g||!U.current)return;const t=F.nodesRef.current,n=null==(e=t.find((e=>e.id===I)))||null==(e=e.context)?void 0:e.elements.floating,r=S(R(o.floating)),a=t.some((e=>e.context&&M(e.context.elements.floating,r)));n&&!a&&B.current&&n.focus({preventScroll:!0})}),[c,o.floating,F,I,g]),Ut((()=>{if(c&&F&&g&&!I)return F.events.on("virtualfocus",e),()=>{F.events.off("virtualfocus",e)};function e(e){ne(e.id),j&&(j.current=e)}}),[c,F,g,I,j]),Ut((()=>{V.current=L,U.current=!!o.floating})),Ut((()=>{n||(H.current=null)}),[n]),Ut((()=>{$.current=n}),[n]);const ae=null!=s,oe=r.useMemo((()=>{function e(e){if(!n)return;const t=i.current.indexOf(e);-1!==t&&L(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...v&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;B.current&&"touch"!==t&&(Y.current=-1,re(i,Y),L(null),g||Vt(T.current,{preventScroll:!0}))}}}}),[n,T,re,v,i,L,g]),ie=Ot((e=>{if(B.current=!1,q.current=!0,229===e.which)return;if(!Z.current&&e.currentTarget===T.current)return;if(p&&Er(e.key,w,m))return z(e),a(!1,e.nativeEvent,"list-navigation"),void(d(o.domReference)&&!g&&o.domReference.focus());const t=Y.current,r=Rt(i,x),s=Ft(i,x);if("Home"===e.key&&(z(e),Y.current=r,L(Y.current)),"End"===e.key&&(z(e),Y.current=s,L(Y.current)),k>1){const t=D||Array.from({length:i.current.length},(()=>({width:1,height:1}))),n=Yt(t,k,O),a=n.findIndex((e=>null!=e&&!Ht(i.current,e,x))),o=n.reduce(((e,t,n)=>null==t||Ht(i.current,t,x)?e:n),-1),l=n[At({current:n.map((e=>null!=e?i.current[e]:null))},{event:e,orientation:w,loop:h,cols:k,disabledIndices:Wt([...x||i.current.map(((e,t)=>Ht(i.current,t)?t:void 0)),void 0],n),minIndex:a,maxIndex:o,prevIndex:zt(Y.current>s?r:Y.current,t,n,k,e.key===Nt?"bl":e.key===Tt?"tr":"tl"),stopEvent:!0})];if(null!=l&&(Y.current=l,L(Y.current)),"both"===w)return}if(Dr(e.key,w)){if(z(e),n&&!g&&S(e.currentTarget.ownerDocument)===e.currentTarget)return Y.current=Or(e.key,w,m)?r:s,void L(Y.current);Or(e.key,w,m)?Y.current=h?t>=s?f&&t!==i.current.length?-1:r:Lt(i,{startingIndex:t,disabledIndices:x}):Math.min(s,Lt(i,{startingIndex:t,disabledIndices:x})):Y.current=h?t<=r?f&&-1!==t?i.current.length:s:Lt(i,{startingIndex:t,decrement:!0,disabledIndices:x}):Math.max(r,Lt(i,{startingIndex:t,decrement:!0,disabledIndices:x})),It(i,Y.current)?L(null):L(Y.current)}})),se=r.useMemo((()=>g&&n&&ae&&{"aria-activedescendant":te||J}),[g,n,ae,te,J]),le=r.useMemo((()=>({"aria-orientation":"both"===w?void 0:w,...!W(o.domReference)&&se,onKeyDown:ie,onPointerMove(){B.current=!0}})),[se,ie,o.domReference,w]),ce=r.useMemo((()=>{function e(e){"auto"===y&&E(e.nativeEvent)&&(A.current=!0)}return{...se,onKeyDown(e){B.current=!1;const t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),o=t||r,s=function(e,t,n){return Mr(t,n?e===Pt:e===Tt,e===Nt)}(e.key,w,m),l=Er(e.key,w,m),c=Dr(e.key,w),d=(p?s:c)||"Enter"===e.key||""===e.key.trim();if(g&&n){const t=null==F?void 0:F.nodesRef.current.find((e=>null==e.parentId)),n=F&&t?function(e,t){let n,r=-1;return function t(a,o){o>r&&(n=a,r=o),On(e,a).forEach((e=>{t(e.id,o+1)}))}(t,0),e.find((e=>e.id===n))}(F.nodesRef.current,t.id):null;if(o&&n&&j){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(s||l){var f,h;const r=(null==(f=n.context)?void 0:f.elements.domReference)===e.currentTarget,a=l&&!r?null==(h=n.context)?void 0:h.elements.domReference:s?i.current.find((e=>(null==e?void 0:e.id)===J)):null;a&&(z(e),a.dispatchEvent(t),ne(void 0))}var y;if((c||r)&&n.context)if(n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return z(e),void(null==(y=n.context.elements.domReference)||y.dispatchEvent(t))}return ie(e)}(n||b||!t)&&(d&&(H.current=p&&c?null:e.key),p?s&&(z(e),n?(Y.current=Rt(i,K.current),L(Y.current)):a(!0,e.nativeEvent,"list-navigation")):c&&(null!=u&&(Y.current=u),z(e),!n&&b?a(!0,e.nativeEvent,"list-navigation"):ie(e),n&&L(Y.current)))},onFocus(){n&&!g&&L(null)},onPointerDown:function(e){A.current=y,"auto"===y&&N(e.nativeEvent)&&(A.current=!0)},onMouseDown:e,onClick:e}}),[J,se,ie,K,y,i,p,L,a,n,b,w,m,u,F,g,j]);return r.useMemo((()=>c?{reference:ce,floating:le,item:oe}:{}),[c,ce,le,oe])}const Pr=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Tr(e,t){var n;void 0===t&&(t={});const{open:a,floatingId:o}=e,{enabled:i=!0,role:s="dialog"}=t,l=null!=(n=Pr.get(s))?n:s,c=ln(),u=null!=hn(),d=r.useMemo((()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:a?o:void 0}:{"aria-expanded":a?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":a?o:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[l,o,u,a,c,s]),f=r.useMemo((()=>{const e={id:o,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,o,c,s]),h=r.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:o+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[o,s]);return r.useMemo((()=>i?{reference:d,floating:f,item:h}:{}),[i,d,f,h])}const Cr=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function Ir(e,t){return"function"===typeof e?e(t):e}function Rr(e,t){void 0===t&&(t={});const{open:n,elements:{floating:a}}=e,{duration:o=250}=t,i=("number"===typeof o?o:o.close)||0,[s,l]=r.useState("unmounted"),c=function(e,t){const[n,a]=r.useState(e);return e&&!n&&a(!0),r.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>a(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,i);return c||"close"!==s||l("unmounted"),Ut((()=>{if(a){if(n){l("initial");const e=requestAnimationFrame((()=>{l("open")}));return()=>{cancelAnimationFrame(e)}}l("close")}}),[n,a]),{isMounted:c,status:s}}function Fr(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:a,close:o,common:i,duration:s=250}=t,l=e.placement,c=l.split("-")[0],u=r.useMemo((()=>({side:c,placement:l})),[c,l]),d="number"===typeof s,f=(d?s:s.open)||0,h=(d?s:s.close)||0,[p,m]=r.useState((()=>({...Ir(i,u),...Ir(n,u)}))),{isMounted:g,status:y}=Rr(e,{duration:s}),v=bn(n),b=bn(a),x=bn(o),w=bn(i);return Ut((()=>{const e=Ir(v.current,u),t=Ir(x.current,u),n=Ir(w.current,u),r=Ir(b.current,u)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===y&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===y&&m({transitionProperty:Object.keys(r).map(Cr).join(","),transitionDuration:f+"ms",...n,...r}),"close"===y){const r=t||e;m({transitionProperty:Object.keys(r).map(Cr).join(","),transitionDuration:h+"ms",...n,...r})}}),[h,x,v,b,w,f,y,u]),{isMounted:g,styles:p}}function Lr(e,t){var n;const{open:a,dataRef:o}=e,{listRef:i,activeIndex:s,onMatch:l,onTypingChange:c,enabled:u=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:h=[],selectedIndex:p=null}=t,m=r.useRef(),g=r.useRef(""),y=r.useRef(null!=(n=null!=p?p:s)?n:-1),v=r.useRef(null),b=Ot(l),x=Ot(c),w=bn(d),k=bn(h);Ut((()=>{a&&(clearTimeout(m.current),v.current=null,g.current="")}),[a]),Ut((()=>{var e;a&&""===g.current&&(y.current=null!=(e=null!=p?p:s)?e:-1)}),[a,p,s]);const _=Ot((e=>{e?o.current.typing||(o.current.typing=e,x(e)):o.current.typing&&(o.current.typing=e,x(e))})),j=Ot((e=>{function t(e,t,n){const r=w.current?w.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=i.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(n,n,g.current)?_(!1):" "===e.key&&z(e)),null==n||k.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;a&&" "!==e.key&&(z(e),_(!0));n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&g.current===e.key&&(g.current="",y.current=v.current),g.current+=e.key,clearTimeout(m.current),m.current=setTimeout((()=>{g.current="",y.current=v.current,_(!1)}),f);const r=y.current,o=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],g.current);-1!==o?(b(o),v.current=o):" "!==e.key&&(g.current="",_(!1))})),S=r.useMemo((()=>({onKeyDown:j})),[j]),M=r.useMemo((()=>({onKeyDown:j,onKeyUp(e){" "===e.key&&_(!1)}})),[j,_]);return r.useMemo((()=>u?{reference:S,floating:M}:{}),[u,S,M])}function Ar(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Yr=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:a,offset:o=0,index:i=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...u}=J(e,t),{rects:d,elements:{floating:f}}=t,h=n.current[i],p=(null==c?void 0:c.current)||f,m=f.clientTop||p.clientTop,g=0!==f.clientTop,y=0!==p.clientTop,v=f===p;if(!h)return{};const b={...t,...await gt(-h.offsetTop-f.clientTop-d.reference.height/2-h.offsetHeight/2-o).fn(t)},x=await Je(Ar(b,p.scrollHeight+m+f.clientTop),u),w=await Je(b,{...u,elementContext:"reference"}),k=$(0,x.top),_=b.y+k,j=p.scrollHeight>p.clientHeight,S=(j?e=>e:q)($(0,p.scrollHeight+(g&&v||y?2*m:0)-k-$(0,x.bottom)));if(p.style.maxHeight=S+"px",p.scrollTop=k,a){const e=j&&p.offsetHeight<h.offsetHeight*s-1||w.top>=-l||w.bottom>=-l;Te.flushSync((()=>a(e)))}return r&&(r.current=await Je(Ar({...b,y:_},p.offsetHeight+m+f.clientTop),u)),{y:_}}});function zr(e,t){const{open:n,elements:a}=e,{enabled:o=!0,overflowRef:i,scrollRef:s,onChange:l}=t,c=Ot(l),u=r.useRef(!1),d=r.useRef(null),f=r.useRef(null);r.useEffect((()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==i.current)return;const n=e.deltaY,r=i.current.top>=-.5,a=i.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,s=n<0?-1:1,l=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!a&&n<0?(e.preventDefault(),Te.flushSync((()=>{c((e=>e+Math[l](n,o*s)))}))):/firefox/i.test(O())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||a.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{d.current=t.scrollTop,null!=i.current&&(f.current={...i.current})})),()=>{d.current=null,f.current=null,t.removeEventListener("wheel",e)}):void 0}),[o,n,a.floating,i,s,c]);const h=r.useMemo((()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const e=(null==s?void 0:s.current)||a.floating;if(i.current&&e&&u.current){if(null!==d.current){const t=e.scrollTop-d.current;(i.current.bottom<-.5&&t<-1||i.current.top<-.5&&t>1)&&Te.flushSync((()=>c((e=>e+t))))}requestAnimationFrame((()=>{d.current=e.scrollTop}))}}})),[a.floating,c,i,s]);return r.useMemo((()=>o?{floating:h}:{}),[o,h])}function Wr(e,t){const[n,r]=e;let a=!1;const o=t.length;for(let i=0,s=o-1;i<o;s=i++){const[e,o]=t[i]||[0,0],[l,c]=t[s]||[0,0];o>=r!==c>=r&&n<=(l-e)*(r-o)/(c-o)+e&&(a=!a)}return a}function Hr(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let a,o=!1,i=null,s=null,l=performance.now();const c=e=>{let{x:n,y:c,placement:d,elements:f,onClose:h,nodeId:p,tree:m}=e;return function(e){function g(){clearTimeout(a),h()}if(clearTimeout(a),!f.domReference||!f.floating||null==d||null==n||null==c)return;const{clientX:y,clientY:v}=e,b=[y,v],x=L(e),w="mouseleave"===e.type,k=M(f.floating,x),_=M(f.domReference,x),j=f.domReference.getBoundingClientRect(),S=f.floating.getBoundingClientRect(),D=d.split("-")[0],O=n>S.right-S.width/2,E=c>S.bottom-S.height/2,N=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(b,j),P=S.width>j.width,T=S.height>j.height,C=(P?j:S).left,I=(P?j:S).right,R=(T?j:S).top,F=(T?j:S).bottom;if(k&&(o=!0,!w))return;if(_&&(o=!1),_&&!w)return void(o=!0);if(w&&u(e.relatedTarget)&&M(f.floating,e.relatedTarget))return;if(m&&On(m.nodesRef.current,p).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===D&&c>=j.bottom-1||"bottom"===D&&c<=j.top+1||"left"===D&&n>=j.right-1||"right"===D&&n<=j.left+1)return g();let A=[];switch(D){case"top":A=[[C,j.top+1],[C,S.bottom-1],[I,S.bottom-1],[I,j.top+1]];break;case"bottom":A=[[C,S.top+1],[C,j.bottom-1],[I,j.bottom-1],[I,S.top+1]];break;case"left":A=[[S.right-1,F],[S.right-1,R],[j.left+1,R],[j.left+1,F]];break;case"right":A=[[j.right-1,F],[j.right-1,R],[S.left+1,R],[S.left+1,F]]}if(!Wr([y,v],A)){if(o&&!N)return g();if(!w&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===i||null===s||0===r)return i=e,s=t,l=n,null;const a=e-i,o=t-s,c=Math.sqrt(a*a+o*o);return i=e,s=t,l=n,c/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return g()}Wr([y,v],function(e){let[n,r]=e;switch(D){case"top":return[[P?n+t/2:O?n+4*t:n-4*t,r+t+1],[P?n-t/2:O?n+4*t:n-4*t,r+t+1],...[[S.left,O||P?S.bottom-t:S.top],[S.right,O?P?S.bottom-t:S.top:S.bottom-t]]];case"bottom":return[[P?n+t/2:O?n+4*t:n-4*t,r-t],[P?n-t/2:O?n+4*t:n-4*t,r-t],...[[S.left,O||P?S.top+t:S.bottom],[S.right,O?P?S.top+t:S.bottom:S.top+t]]];case"left":{const e=[n+t+1,T?r+t/2:E?r+4*t:r-4*t],a=[n+t+1,T?r-t/2:E?r+4*t:r-4*t];return[...[[E||T?S.right-t:S.left,S.top],[E?T?S.right-t:S.left:S.right-t,S.bottom]],e,a]}case"right":return[[n-t,T?r+t/2:E?r+4*t:r-4*t],[n-t,T?r-t/2:E?r+4*t:r-4*t],...[[E||T?S.left+t:S.right,S.top],[E?T?S.left+t:S.right:S.left+t,S.bottom]]]}}([n,c]))?!o&&r&&(a=window.setTimeout(g,40)):g()}}};return c.__options={blockPointerEvents:n},c}},7115:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=(r(n(1)),n(6)),i=r(o),s=r(n(7)),l=r(n(8)),c=r(n(9)),u=r(n(10)),d=r(n(11)),f=r(n(14)),h=[],p=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(p=!0),p)return h=(0,d.default)(h,m),(0,u.default)(h,m.once),h},y=function(){h=(0,f.default)(),g()},v=function(){h.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")}))},b=function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()},x=function(e){m=a(m,e),h=(0,f.default)();var t=document.all&&!window.atob;return b(m.disable)||t?v():(m.disableMutationObserver||l.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?g(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){g(!0)})):document.addEventListener(m.startEvent,(function(){g(!0)})),window.addEventListener("resize",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)((function(){(0,u.default)(h,m.once)}),m.throttleDelay)),m.disableMutationObserver||l.default.ready("[data-aos]",y),h)};e.exports={init:x,refresh:g,refreshHard:y}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=m,r=g;return m=g=void 0,j=t,v=e.apply(r,n)}function o(e){return j=e,b=setTimeout(u,t),S?r(e):v}function i(e){var n=t-(e-x);return M?k(n,y-(e-j)):n}function l(e){var n=e-x;return void 0===x||n>=t||n<0||M&&e-j>=y}function u(){var e=_();return l(e)?d(e):void(b=setTimeout(u,i(e)))}function d(e){return b=void 0,D&&m?r(e):(m=g=void 0,v)}function f(){void 0!==b&&clearTimeout(b),j=0,m=x=g=b=void 0}function h(){return void 0===b?v:d(_())}function p(){var e=_(),n=l(e);if(m=arguments,g=this,x=e,n){if(void 0===b)return o(x);if(M)return b=setTimeout(u,t),r(x)}return void 0===b&&(b=setTimeout(u,t)),v}var m,g,y,v,b,x,j=0,S=!1,M=!1,D=!0;if("function"!=typeof e)throw new TypeError(c);return t=s(t)||0,a(n)&&(S=!!n.leading,y=(M="maxWait"in n)?w(s(n.maxWait)||0,t):y,D="trailing"in n?!!n.trailing:D),p.cancel=f,p.flush=h,p}function r(e,t,r){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(c);return a(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),n(e,t,{leading:o,maxWait:t,trailing:i})}function a(e){var t="undefined"==typeof e?"undefined":l(e);return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==("undefined"==typeof e?"undefined":l(e))}function i(e){return"symbol"==("undefined"==typeof e?"undefined":l(e))||o(e)&&x.call(e)==d}function s(e){if("number"==typeof e)return e;if(i(e))return u;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var n=p.test(e);return n||m.test(e)?g(e.slice(2),n?2:8):h.test(e)?u:+e}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="Expected a function",u=NaN,d="[object Symbol]",f=/^\s+|\s+$/g,h=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,g=parseInt,y="object"==("undefined"==typeof t?"undefined":l(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,b=y||v||Function("return this")(),x=Object.prototype.toString,w=Math.max,k=Math.min,_=function(){return b.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function a(t){var n=m,r=g;return m=g=void 0,j=t,v=e.apply(r,n)}function o(e){return j=e,b=setTimeout(u,t),S?a(e):v}function s(e){var n=t-(e-_);return M?w(n,y-(e-j)):n}function c(e){var n=e-_;return void 0===_||n>=t||n<0||M&&e-j>=y}function u(){var e=k();return c(e)?d(e):void(b=setTimeout(u,s(e)))}function d(e){return b=void 0,D&&m?a(e):(m=g=void 0,v)}function f(){void 0!==b&&clearTimeout(b),j=0,m=_=g=b=void 0}function h(){return void 0===b?v:d(k())}function p(){var e=k(),n=c(e);if(m=arguments,g=this,_=e,n){if(void 0===b)return o(_);if(M)return b=setTimeout(u,t),a(_)}return void 0===b&&(b=setTimeout(u,t)),v}var m,g,y,v,b,_,j=0,S=!1,M=!1,D=!0;if("function"!=typeof e)throw new TypeError(l);return t=i(t)||0,r(n)&&(S=!!n.leading,y=(M="maxWait"in n)?x(i(n.maxWait)||0,t):y,D="trailing"in n?!!n.trailing:D),p.cancel=f,p.flush=h,p}function r(e){var t="undefined"==typeof e?"undefined":s(e);return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==("undefined"==typeof e?"undefined":s(e))}function o(e){return"symbol"==("undefined"==typeof e?"undefined":s(e))||a(e)&&b.call(e)==u}function i(e){if("number"==typeof e)return e;if(o(e))return c;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=h.test(e);return n||p.test(e)?m(e.slice(2),n?2:8):f.test(e)?c:+e}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l="Expected a function",c=NaN,u="[object Symbol]",d=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,m=parseInt,g="object"==("undefined"==typeof t?"undefined":s(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,v=g||y||Function("return this")(),b=Object.prototype.toString,x=Math.max,w=Math.min,k=function(){return v.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,r=void 0;for(t=0;t<e.length;t+=1){if((r=e[t]).dataset&&r.dataset.aos)return!0;if(r.children&&n(r.children))return!0}return!1}function r(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(){return!!r()}function o(e,t){var n=window.document,a=new(r())(i);s=t,a.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function i(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),r=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(r)))return s()}))}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){};t.default={isSupported:a,ready:o}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,i=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,l=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,c=function(){function e(){n(this,e)}return a(e,[{key:"phone",value:function(){var e=r();return!(!o.test(e)&&!i.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=r();return!(!s.test(e)&&!l.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new c},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var r=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof r&&("false"===r||!n&&"true"!==r)&&e.node.classList.remove("aos-animate")},r=function(e,t){var r=window.pageYOffset,a=window.innerHeight;e.forEach((function(e,o){n(e,a+r,t)}))};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(12)),o=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,a.default)(e.node,t.offset)})),e};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(13)),o=function(e,t){var n=0,r=0,o=window.innerHeight,i={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(i.offset&&!isNaN(i.offset)&&(r=parseInt(i.offset)),i.anchor&&document.querySelectorAll(i.anchor)&&(e=document.querySelectorAll(i.anchor)[0]),n=(0,a.default)(e).top,i.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=o/2;break;case"bottom-center":n+=o/2+e.offsetHeight;break;case"center-center":n+=o/2+e.offsetHeight/2;break;case"top-top":n+=o;break;case"bottom-top":n+=e.offsetHeight+o;break;case"center-top":n+=e.offsetHeight/2+o}return i.anchorPlacement||i.offset||isNaN(t)||(r=t),n+r};t.default=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))};t.default=n}])},2949:e=>{function t(e){var n,r,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function n(){for(var e,n,r=0,a="",o=arguments.length;r<o;r++)(e=arguments[r])&&(n=t(e))&&(a&&(a+=" "),a+=n);return a}e.exports=n,e.exports.clsx=n},427:(e,t)=>{"use strict";t.addLeadingZeros=function(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}},2222:(e,t,n)=>{"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(8757)},6868:(e,t)=>{"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},4578:(e,t,n)=>{"use strict";t.formatters=void 0;var r=n(5440),a=n(9871),o=n(8890),i=n(2252),s=n(7941),l=n(427),c=n(7630);const u="midnight",d="noon",f="morning",h="afternoon",p="evening",m="night";t.formatters={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){const a=(0,s.getWeekYear)(e,r),o=a>0?a:1-a;if("YY"===t){const e=o%100;return(0,l.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,t.length)},R:function(e,t){const n=(0,o.getISOWeekYear)(e);return(0,l.addLeadingZeros)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,l.addLeadingZeros)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=(0,i.getWeek)(e,r);return"wo"===t?n.ordinalNumber(a,{unit:"week"}):(0,l.addLeadingZeros)(a,t.length)},I:function(e,t,n){const r=(0,a.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){const a=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(a,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return(0,l.addLeadingZeros)(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(a=12===r?d:0===r?u:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(a=r>=17?p:r>=12?h:r>=4?f:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return y(r);case"XXXX":case"XX":return v(r);default:return v(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return y(r);case"xxxx":case"xx":return v(r);default:return v(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+v(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+v(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,l.addLeadingZeros)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,l.addLeadingZeros)(r,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return 0===o?n+String(a):n+String(a)+t+(0,l.addLeadingZeros)(o,2)}function y(e,t){if(e%60===0){return(e>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(e)/60,2)}return v(e,t)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+(0,l.addLeadingZeros)(Math.trunc(r/60),2)+t+(0,l.addLeadingZeros)(r%60,2)}},7630:(e,t,n)=>{"use strict";t.lightFormatters=void 0;var r=n(427);t.lightFormatters={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?a%100:a,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){const n=t.length,a=e.getMilliseconds(),o=Math.trunc(a*Math.pow(10,n-3));return(0,r.addLeadingZeros)(o,t.length)}}},5916:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const a=e.match(/(P+)(p+)?/)||[],o=a[1],i=a[2];if(!i)return n(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(o,t)).replace("{{time}}",r(i,t))}}},8056:(e,t)=>{"use strict";t.getRoundingMethod=function(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}},3300:(e,t,n)=>{"use strict";t.getTimezoneOffsetInMilliseconds=function(e){const t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(5551)},8913:(e,t)=>{"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),a.includes(e))throw new RangeError(r)};const n=/^D+$/,r=/^Y+$/,a=["D","DD","YY","YYYY"]},9067:(e,t,n)=>{"use strict";t.add=function(e,t){const{years:n=0,months:s=0,weeks:l=0,days:c=0,hours:u=0,minutes:d=0,seconds:f=0}=t,h=(0,i.toDate)(e),p=s||n?(0,a.addMonths)(h,s+12*n):h,m=c||l?(0,r.addDays)(p,c+7*l):p,g=1e3*(f+60*(d+60*u));return(0,o.constructFrom)(e,m.getTime()+g)};var r=n(8620),a=n(4640),o=n(4161),i=n(5551)},8806:(e,t,n)=>{"use strict";t.addBusinessDays=function(e,t){const n=(0,s.toDate)(e),l=(0,i.isWeekend)(n);if(isNaN(t))return(0,r.constructFrom)(e,NaN);const c=n.getHours(),u=t<0?-1:1,d=Math.trunc(t/5);n.setDate(n.getDate()+7*d);let f=Math.abs(t%5);for(;f>0;)n.setDate(n.getDate()+u),(0,i.isWeekend)(n)||(f-=1);l&&(0,i.isWeekend)(n)&&0!==t&&((0,a.isSaturday)(n)&&n.setDate(n.getDate()+(u<0?2:-1)),(0,o.isSunday)(n)&&n.setDate(n.getDate()+(u<0?1:-2)));return n.setHours(c),n};var r=n(4161),a=n(2161),o=n(1074),i=n(6597),s=n(5551)},8620:(e,t,n)=>{"use strict";t.addDays=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,a.constructFrom)(e,NaN);if(!t)return n;return n.setDate(n.getDate()+t),n};var r=n(5551),a=n(4161)},5608:(e,t,n)=>{"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInHour)};var r=n(3773),a=n(9757)},8594:(e,t,n)=>{"use strict";t.addISOWeekYears=function(e,t){return(0,a.setISOWeekYear)(e,(0,r.getISOWeekYear)(e)+t)};var r=n(8890),a=n(5318)},3773:(e,t,n)=>{"use strict";t.addMilliseconds=function(e,t){const n=+(0,r.toDate)(e);return(0,a.constructFrom)(e,n+t)};var r=n(5551),a=n(4161)},86:(e,t,n)=>{"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*a.millisecondsInMinute)};var r=n(3773),a=n(9757)},4640:(e,t,n)=>{"use strict";t.addMonths=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,a.constructFrom)(e,NaN);if(!t)return n;const o=n.getDate(),i=(0,a.constructFrom)(e,n.getTime());i.setMonth(n.getMonth()+t+1,0);const s=i.getDate();return o>=s?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)};var r=n(5551),a=n(4161)},1634:(e,t,n)=>{"use strict";t.addQuarters=function(e,t){const n=3*t;return(0,r.addMonths)(e,n)};var r=n(4640)},2570:(e,t,n)=>{"use strict";t.addSeconds=function(e,t){return(0,r.addMilliseconds)(e,1e3*t)};var r=n(3773)},9994:(e,t,n)=>{"use strict";t.addWeeks=function(e,t){const n=7*t;return(0,r.addDays)(e,n)};var r=n(8620)},709:(e,t,n)=>{"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(4640)},3523:(e,t,n)=>{"use strict";t.areIntervalsOverlapping=function(e,t,n){const[a,o]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort(((e,t)=>e-t)),[i,s]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n?.inclusive?a<=s&&i<=o:a<s&&i<o};var r=n(5551)},9939:(e,t,n)=>{"use strict";t.clamp=function(e,t){return(0,a.min)([(0,r.max)([e,t.start]),t.end])};var r=n(8442),a=n(1972)},3034:(e,t,n)=>{"use strict";t.closestIndexTo=function(e,t){const n=(0,r.toDate)(e);if(isNaN(Number(n)))return NaN;const a=n.getTime();let o,i;return t.forEach((function(e,t){const n=(0,r.toDate)(e);if(isNaN(Number(n)))return o=NaN,void(i=NaN);const s=Math.abs(a-n.getTime());(null==o||s<i)&&(o=t,i=s)})),o};var r=n(5551)},2886:(e,t,n)=>{"use strict";t.closestTo=function(e,t){const n=(0,a.toDate)(e);if(isNaN(Number(n)))return(0,r.constructFrom)(e,NaN);const o=n.getTime();let i,s;return t.forEach((t=>{const n=(0,a.toDate)(t);if(isNaN(Number(n)))return i=(0,r.constructFrom)(e,NaN),void(s=NaN);const l=Math.abs(o-n.getTime());(null==i||l<s)&&(i=n,s=l)})),i};var r=n(4161),a=n(5551)},9094:(e,t,n)=>{"use strict";t.compareAsc=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t),o=n.getTime()-a.getTime();return o<0?-1:o>0?1:o};var r=n(5551)},8958:(e,t,n)=>{"use strict";t.compareDesc=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t),o=n.getTime()-a.getTime();return o>0?-1:o<0?1:o};var r=n(5551)},9757:(e,t)=>{"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0;t.daysInWeek=7;const n=t.daysInYear=365.2425,r=t.maxTime=24*Math.pow(10,8)*60*60*1e3,a=(t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4,t.secondsInHour=3600),o=(t.secondsInMinute=60,t.secondsInDay=24*a),i=(t.secondsInWeek=7*o,t.secondsInYear=o*n),s=t.secondsInMonth=i/12;t.secondsInQuarter=3*s},4161:(e,t)=>{"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},7229:(e,t,n)=>{"use strict";t.constructNow=function(e){return(0,r.constructFrom)(e,Date.now())};var r=n(4161)},1875:(e,t,n)=>{"use strict";t.daysToWeeks=function(e){const t=e/r.daysInWeek,n=Math.trunc(t);return 0===n?0:n};var r=n(9757)},2819:(e,t,n)=>{"use strict";t.differenceInBusinessDays=function(e,t){const n=(0,l.toDate)(e);let c=(0,l.toDate)(t);if(!(0,i.isValid)(n)||!(0,i.isValid)(c))return NaN;const u=(0,a.differenceInCalendarDays)(n,c),d=u<0?-1:1,f=Math.trunc(u/7);let h=5*f;c=(0,r.addDays)(c,7*f);for(;!(0,o.isSameDay)(n,c);)h+=(0,s.isWeekend)(c)?0:d,c=(0,r.addDays)(c,d);return 0===h?0:h};var r=n(8620),a=n(3439),o=n(8444),i=n(9858),s=n(6597),l=n(5551)},3439:(e,t,n)=>{"use strict";t.differenceInCalendarDays=function(e,t){const n=(0,a.startOfDay)(e),i=(0,a.startOfDay)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+i-(0,o.getTimezoneOffsetInMilliseconds)(i);return Math.round((s-l)/r.millisecondsInDay)};var r=n(9757),a=n(6191),o=n(3300)},9865:(e,t,n)=>{"use strict";t.differenceInCalendarISOWeekYears=function(e,t){return(0,r.getISOWeekYear)(e)-(0,r.getISOWeekYear)(t)};var r=n(8890)},2266:(e,t,n)=>{"use strict";t.differenceInCalendarISOWeeks=function(e,t){const n=(0,a.startOfISOWeek)(e),i=(0,a.startOfISOWeek)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+i-(0,o.getTimezoneOffsetInMilliseconds)(i);return Math.round((s-l)/r.millisecondsInWeek)};var r=n(9757),a=n(1048),o=n(3300)},5575:(e,t,n)=>{"use strict";t.differenceInCalendarMonths=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t),o=n.getFullYear()-a.getFullYear(),i=n.getMonth()-a.getMonth();return 12*o+i};var r=n(5551)},5309:(e,t,n)=>{"use strict";t.differenceInCalendarQuarters=function(e,t){const n=(0,a.toDate)(e),o=(0,a.toDate)(t),i=n.getFullYear()-o.getFullYear(),s=(0,r.getQuarter)(n)-(0,r.getQuarter)(o);return 4*i+s};var r=n(2918),a=n(5551)},6003:(e,t,n)=>{"use strict";t.differenceInCalendarWeeks=function(e,t,n){const i=(0,a.startOfWeek)(e,n),s=(0,a.startOfWeek)(t,n),l=+i-(0,o.getTimezoneOffsetInMilliseconds)(i),c=+s-(0,o.getTimezoneOffsetInMilliseconds)(s);return Math.round((l-c)/r.millisecondsInWeek)};var r=n(9757),a=n(9249),o=n(3300)},9840:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()-a.getFullYear()};var r=n(5551)},6933:(e,t,n)=>{"use strict";t.differenceInDays=function(e,t){const n=(0,a.toDate)(e),i=(0,a.toDate)(t),s=o(n,i),l=Math.abs((0,r.differenceInCalendarDays)(n,i));n.setDate(n.getDate()-s*l);const c=Number(o(n,i)===-s),u=s*(l-c);return 0===u?0:u};var r=n(3439),a=n(5551);function o(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},6371:(e,t,n)=>{"use strict";t.differenceInHours=function(e,t,n){const i=(0,o.differenceInMilliseconds)(e,t)/a.millisecondsInHour;return(0,r.getRoundingMethod)(n?.roundingMethod)(i)};var r=n(8056),a=n(9757),o=n(8984)},9907:(e,t,n)=>{"use strict";t.differenceInISOWeekYears=function(e,t){let n=(0,i.toDate)(e);const s=(0,i.toDate)(t),l=(0,r.compareAsc)(n,s),c=Math.abs((0,a.differenceInCalendarISOWeekYears)(n,s));n=(0,o.subISOWeekYears)(n,l*c);const u=Number((0,r.compareAsc)(n,s)===-l),d=l*(c-u);return 0===d?0:d};var r=n(9094),a=n(9865),o=n(3131),i=n(5551)},8984:(e,t,n)=>{"use strict";t.differenceInMilliseconds=function(e,t){return+(0,r.toDate)(e)-+(0,r.toDate)(t)};var r=n(5551)},281:(e,t,n)=>{"use strict";t.differenceInMinutes=function(e,t,n){const i=(0,o.differenceInMilliseconds)(e,t)/a.millisecondsInMinute;return(0,r.getRoundingMethod)(n?.roundingMethod)(i)};var r=n(8056),a=n(9757),o=n(8984)},4917:(e,t,n)=>{"use strict";t.differenceInMonths=function(e,t){const n=(0,i.toDate)(e),s=(0,i.toDate)(t),l=(0,r.compareAsc)(n,s),c=Math.abs((0,a.differenceInCalendarMonths)(n,s));let u;if(c<1)u=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-l*c);let t=(0,r.compareAsc)(n,s)===-l;(0,o.isLastDayOfMonth)((0,i.toDate)(e))&&1===c&&1===(0,r.compareAsc)(e,s)&&(t=!1),u=l*(c-Number(t))}return 0===u?0:u};var r=n(9094),a=n(5575),o=n(7789),i=n(5551)},4219:(e,t,n)=>{"use strict";t.differenceInQuarters=function(e,t,n){const o=(0,a.differenceInMonths)(e,t)/3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(8056),a=n(4917)},9765:(e,t,n)=>{"use strict";t.differenceInSeconds=function(e,t,n){const o=(0,a.differenceInMilliseconds)(e,t)/1e3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(8056),a=n(8984)},8413:(e,t,n)=>{"use strict";t.differenceInWeeks=function(e,t,n){const o=(0,a.differenceInDays)(e,t)/7;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(8056),a=n(6933)},2606:(e,t,n)=>{"use strict";t.differenceInYears=function(e,t){const n=(0,o.toDate)(e),i=(0,o.toDate)(t),s=(0,r.compareAsc)(n,i),l=Math.abs((0,a.differenceInCalendarYears)(n,i));n.setFullYear(1584),i.setFullYear(1584);const c=(0,r.compareAsc)(n,i)===-s,u=s*(l-+c);return 0===u?0:u};var r=n(9094),a=n(9840),o=n(5551)},6229:(e,t,n)=>{"use strict";t.eachDayOfInterval=function(e,t){const n=(0,r.toDate)(e.start),a=(0,r.toDate)(e.end);let o=+n>+a;const i=o?+n:+a,s=o?a:n;s.setHours(0,0,0,0);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=i;)c.push((0,r.toDate)(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?c.reverse():c};var r=n(5551)},6977:(e,t,n)=>{"use strict";t.eachHourOfInterval=function(e,t){const n=(0,a.toDate)(e.start),o=(0,a.toDate)(e.end);let i=+n>+o;const s=i?+n:+o;let l=i?o:n;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,i=!i);const u=[];for(;+l<=s;)u.push((0,a.toDate)(l)),l=(0,r.addHours)(l,c);return i?u.reverse():u};var r=n(5608),a=n(5551)},5027:(e,t,n)=>{"use strict";t.eachMinuteOfInterval=function(e,t){const n=(0,a.startOfMinute)((0,o.toDate)(e.start)),i=(0,o.toDate)(e.end);let s=+n>+i;const l=s?+n:+i;let c=s?i:n,u=t?.step??1;if(!u)return[];u<0&&(u=-u,s=!s);const d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addMinutes)(c,u);return s?d.reverse():d};var r=n(86),a=n(377),o=n(5551)},5089:(e,t,n)=>{"use strict";t.eachMonthOfInterval=function(e,t){const n=(0,r.toDate)(e.start),a=(0,r.toDate)(e.end);let o=+n>+a;const i=o?+n:+a,s=o?a:n;s.setHours(0,0,0,0),s.setDate(1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=i;)c.push((0,r.toDate)(s)),s.setMonth(s.getMonth()+l);return o?c.reverse():c};var r=n(5551)},6007:(e,t,n)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const n=(0,o.toDate)(e.start),i=(0,o.toDate)(e.end);let s=+n>+i;const l=s?+(0,a.startOfQuarter)(n):+(0,a.startOfQuarter)(i);let c=s?(0,a.startOfQuarter)(i):(0,a.startOfQuarter)(n),u=t?.step??1;if(!u)return[];u<0&&(u=-u,s=!s);const d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addQuarters)(c,u);return s?d.reverse():d};var r=n(1634),a=n(1125),o=n(5551)},2887:(e,t,n)=>{"use strict";t.eachWeekOfInterval=function(e,t){const n=(0,o.toDate)(e.start),i=(0,o.toDate)(e.end);let s=+n>+i;const l=s?(0,a.startOfWeek)(i,t):(0,a.startOfWeek)(n,t),c=s?(0,a.startOfWeek)(n,t):(0,a.startOfWeek)(i,t);l.setHours(15),c.setHours(15);const u=+c.getTime();let d=l,f=t?.step??1;if(!f)return[];f<0&&(f=-f,s=!s);const h=[];for(;+d<=u;)d.setHours(0),h.push((0,o.toDate)(d)),d=(0,r.addWeeks)(d,f),d.setHours(15);return s?h.reverse():h};var r=n(9994),a=n(9249),o=n(5551)},3006:(e,t,n)=>{"use strict";t.eachWeekendOfInterval=function(e){const t=(0,r.eachDayOfInterval)(e),n=[];let o=0;for(;o<t.length;){const e=t[o++];(0,a.isWeekend)(e)&&n.push(e)}return n};var r=n(6229),a=n(6597)},1285:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e){const t=(0,o.startOfMonth)(e),n=(0,a.endOfMonth)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n(3006),a=n(8268),o=n(1619)},8782:(e,t,n)=>{"use strict";t.eachWeekendOfYear=function(e){const t=(0,o.startOfYear)(e),n=(0,a.endOfYear)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n(3006),a=n(4889),o=n(7332)},8006:(e,t,n)=>{"use strict";t.eachYearOfInterval=function(e,t){const n=(0,r.toDate)(e.start),a=(0,r.toDate)(e.end);let o=+n>+a;const i=o?+n:+a,s=o?a:n;s.setHours(0,0,0,0),s.setMonth(0,1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=i;)c.push((0,r.toDate)(s)),s.setFullYear(s.getFullYear()+l);return o?c.reverse():c};var r=n(5551)},2412:(e,t,n)=>{"use strict";t.endOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(5551)},6984:(e,t,n)=>{"use strict";t.endOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),a=9+10*Math.floor(n/10);return t.setFullYear(a,11,31),t.setHours(23,59,59,999),t};var r=n(5551)},5870:(e,t,n)=>{"use strict";t.endOfHour=function(e){const t=(0,r.toDate)(e);return t.setMinutes(59,59,999),t};var r=n(5551)},291:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e){return(0,r.endOfWeek)(e,{weekStartsOn:1})};var r=n(4016)},3270:(e,t,n)=>{"use strict";t.endOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const i=(0,a.startOfISOWeek)(n);return i.setMilliseconds(i.getMilliseconds()-1),i};var r=n(8890),a=n(1048),o=n(4161)},7496:(e,t,n)=>{"use strict";t.endOfMinute=function(e){const t=(0,r.toDate)(e);return t.setSeconds(59,999),t};var r=n(5551)},8268:(e,t,n)=>{"use strict";t.endOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(5551)},8626:(e,t,n)=>{"use strict";t.endOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),a=n-n%3+3;return t.setMonth(a,0),t.setHours(23,59,59,999),t};var r=n(5551)},5744:(e,t,n)=>{"use strict";t.endOfSecond=function(e){const t=(0,r.toDate)(e);return t.setMilliseconds(999),t};var r=n(5551)},2547:(e,t,n)=>{"use strict";t.endOfToday=function(){return(0,r.endOfDay)(Date.now())};var r=n(2412)},8987:(e,t)=>{"use strict";t.endOfTomorrow=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(23,59,59,999),a}},4016:(e,t,n)=>{"use strict";t.endOfWeek=function(e,t){const n=(0,a.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e),s=i.getDay(),l=6+(s<o?-7:0)-(s-o);return i.setDate(i.getDate()+l),i.setHours(23,59,59,999),i};var r=n(5551),a=n(6868)},4889:(e,t,n)=>{"use strict";t.endOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t};var r=n(5551)},3626:(e,t)=>{"use strict";t.endOfYesterday=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r-1),a.setHours(23,59,59,999),a}},4333:(e,t,n)=>{"use strict";t.format=t.formatDate=function(e,t,n){const f=(0,a.getDefaultOptions)(),h=n?.locale??f.locale??r.defaultLocale,g=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,y=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??f.weekStartsOn??f.locale?.options?.weekStartsOn??0,v=(0,c.toDate)(e);if(!(0,l.isValid)(v))throw new RangeError("Invalid time value");let b=t.match(d).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,i.longFormatters[t])(e,h.formatLong)}return e})).join("").match(u).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:m(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(p))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));h.localize.preprocessor&&(b=h.localize.preprocessor(v,b));const x={firstWeekContainsDate:g,weekStartsOn:y,locale:h};return b.map((r=>{if(!r.isToken)return r.value;const a=r.value;(!n?.useAdditionalWeekYearTokens&&(0,s.isProtectedWeekYearToken)(a)||!n?.useAdditionalDayOfYearTokens&&(0,s.isProtectedDayOfYearToken)(a))&&(0,s.warnOrThrowProtectedError)(a,t,String(e));return(0,o.formatters[a[0]])(v,a,h.localize,x)})).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return i.longFormatters}});var r=n(2222),a=n(6868),o=n(4578),i=n(5916),s=n(8913),l=n(9858),c=n(5551);const u=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,h=/''/g,p=/[a-zA-Z]/;function m(e){const t=e.match(f);return t?t[1].replace(h,"'"):e}},3658:(e,t,n)=>{"use strict";t.formatDistance=function(e,t,n){const d=(0,c.getDefaultOptions)(),f=n?.locale??d.locale??l.defaultLocale,h=(0,r.compareAsc)(e,t);if(isNaN(h))throw new RangeError("Invalid time value");const p=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:h});let m,g;h>0?(m=(0,s.toDate)(t),g=(0,s.toDate)(e)):(m=(0,s.toDate)(e),g=(0,s.toDate)(t));const y=(0,i.differenceInSeconds)(g,m),v=((0,u.getTimezoneOffsetInMilliseconds)(g)-(0,u.getTimezoneOffsetInMilliseconds)(m))/1e3,b=Math.round((y-v)/60);let x;if(b<2)return n?.includeSeconds?y<5?f.formatDistance("lessThanXSeconds",5,p):y<10?f.formatDistance("lessThanXSeconds",10,p):y<20?f.formatDistance("lessThanXSeconds",20,p):y<40?f.formatDistance("halfAMinute",0,p):y<60?f.formatDistance("lessThanXMinutes",1,p):f.formatDistance("xMinutes",1,p):0===b?f.formatDistance("lessThanXMinutes",1,p):f.formatDistance("xMinutes",b,p);if(b<45)return f.formatDistance("xMinutes",b,p);if(b<90)return f.formatDistance("aboutXHours",1,p);if(b<a.minutesInDay){const e=Math.round(b/60);return f.formatDistance("aboutXHours",e,p)}if(b<2520)return f.formatDistance("xDays",1,p);if(b<a.minutesInMonth){const e=Math.round(b/a.minutesInDay);return f.formatDistance("xDays",e,p)}if(b<2*a.minutesInMonth)return x=Math.round(b/a.minutesInMonth),f.formatDistance("aboutXMonths",x,p);if(x=(0,o.differenceInMonths)(g,m),x<12){const e=Math.round(b/a.minutesInMonth);return f.formatDistance("xMonths",e,p)}{const e=x%12,t=Math.trunc(x/12);return e<3?f.formatDistance("aboutXYears",t,p):e<9?f.formatDistance("overXYears",t,p):f.formatDistance("almostXYears",t+1,p)}};var r=n(9094),a=n(9757),o=n(4917),i=n(9765),s=n(5551),l=n(2222),c=n(6868),u=n(3300)},1167:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,a.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,f=(0,s.compareAsc)(e,t);if(isNaN(f))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f});let p,m;f>0?(p=(0,c.toDate)(t),m=(0,c.toDate)(e)):(p=(0,c.toDate)(e),m=(0,c.toDate)(t));const g=(0,o.getRoundingMethod)(n?.roundingMethod??"round"),y=m.getTime()-p.getTime(),v=y/l.millisecondsInMinute,b=(0,i.getTimezoneOffsetInMilliseconds)(m)-(0,i.getTimezoneOffsetInMilliseconds)(p),x=(y-b)/l.millisecondsInMinute,w=n?.unit;let k;k=w||(v<1?"second":v<60?"minute":v<l.minutesInDay?"hour":x<l.minutesInMonth?"day":x<l.minutesInYear?"month":"year");if("second"===k){const e=g(y/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===k){const e=g(v);return d.formatDistance("xMinutes",e,h)}if("hour"===k){const e=g(v/60);return d.formatDistance("xHours",e,h)}if("day"===k){const e=g(x/l.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===k){const e=g(x/l.minutesInMonth);return 12===e&&"month"!==w?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(x/l.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(2222),a=n(6868),o=n(8056),i=n(3300),s=n(9094),l=n(9757),c=n(5551)},5639:(e,t,n)=>{"use strict";t.formatDistanceToNow=function(e,t){return(0,a.formatDistance)(e,(0,r.constructNow)(e),t)};var r=n(7229),a=n(3658)},526:(e,t,n)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,r.formatDistanceStrict)(e,(0,a.constructNow)(e),t)};var r=n(1167),a=n(7229)},8217:(e,t,n)=>{"use strict";t.formatDuration=function(e,t){const n=(0,a.getDefaultOptions)(),i=t?.locale??n.locale??r.defaultLocale,s=t?.format??o,l=t?.zero??!1,c=t?.delimiter??" ";if(!i.formatDistance)return"";return s.reduce(((t,n)=>{const r=`x${n.replace(/(^.)/,(e=>e.toUpperCase()))}`,a=e[n];return void 0!==a&&(l||e[n])?t.concat(i.formatDistance(r,a)):t}),[]).join(c)};var r=n(2222),a=n(6868);const o=["years","months","weeks","days","hours","minutes","seconds"]},2856:(e,t,n)=>{"use strict";t.formatISO=function(e,t){const n=(0,r.toDate)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const o=t?.format??"extended",i=t?.representation??"complete";let s="",l="";const c="extended"===o?"-":"",u="extended"===o?":":"";if("time"!==i){const e=(0,a.addLeadingZeros)(n.getDate(),2),t=(0,a.addLeadingZeros)(n.getMonth()+1,2);s=`${(0,a.addLeadingZeros)(n.getFullYear(),4)}${c}${t}${c}${e}`}if("date"!==i){const e=n.getTimezoneOffset();if(0!==e){const t=Math.abs(e);l=`${e<0?"+":"-"}${(0,a.addLeadingZeros)(Math.trunc(t/60),2)}:${(0,a.addLeadingZeros)(t%60,2)}`}else l="Z";s=`${s}${""===s?"":"T"}${[(0,a.addLeadingZeros)(n.getHours(),2),(0,a.addLeadingZeros)(n.getMinutes(),2),(0,a.addLeadingZeros)(n.getSeconds(),2)].join(u)}${l}`}return s};var r=n(5551),a=n(427)},7201:(e,t,n)=>{"use strict";t.formatISO9075=function(e,t){const n=(0,a.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const i=t?.format??"extended",s=t?.representation??"complete";let l="";const c="extended"===i?"-":"",u="extended"===i?":":"";if("time"!==s){const e=(0,o.addLeadingZeros)(n.getDate(),2),t=(0,o.addLeadingZeros)(n.getMonth()+1,2);l=`${(0,o.addLeadingZeros)(n.getFullYear(),4)}${c}${t}${c}${e}`}if("date"!==s){l=`${l}${""===l?"":" "}${(0,o.addLeadingZeros)(n.getHours(),2)}${u}${(0,o.addLeadingZeros)(n.getMinutes(),2)}${u}${(0,o.addLeadingZeros)(n.getSeconds(),2)}`}return l};var r=n(9858),a=n(5551),o=n(427)},6780:(e,t)=>{"use strict";t.formatISODuration=function(e){const{years:t=0,months:n=0,days:r=0,hours:a=0,minutes:o=0,seconds:i=0}=e;return`P${t}Y${n}M${r}DT${a}H${o}M${i}S`}},6622:(e,t,n)=>{"use strict";t.formatRFC3339=function(e,t){const n=(0,a.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const i=t?.fractionDigits??0,s=(0,o.addLeadingZeros)(n.getDate(),2),l=(0,o.addLeadingZeros)(n.getMonth()+1,2),c=n.getFullYear(),u=(0,o.addLeadingZeros)(n.getHours(),2),d=(0,o.addLeadingZeros)(n.getMinutes(),2),f=(0,o.addLeadingZeros)(n.getSeconds(),2);let h="";if(i>0){const e=n.getMilliseconds(),t=Math.trunc(e*Math.pow(10,i-3));h="."+(0,o.addLeadingZeros)(t,i)}let p="";const m=n.getTimezoneOffset();if(0!==m){const e=Math.abs(m);p=`${m<0?"+":"-"}${(0,o.addLeadingZeros)(Math.trunc(e/60),2)}:${(0,o.addLeadingZeros)(e%60,2)}`}else p="Z";return`${c}-${l}-${s}T${u}:${d}:${f}${h}${p}`};var r=n(9858),a=n(5551),o=n(427)},4809:(e,t,n)=>{"use strict";t.formatRFC7231=function(e){const t=(0,a.toDate)(e);if(!(0,r.isValid)(t))throw new RangeError("Invalid time value");const n=i[t.getUTCDay()],l=(0,o.addLeadingZeros)(t.getUTCDate(),2),c=s[t.getUTCMonth()],u=t.getUTCFullYear(),d=(0,o.addLeadingZeros)(t.getUTCHours(),2),f=(0,o.addLeadingZeros)(t.getUTCMinutes(),2),h=(0,o.addLeadingZeros)(t.getUTCSeconds(),2);return`${n}, ${l} ${c} ${u} ${d}:${f}:${h} GMT`};var r=n(9858),a=n(5551),o=n(427);const i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},9221:(e,t,n)=>{"use strict";t.formatRelative=function(e,t,n){const l=(0,o.toDate)(e),c=(0,o.toDate)(t),u=(0,s.getDefaultOptions)(),d=n?.locale??u.locale??i.defaultLocale,f=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,h=(0,r.differenceInCalendarDays)(l,c);if(isNaN(h))throw new RangeError("Invalid time value");let p;p=h<-6?"other":h<-1?"lastWeek":h<0?"yesterday":h<1?"today":h<2?"tomorrow":h<7?"nextWeek":"other";const m=d.formatRelative(p,l,c,{locale:d,weekStartsOn:f});return(0,a.format)(l,m,{locale:d,weekStartsOn:f})};var r=n(3439),a=n(4333),o=n(5551),i=n(2222),s=n(6868)},5013:(e,t,n)=>{"use strict";t.fromUnixTime=function(e){return(0,r.toDate)(1e3*e)};var r=n(5551)},5528:(e,t,n)=>{"use strict";t.getDate=function(e){const t=(0,r.toDate)(e);return t.getDate()};var r=n(5551)},7600:(e,t,n)=>{"use strict";t.getDay=function(e){const t=(0,r.toDate)(e);return t.getDay()};var r=n(5551)},5440:(e,t,n)=>{"use strict";t.getDayOfYear=function(e){const t=(0,o.toDate)(e),n=(0,r.differenceInCalendarDays)(t,(0,a.startOfYear)(t));return n+1};var r=n(3439),a=n(7332),o=n(5551)},272:(e,t,n)=>{"use strict";t.getDaysInMonth=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),i=(0,a.constructFrom)(e,0);return i.setFullYear(n,o+1,0),i.setHours(0,0,0,0),i.getDate()};var r=n(5551),a=n(4161)},2621:(e,t,n)=>{"use strict";t.getDaysInYear=function(e){const t=(0,a.toDate)(e);if("Invalid Date"===String(new Date(t)))return NaN;return(0,r.isLeapYear)(t)?366:365};var r=n(4385),a=n(5551)},2300:(e,t,n)=>{"use strict";t.getDecade=function(e){const t=(0,r.toDate)(e).getFullYear();return 10*Math.floor(t/10)};var r=n(5551)},7153:(e,t,n)=>{"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(6868)},5857:(e,t,n)=>{"use strict";t.getHours=function(e){const t=(0,r.toDate)(e);return t.getHours()};var r=n(5551)},8601:(e,t,n)=>{"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();0===t&&(t=7);return t};var r=n(5551)},9871:(e,t,n)=>{"use strict";t.getISOWeek=function(e){const t=(0,i.toDate)(e),n=+(0,a.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t);return Math.round(n/r.millisecondsInWeek)+1};var r=n(9757),a=n(1048),o=n(2329),i=n(5551)},8890:(e,t,n)=>{"use strict";t.getISOWeekYear=function(e){const t=(0,o.toDate)(e),n=t.getFullYear(),i=(0,r.constructFrom)(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const s=(0,a.startOfISOWeek)(i),l=(0,r.constructFrom)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const c=(0,a.startOfISOWeek)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(4161),a=n(1048),o=n(5551)},8844:(e,t,n)=>{"use strict";t.getISOWeeksInYear=function(e){const t=(0,o.startOfISOWeekYear)(e),n=+(0,o.startOfISOWeekYear)((0,r.addWeeks)(t,60))-+t;return Math.round(n/a.millisecondsInWeek)};var r=n(9994),a=n(9757),o=n(2329)},5106:(e,t,n)=>{"use strict";t.getMilliseconds=function(e){const t=(0,r.toDate)(e);return t.getMilliseconds()};var r=n(5551)},8667:(e,t,n)=>{"use strict";t.getMinutes=function(e){const t=(0,r.toDate)(e);return t.getMinutes()};var r=n(5551)},8920:(e,t,n)=>{"use strict";t.getMonth=function(e){const t=(0,r.toDate)(e);return t.getMonth()};var r=n(5551)},9395:(e,t,n)=>{"use strict";t.getOverlappingDaysInIntervals=function(e,t){const[n,i]=[+(0,o.toDate)(e.start),+(0,o.toDate)(e.end)].sort(((e,t)=>e-t)),[s,l]=[+(0,o.toDate)(t.start),+(0,o.toDate)(t.end)].sort(((e,t)=>e-t));if(!(n<l&&s<i))return 0;const c=s<n?n:s,u=c-(0,r.getTimezoneOffsetInMilliseconds)(c),d=l>i?i:l,f=d-(0,r.getTimezoneOffsetInMilliseconds)(d);return Math.ceil((f-u)/a.millisecondsInDay)};var r=n(3300),a=n(9757),o=n(5551)},2918:(e,t,n)=>{"use strict";t.getQuarter=function(e){const t=(0,r.toDate)(e);return Math.trunc(t.getMonth()/3)+1};var r=n(5551)},2808:(e,t,n)=>{"use strict";t.getSeconds=function(e){const t=(0,r.toDate)(e);return t.getSeconds()};var r=n(5551)},7025:(e,t,n)=>{"use strict";t.getTime=function(e){const t=(0,r.toDate)(e);return t.getTime()};var r=n(5551)},1831:(e,t,n)=>{"use strict";t.getUnixTime=function(e){return Math.trunc(+(0,r.toDate)(e)/1e3)};var r=n(5551)},2252:(e,t,n)=>{"use strict";t.getWeek=function(e,t){const n=(0,i.toDate)(e),s=+(0,a.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t);return Math.round(s/r.millisecondsInWeek)+1};var r=n(9757),a=n(9249),o=n(568),i=n(5551)},5443:(e,t,n)=>{"use strict";t.getWeekOfMonth=function(e,t){const n=(0,i.getDefaultOptions)(),s=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=(0,r.getDate)(e);if(isNaN(l))return NaN;const c=(0,a.getDay)((0,o.startOfMonth)(e));let u=s-c;u<=0&&(u+=7);const d=l-u;return Math.ceil(d/7)+1};var r=n(5528),a=n(7600),o=n(1619),i=n(6868)},7941:(e,t,n)=>{"use strict";t.getWeekYear=function(e,t){const n=(0,o.toDate)(e),s=n.getFullYear(),l=(0,i.getDefaultOptions)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,u=(0,r.constructFrom)(e,0);u.setFullYear(s+1,0,c),u.setHours(0,0,0,0);const d=(0,a.startOfWeek)(u,t),f=(0,r.constructFrom)(e,0);f.setFullYear(s,0,c),f.setHours(0,0,0,0);const h=(0,a.startOfWeek)(f,t);return n.getTime()>=d.getTime()?s+1:n.getTime()>=h.getTime()?s:s-1};var r=n(4161),a=n(9249),o=n(5551),i=n(6868)},3284:(e,t,n)=>{"use strict";t.getWeeksInMonth=function(e,t){return(0,r.differenceInCalendarWeeks)((0,a.lastDayOfMonth)(e),(0,o.startOfMonth)(e),t)+1};var r=n(6003),a=n(4429),o=n(1619)},309:(e,t,n)=>{"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(5551)},8656:(e,t,n)=>{"use strict";t.hoursToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInHour)};var r=n(9757)},6769:(e,t,n)=>{"use strict";t.hoursToMinutes=function(e){return Math.trunc(e*r.minutesInHour)};var r=n(9757)},4285:(e,t,n)=>{"use strict";t.hoursToSeconds=function(e){return Math.trunc(e*r.secondsInHour)};var r=n(9757)},4168:(e,t,n)=>{"use strict";var r=n(9067);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var a=n(8806);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var o=n(8620);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(5608);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=n(8594);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(3773);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(86);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(4640);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=n(1634);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var f=n(2570);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var h=n(9994);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var p=n(709);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var m=n(3523);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));var g=n(9939);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}));var y=n(3034);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var v=n(2886);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var b=n(9094);Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))}));var x=n(8958);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var w=n(4161);Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var k=n(7229);Object.keys(k).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===k[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}}))}));var _=n(1875);Object.keys(_).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}}))}));var j=n(2819);Object.keys(j).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===j[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}}))}));var S=n(3439);Object.keys(S).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===S[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}}))}));var M=n(9865);Object.keys(M).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===M[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}}))}));var D=n(2266);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===D[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var O=n(5575);Object.keys(O).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))}));var E=n(5309);Object.keys(E).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===E[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}}))}));var N=n(6003);Object.keys(N).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===N[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}}))}));var P=n(9840);Object.keys(P).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===P[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}}))}));var T=n(6933);Object.keys(T).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===T[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}}))}));var C=n(6371);Object.keys(C).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===C[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))}));var I=n(9907);Object.keys(I).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===I[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))}));var R=n(8984);Object.keys(R).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===R[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}}))}));var F=n(281);Object.keys(F).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===F[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}}))}));var L=n(4917);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===L[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var A=n(4219);Object.keys(A).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===A[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}}))}));var Y=n(9765);Object.keys(Y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}}))}));var z=n(8413);Object.keys(z).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}}))}));var W=n(2606);Object.keys(W).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===W[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}}))}));var H=n(6229);Object.keys(H).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))}));var B=n(6977);Object.keys(B).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===B[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))}));var V=n(5027);Object.keys(V).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===V[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}}))}));var U=n(5089);Object.keys(U).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===U[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}}))}));var $=n(6007);Object.keys($).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}}))}));var q=n(2887);Object.keys(q).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}}))}));var Q=n(3006);Object.keys(Q).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}}))}));var K=n(1285);Object.keys(K).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===K[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}}))}));var Z=n(8782);Object.keys(Z).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}}))}));var G=n(8006);Object.keys(G).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===G[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}}))}));var X=n(2412);Object.keys(X).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===X[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}}))}));var J=n(6984);Object.keys(J).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===J[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}}))}));var ee=n(5870);Object.keys(ee).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ee[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ee[e]}}))}));var te=n(291);Object.keys(te).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===te[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return te[e]}}))}));var ne=n(3270);Object.keys(ne).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ne[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ne[e]}}))}));var re=n(7496);Object.keys(re).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===re[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return re[e]}}))}));var ae=n(8268);Object.keys(ae).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ae[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ae[e]}}))}));var oe=n(8626);Object.keys(oe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===oe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return oe[e]}}))}));var ie=n(5744);Object.keys(ie).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ie[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ie[e]}}))}));var se=n(2547);Object.keys(se).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===se[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return se[e]}}))}));var le=n(8987);Object.keys(le).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===le[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return le[e]}}))}));var ce=n(4016);Object.keys(ce).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ce[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ce[e]}}))}));var ue=n(4889);Object.keys(ue).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ue[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ue[e]}}))}));var de=n(3626);Object.keys(de).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===de[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return de[e]}}))}));var fe=n(4333);Object.keys(fe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fe[e]}}))}));var he=n(3658);Object.keys(he).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===he[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return he[e]}}))}));var pe=n(1167);Object.keys(pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pe[e]}}))}));var me=n(5639);Object.keys(me).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return me[e]}}))}));var ge=n(526);Object.keys(ge).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ge[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ge[e]}}))}));var ye=n(8217);Object.keys(ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ye[e]}}))}));var ve=n(2856);Object.keys(ve).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ve[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ve[e]}}))}));var be=n(7201);Object.keys(be).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===be[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return be[e]}}))}));var xe=n(6780);Object.keys(xe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xe[e]}}))}));var we=n(6622);Object.keys(we).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===we[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return we[e]}}))}));var ke=n(4809);Object.keys(ke).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ke[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ke[e]}}))}));var _e=n(9221);Object.keys(_e).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_e[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _e[e]}}))}));var je=n(5013);Object.keys(je).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===je[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return je[e]}}))}));var Se=n(5528);Object.keys(Se).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Se[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Se[e]}}))}));var Me=n(7600);Object.keys(Me).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Me[e]}}))}));var De=n(5440);Object.keys(De).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===De[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return De[e]}}))}));var Oe=n(272);Object.keys(Oe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Oe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Oe[e]}}))}));var Ee=n(2621);Object.keys(Ee).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ee[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ee[e]}}))}));var Ne=n(2300);Object.keys(Ne).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ne[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ne[e]}}))}));var Pe=n(7153);Object.keys(Pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pe[e]}}))}));var Te=n(5857);Object.keys(Te).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Te[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Te[e]}}))}));var Ce=n(8601);Object.keys(Ce).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ce[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ce[e]}}))}));var Ie=n(9871);Object.keys(Ie).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ie[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ie[e]}}))}));var Re=n(8890);Object.keys(Re).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Re[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Re[e]}}))}));var Fe=n(8844);Object.keys(Fe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Fe[e]}}))}));var Le=n(5106);Object.keys(Le).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Le[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Le[e]}}))}));var Ae=n(8667);Object.keys(Ae).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ae[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ae[e]}}))}));var Ye=n(8920);Object.keys(Ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ye[e]}}))}));var ze=n(9395);Object.keys(ze).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ze[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ze[e]}}))}));var We=n(2918);Object.keys(We).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===We[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return We[e]}}))}));var He=n(2808);Object.keys(He).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===He[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return He[e]}}))}));var Be=n(7025);Object.keys(Be).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Be[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Be[e]}}))}));var Ve=n(1831);Object.keys(Ve).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ve[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ve[e]}}))}));var Ue=n(2252);Object.keys(Ue).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ue[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ue[e]}}))}));var $e=n(5443);Object.keys($e).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$e[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $e[e]}}))}));var qe=n(7941);Object.keys(qe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qe[e]}}))}));var Qe=n(3284);Object.keys(Qe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qe[e]}}))}));var Ke=n(309);Object.keys(Ke).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ke[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ke[e]}}))}));var Ze=n(8656);Object.keys(Ze).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ze[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ze[e]}}))}));var Ge=n(6769);Object.keys(Ge).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ge[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ge[e]}}))}));var Xe=n(4285);Object.keys(Xe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xe[e]}}))}));var Je=n(4567);Object.keys(Je).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Je[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Je[e]}}))}));var et=n(2418);Object.keys(et).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===et[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}}))}));var tt=n(3862);Object.keys(tt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}}))}));var nt=n(5845);Object.keys(nt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nt[e]}}))}));var rt=n(1882);Object.keys(rt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rt[e]}}))}));var at=n(4593);Object.keys(at).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===at[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return at[e]}}))}));var ot=n(1890);Object.keys(ot).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ot[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ot[e]}}))}));var it=n(6500);Object.keys(it).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===it[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return it[e]}}))}));var st=n(1414);Object.keys(st).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===st[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return st[e]}}))}));var lt=n(9613);Object.keys(lt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===lt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return lt[e]}}))}));var ct=n(1357);Object.keys(ct).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ct[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ct[e]}}))}));var ut=n(7633);Object.keys(ut).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ut[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ut[e]}}))}));var dt=n(7789);Object.keys(dt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dt[e]}}))}));var ft=n(4385);Object.keys(ft).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ft[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ft[e]}}))}));var ht=n(9521);Object.keys(ht).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ht[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ht[e]}}))}));var pt=n(1674);Object.keys(pt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pt[e]}}))}));var mt=n(8014);Object.keys(mt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mt[e]}}))}));var gt=n(8444);Object.keys(gt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gt[e]}}))}));var yt=n(1070);Object.keys(yt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yt[e]}}))}));var vt=n(1411);Object.keys(vt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vt[e]}}))}));var bt=n(5414);Object.keys(bt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===bt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return bt[e]}}))}));var xt=n(5512);Object.keys(xt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xt[e]}}))}));var wt=n(8060);Object.keys(wt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wt[e]}}))}));var kt=n(8322);Object.keys(kt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kt[e]}}))}));var _t=n(3584);Object.keys(_t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_t[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _t[e]}}))}));var jt=n(800);Object.keys(jt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===jt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return jt[e]}}))}));var St=n(4265);Object.keys(St).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===St[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return St[e]}}))}));var Mt=n(2161);Object.keys(Mt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Mt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Mt[e]}}))}));var Dt=n(1074);Object.keys(Dt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dt[e]}}))}));var Ot=n(6032);Object.keys(Ot).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ot[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ot[e]}}))}));var Et=n(2649);Object.keys(Et).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Et[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Et[e]}}))}));var Nt=n(8614);Object.keys(Nt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Nt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Nt[e]}}))}));var Pt=n(8330);Object.keys(Pt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pt[e]}}))}));var Tt=n(888);Object.keys(Tt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tt[e]}}))}));var Ct=n(1522);Object.keys(Ct).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ct[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ct[e]}}))}));var It=n(8802);Object.keys(It).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===It[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return It[e]}}))}));var Rt=n(9047);Object.keys(Rt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rt[e]}}))}));var Ft=n(5828);Object.keys(Ft).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ft[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ft[e]}}))}));var Lt=n(8993);Object.keys(Lt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Lt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Lt[e]}}))}));var At=n(6473);Object.keys(At).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===At[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return At[e]}}))}));var Yt=n(7311);Object.keys(Yt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Yt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Yt[e]}}))}));var zt=n(9858);Object.keys(zt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===zt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return zt[e]}}))}));var Wt=n(2868);Object.keys(Wt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Wt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Wt[e]}}))}));var Ht=n(6597);Object.keys(Ht).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ht[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ht[e]}}))}));var Bt=n(4148);Object.keys(Bt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bt[e]}}))}));var Vt=n(68);Object.keys(Vt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Vt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Vt[e]}}))}));var Ut=n(5339);Object.keys(Ut).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ut[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ut[e]}}))}));var $t=n(5154);Object.keys($t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$t[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $t[e]}}))}));var qt=n(7871);Object.keys(qt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qt[e]}}))}));var Qt=n(4429);Object.keys(Qt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qt[e]}}))}));var Kt=n(847);Object.keys(Kt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Kt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Kt[e]}}))}));var Zt=n(7863);Object.keys(Zt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Zt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Zt[e]}}))}));var Gt=n(1110);Object.keys(Gt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Gt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Gt[e]}}))}));var Xt=n(3951);Object.keys(Xt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xt[e]}}))}));var Jt=n(8442);Object.keys(Jt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Jt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Jt[e]}}))}));var en=n(2560);Object.keys(en).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===en[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return en[e]}}))}));var tn=n(3838);Object.keys(tn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tn[e]}}))}));var nn=n(6424);Object.keys(nn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nn[e]}}))}));var rn=n(2144);Object.keys(rn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rn[e]}}))}));var an=n(1972);Object.keys(an).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===an[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return an[e]}}))}));var on=n(6333);Object.keys(on).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===on[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return on[e]}}))}));var sn=n(174);Object.keys(sn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sn[e]}}))}));var ln=n(6199);Object.keys(ln).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ln[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ln[e]}}))}));var cn=n(4125);Object.keys(cn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===cn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return cn[e]}}))}));var un=n(7888);Object.keys(un).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===un[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return un[e]}}))}));var dn=n(2869);Object.keys(dn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dn[e]}}))}));var fn=n(3980);Object.keys(fn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fn[e]}}))}));var hn=n(3495);Object.keys(hn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===hn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return hn[e]}}))}));var pn=n(1884);Object.keys(pn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pn[e]}}))}));var mn=n(2339);Object.keys(mn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mn[e]}}))}));var gn=n(7925);Object.keys(gn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gn[e]}}))}));var yn=n(100);Object.keys(yn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yn[e]}}))}));var vn=n(9859);Object.keys(vn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vn[e]}}))}));var bn=n(4251);Object.keys(bn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===bn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return bn[e]}}))}));var xn=n(3458);Object.keys(xn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xn[e]}}))}));var wn=n(8238);Object.keys(wn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wn[e]}}))}));var kn=n(4269);Object.keys(kn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kn[e]}}))}));var _n=n(228);Object.keys(_n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _n[e]}}))}));var jn=n(559);Object.keys(jn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===jn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return jn[e]}}))}));var Sn=n(1396);Object.keys(Sn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Sn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Sn[e]}}))}));var Mn=n(4651);Object.keys(Mn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Mn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Mn[e]}}))}));var Dn=n(8365);Object.keys(Dn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dn[e]}}))}));var On=n(5260);Object.keys(On).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===On[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return On[e]}}))}));var En=n(5467);Object.keys(En).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===En[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return En[e]}}))}));var Nn=n(8181);Object.keys(Nn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Nn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Nn[e]}}))}));var Pn=n(5249);Object.keys(Pn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pn[e]}}))}));var Tn=n(7020);Object.keys(Tn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tn[e]}}))}));var Cn=n(2242);Object.keys(Cn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Cn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Cn[e]}}))}));var In=n(497);Object.keys(In).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===In[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return In[e]}}))}));var Rn=n(3026);Object.keys(Rn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rn[e]}}))}));var Fn=n(8843);Object.keys(Fn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Fn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Fn[e]}}))}));var Ln=n(3848);Object.keys(Ln).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ln[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ln[e]}}))}));var An=n(8956);Object.keys(An).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===An[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return An[e]}}))}));var Yn=n(6463);Object.keys(Yn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Yn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Yn[e]}}))}));var zn=n(5716);Object.keys(zn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===zn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return zn[e]}}))}));var Wn=n(5626);Object.keys(Wn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Wn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Wn[e]}}))}));var Hn=n(3525);Object.keys(Hn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Hn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Hn[e]}}))}));var Bn=n(261);Object.keys(Bn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bn[e]}}))}));var Vn=n(5267);Object.keys(Vn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Vn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Vn[e]}}))}));var Un=n(5318);Object.keys(Un).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Un[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Un[e]}}))}));var $n=n(2806);Object.keys($n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $n[e]}}))}));var qn=n(4503);Object.keys(qn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qn[e]}}))}));var Qn=n(2844);Object.keys(Qn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qn[e]}}))}));var Kn=n(3410);Object.keys(Kn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Kn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Kn[e]}}))}));var Zn=n(671);Object.keys(Zn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Zn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Zn[e]}}))}));var Gn=n(5056);Object.keys(Gn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Gn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Gn[e]}}))}));var Xn=n(3729);Object.keys(Xn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xn[e]}}))}));var Jn=n(4521);Object.keys(Jn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Jn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Jn[e]}}))}));var er=n(6191);Object.keys(er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}}))}));var tr=n(1073);Object.keys(tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}}))}));var nr=n(1951);Object.keys(nr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nr[e]}}))}));var rr=n(1048);Object.keys(rr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rr[e]}}))}));var ar=n(2329);Object.keys(ar).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ar[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ar[e]}}))}));var or=n(377);Object.keys(or).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===or[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return or[e]}}))}));var ir=n(1619);Object.keys(ir).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ir[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ir[e]}}))}));var sr=n(1125);Object.keys(sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sr[e]}}))}));var lr=n(5545);Object.keys(lr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===lr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return lr[e]}}))}));var cr=n(4152);Object.keys(cr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===cr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return cr[e]}}))}));var ur=n(8178);Object.keys(ur).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ur[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ur[e]}}))}));var dr=n(9249);Object.keys(dr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dr[e]}}))}));var fr=n(568);Object.keys(fr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fr[e]}}))}));var hr=n(7332);Object.keys(hr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===hr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return hr[e]}}))}));var pr=n(8714);Object.keys(pr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pr[e]}}))}));var mr=n(3614);Object.keys(mr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mr[e]}}))}));var gr=n(1131);Object.keys(gr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gr[e]}}))}));var yr=n(3613);Object.keys(yr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yr[e]}}))}));var vr=n(9883);Object.keys(vr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vr[e]}}))}));var br=n(3131);Object.keys(br).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===br[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return br[e]}}))}));var xr=n(5712);Object.keys(xr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xr[e]}}))}));var wr=n(3201);Object.keys(wr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wr[e]}}))}));var kr=n(6221);Object.keys(kr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kr[e]}}))}));var _r=n(899);Object.keys(_r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _r[e]}}))}));var jr=n(317);Object.keys(jr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===jr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return jr[e]}}))}));var Sr=n(4357);Object.keys(Sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Sr[e]}}))}));var Mr=n(6198);Object.keys(Mr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Mr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Mr[e]}}))}));var Dr=n(5551);Object.keys(Dr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dr[e]}}))}));var Or=n(3583);Object.keys(Or).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Or[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Or[e]}}))}));var Er=n(8615);Object.keys(Er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Er[e]}}))}));var Nr=n(9932);Object.keys(Nr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Nr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Nr[e]}}))}));var Pr=n(5392);Object.keys(Pr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pr[e]}}))}));var Tr=n(3090);Object.keys(Tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tr[e]}}))}))},4567:(e,t,n)=>{"use strict";t.interval=function(e,t,n){const a=(0,r.toDate)(e);if(isNaN(+a))throw new TypeError("Start date is invalid");const o=(0,r.toDate)(t);if(isNaN(+o))throw new TypeError("End date is invalid");if(n?.assertPositive&&+a>+o)throw new TypeError("End date must be after start date");return{start:a,end:o}};var r=n(5551)},2418:(e,t,n)=>{"use strict";t.intervalToDuration=function(e){const t=(0,u.toDate)(e.start),n=(0,u.toDate)(e.end),d={},f=(0,c.differenceInYears)(n,t);f&&(d.years=f);const h=(0,r.add)(t,{years:d.years}),p=(0,s.differenceInMonths)(n,h);p&&(d.months=p);const m=(0,r.add)(h,{months:d.months}),g=(0,a.differenceInDays)(n,m);g&&(d.days=g);const y=(0,r.add)(m,{days:d.days}),v=(0,o.differenceInHours)(n,y);v&&(d.hours=v);const b=(0,r.add)(y,{hours:d.hours}),x=(0,i.differenceInMinutes)(n,b);x&&(d.minutes=x);const w=(0,r.add)(b,{minutes:d.minutes}),k=(0,l.differenceInSeconds)(n,w);k&&(d.seconds=k);return d};var r=n(9067),a=n(6933),o=n(6371),i=n(281),s=n(4917),l=n(9765),c=n(2606),u=n(5551)},3862:(e,t,n)=>{"use strict";t.intlFormat=function(e,t,n){let a;o=t,void 0===o||"locale"in o?n=t:a=t;var o;return new Intl.DateTimeFormat(n?.locale,a).format((0,r.toDate)(e))};var r=n(5551)},5845:(e,t,n)=>{"use strict";t.intlFormatDistance=function(e,t,n){let h,p=0;const m=(0,f.toDate)(e),g=(0,f.toDate)(t);if(n?.unit)h=n?.unit,"second"===h?p=(0,d.differenceInSeconds)(m,g):"minute"===h?p=(0,u.differenceInMinutes)(m,g):"hour"===h?p=(0,c.differenceInHours)(m,g):"day"===h?p=(0,a.differenceInCalendarDays)(m,g):"week"===h?p=(0,s.differenceInCalendarWeeks)(m,g):"month"===h?p=(0,o.differenceInCalendarMonths)(m,g):"quarter"===h?p=(0,i.differenceInCalendarQuarters)(m,g):"year"===h&&(p=(0,l.differenceInCalendarYears)(m,g));else{const e=(0,d.differenceInSeconds)(m,g);Math.abs(e)<r.secondsInMinute?(p=(0,d.differenceInSeconds)(m,g),h="second"):Math.abs(e)<r.secondsInHour?(p=(0,u.differenceInMinutes)(m,g),h="minute"):Math.abs(e)<r.secondsInDay&&Math.abs((0,a.differenceInCalendarDays)(m,g))<1?(p=(0,c.differenceInHours)(m,g),h="hour"):Math.abs(e)<r.secondsInWeek&&(p=(0,a.differenceInCalendarDays)(m,g))&&Math.abs(p)<7?h="day":Math.abs(e)<r.secondsInMonth?(p=(0,s.differenceInCalendarWeeks)(m,g),h="week"):Math.abs(e)<r.secondsInQuarter?(p=(0,o.differenceInCalendarMonths)(m,g),h="month"):Math.abs(e)<r.secondsInYear&&(0,i.differenceInCalendarQuarters)(m,g)<4?(p=(0,i.differenceInCalendarQuarters)(m,g),h="quarter"):(p=(0,l.differenceInCalendarYears)(m,g),h="year")}return new Intl.RelativeTimeFormat(n?.locale,{localeMatcher:n?.localeMatcher,numeric:n?.numeric||"auto",style:n?.style}).format(p,h)};var r=n(9757),a=n(3439),o=n(5575),i=n(5309),s=n(6003),l=n(9840),c=n(6371),u=n(281),d=n(9765),f=n(5551)},1882:(e,t,n)=>{"use strict";t.isAfter=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getTime()>a.getTime()};var r=n(5551)},4593:(e,t,n)=>{"use strict";t.isBefore=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return+n<+a};var r=n(5551)},1890:(e,t)=>{"use strict";t.isDate=function(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},6500:(e,t,n)=>{"use strict";t.isEqual=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return+n===+a};var r=n(5551)},1414:(e,t)=>{"use strict";t.isExists=function(e,t,n){const r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}},9613:(e,t,n)=>{"use strict";t.isFirstDayOfMonth=function(e){return 1===(0,r.toDate)(e).getDate()};var r=n(5551)},1357:(e,t,n)=>{"use strict";t.isFriday=function(e){return 5===(0,r.toDate)(e).getDay()};var r=n(5551)},7633:(e,t,n)=>{"use strict";t.isFuture=function(e){return+(0,r.toDate)(e)>Date.now()};var r=n(5551)},7789:(e,t,n)=>{"use strict";t.isLastDayOfMonth=function(e){const t=(0,o.toDate)(e);return+(0,r.endOfDay)(t)===+(0,a.endOfMonth)(t)};var r=n(2412),a=n(8268),o=n(5551)},4385:(e,t,n)=>{"use strict";t.isLeapYear=function(e){const t=(0,r.toDate)(e).getFullYear();return t%400===0||t%4===0&&t%100!==0};var r=n(5551)},9521:(e,t,n)=>{"use strict";t.isMatch=function(e,t,n){return(0,r.isValid)((0,a.parse)(e,t,new Date,n))};var r=n(9858),a=n(4251)},1674:(e,t,n)=>{"use strict";t.isMonday=function(e){return 1===(0,r.toDate)(e).getDay()};var r=n(5551)},8014:(e,t,n)=>{"use strict";t.isPast=function(e){return+(0,r.toDate)(e)<Date.now()};var r=n(5551)},8444:(e,t,n)=>{"use strict";t.isSameDay=function(e,t){const n=(0,r.startOfDay)(e),a=(0,r.startOfDay)(t);return+n===+a};var r=n(6191)},1070:(e,t,n)=>{"use strict";t.isSameHour=function(e,t){const n=(0,r.startOfHour)(e),a=(0,r.startOfHour)(t);return+n===+a};var r=n(1951)},1411:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t){return(0,r.isSameWeek)(e,t,{weekStartsOn:1})};var r=n(800)},5414:(e,t,n)=>{"use strict";t.isSameISOWeekYear=function(e,t){const n=(0,r.startOfISOWeekYear)(e),a=(0,r.startOfISOWeekYear)(t);return+n===+a};var r=n(2329)},5512:(e,t,n)=>{"use strict";t.isSameMinute=function(e,t){const n=(0,r.startOfMinute)(e),a=(0,r.startOfMinute)(t);return+n===+a};var r=n(377)},8060:(e,t,n)=>{"use strict";t.isSameMonth=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()};var r=n(5551)},8322:(e,t,n)=>{"use strict";t.isSameQuarter=function(e,t){const n=(0,r.startOfQuarter)(e),a=(0,r.startOfQuarter)(t);return+n===+a};var r=n(1125)},3584:(e,t,n)=>{"use strict";t.isSameSecond=function(e,t){const n=(0,r.startOfSecond)(e),a=(0,r.startOfSecond)(t);return+n===+a};var r=n(5545)},800:(e,t,n)=>{"use strict";t.isSameWeek=function(e,t,n){const a=(0,r.startOfWeek)(e,n),o=(0,r.startOfWeek)(t,n);return+a===+o};var r=n(9249)},4265:(e,t,n)=>{"use strict";t.isSameYear=function(e,t){const n=(0,r.toDate)(e),a=(0,r.toDate)(t);return n.getFullYear()===a.getFullYear()};var r=n(5551)},2161:(e,t,n)=>{"use strict";t.isSaturday=function(e){return 6===(0,r.toDate)(e).getDay()};var r=n(5551)},1074:(e,t,n)=>{"use strict";t.isSunday=function(e){return 0===(0,r.toDate)(e).getDay()};var r=n(5551)},6032:(e,t,n)=>{"use strict";t.isThisHour=function(e){return(0,a.isSameHour)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(1070)},2649:(e,t,n)=>{"use strict";t.isThisISOWeek=function(e){return(0,a.isSameISOWeek)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(1411)},8614:(e,t,n)=>{"use strict";t.isThisMinute=function(e){return(0,a.isSameMinute)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(5512)},8330:(e,t,n)=>{"use strict";t.isThisMonth=function(e){return(0,a.isSameMonth)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(8060)},888:(e,t,n)=>{"use strict";t.isThisQuarter=function(e){return(0,a.isSameQuarter)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(8322)},1522:(e,t,n)=>{"use strict";t.isThisSecond=function(e){return(0,a.isSameSecond)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(3584)},8802:(e,t,n)=>{"use strict";t.isThisWeek=function(e,t){return(0,a.isSameWeek)(e,(0,r.constructNow)(e),t)};var r=n(7229),a=n(800)},9047:(e,t,n)=>{"use strict";t.isThisYear=function(e){return(0,a.isSameYear)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(4265)},5828:(e,t,n)=>{"use strict";t.isThursday=function(e){return 4===(0,r.toDate)(e).getDay()};var r=n(5551)},8993:(e,t,n)=>{"use strict";t.isToday=function(e){return(0,a.isSameDay)(e,(0,r.constructNow)(e))};var r=n(7229),a=n(8444)},6473:(e,t,n)=>{"use strict";t.isTomorrow=function(e){return(0,o.isSameDay)(e,(0,r.addDays)((0,a.constructNow)(e),1))};var r=n(8620),a=n(7229),o=n(8444)},7311:(e,t,n)=>{"use strict";t.isTuesday=function(e){return 2===(0,r.toDate)(e).getDay()};var r=n(5551)},9858:(e,t,n)=>{"use strict";t.isValid=function(e){if(!(0,r.isDate)(e)&&"number"!==typeof e)return!1;const t=(0,a.toDate)(e);return!isNaN(Number(t))};var r=n(1890),a=n(5551)},2868:(e,t,n)=>{"use strict";t.isWednesday=function(e){return 3===(0,r.toDate)(e).getDay()};var r=n(5551)},6597:(e,t,n)=>{"use strict";t.isWeekend=function(e){const t=(0,r.toDate)(e).getDay();return 0===t||6===t};var r=n(5551)},4148:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t){const n=+(0,r.toDate)(e),[a,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n>=a&&n<=o};var r=n(5551)},68:(e,t,n)=>{"use strict";t.isYesterday=function(e){return(0,a.isSameDay)(e,(0,o.subDays)((0,r.constructNow)(e),1))};var r=n(7229),a=n(8444),o=n(3613)},5339:(e,t,n)=>{"use strict";t.lastDayOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),a=9+10*Math.floor(n/10);return t.setFullYear(a+1,0,0),t.setHours(0,0,0,0),t};var r=n(5551)},5154:(e,t,n)=>{"use strict";t.lastDayOfISOWeek=function(e){return(0,r.lastDayOfWeek)(e,{weekStartsOn:1})};var r=n(7863)},7871:(e,t,n)=>{"use strict";t.lastDayOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const i=(0,a.startOfISOWeek)(n);return i.setDate(i.getDate()-1),i};var r=n(8890),a=n(1048),o=n(4161)},4429:(e,t,n)=>{"use strict";t.lastDayOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t};var r=n(5551)},847:(e,t,n)=>{"use strict";t.lastDayOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),a=n-n%3+3;return t.setMonth(a,0),t.setHours(0,0,0,0),t};var r=n(5551)},7863:(e,t,n)=>{"use strict";t.lastDayOfWeek=function(e,t){const n=(0,a.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e),s=i.getDay(),l=6+(s<o?-7:0)-(s-o);return i.setHours(0,0,0,0),i.setDate(i.getDate()+l),i};var r=n(5551),a=n(6868)},1110:(e,t,n)=>{"use strict";t.lastDayOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t};var r=n(5551)},3951:(e,t,n)=>{"use strict";t.lightFormat=function(e,t){const n=(0,a.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const u=t.match(i);if(!u)return"";return u.map((e=>{if("''"===e)return"'";const t=e[0];if("'"===t)return function(e){const t=e.match(s);if(!t)return e;return t[1].replace(l,"'")}(e);const r=o.lightFormatters[t];if(r)return r(n,e);if(t.match(c))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join("")},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return o.lightFormatters}});var r=n(9858),a=n(5551),o=n(7630);const i=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,c=/[a-zA-Z]/},3997:(e,t)=>{"use strict";t.buildFormatLongFn=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},9555:(e,t)=>{"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{const t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},9387:(e,t)=>{"use strict";t.buildMatchFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const i=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}},4273:(e,t)=>{"use strict";t.buildMatchPatternFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let i=e.valueCallback?e.valueCallback(o[0]):o[0];i=n.valueCallback?n.valueCallback(i):i;return{value:i,rest:t.slice(a.length)}}}},8757:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(8203),a=n(342),o=n(9104),i=n(6608),s=n(4986);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:a.formatLong,formatRelative:o.formatRelative,localize:i.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},8203:(e,t)=>{"use strict";t.formatDistance=void 0;const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let a;const o=n[e];return a="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+a:a+" ago":a}},342:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(3997);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},9104:(e,t)=>{"use strict";t.formatRelative=void 0;const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,a)=>n[e]},6608:(e,t,n)=>{"use strict";t.localize=void 0;var r=n(9555);t.localize={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},4986:(e,t,n)=>{"use strict";t.match=void 0;var r=n(9387),a=n(4273);t.match={ordinalNumber:(0,a.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},8442:(e,t,n)=>{"use strict";t.max=function(e){let t;return e.forEach((function(e){const n=(0,r.toDate)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)})),t||new Date(NaN)};var r=n(5551)},2560:(e,t,n)=>{"use strict";t.milliseconds=function(e){let{years:t,months:n,weeks:a,days:o,hours:i,minutes:s,seconds:l}=e,c=0;t&&(c+=t*r.daysInYear);n&&(c+=n*(r.daysInYear/12));a&&(c+=7*a);o&&(c+=o);let u=24*c*60*60;i&&(u+=60*i*60);s&&(u+=60*s);l&&(u+=l);return Math.trunc(1e3*u)};var r=n(9757)},3838:(e,t,n)=>{"use strict";t.millisecondsToHours=function(e){const t=e/r.millisecondsInHour;return Math.trunc(t)};var r=n(9757)},6424:(e,t,n)=>{"use strict";t.millisecondsToMinutes=function(e){const t=e/r.millisecondsInMinute;return Math.trunc(t)};var r=n(9757)},2144:(e,t,n)=>{"use strict";t.millisecondsToSeconds=function(e){const t=e/r.millisecondsInSecond;return Math.trunc(t)};var r=n(9757)},1972:(e,t,n)=>{"use strict";t.min=function(e){let t;return e.forEach((e=>{const n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)})),t||new Date(NaN)};var r=n(5551)},6333:(e,t,n)=>{"use strict";t.minutesToHours=function(e){const t=e/r.minutesInHour;return Math.trunc(t)};var r=n(9757)},174:(e,t,n)=>{"use strict";t.minutesToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInMinute)};var r=n(9757)},6199:(e,t,n)=>{"use strict";t.minutesToSeconds=function(e){return Math.trunc(e*r.secondsInMinute)};var r=n(9757)},4125:(e,t,n)=>{"use strict";t.monthsToQuarters=function(e){const t=e/r.monthsInQuarter;return Math.trunc(t)};var r=n(9757)},7888:(e,t,n)=>{"use strict";t.monthsToYears=function(e){const t=e/r.monthsInYear;return Math.trunc(t)};var r=n(9757)},2869:(e,t,n)=>{"use strict";t.nextDay=function(e,t){let n=t-(0,a.getDay)(e);n<=0&&(n+=7);return(0,r.addDays)(e,n)};var r=n(8620),a=n(7600)},3980:(e,t,n)=>{"use strict";t.nextFriday=function(e){return(0,r.nextDay)(e,5)};var r=n(2869)},3495:(e,t,n)=>{"use strict";t.nextMonday=function(e){return(0,r.nextDay)(e,1)};var r=n(2869)},1884:(e,t,n)=>{"use strict";t.nextSaturday=function(e){return(0,r.nextDay)(e,6)};var r=n(2869)},2339:(e,t,n)=>{"use strict";t.nextSunday=function(e){return(0,r.nextDay)(e,0)};var r=n(2869)},7925:(e,t,n)=>{"use strict";t.nextThursday=function(e){return(0,r.nextDay)(e,4)};var r=n(2869)},100:(e,t,n)=>{"use strict";t.nextTuesday=function(e){return(0,r.nextDay)(e,2)};var r=n(2869)},9859:(e,t,n)=>{"use strict";t.nextWednesday=function(e){return(0,r.nextDay)(e,3)};var r=n(2869)},4251:(e,t,n)=>{"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,y){const v=(0,a.getDefaultOptions)(),b=y?.locale??v.locale??o.defaultLocale,x=y?.firstWeekContainsDate??y?.locale?.options?.firstWeekContainsDate??v.firstWeekContainsDate??v.locale?.options?.firstWeekContainsDate??1,w=y?.weekStartsOn??y?.locale?.options?.weekStartsOn??v.weekStartsOn??v.locale?.options?.weekStartsOn??0;if(""===t)return""===e?(0,i.toDate)(n):(0,r.constructFrom)(n,NaN);const k={firstWeekContainsDate:x,weekStartsOn:w,locale:b},_=[new u.DateToSystemTimezoneSetter],j=t.match(f).map((e=>{const t=e[0];if(t in s.longFormatters){return(0,s.longFormatters[t])(e,b.formatLong)}return e})).join("").match(d),S=[];for(let a of j){!y?.useAdditionalWeekYearTokens&&(0,l.isProtectedWeekYearToken)(a)&&(0,l.warnOrThrowProtectedError)(a,t,e),!y?.useAdditionalDayOfYearTokens&&(0,l.isProtectedDayOfYearToken)(a)&&(0,l.warnOrThrowProtectedError)(a,t,e);const o=a[0],i=c.parsers[o];if(i){const{incompatibleTokens:t}=i;if(Array.isArray(t)){const e=S.find((e=>t.includes(e.token)||e.token===o));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${a}\` at the same time`)}else if("*"===i.incompatibleTokens&&S.length>0)throw new RangeError(`The format string mustn't contain \`${a}\` and any other token at the same time`);S.push({token:o,fullToken:a});const s=i.run(e,a,b.match,k);if(!s)return(0,r.constructFrom)(n,NaN);_.push(s.setter),e=s.rest}else{if(o.match(g))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===a?a="'":"'"===o&&(a=a.match(h)[1].replace(p,"'")),0!==e.indexOf(a))return(0,r.constructFrom)(n,NaN);e=e.slice(a.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);const M=_.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>_.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let D=(0,i.toDate)(n);if(isNaN(D.getTime()))return(0,r.constructFrom)(n,NaN);const O={};for(const a of M){if(!a.validate(D,k))return(0,r.constructFrom)(n,NaN);const e=a.set(D,O,k);Array.isArray(e)?(D=e[0],Object.assign(O,e[1])):D=e}return(0,r.constructFrom)(n,D)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(4161),a=n(7153),o=n(2222),i=n(5551),s=n(5916),l=n(8913),c=n(7109),u=n(7318);const d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,f=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,p=/''/g,m=/\S/,g=/[a-zA-Z]/},3458:(e,t,n)=>{"use strict";t.parseISO=function(e,t){const n=t?.additionalDigits??2,f=function(e){const t={},n=e.split(a.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],a.timeZoneDelimiter.test(t.date)&&(t.date=e.split(a.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=a.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let h;if(f.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const a=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(f.date,n);h=function(e,t){if(null===t)return new Date(NaN);const n=e.match(o);if(!n)return new Date(NaN);const r=!!n[4],a=l(n[1]),i=l(n[2])-1,s=l(n[3]),c=l(n[4]),f=l(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,f)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const a=r.getUTCDay()||7,o=7*(t-1)+n+1-a;return r.setUTCDate(r.getUTCDate()+o),r}(t,c,f):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(u[t]||(d(e)?29:28))}(t,i,s)&&function(e,t){return t>=1&&t<=(d(e)?366:365)}(t,a)?(e.setUTCFullYear(t,i,Math.max(a,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!h||isNaN(h.getTime()))return new Date(NaN);const p=h.getTime();let m,g=0;if(f.time&&(g=function(e){const t=e.match(i);if(!t)return NaN;const n=c(t[1]),a=c(t[2]),o=c(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,a,o))return NaN;return n*r.millisecondsInHour+a*r.millisecondsInMinute+1e3*o}(f.time),isNaN(g)))return new Date(NaN);if(!f.timezone){const e=new Date(p+g),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}if(m=function(e){if("Z"===e)return 0;const t=e.match(s);if(!t)return 0;const n="+"===t[1]?-1:1,a=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(a*r.millisecondsInHour+o*r.millisecondsInMinute)}(f.timezone),isNaN(m))return new Date(NaN);return new Date(p+g+m)};var r=n(9757);const a={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,i=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}const u=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400===0||e%4===0&&e%100!==0}},8238:(e,t)=>{"use strict";t.parseJSON=function(e){const t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)));return new Date(NaN)}},9758:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(7318);t.Parser=class{run(e,t,n,a){const o=this.parse(e,t,n,a);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}},7318:(e,t,n)=>{"use strict";t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var r=n(3583),a=n(4161);class o{subPriority=0;validate(e,t){return!0}}t.Setter=o;t.ValueSetter=class extends o{constructor(e,t,n,r,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}};t.DateToSystemTimezoneSetter=class extends o{priority=10;subPriority=-1;set(e,t){return t.timestampIsSet?e:(0,a.constructFrom)(e,(0,r.transpose)(e,Date))}}},3704:(e,t)=>{"use strict";t.timezonePatterns=t.numericPatterns=void 0;t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},7109:(e,t,n)=>{"use strict";t.parsers=void 0;var r=n(7615),a=n(8550),o=n(9967),i=n(5065),s=n(2403),l=n(3245),c=n(96),u=n(8403),d=n(4818),f=n(3118),h=n(5428),p=n(6099),m=n(1931),g=n(1755),y=n(4227),v=n(3023),b=n(610),x=n(6282),w=n(9766),k=n(3438),_=n(4690),j=n(8829),S=n(5640),M=n(9495),D=n(9271),O=n(7223),E=n(7804),N=n(2135),P=n(7271),T=n(6990),C=n(3883);t.parsers={G:new r.EraParser,y:new a.YearParser,Y:new o.LocalWeekYearParser,R:new i.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new c.StandAloneQuarterParser,M:new u.MonthParser,L:new d.StandAloneMonthParser,w:new f.LocalWeekParser,I:new h.ISOWeekParser,d:new p.DateParser,D:new m.DayOfYearParser,E:new g.DayParser,e:new y.LocalDayParser,c:new v.StandAloneLocalDayParser,i:new b.ISODayParser,a:new x.AMPMParser,b:new w.AMPMMidnightParser,B:new k.DayPeriodParser,h:new _.Hour1to12Parser,H:new j.Hour0to23Parser,K:new S.Hour0To11Parser,k:new M.Hour1To24Parser,m:new D.MinuteParser,s:new O.SecondParser,S:new E.FractionOfSecondParser,X:new N.ISOTimezoneWithZParser,x:new P.ISOTimezoneParser,t:new T.TimestampSecondsParser,T:new C.TimestampMillisecondsParser}},9766:(e,t,n)=>{"use strict";t.AMPMMidnightParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}t.AMPMMidnightParser=o},6282:(e,t,n)=>{"use strict";t.AMPMParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=o},6099:(e,t,n)=>{"use strict";t.DateParser=void 0;var r=n(3704),a=n(9758),o=n(4636);const i=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class l extends a.Parser{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return(0,o.parseNumericPattern)(r.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear(),r=(0,o.isLeapYearIndex)(n),a=e.getMonth();return r?t>=1&&t<=s[a]:t>=1&&t<=i[a]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}t.DateParser=l},1931:(e,t,n)=>{"use strict";t.DayOfYearParser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return(0,o.parseNumericPattern)(r.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear();return(0,o.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}t.DayOfYearParser=i},1755:(e,t,n)=>{"use strict";t.DayParser=void 0;var r=n(6463),a=n(9758);class o extends a.Parser{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}t.DayParser=o},3438:(e,t,n)=>{"use strict";t.DayPeriodParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,a.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]}t.DayPeriodParser=o},7615:(e,t,n)=>{"use strict";t.EraParser=void 0;var r=n(9758);class a extends r.Parser{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}t.EraParser=a},2403:(e,t,n)=>{"use strict";t.ExtendedYearParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=130;parse(e,t){return"u"===t?(0,a.parseNDigitsSigned)(4,e):(0,a.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}t.ExtendedYearParser=o},7804:(e,t,n)=>{"use strict";t.FractionOfSecondParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=30;parse(e,t){return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]}t.FractionOfSecondParser=o},5640:(e,t,n)=>{"use strict";t.Hour0To11Parser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=70;parse(e,t,n){switch(t){case"K":return(0,o.parseNumericPattern)(r.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}t.Hour0To11Parser=i},8829:(e,t,n)=>{"use strict";t.Hour0to23Parser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=70;parse(e,t,n){switch(t){case"H":return(0,o.parseNumericPattern)(r.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}t.Hour0to23Parser=i},9495:(e,t,n)=>{"use strict";t.Hour1To24Parser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=70;parse(e,t,n){switch(t){case"k":return(0,o.parseNumericPattern)(r.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}t.Hour1To24Parser=i},4690:(e,t,n)=>{"use strict";t.Hour1to12Parser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,o.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=i},610:(e,t,n)=>{"use strict";t.ISODayParser=void 0;var r=n(261),a=n(9758),o=n(4636);class i extends a.Parser{priority=90;parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,o.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,o.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,o.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,o.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,o.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,r.setISODay)(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}t.ISODayParser=i},7271:(e,t,n)=>{"use strict";t.ISOTimezoneParser=void 0;var r=n(4161),a=n(3300),o=n(3704),i=n(9758),s=n(4636);class l extends i.Parser{priority=10;parse(e,t){switch(t){case"x":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"xxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,a.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","X"]}t.ISOTimezoneParser=l},2135:(e,t,n)=>{"use strict";t.ISOTimezoneWithZParser=void 0;var r=n(4161),a=n(3300),o=n(3704),i=n(9758),s=n(4636);class l extends i.Parser{priority=10;parse(e,t){switch(t){case"X":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"XXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,a.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","x"]}t.ISOTimezoneWithZParser=l},5428:(e,t,n)=>{"use strict";t.ISOWeekParser=void 0;var r=n(5267),a=n(1048),o=n(3704),i=n(9758),s=n(4636);class l extends i.Parser{priority=100;parse(e,t,n){switch(t){case"I":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,a.startOfISOWeek)((0,r.setISOWeek)(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekParser=l},5065:(e,t,n)=>{"use strict";t.ISOWeekYearParser=void 0;var r=n(1048),a=n(4161),o=n(9758),i=n(4636);class s extends o.Parser{priority=130;parse(e,t){return"R"===t?(0,i.parseNDigitsSigned)(4,e):(0,i.parseNDigitsSigned)(t.length,e)}set(e,t,n){const o=(0,a.constructFrom)(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,r.startOfISOWeek)(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekYearParser=s},4227:(e,t,n)=>{"use strict";t.LocalDayParser=void 0;var r=n(6463),a=n(9758),o=n(4636);class i extends a.Parser{priority=90;parse(e,t,n,r){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),a);case"eo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}t.LocalDayParser=i},3118:(e,t,n)=>{"use strict";t.LocalWeekParser=void 0;var r=n(5056),a=n(9249),o=n(3704),i=n(9758),s=n(4636);class l extends i.Parser{priority=100;parse(e,t,n){switch(t){case"w":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return(0,a.startOfWeek)((0,r.setWeek)(e,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}t.LocalWeekParser=l},9967:(e,t,n)=>{"use strict";t.LocalWeekYearParser=void 0;var r=n(7941),a=n(9249),o=n(9758),i=n(4636);class s extends o.Parser{priority=130;parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,i.mapValue)((0,i.parseNDigits)(4,e),r);case"Yo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){const s=(0,r.getWeekYear)(e,o);if(n.isTwoDigitYear){const t=(0,i.normalizeTwoDigitYear)(n.year,s);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,a.startOfWeek)(e,o)}const l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,a.startOfWeek)(e,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}t.LocalWeekYearParser=s},9271:(e,t,n)=>{"use strict";t.MinuteParser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=60;parse(e,t,n){switch(t){case"m":return(0,o.parseNumericPattern)(r.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]}t.MinuteParser=i},8403:(e,t,n)=>{"use strict";t.MonthParser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"M":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),a);case"MM":return(0,o.mapValue)((0,o.parseNDigits)(2,e),a);case"Mo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),a);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=i},3245:(e,t,n)=>{"use strict";t.QuarterParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return(0,a.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}t.QuarterParser=o},7223:(e,t,n)=>{"use strict";t.SecondParser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=50;parse(e,t,n){switch(t){case"s":return(0,o.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}t.SecondParser=i},3023:(e,t,n)=>{"use strict";t.StandAloneLocalDayParser=void 0;var r=n(6463),a=n(9758),o=n(4636);class i extends a.Parser{priority=90;parse(e,t,n,r){const a=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),a);case"co":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),a);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,a){return(e=(0,r.setDay)(e,n,a)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}t.StandAloneLocalDayParser=i},4818:(e,t,n)=>{"use strict";t.StandAloneMonthParser=void 0;var r=n(3704),a=n(9758),o=n(4636);class i extends a.Parser{priority=110;parse(e,t,n){const a=e=>e-1;switch(t){case"L":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),a);case"LL":return(0,o.mapValue)((0,o.parseNDigits)(2,e),a);case"Lo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),a);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}t.StandAloneMonthParser=i},96:(e,t,n)=>{"use strict";t.StandAloneQuarterParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return(0,a.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}t.StandAloneQuarterParser=o},3883:(e,t,n)=>{"use strict";t.TimestampMillisecondsParser=void 0;var r=n(4161),a=n(9758),o=n(4636);class i extends a.Parser{priority=20;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampMillisecondsParser=i},6990:(e,t,n)=>{"use strict";t.TimestampSecondsParser=void 0;var r=n(4161),a=n(9758),o=n(4636);class i extends a.Parser{priority=40;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampSecondsParser=i},8550:(e,t,n)=>{"use strict";t.YearParser=void 0;var r=n(9758),a=n(4636);class o extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,a.mapValue)((0,a.parseNDigits)(4,e),r);case"yo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=(0,a.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}t.YearParser=o},4636:(e,t,n)=>{"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400===0||e%4===0&&e%100!==0},t.mapValue=function(e,t){if(!e)return e;return{value:t(e.value),rest:e.rest}},t.normalizeTwoDigitYear=function(e,t){const n=t>0,r=n?t:1-t;let a;if(r<=50)a=e||100;else{const t=r+50;a=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?a:1-a},t.parseAnyDigitsSigned=function(e){return o(a.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigit,t);case 2:return o(a.numericPatterns.twoDigits,t);case 3:return o(a.numericPatterns.threeDigits,t);case 4:return o(a.numericPatterns.fourDigits,t);default:return o(new RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(a.numericPatterns.singleDigitSigned,t);case 2:return o(a.numericPatterns.twoDigitsSigned,t);case 3:return o(a.numericPatterns.threeDigitsSigned,t);case 4:return o(a.numericPatterns.fourDigitsSigned,t);default:return o(new RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const a="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(o*r.millisecondsInHour+i*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(9757),a=n(3704);function o(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},4269:(e,t,n)=>{"use strict";t.previousDay=function(e,t){let n=(0,r.getDay)(e)-t;n<=0&&(n+=7);return(0,a.subDays)(e,n)};var r=n(7600),a=n(3613)},228:(e,t,n)=>{"use strict";t.previousFriday=function(e){return(0,r.previousDay)(e,5)};var r=n(4269)},559:(e,t,n)=>{"use strict";t.previousMonday=function(e){return(0,r.previousDay)(e,1)};var r=n(4269)},1396:(e,t,n)=>{"use strict";t.previousSaturday=function(e){return(0,r.previousDay)(e,6)};var r=n(4269)},4651:(e,t,n)=>{"use strict";t.previousSunday=function(e){return(0,r.previousDay)(e,0)};var r=n(4269)},8365:(e,t,n)=>{"use strict";t.previousThursday=function(e){return(0,r.previousDay)(e,4)};var r=n(4269)},5260:(e,t,n)=>{"use strict";t.previousTuesday=function(e){return(0,r.previousDay)(e,2)};var r=n(4269)},5467:(e,t,n)=>{"use strict";t.previousWednesday=function(e){return(0,r.previousDay)(e,3)};var r=n(4269)},8181:(e,t,n)=>{"use strict";t.quartersToMonths=function(e){return Math.trunc(e*r.monthsInQuarter)};var r=n(9757)},5249:(e,t,n)=>{"use strict";t.quartersToYears=function(e){const t=e/r.quartersInYear;return Math.trunc(t)};var r=n(9757)},7020:(e,t,n)=>{"use strict";t.roundToNearestHours=function(e,t){const n=t?.nearestTo??1;if(n<1||n>12)return(0,a.constructFrom)(e,NaN);const i=(0,o.toDate)(e),s=i.getMinutes()/60,l=i.getSeconds()/60/60,c=i.getMilliseconds()/1e3/60/60,u=i.getHours()+s+l+c,d=t?.roundingMethod??"round",f=(0,r.getRoundingMethod)(d)(u/n)*n,h=(0,a.constructFrom)(e,i);return h.setHours(f,0,0,0),h};var r=n(8056),a=n(4161),o=n(5551)},2242:(e,t,n)=>{"use strict";t.roundToNearestMinutes=function(e,t){const n=t?.nearestTo??1;if(n<1||n>30)return(0,a.constructFrom)(e,NaN);const i=(0,o.toDate)(e),s=i.getSeconds()/60,l=i.getMilliseconds()/1e3/60,c=i.getMinutes()+s+l,u=t?.roundingMethod??"round",d=(0,r.getRoundingMethod)(u)(c/n)*n,f=(0,a.constructFrom)(e,i);return f.setMinutes(d,0,0),f};var r=n(8056),a=n(4161),o=n(5551)},497:(e,t,n)=>{"use strict";t.secondsToHours=function(e){const t=e/r.secondsInHour;return Math.trunc(t)};var r=n(9757)},3026:(e,t,n)=>{"use strict";t.secondsToMilliseconds=function(e){return e*r.millisecondsInSecond};var r=n(9757)},8843:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(9757)},3848:(e,t,n)=>{"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);null!=t.year&&n.setFullYear(t.year);null!=t.month&&(n=(0,a.setMonth)(n,t.month));null!=t.date&&n.setDate(t.date);null!=t.hours&&n.setHours(t.hours);null!=t.minutes&&n.setMinutes(t.minutes);null!=t.seconds&&n.setSeconds(t.seconds);null!=t.milliseconds&&n.setMilliseconds(t.milliseconds);return n};var r=n(4161),a=n(2844),o=n(5551)},8956:(e,t,n)=>{"use strict";t.setDate=function(e,t){const n=(0,r.toDate)(e);return n.setDate(t),n};var r=n(5551)},6463:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const i=(0,o.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,l=(0,a.toDate)(e),c=l.getDay(),u=(t%7+7)%7,d=7-s,f=t<0||t>6?t-(c+d)%7:(u+d)%7-(c+d)%7;return(0,r.addDays)(l,f)};var r=n(8620),a=n(5551),o=n(6868)},5716:(e,t,n)=>{"use strict";t.setDayOfYear=function(e,t){const n=(0,r.toDate)(e);return n.setMonth(0),n.setDate(t),n};var r=n(5551)},5626:(e,t,n)=>{"use strict";t.setDefaultOptions=function(e){const t={},n=(0,r.getDefaultOptions)();for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(void 0===e[r]?delete t[r]:t[r]=e[r]);(0,r.setDefaultOptions)(t)};var r=n(6868)},3525:(e,t,n)=>{"use strict";t.setHours=function(e,t){const n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(5551)},261:(e,t,n)=>{"use strict";t.setISODay=function(e,t){const n=(0,o.toDate)(e),i=(0,a.getISODay)(n),s=t-i;return(0,r.addDays)(n,s)};var r=n(8620),a=n(8601),o=n(5551)},5267:(e,t,n)=>{"use strict";t.setISOWeek=function(e,t){const n=(0,a.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n(9871),a=n(5551)},5318:(e,t,n)=>{"use strict";t.setISOWeekYear=function(e,t){let n=(0,i.toDate)(e);const s=(0,a.differenceInCalendarDays)(n,(0,o.startOfISOWeekYear)(n)),l=(0,r.constructFrom)(e,0);return l.setFullYear(t,0,4),l.setHours(0,0,0,0),n=(0,o.startOfISOWeekYear)(l),n.setDate(n.getDate()+s),n};var r=n(4161),a=n(3439),o=n(2329),i=n(5551)},2806:(e,t,n)=>{"use strict";t.setMilliseconds=function(e,t){const n=(0,r.toDate)(e);return n.setMilliseconds(t),n};var r=n(5551)},4503:(e,t,n)=>{"use strict";t.setMinutes=function(e,t){const n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(5551)},2844:(e,t,n)=>{"use strict";t.setMonth=function(e,t){const n=(0,o.toDate)(e),i=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(e,0);l.setFullYear(i,t,15),l.setHours(0,0,0,0);const c=(0,a.getDaysInMonth)(l);return n.setMonth(t,Math.min(s,c)),n};var r=n(4161),a=n(272),o=n(5551)},3410:(e,t,n)=>{"use strict";t.setQuarter=function(e,t){const n=(0,a.toDate)(e),o=Math.trunc(n.getMonth()/3)+1,i=t-o;return(0,r.setMonth)(n,n.getMonth()+3*i)};var r=n(2844),a=n(5551)},671:(e,t,n)=>{"use strict";t.setSeconds=function(e,t){const n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(5551)},5056:(e,t,n)=>{"use strict";t.setWeek=function(e,t,n){const o=(0,a.toDate)(e),i=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*i),o};var r=n(2252),a=n(5551)},3729:(e,t,n)=>{"use strict";t.setWeekYear=function(e,t,n){const l=(0,s.getDefaultOptions)(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1;let u=(0,i.toDate)(e);const d=(0,a.differenceInCalendarDays)(u,(0,o.startOfWeekYear)(u,n)),f=(0,r.constructFrom)(e,0);return f.setFullYear(t,0,c),f.setHours(0,0,0,0),u=(0,o.startOfWeekYear)(f,n),u.setDate(u.getDate()+d),u};var r=n(4161),a=n(3439),o=n(568),i=n(5551),s=n(6868)},4521:(e,t,n)=>{"use strict";t.setYear=function(e,t){const n=(0,a.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);return n.setFullYear(t),n};var r=n(4161),a=n(5551)},6191:(e,t,n)=>{"use strict";t.startOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(5551)},1073:(e,t,n)=>{"use strict";t.startOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),a=10*Math.floor(n/10);return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t};var r=n(5551)},1951:(e,t,n)=>{"use strict";t.startOfHour=function(e){const t=(0,r.toDate)(e);return t.setMinutes(0,0,0),t};var r=n(5551)},1048:(e,t,n)=>{"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(9249)},2329:(e,t,n)=>{"use strict";t.startOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,a.startOfISOWeek)(n)};var r=n(8890),a=n(1048),o=n(4161)},377:(e,t,n)=>{"use strict";t.startOfMinute=function(e){const t=(0,r.toDate)(e);return t.setSeconds(0,0),t};var r=n(5551)},1619:(e,t,n)=>{"use strict";t.startOfMonth=function(e){const t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(5551)},1125:(e,t,n)=>{"use strict";t.startOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),a=n-n%3;return t.setMonth(a,1),t.setHours(0,0,0,0),t};var r=n(5551)},5545:(e,t,n)=>{"use strict";t.startOfSecond=function(e){const t=(0,r.toDate)(e);return t.setMilliseconds(0),t};var r=n(5551)},4152:(e,t,n)=>{"use strict";t.startOfToday=function(){return(0,r.startOfDay)(Date.now())};var r=n(6191)},8178:(e,t)=>{"use strict";t.startOfTomorrow=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r+1),a.setHours(0,0,0,0),a}},9249:(e,t,n)=>{"use strict";t.startOfWeek=function(e,t){const n=(0,a.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,r.toDate)(e),s=i.getDay(),l=(s<o?7:0)+s-o;return i.setDate(i.getDate()-l),i.setHours(0,0,0,0),i};var r=n(5551),a=n(6868)},568:(e,t,n)=>{"use strict";t.startOfWeekYear=function(e,t){const n=(0,i.getDefaultOptions)(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=(0,a.getWeekYear)(e,t),c=(0,r.constructFrom)(e,0);c.setFullYear(l,0,s),c.setHours(0,0,0,0);return(0,o.startOfWeek)(c,t)};var r=n(4161),a=n(7941),o=n(9249),i=n(6868)},7332:(e,t,n)=>{"use strict";t.startOfYear=function(e){const t=(0,r.toDate)(e),n=(0,a.constructFrom)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n(5551),a=n(4161)},8714:(e,t)=>{"use strict";t.startOfYesterday=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),a=new Date(0);return a.setFullYear(t,n,r-1),a.setHours(0,0,0,0),a}},3614:(e,t,n)=>{"use strict";t.sub=function(e,t){const{years:n=0,months:i=0,weeks:s=0,days:l=0,hours:c=0,minutes:u=0,seconds:d=0}=t,f=(0,a.subMonths)(e,i+12*n),h=(0,r.subDays)(f,l+7*s),p=1e3*(d+60*(u+60*c));return(0,o.constructFrom)(e,h.getTime()-p)};var r=n(3613),a=n(6221),o=n(4161)},1131:(e,t,n)=>{"use strict";t.subBusinessDays=function(e,t){return(0,r.addBusinessDays)(e,-t)};var r=n(8806)},3613:(e,t,n)=>{"use strict";t.subDays=function(e,t){return(0,r.addDays)(e,-t)};var r=n(8620)},9883:(e,t,n)=>{"use strict";t.subHours=function(e,t){return(0,r.addHours)(e,-t)};var r=n(5608)},3131:(e,t,n)=>{"use strict";t.subISOWeekYears=function(e,t){return(0,r.addISOWeekYears)(e,-t)};var r=n(8594)},5712:(e,t,n)=>{"use strict";t.subMilliseconds=function(e,t){return(0,r.addMilliseconds)(e,-t)};var r=n(3773)},3201:(e,t,n)=>{"use strict";t.subMinutes=function(e,t){return(0,r.addMinutes)(e,-t)};var r=n(86)},6221:(e,t,n)=>{"use strict";t.subMonths=function(e,t){return(0,r.addMonths)(e,-t)};var r=n(4640)},899:(e,t,n)=>{"use strict";t.subQuarters=function(e,t){return(0,r.addQuarters)(e,-t)};var r=n(1634)},317:(e,t,n)=>{"use strict";t.subSeconds=function(e,t){return(0,r.addSeconds)(e,-t)};var r=n(2570)},4357:(e,t,n)=>{"use strict";t.subWeeks=function(e,t){return(0,r.addWeeks)(e,-t)};var r=n(9994)},6198:(e,t,n)=>{"use strict";t.subYears=function(e,t){return(0,r.addYears)(e,-t)};var r=n(709)},5551:(e,t)=>{"use strict";t.toDate=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}},3583:(e,t,n)=>{"use strict";t.transpose=function(e,t){const n=t instanceof Date?(0,r.constructFrom)(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n};var r=n(4161)},8615:(e,t,n)=>{"use strict";t.weeksToDays=function(e){return Math.trunc(e*r.daysInWeek)};var r=n(9757)},9932:(e,t,n)=>{"use strict";t.yearsToDays=function(e){return Math.trunc(e*r.daysInYear)};var r=n(9757)},5392:(e,t,n)=>{"use strict";t.yearsToMonths=function(e){return Math.trunc(e*r.monthsInYear)};var r=n(9757)},3090:(e,t,n)=>{"use strict";t.yearsToQuarters=function(e){return Math.trunc(e*r.quartersInYear)};var r=n(9757)},219:(e,t,n)=>{"use strict";var r=n(3763),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var a=h(n);a&&a!==p&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var y=i[g];if(!o[y]&&(!r||!r[y])&&(!m||!m[y])&&(!s||!s[y])){var v=f(n,y);try{c(t,y,v)}catch(b){}}}}return t}},4983:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case a:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===i||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},3763:(e,t,n)=>{"use strict";e.exports=n(4983)},3512:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(6178))},6178:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function a(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function h(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Qn(e,t,n,r,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=m()),e._pf}function y(e){var t=null,r=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function v(e){var t=p(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var b=r.momentProperties=[],x=!1;function w(e,t){var n,r,a,o=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)c(a=t[r=b[n]])||(e[r]=a);return e}function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,r.updateOffset(this),x=!1)}function _(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function j(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return h((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var a,o,i,l=[],c=arguments.length;for(o=0;o<c;o++){if(a="","object"===typeof arguments[o]){for(i in a+="\n["+o+"] ",arguments[0])s(arguments[0],i)&&(a+=i+": "+arguments[0][i]+", ");a=a.slice(0,-2)}else a=arguments[o];l.push(a)}j(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,D={};function O(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),D[e]||(j(t),D[e]=!0)}function E(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e){var t,n;for(n in e)s(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=h({},e);for(n in t)s(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&i(e[n])&&(r[n]=h({},r[n]));return r}function T(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var C={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r}function R(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},Y={};function z(e,t,n,r){var a=r;"string"===typeof r&&(a=function(){return this[r]()}),e&&(Y[e]=a),t&&(Y[t[0]]=function(){return R(a.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(F);for(t=0,n=r.length;t<n;t++)Y[r[t]]?r[t]=Y[r[t]]:r[t]=W(r[t]);return function(t){var a,o="";for(a=0;a<n;a++)o+=E(r[a])?r[a].call(t,e):r[a];return o}}function B(e,t){return e.isValid()?(t=V(t,e.localeData()),A[t]=A[t]||H(t),A[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,n-=1;return e}var U={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function Q(){return this._invalidDate}var K="%d",Z=/\d{1,2}/;function G(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var a=this._relativeTime[n];return E(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)s(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var ie,se=/\d/,le=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,de=/[+-]?\d{6}/,fe=/\d\d?/,he=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,me=/\d{1,3}/,ge=/\d{1,4}/,ye=/[+-]?\d{1,6}/,ve=/\d+/,be=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,ke=/[+-]?\d+(\.\d{1,3})?/,_e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,je=/^[1-9]\d?/,Se=/^([1-9]\d|\d)/;function Me(e,t,n){ie[e]=E(t)?t:function(e,r){return e&&n?n:t}}function De(e,t){return s(ie,e)?ie[e](t._strict,t._locale):new RegExp(Oe(e))}function Oe(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ne(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Ne(t)),n}ie={};var Te={};function Ce(e,t){var n,r,a=t;for("string"===typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=Pe(e)}),r=e.length,n=0;n<r;n++)Te[e[n]]=a}function Ie(e,t){Ce(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function Re(e,t,n){null!=t&&s(Te,e)&&Te[e](t,n._a,n,e)}function Fe(e){return e%4===0&&e%100!==0||e%400===0}var Le=0,Ae=1,Ye=2,ze=3,We=4,He=5,Be=6,Ve=7,Ue=8;function $e(e){return Fe(e)?366:365}z("Y",0,0,(function(){var e=this.year();return e<=9999?R(e,4):"+"+e})),z(0,["YY",2],0,(function(){return this.year()%100})),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),Me("Y",be),Me("YY",fe,le),Me("YYYY",ge,ue),Me("YYYYY",ye,de),Me("YYYYYY",ye,de),Ce(["YYYYY","YYYYYY"],Le),Ce("YYYY",(function(e,t){t[Le]=2===e.length?r.parseTwoDigitYear(e):Pe(e)})),Ce("YY",(function(e,t){t[Le]=r.parseTwoDigitYear(e)})),Ce("Y",(function(e,t){t[Le]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Pe(e)+(Pe(e)>68?1900:2e3)};var qe,Qe=Ze("FullYear",!0);function Ke(){return Fe(this.year())}function Ze(e,t){return function(n){return null!=n?(Xe(this,e,n),r.updateOffset(this,t),this):Ge(this,e)}}function Ge(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Xe(e,t,n){var r,a,o,i,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,i=e.month(),s=29!==(s=e.date())||1!==i||Fe(o)?s:28,a?r.setUTCFullYear(o,i,s):r.setFullYear(o,i,s)}}function Je(e){return E(this[e=ne(e)])?this[e]():this}function et(e,t){if("object"===typeof e){var n,r=oe(e=re(e)),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(E(this[e=ne(e)]))return this[e](t);return this}function tt(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=tt(t,12);return e+=(t-n)/12,1===n?Fe(e)?29:28:31-n%7%2}qe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},z("M",["MM",2],"Mo",(function(){return this.month()+1})),z("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),z("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Me("M",fe,je),Me("MM",fe,le),Me("MMM",(function(e,t){return t.monthsShortRegex(e)})),Me("MMMM",(function(e,t){return t.monthsRegex(e)})),Ce(["M","MM"],(function(e,t){t[Ae]=Pe(e)-1})),Ce(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Ae]=a:g(n).invalidMonth=e}));var rt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=_e,st=_e;function lt(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function ct(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ut(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=qe.call(this._shortMonthsParse,i))?a:null:-1!==(a=qe.call(this._longMonthsParse,i))?a:null:"MMM"===t?-1!==(a=qe.call(this._shortMonthsParse,i))||-1!==(a=qe.call(this._longMonthsParse,i))?a:null:-1!==(a=qe.call(this._longMonthsParse,i))||-1!==(a=qe.call(this._shortMonthsParse,i))?a:null}function dt(e,t,n){var r,a,o;if(this._monthsParseExact)return ut.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Pe(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,nt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function ht(e){return null!=e?(ft(this,e),r.updateOffset(this,!0),this):Ge(this,"Month")}function pt(){return nt(this.year(),this.month())}function mt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=st),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t,n,r,a,o=[],i=[],s=[];for(t=0;t<12;t++)n=p([2e3,t]),r=Ee(this.monthsShort(n,"")),a=Ee(this.months(n,"")),o.push(r),i.push(a),s.push(a),s.push(r);o.sort(e),i.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vt(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function bt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}function wt(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+xt(e,r,a);return s<=0?i=$e(o=e-1)+s:s>$e(e)?(o=e+1,i=s-$e(e)):(o=e,i=s),{year:o,dayOfYear:i}}function kt(e,t,n){var r,a,o=xt(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+_t(a=e.year()-1,t,n):i>_t(e.year(),t,n)?(r=i-_t(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function _t(e,t,n){var r=xt(e,t,n),a=xt(e+1,t,n);return($e(e)-r+a)/7}function jt(e){return kt(e,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),Me("w",fe,je),Me("ww",fe,le),Me("W",fe,je),Me("WW",fe,le),Ie(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Pe(e)}));var St={dow:0,doy:6};function Mt(){return this._week.dow}function Dt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Nt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Tt(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("d",0,"do","day"),z("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),z("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),z("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),Me("d",fe),Me("e",fe),Me("E",fe),Me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Me("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ie(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:g(n).invalidWeekday=e})),Ie(["d","e","E"],(function(e,t,n,r){t[r]=Pe(e)}));var Ct="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=_e,Lt=_e,At=_e;function Yt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Tt(n,this._week.dow):e?n[e.day()]:n}function zt(e){return!0===e?Tt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?Tt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=qe.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=qe.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=qe.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=qe.call(this._weekdaysParse,i))||-1!==(a=qe.call(this._shortWeekdaysParse,i))||-1!==(a=qe.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=qe.call(this._shortWeekdaysParse,i))||-1!==(a=qe.call(this._weekdaysParse,i))||-1!==(a=qe.call(this._minWeekdaysParse,i))?a:null:-1!==(a=qe.call(this._minWeekdaysParse,i))||-1!==(a=qe.call(this._weekdaysParse,i))||-1!==(a=qe.call(this._shortWeekdaysParse,i))?a:null}function Bt(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=Ge(this,"Day");return null!=e?(e=Nt(e,this.localeData()),this.add(e-t,"d")):t}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function $t(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Qt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=At),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=Ee(this.weekdaysMin(n,"")),a=Ee(this.weekdaysShort(n,"")),o=Ee(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);i.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Gt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function Jt(e,t){z(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Gt),z("k",["kk",2],0,Xt),z("hmm",0,0,(function(){return""+Gt.apply(this)+R(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Gt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),Me("a",en),Me("A",en),Me("H",fe,Se),Me("h",fe,je),Me("k",fe,je),Me("HH",fe,le),Me("hh",fe,le),Me("kk",fe,le),Me("hmm",he),Me("hmmss",pe),Me("Hmm",he),Me("Hmmss",pe),Ce(["H","HH"],ze),Ce(["k","kk"],(function(e,t,n){var r=Pe(e);t[ze]=24===r?0:r})),Ce(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ce(["h","hh"],(function(e,t,n){t[ze]=Pe(e),g(n).bigHour=!0})),Ce("hmm",(function(e,t,n){var r=e.length-2;t[ze]=Pe(e.substr(0,r)),t[We]=Pe(e.substr(r)),g(n).bigHour=!0})),Ce("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Pe(e.substr(0,r)),t[We]=Pe(e.substr(r,2)),t[He]=Pe(e.substr(a)),g(n).bigHour=!0})),Ce("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=Pe(e.substr(0,r)),t[We]=Pe(e.substr(r))})),Ce("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[ze]=Pe(e.substr(0,r)),t[We]=Pe(e.substr(r,2)),t[He]=Pe(e.substr(a))}));var nn=/[ap]\.?m?\.?/i,rn=Ze("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,sn={calendar:C,longDateFormat:U,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:Z,relativeTime:X,months:rt,monthsShort:at,week:St,weekdays:Ct,weekdaysMin:Rt,weekdaysShort:It,meridiemParse:nn},ln={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,a,o=0;o<e.length;){for(t=(a=dn(e[o]).split("-")).length,n=(n=dn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(a,n)>=t-1)break;t--}o++}return on}function hn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function pn(t){var n=null;if(void 0===ln[t]&&e&&e.exports&&hn(t))try{n=on._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),mn(n)}catch(r){ln[t]=null}return ln[t]}function mn(e,t){var n;return e&&((n=c(t)?vn(e):gn(e,t))?on=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function gn(e,t){if(null!==t){var n,r=sn;if(t.abbr=e,null!=ln[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new T(P(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),mn(e),ln[e]}return delete ln[e],null}function yn(e,t){if(null!=t){var n,r,a=sn;null!=ln[e]&&null!=ln[e].parentLocale?ln[e].set(P(ln[e]._config,t)):(null!=(r=pn(e))&&(a=r._config),t=P(a,t),null==r&&(t.abbr=e),(n=new T(t)).parentLocale=ln[e],ln[e]=n),mn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?(ln[e]=ln[e].parentLocale,e===mn()&&mn(e)):null!=ln[e]&&delete ln[e]);return ln[e]}function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!o(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function bn(){return M(ln)}function xn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ae]<0||n[Ae]>11?Ae:n[Ye]<1||n[Ye]>nt(n[Le],n[Ae])?Ye:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[We]||0!==n[He]||0!==n[Be])?ze:n[We]<0||n[We]>59?We:n[He]<0||n[He]>59?He:n[Be]<0||n[Be]>999?Be:-1,g(e)._overflowDayOfYear&&(t<Le||t>Ye)&&(t=Ye),g(e)._overflowWeeks&&-1===t&&(t=Ve),g(e)._overflowWeekday&&-1===t&&(t=Ue),g(e).overflow=t),e}var wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_n=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Mn=/^\/?Date\((-?\d+)/i,Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(e){var t,n,r,a,o,i,s=e._i,l=wn.exec(s)||kn.exec(s),c=jn.length,u=Sn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(jn[t][1].exec(l[1])){a=jn[t][0],r=!1!==jn[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Sn[t][1].exec(l[3])){o=(l[2]||" ")+Sn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!_n.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Wn(e)}else e._isValid=!1}function Nn(e,t,n,r,a,o){var i=[Pn(e),at.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Tn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,n){return!e||It.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function In(e,t,n){if(e)return On[e];if(t)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}function Rn(e){var t,n=Dn.exec(Tn(e._i));if(n){if(t=Nn(n[4],n[3],n[2],n[5],n[6],n[7]),!Cn(n[1],t,e))return;e._a=t,e._tzm=In(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=Mn.exec(e._i);null===t?(En(e),!1===e._isValid&&(delete e._isValid,Rn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Ln(e,t,n){return null!=e?e:null!=t?t:n}function An(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Yn(e){var t,n,r,a,o,i=[];if(!e._d){for(r=An(e),e._w&&null==e._a[Ye]&&null==e._a[Ae]&&zn(e),null!=e._dayOfYear&&(o=Ln(e._a[Le],r[Le]),(e._dayOfYear>$e(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=bt(o,0,e._dayOfYear),e._a[Ae]=n.getUTCMonth(),e._a[Ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[We]&&0===e._a[He]&&0===e._a[Be]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:vt).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(g(e).weekdayMismatch=!0)}}function zn(e){var t,n,r,a,o,i,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,i=4,n=Ln(t.GG,e._a[Le],kt(Kn(),1,4).year),r=Ln(t.W,1),((a=Ln(t.E,1))<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=kt(Kn(),o,i),n=Ln(t.gg,e._a[Le],c.year),r=Ln(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>_t(n,o,i)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=wt(n,r,a,o,i),e._a[Le]=s.year,e._dayOfYear=s.dayOfYear)}function Wn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;var t,n,a,o,i,s,l,c=""+e._i,u=c.length,d=0;for(l=(a=V(e._f,e._locale).match(F)||[]).length,t=0;t<l;t++)o=a[t],(n=(c.match(De(o,e))||[])[0])&&((i=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),d+=n.length),Y[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),Re(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),e._a[ze]<=12&&!0===g(e).bigHour&&e._a[ze]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ze]=Hn(e._locale,e._a[ze],e._meridiem),null!==(s=g(e).era)&&(e._a[Le]=e._locale.erasConvertYear(s,e._a[Le])),Yn(e),xn(e)}else Rn(e);else En(e)}function Hn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Bn(e){var t,n,r,a,o,i,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)o=0,i=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Wn(t),y(t)&&(i=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));h(e,n||t)}function Vn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Yn(e)}}function Un(e){var t=new k(xn($n(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function $n(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new k(xn(t)):(d(t)?e._d=t:o(n)?Bn(e):n?Wn(e):qn(e),y(e)||(e._d=null),e))}function qn(e){var t=e._i;c(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Fn(e):o(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Yn(e)):i(t)?Vn(e):u(t)?e._d=new Date(t):r.createFromInputFallback(e)}function Qn(e,t,n,r,a){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=e,s._f=t,s._strict=r,Un(s)}function Kn(e,t,n,r){return Qn(e,t,n,r,!1)}r.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Zn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Gn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Xn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Xn("isBefore",[].slice.call(arguments,0))}function er(){return Xn("isAfter",[].slice.call(arguments,0))}var tr=function(){return Date.now?Date.now():+new Date},nr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rr(e){var t,n,r=!1,a=nr.length;for(t in e)if(s(e,t)&&(-1===qe.call(nr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[nr[n]]){if(r)return!1;parseFloat(e[nr[n]])!==Pe(e[nr[n]])&&(r=!0)}return!0}function ar(){return this._isValid}function or(){return Or(NaN)}function ir(e){var t=re(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=rr(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function sr(e){return e instanceof ir}function lr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cr(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&Pe(e[r])!==Pe(t[r]))&&i++;return i+o}function ur(e,t){z(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+R(~~(e/60),2)+t+R(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Me("Z",we),Me("ZZ",we),Ce(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(we,e)}));var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,a=(t||"").match(e);return null===a?null:0===(r=60*(n=((a[a.length-1]||[])+"").match(dr)||["-",0,0])[1]+Pe(n[2]))?0:"+"===n[0]?r:-r}function hr(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(_(e)||d(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),r.updateOffset(n,!1),n):Kn(e).local()}function pr(e){return-Math.round(e._d.getTimezoneOffset())}function mr(e,t,n){var a,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=fr(we,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(a=pr(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),o!==e&&(!t||this._changeInProgress?Cr(this,Or(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:pr(this)}function gr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yr(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(xe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=$n(t))._a?(e=t._isUTC?p(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _r(){return!!this.isValid()&&!this._isUTC}function jr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,a,o=e,i=null;return sr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(i=Mr.exec(e))?(n="-"===i[1]?-1:1,o={y:0,d:Pe(i[Ye])*n,h:Pe(i[ze])*n,m:Pe(i[We])*n,s:Pe(i[He])*n,ms:Pe(lr(1e3*i[Be]))*n}):(i=Dr.exec(e))?(n="-"===i[1]?-1:1,o={y:Er(i[2],n),M:Er(i[3],n),w:Er(i[4],n),d:Er(i[5],n),h:Er(i[6],n),m:Er(i[7],n),s:Er(i[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(a=Pr(Kn(o.from),Kn(o.to)),(o={}).ms=a.milliseconds,o.M=a.months),r=new ir(o),sr(e)&&s(e,"_locale")&&(r._locale=e._locale),sr(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Er(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Nr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Nr(e,t):((n=Nr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Tr(e,t){return function(n,r){var a;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),Cr(this,Or(n,r),e),this}}function Cr(e,t,n,a){var o=t._milliseconds,i=lr(t._days),s=lr(t._months);e.isValid()&&(a=null==a||a,s&&ft(e,Ge(e,"Month")+s*n),i&&Xe(e,"Date",Ge(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),a&&r.updateOffset(e,i||s))}Or.fn=ir.prototype,Or.invalid=or;var Ir=Tr(1,"add"),Rr=Tr(-1,"subtract");function Fr(e){return"string"===typeof e||e instanceof String}function Lr(e){return _(e)||d(e)||Fr(e)||u(e)||Yr(e)||Ar(e)||null===e||void 0===e}function Ar(e){var t,n,r=i(e)&&!l(e),a=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(t=0;t<c;t+=1)n=o[t],a=a||s(e,n);return r&&a}function Yr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Fr(e)})).length),t&&n}function zr(e){var t,n,r=i(e)&&!l(e),a=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],a=a||s(e,n);return r&&a}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Hr(e,t){1===arguments.length&&(arguments[0]?Lr(arguments[0])?(e=arguments[0],t=void 0):zr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Kn(),a=hr(n,this).startOf("day"),o=r.calendarFormat(this,a)||"sameElse",i=t&&(E(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Kn(n)))}function Br(){return new k(this)}function Vr(e,t){var n=_(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Ur(e,t){var n=_(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function $r(e,t,n,r){var a=_(e)?e:Kn(e),o=_(t)?t:Kn(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function qr(e,t){var n,r=_(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Qr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=hr(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=ne(t)){case"year":o=Gr(this,r)/12;break;case"month":o=Gr(this,r);break;case"quarter":o=Gr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:Ne(o)}function Gr(e,t){if(e.date()<t.date())return-Gr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Jr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?B(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",B(n,"Z")):B(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ea(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ta(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=B(this,e);return this.localeData().postformat(t)}function na(e,t){return this.isValid()&&(_(e)&&e.isValid()||Kn(e).isValid())?Or({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ra(e){return this.from(Kn(),e)}function aa(e,t){return this.isValid()&&(_(e)&&e.isValid()||Kn(e).isValid())?Or({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oa(e){return this.to(Kn(),e)}function ia(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sa=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function la(){return this._locale}var ca=1e3,ua=60*ca,da=60*ua,fa=3506328*da;function ha(e,t){return(e%t+t)%t}function pa(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fa:new Date(e,t,n).valueOf()}function ma(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fa:Date.UTC(e,t,n)}function ga(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ma:pa,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ha(t+(this._isUTC?0:this.utcOffset()*ua),da);break;case"minute":t=this._d.valueOf(),t-=ha(t,ua);break;case"second":t=this._d.valueOf(),t-=ha(t,ca)}return this._d.setTime(t),r.updateOffset(this,!0),this}function ya(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ma:pa,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=da-ha(t+(this._isUTC?0:this.utcOffset()*ua),da)-1;break;case"minute":t=this._d.valueOf(),t+=ua-ha(t,ua)-1;break;case"second":t=this._d.valueOf(),t+=ca-ha(t,ca)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function va(){return this._d.valueOf()-6e4*(this._offset||0)}function ba(){return Math.floor(this.valueOf()/1e3)}function xa(){return new Date(this.valueOf())}function wa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ka(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _a(){return this.isValid()?this.toISOString():null}function ja(){return y(this)}function Sa(){return h({},g(this))}function Ma(){return g(this).overflow}function Da(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oa(e,t){var n,a,o,i=this._eras||vn("en")._eras;for(n=0,a=i.length;n<a;++n)switch("string"===typeof i[n].since&&(o=r(i[n].since).startOf("day"),i[n].since=o.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":o=r(i[n].until).startOf("day").valueOf(),i[n].until=o.valueOf()}return i}function Ea(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,i,s].indexOf(e)>=0)return l[r]}function Na(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Pa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ta(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ca(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ia(){var e,t,n,a,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,a=this.clone().startOf("day").valueOf(),o[e].since<=a&&a<=o[e].until||o[e].until<=a&&a<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Ra(e){return s(this,"_erasNameRegex")||Ha.call(this),e?this._erasNameRegex:this._erasRegex}function Fa(e){return s(this,"_erasAbbrRegex")||Ha.call(this),e?this._erasAbbrRegex:this._erasRegex}function La(e){return s(this,"_erasNarrowRegex")||Ha.call(this),e?this._erasNarrowRegex:this._erasRegex}function Aa(e,t){return t.erasAbbrRegex(e)}function Ya(e,t){return t.erasNameRegex(e)}function za(e,t){return t.erasNarrowRegex(e)}function Wa(e,t){return t._eraYearOrdinalRegex||ve}function Ha(){var e,t,n,r,a,o=[],i=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ee(c[e].name),r=Ee(c[e].abbr),a=Ee(c[e].narrow),i.push(n),o.push(r),s.push(a),l.push(n),l.push(r),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Ba(e,t){z(0,[e,e.length],0,t)}function Va(e){return Za.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ua(e){return Za.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function $a(){return _t(this.year(),1,4)}function qa(){return _t(this.isoWeekYear(),1,4)}function Qa(){var e=this.localeData()._week;return _t(this.year(),e.dow,e.doy)}function Ka(){var e=this.localeData()._week;return _t(this.weekYear(),e.dow,e.doy)}function Za(e,t,n,r,a){var o;return null==e?kt(this,r,a).year:(t>(o=_t(e,r,a))&&(t=o),Ga.call(this,e,t,n,r,a))}function Ga(e,t,n,r,a){var o=wt(e,t,n,r,a),i=bt(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Xa(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Me("N",Aa),Me("NN",Aa),Me("NNN",Aa),Me("NNNN",Ya),Me("NNNNN",za),Ce(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?g(n).era=a:g(n).invalidEra=e})),Me("y",ve),Me("yy",ve),Me("yyy",ve),Me("yyyy",ve),Me("yo",Wa),Ce(["y","yy","yyy","yyyy"],Le),Ce(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Le]=n._locale.eraYearOrdinalParse(e,a):t[Le]=parseInt(e,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ba("gggg","weekYear"),Ba("ggggg","weekYear"),Ba("GGGG","isoWeekYear"),Ba("GGGGG","isoWeekYear"),Me("G",be),Me("g",be),Me("GG",fe,le),Me("gg",fe,le),Me("GGGG",ge,ue),Me("gggg",ge,ue),Me("GGGGG",ye,de),Me("ggggg",ye,de),Ie(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Pe(e)})),Ie(["gg","GG"],(function(e,t,n,a){t[a]=r.parseTwoDigitYear(e)})),z("Q",0,"Qo","quarter"),Me("Q",se),Ce("Q",(function(e,t){t[Ae]=3*(Pe(e)-1)})),z("D",["DD",2],"Do","date"),Me("D",fe,je),Me("DD",fe,le),Me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ce(["D","DD"],Ye),Ce("Do",(function(e,t){t[Ye]=Pe(e.match(fe)[0])}));var Ja=Ze("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),Me("DDD",me),Me("DDDD",ce),Ce(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Pe(e)})),z("m",["mm",2],0,"minute"),Me("m",fe,Se),Me("mm",fe,le),Ce(["m","mm"],We);var to=Ze("Minutes",!1);z("s",["ss",2],0,"second"),Me("s",fe,Se),Me("ss",fe,le),Ce(["s","ss"],He);var no,ro,ao=Ze("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Me("S",me,se),Me("SS",me,le),Me("SSS",me,ce),no="SSSS";no.length<=9;no+="S")Me(no,ve);function oo(e,t){t[Be]=Pe(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")Ce(no,oo);function io(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=Ze("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var lo=k.prototype;function co(e){return Kn(1e3*e)}function uo(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Ir,lo.calendar=Hr,lo.clone=Br,lo.diff=Zr,lo.endOf=ya,lo.format=ta,lo.from=na,lo.fromNow=ra,lo.to=aa,lo.toNow=oa,lo.get=Je,lo.invalidAt=Ma,lo.isAfter=Vr,lo.isBefore=Ur,lo.isBetween=$r,lo.isSame=qr,lo.isSameOrAfter=Qr,lo.isSameOrBefore=Kr,lo.isValid=ja,lo.lang=sa,lo.locale=ia,lo.localeData=la,lo.max=Gn,lo.min=Zn,lo.parsingFlags=Sa,lo.set=et,lo.startOf=ga,lo.subtract=Rr,lo.toArray=wa,lo.toObject=ka,lo.toDate=xa,lo.toISOString=Jr,lo.inspect=ea,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=_a,lo.toString=Xr,lo.unix=ba,lo.valueOf=va,lo.creationData=Da,lo.eraName=Pa,lo.eraNarrow=Ta,lo.eraAbbr=Ca,lo.eraYear=Ia,lo.year=Qe,lo.isLeapYear=Ke,lo.weekYear=Va,lo.isoWeekYear=Ua,lo.quarter=lo.quarters=Xa,lo.month=ht,lo.daysInMonth=pt,lo.week=lo.weeks=Ot,lo.isoWeek=lo.isoWeeks=Et,lo.weeksInYear=Qa,lo.weeksInWeekYear=Ka,lo.isoWeeksInYear=$a,lo.isoWeeksInISOWeekYear=qa,lo.date=Ja,lo.day=lo.days=Vt,lo.weekday=Ut,lo.isoWeekday=$t,lo.dayOfYear=eo,lo.hour=lo.hours=rn,lo.minute=lo.minutes=to,lo.second=lo.seconds=ao,lo.millisecond=lo.milliseconds=ro,lo.utcOffset=mr,lo.utc=yr,lo.local=vr,lo.parseZone=br,lo.hasAlignedHourOffset=xr,lo.isDST=wr,lo.isLocal=_r,lo.isUtcOffset=jr,lo.isUtc=Sr,lo.isUTC=Sr,lo.zoneAbbr=io,lo.zoneName=so,lo.dates=S("dates accessor is deprecated. Use date instead.",Ja),lo.months=S("months accessor is deprecated. Use month instead",ht),lo.years=S("years accessor is deprecated. Use year instead",Qe),lo.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),lo.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kr);var ho=T.prototype;function po(e,t,n,r){var a=vn(),o=p().set(r,t);return a[n](o,e)}function mo(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=po(e,r,n,"month");return a}function go(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,o=vn(),i=e?o._week.dow:0,s=[];if(null!=n)return po(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=po(t,(a+i)%7,r,"day");return s}function yo(e,t){return mo(e,t,"months")}function vo(e,t){return mo(e,t,"monthsShort")}function bo(e,t,n){return go(e,t,n,"weekdays")}function xo(e,t,n){return go(e,t,n,"weekdaysShort")}function wo(e,t,n){return go(e,t,n,"weekdaysMin")}ho.calendar=I,ho.longDateFormat=$,ho.invalidDate=Q,ho.ordinal=G,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=J,ho.pastFuture=ee,ho.set=N,ho.eras=Oa,ho.erasParse=Ea,ho.erasConvertYear=Na,ho.erasAbbrRegex=Fa,ho.erasNameRegex=Ra,ho.erasNarrowRegex=La,ho.months=lt,ho.monthsShort=ct,ho.monthsParse=dt,ho.monthsRegex=gt,ho.monthsShortRegex=mt,ho.week=jt,ho.firstDayOfYear=Dt,ho.firstDayOfWeek=Mt,ho.weekdays=Yt,ho.weekdaysMin=Wt,ho.weekdaysShort=zt,ho.weekdaysParse=Bt,ho.weekdaysRegex=qt,ho.weekdaysShortRegex=Qt,ho.weekdaysMinRegex=Kt,ho.isPM=tn,ho.meridiem=an,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",vn);var ko=Math.abs;function _o(){var e=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),e.milliseconds=ko(e.milliseconds),e.seconds=ko(e.seconds),e.minutes=ko(e.minutes),e.hours=ko(e.hours),e.months=ko(e.months),e.years=ko(e.years),this}function jo(e,t,n,r){var a=Or(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function So(e,t){return jo(this,e,t,1)}function Mo(e,t){return jo(this,e,t,-1)}function Do(e){return e<0?Math.floor(e):Math.ceil(e)}function Oo(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*Do(No(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=Ne(o/1e3),l.seconds=e%60,t=Ne(e/60),l.minutes=t%60,n=Ne(t/60),l.hours=n%24,i+=Ne(n/24),s+=a=Ne(Eo(i)),i-=Do(No(a)),r=Ne(s/12),s%=12,l.days=i,l.months=s,l.years=r,this}function Eo(e){return 4800*e/146097}function No(e){return 146097*e/4800}function Po(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Eo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(No(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function To(e){return function(){return this.as(e)}}var Co=To("ms"),Io=To("s"),Ro=To("m"),Fo=To("h"),Lo=To("d"),Ao=To("w"),Yo=To("M"),zo=To("Q"),Wo=To("y"),Ho=Co;function Bo(){return Or(this)}function Vo(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Uo(e){return function(){return this.isValid()?this._data[e]:NaN}}var $o=Uo("milliseconds"),qo=Uo("seconds"),Qo=Uo("minutes"),Ko=Uo("hours"),Zo=Uo("days"),Go=Uo("months"),Xo=Uo("years");function Jo(){return Ne(this.days()/7)}var ei=Math.round,ti={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ni(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function ri(e,t,n,r){var a=Or(e).abs(),o=ei(a.as("s")),i=ei(a.as("m")),s=ei(a.as("h")),l=ei(a.as("d")),c=ei(a.as("M")),u=ei(a.as("w")),d=ei(a.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,ni.apply(null,f)}function ai(e){return void 0===e?ei:"function"===typeof e&&(ei=e,!0)}function oi(e,t){return void 0!==ti[e]&&(void 0===t?ti[e]:(ti[e]=t,"s"===e&&(ti.ss=t-1),!0))}function ii(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=ti;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(a=e),"object"===typeof t&&(o=Object.assign({},ti,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=ri(this,!a,o,n=this.localeData()),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var si=Math.abs;function li(e){return(e>0)-(e<0)||+e}function ci(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=si(this._milliseconds)/1e3,c=si(this._days),u=si(this._months),d=this.asSeconds();return d?(e=Ne(l/60),t=Ne(e/60),l%=60,e%=60,n=Ne(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=li(this._months)!==li(d)?"-":"",i=li(this._days)!==li(d)?"-":"",s=li(this._milliseconds)!==li(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ui=ir.prototype;return ui.isValid=ar,ui.abs=_o,ui.add=So,ui.subtract=Mo,ui.as=Po,ui.asMilliseconds=Co,ui.asSeconds=Io,ui.asMinutes=Ro,ui.asHours=Fo,ui.asDays=Lo,ui.asWeeks=Ao,ui.asMonths=Yo,ui.asQuarters=zo,ui.asYears=Wo,ui.valueOf=Ho,ui._bubble=Oo,ui.clone=Bo,ui.get=Vo,ui.milliseconds=$o,ui.seconds=qo,ui.minutes=Qo,ui.hours=Ko,ui.days=Zo,ui.weeks=Jo,ui.months=Go,ui.years=Xo,ui.humanize=ii,ui.toISOString=ci,ui.toString=ci,ui.toJSON=ci,ui.locale=ia,ui.localeData=la,ui.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),ui.lang=sa,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Me("x",be),Me("X",ke),Ce("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ce("x",(function(e,t,n){n._d=new Date(Pe(e))})),r.version="2.30.1",a(Kn),r.fn=lo,r.min=Jn,r.max=er,r.now=tr,r.utc=p,r.unix=co,r.months=yo,r.isDate=d,r.locale=mn,r.invalid=v,r.duration=Or,r.isMoment=_,r.weekdays=bo,r.parseZone=uo,r.localeData=vn,r.isDuration=sr,r.monthsShort=vo,r.weekdaysMin=wo,r.defineLocale=gn,r.updateLocale=yn,r.locales=bn,r.weekdaysShort=xo,r.normalizeUnits=ne,r.relativeTimeRounding=ai,r.relativeTimeThreshold=oi,r.calendarFormat=Wr,r.prototype=lo,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()},4575:e=>{"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,a=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,i=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),c=new t(512);function u(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(i,"$2")})))}function d(e){return e.match(n)||[""]}function f(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!f(e)&&(function(e){return e.match(a)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:d,normalizePath:u,setter:function(e){var t=u(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,a=t.length,o=e;r<a-1;){var i=t[r];if("__proto__"===i||"constructor"===i||"prototype"===i)return e;o=o[t[r++]]}o[t[r]]=n}))},getter:function(e,t){var n=u(e);return c.get(e)||c.set(e,(function(e){for(var r=0,a=n.length;r<a;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(f(t)||r.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,a,o,i,s=e.length;for(a=0;a<s;a++)(r=e[a])&&(h(r)&&(r='"'+r+'"'),o=!(i=f(r))&&/^\d+$/.test(r),t.call(n,r,i,o,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},1899:function(e,t,n){!function(e,t,n,r,a,o,i,s,l,c,u,d,f,h,p,m,g,y,v,b,x,w,k,_,j,S,M,D,O,E,N,P,T,C,I,R,F,L,A,Y,z,W,H,B,V,U,$,q,Q,K,Z,G,X,J,ee,te,ne,re,ae,oe,ie,se,le,ce,ue){"use strict";function de(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var fe=de(n),he=de(ue),pe=function(e,t){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},pe(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ge.apply(this,arguments)};function ye(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var ve,be=function(e){var t=e.showTimeSelectOnly,n=void 0!==t&&t,r=e.showTime,a=void 0!==r&&r,o=e.className,i=e.children,s=n?"Choose Time":"Choose Date".concat(a?" and Time":"");return fe.default.createElement("div",{className:o,role:"dialog","aria-label":s,"aria-modal":"true"},i)},xe=function(e){var t=e.children,r=e.onClickOutside,a=e.className,o=e.containerRef,i=e.style,s=function(e,t){var r=n.useRef(null),a=n.useRef(e);a.current=e;var o=n.useCallback((function(e){var n;r.current&&!r.current.contains(e.target)&&(t&&e.target instanceof HTMLElement&&e.target.classList.contains(t)||null===(n=a.current)||void 0===n||n.call(a,e))}),[t]);return n.useEffect((function(){return document.addEventListener("mousedown",o),function(){document.removeEventListener("mousedown",o)}}),[o]),r}(r,e.ignoreClass);return fe.default.createElement("div",{className:a,style:i,ref:function(e){s.current=e,o&&(o.current=e)}},t)};function we(){return"undefined"!=typeof window?window:globalThis}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(ve||(ve={}));var ke=12,_e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function je(e){if(null==e)return new Date;var t="string"==typeof e?V.parseISO(e):le.toDate(e);return Me(t)?t:new Date}function Se(e,t,n,r,a){var o,i=null,s=Ue(n)||Ue(Ve()),l=!0;if(Array.isArray(t))return t.forEach((function(t){var o=B.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(l=Me(o,a)&&e===De(o,t,n)),Me(o,a)&&l&&(i=o)})),i;if(i=B.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)l=Me(i)&&e===De(i,t,n);else if(!Me(i)){var c=(null!==(o=t.match(_e))&&void 0!==o?o:[]).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=x.longFormatters[t];return s?n(e,s.formatLong):t}return e})).join("");e.length>0&&(i=B.parse(e,c.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),Me(i)||(i=new Date(e))}return Me(i)&&l?i:null}function Me(e,t){return Y.isValid(e)&&!T.isBefore(e,null!=t?t:new Date("1/1/1800"))}function De(e,t,n){if("en"===n)return x.format(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?Ue(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Ve()&&Ue(Ve())&&(r=Ue(Ve())),x.format(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Oe(e,t){var n=t.dateFormat,r=t.locale,a=Array.isArray(n)&&n.length>0?n[0]:n;return e&&De(e,a,r)||""}function Ee(e,t){var n=t.hour,r=void 0===n?0:n,a=t.minute,o=void 0===a?0:a,i=t.second,s=void 0===i?0:i;return $.setHours(q.setMinutes(Z.setSeconds(e,s),o),r)}function Ne(e){return X.startOfDay(e)}function Pe(e,t,n){var r=Ue(t||Ve());return te.startOfWeek(e,{locale:r,weekStartsOn:n})}function Te(e){return J.startOfMonth(e)}function Ce(e){return ne.startOfYear(e)}function Ie(e){return ee.startOfQuarter(e)}function Re(){return X.startOfDay(je())}function Fe(e){return g.endOfDay(e)}function Le(e){return y.endOfMonth(e)}function Ae(e,t){return e&&t?A.isSameYear(e,t):!e&&!t}function Ye(e,t){return e&&t?F.isSameMonth(e,t):!e&&!t}function ze(e,t){return e&&t?L.isSameQuarter(e,t):!e&&!t}function We(e,t){return e&&t?R.isSameDay(e,t):!e&&!t}function He(e,t){return e&&t?I.isEqual(e,t):!e&&!t}function Be(e,t,n){var r,a=X.startOfDay(t),o=g.endOfDay(n);try{r=z.isWithinInterval(e,{start:a,end:o})}catch(e){r=!1}return r}function Ve(){return we().__localeId__}function Ue(e){if("string"==typeof e){var t=we();return t.__localeData__?t.__localeData__[e]:void 0}return e}function $e(e,t){return De(Q.setMonth(je(),e),"LLLL",t)}function qe(e,t){return De(Q.setMonth(je(),e),"LLL",t)}function Qe(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.maxDate,o=n.excludeDates,i=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return rt(e,{minDate:r,maxDate:a})||o&&o.some((function(t){return t instanceof Date?We(e,t):We(e,t.date)}))||i&&i.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})}))||s&&!s.some((function(t){return We(e,t)}))||l&&!l.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})}))||c&&!c(je(e))||!1}function Ke(e,t){var n=void 0===t?{}:t,r=n.excludeDates,a=n.excludeDateIntervals;return a&&a.length>0?a.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})})):r&&r.some((function(t){var n;return t instanceof Date?We(e,t):We(e,null!==(n=t.date)&&void 0!==n?n:new Date)}))||!1}function Ze(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.maxDate,o=n.excludeDates,i=n.includeDates,s=n.filterDate;return rt(e,{minDate:r?J.startOfMonth(r):void 0,maxDate:a?y.endOfMonth(a):void 0})||(null==o?void 0:o.some((function(t){return Ye(e,t instanceof Date?t:t.date)})))||i&&!i.some((function(t){return Ye(e,t)}))||s&&!s(je(e))||!1}function Ge(e,t,n,r){var a=N.getYear(e),o=M.getMonth(e),i=N.getYear(t),s=M.getMonth(t),l=N.getYear(r);return a===i&&a===l?o<=n&&n<=s:a<i&&(l===a&&o<=n||l===i&&s>=n||l<i&&l>a)}function Xe(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.maxDate,o=n.excludeDates,i=n.includeDates;return rt(e,{minDate:r,maxDate:a})||o&&o.some((function(t){return Ye(t instanceof Date?t:t.date,e)}))||i&&!i.some((function(t){return Ye(t,e)}))||!1}function Je(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.maxDate,o=n.excludeDates,i=n.includeDates,s=n.filterDate;return rt(e,{minDate:r,maxDate:a})||(null==o?void 0:o.some((function(t){return ze(e,t instanceof Date?t:t.date)})))||i&&!i.some((function(t){return ze(e,t)}))||s&&!s(je(e))||!1}function et(e,t,n){if(!t||!n)return!1;if(!Y.isValid(t)||!Y.isValid(n))return!1;var r=N.getYear(t),a=N.getYear(n);return r<=e&&a>=e}function tt(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.maxDate,o=n.excludeDates,i=n.includeDates,s=n.filterDate,l=new Date(e,0,1);return rt(l,{minDate:r?ne.startOfYear(r):void 0,maxDate:a?b.endOfYear(a):void 0})||(null==o?void 0:o.some((function(e){return Ae(l,e instanceof Date?e:e.date)})))||i&&!i.some((function(e){return Ae(l,e)}))||s&&!s(je(l))||!1}function nt(e,t,n,r){var a=N.getYear(e),o=D.getQuarter(e),i=N.getYear(t),s=D.getQuarter(t),l=N.getYear(r);return a===i&&a===l?o<=n&&n<=s:a<i&&(l===a&&o<=n||l===i&&s>=n||l<i&&l>a)}function rt(e,t){var n,r=void 0===t?{}:t,a=r.minDate,o=r.maxDate;return null!==(n=a&&f.differenceInCalendarDays(e,a)<0||o&&f.differenceInCalendarDays(e,o)>0)&&void 0!==n&&n}function at(e,t){return t.some((function(t){return _.getHours(t)===_.getHours(e)&&S.getMinutes(t)===S.getMinutes(e)&&O.getSeconds(t)===O.getSeconds(e)}))}function ot(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,a=n.includeTimes,o=n.filterTime;return r&&at(e,r)||a&&!at(e,a)||o&&!o(e)||!1}function it(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var a=je();a=$.setHours(a,_.getHours(e)),a=q.setMinutes(a,S.getMinutes(e)),a=Z.setSeconds(a,O.getSeconds(e));var o=je();o=$.setHours(o,_.getHours(n)),o=q.setMinutes(o,S.getMinutes(n)),o=Z.setSeconds(o,O.getSeconds(n));var i,s=je();s=$.setHours(s,_.getHours(r)),s=q.setMinutes(s,S.getMinutes(r)),s=Z.setSeconds(s,O.getSeconds(r));try{i=!z.isWithinInterval(a,{start:o,end:s})}catch(e){i=!1}return i}function st(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.includeDates,o=ae.subMonths(e,1);return r&&h.differenceInCalendarMonths(r,o)>0||a&&a.every((function(e){return h.differenceInCalendarMonths(e,o)>0}))||!1}function lt(e,t){var n=void 0===t?{}:t,r=n.maxDate,a=n.includeDates,o=s.addMonths(e,1);return r&&h.differenceInCalendarMonths(o,r)>0||a&&a.every((function(e){return h.differenceInCalendarMonths(o,e)>0}))||!1}function ct(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.includeDates,o=se.subYears(e,1);return r&&m.differenceInCalendarYears(r,o)>0||a&&a.every((function(e){return m.differenceInCalendarYears(e,o)>0}))||!1}function ut(e,t){var n=void 0===t?{}:t,r=n.maxDate,a=n.includeDates,o=d.addYears(e,1);return r&&m.differenceInCalendarYears(o,r)>0||a&&a.every((function(e){return m.differenceInCalendarYears(o,e)>0}))||!1}function dt(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return f.differenceInCalendarDays(e,t)>=0}));return H.min(r)}return n?H.min(n):t}function ft(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return f.differenceInCalendarDays(e,t)<=0}));return W.max(r)}return n?W.max(n):t}function ht(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r=new Map,a=0,o=e.length;a<o;a++){var i=e[a];if(C.isDate(i)){var s=De(i,"MM.dd.yyyy");(f=r.get(s)||[]).includes(t)||(f.push(t),r.set(s,f))}else if("object"==typeof i){var l=null!==(n=Object.keys(i)[0])&&void 0!==n?n:"",c=i[l];if("string"==typeof l&&Array.isArray(c))for(var u=0,d=c.length;u<d;u++){var f,h=c[u];h&&(s=De(h,"MM.dd.yyyy"),(f=r.get(s)||[]).includes(l)||(f.push(l),r.set(s,f)))}}}return r}function pt(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach((function(e){var r=e.date,a=e.holidayName;if(C.isDate(r)){var o=De(r,"MM.dd.yyyy"),i=n.get(o)||{className:"",holidayNames:[]};if(!("className"in i)||i.className!==t||(s=i.holidayNames,l=[a],s.length!==l.length||!s.every((function(e,t){return e===l[t]})))){var s,l;i.className=t;var c=i.holidayNames;i.holidayNames=c?ye(ye([],c,!0),[a],!1):[a],n.set(o,i)}}})),n}function mt(e,t,n,r,a){for(var s=a.length,l=[],u=0;u<s;u++){var d=e,f=a[u];f&&(d=o.addHours(d,_.getHours(f)),d=i.addMinutes(d,S.getMinutes(f)),d=c.addSeconds(d,O.getSeconds(f)));var h=i.addMinutes(e,(n+1)*r);P.isAfter(d,t)&&T.isBefore(d,h)&&null!=f&&l.push(f)}return l}function gt(e){return e<10?"0".concat(e):"".concat(e)}function yt(e,t){void 0===t&&(t=ke);var n=Math.ceil(N.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function vt(e){var t=e.getSeconds(),n=e.getMilliseconds();return le.toDate(e.getTime()-1e3*t-n)}function bt(e){if(!C.isDate(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e,t){if(!C.isDate(e)||!C.isDate(t))throw new Error("Invalid date received");var n=bt(e),r=bt(t);return T.isBefore(n,r)}function wt(e){return e.key===ve.Space}var kt,_t=function(e){function t(t){var r=e.call(this,t)||this;return r.inputRef=fe.default.createRef(),r.onTimeChange=function(e){var t,n;r.setState({time:e});var a=r.props.date,o=a instanceof Date&&!isNaN(+a)?a:new Date;if(null==e?void 0:e.includes(":")){var i=e.split(":"),s=i[0],l=i[1];o.setHours(Number(s)),o.setMinutes(Number(l))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,o)},r.renderTimeInput=function(){var e=r.state.time,t=r.props,a=t.date,o=t.timeString,i=t.customTimeInput;return i?n.cloneElement(i,{date:a,value:e,onChange:r.onTimeChange}):fe.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var e;null===(e=r.inputRef.current)||void 0===e||e.focus()},required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})},r.state={time:r.props.timeString},r}return me(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return fe.default.createElement("div",{className:"react-datepicker__input-time-container"},fe.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),fe.default.createElement("div",{className:"react-datepicker-time__input-container"},fe.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(n.Component),jt=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.dayEl=n.createRef(),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleOnKeyDown=function(e){var t,n;e.key===ve.Space&&(e.preventDefault(),e.key=ve.Enter),null===(n=(t=r.props).handleOnKeyDown)||void 0===n||n.call(t,e)},r.isSameDay=function(e){return We(r.props.day,e)},r.isKeyboardSelected=function(){var e;if(r.props.disabledKeyboardNavigation)return!1;var t=r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected),n=r.props.preSelection&&r.isDisabled(r.props.preSelection);return!t&&r.isSameDayOrWeek(r.props.preSelection)&&!n},r.isDisabled=function(e){return void 0===e&&(e=r.props.day),Qe(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(){return Ke(r.props.day,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.isStartOfWeek=function(){return We(r.props.day,Pe(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameWeek=function(e){return r.props.showWeekPicker&&We(e,Pe(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameDayOrWeek=function(e){return r.isSameDay(e)||r.isSameWeek(e)},r.getHighLightedClass=function(){var e=r.props,t=e.day,n=e.highlightDates;if(!n)return!1;var a=De(t,"MM.dd.yyyy");return n.get(a)},r.getHolidaysClass=function(){var e,t=r.props,n=t.day,a=t.holidays;if(!a)return[void 0];var o=De(n,"MM.dd.yyyy");return a.has(o)?[null===(e=a.get(o))||void 0===e?void 0:e.className]:[void 0]},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,a=e.endDate;return!(!n||!a)&&Be(t,n,a)},r.isInSelectingRange=function(){var e,t=r.props,n=t.day,a=t.selectsStart,o=t.selectsEnd,i=t.selectsRange,s=t.selectsDisabledDaysInRange,l=t.startDate,c=t.endDate,u=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return!(!(a||o||i)||!u||!s&&r.isDisabled())&&(a&&c&&(T.isBefore(u,c)||He(u,c))?Be(n,u,c):(o&&l&&(P.isAfter(u,l)||He(u,l))||!(!i||!l||c||!P.isAfter(u,l)&&!He(u,l)))&&Be(n,l,u))},r.isSelectingRangeStart=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,a=t.startDate,o=t.selectsStart,i=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return We(n,o?i:a)},r.isSelectingRangeEnd=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,a=t.endDate,o=t.selectsEnd,i=t.selectsRange,s=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return We(n,o||i?s:a)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,a=e.endDate;return!(!n||!a)&&We(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,a=e.endDate;return!(!n||!a)&&We(a,t)},r.isWeekend=function(){var e=k.getDay(r.props.day);return 0===e||6===e},r.isAfterMonth=function(){return void 0!==r.props.month&&(r.props.month+1)%12===M.getMonth(r.props.day)},r.isBeforeMonth=function(){return void 0!==r.props.month&&(M.getMonth(r.props.day)+1)%12===r.props.month},r.isCurrentDay=function(){return r.isSameDay(je())},r.isSelected=function(){var e;return r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected)},r.getClassNames=function(e){var n,a=r.props.dayClassName?r.props.dayClassName(e):void 0;return t.clsx("react-datepicker__day",a,"react-datepicker__day--"+De(r.props.day,"ddd",n),{"react-datepicker__day--disabled":r.isDisabled(),"react-datepicker__day--excluded":r.isExcluded(),"react-datepicker__day--selected":r.isSelected(),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isCurrentDay(),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isAfterMonth()||r.isBeforeMonth()},r.getHighLightedClass(),r.getHolidaysClass())},r.getAriaLabel=function(){var e=r.props,t=e.day,n=e.ariaLabelPrefixWhenEnabled,a=void 0===n?"Choose":n,o=e.ariaLabelPrefixWhenDisabled,i=void 0===o?"Not available":o,s=r.isDisabled()||r.isExcluded()?i:a;return"".concat(s," ").concat(De(t,"PPPP",r.props.locale))},r.getTitle=function(){var e=r.props,t=e.day,n=e.holidays,a=void 0===n?new Map:n,o=e.excludeDates,i=De(t,"MM.dd.yyyy"),s=[];return a.has(i)&&s.push.apply(s,a.get(i).holidayNames),r.isExcluded()&&s.push(null==o?void 0:o.filter((function(e){return e instanceof Date?We(e,t):We(null==e?void 0:e.date,t)})).map((function(e){if(!(e instanceof Date))return null==e?void 0:e.message}))),s.join(", ")},r.getTabIndex=function(){var e=r.props.selected,t=r.props.preSelection;return(!r.props.showWeekPicker||!r.props.showWeekNumber&&r.isStartOfWeek())&&(r.isKeyboardSelected()||r.isSameDay(e)&&We(t,e))?0:-1},r.handleFocusDay=function(){var e;r.shouldFocusDay()&&(null===(e=r.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},r.renderDayContents=function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(w.getDate(r.props.day),r.props.day):w.getDate(r.props.day)},r.render=function(){return fe.default.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.props.usePointerEvent?void 0:r.handleMouseEnter,onPointerEnter:r.props.usePointerEvent?r.handleMouseEnter:void 0,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option",title:r.getTitle(),"aria-disabled":r.isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()||r.isInRange()},r.renderDayContents(),""!==r.getTitle()&&fe.default.createElement("span",{className:"overlay"},r.getTitle()))},r}return me(r,e),r.prototype.componentDidMount=function(){this.handleFocusDay()},r.prototype.componentDidUpdate=function(){this.handleFocusDay()},r.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},r.prototype.isDayActiveElement=function(){var e,t,n;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(n=document.activeElement)||void 0===n?void 0:n.classList.contains("react-datepicker__day"))},r.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},r}(n.Component),St=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=n.createRef(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===ve.Space&&(e.preventDefault(),e.key=ve.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!We(t.props.date,t.props.selected)&&We(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||We(t.props.date,t.props.selected)&&We(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;0===t.getTabIndex()&&!(null==e?void 0:e.isInputFocused)&&We(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},r.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},r.prototype.render=function(){var e=this.props,n=e.weekNumber,a=e.ariaLabelPrefix,o=void 0===a?r.defaultProps.ariaLabelPrefix:a,i=e.onClick,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!i,"react-datepicker__week-number--selected":!!i&&We(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return fe.default.createElement("div",{ref:this.weekNumberEl,className:t.clsx(s),"aria-label":"".concat(o," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},n)},r}(n.Component),Mt=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDisabled=function(e){return Qe(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.handleDayClick=function(e,n){t.props.onDayClick&&t.props.onDayClick(e,n)},t.handleDayMouseEnter=function(e){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(e)},t.handleWeekClick=function(e,r,a){for(var o,i,s,l=new Date(e),c=0;c<7;c++){var u=new Date(e);if(u.setDate(u.getDate()+c),!t.isDisabled(u)){l=u;break}}"function"==typeof t.props.onWeekSelect&&t.props.onWeekSelect(l,r,a),t.props.showWeekPicker&&t.handleDayClick(l,a),(null!==(o=t.props.shouldCloseOnSelect)&&void 0!==o?o:n.defaultProps.shouldCloseOnSelect)&&(null===(s=(i=t.props).setOpen)||void 0===s||s.call(i,!1))},t.formatWeekNumber=function(e){return t.props.formatWeekNumber?t.props.formatWeekNumber(e):function(e){return j.getISOWeek(e)}(e)},t.renderDays=function(){var e=t.startOfWeek(),r=[],o=t.formatWeekNumber(e);if(t.props.showWeekNumber){var i=t.props.onWeekSelect||t.props.showWeekPicker?t.handleWeekClick.bind(t,e,o):void 0;r.push(fe.default.createElement(St,ge({key:"W"},n.defaultProps,t.props,{weekNumber:o,date:e,onClick:i})))}return r.concat([0,1,2,3,4,5,6].map((function(r){var o=a.addDays(e,r);return fe.default.createElement(jt,ge({},n.defaultProps,t.props,{ariaLabelPrefixWhenEnabled:t.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:t.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,onClick:t.handleDayClick.bind(t,o),onMouseEnter:t.handleDayMouseEnter.bind(t,o)}))})))},t.startOfWeek=function(){return Pe(t.props.day,t.props.locale,t.props.calendarStartDay)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!We(t.startOfWeek(),t.props.selected)&&We(t.startOfWeek(),t.props.preSelection)},t}return me(n,e),Object.defineProperty(n,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),n.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":We(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return fe.default.createElement("div",{className:t.clsx(e)},this.renderDays())},n}(n.Component),Dt="two_columns",Ot="three_columns",Et="four_columns",Nt=((kt={})[Dt]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},kt[Ot]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},kt[Et]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},kt);function Pt(e,t){return e?Et:t?Dt:Ot}var Tt=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.MONTH_REFS=ye([],Array(12),!0).map((function(){return n.createRef()})),r.QUARTER_REFS=ye([],Array(4),!0).map((function(){return n.createRef()})),r.isDisabled=function(e){return Qe(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return Ke(e,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.handleDayClick=function(e,t){var n,a;null===(a=(n=r.props).onDayClick)||void 0===a||a.call(n,e,t,r.props.orderInDisplay)},r.handleDayMouseEnter=function(e){var t,n;null===(n=(t=r.props).onDayMouseEnter)||void 0===n||n.call(t,e)},r.handleMouseLeave=function(){var e,t;null===(t=(e=r.props).onMouseLeave)||void 0===t||t.call(e)},r.isRangeStartMonth=function(e){var t=r.props,n=t.day,a=t.startDate,o=t.endDate;return!(!a||!o)&&Ye(Q.setMonth(n,e),a)},r.isRangeStartQuarter=function(e){var t=r.props,n=t.day,a=t.startDate,o=t.endDate;return!(!a||!o)&&ze(K.setQuarter(n,e),a)},r.isRangeEndMonth=function(e){var t=r.props,n=t.day,a=t.startDate,o=t.endDate;return!(!a||!o)&&Ye(Q.setMonth(n,e),o)},r.isRangeEndQuarter=function(e){var t=r.props,n=t.day,a=t.startDate,o=t.endDate;return!(!a||!o)&&ze(K.setQuarter(n,e),o)},r.isInSelectingRangeMonth=function(e){var t,n=r.props,a=n.day,o=n.selectsStart,i=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||i||s)||!u)&&(o&&c?Ge(u,c,e,a):(i&&l||!(!s||!l||c))&&Ge(l,u,e,a))},r.isSelectingMonthRangeStart=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,a=n.day,o=n.startDate,i=n.selectsStart,s=Q.setMonth(a,e),l=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return Ye(s,i?l:o)},r.isSelectingMonthRangeEnd=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,a=n.day,o=n.endDate,i=n.selectsEnd,s=n.selectsRange,l=Q.setMonth(a,e),c=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return Ye(l,i||s?c:o)},r.isInSelectingRangeQuarter=function(e){var t,n=r.props,a=n.day,o=n.selectsStart,i=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||i||s)||!u)&&(o&&c?nt(u,c,e,a):(i&&l||!(!s||!l||c))&&nt(l,u,e,a))},r.isWeekInMonth=function(e){var t=r.props.day,n=a.addDays(e,6);return Ye(e,t)||Ye(n,t)},r.isCurrentMonth=function(e,t){return N.getYear(e)===N.getYear(je())&&t===M.getMonth(je())},r.isCurrentQuarter=function(e,t){return N.getYear(e)===N.getYear(je())&&t===D.getQuarter(je())},r.isSelectedMonth=function(e,t,n){return M.getMonth(n)===t&&N.getYear(e)===N.getYear(n)},r.isSelectMonthInList=function(e,t,n){return n.some((function(n){return r.isSelectedMonth(e,t,n)}))},r.isSelectedQuarter=function(e,t,n){return D.getQuarter(e)===t&&N.getYear(e)===N.getYear(n)},r.renderWeeks=function(){for(var e=[],t=r.props.fixedHeight,n=0,a=!1,o=Pe(Te(r.props.day),r.props.locale,r.props.calendarStartDay),i=r.props.selected?function(e){return r.props.showWeekPicker?Pe(e,r.props.locale,r.props.calendarStartDay):r.props.selected}(r.props.selected):void 0,s=r.props.preSelection?function(e){return r.props.showWeekPicker?Pe(e,r.props.locale,r.props.calendarStartDay):r.props.preSelection}(r.props.preSelection):void 0;e.push(fe.default.createElement(Mt,ge({},r.props,{ariaLabelPrefix:r.props.weekAriaLabelPrefix,key:n,day:o,month:M.getMonth(r.props.day),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,selected:i,preSelection:s,showWeekNumber:r.props.showWeekNumbers}))),!a;){n++,o=u.addWeeks(o,1);var l=t&&n>=6,c=!t&&!r.isWeekInMonth(o);if(l||c){if(!r.props.peekNextMonth)break;a=!0}}return e},r.onMonthClick=function(e,t){var n=r.isMonthDisabledForLabelDate(t),a=n.isDisabled,o=n.labelDate;a||r.handleDayClick(Te(o),e)},r.onMonthMouseEnter=function(e){var t=r.isMonthDisabledForLabelDate(e),n=t.isDisabled,a=t.labelDate;n||r.handleDayMouseEnter(Te(a))},r.handleMonthNavigation=function(e,t){var n,a,o,i;null===(a=(n=r.props).setPreSelection)||void 0===a||a.call(n,t),null===(i=null===(o=r.MONTH_REFS[e])||void 0===o?void 0:o.current)||void 0===i||i.focus()},r.handleKeyboardNavigation=function(e,t,n){var a,o=r.props,i=o.selected,l=o.preSelection,c=o.setPreSelection,u=o.minDate,d=o.maxDate,f=o.showFourColumnMonthYearPicker,h=o.showTwoColumnMonthYearPicker;if(l){var p=Pt(f,h),m=r.getVerticalOffset(p),g=null===(a=Nt[p])||void 0===a?void 0:a.grid,y=function(e,t,n){var r,a,o=t,i=n;switch(e){case ve.ArrowRight:o=s.addMonths(t,1),i=11===n?0:n+1;break;case ve.ArrowLeft:o=ae.subMonths(t,1),i=0===n?11:n-1;break;case ve.ArrowUp:o=ae.subMonths(t,m),i=(null===(r=null==g?void 0:g[0])||void 0===r?void 0:r.includes(n))?n+12-m:n-m;break;case ve.ArrowDown:o=s.addMonths(t,m),i=(null===(a=null==g?void 0:g[g.length-1])||void 0===a?void 0:a.includes(n))?n-12+m:n+m}return{newCalculatedDate:o,newCalculatedMonth:i}};if(t!==ve.Enter){var v=function(e,t,n){for(var a=e,o=!1,i=0,s=y(a,t,n),l=s.newCalculatedDate,c=s.newCalculatedMonth;!o;){if(i>=40){l=t,c=n;break}var f;u&&l<u&&(a=ve.ArrowRight,l=(f=y(a,l,c)).newCalculatedDate,c=f.newCalculatedMonth),d&&l>d&&(a=ve.ArrowLeft,l=(f=y(a,l,c)).newCalculatedDate,c=f.newCalculatedMonth),Xe(l,r.props)?(l=(f=y(a,l,c)).newCalculatedDate,c=f.newCalculatedMonth):o=!0,i++}return{newCalculatedDate:l,newCalculatedMonth:c}}(t,l,n),b=v.newCalculatedDate,x=v.newCalculatedMonth;switch(t){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:r.handleMonthNavigation(x,b)}}else r.isMonthDisabled(n)||(r.onMonthClick(e,n),null==c||c(i))}},r.getVerticalOffset=function(e){var t,n;return null!==(n=null===(t=Nt[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==n?n:0},r.onMonthKeyDown=function(e,t){var n=r.props,a=n.disabledKeyboardNavigation,o=n.handleOnMonthKeyDown,i=e.key;i!==ve.Tab&&e.preventDefault(),a||r.handleKeyboardNavigation(e,i,t),o&&o(e)},r.onQuarterClick=function(e,t){var n=K.setQuarter(r.props.day,t);Je(n,r.props)||r.handleDayClick(Ie(n),e)},r.onQuarterMouseEnter=function(e){var t=K.setQuarter(r.props.day,e);Je(t,r.props)||r.handleDayMouseEnter(Ie(t))},r.handleQuarterNavigation=function(e,t){var n,a,o,i;r.isDisabled(t)||r.isExcluded(t)||(null===(a=(n=r.props).setPreSelection)||void 0===a||a.call(n,t),null===(i=null===(o=r.QUARTER_REFS[e-1])||void 0===o?void 0:o.current)||void 0===i||i.focus())},r.onQuarterKeyDown=function(e,t){var n,a,o=e.key;if(!r.props.disabledKeyboardNavigation)switch(o){case ve.Enter:r.onQuarterClick(e,t),null===(a=(n=r.props).setPreSelection)||void 0===a||a.call(n,r.props.selected);break;case ve.ArrowRight:if(!r.props.preSelection)break;r.handleQuarterNavigation(4===t?1:t+1,l.addQuarters(r.props.preSelection,1));break;case ve.ArrowLeft:if(!r.props.preSelection)break;r.handleQuarterNavigation(1===t?4:t-1,oe.subQuarters(r.props.preSelection,1))}},r.isMonthDisabledForLabelDate=function(e){var t,n=r.props,a=n.day,o=n.minDate,i=n.maxDate,s=n.excludeDates,l=n.includeDates,c=Q.setMonth(a,e);return{isDisabled:null!==(t=(o||i||s||l)&&Ze(c,r.props))&&void 0!==t&&t,labelDate:c}},r.isMonthDisabled=function(e){return r.isMonthDisabledForLabelDate(e).isDisabled},r.getMonthClassNames=function(e){var n=r.props,a=n.day,o=n.startDate,i=n.endDate,s=n.preSelection,l=n.monthClassName,c=l?l(Q.setMonth(a,e)):void 0,u=r.getSelection();return t.clsx("react-datepicker__month-text","react-datepicker__month-".concat(e),c,{"react-datepicker__month-text--disabled":r.isMonthDisabled(e),"react-datepicker__month-text--selected":u?r.isSelectMonthInList(a,e,u):void 0,"react-datepicker__month-text--keyboard-selected":!r.props.disabledKeyboardNavigation&&s&&r.isSelectedMonth(a,e,s)&&!r.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":r.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":o&&i?Ge(o,i,e,a):void 0,"react-datepicker__month-text--range-start":r.isRangeStartMonth(e),"react-datepicker__month-text--range-end":r.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":r.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":r.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":r.isCurrentMonth(a,e)})},r.getTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=M.getMonth(r.props.preSelection),n=r.isMonthDisabledForLabelDate(t).isDisabled;return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getQuarterTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=D.getQuarter(r.props.preSelection),n=Je(r.props.day,r.props);return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getAriaLabel=function(e){var t=r.props,n=t.chooseDayAriaLabelPrefix,a=void 0===n?"Choose":n,o=t.disabledDayAriaLabelPrefix,i=void 0===o?"Not available":o,s=t.day,l=t.locale,c=Q.setMonth(s,e),u=r.isDisabled(c)||r.isExcluded(c)?i:a;return"".concat(u," ").concat(De(c,"MMMM yyyy",l))},r.getQuarterClassNames=function(e){var n=r.props,a=n.day,o=n.startDate,i=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate,u=n.excludeDates,d=n.includeDates,f=n.filterDate,h=n.preSelection,p=n.disabledKeyboardNavigation,m=(l||c||u||d||f)&&Je(K.setQuarter(a,e),r.props);return t.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":s?r.isSelectedQuarter(a,e,s):void 0,"react-datepicker__quarter-text--keyboard-selected":!p&&h&&r.isSelectedQuarter(a,e,h)&&!m,"react-datepicker__quarter-text--in-selecting-range":r.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":o&&i?nt(o,i,e,a):void 0,"react-datepicker__quarter-text--range-start":r.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":r.isRangeEndQuarter(e)})},r.getMonthContent=function(e){var t=r.props,n=t.showFullMonthYearPicker,a=t.renderMonthContent,o=t.locale,i=t.day,s=qe(e,o),l=$e(e,o);return a?a(e,s,l,i):n?l:s},r.getQuarterContent=function(e){var t,n=r.props,a=n.renderQuarterContent,o=function(e,t){return De(K.setQuarter(je(),e),"QQQ",t)}(e,n.locale);return null!==(t=null==a?void 0:a(e,o))&&void 0!==t?t:o},r.renderMonths=function(){var e,t=r.props,n=t.showTwoColumnMonthYearPicker,a=t.showFourColumnMonthYearPicker,o=t.day,i=t.selected,s=null===(e=Nt[Pt(a,n)])||void 0===e?void 0:e.grid;return null==s?void 0:s.map((function(e,t){return fe.default.createElement("div",{className:"react-datepicker__month-wrapper",key:t},e.map((function(e,t){return fe.default.createElement("div",{ref:r.MONTH_REFS[e],key:t,onClick:function(t){r.onMonthClick(t,e)},onKeyDown:function(t){wt(t)&&(t.preventDefault(),t.key=ve.Enter),r.onMonthKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onMonthMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onMonthMouseEnter(e)}:void 0,tabIndex:Number(r.getTabIndex(e)),className:r.getMonthClassNames(e),"aria-disabled":r.isMonthDisabled(e),role:"option","aria-label":r.getAriaLabel(e),"aria-current":r.isCurrentMonth(o,e)?"date":void 0,"aria-selected":i?r.isSelectedMonth(o,e,i):void 0},r.getMonthContent(e))})))}))},r.renderQuarters=function(){var e=r.props,t=e.day,n=e.selected;return fe.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(e,a){return fe.default.createElement("div",{key:a,ref:r.QUARTER_REFS[a],role:"option",onClick:function(t){r.onQuarterClick(t,e)},onKeyDown:function(t){r.onQuarterKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onQuarterMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onQuarterMouseEnter(e)}:void 0,className:r.getQuarterClassNames(e),"aria-selected":n?r.isSelectedQuarter(t,e,n):void 0,tabIndex:Number(r.getQuarterTabIndex(e)),"aria-current":r.isCurrentQuarter(t,e)?"date":void 0},r.getQuarterContent(e))})))},r.getClassNames=function(){var e=r.props,n=e.selectingDate,a=e.selectsStart,o=e.selectsEnd,i=e.showMonthYearPicker,s=e.showQuarterYearPicker,l=e.showWeekPicker;return t.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(a||o)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":l})},r}return me(r,e),r.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},r.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,a=e.ariaLabelPrefix,o=void 0===a?"Month ":a,i=o?o.trim()+" ":"";return fe.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(i).concat(De(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())},r}(n.Component),Ct=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map((function(e,n){return fe.default.createElement("div",{className:t.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,n),"aria-selected":t.isSelectedMonth(n)?"true":void 0},t.isSelectedMonth(n)?fe.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",e)}))},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return me(t,e),t.prototype.render=function(){return fe.default.createElement(xe,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map((function(e,t){return fe.default.createElement("option",{key:e,value:t},e)}))},t.renderSelectMode=function(e){return fe.default.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return fe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},fe.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),fe.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[t.props.month]))},t.renderDropdown=function(e){return fe.default.createElement(Ct,ge({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return me(t,e),t.prototype.render=function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return qe(e,t.props.locale)}:function(e){return $e(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return fe.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component);function Rt(e,t){for(var n=[],r=Te(e),a=Te(t);!P.isAfter(r,a);)n.push(je(r)),r=s.addMonths(r,1);return n}var Ft=function(e){function n(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map((function(e){var t=E.getTime(e),r=Ae(n.props.date,e)&&Ye(n.props.date,e);return fe.default.createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?"true":void 0},r?fe.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",De(e,n.props.dateFormat,n.props.locale))}))},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:Rt(n.props.minDate,n.props.maxDate)},n}return me(n,e),n.prototype.render=function(){var e=t.clsx({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return fe.default.createElement(xe,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},n}(n.Component),Lt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=Te(t.props.minDate),n=Te(t.props.maxDate),r=[];!P.isAfter(e,n);){var a=E.getTime(e);r.push(fe.default.createElement("option",{key:a,value:a},De(e,t.props.dateFormat,t.props.locale))),e=s.addMonths(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return fe.default.createElement("select",{value:E.getTime(Te(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=De(t.props.date,t.props.dateFormat,t.props.locale);return fe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},fe.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),fe.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))},t.renderDropdown=function(){return fe.default.createElement(Ft,ge({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=je(e);Ae(t.props.date,n)&&Ye(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return me(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return fe.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),At=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame((function(){var e,r,a;n.list&&(n.list.scrollTop=null!==(a=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(null!==(r=null===(e=n.header)||void 0===e?void 0:e.clientHeight)&&void 0!==r?r:0):n.list.clientHeight,n.centerLi))&&void 0!==a?a:0)}))},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&it(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ot(e,n.props)||null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e)},n.isSelectedTime=function(e){return n.props.selected&&(t=e,vt(n.props.selected).getTime()===vt(t).getTime());var t},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&it(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ot(e,n.props)},n.liClasses=function(e){var r,a=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&a.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(e)&&a.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(3600*_.getHours(e)+60*S.getMinutes(e)+O.getSeconds(e))%(60*(null!==(r=n.props.intervals)&&void 0!==r?r:t.defaultProps.intervals))!=0&&a.push("react-datepicker__time-list-item--injected"),a.join(" ")},n.handleOnKeyDown=function(e,t){var r,a;e.key===ve.Space&&(e.preventDefault(),e.key=ve.Enter),(e.key===ve.ArrowUp||e.key===ve.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===ve.ArrowDown||e.key===ve.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===ve.Enter&&n.handleClick(t),null===(a=(r=n.props).handleOnKeyDown)||void 0===a||a.call(r,e)},n.renderTimes=function(){for(var e,r=[],a="string"==typeof n.props.format?n.props.format:"p",o=null!==(e=n.props.intervals)&&void 0!==e?e:t.defaultProps.intervals,s=n.props.selected||n.props.openToDate||je(),l=Ne(s),c=n.props.injectTimes&&n.props.injectTimes.sort((function(e,t){return e.getTime()-t.getTime()})),u=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(s),d=u/o,f=0;f<d;f++){var h=i.addMinutes(l,f*o);if(r.push(h),c){var p=mt(l,h,f,o,c);r=r.concat(p)}}var m=r.reduce((function(e,t){return t.getTime()<=s.getTime()?t:e}),r[0]);return r.map((function(e){return fe.default.createElement("li",{key:e.valueOf(),onClick:n.handleClick.bind(n,e),className:n.liClasses(e),ref:function(t){e===m&&(n.centerLi=t)},onKeyDown:function(t){n.handleOnKeyDown(t,e)},tabIndex:e===m?0:-1,role:"option","aria-selected":n.isSelectedTime(e)?"true":void 0,"aria-disabled":n.isDisabledTime(e)?"true":void 0},De(e,a,n.props.locale))}))},n.renderTimeCaption=function(){return!1===n.props.showTimeCaption?fe.default.createElement(fe.default.Fragment,null):fe.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){n.header=e}},fe.default.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return me(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e,n=this,r=this.state.height;return fe.default.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),fe.default.createElement("div",{className:"react-datepicker__time"},fe.default.createElement("div",{className:"react-datepicker__time-box"},fe.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){n.list=e},style:r?{height:r}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(n.Component),Yt=function(e){function r(r){var a=e.call(this,r)||this;return a.YEAR_REFS=ye([],Array(a.props.yearItemNumber),!0).map((function(){return n.createRef()})),a.isDisabled=function(e){return Qe(e,{minDate:a.props.minDate,maxDate:a.props.maxDate,excludeDates:a.props.excludeDates,includeDates:a.props.includeDates,filterDate:a.props.filterDate})},a.isExcluded=function(e){return Ke(e,{excludeDates:a.props.excludeDates})},a.selectingDate=function(){var e;return null!==(e=a.props.selectingDate)&&void 0!==e?e:a.props.preSelection},a.updateFocusOnPaginate=function(e){window.requestAnimationFrame((function(){var t,n;null===(n=null===(t=a.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()}))},a.handleYearClick=function(e,t){a.props.onDayClick&&a.props.onDayClick(e,t)},a.handleYearNavigation=function(e,t){var n,r,o,i,s=a.props,l=s.date,c=s.yearItemNumber;if(void 0!==l&&void 0!==c){var u=yt(l,c).startPeriod;a.isDisabled(t)||a.isExcluded(t)||(null===(r=(n=a.props).setPreSelection)||void 0===r||r.call(n,t),e-u<0?a.updateFocusOnPaginate(c-(u-e)):e-u>=c?a.updateFocusOnPaginate(Math.abs(c-(e-u))):null===(i=null===(o=a.YEAR_REFS[e-u])||void 0===o?void 0:o.current)||void 0===i||i.focus())}},a.isSameDay=function(e,t){return We(e,t)},a.isCurrentYear=function(e){return e===N.getYear(je())},a.isRangeStart=function(e){return a.props.startDate&&a.props.endDate&&Ae(G.setYear(je(),e),a.props.startDate)},a.isRangeEnd=function(e){return a.props.startDate&&a.props.endDate&&Ae(G.setYear(je(),e),a.props.endDate)},a.isInRange=function(e){return et(e,a.props.startDate,a.props.endDate)},a.isInSelectingRange=function(e){var t=a.props,n=t.selectsStart,r=t.selectsEnd,o=t.selectsRange,i=t.startDate,s=t.endDate;return!(!(n||r||o)||!a.selectingDate())&&(n&&s?et(e,a.selectingDate(),s):(r&&i||!(!o||!i||s))&&et(e,i,a.selectingDate()))},a.isSelectingRangeStart=function(e){var t;if(!a.isInSelectingRange(e))return!1;var n=a.props,r=n.startDate,o=n.selectsStart;return Ae(G.setYear(je(),e),o?null!==(t=a.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},a.isSelectingRangeEnd=function(e){var t;if(!a.isInSelectingRange(e))return!1;var n=a.props,r=n.endDate,o=n.selectsEnd,i=n.selectsRange;return Ae(G.setYear(je(),e),o||i?null!==(t=a.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},a.isKeyboardSelected=function(e){if(void 0!==a.props.date&&null!=a.props.selected&&null!=a.props.preSelection){var t=a.props,n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,s=t.filterDate,l=Ce(G.setYear(a.props.date,e)),c=(n||r||o||i||s)&&tt(e,a.props);return!a.props.disabledKeyboardNavigation&&!a.props.inline&&!We(l,Ce(a.props.selected))&&We(l,Ce(a.props.preSelection))&&!c}},a.onYearClick=function(e,t){var n=a.props.date;void 0!==n&&a.handleYearClick(Ce(G.setYear(n,t)),e)},a.onYearKeyDown=function(e,t){var n,r,o=e.key,i=a.props,s=i.date,l=i.yearItemNumber,c=i.handleOnKeyDown;if(o!==ve.Tab&&e.preventDefault(),!a.props.disabledKeyboardNavigation)switch(o){case ve.Enter:if(null==a.props.selected)break;a.onYearClick(e,t),null===(r=(n=a.props).setPreSelection)||void 0===r||r.call(n,a.props.selected);break;case ve.ArrowRight:if(null==a.props.preSelection)break;a.handleYearNavigation(t+1,d.addYears(a.props.preSelection,1));break;case ve.ArrowLeft:if(null==a.props.preSelection)break;a.handleYearNavigation(t-1,se.subYears(a.props.preSelection,1));break;case ve.ArrowUp:if(void 0===s||void 0===l||null==a.props.preSelection)break;var u=yt(s,l).startPeriod;if((p=t-(h=3))<u){var f=l%h;t>=u&&t<u+f?h=f:h+=f,p=t-h}a.handleYearNavigation(p,se.subYears(a.props.preSelection,h));break;case ve.ArrowDown:if(void 0===s||void 0===l||null==a.props.preSelection)break;var h,p,m=yt(s,l).endPeriod;(p=t+(h=3))>m&&(f=l%h,t<=m&&t>m-f?h=f:h+=f,p=t+h),a.handleYearNavigation(p,d.addYears(a.props.preSelection,h))}c&&c(e)},a.getYearClassNames=function(e){var n=a.props,r=n.date,o=n.minDate,i=n.maxDate,s=n.selected,l=n.excludeDates,c=n.includeDates,u=n.filterDate,d=n.yearClassName;return t.clsx("react-datepicker__year-text","react-datepicker__year-".concat(e),r?null==d?void 0:d(G.setYear(r,e)):void 0,{"react-datepicker__year-text--selected":s?e===N.getYear(s):void 0,"react-datepicker__year-text--disabled":(o||i||l||c||u)&&tt(e,a.props),"react-datepicker__year-text--keyboard-selected":a.isKeyboardSelected(e),"react-datepicker__year-text--range-start":a.isRangeStart(e),"react-datepicker__year-text--range-end":a.isRangeEnd(e),"react-datepicker__year-text--in-range":a.isInRange(e),"react-datepicker__year-text--in-selecting-range":a.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":a.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":a.isSelectingRangeEnd(e),"react-datepicker__year-text--today":a.isCurrentYear(e)})},a.getYearTabIndex=function(e){if(a.props.disabledKeyboardNavigation||null==a.props.preSelection)return"-1";var t=N.getYear(a.props.preSelection),n=tt(e,a.props);return e!==t||n?"-1":"0"},a.getYearContainerClassNames=function(){var e=a.props,n=e.selectingDate,r=e.selectsStart,o=e.selectsEnd,i=e.selectsRange;return t.clsx("react-datepicker__year",{"react-datepicker__year--selecting-range":n&&(r||o||i)})},a.getYearContent=function(e){return a.props.renderYearContent?a.props.renderYearContent(e):e},a}return me(r,e),r.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,a=n.yearItemNumber,o=n.onYearMouseEnter,i=n.onYearMouseLeave;if(void 0===r)return null;for(var s=yt(r,a),l=s.startPeriod,c=s.endPeriod,u=function(n){t.push(fe.default.createElement("div",{ref:d.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){wt(t)&&(t.preventDefault(),t.key=ve.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(d.getYearTabIndex(n)),className:d.getYearClassNames(n),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerEnter:d.props.usePointerEvent?function(e){return o(e,n)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return i(e,n)},onPointerLeave:d.props.usePointerEvent?function(e){return i(e,n)}:void 0,key:n,"aria-current":d.isCurrentYear(n)?"date":void 0},d.getYearContent(n)))},d=this,f=l;f<=c;f++)u(f);return fe.default.createElement("div",{className:this.getYearContainerClassNames()},fe.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},r}(n.Component);function zt(e,t,n,r){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;n&&(s=N.getYear(n)<=i),r&&s&&(s=N.getYear(r)>=i),s&&a.push(i)}return a}var Wt,Ht=function(e){function r(t){var r=e.call(this,t)||this;r.renderOptions=function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return fe.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?fe.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=r.props.minDate?N.getYear(r.props.minDate):null,a=r.props.maxDate?N.getYear(r.props.maxDate):null;return a&&r.state.yearsList.find((function(e){return e===a}))||t.unshift(fe.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},fe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(fe.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},fe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var a=t.yearDropdownItemNumber,o=t.scrollableYearDropdown,i=a||(o?10:5);return r.state={yearsList:zt(r.props.year,i,r.props.minDate,r.props.maxDate)},r.dropdownRef=n.createRef(),r}return me(r,e),r.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},r.prototype.render=function(){var e=t.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return fe.default.createElement(xe,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},r}(n.Component),Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?N.getYear(t.props.minDate):1900,n=t.props.maxDate?N.getYear(t.props.maxDate):2100,r=[],a=e;a<=n;a++)r.push(fe.default.createElement("option",{key:a,value:a},a));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return fe.default.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return fe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},fe.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),fe.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return fe.default.createElement(Ht,ge({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},(function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)}))},t.handleYearChange=function(e,n){var r;null===(r=t.onSelect)||void 0===r||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,a;null===(a=(r=t.props).onSelect)||void 0===a||a.call(r,e,n)},t.setOpen=function(){var e,n;null===(n=(e=t.props).setOpen)||void 0===n||n.call(e,!0)},t}return me(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return fe.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),Vt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],Ut=function(e){function o(i){var c=e.call(this,i)||this;return c.monthContainer=void 0,c.handleClickOutside=function(e){c.props.onClickOutside(e)},c.setClickOutsideRef=function(){return c.containerRef.current},c.handleDropdownFocus=function(e){var t,n,r,a;r=e.target,a=(r.className||"").split(/\s+/),Vt.some((function(e){return a.indexOf(e)>=0}))&&(null===(n=(t=c.props).onDropdownFocus)||void 0===n||n.call(t,e))},c.getDateInView=function(){var e=c.props,t=e.preSelection,n=e.selected,r=e.openToDate,a=dt(c.props),o=ft(c.props),i=je();return r||n||t||(a&&T.isBefore(i,a)?a:o&&P.isAfter(i,o)?o:i)},c.increaseMonth=function(){c.setState((function(e){var t=e.date;return{date:s.addMonths(t,1)}}),(function(){return c.handleMonthChange(c.state.date)}))},c.decreaseMonth=function(){c.setState((function(e){var t=e.date;return{date:ae.subMonths(t,1)}}),(function(){return c.handleMonthChange(c.state.date)}))},c.handleDayClick=function(e,t,n){c.props.onSelect(e,t,n),c.props.setPreSelection&&c.props.setPreSelection(e)},c.handleDayMouseEnter=function(e){c.setState({selectingDate:e}),c.props.onDayMouseEnter&&c.props.onDayMouseEnter(e)},c.handleMonthMouseLeave=function(){c.setState({selectingDate:void 0}),c.props.onMonthMouseLeave&&c.props.onMonthMouseLeave()},c.handleYearMouseEnter=function(e,t){c.setState({selectingDate:G.setYear(je(),t)}),c.props.onYearMouseEnter&&c.props.onYearMouseEnter(e,t)},c.handleYearMouseLeave=function(e,t){c.props.onYearMouseLeave&&c.props.onYearMouseLeave(e,t)},c.handleYearChange=function(e){var t,n,r,a;null===(n=(t=c.props).onYearChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0}),c.props.adjustDateOnChange&&(c.props.onSelect(e),null===(a=(r=c.props).setOpen)||void 0===a||a.call(r,!0)),c.props.setPreSelection&&c.props.setPreSelection(e)},c.getEnabledPreSelectionDateForMonth=function(e){if(!Qe(e,c.props))return e;for(var t=Te(e),n=Le(e),o=r.differenceInDays(n,t),i=null,s=0;s<=o;s++){var l=a.addDays(t,s);if(!Qe(l,c.props)){i=l;break}}return i},c.handleMonthChange=function(e){var t,n,r,a=null!==(t=c.getEnabledPreSelectionDateForMonth(e))&&void 0!==t?t:e;c.handleCustomMonthChange(a),c.props.adjustDateOnChange&&(c.props.onSelect(a),null===(r=(n=c.props).setOpen)||void 0===r||r.call(n,!0)),c.props.setPreSelection&&c.props.setPreSelection(a)},c.handleCustomMonthChange=function(e){var t,n;null===(n=(t=c.props).onMonthChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0})},c.handleMonthYearChange=function(e){c.handleYearChange(e),c.handleMonthChange(e)},c.changeYear=function(e){c.setState((function(t){var n=t.date;return{date:G.setYear(n,Number(e))}}),(function(){return c.handleYearChange(c.state.date)}))},c.changeMonth=function(e){c.setState((function(t){var n=t.date;return{date:Q.setMonth(n,Number(e))}}),(function(){return c.handleMonthChange(c.state.date)}))},c.changeMonthYear=function(e){c.setState((function(t){var n=t.date;return{date:G.setYear(Q.setMonth(n,M.getMonth(e)),N.getYear(e))}}),(function(){return c.handleMonthYearChange(c.state.date)}))},c.header=function(e){void 0===e&&(e=c.state.date);var n=Pe(e,c.props.locale,c.props.calendarStartDay),r=[];return c.props.showWeekNumbers&&r.push(fe.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},c.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=a.addDays(n,e),o=c.formatWeekday(r,c.props.locale),i=c.props.weekDayClassName?c.props.weekDayClassName(r):void 0;return fe.default.createElement("div",{key:e,"aria-label":De(r,"EEEE",c.props.locale),className:t.clsx("react-datepicker__day-name",i)},o)})))},c.formatWeekday=function(e,t){return c.props.formatWeekDay?function(e,t,n){return t(De(e,"EEEE",n))}(e,c.props.formatWeekDay,t):c.props.useWeekdaysShort?function(e,t){return De(e,"EEE",t)}(e,t):function(e,t){return De(e,"EEEEEE",t)}(e,t)},c.decreaseYear=function(){c.setState((function(e){var t,n=e.date;return{date:se.subYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}}),(function(){return c.handleYearChange(c.state.date)}))},c.clearSelectingDate=function(){c.setState({selectingDate:void 0})},c.renderPreviousButton=function(){var e;if(!c.props.renderCustomHeader){var t;switch(!0){case c.props.showMonthYearPicker:t=ct(c.state.date,c.props);break;case c.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.yearItemNumber,o=void 0===a?ke:a,i=yt(Ce(se.subYears(e,o)),o).endPeriod,s=r&&N.getYear(r);return s&&s>i||!1}(c.state.date,c.props);break;case c.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,a=n.includeDates,o=ne.startOfYear(e),i=oe.subQuarters(o,1);return r&&p.differenceInCalendarQuarters(r,i)>0||a&&a.every((function(e){return p.differenceInCalendarQuarters(e,i)>0}))||!1}(c.state.date,c.props);break;default:t=st(c.state.date,c.props)}if(((null!==(e=c.props.forceShowMonthNavigation)&&void 0!==e?e:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!t)&&!c.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=c.decreaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(r=c.decreaseYear),t&&c.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--previous--disabled"),r=void 0);var a=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,i=c.props,s=i.previousMonthButtonLabel,l=void 0===s?o.defaultProps.previousMonthButtonLabel:s,u=i.previousYearButtonLabel,d=void 0===u?o.defaultProps.previousYearButtonLabel:u,f=c.props,h=f.previousMonthAriaLabel,m=void 0===h?"string"==typeof l?l:"Previous Month":h,g=f.previousYearAriaLabel,y=void 0===g?"string"==typeof d?d:"Previous Year":g;return fe.default.createElement("button",{type:"button",className:n.join(" "),onClick:r,onKeyDown:c.props.handleOnKeyDown,"aria-label":a?y:m},fe.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},a?d:l))}}},c.increaseYear=function(){c.setState((function(e){var t,n=e.date;return{date:d.addYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}}),(function(){return c.handleYearChange(c.state.date)}))},c.renderNextButton=function(){var e;if(!c.props.renderCustomHeader){var t;switch(!0){case c.props.showMonthYearPicker:t=ut(c.state.date,c.props);break;case c.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,a=n.yearItemNumber,o=void 0===a?ke:a,i=yt(d.addYears(e,o),o).startPeriod,s=r&&N.getYear(r);return s&&s<i||!1}(c.state.date,c.props);break;case c.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,a=n.includeDates,o=b.endOfYear(e),i=l.addQuarters(o,1);return r&&p.differenceInCalendarQuarters(i,r)>0||a&&a.every((function(e){return p.differenceInCalendarQuarters(i,e)>0}))||!1}(c.state.date,c.props);break;default:t=lt(c.state.date,c.props)}if(((null!==(e=c.props.forceShowMonthNavigation)&&void 0!==e?e:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!t)&&!c.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--next"];c.props.showTimeSelect&&n.push("react-datepicker__navigation--next--with-time"),c.props.todayButton&&n.push("react-datepicker__navigation--next--with-today-button");var r=c.increaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(r=c.increaseYear),t&&c.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--next--disabled"),r=void 0);var a=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,i=c.props,s=i.nextMonthButtonLabel,u=void 0===s?o.defaultProps.nextMonthButtonLabel:s,f=i.nextYearButtonLabel,h=void 0===f?o.defaultProps.nextYearButtonLabel:f,m=c.props,g=m.nextMonthAriaLabel,y=void 0===g?"string"==typeof u?u:"Next Month":g,v=m.nextYearAriaLabel,x=void 0===v?"string"==typeof h?h:"Next Year":v;return fe.default.createElement("button",{type:"button",className:n.join(" "),onClick:r,onKeyDown:c.props.handleOnKeyDown,"aria-label":a?x:y},fe.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},a?h:u))}}},c.renderCurrentMonth=function(e){void 0===e&&(e=c.state.date);var t=["react-datepicker__current-month"];return c.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),c.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),c.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),fe.default.createElement("h2",{className:t.join(" ")},De(e,c.props.dateFormat,c.props.locale))},c.renderYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showYearDropdown&&!e)return fe.default.createElement(Bt,ge({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeYear,year:N.getYear(c.state.date)}))},c.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthDropdown&&!e)return fe.default.createElement(It,ge({},o.defaultProps,c.props,{month:M.getMonth(c.state.date),onChange:c.changeMonth}))},c.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthYearDropdown&&!e)return fe.default.createElement(Lt,ge({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeMonthYear}))},c.handleTodayButtonClick=function(e){c.props.onSelect(Re(),e),c.props.setPreSelection&&c.props.setPreSelection(Re())},c.renderTodayButton=function(){if(c.props.todayButton&&!c.props.showTimeSelectOnly)return fe.default.createElement("div",{className:"react-datepicker__today-button",onClick:c.handleTodayButtonClick},c.props.todayButton)},c.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return fe.default.createElement("div",{className:"react-datepicker__header ".concat(c.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},c.renderCurrentMonth(t),fe.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(c.props.dropdownMode),onFocus:c.handleDropdownFocus},c.renderMonthDropdown(0!==n),c.renderMonthYearDropdown(0!==n),c.renderYearDropdown(0!==n)),fe.default.createElement("div",{className:"react-datepicker__day-names"},c.header(t)))},c.renderCustomHeader=function(e){var t,n,r=e.monthDate,a=e.i;if(c.props.showTimeSelect&&!c.state.monthContainer||c.props.showTimeSelectOnly)return null;var o=st(c.state.date,c.props),i=lt(c.state.date,c.props),s=ct(c.state.date,c.props),l=ut(c.state.date,c.props),u=!c.props.showMonthYearPicker&&!c.props.showQuarterYearPicker&&!c.props.showYearPicker;return fe.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:c.props.onDropdownFocus},null===(n=(t=c.props).renderCustomHeader)||void 0===n?void 0:n.call(t,ge(ge({},c.state),{customHeaderCount:a,monthDate:r,changeMonth:c.changeMonth,changeYear:c.changeYear,decreaseMonth:c.decreaseMonth,increaseMonth:c.increaseMonth,decreaseYear:c.decreaseYear,increaseYear:c.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:i,prevYearButtonDisabled:s,nextYearButtonDisabled:l})),u&&fe.default.createElement("div",{className:"react-datepicker__day-names"},c.header(r)))},c.renderYearHeader=function(e){var t=e.monthDate,n=c.props,r=n.showYearPicker,a=n.yearItemNumber,i=yt(t,void 0===a?o.defaultProps.yearItemNumber:a),s=i.startPeriod,l=i.endPeriod;return fe.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(s," - ").concat(l):N.getYear(t))},c.renderHeader=function(e){var t=e.monthDate,n=e.i,r={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==c.props.renderCustomHeader:return c.renderCustomHeader(r);case c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker:return c.renderYearHeader(r);default:return c.renderDefaultHeader(r)}},c.renderMonths=function(){var e,t;if(!c.props.showTimeSelectOnly&&!c.props.showYearPicker){for(var n=[],r=null!==(e=c.props.monthsShown)&&void 0!==e?e:o.defaultProps.monthsShown,a=c.props.showPreviousMonths?r-1:0,i=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(c.state.date,a):ae.subMonths(c.state.date,a),l=null!==(t=c.props.monthSelectedIn)&&void 0!==t?t:a,u=0;u<r;++u){var f=u-l+a,h=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(i,f):s.addMonths(i,f),p="month-".concat(u),m=u<r-1,g=u>0;n.push(fe.default.createElement("div",{key:p,ref:function(e){c.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},c.renderHeader({monthDate:h,i:u}),fe.default.createElement(Tt,ge({},o.defaultProps,c.props,{ariaLabelPrefix:c.props.monthAriaLabelPrefix,day:h,onDayClick:c.handleDayClick,handleOnKeyDown:c.props.handleOnDayKeyDown,handleOnMonthKeyDown:c.props.handleOnKeyDown,onDayMouseEnter:c.handleDayMouseEnter,onMouseLeave:c.handleMonthMouseLeave,orderInDisplay:u,selectingDate:c.state.selectingDate,monthShowsDuplicateDaysEnd:m,monthShowsDuplicateDaysStart:g}))))}return n}},c.renderYears=function(){if(!c.props.showTimeSelectOnly)return c.props.showYearPicker?fe.default.createElement("div",{className:"react-datepicker__year--container"},c.renderHeader({monthDate:c.state.date}),fe.default.createElement(Yt,ge({},o.defaultProps,c.props,{selectingDate:c.state.selectingDate,date:c.state.date,onDayClick:c.handleDayClick,clearSelectingDate:c.clearSelectingDate,onYearMouseEnter:c.handleYearMouseEnter,onYearMouseLeave:c.handleYearMouseLeave}))):void 0},c.renderTimeSection=function(){if(c.props.showTimeSelect&&(c.state.monthContainer||c.props.showTimeSelectOnly))return fe.default.createElement(At,ge({},o.defaultProps,c.props,{onChange:c.props.onTimeChange,format:c.props.timeFormat,intervals:c.props.timeIntervals,monthRef:c.state.monthContainer}))},c.renderInputTimeSection=function(){var e=c.props.selected?new Date(c.props.selected):void 0,t=e&&Me(e)&&Boolean(c.props.selected)?"".concat(gt(e.getHours()),":").concat(gt(e.getMinutes())):"";if(c.props.showTimeInput)return fe.default.createElement(_t,ge({},o.defaultProps,c.props,{date:e,timeString:t,onChange:c.props.onTimeChange}))},c.renderAriaLiveRegion=function(){var e,t,n=yt(c.state.date,null!==(e=c.props.yearItemNumber)&&void 0!==e?e:o.defaultProps.yearItemNumber),r=n.startPeriod,a=n.endPeriod;return t=c.props.showYearPicker?"".concat(r," - ").concat(a):c.props.showMonthYearPicker||c.props.showQuarterYearPicker?N.getYear(c.state.date):"".concat($e(M.getMonth(c.state.date),c.props.locale)," ").concat(N.getYear(c.state.date)),fe.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},c.state.isRenderAriaLiveMessage&&t)},c.renderChildren=function(){if(c.props.children)return fe.default.createElement("div",{className:"react-datepicker__children-container"},c.props.children)},c.containerRef=n.createRef(),c.state={date:c.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},c}return me(o,e),Object.defineProperty(o,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:ke}},enumerable:!1,configurable:!0}),o.prototype.componentDidMount=function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))},o.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||We(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!We(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!Ye(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return n&&t.handleCustomMonthChange(t.state.date)}))}},o.prototype.render=function(){var e=this.props.container||be;return fe.default.createElement(xe,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},fe.default.createElement(e,{className:t.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},o}(n.Component),$t=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,a=e.onClick,o="react-datepicker__calendar-icon";return"string"==typeof t?fe.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:a}):fe.default.isValidElement(t)?fe.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):fe.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},fe.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},qt=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return me(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return he.default.createPortal(this.props.children,this.el)},t}(n.Component),Qt=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},Kt=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Qt)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=n.createRef(),r}return me(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?fe.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},fe.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,fe.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(n.Component),Zt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),r.prototype.render=function(){var e=this.props,a=e.className,o=e.wrapperClassName,i=e.hidePopper,s=void 0===i?r.defaultProps.hidePopper:i,l=e.popperComponent,c=e.targetComponent,u=e.enableTabLoop,d=e.popperOnKeyDown,f=e.portalId,h=e.portalHost,p=e.popperProps,m=e.showArrow,g=void 0;if(!s){var y=t.clsx("react-datepicker-popper",a);g=fe.default.createElement(Kt,{enableTabLoop:u},fe.default.createElement("div",{ref:p.refs.setFloating,style:p.floatingStyles,className:y,"data-placement":p.placement,onKeyDown:d},l,m&&fe.default.createElement(ce.FloatingArrow,{ref:p.arrowRef,context:p.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(g=n.createElement(this.props.popperContainer,{},g)),f&&!s&&(g=fe.default.createElement(qt,{portalId:f,portalHost:h},g));var v=t.clsx("react-datepicker-wrapper",o);return fe.default.createElement(fe.default.Fragment,null,fe.default.createElement("div",{ref:p.refs.setReference,className:v},c),g)},r}(n.Component),Gt=(Wt=Zt,function(e){var t,r="boolean"!=typeof e.hidePopper||e.hidePopper,a=n.useRef(null),o=ce.useFloating(ge({open:!r,whileElementsMounted:ce.autoUpdate,placement:e.popperPlacement,middleware:ye([ce.flip({padding:15}),ce.offset(10),ce.arrow({element:a})],null!==(t=e.popperModifiers)&&void 0!==t?t:[],!0)},e.popperProps)),i=ge(ge({},e),{hidePopper:r,popperProps:ge(ge({},o),{arrowRef:a})});return fe.default.createElement(Wt,ge({},i))}),Xt="react-datepicker-ignore-onclickoutside",Jt="Date input not valid.",en=function(e){function r(o){var i=e.call(this,o)||this;return i.calendar=null,i.input=null,i.getPreSelection=function(){return i.props.openToDate?i.props.openToDate:i.props.selectsEnd&&i.props.startDate?i.props.startDate:i.props.selectsStart&&i.props.endDate?i.props.endDate:je()},i.modifyHolidays=function(){var e;return null===(e=i.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var n=new Date(t.date);return Me(n)?ye(ye([],e,!0),[ge(ge({},t),{date:n})],!1):e}),[])},i.calcInitialState=function(){var e,t=i.getPreSelection(),n=dt(i.props),r=ft(i.props),a=n&&T.isBefore(t,Ne(n))?n:r&&P.isAfter(t,Fe(r))?r:t;return{open:i.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==(e=i.props.selectsRange?i.props.startDate:i.props.selected)&&void 0!==e?e:a,highlightDates:ht(i.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},i.resetHiddenStatus=function(){i.setState(ge(ge({},i.state),{wasHidden:!1}))},i.setHiddenStatus=function(){i.setState(ge(ge({},i.state),{wasHidden:!0}))},i.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&i.setHiddenStatus()},i.clearPreventFocusTimeout=function(){i.preventFocusTimeout&&clearTimeout(i.preventFocusTimeout)},i.setFocus=function(){i.input&&i.input.focus&&i.input.focus({preventScroll:!0})},i.setBlur=function(){i.input&&i.input.blur&&i.input.blur(),i.cancelFocusInput()},i.setOpen=function(e,t){void 0===t&&(t=!1),i.setState({open:e,preSelection:e&&i.state.open?i.state.preSelection:i.calcInitialState().preSelection,lastPreSelectChange:nn},(function(){e||i.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&i.setBlur(),i.setState({inputValue:null})}))}))},i.inputOk=function(){return C.isDate(i.state.preSelection)},i.isCalendarOpen=function(){return void 0===i.props.open?i.state.open&&!i.props.disabled&&!i.props.readOnly:i.props.open},i.handleFocus=function(e){var t,n,r=i.state.wasHidden,a=!r||i.state.open;r&&i.resetHiddenStatus(),!i.state.preventFocus&&a&&(null===(n=(t=i.props).onFocus)||void 0===n||n.call(t,e),i.props.preventOpenOnFocus||i.props.readOnly||i.setOpen(!0)),i.setState({focused:!0})},i.sendFocusBackToInput=function(){i.preventFocusTimeout&&i.clearPreventFocusTimeout(),i.setState({preventFocus:!0},(function(){i.preventFocusTimeout=setTimeout((function(){i.setFocus(),i.setState({preventFocus:!1})}))}))},i.cancelFocusInput=function(){clearTimeout(i.inputFocusTimeout),i.inputFocusTimeout=void 0},i.deferFocusInput=function(){i.cancelFocusInput(),i.inputFocusTimeout=setTimeout((function(){return i.setFocus()}),1)},i.handleDropdownFocus=function(){i.cancelFocusInput()},i.handleBlur=function(e){var t,n;(!i.state.open||i.props.withPortal||i.props.showTimeInput)&&(null===(n=(t=i.props).onBlur)||void 0===n||n.call(t,e)),i.setState({focused:!1})},i.handleCalendarClickOutside=function(e){var t,n;i.props.inline||i.setOpen(!1),null===(n=(t=i.props).onClickOutside)||void 0===n||n.call(t,e),i.props.withPortal&&e.preventDefault()},i.handleChange=function(){for(var e,t,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=n[0];if(!i.props.onChangeRaw||(i.props.onChangeRaw.apply(i,n),o&&"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){i.setState({inputValue:(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:null,lastPreSelectChange:tn});var s=i.props,l=s.dateFormat,c=void 0===l?r.defaultProps.dateFormat:l,u=s.strictParsing,d=void 0===u?r.defaultProps.strictParsing:u,f=s.selectsRange,h=s.startDate,p=s.endDate,m=(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:"";if(f){var g=m.split("-",2).map((function(e){return e.trim()})),y=g[0],v=g[1],b=Se(null!=y?y:"",c,i.props.locale,d),x=Se(null!=v?v:"",c,i.props.locale,d),w=(null==h?void 0:h.getTime())!==(null==b?void 0:b.getTime()),k=(null==p?void 0:p.getTime())!==(null==x?void 0:x.getTime());if(!w&&!k)return;if(b&&Qe(b,i.props))return;if(x&&Qe(x,i.props))return;null===(t=(e=i.props).onChange)||void 0===t||t.call(e,[b,x],o)}else{var j=Se(m,c,i.props.locale,d,i.props.minDate);i.props.showTimeSelectOnly&&i.props.selected&&j&&!We(j,i.props.selected)&&(j=U.set(i.props.selected,{hours:_.getHours(j),minutes:S.getMinutes(j),seconds:O.getSeconds(j)})),!j&&m||i.setSelected(j,o,!0)}}},i.handleSelect=function(e,t,n){if(i.props.shouldCloseOnSelect&&!i.props.showTimeSelect&&i.sendFocusBackToInput(),i.props.onChangeRaw&&i.props.onChangeRaw(t),i.setSelected(e,t,!1,n),i.props.showDateSelect&&i.setState({isRenderAriaLiveMessage:!0}),!i.props.shouldCloseOnSelect||i.props.showTimeSelect)i.setPreSelection(e);else if(!i.props.inline){i.props.selectsRange||i.setOpen(!1);var r=i.props,a=r.startDate,o=r.endDate;!a||o||!i.props.swapRange&&xt(e,a)||i.setOpen(!1)}},i.setSelected=function(e,t,n,r){var a,o,s=e;if(i.props.showYearPicker){if(null!==s&&tt(N.getYear(s),i.props))return}else if(i.props.showMonthYearPicker){if(null!==s&&Ze(s,i.props))return}else if(null!==s&&Qe(s,i.props))return;var l=i.props,c=l.onChange,u=l.selectsRange,d=l.startDate,f=l.endDate,h=l.selectsMultiple,p=l.selectedDates,m=l.minTime,g=l.swapRange;if(!He(i.props.selected,s)||i.props.allowSameDay||u||h)if(null!==s&&(!i.props.selected||n&&(i.props.showTimeSelect||i.props.showTimeSelectOnly||i.props.showTimeInput)||(s=Ee(s,{hour:_.getHours(i.props.selected),minute:S.getMinutes(i.props.selected),second:O.getSeconds(i.props.selected)})),n||!i.props.showTimeSelect&&!i.props.showTimeSelectOnly||m&&(s=Ee(s,{hour:m.getHours(),minute:m.getMinutes(),second:m.getSeconds()})),i.props.inline||i.setState({preSelection:s}),i.props.focusSelectedMonth||i.setState({monthSelectedIn:r})),u){var y=d&&f;d||f?d&&!f&&(null===s?null==c||c([null,null],t):xt(s,d)?g?null==c||c([s,d],t):null==c||c([s,null],t):null==c||c([d,s],t)):null==c||c([s,null],t),y&&(null==c||c([s,null],t))}else if(h){if(null!==s)if(null==p?void 0:p.length)if(p.some((function(e){return We(e,s)}))){var v=p.filter((function(e){return!We(e,s)}));null==c||c(v,t)}else null==c||c(ye(ye([],p,!0),[s],!1),t);else null==c||c([s],t)}else null==c||c(s,t);n||(null===(o=(a=i.props).onSelect)||void 0===o||o.call(a,s,t),i.setState({inputValue:null}))},i.setPreSelection=function(e){var t=C.isDate(i.props.minDate),n=C.isDate(i.props.maxDate),r=!0;if(e){var a=Ne(e);if(t&&n)r=Be(e,i.props.minDate,i.props.maxDate);else if(t){var o=Ne(i.props.minDate);r=P.isAfter(e,o)||He(a,o)}else if(n){var s=Fe(i.props.maxDate);r=T.isBefore(e,s)||He(a,s)}}r&&i.setState({preSelection:e})},i.toggleCalendar=function(){i.setOpen(!i.state.open)},i.handleTimeChange=function(e){var t,n;if(!i.props.selectsRange&&!i.props.selectsMultiple){var r=i.props.selected?i.props.selected:i.getPreSelection(),a=i.props.selected?e:Ee(r,{hour:_.getHours(e),minute:S.getMinutes(e)});i.setState({preSelection:a}),null===(n=(t=i.props).onChange)||void 0===n||n.call(t,a),i.props.shouldCloseOnSelect&&!i.props.showTimeInput&&(i.sendFocusBackToInput(),i.setOpen(!1)),i.props.showTimeInput&&i.setOpen(!0),(i.props.showTimeSelectOnly||i.props.showTimeSelect)&&i.setState({isRenderAriaLiveMessage:!0}),i.setState({inputValue:null})}},i.onInputClick=function(){var e,t;i.props.disabled||i.props.readOnly||i.setOpen(!0),null===(t=(e=i.props).onInputClick)||void 0===t||t.call(e)},i.onInputKeyDown=function(e){var t,n,r,a,o,s;null===(n=(t=i.props).onKeyDown)||void 0===n||n.call(t,e);var l=e.key;if(i.state.open||i.props.inline||i.props.preventOpenOnFocus){if(i.state.open){if(l===ve.ArrowDown||l===ve.ArrowUp){e.preventDefault();var c=i.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":i.props.showWeekPicker&&i.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':i.props.showFullMonthYearPicker||i.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',u=(null===(a=i.calendar)||void 0===a?void 0:a.containerRef.current)instanceof Element&&i.calendar.containerRef.current.querySelector(c);return void(u instanceof HTMLElement&&u.focus({preventScroll:!0}))}var d=je(i.state.preSelection);l===ve.Enter?(e.preventDefault(),i.inputOk()&&i.state.lastPreSelectChange===nn?(i.handleSelect(d,e),!i.props.shouldCloseOnSelect&&i.setPreSelection(d)):i.setOpen(!1)):l===ve.Escape?(e.preventDefault(),i.sendFocusBackToInput(),i.setOpen(!1)):l===ve.Tab&&i.setOpen(!1),i.inputOk()||null===(s=(o=i.props).onInputError)||void 0===s||s.call(o,{code:1,msg:Jt})}}else l!==ve.ArrowDown&&l!==ve.ArrowUp&&l!==ve.Enter||null===(r=i.onInputClick)||void 0===r||r.call(i)},i.onPortalKeyDown=function(e){e.key===ve.Escape&&(e.preventDefault(),i.setState({preventFocus:!0},(function(){i.setOpen(!1),setTimeout((function(){i.setFocus(),i.setState({preventFocus:!1})}))})))},i.onDayKeyDown=function(e){var t,n,r,o,l,c,f=i.props,h=f.minDate,p=f.maxDate,m=f.disabledKeyboardNavigation,g=f.showWeekPicker,y=f.shouldCloseOnSelect,b=f.locale,x=f.calendarStartDay,w=f.adjustDateOnChange,k=f.inline;if(null===(n=(t=i.props).onKeyDown)||void 0===n||n.call(t,e),!m){var _=e.key,j=e.shiftKey,S=je(i.state.preSelection),D=function(e,t){var n=t;switch(e){case ve.ArrowRight:n=g?u.addWeeks(t,1):a.addDays(t,1);break;case ve.ArrowLeft:n=g?ie.subWeeks(t,1):re.subDays(t,1);break;case ve.ArrowUp:n=ie.subWeeks(t,1);break;case ve.ArrowDown:n=u.addWeeks(t,1);break;case ve.PageUp:n=j?se.subYears(t,1):ae.subMonths(t,1);break;case ve.PageDown:n=j?d.addYears(t,1):s.addMonths(t,1);break;case ve.Home:n=Pe(t,b,x);break;case ve.End:n=function(e){return v.endOfWeek(e)}(t)}return n};if(_===ve.Enter)return e.preventDefault(),i.handleSelect(S,e),void(!y&&i.setPreSelection(S));if(_===ve.Escape)return e.preventDefault(),i.setOpen(!1),void(i.inputOk()||null===(o=(r=i.props).onInputError)||void 0===o||o.call(r,{code:1,msg:Jt}));var O=null;switch(_){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:O=function(e,t){for(var n=e,r=!1,a=0,o=D(e,t);!r;){if(a>=40){o=t;break}h&&o<h&&(n=ve.ArrowRight,o=Qe(h,i.props)?D(n,o):h),p&&o>p&&(n=ve.ArrowLeft,o=Qe(p,i.props)?D(n,o):p),Qe(o,i.props)?(n!==ve.PageUp&&n!==ve.Home||(n=ve.ArrowRight),n!==ve.PageDown&&n!==ve.End||(n=ve.ArrowLeft),o=D(n,o)):r=!0,a++}return o}(_,S)}if(O){if(e.preventDefault(),i.setState({lastPreSelectChange:nn}),w&&i.setSelected(O),i.setPreSelection(O),k){var E=M.getMonth(S),P=M.getMonth(O),T=N.getYear(S),C=N.getYear(O);E!==P||T!==C?i.setState({shouldFocusDayInline:!0}):i.setState({shouldFocusDayInline:!1})}}else null===(c=(l=i.props).onInputError)||void 0===c||c.call(l,{code:1,msg:Jt})}},i.onPopperKeyDown=function(e){e.key===ve.Escape&&(e.preventDefault(),i.sendFocusBackToInput())},i.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),i.sendFocusBackToInput();var t=i.props,n=t.selectsRange,r=t.onChange;n?null==r||r([null,null],e):null==r||r(null,e),i.setState({inputValue:null})},i.clear=function(){i.onClearClick()},i.onScroll=function(e){"boolean"==typeof i.props.closeOnScroll&&i.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||i.setOpen(!1):"function"==typeof i.props.closeOnScroll&&i.props.closeOnScroll(e)&&i.setOpen(!1)},i.renderCalendar=function(){var e,t;return i.props.inline||i.isCalendarOpen()?fe.default.createElement(Ut,ge({showMonthYearDropdown:void 0,ref:function(e){i.calendar=e}},i.props,i.state,{setOpen:i.setOpen,dateFormat:null!==(e=i.props.dateFormatCalendar)&&void 0!==e?e:r.defaultProps.dateFormatCalendar,onSelect:i.handleSelect,onClickOutside:i.handleCalendarClickOutside,holidays:pt(i.modifyHolidays()),outsideClickIgnoreClass:Xt,onDropdownFocus:i.handleDropdownFocus,onTimeChange:i.handleTimeChange,className:i.props.calendarClassName,container:i.props.calendarContainer,handleOnKeyDown:i.props.onKeyDown,handleOnDayKeyDown:i.onDayKeyDown,setPreSelection:i.setPreSelection,dropdownMode:null!==(t=i.props.dropdownMode)&&void 0!==t?t:r.defaultProps.dropdownMode}),i.props.children):null},i.renderAriaLiveRegion=function(){var e,t=i.props,n=t.dateFormat,a=void 0===n?r.defaultProps.dateFormat:n,o=t.locale,s=i.props.showTimeInput||i.props.showTimeSelect?"PPPPp":"PPPP";return e=i.props.selectsRange?"Selected start date: ".concat(Oe(i.props.startDate,{dateFormat:s,locale:o}),". ").concat(i.props.endDate?"End date: "+Oe(i.props.endDate,{dateFormat:s,locale:o}):""):i.props.showTimeSelectOnly?"Selected time: ".concat(Oe(i.props.selected,{dateFormat:a,locale:o})):i.props.showYearPicker?"Selected year: ".concat(Oe(i.props.selected,{dateFormat:"yyyy",locale:o})):i.props.showMonthYearPicker?"Selected month: ".concat(Oe(i.props.selected,{dateFormat:"MMMM yyyy",locale:o})):i.props.showQuarterYearPicker?"Selected quarter: ".concat(Oe(i.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(Oe(i.props.selected,{dateFormat:s,locale:o})),fe.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},i.renderDateInput=function(){var e,a,o,s=t.clsx(i.props.className,((e={})[Xt]=i.state.open,e)),l=i.props.customInput||fe.default.createElement("input",{type:"text"}),c=i.props.customInputRef||"ref",u=i.props,d=u.dateFormat,f=void 0===d?r.defaultProps.dateFormat:d,h=u.locale,p="string"==typeof i.props.value?i.props.value:"string"==typeof i.state.inputValue?i.state.inputValue:i.props.selectsRange?function(e,t,n){if(!e)return"";var r=Oe(e,n),a=t?Oe(t,n):"";return"".concat(r," - ").concat(a)}(i.props.startDate,i.props.endDate,{dateFormat:f,locale:h}):i.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?Oe(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=Oe(e[1],t);return"".concat(n,", ").concat(r)}var a=e.length-1;return"".concat(n," (+").concat(a,")")}(null!==(o=i.props.selectedDates)&&void 0!==o?o:[],{dateFormat:f,locale:h}):Oe(i.props.selected,{dateFormat:f,locale:h});return n.cloneElement(l,((a={})[c]=function(e){i.input=e},a.value=p,a.onBlur=i.handleBlur,a.onChange=i.handleChange,a.onClick=i.onInputClick,a.onFocus=i.handleFocus,a.onKeyDown=i.onInputKeyDown,a.id=i.props.id,a.name=i.props.name,a.form=i.props.form,a.autoFocus=i.props.autoFocus,a.placeholder=i.props.placeholderText,a.disabled=i.props.disabled,a.autoComplete=i.props.autoComplete,a.className=t.clsx(l.props.className,s),a.title=i.props.title,a.readOnly=i.props.readOnly,a.required=i.props.required,a.tabIndex=i.props.tabIndex,a["aria-describedby"]=i.props.ariaDescribedBy,a["aria-invalid"]=i.props.ariaInvalid,a["aria-labelledby"]=i.props.ariaLabelledBy,a["aria-required"]=i.props.ariaRequired,a))},i.renderClearButton=function(){var e=i.props,n=e.isClearable,r=e.disabled,a=e.selected,o=e.startDate,s=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,u=void 0===c?"":c,d=e.ariaLabelClose,f=void 0===d?"Close":d,h=e.selectedDates;return n&&(null!=a||null!=o||null!=s||(null==h?void 0:h.length))?fe.default.createElement("button",{type:"button",className:t.clsx("react-datepicker__close-icon",u,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":f,onClick:i.onClearClick,title:l,tabIndex:-1}):null},i.state=i.calcInitialState(),i.preventFocusTimeout=void 0,i}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:ke,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.componentDidUpdate=function(e,t){var n,r,a,o,i,s;e.inline&&(i=e.selected,s=this.props.selected,i&&s?M.getMonth(i)!==M.getMonth(s)||N.getYear(i)!==N.getYear(s):i!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ht(this.props.highlightDates)}),t.focused||He(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(r=(n=this.props).onCalendarOpen)||void 0===r||r.call(n)),!0===t.open&&!1===this.state.open&&(null===(o=(a=this.props).onCalendarClose)||void 0===o||o.call(a)))},r.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.renderInputContainer=function(){var e=this.props,n=e.showIcon,r=e.icon,a=e.calendarIconClassname,o=e.calendarIconClassName,i=e.toggleCalendarOnIconClick,s=this.state.open;return a&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),fe.default.createElement("div",{className:"react-datepicker__input-container".concat(n?" react-datepicker__view-calendar-icon":"")},n&&fe.default.createElement($t,ge({icon:r,className:t.clsx(o,!o&&a,s&&"react-datepicker-ignore-onclickoutside")},i?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},r.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?fe.default.createElement(Kt,{enableTabLoop:this.props.enableTabLoop},fe.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=fe.default.createElement(qt,ge({portalId:this.props.portalId},this.props),t)),fe.default.createElement("div",null,this.renderInputContainer(),t)}return fe.default.createElement(Gt,ge({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},r}(n.Component),tn="input",nn="navigate";e.CalendarContainer=be,e.default=en,e.getDefaultLocale=Ve,e.registerLocale=function(e,t){var n=we();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){we().__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2949),n(5043),n(4168),n(8620),n(5608),n(86),n(4640),n(1634),n(2570),n(9994),n(709),n(3439),n(5575),n(5309),n(9840),n(2412),n(8268),n(4016),n(4889),n(4333),n(5528),n(7600),n(5857),n(9871),n(8667),n(8920),n(2918),n(2808),n(7025),n(309),n(1882),n(4593),n(1890),n(6500),n(8444),n(8060),n(8322),n(4265),n(9858),n(4148),n(8442),n(1972),n(4251),n(3458),n(3848),n(3525),n(4503),n(2844),n(3410),n(671),n(4521),n(6191),n(1619),n(1125),n(9249),n(7332),n(3613),n(6221),n(899),n(4357),n(6198),n(5551),n(5552),n(7950))},2730:(e,t,n)=>{"use strict";var r=n(5043),a=n(8853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function m(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),D=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var C=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=I&&e[I]||e["@@iterator"])?e:null}var F,L=Object.assign;function A(e){if(void 0===F)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var Y=!1;function z(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{Y=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?A(e):""}function W(e){switch(e.tag){case 5:return A(e.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case k:return"Portal";case S:return"Profiler";case j:return"StrictMode";case E:return"Suspense";case N:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case D:return(e.displayName||"Context")+".Consumer";case M:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return H(e(t))}catch(n){}}return null}function B(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===j?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){G(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function oe(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ye=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,_e=null,je=null;function Se(e){if(e=ba(e)){if("function"!==typeof ke)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),ke(e.stateNode,e.type,t))}}function Me(e){_e?je?je.push(e):je=[e]:_e=e}function De(){if(_e){var e=_e,t=je;if(je=_e=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Oe(e,t){return e(t)}function Ee(){}var Ne=!1;function Pe(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Oe(e,t,n)}finally{Ne=!1,(null!==_e||null!==je)&&(Ee(),De())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Ce=!1;if(u)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Ce=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ue){Ce=!1}function Re(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Fe=!1,Le=null,Ae=!1,Ye=null,ze={onError:function(e){Fe=!0,Le=e}};function We(e,t,n,r,a,o,i,s,l){Fe=!1,Le=null,Re.apply(ze,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Be(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(He(e)!==e)throw Error(o(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Ve(a),e;if(i===r)return Ve(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?$e(e):null}function $e(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=$e(e);if(null!==t)return t;e=e.sibling}return null}var qe=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Ze=a.unstable_requestPaint,Ge=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,kt,_t,jt,St,Mt=!1,Dt=[],Ot=null,Et=null,Nt=null,Pt=new Map,Tt=new Map,Ct=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Ft(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Lt(e){var t=va(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void St(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Yt(e,t,n){At(e)&&n.delete(t)}function zt(){Mt=!1,null!==Ot&&At(Ot)&&(Ot=null),null!==Et&&At(Et)&&(Et=null),null!==Nt&&At(Nt)&&(Nt=null),Pt.forEach(Yt),Tt.forEach(Yt)}function Wt(e,t){e.blockedOn===t&&(e.blockedOn=null,Mt||(Mt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function Ht(e){function t(t){return Wt(t,e)}if(0<Dt.length){Wt(Dt[0],e);for(var n=1;n<Dt.length;n++){var r=Dt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Wt(Ot,e),null!==Et&&Wt(Et,e),null!==Nt&&Wt(Nt,e),Pt.forEach(t),Tt.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Lt(n),null===n.blockedOn&&Ct.shift()}var Bt=x.ReactCurrentBatchConfig,Vt=!0;function Ut(e,t,n,r){var a=bt,o=Bt.transition;Bt.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=a,Bt.transition=o}}function $t(e,t,n,r){var a=bt,o=Bt.transition;Bt.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=a,Bt.transition=o}}function qt(e,t,n,r){if(Vt){var a=Kt(e,t,n,r);if(null===a)Vr(e,t,r,Qt,n),Rt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Ot=Ft(Ot,e,t,n,r,a),!0;case"dragenter":return Et=Ft(Et,e,t,n,r,a),!0;case"mouseover":return Nt=Ft(Nt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Pt.set(o,Ft(Pt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Tt.set(o,Ft(Tt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&wt(o),null===(o=Kt(e,t,n,r))&&Vr(e,t,r,Qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Qt=null;function Kt(e,t,n,r){if(Qt=null,null!==(e=va(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Gt?Gt.value:Gt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=L({},cn,{view:0,detail:0}),fn=an(dn),hn=L({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=an(hn),mn=an(L({},hn,{dataTransfer:0})),gn=an(L({},dn,{relatedTarget:0})),yn=an(L({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=L({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(vn),xn=an(L({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Sn(){return jn}var Mn=L({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Dn=an(Mn),On=an(L({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=an(L({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Nn=an(L({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=L({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tn=an(Pn),Cn=[9,13,27,32],In=u&&"CompositionEvent"in window,Rn=null;u&&"documentMode"in document&&(Rn=document.documentMode);var Fn=u&&"TextEvent"in window&&!Rn,Ln=u&&(!In||Rn&&8<Rn&&11>=Rn),An=String.fromCharCode(32),Yn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Cn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Un(e,t,n,r){Me(r),0<(t=$r(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,qn=null;function Qn(e){Ar(e,0)}function Kn(e){if(q(xa(e)))return e}function Zn(e,t){if("change"===e)return t}var Gn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Gn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){$n&&($n.detachEvent("onpropertychange",nr),qn=$n=null)}function nr(e){if("value"===e.propertyName&&Kn(qn)){var t=[];Un(t,qn,e,we(e)),Pe(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,($n=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(qn)}function or(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,vr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Q(r)||("selectionStart"in(r=gr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=$r(yr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},_r={},jr={};function Sr(e){if(_r[e])return _r[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in jr)return _r[e]=n[t];return e}u&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Mr=Sr("animationend"),Dr=Sr("animationiteration"),Or=Sr("animationstart"),Er=Sr("transitionend"),Nr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){Nr.set(e,t),l(t,[e])}for(var Cr=0;Cr<Pr.length;Cr++){var Ir=Pr[Cr];Tr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Tr(Mr,"onAnimationEnd"),Tr(Dr,"onAnimationIteration"),Tr(Or,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(Er,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(We.apply(this,arguments),Fe){if(!Fe)throw Error(o(198));var u=Le;Fe=!1,Le=null,Ae||(Ae=!0,Ye=u)}}(r,t,void 0,e),e.currentTarget=null}function Ar(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Lr(a,s,c),o=l}}}if(Ae)throw e=Ye,Ae=!1,Ye=null,e}function Yr(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Wr]){e[Wr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Fr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,zr("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Zt(t)){case 1:var a=Ut;break;case 4:a=$t;break;default:a=qt}n=a.bind(null,t,n,e),a=void 0,!Ce||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=va(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=o,a=we(n),i=[];e:{var s=Nr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Dn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case Mr:case Dr:case Or:l=yn;break;case Er:l=Nn;break;case"scroll":l=fn;break;case"wheel":l=Tn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&(null!=(m=Te(p,f))&&u.push(Ur(p,m,h)))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!va(c)&&!c[pa])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?va(c):null)&&(c!==(d=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=On,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:xa(l),h=null==c?s:xa(c),(s=new u(m,p+"leave",l,n,a)).target=d,s.relatedTarget=h,m=null,va(a)===r&&((u=new u(f,p+"enter",c,n,a)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,p=0,h=u=l;h;h=qr(h))p++;for(h=0,m=f;m;m=qr(m))h++;for(;0<p-h;)u=qr(u),p--;for(;0<h-p;)f=qr(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=qr(u),f=qr(f)}u=null}else u=null;null!==l&&Qr(i,s,l,u,!1),null!==c&&null!==d&&Qr(i,d,c,u,!0)}if("select"===(l=(s=r?xa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Zn;else if(Vn(s))if(Gn)g=ir;else{g=ar;var y=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Un(i,g,n,a):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ee(s,"number",s.value)),y=r?xa(r):window,e){case"focusin":(Vn(y)||"true"===y.contentEditable)&&(gr=y,yr=r,vr=null);break;case"focusout":vr=yr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(i,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(i,n,a)}var v;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Ln&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(v=en()):(Xt="value"in(Gt=a)?Gt.value:Gt.textContent,Hn=!0)),0<(y=$r(r,b)).length&&(b=new xn(b,e,null,n,a),i.push({event:b,listeners:y}),v?b.data=v:null!==(v=Wn(n))&&(b.data=v))),(v=Fn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Yn=!0,An);case"textInput":return(e=t.data)===An&&Yn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!In&&zn(e,t)?(e=en(),Jt=Xt=Gt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=$r(r,"onBeforeInput")).length&&(a=new xn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=v))}Ar(i,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Te(e,n))&&r.unshift(Ur(e,o,a)),null!=(o=Te(e,t))&&r.push(Ur(e,o,a))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Te(n,o))&&i.unshift(Ur(n,l,s)):a||null!=(l=Te(n,o))&&i.push(Ur(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Zr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(Kr,"\n").replace(Zr,"")}function Xr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof Promise?Promise:void 0,ia="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ht(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,ha="__reactProps$"+da,pa="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,ya="__reactHandles$"+da;function va(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pa]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[fa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[fa]||e[pa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[ha]||null}var ka=[],_a=-1;function ja(e){return{current:e}}function Sa(e){0>_a||(e.current=ka[_a],ka[_a]=null,_a--)}function Ma(e,t){_a++,ka[_a]=e.current,e.current=t}var Da={},Oa=ja(Da),Ea=ja(!1),Na=Da;function Pa(e,t){var n=e.type.contextTypes;if(!n)return Da;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ta(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ca(){Sa(Ea),Sa(Oa)}function Ia(e,t,n){if(Oa.current!==Da)throw Error(o(168));Ma(Oa,t),Ma(Ea,n)}function Ra(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,B(e)||"Unknown",a));return L({},n,r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Da,Na=Oa.current,Ma(Oa,e),Ma(Ea,Ea.current),!0}function La(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ra(e,t,Na),r.__reactInternalMemoizedMergedChildContext=e,Sa(Ea),Sa(Oa),Ma(Oa,e)):Sa(Ea),Ma(Ea,n)}var Aa=null,Ya=!1,za=!1;function Wa(e){null===Aa?Aa=[e]:Aa.push(e)}function Ha(){if(!za&&null!==Aa){za=!0;var e=0,t=bt;try{var n=Aa;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Aa=null,Ya=!1}catch(a){throw null!==Aa&&(Aa=Aa.slice(e+1)),qe(Je,Ha),a}finally{bt=t,za=!1}}return null}var Ba=[],Va=0,Ua=null,$a=0,qa=[],Qa=0,Ka=null,Za=1,Ga="";function Xa(e,t){Ba[Va++]=$a,Ba[Va++]=Ua,Ua=e,$a=t}function Ja(e,t,n){qa[Qa++]=Za,qa[Qa++]=Ga,qa[Qa++]=Ka,Ka=e;var r=Za;e=Ga;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Za=1<<32-it(t)+a|n<<a|r,Ga=o+e}else Za=1<<o|n<<a|r,Ga=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ua;)Ua=Ba[--Va],Ba[Va]=null,$a=Ba[--Va],Ba[Va]=null;for(;e===Ka;)Ka=qa[--Qa],qa[Qa]=null,Ga=qa[--Qa],qa[Qa]=null,Za=qa[--Qa],qa[Qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Pc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Za,overflow:Ga}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw ho(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=ro;e;)e=ca(e.nextSibling)}function po(){ro=no=null,ao=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var go=x.ReactCurrentBatchConfig;function yo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function vo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bo(e){return(0,e._init)(e._payload)}function xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Cc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Lc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===T&&bo(o)===t.type)?((r=a(t,n.props)).ref=yo(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=yo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ac(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Rc(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Lc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=yo(e,null,t),n.return=e,n;case k:return(t=Ac(t,e.mode,n)).return=e,t;case T:return f(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Rc(t,e.mode,n,null)).return=e,t;vo(e,t)}return null}function h(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?c(e,t,n,r):null;case k:return n.key===a?u(e,t,n,r):null;case T:return h(e,t,(a=n._init)(n._payload),r)}if(te(n)||R(n))return null!==a?null:d(e,t,n,r,null);vo(e,n)}return null}function p(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case T:return p(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||R(r))return d(t,e=e.get(n)||null,r,a,null);vo(t,r)}return null}function m(a,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=h(a,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,m),null===u?c=y:u.sibling=y,u=y,d=g}if(m===s.length)return n(a,d),ao&&Xa(a,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(a,s[m],l))&&(o=i(d,o,m),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(a,m),c}for(d=r(a,d);m<s.length;m++)null!==(g=p(d,a,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=i(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),c}function g(a,s,l,c){var u=R(l);if("function"!==typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,g=s=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=h(a,m,v.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),s=i(b,s,g),null===d?u=b:d.sibling=b,d=b,m=y}if(v.done)return n(a,m),ao&&Xa(a,g),u;if(null===m){for(;!v.done;g++,v=l.next())null!==(v=f(a,v.value,c))&&(s=i(v,s,g),null===d?u=v:d.sibling=v,d=v);return ao&&Xa(a,g),u}for(m=r(a,m);!v.done;g++,v=l.next())null!==(v=p(m,a,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),u}return function e(r,o,i,l){if("object"===typeof i&&null!==i&&i.type===_&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===_){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===T&&bo(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=yo(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===_?((o=Rc(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Ic(i.type,i.key,i.props,null,r.mode,l)).ref=yo(r,o,i),l.return=r,r=l)}return s(r);case k:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ac(i,r.mode,l)).return=r,r=o}return s(r);case T:return e(r,o,(u=i._init)(i._payload),l)}if(te(i))return m(r,o,i,l);if(R(i))return g(r,o,i,l);vo(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Lc(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var wo=xo(!0),ko=xo(!1),_o=ja(null),jo=null,So=null,Mo=null;function Do(){Mo=So=jo=null}function Oo(e){var t=_o.current;Sa(_o),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function No(e,t){jo=e,Mo=So=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(Mo!==e)if(e={context:e,memoizedValue:t,next:null},null===So){if(null===jo)throw Error(o(308));So=e,jo.dependencies={lanes:0,firstContext:e}}else So=So.next=e;return t}var To=null;function Co(e){null===To?To=[e]:To.push(e)}function Io(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Co(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ro(e,r)}function Ro(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Fo=!1;function Lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Yo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ol)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ro(e,n)}return null===(a=r.interleaved)?(t.next=t,Co(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ro(e,n)}function Wo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Ho(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var a=e.updateQueue;Fo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=n,m.tag){case 1:if("function"===typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=m.payload)?p.call(h,d,f):p)||void 0===f)break e;d=L({},d,f);break e;case 2:Fo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,i|=f;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fl|=i,e.lanes=i,e.memoizedState=d}}function Vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var Uo={},$o=ja(Uo),qo=ja(Uo),Qo=ja(Uo);function Ko(e){if(e===Uo)throw Error(o(174));return e}function Zo(e,t){switch(Ma(Qo,t),Ma(qo,e),Ma($o,Uo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Sa($o),Ma($o,t)}function Go(){Sa($o),Sa(qo),Sa(Qo)}function Xo(e){Ko(Qo.current);var t=Ko($o.current),n=le(t,e.type);t!==n&&(Ma(qo,e),Ma($o,n))}function Jo(e){qo.current===e&&(Sa($o),Sa(qo))}var ei=ja(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ni=[];function ri(){for(var e=0;e<ni.length;e++)ni[e]._workInProgressVersionPrimary=null;ni.length=0}var ai=x.ReactCurrentDispatcher,oi=x.ReactCurrentBatchConfig,ii=0,si=null,li=null,ci=null,ui=!1,di=!1,fi=0,hi=0;function pi(){throw Error(o(321))}function mi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function gi(e,t,n,r,a,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?Ji:es,e=n(r,a),di){i=0;do{if(di=!1,fi=0,25<=i)throw Error(o(301));i+=1,ci=li=null,t.updateQueue=null,ai.current=ts,e=n(r,a)}while(di)}if(ai.current=Xi,t=null!==li&&null!==li.next,ii=0,ci=li=si=null,ui=!1,t)throw Error(o(300));return e}function yi(){var e=0!==fi;return fi=0,e}function vi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ci?si.memoizedState=ci=e:ci=ci.next=e,ci}function bi(){if(null===li){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===ci?si.memoizedState:ci.next;if(null!==t)ci=t,li=e;else{if(null===e)throw Error(o(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===ci?si.memoizedState=ci=e:ci=ci.next=e}return ci}function xi(e,t){return"function"===typeof t?t(e):t}function wi(e){var t=bi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=li,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((ii&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,si.lanes|=d,Fl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,si.lanes|=i,Fl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ki(e){var t=bi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(bs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function _i(){}function ji(e,t){var n=si,r=bi(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,bs=!0),r=r.queue,Fi(Di.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==ci&&1&ci.memoizedState.tag){if(n.flags|=2048,Pi(9,Mi.bind(null,n,r,a,t),void 0,null),null===El)throw Error(o(349));0!==(30&ii)||Si(n,t,a)}return a}function Si(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Mi(e,t,n,r){t.value=n,t.getSnapshot=r,Oi(t)&&Ei(e)}function Di(e,t,n){return n((function(){Oi(t)&&Ei(e)}))}function Oi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ei(e){var t=Ro(e,1);null!==t&&nc(t,e,1,-1)}function Ni(e){var t=vi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xi,lastRenderedState:e},t.queue=e,e=e.dispatch=Qi.bind(null,si,e),[t.memoizedState,e]}function Pi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ti(){return bi().memoizedState}function Ci(e,t,n,r){var a=vi();si.flags|=e,a.memoizedState=Pi(1|t,n,void 0,void 0===r?null:r)}function Ii(e,t,n,r){var a=bi();r=void 0===r?null:r;var o=void 0;if(null!==li){var i=li.memoizedState;if(o=i.destroy,null!==r&&mi(r,i.deps))return void(a.memoizedState=Pi(t,n,o,r))}si.flags|=e,a.memoizedState=Pi(1|t,n,o,r)}function Ri(e,t){return Ci(8390656,8,e,t)}function Fi(e,t){return Ii(2048,8,e,t)}function Li(e,t){return Ii(4,2,e,t)}function Ai(e,t){return Ii(4,4,e,t)}function Yi(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function zi(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ii(4,4,Yi.bind(null,t,e),n)}function Wi(){}function Hi(e,t){var n=bi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bi(e,t){var n=bi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Vi(e,t,n){return 0===(21&ii)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),si.lanes|=n,Fl|=n,e.baseState=!0),t)}function Ui(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=oi.transition;oi.transition={};try{e(!1),t()}finally{bt=n,oi.transition=r}}function $i(){return bi().memoizedState}function qi(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ki(e))Zi(t,n);else if(null!==(n=Io(e,t,n,r))){nc(n,e,r,ec()),Gi(n,t,r)}}function Qi(e,t,n){var r=tc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Zi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,Co(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Io(e,t,a,r))&&(nc(n,e,r,a=ec()),Gi(n,t,r))}}function Ki(e){var t=e.alternate;return e===si||null!==t&&t===si}function Zi(e,t){di=ui=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gi(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Xi={readContext:Po,useCallback:pi,useContext:pi,useEffect:pi,useImperativeHandle:pi,useInsertionEffect:pi,useLayoutEffect:pi,useMemo:pi,useReducer:pi,useRef:pi,useState:pi,useDebugValue:pi,useDeferredValue:pi,useTransition:pi,useMutableSource:pi,useSyncExternalStore:pi,useId:pi,unstable_isNewReconciler:!1},Ji={readContext:Po,useCallback:function(e,t){return vi().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Ri,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ci(4194308,4,Yi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ci(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ci(4,2,e,t)},useMemo:function(e,t){var n=vi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vi().memoizedState=e},useState:Ni,useDebugValue:Wi,useDeferredValue:function(e){return vi().memoizedState=e},useTransition:function(){var e=Ni(!1),t=e[0];return e=Ui.bind(null,e[1]),vi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=si,a=vi();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===El)throw Error(o(349));0!==(30&ii)||Si(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ri(Di.bind(null,r,i,e),[e]),r.flags|=2048,Pi(9,Mi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=vi(),t=El.identifierPrefix;if(ao){var n=Ga;t=":"+t+"R"+(n=(Za&~(1<<32-it(Za)-1)).toString(32)+n),0<(n=fi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=hi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Po,useCallback:Hi,useContext:Po,useEffect:Fi,useImperativeHandle:zi,useInsertionEffect:Li,useLayoutEffect:Ai,useMemo:Bi,useReducer:wi,useRef:Ti,useState:function(){return wi(xi)},useDebugValue:Wi,useDeferredValue:function(e){return Vi(bi(),li.memoizedState,e)},useTransition:function(){return[wi(xi)[0],bi().memoizedState]},useMutableSource:_i,useSyncExternalStore:ji,useId:$i,unstable_isNewReconciler:!1},ts={readContext:Po,useCallback:Hi,useContext:Po,useEffect:Fi,useImperativeHandle:zi,useInsertionEffect:Li,useLayoutEffect:Ai,useMemo:Bi,useReducer:ki,useRef:Ti,useState:function(){return ki(xi)},useDebugValue:Wi,useDeferredValue:function(e){var t=bi();return null===li?t.memoizedState=e:Vi(t,li.memoizedState,e)},useTransition:function(){return[ki(xi)[0],bi().memoizedState]},useMutableSource:_i,useSyncExternalStore:ji,useId:$i,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=L({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:L({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var as={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),o=Yo(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nc(t,e,a,r),Wo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),o=Yo(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=zo(e,o,a))&&(nc(t,e,a,r),Wo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),a=Yo(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=zo(e,a,r))&&(nc(t,e,r,n),Wo(t,e,r))}};function os(e,t,n,r,a,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function is(e,t,n){var r=!1,a=Da,o=t.contextType;return"object"===typeof o&&null!==o?o=Po(o):(a=Ta(t)?Na:Oa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Pa(e,a):Da),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=as,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&as.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Lo(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=Po(o):(o=Ta(t)?Na:Oa.current,a.context=Pa(e,o)),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(rs(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&as.enqueueReplaceState(a,a.state,null),Bo(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Yo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vl||(Vl=!0,Ul=r),ds(0,t)},n}function ps(e,t,n){(n=Yo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===$l?$l=new Set([this]):$l.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Sc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Yo(-1,1)).tag=2,zo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vs=x.ReactCurrentOwner,bs=!1;function xs(e,t,n,r){t.child=null===e?ko(t,null,n,r):wo(t,e.child,n,r)}function ws(e,t,n,r,a){n=n.render;var o=t.ref;return No(t,a),r=gi(e,t,n,r,o,a),n=yi(),null===e||bs?(ao&&n&&eo(t),t.flags|=1,xs(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vs(e,t,a))}function ks(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||Tc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,_s(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Vs(e,t,a)}return t.flags|=1,(e=Cc(o,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Vs(e,t,a);0!==(131072&e.flags)&&(bs=!0)}}return Ms(e,t,n,r,a)}function js(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ma(Cl,Tl),Tl|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ma(Cl,Tl),Tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ma(Cl,Tl),Tl|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ma(Cl,Tl),Tl|=r;return xs(e,t,a,n),t.child}function Ss(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ms(e,t,n,r,a){var o=Ta(n)?Na:Oa.current;return o=Pa(t,o),No(t,a),n=gi(e,t,n,r,o,a),r=yi(),null===e||bs?(ao&&r&&eo(t),t.flags|=1,xs(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vs(e,t,a))}function Ds(e,t,n,r,a){if(Ta(n)){var o=!0;Fa(t)}else o=!1;if(No(t,a),null===t.stateNode)Bs(e,t),is(t,n,r),ls(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"===typeof c&&null!==c?c=Po(c):c=Pa(t,c=Ta(n)?Na:Oa.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,i,r,c),Fo=!1;var f=t.memoizedState;i.state=f,Bo(t,r,i,a),l=t.memoizedState,s!==r||f!==l||Ea.current||Fo?("function"===typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Fo||os(t,n,s,r,f,l,c))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ao(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),i.props=c,d=t.pendingProps,f=i.context,"object"===typeof(l=n.contextType)&&null!==l?l=Po(l):l=Pa(t,l=Ta(n)?Na:Oa.current);var h=n.getDerivedStateFromProps;(u="function"===typeof h||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,i,r,l),Fo=!1,f=t.memoizedState,i.state=f,Bo(t,r,i,a);var p=t.memoizedState;s!==d||f!==p||Ea.current||Fo?("function"===typeof h&&(rs(t,n,h,r),p=t.memoizedState),(c=Fo||os(t,n,c,r,f,p,l)||!1)?(u||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,r=c):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,o,a)}function Os(e,t,n,r,a,o){Ss(e,t);var i=0!==(128&t.flags);if(!r&&!i)return a&&La(t,n,!1),Vs(e,t,o);r=t.stateNode,vs.current=t;var s=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=wo(t,e.child,null,o),t.child=wo(t,null,s,o)):xs(e,t,s,o),t.memoizedState=r.state,a&&La(t,n,!0),t.child}function Es(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),Zo(e,t.containerInfo)}function Ns(e,t,n,r,a){return po(),mo(a),t.flags|=256,xs(e,t,n,r),t.child}var Ps,Ts,Cs,Is,Rs={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ls(e,t,n){var r,a=t.pendingProps,i=ei.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ma(ei,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&a)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Fc(l,a,0,null),e=Rc(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=Rs,e):As(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,Ys(e,t,s,r=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Fc({mode:"visible",children:r.children},a,0,null),(i=Rc(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&wo(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Rs,i);if(0===(1&t.mode))return Ys(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,Ys(e,t,s,r=us(i=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=El)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|s))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ro(e,a),nc(r,e,a,-1))}return mc(),Ys(e,t,s,r=us(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Dc.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(qa[Qa++]=Za,qa[Qa++]=Ga,qa[Qa++]=Ka,Za=e.id,Ga=e.overflow,Ka=t),t=As(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 0===(1&l)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=Cc(i,c)).subtreeFlags=14680064&i.subtreeFlags,null!==r?s=Cc(r,s):(s=Rc(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Rs,a}return e=(s=e.child).sibling,a=Cc(s,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function As(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ys(e,t,n,r){return null!==r&&mo(r),wo(t,e.child,null,n),(e=As(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ws(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Hs(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=ei.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zs(e,n,t);else if(19===e.tag)zs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ma(ei,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ti(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ws(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ti(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ws(t,!0,n,null,o);break;case"together":Ws(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Cc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Cc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Us(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $s(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $s(t),null;case 1:case 17:return Ta(t.type)&&Ca(),$s(t),null;case 3:return r=t.stateNode,Go(),Sa(Ea),Sa(Oa),ri(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ic(oo),oo=null))),Ts(e,t),$s(t),null;case 5:Jo(t);var a=Ko(Qo.current);if(n=t.type,null!==e&&null!=t.stateNode)Cs(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return $s(t),null}if(e=Ko($o.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[ha]=i,e=0!==(1&t.mode),n){case"dialog":Yr("cancel",r),Yr("close",r);break;case"iframe":case"object":case"embed":Yr("load",r);break;case"video":case"audio":for(a=0;a<Rr.length;a++)Yr(Rr[a],r);break;case"source":Yr("error",r);break;case"img":case"image":case"link":Yr("error",r),Yr("load",r);break;case"details":Yr("toggle",r);break;case"input":Z(r,i),Yr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Yr("invalid",r);break;case"textarea":ae(r,i),Yr("invalid",r)}for(var l in ve(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Yr("scroll",r)}switch(n){case"input":$(r),J(r,i,!0);break;case"textarea":$(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fa]=t,e[ha]=r,Ps(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Yr("cancel",e),Yr("close",e),a=r;break;case"iframe":case"object":case"embed":Yr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Rr.length;a++)Yr(Rr[a],e);a=r;break;case"source":Yr("error",e),a=r;break;case"img":case"image":case"link":Yr("error",e),Yr("load",e),a=r;break;case"details":Yr("toggle",e),a=r;break;case"input":Z(e,r),a=K(e,r),Yr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=L({},r,{value:void 0}),Yr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Yr("invalid",e)}for(i in ve(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?ge(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"===typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Yr("scroll",e):null!=u&&b(e,i,u,l))}switch(n){case"input":$(e),J(e,r,!1);break;case"textarea":$(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $s(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=Ko(Qo.current),Ko($o.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!==(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return $s(t),null;case 13:if(Sa(ei),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))ho(),po(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else po(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$s(t),i=!1}else null!==oo&&(ic(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ei.current)?0===Il&&(Il=3):mc())),null!==t.updateQueue&&(t.flags|=4),$s(t),null);case 4:return Go(),Ts(e,t),null===e&&Hr(t.stateNode.containerInfo),$s(t),null;case 10:return Oo(t.type._context),$s(t),null;case 19:if(Sa(ei),null===(i=t.memoizedState))return $s(t),null;if(r=0!==(128&t.flags),null===(l=i.rendering))if(r)Us(i,!1);else{if(0!==Il||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ti(e))){for(t.flags|=128,Us(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ma(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Ge()>Hl&&(t.flags|=128,r=!0,Us(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ti(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Us(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return $s(t),null}else 2*Ge()-i.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Us(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ge(),t.sibling=null,n=ei.current,Ma(ei,r?1&n|2:1&n),t):($s(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Tl)&&($s(t),6&t.subtreeFlags&&(t.flags|=8192)):$s(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Qs(e,t){switch(to(t),t.tag){case 1:return Ta(t.type)&&Ca(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Go(),Sa(Ea),Sa(Oa),ri(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Sa(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Sa(ei),null;case 4:return Go(),null;case 10:return Oo(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ts=function(){},Cs=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Ko($o.current);var o,i=null;switch(n){case"input":a=K(e,a),r=K(e,r),i=[];break;case"select":a=L({},a,{value:void 0}),r=L({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Yr("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ks=!1,Zs=!1,Gs="function"===typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){jc(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){jc(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&el(t,n,o)}a=a.next}while(a!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[ha],delete t[ma],delete t[ga],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function il(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Zs||Js(n,t);case 6:var r=ul,a=dl;ul=null,fl(e,t,n),dl=a,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Ht(e)):la(ul,n.stateNode));break;case 4:r=ul,a=dl,ul=n.stateNode.containerInfo,dl=!0,fl(e,t,n),ul=r,dl=a;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&el(n,t,i),a=a.next}while(a!==r)}fl(e,t,n);break;case 1:if(!Zs&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){jc(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,fl(e,t,n),Zs=r):fl(e,t,n);break;default:fl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Gs),t.forEach((function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));hl(i,s,a),ul=null,dl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){jc(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(g){jc(e,e.return,g)}try{nl(5,e,e.return)}catch(g){jc(e,e.return,g)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(g){jc(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&G(a,i),be(l,s);var u=be(l,i);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ge(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):b(a,d,f,u)}switch(l){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var h=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?ne(a,!!i.multiple,p,!1):h!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[ha]=i}catch(g){jc(e,e.return,g)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){jc(e,e.return,g)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(g){jc(e,e.return,g)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Wl=Ge())),4&r&&pl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,ml(t,e),Zs=u):ml(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Xs=e,d=e.child;null!==d;){for(f=Xs=d;null!==Xs;){switch(p=(h=Xs).child,h.tag){case 0:case 11:case 14:case 15:nl(4,h,h.return);break;case 1:Js(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){jc(r,n,g)}}break;case 5:Js(h,h.return);break;case 22:if(null!==h.memoizedState){wl(f);continue}}null!==p?(p.return=h,Xs=p):wl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,u?"function"===typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(g){jc(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){jc(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),yl(e),4&r&&pl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(il(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cl(e,sl(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;ll(e,sl(e),i);break;default:throw Error(o(161))}}catch(s){jc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Xs=e,bl(e,t,n)}function bl(e,t,n){for(var r=0!==(1&e.mode);null!==Xs;){var a=Xs,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ks;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Ks;var c=Zs;if(Ks=i,(Zs=l)&&!c)for(Xs=a;null!==Xs;)l=(i=Xs).child,22===i.tag&&null!==i.memoizedState?kl(a):null!==l?(l.return=i,Xs=l):kl(a);for(;null!==o;)Xs=o,bl(o,t,n),o=o.sibling;Xs=a,Ks=s,Zs=c}xl(e)}else 0!==(8772&a.subtreeFlags)&&null!==o?(o.return=a,Xs=o):xl(e)}}function xl(e){for(;null!==Xs;){var t=Xs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Vo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ht(f)}}}break;default:throw Error(o(163))}Zs||512&t.flags&&al(t)}catch(h){jc(t,t.return,h)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function kl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){jc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){jc(t,a,l)}}var o=t.return;try{al(t)}catch(l){jc(t,o,l)}break;case 5:var i=t.return;try{al(t)}catch(l){jc(t,i,l)}}}catch(l){jc(t,t.return,l)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var _l,jl=Math.ceil,Sl=x.ReactCurrentDispatcher,Ml=x.ReactCurrentOwner,Dl=x.ReactCurrentBatchConfig,Ol=0,El=null,Nl=null,Pl=0,Tl=0,Cl=ja(0),Il=0,Rl=null,Fl=0,Ll=0,Al=0,Yl=null,zl=null,Wl=0,Hl=1/0,Bl=null,Vl=!1,Ul=null,$l=null,ql=!1,Ql=null,Kl=0,Zl=0,Gl=null,Xl=-1,Jl=0;function ec(){return 0!==(6&Ol)?Ge():-1!==Xl?Xl:Xl=Ge()}function tc(e){return 0===(1&e.mode)?1:0!==(2&Ol)&&0!==Pl?Pl&-Pl:null!==go.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function nc(e,t,n,r){if(50<Zl)throw Zl=0,Gl=null,Error(o(185));yt(e,n,r),0!==(2&Ol)&&e===El||(e===El&&(0===(2&Ol)&&(Ll|=n),4===Il&&sc(e,Pl)),rc(e,r),1===n&&0===Ol&&0===(1&t.mode)&&(Hl=Ge()+500,Ya&&Ha()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?0!==(s&n)&&0===(s&r)||(a[i]=ht(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ft(e,e===El?Pl:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Ya=!0,Wa(e)}(lc.bind(null,e)):Wa(lc.bind(null,e)),ia((function(){0===(6&Ol)&&Ha()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ec(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Xl=-1,Jl=0,0!==(6&Ol))throw Error(o(327));var n=e.callbackNode;if(kc()&&e.callbackNode!==n)return null;var r=ft(e,e===El?Pl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var a=Ol;Ol|=2;var i=pc();for(El===e&&Pl===t||(Bl=null,Hl=Ge()+500,fc(e,t));;)try{vc();break}catch(l){hc(e,l)}Do(),Sl.current=i,Ol=a,null!==Nl?t=0:(El=null,Pl=0,t=Il)}if(0!==t){if(2===t&&(0!==(a=pt(e))&&(r=a,t=oc(e,a))),1===t)throw n=Rl,fc(e,0),sc(e,r),rc(e,Ge()),n;if(6===t)sc(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=gc(e,r))&&(0!==(i=pt(e))&&(r=i,t=oc(e,i))),1===t))throw n=Rl,fc(e,0),sc(e,r),rc(e,Ge()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:wc(e,zl,Bl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Wl+500-Ge())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(wc.bind(null,e,zl,Bl),t);break}wc(e,zl,Bl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jl(r/1960))-r)){e.timeoutHandle=ra(wc.bind(null,e,zl,Bl),r);break}wc(e,zl,Bl);break;default:throw Error(o(329))}}}return rc(e,Ge()),e.callbackNode===n?ac.bind(null,e):null}function oc(e,t){var n=Yl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=zl,zl=n,null!==t&&ic(t)),e}function ic(e){null===zl?zl=e:zl.push.apply(zl,e)}function sc(e,t){for(t&=~Al,t&=~Ll,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(0!==(6&Ol))throw Error(o(327));kc();var t=ft(e,0);if(0===(1&t))return rc(e,Ge()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=oc(e,r))}if(1===n)throw n=Rl,fc(e,0),sc(e,t),rc(e,Ge()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,zl,Bl),rc(e,Ge()),null}function cc(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Hl=Ge()+500,Ya&&Ha())}}function uc(e){null!==Ql&&0===Ql.tag&&0===(6&Ol)&&kc();var t=Ol;Ol|=1;var n=Dl.transition,r=bt;try{if(Dl.transition=null,bt=1,e)return e()}finally{bt=r,Dl.transition=n,0===(6&(Ol=t))&&Ha()}}function dc(){Tl=Cl.current,Sa(Cl)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Nl)for(n=Nl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ca();break;case 3:Go(),Sa(Ea),Sa(Oa),ri();break;case 5:Jo(r);break;case 4:Go();break;case 13:case 19:Sa(ei);break;case 10:Oo(r.type._context);break;case 22:case 23:dc()}n=n.return}if(El=e,Nl=e=Cc(e.current,null),Pl=Tl=t,Il=0,Rl=null,Al=Ll=Fl=0,zl=Yl=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function hc(e,t){for(;;){var n=Nl;try{if(Do(),ai.current=Xi,ui){for(var r=si.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ui=!1}if(ii=0,ci=li=si=null,di=!1,fi=0,Ml.current=null,null===n||null===n.return){Il=1,Rl=t,Nl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Pl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ys(p,s,l,0,t),1&p.mode&&ms(i,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){ms(i,u,t),mc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var y=gs(s);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),ys(y,s,l,0,t),mo(cs(c,l));break e}}i=c=cs(c,l),4!==Il&&(Il=2),null===Yl?Yl=[i]:Yl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ho(i,hs(0,c,t));break e;case 1:l=c;var v=i.type,b=i.stateNode;if(0===(128&i.flags)&&("function"===typeof v.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$l||!$l.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ho(i,ps(i,l,t));break e}}i=i.return}while(null!==i)}xc(n)}catch(x){t=x,Nl===n&&null!==n&&(Nl=n=n.return);continue}break}}function pc(){var e=Sl.current;return Sl.current=Xi,null===e?Xi:e}function mc(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===El||0===(268435455&Fl)&&0===(268435455&Ll)||sc(El,Pl)}function gc(e,t){var n=Ol;Ol|=2;var r=pc();for(El===e&&Pl===t||(Bl=null,fc(e,t));;)try{yc();break}catch(a){hc(e,a)}if(Do(),Ol=n,Sl.current=r,null!==Nl)throw Error(o(261));return El=null,Pl=0,Il}function yc(){for(;null!==Nl;)bc(Nl)}function vc(){for(;null!==Nl&&!Ke();)bc(Nl)}function bc(e){var t=_l(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,null===t?xc(e):Nl=t,Ml.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=qs(n,t,Tl)))return void(Nl=n)}else{if(null!==(n=Qs(n,t)))return n.flags&=32767,void(Nl=n);if(null===e)return Il=6,void(Nl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Nl=t);Nl=t=e}while(null!==t);0===Il&&(Il=5)}function wc(e,t,n){var r=bt,a=Dl.transition;try{Dl.transition=null,bt=1,function(e,t,n,r){do{kc()}while(null!==Ql);if(0!==(6&Ol))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===El&&(Nl=El=null,Pl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||ql||(ql=!0,Ec(tt,(function(){return kc(),null}))),i=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||i){i=Dl.transition,Dl.transition=null;var s=bt;bt=1;var l=Ol;Ol|=4,Ml.current=null,function(e,t){if(ea=Vt,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==a&&3!==f.nodeType||(l=s+a),f!==i||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===a&&(l=s),h===i&&++d===r&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Vt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(w){jc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),pr(ta),Vt=!!ea,ta=ea=null,e.current=n,vl(n,e,a),Ze(),Ol=l,bt=s,Dl.transition=i}else e.current=n;if(ql&&(ql=!1,Ql=e,Kl=a),i=e.pendingLanes,0===i&&($l=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rc(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Vl)throw Vl=!1,e=Ul,Ul=null,e;0!==(1&Kl)&&0!==e.tag&&kc(),i=e.pendingLanes,0!==(1&i)?e===Gl?Zl++:(Zl=0,Gl=e):Zl=0,Ha()}(e,t,n,r)}finally{Dl.transition=a,bt=r}return null}function kc(){if(null!==Ql){var e=xt(Kl),t=Dl.transition,n=bt;try{if(Dl.transition=null,bt=16>e?16:e,null===Ql)var r=!1;else{if(e=Ql,Ql=null,Kl=0,0!==(6&Ol))throw Error(o(331));var a=Ol;for(Ol|=4,Xs=e.current;null!==Xs;){var i=Xs,s=i.child;if(0!==(16&Xs.flags)){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Xs=f;else for(;null!==Xs;){var h=(d=Xs).sibling,p=d.return;if(ol(d),d===u){Xs=null;break}if(null!==h){h.return=p,Xs=h;break}Xs=p}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Xs=i}}if(0!==(2064&i.subtreeFlags)&&null!==s)s.return=i,Xs=s;else e:for(;null!==Xs;){if(0!==(2048&(i=Xs).flags))switch(i.tag){case 0:case 11:case 15:nl(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Xs=v;break e}Xs=i.return}}var b=e.current;for(Xs=b;null!==Xs;){var x=(s=Xs).child;if(0!==(2064&s.subtreeFlags)&&null!==x)x.return=s,Xs=x;else e:for(s=b;null!==Xs;){if(0!==(2048&(l=Xs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(k){jc(l,l.return,k)}if(l===s){Xs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Xs=w;break e}Xs=l.return}}if(Ol=a,Ha(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(k){}r=!0}return r}finally{bt=n,Dl.transition=t}}return!1}function _c(e,t,n){e=zo(e,t=hs(0,t=cs(n,t),1),1),t=ec(),null!==e&&(yt(e,1,t),rc(e,t))}function jc(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===$l||!$l.has(r))){t=zo(t,e=ps(t,e=cs(n,e),1),1),e=ec(),null!==t&&(yt(t,1,e),rc(t,e));break}}t=t.return}}function Sc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,El===e&&(Pl&n)===n&&(4===Il||3===Il&&(130023424&Pl)===Pl&&500>Ge()-Wl?fc(e,0):Al|=n),rc(e,t)}function Mc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=ec();null!==(e=Ro(e,t))&&(yt(e,t,n),rc(e,n))}function Dc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Mc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Mc(e,n)}function Ec(e,t){return qe(e,t)}function Nc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pc(e,t,n,r){return new Nc(e,t,n,r)}function Tc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Cc(e,t){var n=e.alternate;return null===n?((n=Pc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,a,i){var s=2;if(r=e,"function"===typeof e)Tc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case _:return Rc(n.children,a,i,t);case j:s=8,a|=8;break;case S:return(e=Pc(12,n,t,2|a)).elementType=S,e.lanes=i,e;case E:return(e=Pc(13,n,t,a)).elementType=E,e.lanes=i,e;case N:return(e=Pc(19,n,t,a)).elementType=N,e.lanes=i,e;case C:return Fc(n,a,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case M:s=10;break e;case D:s=9;break e;case O:s=11;break e;case P:s=14;break e;case T:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Rc(e,t,n,r){return(e=Pc(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Pc(22,e,r,t)).elementType=C,e.lanes=n,e.stateNode={isHidden:!1},e}function Lc(e,t,n){return(e=Pc(6,e,null,t)).lanes=n,e}function Ac(e,t,n){return(t=Pc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function zc(e,t,n,r,a,o,i,s,l){return e=new Yc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Pc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(o),e}function Wc(e){if(!e)return Da;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ta(n))return Ra(e,n,t)}return t}function Hc(e,t,n,r,a,o,i,s,l){return(e=zc(n,r,!0,e,0,o,0,s,l)).context=Wc(null),n=e.current,(o=Yo(r=ec(),a=tc(n))).callback=void 0!==t&&null!==t?t:null,zo(n,o,a),e.current.lanes=a,yt(e,a,r),rc(e,r),e}function Bc(e,t,n,r){var a=t.current,o=ec(),i=tc(a);return n=Wc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Yo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=zo(a,t,i))&&(nc(e,a,i,o),Wo(e,a,i)),i}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $c(e,t){Uc(e,t),(e=e.alternate)&&Uc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ea.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Es(t),po();break;case 5:Xo(t);break;case 1:Ta(t.type)&&Fa(t);break;case 4:Zo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ma(_o,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ma(ei,1&ei.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ls(e,t,n):(Ma(ei,1&ei.current),null!==(e=Vs(e,t,n))?e.sibling:null);Ma(ei,1&ei.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ma(ei,ei.current),r)break;return null;case 22:case 23:return t.lanes=0,js(e,t,n)}return Vs(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ao&&0!==(1048576&t.flags)&&Ja(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bs(e,t),e=t.pendingProps;var a=Pa(t,Oa.current);No(t,n),a=gi(null,t,r,e,a,n);var i=yi();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(i=!0,Fa(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Lo(t),a.updater=as,t.stateNode=a,a._reactInternals=t,ls(t,r,e,n),t=Os(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),xs(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Tc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===O)return 11;if(e===P)return 14}return 2}(r),e=ns(r,e),a){case 0:t=Ms(null,t,r,e,n);break e;case 1:t=Ds(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=ks(null,t,r,ns(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ms(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ds(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 3:e:{if(Es(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Ao(e,t),Bo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ns(e,t,r,n,a=cs(Error(o(423)),t));break e}if(r!==a){t=Ns(e,t,r,n,a=cs(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=ko(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(po(),r===a){t=Vs(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return Xo(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Ss(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Ls(e,t,n);case 4:return Zo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wo(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ws(e,t,r,a=t.elementType===r?a:ns(r,a),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ma(_o,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Ea.current){t=Vs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Yo(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),Eo(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Eo(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}xs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,No(t,n),r=r(a=Po(a)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return a=ns(r=t.type,t.pendingProps),ks(e,t,r,a=ns(r.type,a),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ns(r,a),Bs(e,t),t.tag=1,Ta(r)?(e=!0,Fa(t)):e=!1,No(t,n),is(t,r,a),ls(t,r,a,n),Os(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return js(e,t,n)}throw Error(o(156,t.tag))};var qc="function"===typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Kc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"===typeof a){var s=a;a=function(){var e=Vc(i);s.call(e)}}Bc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"===typeof r){var o=r;r=function(){var e=Vc(i);o.call(e)}}var i=Hc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=i,e[pa]=i.current,Hr(8===e.nodeType?e.parentNode:e),uc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var s=r;r=function(){var e=Vc(l);s.call(e)}}var l=zc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[pa]=l.current,Hr(8===e.nodeType?e.parentNode:e),uc((function(){Bc(t,l,n,r)})),l}(n,t,e,a,r);return Vc(i)}Kc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Bc(e,t,null,null)},Kc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Bc(null,e,null,null)})),t[pa]=null}},Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=jt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ct.length&&0!==t&&t<Ct[n].priority;n++);Ct.splice(n,0,e),0===n&&Lt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Ge()),0===(6&Ol)&&(Hl=Ge()+500,Ha()))}break;case 13:uc((function(){var t=Ro(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),$c(e,1)}},kt=function(e){if(13===e.tag){var t=Ro(e,134217728);if(null!==t)nc(t,e,134217728,ec());$c(e,134217728)}},_t=function(e){if(13===e.tag){var t=tc(e),n=Ro(e,t);if(null!==n)nc(n,e,t,ec());$c(e,t)}},jt=function(){return bt},St=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));q(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cc,Ee=uc;var eu={usingClientEntryPoint:!1,Events:[ba,xa,wa,Me,De,cc]},tu={findFiberByHostInstance:va,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{at=ru.inject(nu),ot=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(o(299));var n=!1,r="",a=qc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=zc(e,1,!1,null,0,n,0,r,a),e[pa]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ue(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Gc(t))throw Error(o(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=qc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,a,0,i,s),e[pa]=t.current,Hr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Kc(t)},t.render=function(e,t,n){if(!Gc(t))throw Error(o(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Gc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[pa]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},4391:(e,t,n)=>{"use strict";var r=n(7950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},7950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2730)},6366:e=>{"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var s,l,c,u=t(e),d=t(i);if(u&&d){if((l=e.length)!=i.length)return!1;for(s=l;0!==s--;)if(!o(e[s],i[s]))return!1;return!0}if(u!=d)return!1;var f=e instanceof Date,h=i instanceof Date;if(f!=h)return!1;if(f&&h)return e.getTime()==i.getTime();var p=e instanceof RegExp,m=i instanceof RegExp;if(p!=m)return!1;if(p&&m)return e.toString()==i.toString();var g=n(e);if((l=g.length)!==n(i).length)return!1;for(s=l;0!==s--;)if(!r.call(i,g[s]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(s=l;0!==s--;)if(("_owner"!==(c=g[s])||!e.$$typeof)&&!o(e[c],i[c]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,t){try{return o(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},1153:(e,t,n)=>{"use strict";var r=n(5043),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},4202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var x=b.prototype=new v;x.constructor=b,m(x,y.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,_={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!j.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:_.current}}function M(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var D=/\/+/g;function O(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+O(l,0):o,w(i)?(a="",null!=e&&(a=e.replace(D,"$&/")+"/"),E(i,t,a,"",(function(e){return e}))):null!=i&&(M(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(D,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var u=o+O(s=e[c],c);l+=E(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=E(s=s.value,t,a,u=o+O(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,n){if(null==e)return e;var r=[],a=0;return E(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},C={transition:null},I={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:C,ReactCurrentOwner:_};function R(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=i,t.PureComponent=b,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.act=R,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!j.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=M,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=C.transition;C.transition={};try{e()}finally{C.transition=t}},t.unstable_act=R,t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.3.1"},5043:(e,t,n)=>{"use strict";e.exports=n(4202)},579:(e,t,n)=>{"use strict";e.exports=n(1153)},7234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<a&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,x(e),!m)if(null!==r(c))m=!0,C(k);else{var t=r(u);null!==t&&I(w,t.startTime-e)}}function k(e,n){m=!1,g&&(g=!1,v(M),M=-1),p=!0;var o=h;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!E());){var i=f.callback;if("function"===typeof i){f.callback=null,h=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(c)&&a(c),x(n)}else a(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&I(w,d.startTime-n),l=!1}return l}finally{f=null,h=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,j=!1,S=null,M=-1,D=5,O=-1;function E(){return!(t.unstable_now()-O<D)}function N(){if(null!==S){var e=t.unstable_now();O=e;var n=!0;try{n=S(!0,e)}finally{n?_():(j=!1,S=null)}}else j=!1}if("function"===typeof b)_=function(){b(N)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,T=P.port2;P.port1.onmessage=N,_=function(){T.postMessage(null)}}else _=function(){y(N,0)};function C(e){S=e,j||(j=!0,_())}function I(e,n){M=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,C(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(v(M),M=-1):g=!0,I(w,o-i))):(e.sortIndex=s,n(c,e),m||p||(m=!0,C(k))),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},8853:(e,t,n)=>{"use strict";e.exports=n(7234)},1517:e=>{const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=e=>e.match(t)||[],r=e=>e[0].toUpperCase()+e.slice(1),a=(e,t)=>n(e).join(t).toLowerCase(),o=e=>n(e).reduce(((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`),"");e.exports={words:n,upperFirst:r,camelCase:o,pascalCase:e=>r(o(e)),snakeCase:e=>a(e,"_"),kebabCase:e=>a(e,"-"),sentenceCase:e=>r(a(e," ")),titleCase:e=>n(e).map(r).join(" ")}},8704:e=>{function t(e,t){var n=e.length,r=new Array(n),a={},o=n,i=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var a=e[n];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),s=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)a[o]||l(e[o],o,new Set);return r;function l(e,t,o){if(o.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(f){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var u=i.get(e)||new Set;if(t=(u=Array.from(u)).length){o.add(e);do{var d=u[--t];l(d,s.get(d),o)}while(t);o.delete(e)}r[--n]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var a=e[n];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=t}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&a&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,n.d(o,i),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e,t=n(5043),r=n.t(t,2),a=n(4391);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(e||(e={}));const i="popstate";function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,r){return void 0===n&&(n=null),o({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?f(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(t,n,r,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:f=!1}=a,h=l.history,p=e.Pop,m=null,g=y();function y(){return(h.state||{idx:null}).idx}function v(){p=e.Pop;let t=y(),n=null==t?null:t-g;g=t,m&&m({action:p,location:x.location,delta:n})}function b(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,h.replaceState(o({},h.state,{idx:g}),""));let x={get action(){return p},get location(){return t(l,h)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(i,v),m=e,()=>{l.removeEventListener(i,v),m=null}},createHref:e=>n(l,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,n){p=e.Push;let a=u(x.location,t,n);r&&r(a,t),g=y()+1;let o=c(a,g),i=x.createHref(a);try{h.pushState(o,"",i)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(i)}f&&m&&m({action:p,location:x.location,delta:1})},replace:function(t,n){p=e.Replace;let a=u(x.location,t,n);r&&r(a,t),g=y();let o=c(a,g),i=x.createHref(a);h.replaceState(o,"",i),f&&m&&m({action:p,location:x.location,delta:0})},go:e=>h.go(e)};return x}var p;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),g(e,t,n,!1)}function g(e,t,n,r){let a=N(("string"===typeof t?f(t):t).pathname||"/",n);if(null==a)return null;let o=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let i=null;for(let s=0;null==i&&s<o.length;++s){let e=E(a);i=D(o[s],e,r)}return i}function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(s(i.relativePath.startsWith(r),'Absolute route path "'+i.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(r.length));let l=R([r,i.relativePath]),c=n.concat(i);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),y(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:M(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of v(e.path))a(e,t,r);else a(e,t)})),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=v(r.join("/")),s=[];return s.push(...i.map((e=>""===e?o:[o,e].join("/")))),a&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const b=/^:[\w-]+$/,x=3,w=2,k=1,_=10,j=-2,S=e=>"*"===e;function M(e,t){let n=e.split("/"),r=n.length;return n.some(S)&&(r+=j),t&&(r+=w),n.filter((e=>!S(e))).reduce(((e,t)=>e+(b.test(t)?x:""===t?k:_)),r)}function D(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===o?t:t.slice(o.length)||"/",u=O({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=O({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;Object.assign(a,u.params),i.push({params:a,pathname:R([o,u.pathname]),pathnameBase:F(R([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=R([o,u.pathnameBase]))}return i}function O(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),s=a.slice(1),c=r.reduce(((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=s[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{});return{params:c,pathname:o,pathnameBase:i,pattern:e}}function E(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function P(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function T(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function C(e,t){let n=T(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function I(e,t,n,r){let a;void 0===r&&(r=!1),"string"===typeof e?a=f(e):(a=o({},e),s(!a.pathname||!a.pathname.includes("?"),P("?","pathname","search",a)),s(!a.pathname||!a.pathname.includes("#"),P("#","pathname","hash",a)),s(!a.search||!a.search.includes("#"),P("#","search","hash",a)));let i,l=""===e||""===a.pathname,c=l?"/":a.pathname;if(null==c)i=n;else{let e=t.length-1;if(!r&&c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"===typeof e?f(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:L(r),hash:A(a)}}(a,i),d=c&&"/"!==c&&c.endsWith("/"),h=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!h||(u.pathname+="/"),u}const R=e=>e.join("/").replace(/\/\/+/g,"/"),F=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),L=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function Y(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const z=["post","put","patch","delete"],W=(new Set(z),["get",...z]);new Set(W),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}const B=t.createContext(null);const V=t.createContext(null);const U=t.createContext(null);const $=t.createContext(null);const q=t.createContext({outlet:null,matches:[],isDataRoute:!1});const Q=t.createContext(null);function K(){return null!=t.useContext($)}function Z(){return K()||s(!1),t.useContext($).location}function G(e){t.useContext(U).static||t.useLayoutEffect(e)}function X(){let{isDataRoute:e}=t.useContext(q);return e?function(){let{router:e}=le(ie.UseNavigateStable),n=ue(se.UseNavigateStable),r=t.useRef(!1);G((()=>{r.current=!0}));let a=t.useCallback((function(t,a){void 0===a&&(a={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,H({fromRouteId:n},a)))}),[e,n]);return a}():function(){K()||s(!1);let e=t.useContext(B),{basename:n,future:r,navigator:a}=t.useContext(U),{matches:o}=t.useContext(q),{pathname:i}=Z(),l=JSON.stringify(C(o,r.v7_relativeSplatPath)),c=t.useRef(!1);G((()=>{c.current=!0}));let u=t.useCallback((function(t,r){if(void 0===r&&(r={}),!c.current)return;if("number"===typeof t)return void a.go(t);let o=I(t,JSON.parse(l),i,"path"===r.relative);null==e&&"/"!==n&&(o.pathname="/"===o.pathname?n:R([n,o.pathname])),(r.replace?a.replace:a.push)(o,r.state,r)}),[n,a,l,i,e]);return u}()}function J(e,n){let{relative:r}=void 0===n?{}:n,{future:a}=t.useContext(U),{matches:o}=t.useContext(q),{pathname:i}=Z(),s=JSON.stringify(C(o,a.v7_relativeSplatPath));return t.useMemo((()=>I(e,JSON.parse(s),i,"path"===r)),[e,s,i,r])}function ee(n,r,a,o){K()||s(!1);let{navigator:i}=t.useContext(U),{matches:l}=t.useContext(q),c=l[l.length-1],u=c?c.params:{},d=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let h,p=Z();if(r){var g;let e="string"===typeof r?f(r):r;"/"===d||(null==(g=e.pathname)?void 0:g.startsWith(d))||s(!1),h=e}else h=p;let y=h.pathname||"/",v=y;if("/"!==d){let e=d.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=m(n,{pathname:v});let x=oe(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:R([d,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:R([d,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,a,o);return r&&x?t.createElement($.Provider,{value:{location:H({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:e.Pop}},x):x}function te(){let e=function(){var e;let n=t.useContext(Q),r=ce(se.UseRouteError),a=ue(se.UseRouteError);if(void 0!==n)return n;return null==(e=r.errors)?void 0:e[a]}(),n=Y(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:o},r):null,null)}const ne=t.createElement(te,null);class re extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?t.createElement(q.Provider,{value:this.props.routeContext},t.createElement(Q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:n,match:r,children:a}=e,o=t.useContext(B);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(q.Provider,{value:n},a)}function oe(e,n,r,a){var o;if(void 0===n&&(n=[]),void 0===r&&(r=null),void 0===a&&(a=null),null==e){var i;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(i=a)&&i.v7_partialHydration&&0===n.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let l=e,c=null==(o=r)?void 0:o.errors;if(null!=c){let e=l.findIndex((e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id])));e>=0||s(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,d=-1;if(r&&a&&a.v7_partialHydration)for(let t=0;t<l.length;t++){let e=l[t];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=t),e.route.id){let{loaderData:t,errors:n}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!n||void 0===n[e.route.id]);if(e.route.lazy||a){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight(((e,a,o)=>{let i,s=!1,f=null,h=null;var p;r&&(i=c&&a.route.id?c[a.route.id]:void 0,f=a.route.errorElement||ne,u&&(d<0&&0===o?(p="route-fallback",!1||de[p]||(de[p]=!0),s=!0,h=null):d===o&&(s=!0,h=a.route.hydrateFallbackElement||null)));let m=n.concat(l.slice(0,o+1)),g=()=>{let n;return n=i?f:s?h:a.route.Component?t.createElement(a.route.Component,null):a.route.element?a.route.element:e,t.createElement(ae,{match:a,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:n})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?t.createElement(re,{location:r.location,revalidation:r.revalidation,component:f,error:i,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var ie=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ie||{}),se=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(se||{});function le(e){let n=t.useContext(B);return n||s(!1),n}function ce(e){let n=t.useContext(V);return n||s(!1),n}function ue(e){let n=function(){let e=t.useContext(q);return e||s(!1),e}(),r=n.matches[n.matches.length-1];return r.route.id||s(!1),r.route.id}const de={};r.startTransition;function fe(e){s(!1)}function he(n){let{basename:r="/",children:a=null,location:o,navigationType:i=e.Pop,navigator:l,static:c=!1,future:u}=n;K()&&s(!1);let d=r.replace(/^\/*/,"/"),h=t.useMemo((()=>({basename:d,navigator:l,static:c,future:H({v7_relativeSplatPath:!1},u)})),[d,u,l,c]);"string"===typeof o&&(o=f(o));let{pathname:p="/",search:m="",hash:g="",state:y=null,key:v="default"}=o,b=t.useMemo((()=>{let e=N(p,d);return null==e?null:{location:{pathname:e,search:m,hash:g,state:y,key:v},navigationType:i}}),[d,p,m,g,y,v,i]);return null==b?null:t.createElement(U.Provider,{value:h},t.createElement($.Provider,{children:a,value:b}))}function pe(e){let{children:t,location:n}=e;return ee(me(t),n)}new Promise((()=>{}));t.Component;function me(e,n){void 0===n&&(n=[]);let r=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;let o=[...n,a];if(e.type===t.Fragment)return void r.push.apply(r,me(e.props.children,o));e.type!==fe&&s(!1),e.props.index&&e.props.children&&s(!1);let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=me(e.props.children,o)),r.push(i)})),r}var ge=n(7950),ye=n.t(ge,2);function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}function be(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const xe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],we=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(up){}const ke=t.createContext({isTransitioning:!1});new Map;const _e=r.startTransition;ye.flushSync,r.useId;function je(e){let{basename:n,children:r,future:a,window:o}=e,i=t.useRef();var s;null==i.current&&(i.current=(void 0===(s={window:o,v5Compat:!0})&&(s={}),h((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return u("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,s)));let l=i.current,[c,f]=t.useState({action:l.action,location:l.location}),{v7_startTransition:p}=a||{},m=t.useCallback((e=>{p&&_e?_e((()=>f(e))):f(e)}),[f,p]);return t.useLayoutEffect((()=>l.listen(m)),[l,m]),t.createElement(he,{basename:n,children:r,location:c.location,navigationType:c.action,navigator:l,future:a})}const Se="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Me=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,De=t.forwardRef((function(e,n){let r,{onClick:a,relative:o,reloadDocument:i,replace:l,state:c,target:u,to:f,preventScrollReset:h,unstable_viewTransition:p}=e,m=be(e,xe),{basename:g}=t.useContext(U),y=!1;if("string"===typeof f&&Me.test(f)&&(r=f,Se))try{let e=new URL(window.location.href),t=f.startsWith("//")?new URL(e.protocol+f):new URL(f),n=N(t.pathname,g);t.origin===e.origin&&null!=n?f=n+t.search+t.hash:y=!0}catch(up){}let v=function(e,n){let{relative:r}=void 0===n?{}:n;K()||s(!1);let{basename:a,navigator:o}=t.useContext(U),{hash:i,pathname:l,search:c}=J(e,{relative:r}),u=l;return"/"!==a&&(u="/"===l?a:R([a,l])),o.createHref({pathname:u,search:c,hash:i})}(f,{relative:o}),b=function(e,n){let{target:r,replace:a,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l}=void 0===n?{}:n,c=X(),u=Z(),f=J(e,{relative:s});return t.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();let n=void 0!==a?a:d(u)===d(f);c(e,{replace:n,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:l})}}),[u,c,f,a,o,r,e,i,s,l])}(f,{replace:l,state:c,target:u,preventScrollReset:h,relative:o,unstable_viewTransition:p});return t.createElement("a",ve({},m,{href:r||v,onClick:y||i?a:function(e){a&&a(e),e.defaultPrevented||b(e)},ref:n,target:u}))}));const Oe=t.forwardRef((function(e,n){let{"aria-current":r="page",caseSensitive:a=!1,className:o="",end:i=!1,style:l,to:c,unstable_viewTransition:u,children:d}=e,f=be(e,we),h=J(c,{relative:f.relative}),p=Z(),m=t.useContext(V),{navigator:g,basename:y}=t.useContext(U),v=null!=m&&function(e,n){void 0===n&&(n={});let r=t.useContext(ke);null==r&&s(!1);let{basename:a}=Pe(Ee.useViewTransitionState),o=J(e,{relative:n.relative});if(!r.isTransitioning)return!1;let i=N(r.currentLocation.pathname,a)||r.currentLocation.pathname,l=N(r.nextLocation.pathname,a)||r.nextLocation.pathname;return null!=O(o.pathname,l)||null!=O(o.pathname,i)}(h)&&!0===u,b=g.encodeLocation?g.encodeLocation(h).pathname:h.pathname,x=p.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;a||(x=x.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&y&&(w=N(w,y)||w);const k="/"!==b&&b.endsWith("/")?b.length-1:b.length;let _,j=x===b||!i&&x.startsWith(b)&&"/"===x.charAt(k),S=null!=w&&(w===b||!i&&w.startsWith(b)&&"/"===w.charAt(b.length)),M={isActive:j,isPending:S,isTransitioning:v},D=j?r:void 0;_="function"===typeof o?o(M):[o,j?"active":null,S?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let E="function"===typeof l?l(M):l;return t.createElement(De,ve({},f,{"aria-current":D,className:_,ref:n,style:E,to:c,unstable_viewTransition:u}),"function"===typeof d?d(M):d)}));var Ee,Ne;function Pe(e){let n=t.useContext(B);return n||s(!1),n}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ee||(Ee={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ne||(Ne={}));var Te={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ce=t.createContext&&t.createContext(Te),Ie=["attr","size","title"];function Re(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fe.apply(this,arguments)}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return e&&e.map(((e,n)=>t.createElement(e.tag,Ae({key:n},e.attr),ze(e.child))))}function We(e){return n=>t.createElement(He,Fe({attr:Ae({},e.attr)},n),ze(e.child))}function He(e){var n=n=>{var r,{attr:a,size:o,title:i}=e,s=Re(e,Ie),l=o||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",Fe({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,a,s,{className:r,style:Ae(Ae({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&t.createElement("title",null,i),e.children)};return void 0!==Ce?t.createElement(Ce.Consumer,null,(e=>n(e))):n(Te)}function Be(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"},child:[]}]})(e)}function Ve(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(e)}function Ue(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(e)}function $e(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"},child:[]}]})(e)}function qe(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(e)}function Qe(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(e)}function Ke(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"},child:[]}]})(e)}function Ze(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"},child:[]}]})(e)}function Ge(e){return We({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M120 72c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.764-32.235 72-72 72s-72-32.236-72-72zm254.627 1.373c-12.496-12.497-32.758-12.497-45.254 0L242.745 160H141.254L54.627 73.373c-12.496-12.497-32.758-12.497-45.254 0-12.497 12.497-12.497 32.758 0 45.255L104 213.254V480c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V368h16v112c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V213.254l94.627-94.627c12.497-12.497 12.497-32.757 0-45.254z"},child:[]}]})(e)}function Xe(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function Je(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"},child:[]}]})(e)}function et(e){return We({tag:"svg",attr:{viewBox:"0 0 288 512"},child:[{tag:"path",attr:{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5 6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3 0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5 24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7 21.5-61.6-14.6-124.8-72.5-141.7z"},child:[]}]})(e)}function tt(e){return We({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},child:[]}]})(e)}function nt(e){return We({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"},child:[]}]})(e)}function rt(e){return We({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"},child:[]}]})(e)}function at(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"},child:[]}]})(e)}function ot(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function it(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"},child:[]}]})(e)}function st(e){return We({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M128 96c26.5 0 48-21.5 48-48S154.5 0 128 0 80 21.5 80 48s21.5 48 48 48zm384 0c26.5 0 48-21.5 48-48S538.5 0 512 0s-48 21.5-48 48 21.5 48 48 48zm125.7 372.1l-44-110-41.1 46.4-2 18.2 27.7 69.2c5 12.5 17 20.1 29.7 20.1 4 0 8-.7 11.9-2.3 16.4-6.6 24.4-25.2 17.8-41.6zm-34.2-209.8L585 178.1c-4.6-20-18.6-36.8-37.5-44.9-18.5-8-39-6.7-56.1 3.3-22.7 13.4-39.7 34.5-48.1 59.4L432 229.8 416 240v-96c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v96l-16.1-10.2-11.3-33.9c-8.3-25-25.4-46-48.1-59.4-17.2-10-37.6-11.3-56.1-3.3-18.9 8.1-32.9 24.9-37.5 44.9l-18.4 80.2c-4.6 20 .7 41.2 14.4 56.7l67.2 75.9 10.1 92.6C130 499.8 143.8 512 160 512c1.2 0 2.3-.1 3.5-.2 17.6-1.9 30.2-17.7 28.3-35.3l-10.1-92.8c-1.5-13-6.9-25.1-15.6-35l-43.3-49 17.6-70.3 6.8 20.4c4.1 12.5 11.9 23.4 24.5 32.6l51.1 32.5c4.6 2.9 12.1 4.6 17.2 5h160c5.1-.4 12.6-2.1 17.2-5l51.1-32.5c12.6-9.2 20.4-20 24.5-32.6l6.8-20.4 17.6 70.3-43.3 49c-8.7 9.9-14.1 22-15.6 35l-10.1 92.8c-1.9 17.6 10.8 33.4 28.3 35.3 1.2.1 2.3.2 3.5.2 16.1 0 30-12.1 31.8-28.5l10.1-92.6 67.2-75.9c13.6-15.5 19-36.7 14.4-56.7zM46.3 358.1l-44 110c-6.6 16.4 1.4 35 17.8 41.6 16.8 6.6 35.1-1.7 41.6-17.8l27.7-69.2-2-18.2-41.1-46.4z"},child:[]}]})(e)}function lt(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"},child:[]}]})(e)}function ct(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M461.2 128H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h384c8.84 0 16-7.16 16-16 0-26.51-21.49-48-48-48H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h397.2c28.02 0 50.8-21.53 50.8-48V176c0-26.47-22.78-48-50.8-48zM416 336c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"},child:[]}]})(e)}function ut(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"},child:[]}]})(e)}var dt=n(579);const ft=()=>(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsx)("section",{className:"w-full h-auto bg-cover bg-center bg-banner  py-[50px] md:py-[20px] md:pb-[100px] ",children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 flex items-center md:pt-[100px]",children:[(0,dt.jsxs)("div",{className:"order-2 md:order-1",children:[(0,dt.jsx)("h1",{className:"text-white text-[35px] font-[Roboto] font-medium leading-tight mb-5 md:text-[40px] lg:text-[60px]",children:"Custom Meal and Workout Plan App"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-tight mb-4 md:text-[18px] md:text-[24px]",children:"Start your body recomposition journey today:"}),(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsx)(Oe,{to:"https://play.google.com/store/apps/details?id=com.bodyrecomp",target:"_black",className:"mr-2",children:(0,dt.jsx)("img",{src:"/images/googleplay.png",alt:"Play store",className:"w-40 max-lg:mr-5 md:w-60"})}),(0,dt.jsx)(Oe,{to:"https://apps.apple.com/us/app/bodyrecomp/id6444131195",target:"_black",children:(0,dt.jsx)("img",{src:"/images/appstore.png",alt:"App Store",className:"w-40 max-lg:mr-5 mb-4 md:w-60"})})]}),(0,dt.jsxs)("div",{className:"flex mt-4",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"hover:scale-80 transition-all duration-300 ease-in-out",children:(0,dt.jsx)(qe,{className:"text-white text-[25px] mr-5"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"hover:scale-80 transition-all duration-300 ease-in-out",children:(0,dt.jsx)(Be,{className:"text-white text-[25px] mr-5"})}),(0,dt.jsx)(Oe,{to:"https://www.instagram.com/bodyrecomp.app/",className:"hover:scale-80 transition-all duration-300 ease-in-out",children:(0,dt.jsx)(Ve,{className:"text-white text-[25px] mr-5"})}),(0,dt.jsx)(Oe,{to:"https://www.tiktok.com/",className:"hover:scale-80 transition-all duration-300 ease-in-out",children:(0,dt.jsx)($e,{className:"text-white text-[25px]"})})]})]}),(0,dt.jsx)("div",{className:"order-1 md:order-2 p-8",children:(0,dt.jsx)("img",{src:"/images/homepage_screen1.png",alt:"banner image",className:""})})]})})})});function ht(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.6 48 48 141.6 48 256s93.6 208 208 208 208-93.6 208-208S370.4 48 256 48zm-42.7 318.9L106.7 260.3l29.9-29.9 76.8 76.8 162.1-162.1 29.9 29.9-192.1 191.9z"},child:[]}]})(e)}function pt(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C140.559 48 48 140.559 48 256c0 115.436 92.559 208 208 208 115.435 0 208-92.564 208-208 0-115.441-92.564-208-208-208zm104.002 282.881l-29.12 29.117L256 285.117l-74.881 74.881-29.121-29.117L226.881 256l-74.883-74.881 29.121-29.116L256 226.881l74.881-74.878 29.12 29.116L285.119 256l74.883 74.881z"},child:[]}]})(e)}function mt(e){return We({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M437.332 80H74.668C51.199 80 32 99.198 32 122.667v266.666C32 412.802 51.199 432 74.668 432h362.664C460.801 432 480 412.802 480 389.333V122.667C480 99.198 460.801 80 437.332 80zM432 170.667L256 288 80 170.667V128l176 117.333L432 128v42.667z"},child:[]}]})(e)}function gt(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"},child:[]}]})(e)}function yt(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"},child:[]}]})(e)}function vt(e){return We({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"},child:[]}]})(e)}const bt=()=>{(0,t.useEffect)((()=>{const e=document.getElementById("toggleOpen"),t=document.getElementById("toggleClose"),n=document.getElementById("collapseMenu"),r=document.getElementById("header"),a=()=>{"block"===n.style.display?n.style.display="none":n.style.display="block"},o=()=>{window.scrollY>50?r.style.backgroundColor="black":r.style.backgroundColor="#0000007d"};return e&&e.addEventListener("click",a),t&&t.addEventListener("click",a),window.addEventListener("scroll",o),()=>{e&&e.removeEventListener("click",a),t&&t.removeEventListener("click",a),window.removeEventListener("scroll",o)}}),[]);const e=e=>{let{isActive:t}=e;return{color:t?"#0eb290":"white"}};return(0,dt.jsx)("header",{id:"header",className:"section w-full fixed top-0 z-50 bg-[#0000007d]",children:(0,dt.jsx)("div",{className:"container m-auto",children:(0,dt.jsx)("div",{className:"row",children:(0,dt.jsx)("div",{className:"flex px-4 font-[sans-serif] min-h-[80px] tracking-wide relative w-full transition-all duration-300",children:(0,dt.jsxs)("div",{className:"flex flex-wrap items-center gap-5 w-full",children:[(0,dt.jsx)(Oe,{to:"/",children:(0,dt.jsx)("img",{src:"/images/bodyrecomp-logo.png",alt:"logo",className:"w-40 md:w-60 max-lg:mr-5"})}),(0,dt.jsxs)("div",{id:"collapseMenu",className:"max-lg:hidden lg:!flex lg:ml-auto max-lg:before:fixed max-lg:before:bg-black max-lg:before:opacity-50 max-lg:before:inset-0 max-lg:before:z-50",children:[(0,dt.jsx)("button",{id:"toggleClose",className:"lg:hidden fixed top-6 right-3 z-[100] rounded-full bg-white",children:(0,dt.jsx)(pt,{className:"text-[30px]"})}),(0,dt.jsxs)("ul",{className:"lg:flex gap-2 md:gap-0 lg:gap-0 max-lg:space-y-3 max-lg:fixed max-lg:bg-custom-gradient max-lg:w-1/2 max-lg:min-w-[100%] max-lg:top-[80px] max-lg:left-0 max-lg:shadow-md max-lg:overflow-auto z-50",children:[(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Home"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/about-us",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"About Us"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/training",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Training"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/nutrition",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Nutrition"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/body-recomposition-meal-workout-plans/bodyrecomp-affiliate-marketing/",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Become An Affiliate"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/blog",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Blog"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/contact-us",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Contact Us"})}),(0,dt.jsx)("li",{className:"max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/affiliate-account/",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Login"})}),(0,dt.jsx)("li",{className:"md:hidden block max-lg:border-b max-lg:border-white max-lg:border-opacity-20 max-lg:py-3 px-3 mt-0",children:(0,dt.jsx)(Oe,{to:"/affiliate-registration/",style:e,className:"hover:text-[#007bff] text-white font-semibold block text-[15px]",children:"Signup"})})]})]}),(0,dt.jsxs)("div",{className:"flex items-center max-lg:ml-auto space-x-6",children:[(0,dt.jsx)("button",{className:"hidden md:block px-4 py-2 text-[15px] rounded font-semibold text-black hover:text-white bg-white hover:bg-[#000] transition-all ease-in-out duration-300",children:(0,dt.jsx)(Oe,{to:"/affiliate-registration/",className:"font-semibold block text-[15px]",children:"Signup"})}),(0,dt.jsx)("button",{id:"toggleOpen",className:"lg:hidden",children:(0,dt.jsx)(vt,{className:"text-white text-[25px]"})})]})]})})})})})},xt=()=>(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("section",{id:"footer",className:"w-full bg-cover bg-center py-[20px] bg-[#222]",children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex ",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 flex  w-full",children:[(0,dt.jsxs)("div",{children:[(0,dt.jsx)("img",{src:"/images/bodyrecomp-logo.png",alt:"logo",className:"w-48 max-lg:mr-5 mb-4"}),(0,dt.jsxs)(Oe,{to:"mailto:recomp@bodyrecomp.app",className:"flex items-center text-white text-[14px]",children:[(0,dt.jsx)(mt,{})," : recomp@bodyrecomp.app"]}),(0,dt.jsxs)("div",{className:"flex mt-4 gap-2 mb-4",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.instagram.com/bodyrecomp.app/",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ve,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.tiktok.com/",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)($e,{className:"text-[16px]"})})]}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://apps.apple.com/us/app/bodyrecomp/id6444131195",target:"_black",children:(0,dt.jsx)("img",{src:"/images/appstore.png",alt:"App Store",className:"w-[120px] max-lg:mr-5"})}),(0,dt.jsx)(Oe,{to:"https://play.google.com/store/apps/details?id=com.bodyrecomp",target:"_black",children:(0,dt.jsx)("img",{src:"/images/googleplay.png",alt:"Play store",className:"w-[120px] max-lg:mr-5 mb-4"})})]})]}),(0,dt.jsxs)("div",{className:"mt-1 md:mt-0",children:[(0,dt.jsx)("h4",{className:" text-white uppercase text-[13px] border-l-[3px] border-[#00ad75] pl-2 leading-[12px] mb-5",children:"PRODUCTS"}),(0,dt.jsx)(Oe,{to:"/nutrition",className:" hover:text-[#00ad75] text-white block text-[13px] mb-3 leading-[20px] ",children:"Nutrition"}),(0,dt.jsx)(Oe,{to:"/training",className:" hover:text-[#00ad75] text-white block text-[13px] leading-[20px]",children:"Training"})]}),(0,dt.jsxs)("div",{className:"mt-3 md:mt-0",children:[(0,dt.jsx)("h4",{className:"text-white uppercase text-[13px] border-l-[3px] border-[#00ad75] pl-2 leading-[12px] mb-5",children:"COMPANY"}),(0,dt.jsx)(Oe,{to:"/contact-us",className:"hover:text-[#00ad75] text-white block text-[13px] mb-3 leading-[20px]",children:"Support"}),(0,dt.jsx)(Oe,{to:"/about-us",className:"hover:text-[#00ad75] text-white block text-[13px] mb-3 leading-[20px]",children:"About Us"}),(0,dt.jsx)(Oe,{to:"/blog",className:"hover:text-[#00ad75] text-white block text-[13px] mb-3 leading-[20px]",children:"Blog"}),(0,dt.jsx)(Oe,{to:"/contact-us",className:"hover:text-[#00ad75] text-white block text-[13px] leading-[20px]",children:"Contact Us"})]}),(0,dt.jsxs)("div",{className:"mt-3 md:mt-0",children:[(0,dt.jsx)("h4",{className:"text-white uppercase text-[13px] border-l-[3px] border-[#00ad75] pl-2 leading-[12px] mb-5",children:"LEGAL"}),(0,dt.jsx)(Oe,{to:"/",className:"hover:text-[#00ad75] text-white block text-[13px] mb-3 leading-[20px]",children:"Privacy Policy"}),(0,dt.jsx)(Oe,{to:"/",className:"hover:text-[#00ad75] text-white block text-[13px] leading-[20px]",children:"Terms & Conditions"}),(0,dt.jsx)("form",{id:"",class:" mt-6 md:mt-5 max-w-[270px]",children:(0,dt.jsxs)("div",{class:"space-y-4",children:[(0,dt.jsx)("p",{children:(0,dt.jsxs)("label",{class:"block text-sm font-medium text-white",children:["Email:",(0,dt.jsx)("input",{type:"email",name:"EMAIL",placeholder:"Your email address",required:"",class:"mt-1 block w-full px-3 py-2 border border-gray-300 rounded text-[12px] sm:text-sm bg-transparent"})]})}),(0,dt.jsx)("p",{children:(0,dt.jsx)("input",{type:"submit",value:"Subscribe",class:"px-5 py-3 bg-blue-500 text-white font-semibold rounded uppercase bg-custom-gradient text-[12px]"})})]})})]})]})})}),(0,dt.jsx)("section",{id:"footer-bottom",className:"w-full bg-cover bg-center p-[20px] bg-[#1b1b1b]",children:(0,dt.jsx)("p",{id:"copyright",className:"text-[12px] text-white text-center",children:"\xa9 Copyright Koa Ventures LLC."})})]});var wt=n(7115),kt=n.n(wt);const _t=()=>((0,t.useEffect)((()=>{kt().init({duration:1e3,once:!0})}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"BodyRecomp Body Recomposition Meal & Workout Plans"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(ft,{}),(0,dt.jsxs)("section",{className:"w-full bg-cover bg-center py-4 overflow-hidden",style:{maxWidth:"100%",paddingLeft:"1rem",paddingRight:"1rem",overflowX:"hidden!important"},children:[" ",(0,dt.jsx)("div",{className:"container mx-auto p-2 md:p-4 h-full flex items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 flex items-center",children:[(0,dt.jsx)("div",{"data-aos":"slide-right",className:"p-8",children:(0,dt.jsx)("img",{src:"/images/homepage_screen2.png",alt:"banner image",className:"w-full h-auto"})}),(0,dt.jsxs)("div",{"data-aos":"slide-left",children:[(0,dt.jsx)("h1",{className:"text-gray-800 text-[22px] md:text-[30px] lg:text-[40px] uppercase font-[Montserrat] font-bold leading-tight mb-5 px-0",children:"Body recomposition at home or the gym"}),(0,dt.jsxs)("div",{children:[(0,dt.jsxs)("ul",{children:[(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Thousands of at home or in gym workout routines for body recomposition"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Workout plans tailored for progressive overload"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Routines to help skinny fat recomp"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Body recomposition workout"]})]}),(0,dt.jsx)(Oe,{to:"",children:(0,dt.jsx)("button",{className:"text-[22px] md:text-[22px] uppercase font-[Montserrat] font-bold px-[30px] py-[8px] rounded text-white mt-5 bg-custom-gradient",children:"JOIN NOW"})})]})]})]})})]}),(0,dt.jsx)("section",{className:"w-full bg-cover bg-center py-4",children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 flex items-center",children:[(0,dt.jsxs)("div",{className:"order-2 md:order-1 ","data-aos":"slide-right",children:[(0,dt.jsx)("h1",{className:"text-gray-800 text-[22px] md:text-[30px] lg:text-[40px] uppercase font-[Montserrat] font-bold leading-tight mb-5",children:"Meal Plan For Body Recomposition"}),(0,dt.jsxs)("ul",{children:[(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Recomp Meal Plan"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Calculated plans for your goals"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Keto, Paleo, High Protein, Low Glycemic, Mediterranean choices"]}),(0,dt.jsxs)("li",{className:"DMSans flex items-center text-[18px] md:text-[16px] lg:text-[18px] leading-[32px] mb-2 text-[#4a4a4a]",children:[(0,dt.jsx)(ht,{className:"mr-2 text-[#039C88] text-[20px] shrink-0"}),"Science backed meal plans for body recomposition"]})]}),(0,dt.jsx)(Oe,{to:"",children:(0,dt.jsx)("button",{className:"text-[22px] md:text-[22px] uppercase font-[Montserrat] font-bold px-[30px] py-[8px] rounded text-white mt-5 bg-custom-gradient",children:"JOIN NOW"})})]}),(0,dt.jsx)("div",{"data-aos":"slide-left","data-aos-once":"true",className:"order-1 md:order-2 p-8",children:(0,dt.jsx)("img",{src:"/images/homepage_screen3.png",alt:"banner image",className:"w-full h-auto","data-aos":"zoom-in"})})]})})}),(0,dt.jsx)("section",{"data-aos":"zoom-in-down",className:"w-full bg-cover bg-center py-[100px] ",style:{backgroundImage:"url('/images/logim.jpg')"},children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 flex items-center",children:[(0,dt.jsxs)("div",{children:[(0,dt.jsx)("h1",{className:"text-white text-[30px] font-[Roboto] font-medium leading-tight mb-5 max-w-[600px]",children:"Log in, complete your workout, eat your meals and repeat"}),(0,dt.jsx)("p",{className:"text-white text-[14px] font-[Roboto] leading-tight mb-4 max-w-[600px]",children:"You desire the confidence to go after the people and things you want. Don\u2019t let your fear of not knowing where to start stop you.  Your confidence is one good plan away. Download that plan now ."})]}),(0,dt.jsx)("div",{className:""})]})})}),(0,dt.jsx)(xt,{})]})),jt=e=>(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsx)("section",{className:"w-full bg-cover bg-center py-[0px] md:py-[20px]",style:{backgroundImage:`url(${e.backgroundImage})`},children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center",children:(0,dt.jsx)("div",{className:"grid grid-cols-1 gap-4 items-center",children:(0,dt.jsxs)("div",{className:"text-center pt-[100px] pb-[10px] md:pb-[50px] md:pt-[130px]",children:[(0,dt.jsx)("h1",{className:"text-white text-[35px] font-[Roboto] font-medium leading-tight mb-1 md:mb-5 md:text-[40px] lg:text-[45px]",children:e.heading}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-tight mb-4 md:text-[18px] md:text-[24px]",children:e.paragraph})]})})})})}),St=()=>(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"About Us - Building Muscle & Losing Fat: Tips & Workouts"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(jt,{heading:"About Us",paragraph:"Discover more about our story",backgroundImage:"/images/aboutBanner.jpg"}),(0,dt.jsx)("section",{children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 items-center pt-8",children:[(0,dt.jsx)("h2",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] lg:text-[30px] text-center",children:"Your Path to Confidence"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-loose mb-4 md:text-[18px] md:text-[18px]",children:"Are you tired of feeling unconfident and held back by your body? It\u2019s time to take charge of your life and unlock the confident, healthier version of yourself. Introducing BodyRecomp, the app designed specifically for skinny fat and overweight individuals like you. Let us be your companion on this transformative journey to a happier, more fulfilling life."})]})})}),(0,dt.jsx)("section",{children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 flex items-center",children:[(0,dt.jsx)("div",{className:"p-8",children:(0,dt.jsx)("img",{src:"/images/about_screen1.png",alt:"mobile"})}),(0,dt.jsx)("div",{className:"p-8",children:(0,dt.jsx)("img",{src:"/images/about_screen2.png",alt:"mobile"})}),(0,dt.jsx)("div",{className:"p-8",children:(0,dt.jsx)("img",{src:"/images/about_screen3.png",alt:"mobile"})})]})})}),(0,dt.jsx)("section",{children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 items-center pt-8",children:[(0,dt.jsx)("h2",{className:"text-[#049998] font-[Roboto] font-medium leading-tighttext-[24px] text-[24px] lg:text-[30px] text-center",children:"Why Choose BodyRecomp"}),(0,dt.jsx)("h3",{className:"text-[#333333] font-[Roboto] font-medium leading-tight md:text-[40px] lg:text-[23px]",children:"1. A Plan Designed for You By People That Have Been In Your Shoes"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Choose BodyRecomp, designed by those who once faced the same struggles as you \u2014 the challenge of being skinny-fat. Our program is more than just a workout regimen, it is a proven system that understands the unique needs and concerns of individuals in your position. Benefit from our comprehensive approach that combines tailored exercise, diet advice, and ongoing support, empowering you to transform your body and embrace a healthier, more confident lifestyle."}),(0,dt.jsx)("h3",{className:"text-[#333333] font-[Roboto] font-medium leading-tight ",children:"2. Structured Plan, Every Step of the Way"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Selecting BodyRecomp is more than just a choice, it\u2019s a step towards giving structure and direction to your fitness journey, especially for those who feel lost or overwhelmed. Our comprehensive meal and workout plan takes away the guesswork from your routine, providing a roadmap that\u2019s easy to follow. Not only will you understand what to do, but also why you\u2019re doing it, making your path to transformation less daunting and more achievable. Embark on this journey with us and witness how structured guidance can turn confusion into confidence."})]})})}),(0,dt.jsx)("section",{children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 items-center pt-8",children:[(0,dt.jsx)("h2",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] lg:text-[30px] text-center",children:"Real Stories, Real People"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-loose mb-4",children:"Meet real people who were once in your shoes. They took the leap, embraced BodyRecomp, and changed their lives for the better. Now it\u2019s your turn to be the inspiration for others!"})]})})}),(0,dt.jsx)("section",{children:(0,dt.jsxs)("div",{className:"container mx-auto p-4 h-full w-full items-center",children:[(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 flex items-center w-full",children:[(0,dt.jsx)("div",{className:"flex justify-center",children:(0,dt.jsx)("img",{src:"/images/8260EADE-AE95-4C20-AA4C-8FA60474954E-238x300.jpeg",alt:"mobile"})}),(0,dt.jsx)("div",{className:"flex justify-center",children:(0,dt.jsx)("img",{src:"/images/E5749B59-B2AE-42BF-BF93-998187810AE0-1-169x300.jpeg",alt:"mobile"})}),(0,dt.jsx)("div",{className:"flex justify-center",children:(0,dt.jsx)("img",{src:"/images/IMG_0741-300x300.jpeg",alt:"mobile"})})]}),(0,dt.jsx)(Oe,{to:"",className:"text-center mt-5 w-full block",children:(0,dt.jsx)("button",{className:"text-[16px] uppercase font-[Montserrat] font-bold px-[30px] py-[8px] rounded text-white mt-5 bg-custom-gradient",children:"Star Your Transformation Today"})})]})}),(0,dt.jsx)("section",{children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 items-center pt-8",children:[(0,dt.jsx)("h2",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] lg:text-[30px] text-center",children:"Your Journey Begins Here"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-loose mb-4 text-center",children:"Ready to say goodbye to self-doubt and hello to a confident, healthier you? Follow these simple steps:"})]})})}),(0,dt.jsx)("section",{className:"pb-10",children:(0,dt.jsxs)("div",{className:"container mx-auto p-4 h-full w-full ",children:[(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 flex w-full",children:[(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsx)("h3",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] mb-4",children:"Step 1: Sign Up"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Click the Start Your Transformation\u201d button and create your BodyRecomp account."}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"This simple step is the beginning of your personalized fitness journey. As a member of the BodyRecomp community, you gain access to curated workout routines, nutritionally balanced meal plans, and an unwavering support system dedicated to your success. We\u2019re thrilled to welcome you aboard, where a healthier, more confident self awaits."})]}),(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsx)("h3",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] mb-4",children:"Step 2: Download BodyRecomp"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Download BodyRecomp on iOS or Android"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Enhance your fitness journey with BodyRecomp in your pocket. You\u2019ll have instant access to personalized workout routines, meal plans, and tracking tools, all designed to assist you in achieving your health and fitness goals. The BodyRecomp app is not just an app, it\u2019s a companion on your transformative journey towards a healthier and more confident self."})]}),(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsx)("h3",{className:"text-[#049998] font-[Roboto] font-medium leading-tight text-[24px] mb-4",children:"Step 3: Login to Your Account"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"Kickstart your journey by logging in to your account!"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-4 ",children:"As a first step, upload your \u2018before\u2019 photo to track your progress. Then, take a moment to review your daily meal and workout plans. These personalized plans are your roadmap to transformation, ensuring each day brings you closer to your health and fitness goals. Now, you\u2019re all set to dive in and start making progress with BodyRecomp!"})]})]}),(0,dt.jsx)(Oe,{to:"",className:"text-center mt-2 w-full block",children:(0,dt.jsx)("button",{className:"text-[16px] uppercase font-[Montserrat] font-bold px-[30px] py-[8px] rounded text-white mt-5 bg-custom-gradient",children:"Star Your Transformation"})})]})}),(0,dt.jsx)(xt,{})]}),Mt=e=>{const t=e.height?`${e.height}vh`:"380px";return(0,dt.jsxs)("section",{className:"relative w-full bg-cover bg-center py-[0px] md:py-[20px]",style:{backgroundImage:`url(${e.backgroundImage})`,height:t,backgroundPosition:"top",backgroundSize:"cover"},children:[e.overlay&&(0,dt.jsx)("div",{className:"absolute inset-0 bg-black opacity-80"}),(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full flex flex-col justify-center items-center relative z-20",children:(0,dt.jsxs)("div",{className:"text-center pt-[100px] pb-[10px] md:pb-[50px] md:pt-[130px]",children:[(0,dt.jsx)("h1",{className:"text-white text-[35px] font-[Roboto] font-medium leading-tight mb-1 md:mb-5 md:text-[40px] lg:text-[45px]",children:e.heading}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-tight mb-4 md:text-[18px] md:text-[24px]",children:e.paragraph})]})})]})},Dt=[{title:"Understanding Body Recomposition and the Role of Apps in Achieving Your Fitness Goals",date:"April 15, 2024",category:"Recomp",comments:0,description:"Understanding Body Recomposition and the Role of Apps in Achieving Your Fitness Goals. In the world of fitness and body transformation, one term that has been gaining popularity is 'body...",image:"/images/blogBanner.png",url:"/blog/detail1"},{title:"Achieving Body Recomp at Home: A Comprehensive Guide with Effective Workouts and Nutrition Tips",date:"January 9, 2024",category:"Body Composition",comments:0,description:"Crafting Your At-Home Body Recomp Routine Introduction: Welcome to our ultimate guide on getting to Body Recomp at Home! Whether you're looking to build lean muscle, shed ugly fat, or\u2026",image:"/images/blogBanner.png",url:"/blog/detail2"},{title:"Meal and Workout Plans for Time-Saving: Your Answer to Tedious Meal Prep",date:"September 10, 2023",category:"Recomp",comments:0,description:"In this post, we discuss meal and workout plans that save you time while achieving your fitness goals...",image:"/images/blogBanner.png",url:"/blog/detail3"},{title:"How a Meal and Workout Plan Combats the Skinny-Fat Phenomenon and Boosts Body Recomposition",date:"September 10, 2023",category:"Uncategorized",comments:0,description:"How a Meal and Workout Plan Enhances Body Recomposition Facing challenges in managing your meals or feeling trapped in the 'skinny-fat' zone? A focused meal and workout plan is crucial\u2026",image:"/images/blogBanner.png",url:"/blog/detail4"},{title:"How Body Recomposition Differs from Weight Loss",date:"August 17, 2023",category:"Body Composition",comments:0,description:"Understand the difference between body recomposition and weight loss For those interested in fitness and looking to change their body's composition, it's essential to understand the difference between body recomposition\u2026",image:"/images/blogBanner.png",url:"/blog/detail5"},{title:"The Science Behind Body Recomposition: Understanding the Basics",date:"July 5, 2023",category:"Body Composition / Uncategorized",comments:0,description:"Healthy vs unhealthy lifestyle. Fat man with beer and muscular man with bottle water. The choice. Healthy lifestyle, food and sport concept. Alcohol, laziness, bad food. Fat and fit men\u2026",image:"/images/blogBanner.png",url:"/blog/detail6"}],Ot=e=>{let{post:t}=e;return(0,dt.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6 mb-6",children:[(0,dt.jsx)("h2",{className:"text-[#333333] font-bold text-xl md:text-2xl mb-2 hover:text-[rgb(4_153_152/var(--tw-text-opacity))]",children:t.title}),(0,dt.jsxs)("div",{className:"text-sm text-gray-600 flex items-center space-x-2 mb-4",children:[(0,dt.jsxs)("span",{className:"flex items-center",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4 mr-1",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),t.category]}),(0,dt.jsxs)("span",{className:"flex items-center",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4 mr-1",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),t.date]}),(0,dt.jsxs)("span",{className:"flex items-center",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4 mr-1",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),t.comments," Comments"]})]}),(0,dt.jsx)("p",{className:"text-gray-700 text-base mb-4",children:t.description}),(0,dt.jsx)(Oe,{to:t.url,className:"inline-block bg-white text-gray-700 text-sm px-3 py-1.5 border border-[#333] hover:text-[rgb(4_153_152_/_var(--tw-text-opacity))] hover:border-[rgb(4_153_152_/_var(--tw-text-opacity))]",children:"Continue Reading \u2192"})]})},Et=()=>{const[e,n]=(0,t.useState)(1),r=3*e,a=r-3,o=Dt.slice(a,r),i=Math.ceil(Dt.length/3);return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Ultimate Guide to Body Recomposition | BodyRecomp.app | Blog"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(Mt,{heading:"Blog",backgroundImage:"/images/blogBanner.png"}),(0,dt.jsxs)("section",{className:"container mx-auto p-6",children:[o.map(((e,t)=>(0,dt.jsx)(Ot,{post:e},t))),(0,dt.jsxs)("div",{className:"flex items-center justify-between mt-6",children:[(0,dt.jsx)("button",{onClick:()=>{e>1&&n(e-1)},disabled:1===e,className:"bg-white text-gray-700 px-4 py-2 border border-gray-300 rounded hover:bg-gray-100 disabled:opacity-50",children:"\u2190 Previous"}),(0,dt.jsx)("div",{className:"flex space-x-2",children:[...Array(i)].map(((t,r)=>(0,dt.jsx)("button",{onClick:()=>n(r+1),className:"px-3 py-1 border rounded text-gray-700 "+(e===r+1?"bg-gray-300":"bg-white hover:bg-gray-100"),children:r+1},r)))}),(0,dt.jsx)("button",{onClick:()=>{e<i&&n(e+1)},disabled:e===i,className:"bg-white text-gray-700 px-4 py-2 border border-gray-300 rounded hover:bg-gray-100 disabled:opacity-50",children:"Next \u2192"})]})]}),(0,dt.jsx)(xt,{})]})},Nt=()=>(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Contact Us - Your Partner in Fitness Success | BodyRecomp.app"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(Mt,{heading:"Contact Us",paragraph:"We will respond as soon as possible!",backgroundImage:"/images/contact_banner.png",overlay:!0}),(0,dt.jsx)("div",{className:"bg-header-bg-color bg-black w-full",children:(0,dt.jsx)("div",{className:"container mx-auto px-4 py-8",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,dt.jsxs)("div",{className:" p-6 rounded-lg",children:[(0,dt.jsx)("h2",{className:"text-3xl font-semibold mb-4 text-white",children:"Working Hours"}),(0,dt.jsx)("p",{className:"mb-4 text-white",children:"We\u2019re available 24/7 to support you in reaching your goal"}),(0,dt.jsx)("h3",{className:"font-medium mb-2 text-white",children:"Email:"}),(0,dt.jsx)("p",{className:"mb-4 text-white",children:"recomp@bodyrecomp.app"}),(0,dt.jsx)("h3",{className:"font-medium mb-2 text-white",children:"Koa Ventures LLC."}),(0,dt.jsx)("p",{className:"text-white",children:"1445 Woodmont Ln NW #3455 Atlanta, GA 30318"}),(0,dt.jsxs)("div",{className:"flex mt-4 gap-2 mb-4",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.instagram.com/bodyrecomp.app/",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ve,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.tiktok.com/",className:"text-[#708e9f] hover:text-[#fff] bg-[#263036] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(gt,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("div",{className:" p-6 rounded-lg",children:(0,dt.jsxs)("form",{children:[(0,dt.jsx)("div",{className:"mb-4",children:(0,dt.jsx)("input",{type:"text",id:"fullName",className:"font-[Robot] w-full bg-[#1A1A1A] text-white border border-gray-300 rounded-md p-2 focus:outline-none focus:ring focus:custom-gradient",placeholder:"Full Name",required:!0})}),(0,dt.jsx)("div",{className:"mb-4",children:(0,dt.jsx)("input",{type:"email",id:"email",className:"font-[Robot] w-full bg-[#1A1A1A] text-white border border-gray-300 rounded-md p-2 focus:outline-none focus:ring focus:custom-gradient",placeholder:"Your Email",required:!0})}),(0,dt.jsx)("div",{className:"mb-4",children:(0,dt.jsx)("input",{type:"tel",id:"phone",className:"font-[Robot] w-full bg-[#1A1A1A] text-white border border-gray-300 rounded-md p-2 focus:outline-none focus:ring focus:custom-gradient",placeholder:"Phone Number",required:!0})}),(0,dt.jsx)("div",{className:"mb-4",children:(0,dt.jsx)("textarea",{id:"message",className:"font-[Robot] w-full bg-[#1A1A1A] text-white border border-gray-300 rounded-md p-2 focus:outline-none focus:ring focus:custom-gradient",placeholder:"Your Message",rows:"6",required:!0})}),(0,dt.jsx)("button",{type:"submit",className:"px-10 py-4 bg-blue-500 text-white font-semibold rounded uppercase bg-custom-gradient text-[12px]",children:"Submit"})]})})]})})}),(0,dt.jsx)(xt,{})]}),Pt=()=>{const e=[{src:"/images/keto.png",title:"Keto"},{src:"/images/paleo.png",title:"Paleo"},{src:"/images/vegan.png",title:"Vegan"},{src:"/images/high-protein.png",title:"High Protein"},{src:"/images/low-glycemic.png",title:"Low glycemic"},{src:"/images/medditerranean-food.png",title:"Medditerranean"}],[n,r]=(0,t.useState)(Array(e.length).fill({}));(0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]);const a=e=>t=>{const n=t.currentTarget.getBoundingClientRect(),a=t.clientX-n.left,o=t.clientY-n.top,i=n.width/2,s=n.height/2,l=(a-i)/i*30,c=(o-s)/s*-30;r((t=>{const n=[...t];return n[e]={transform:`rotateX(${c}deg) rotateY(${l}deg) scale(1.05)`,transition:"transform 0.1s ease-out"},n}))},o=e=>()=>{r((t=>{const n=[...t];return n[e]={transform:"rotateX(0deg) rotateY(0deg) scale(1)",transition:"transform 0.5s ease-in-out"},n}))};return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Nutrition - Meal Plans For Every Goal and Taste"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(Mt,{heading:"Nutrition",backgroundImage:"/images/nut.png",overlay:!0,height:90}),(0,dt.jsx)("section",{className:"bg-black",children:(0,dt.jsx)("div",{className:"container mx-auto px-4",children:(0,dt.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2 md:gap-0 p-8",children:e&&e.map(((e,t)=>(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsxs)("div",{onMouseMove:a(t),onMouseLeave:o(t),className:"relative group overflow-hidden ",children:[(0,dt.jsx)("img",{src:e.src,alt:"Image 1",className:"w-full h-auto transition-transform duration-500 ease-in-out transform group-hover:scale-105",style:n[t]}),(0,dt.jsx)("div",{className:"absolute inset-0 flex items-center justify-center transition-opacity duration-500 ease-in-out group-hover:opacity-0",style:{backgroundImage:"linear-gradient(to left, rgba(0, 173, 117, 0.7), rgba(11, 124, 202, 0.7))"},children:(0,dt.jsx)("h1",{className:"text-white text-[35px] font-[Roboto] font-medium leading-tight mb-1 md:mb-5 ",children:e.title})})]})})))})})}),(0,dt.jsx)("section",{className:"bg-black text-white",children:(0,dt.jsx)("div",{className:"container mx-auto px-4 py-8",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,dt.jsx)("div",{className:"flex flex-col justify-start items-end md:py-4 md:pl-6 ",children:(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsx)("span",{className:"Abeezee text-xl md:text-2xl lg:text-3xl font-bold mb-3",children:"Your daily plan for succeeding"}),(0,dt.jsx)("p",{className:"Abeezee text-white text-sm md:text-base lg:text-md mb-2  mt-4 lg:max-w-[500px]",children:"BodyRecomp\u2019s nutrition plans are designed for you. Simple, delicious, and quick meals for every student, professional, and aspiring bodybuilder. Our architecture also allows you to have decisions in your plan so you never have to feel stuck."}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://apps.apple.com/us/app/bodyrecomp/id6444131195",target:"_black",children:(0,dt.jsx)("img",{src:"/images/appstore.png",alt:"App Store",className:"w-[150px] max-lg:mr-5"})}),(0,dt.jsx)(Oe,{to:"https://play.google.com/store/apps/details?id=com.bodyrecomp",target:"_black",children:(0,dt.jsx)("img",{src:"/images/googleplay.png",alt:"Play store",className:"w-[150px] max-lg:mr-5 mb-4"})})]}),(0,dt.jsx)("div",{className:"flex justify-start",children:(0,dt.jsxs)("button",{className:"flex items-center bg-custom-gradient text-white py-2 px-4 rounded hover:bg-custom-gradient transition duration-300",children:[(0,dt.jsx)(Ke,{className:"mr-2"}),"Get your plan"]})})]})}),(0,dt.jsx)("div",{className:"flex justify-center items-center md:p-12",children:(0,dt.jsx)("img",{src:"/images/nutrition_screen.png",alt:"Nutrition Plan",className:"w-full h-auto rounded shadow-lg"})})]})})}),(0,dt.jsx)(xt,{})]})},Tt={backgroundImage:"linear-gradient(45deg, #101010, #383838)"},Ct=[{src:"/images/For-At-Home.jpg",title:"At Home (No Equipment)"},{src:"/images/For-Bodybuilding.jpg",title:"Bodybuilding"},{src:"/images/For-Fat-Blaster.jpg",title:"Fat Blaster (Equipment)"},{src:"/images/For-Strength.jpg",title:"Strength"},{src:"/images/For-Full-Body.jpg",title:"Less Gym Time (Full Body)"},{src:"/images/For-15-Min-Workouts.jpg",title:"15 Min Workouts (No Equipment)"}],It=()=>{const[e,n]=(0,t.useState)(null),[r,a]=(0,t.useState)(Array(Ct.length).fill({})),o=e=>t=>{const n=t.currentTarget.getBoundingClientRect(),r=t.clientX-n.left,o=t.clientY-n.top,i=n.width/2,s=n.height/2,l=(r-i)/i*30,c=(o-s)/s*-30;a((t=>{const n=[...t];return n[e]={transform:`rotateX(${c}deg) rotateY(${l}deg) scale(1.05)`,transition:"transform 0.1s ease-out"},n}))},i=e=>()=>{a((t=>{const n=[...t];return n[e]={transform:"rotateX(0deg) rotateY(0deg) scale(1)",transition:"transform 0.5s ease-in-out"},n}))};return(0,t.useEffect)((()=>{kt().init({duration:1e3}),kt().refresh()}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Training - Workout Programs For Every Goal, Gym and Home"}),(0,dt.jsx)(bt,{}),(0,dt.jsx)(jt,{heading:"Training",backgroundImage:"/images/trainingBanner.png"}),(0,dt.jsxs)("section",{className:"bg-black pb-10",children:[(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full items-center","data-aos":"slide-up",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-3 items-center pt-8",children:[(0,dt.jsx)("h2",{className:"text-white font-[Roboto] font-medium leading-tight text-[24px] lg:text-[30px] text-center uppercase",children:"Your Custom Plan"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-loose mb-1 text-center",children:"Choose from dozens of plans that will:"})]})}),(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full w-full items-center ","data-aos":"slide-down",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-0 flex items-center w-full",children:[(0,dt.jsxs)("div",{className:"flex justify-center flex-col pt-4",style:Tt,"data-aos":"slide-down",children:[(0,dt.jsx)("img",{src:"/images/muscles.png",alt:"mobile",className:"w-[58px] m-auto mb-4"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-loose mb-4 text-center",children:"Make you stronger"})]}),(0,dt.jsxs)("div",{className:"flex justify-center text-center flex-col pt-4",style:Tt,"data-aos":"slide-down",children:[(0,dt.jsx)(ut,{className:"text-[52px] text-[#0B7CCA] m-auto mb-[22px]"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-loose mb-4 text-center",children:"Keep you on a schedule"})]}),(0,dt.jsxs)("div",{className:"flex justify-center flex-col pt-4",style:Tt,"data-aos":"slide-up",children:[(0,dt.jsx)(st,{className:"text-[52px] text-[#0B7CCA] m-auto mb-[22px]"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-loose mb-4 text-center",children:"Keep you accountable"})]}),(0,dt.jsxs)("div",{className:"flex justify-center flex-col pt-4",style:Tt,"data-aos":"slide-up",children:[(0,dt.jsx)(Ge,{className:"text-[52px] text-[#0B7CCA] m-auto mb-[22px]"}),(0,dt.jsx)("p",{className:"text-white text-[16px] font-[Roboto] leading-loose mb-4 text-center",children:"Keep you motivated"})]})]})})]}),(0,dt.jsx)("section",{className:"pb-10",children:(0,dt.jsx)("div",{className:"container mx-auto p-4 h-full w-full items-center",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-0 flex mt-5 w-full",children:[(0,dt.jsx)("div",{className:"flex flex-col pt-4",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,dt.jsx)("h2",{className:"text-black font-[Roboto] font-medium leading-tight text-[24px] lg:text-[30px]",children:"A Training Journey for every goal"}),(0,dt.jsx)("p",{className:"text-[#333333] text-[16px] font-[Roboto] leading-normal mb-1",children:"Your transformation starts with you completing your daily plan. No more guessing when you step into the gym. We make it easy for you to complete your tasks and stay motivated."}),(0,dt.jsx)(Oe,{to:"",className:"text-center w-full block",children:(0,dt.jsxs)("button",{className:"text-[16px] uppercase font-[Montserrat] font-bold px-[30px] flex items-center py-[8px] rounded text-white bg-custom-gradient",children:[(0,dt.jsx)(yt,{className:"mr-1"})," Get your plan"]})})]})}),(0,dt.jsx)("div",{className:"flex justify-center text-center flex-col pt-4",children:(0,dt.jsxs)("div",{className:"container mx-auto",children:[(0,dt.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:Ct.map(((e,t)=>(0,dt.jsxs)("div",{className:"relative w-full h-[190px] object-cover rounded-lg cursor-pointer group",onClick:()=>(e=>{n(e)})(t),onMouseMove:o(t),onMouseLeave:i(t),children:[(0,dt.jsx)("img",{src:e.src,alt:e.title,className:"w-full h-full object-cover rounded-lg transition-transform duration-500 ease-in-out",style:r[t]}),(0,dt.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-100 hover:opacity-0 transition-opacity duration-300 rounded-lg",style:{background:"linear-gradient(to left, rgba(0, 173, 117, 0.7), rgba(11, 124, 202, 0.7))"},children:(0,dt.jsx)("p",{className:"text-center text-white italic text-[20px] font-[Roboto]",children:e.title})})]},t)))}),null!==e&&(0,dt.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-75 z-50",children:(0,dt.jsxs)("div",{className:"relative w-full max-w-3xl mx-auto mx-2",children:[(0,dt.jsx)("button",{className:"absolute top-2 right-2 bg-custom-gradient h-[25px] w-[25px] rounded-full leading-[25px] text-white focus:outline-none",onClick:()=>{n(null)},children:"\xd7"}),(0,dt.jsx)("img",{src:Ct[e].src,alt:Ct[e].title,className:"w-full h-auto object-cover rounded-lg"}),(0,dt.jsx)("p",{className:"text-center text-white text-[20px] font-[Roboto] mt-4",children:Ct[e].title}),(0,dt.jsx)("button",{className:"absolute left-0 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 text-black p-2 rounded-full focus:outline-none",onClick:()=>{n((e=>0===e?Ct.length-1:e-1))},children:"\u276e"}),(0,dt.jsx)("button",{className:"absolute right-0 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-50 text-black p-2 rounded-full focus:outline-none",onClick:()=>{n((e=>e===Ct.length-1?0:e+1))},children:"\u276f"})]})})]})})]})})}),(0,dt.jsx)(xt,{})]})};var Rt=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Ft}(e)}(e)};var Ft="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Yt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function At(e,t,n){return e.concat(t).map((function(e){return Lt(e,n)}))}function Yt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||At,n.isMergeableObject=n.isMergeableObject||Rt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=Lt(e[t],n)})),Object.keys(t).forEach((function(a){n.isMergeableObject(t[a])&&e[a]?r[a]=Yt(e[a],t[a],n):r[a]=Lt(t[a],n)})),r}(e,t,n):Lt(t,n)}Yt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Yt(e,n,t)}),{})};const zt=Yt;const Wt="object"==typeof global&&global&&global.Object===Object&&global;var Ht="object"==typeof self&&self&&self.Object===Object&&self;const Bt=Wt||Ht||Function("return this")();const Vt=Bt.Symbol;var Ut=Object.prototype,$t=Ut.hasOwnProperty,qt=Ut.toString,Qt=Vt?Vt.toStringTag:void 0;const Kt=function(e){var t=$t.call(e,Qt),n=e[Qt];try{e[Qt]=void 0;var r=!0}catch(up){}var a=qt.call(e);return r&&(t?e[Qt]=n:delete e[Qt]),a};var Zt=Object.prototype.toString;const Gt=function(e){return Zt.call(e)};var Xt=Vt?Vt.toStringTag:void 0;const Jt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Xt&&Xt in Object(e)?Kt(e):Gt(e)};const en=function(e,t){return function(n){return e(t(n))}};const tn=en(Object.getPrototypeOf,Object);const nn=function(e){return null!=e&&"object"==typeof e};var rn=Function.prototype,an=Object.prototype,on=rn.toString,sn=an.hasOwnProperty,ln=on.call(Object);const cn=function(e){if(!nn(e)||"[object Object]"!=Jt(e))return!1;var t=tn(e);if(null===t)return!0;var n=sn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&on.call(n)==ln};const un=function(){this.__data__=[],this.size=0};const dn=function(e,t){return e===t||e!==e&&t!==t};const fn=function(e,t){for(var n=e.length;n--;)if(dn(e[n][0],t))return n;return-1};var hn=Array.prototype.splice;const pn=function(e){var t=this.__data__,n=fn(t,e);return!(n<0)&&(n==t.length-1?t.pop():hn.call(t,n,1),--this.size,!0)};const mn=function(e){var t=this.__data__,n=fn(t,e);return n<0?void 0:t[n][1]};const gn=function(e){return fn(this.__data__,e)>-1};const yn=function(e,t){var n=this.__data__,r=fn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vn.prototype.clear=un,vn.prototype.delete=pn,vn.prototype.get=mn,vn.prototype.has=gn,vn.prototype.set=yn;const bn=vn;const xn=function(){this.__data__=new bn,this.size=0};const wn=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const kn=function(e){return this.__data__.get(e)};const _n=function(e){return this.__data__.has(e)};const jn=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const Sn=function(e){if(!jn(e))return!1;var t=Jt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Mn=Bt["__core-js_shared__"];var Dn=function(){var e=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();const On=function(e){return!!Dn&&Dn in e};var En=Function.prototype.toString;const Nn=function(e){if(null!=e){try{return En.call(e)}catch(up){}try{return e+""}catch(up){}}return""};var Pn=/^\[object .+?Constructor\]$/,Tn=Function.prototype,Cn=Object.prototype,In=Tn.toString,Rn=Cn.hasOwnProperty,Fn=RegExp("^"+In.call(Rn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ln=function(e){return!(!jn(e)||On(e))&&(Sn(e)?Fn:Pn).test(Nn(e))};const An=function(e,t){return null==e?void 0:e[t]};const Yn=function(e,t){var n=An(e,t);return Ln(n)?n:void 0};const zn=Yn(Bt,"Map");const Wn=Yn(Object,"create");const Hn=function(){this.__data__=Wn?Wn(null):{},this.size=0};const Bn=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Vn=Object.prototype.hasOwnProperty;const Un=function(e){var t=this.__data__;if(Wn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Vn.call(t,e)?t[e]:void 0};var $n=Object.prototype.hasOwnProperty;const qn=function(e){var t=this.__data__;return Wn?void 0!==t[e]:$n.call(t,e)};const Qn=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Wn&&void 0===t?"__lodash_hash_undefined__":t,this};function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Kn.prototype.clear=Hn,Kn.prototype.delete=Bn,Kn.prototype.get=Un,Kn.prototype.has=qn,Kn.prototype.set=Qn;const Zn=Kn;const Gn=function(){this.size=0,this.__data__={hash:new Zn,map:new(zn||bn),string:new Zn}};const Xn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const Jn=function(e,t){var n=e.__data__;return Xn(t)?n["string"==typeof t?"string":"hash"]:n.map};const er=function(e){var t=Jn(this,e).delete(e);return this.size-=t?1:0,t};const tr=function(e){return Jn(this,e).get(e)};const nr=function(e){return Jn(this,e).has(e)};const rr=function(e,t){var n=Jn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function ar(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ar.prototype.clear=Gn,ar.prototype.delete=er,ar.prototype.get=tr,ar.prototype.has=nr,ar.prototype.set=rr;const or=ar;const ir=function(e,t){var n=this.__data__;if(n instanceof bn){var r=n.__data__;if(!zn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new or(r)}return n.set(e,t),this.size=n.size,this};function sr(e){var t=this.__data__=new bn(e);this.size=t.size}sr.prototype.clear=xn,sr.prototype.delete=wn,sr.prototype.get=kn,sr.prototype.has=_n,sr.prototype.set=ir;const lr=sr;const cr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};const ur=function(){try{var e=Yn(Object,"defineProperty");return e({},"",{}),e}catch(up){}}();const dr=function(e,t,n){"__proto__"==t&&ur?ur(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var fr=Object.prototype.hasOwnProperty;const hr=function(e,t,n){var r=e[t];fr.call(e,t)&&dn(r,n)&&(void 0!==n||t in e)||dr(e,t,n)};const pr=function(e,t,n,r){var a=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),a?dr(n,s,l):hr(n,s,l)}return n};const mr=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const gr=function(e){return nn(e)&&"[object Arguments]"==Jt(e)};var yr=Object.prototype,vr=yr.hasOwnProperty,br=yr.propertyIsEnumerable;const xr=gr(function(){return arguments}())?gr:function(e){return nn(e)&&vr.call(e,"callee")&&!br.call(e,"callee")};const wr=Array.isArray;const kr=function(){return!1};var _r="object"==typeof exports&&exports&&!exports.nodeType&&exports,jr=_r&&"object"==typeof module&&module&&!module.nodeType&&module,Sr=jr&&jr.exports===_r?Bt.Buffer:void 0;const Mr=(Sr?Sr.isBuffer:void 0)||kr;var Dr=/^(?:0|[1-9]\d*)$/;const Or=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Dr.test(e))&&e>-1&&e%1==0&&e<t};const Er=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var Nr={};Nr["[object Float32Array]"]=Nr["[object Float64Array]"]=Nr["[object Int8Array]"]=Nr["[object Int16Array]"]=Nr["[object Int32Array]"]=Nr["[object Uint8Array]"]=Nr["[object Uint8ClampedArray]"]=Nr["[object Uint16Array]"]=Nr["[object Uint32Array]"]=!0,Nr["[object Arguments]"]=Nr["[object Array]"]=Nr["[object ArrayBuffer]"]=Nr["[object Boolean]"]=Nr["[object DataView]"]=Nr["[object Date]"]=Nr["[object Error]"]=Nr["[object Function]"]=Nr["[object Map]"]=Nr["[object Number]"]=Nr["[object Object]"]=Nr["[object RegExp]"]=Nr["[object Set]"]=Nr["[object String]"]=Nr["[object WeakMap]"]=!1;const Pr=function(e){return nn(e)&&Er(e.length)&&!!Nr[Jt(e)]};const Tr=function(e){return function(t){return e(t)}};var Cr="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ir=Cr&&"object"==typeof module&&module&&!module.nodeType&&module,Rr=Ir&&Ir.exports===Cr&&Wt.process;const Fr=function(){try{var e=Ir&&Ir.require&&Ir.require("util").types;return e||Rr&&Rr.binding&&Rr.binding("util")}catch(up){}}();var Lr=Fr&&Fr.isTypedArray;const Ar=Lr?Tr(Lr):Pr;var Yr=Object.prototype.hasOwnProperty;const zr=function(e,t){var n=wr(e),r=!n&&xr(e),a=!n&&!r&&Mr(e),o=!n&&!r&&!a&&Ar(e),i=n||r||a||o,s=i?mr(e.length,String):[],l=s.length;for(var c in e)!t&&!Yr.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Or(c,l))||s.push(c);return s};var Wr=Object.prototype;const Hr=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Wr)};const Br=en(Object.keys,Object);var Vr=Object.prototype.hasOwnProperty;const Ur=function(e){if(!Hr(e))return Br(e);var t=[];for(var n in Object(e))Vr.call(e,n)&&"constructor"!=n&&t.push(n);return t};const $r=function(e){return null!=e&&Er(e.length)&&!Sn(e)};const qr=function(e){return $r(e)?zr(e):Ur(e)};const Qr=function(e,t){return e&&pr(t,qr(t),e)};const Kr=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var Zr=Object.prototype.hasOwnProperty;const Gr=function(e){if(!jn(e))return Kr(e);var t=Hr(e),n=[];for(var r in e)("constructor"!=r||!t&&Zr.call(e,r))&&n.push(r);return n};const Xr=function(e){return $r(e)?zr(e,!0):Gr(e)};const Jr=function(e,t){return e&&pr(t,Xr(t),e)};var ea="object"==typeof exports&&exports&&!exports.nodeType&&exports,ta=ea&&"object"==typeof module&&module&&!module.nodeType&&module,na=ta&&ta.exports===ea?Bt.Buffer:void 0,ra=na?na.allocUnsafe:void 0;const aa=function(e,t){if(t)return e.slice();var n=e.length,r=ra?ra(n):new e.constructor(n);return e.copy(r),r};const oa=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};const ia=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o};const sa=function(){return[]};var la=Object.prototype.propertyIsEnumerable,ca=Object.getOwnPropertySymbols,ua=ca?function(e){return null==e?[]:(e=Object(e),ia(ca(e),(function(t){return la.call(e,t)})))}:sa;const da=ua;const fa=function(e,t){return pr(e,da(e),t)};const ha=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e};var pa=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)ha(t,da(e)),e=tn(e);return t}:sa;const ma=pa;const ga=function(e,t){return pr(e,ma(e),t)};const ya=function(e,t,n){var r=t(e);return wr(e)?r:ha(r,n(e))};const va=function(e){return ya(e,qr,da)};const ba=function(e){return ya(e,Xr,ma)};const xa=Yn(Bt,"DataView");const wa=Yn(Bt,"Promise");const ka=Yn(Bt,"Set");const _a=Yn(Bt,"WeakMap");var ja="[object Map]",Sa="[object Promise]",Ma="[object Set]",Da="[object WeakMap]",Oa="[object DataView]",Ea=Nn(xa),Na=Nn(zn),Pa=Nn(wa),Ta=Nn(ka),Ca=Nn(_a),Ia=Jt;(xa&&Ia(new xa(new ArrayBuffer(1)))!=Oa||zn&&Ia(new zn)!=ja||wa&&Ia(wa.resolve())!=Sa||ka&&Ia(new ka)!=Ma||_a&&Ia(new _a)!=Da)&&(Ia=function(e){var t=Jt(e),n="[object Object]"==t?e.constructor:void 0,r=n?Nn(n):"";if(r)switch(r){case Ea:return Oa;case Na:return ja;case Pa:return Sa;case Ta:return Ma;case Ca:return Da}return t});const Ra=Ia;var Fa=Object.prototype.hasOwnProperty;const La=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Fa.call(e,"index")&&(n.index=e.index,n.input=e.input),n};const Aa=Bt.Uint8Array;const Ya=function(e){var t=new e.constructor(e.byteLength);return new Aa(t).set(new Aa(e)),t};const za=function(e,t){var n=t?Ya(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var Wa=/\w*$/;const Ha=function(e){var t=new e.constructor(e.source,Wa.exec(e));return t.lastIndex=e.lastIndex,t};var Ba=Vt?Vt.prototype:void 0,Va=Ba?Ba.valueOf:void 0;const Ua=function(e){return Va?Object(Va.call(e)):{}};const $a=function(e,t){var n=t?Ya(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};const qa=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Ya(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return za(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return $a(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return Ha(e);case"[object Symbol]":return Ua(e)}};var Qa=Object.create,Ka=function(){function e(){}return function(t){if(!jn(t))return{};if(Qa)return Qa(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const Za=Ka;const Ga=function(e){return"function"!=typeof e.constructor||Hr(e)?{}:Za(tn(e))};const Xa=function(e){return nn(e)&&"[object Map]"==Ra(e)};var Ja=Fr&&Fr.isMap;const eo=Ja?Tr(Ja):Xa;const to=function(e){return nn(e)&&"[object Set]"==Ra(e)};var no=Fr&&Fr.isSet;const ro=no?Tr(no):to;var ao="[object Arguments]",oo="[object Function]",io="[object Object]",so={};so[ao]=so["[object Array]"]=so["[object ArrayBuffer]"]=so["[object DataView]"]=so["[object Boolean]"]=so["[object Date]"]=so["[object Float32Array]"]=so["[object Float64Array]"]=so["[object Int8Array]"]=so["[object Int16Array]"]=so["[object Int32Array]"]=so["[object Map]"]=so["[object Number]"]=so[io]=so["[object RegExp]"]=so["[object Set]"]=so["[object String]"]=so["[object Symbol]"]=so["[object Uint8Array]"]=so["[object Uint8ClampedArray]"]=so["[object Uint16Array]"]=so["[object Uint32Array]"]=!0,so["[object Error]"]=so[oo]=so["[object WeakMap]"]=!1;const lo=function e(t,n,r,a,o,i){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,a,o,i):r(t)),void 0!==s)return s;if(!jn(t))return t;var d=wr(t);if(d){if(s=La(t),!l)return oa(t,s)}else{var f=Ra(t),h=f==oo||"[object GeneratorFunction]"==f;if(Mr(t))return aa(t,l);if(f==io||f==ao||h&&!o){if(s=c||h?{}:Ga(t),!l)return c?ga(t,Jr(s,t)):fa(t,Qr(s,t))}else{if(!so[f])return o?t:{};s=qa(t,f,l)}}i||(i=new lr);var p=i.get(t);if(p)return p;i.set(t,s),ro(t)?t.forEach((function(a){s.add(e(a,n,r,a,t,i))})):eo(t)&&t.forEach((function(a,o){s.set(o,e(a,n,r,o,t,i))}));var m=d?void 0:(u?c?ba:va:c?Xr:qr)(t);return cr(m||t,(function(a,o){m&&(a=t[o=a]),hr(s,o,e(a,n,r,o,t,i))})),s};const co=function(e){return lo(e,5)};var uo=n(6366),fo=n.n(uo);const ho=function(e,t){};const po=function(e){return lo(e,4)};const mo=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a};const go=function(e){return"symbol"==typeof e||nn(e)&&"[object Symbol]"==Jt(e)};function yo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(yo.Cache||or),n}yo.Cache=or;const vo=yo;var bo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xo=/\\(\\)?/g,wo=function(e){var t=vo(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(bo,(function(e,n,r,a){t.push(r?a.replace(xo,"$1"):n||e)})),t}));const ko=wo;const _o=function(e){if("string"==typeof e||go(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};var jo=Vt?Vt.prototype:void 0,So=jo?jo.toString:void 0;const Mo=function e(t){if("string"==typeof t)return t;if(wr(t))return mo(t,e)+"";if(go(t))return So?So.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};const Do=function(e){return null==e?"":Mo(e)};const Oo=function(e){return wr(e)?mo(e,_o):go(e)?[e]:oa(ko(Do(e)))};var Eo=n(219),No=n.n(Eo);function Po(){return Po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Po.apply(this,arguments)}function To(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Co(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function Io(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ro=(0,t.createContext)(void 0);Ro.displayName="FormikContext";var Fo=Ro.Provider,Lo=Ro.Consumer;function Ao(){var e=(0,t.useContext)(Ro);return e||ho(!1),e}var Yo=function(e){return Array.isArray(e)&&0===e.length},zo=function(e){return"function"===typeof e},Wo=function(e){return null!==e&&"object"===typeof e},Ho=function(e){return String(Math.floor(Number(e)))===e},Bo=function(e){return"[object String]"===Object.prototype.toString.call(e)},Vo=function(e){return 0===t.Children.count(e)},Uo=function(e){return Wo(e)&&zo(e.then)};function $o(e,t,n,r){void 0===r&&(r=0);for(var a=Oo(t);e&&r<a.length;)e=e[a[r++]];return r===a.length||e?void 0===e?n:e:n}function qo(e,t,n){for(var r=po(e),a=r,o=0,i=Oo(t);o<i.length-1;o++){var s=i[o],l=$o(e,i.slice(0,o+1));if(l&&(Wo(l)||Array.isArray(l)))a=a[s]=po(l);else{var c=i[o+1];a=a[s]=Ho(c)&&Number(c)>=0?[]:{}}}return(0===o?e:a)[i[o]]===n?e:(void 0===n?delete a[i[o]]:a[i[o]]=n,0===o&&void 0===n&&delete r[i[o]],r)}function Qo(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var a=0,o=Object.keys(e);a<o.length;a++){var i=o[a],s=e[i];Wo(s)?n.get(s)||(n.set(s,!0),r[i]=Array.isArray(s)?[]:{},Qo(s,t,n,r[i])):r[i]=t}return r}var Ko={},Zo={};function Go(e){var n=e.validateOnChange,r=void 0===n||n,a=e.validateOnBlur,o=void 0===a||a,i=e.validateOnMount,s=void 0!==i&&i,l=e.isInitialValid,c=e.enableReinitialize,u=void 0!==c&&c,d=e.onSubmit,f=Co(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),h=Po({validateOnChange:r,validateOnBlur:o,validateOnMount:s,onSubmit:d},f),p=(0,t.useRef)(h.initialValues),m=(0,t.useRef)(h.initialErrors||Ko),g=(0,t.useRef)(h.initialTouched||Zo),y=(0,t.useRef)(h.initialStatus),v=(0,t.useRef)(!1),b=(0,t.useRef)({});(0,t.useEffect)((function(){return v.current=!0,function(){v.current=!1}}),[]);var x=(0,t.useState)(0)[1],w=(0,t.useRef)({values:co(h.initialValues),errors:co(h.initialErrors)||Ko,touched:co(h.initialTouched)||Zo,status:co(h.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),k=w.current,_=(0,t.useCallback)((function(e){var t=w.current;w.current=function(e,t){switch(t.type){case"SET_VALUES":return Po({},e,{values:t.payload});case"SET_TOUCHED":return Po({},e,{touched:t.payload});case"SET_ERRORS":return fo()(e.errors,t.payload)?e:Po({},e,{errors:t.payload});case"SET_STATUS":return Po({},e,{status:t.payload});case"SET_ISSUBMITTING":return Po({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Po({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Po({},e,{values:qo(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Po({},e,{touched:qo(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Po({},e,{errors:qo(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Po({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Po({},e,{touched:Qo(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Po({},e,{isSubmitting:!1});default:return e}}(t,e),t!==w.current&&x((function(e){return e+1}))}),[]),j=(0,t.useCallback)((function(e,t){return new Promise((function(n,r){var a=h.validate(e,t);null==a?n(Ko):Uo(a)?a.then((function(e){n(e||Ko)}),(function(e){r(e)})):n(a)}))}),[h.validate]),S=(0,t.useCallback)((function(e,t){var n=h.validationSchema,r=zo(n)?n(t):n,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);var a=Jo(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:r||a})}(e,r);return new Promise((function(e,t){a.then((function(){e(Ko)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return qo(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(a>=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}var i=o;$o(t,i.path)||(t=qo(t,i.path,i.message))}}return t}(n)):t(n)}))}))}),[h.validationSchema]),M=(0,t.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),D=(0,t.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return zo(b.current[e].validate)})),n=t.length>0?t.map((function(t){return M(t,$o(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=qo(e,t[r],n)),e}),{})}))}),[M]),O=(0,t.useCallback)((function(e){return Promise.all([D(e),h.validationSchema?S(e):{},h.validate?j(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return zt.all([t,n,r],{arrayMerge:ei})}))}),[h.validate,h.validationSchema,D,j,S]),E=ni((function(e){return void 0===e&&(e=k.values),_({type:"SET_ISVALIDATING",payload:!0}),O(e).then((function(e){return v.current&&(_({type:"SET_ISVALIDATING",payload:!1}),_({type:"SET_ERRORS",payload:e})),e}))}));(0,t.useEffect)((function(){s&&!0===v.current&&fo()(p.current,h.initialValues)&&E(p.current)}),[s,E]);var N=(0,t.useCallback)((function(e){var t=e&&e.values?e.values:p.current,n=e&&e.errors?e.errors:m.current?m.current:h.initialErrors||{},r=e&&e.touched?e.touched:g.current?g.current:h.initialTouched||{},a=e&&e.status?e.status:y.current?y.current:h.initialStatus;p.current=t,m.current=n,g.current=r,y.current=a;var o=function(){_({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(h.onReset){var i=h.onReset(k.values,K);Uo(i)?i.then(o):o()}else o()}),[h.initialErrors,h.initialStatus,h.initialTouched,h.onReset]);(0,t.useEffect)((function(){!0!==v.current||fo()(p.current,h.initialValues)||u&&(p.current=h.initialValues,N(),s&&E(p.current))}),[u,h.initialValues,N,s,E]),(0,t.useEffect)((function(){u&&!0===v.current&&!fo()(m.current,h.initialErrors)&&(m.current=h.initialErrors||Ko,_({type:"SET_ERRORS",payload:h.initialErrors||Ko}))}),[u,h.initialErrors]),(0,t.useEffect)((function(){u&&!0===v.current&&!fo()(g.current,h.initialTouched)&&(g.current=h.initialTouched||Zo,_({type:"SET_TOUCHED",payload:h.initialTouched||Zo}))}),[u,h.initialTouched]),(0,t.useEffect)((function(){u&&!0===v.current&&!fo()(y.current,h.initialStatus)&&(y.current=h.initialStatus,_({type:"SET_STATUS",payload:h.initialStatus}))}),[u,h.initialStatus,h.initialTouched]);var P=ni((function(e){if(b.current[e]&&zo(b.current[e].validate)){var t=$o(k.values,e),n=b.current[e].validate(t);return Uo(n)?(_({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),_({type:"SET_ISVALIDATING",payload:!1})}))):(_({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return h.validationSchema?(_({type:"SET_ISVALIDATING",payload:!0}),S(k.values,e).then((function(e){return e})).then((function(t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:$o(t,e)}}),_({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),T=(0,t.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),C=(0,t.useCallback)((function(e){delete b.current[e]}),[]),I=ni((function(e,t){return _({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?E(k.values):Promise.resolve()})),R=(0,t.useCallback)((function(e){_({type:"SET_ERRORS",payload:e})}),[]),F=ni((function(e,t){var n=zo(e)?e(k.values):e;return _({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?E(n):Promise.resolve()})),L=(0,t.useCallback)((function(e,t){_({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),A=ni((function(e,t,n){return _({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?E(qo(k.values,e,t)):Promise.resolve()})),Y=(0,t.useCallback)((function(e,t){var n,r=t,a=e;if(!Bo(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,i=o.type,s=o.name,l=o.id,c=o.value,u=o.checked,d=(o.outerHTML,o.options),f=o.multiple;r=t||(s||l),a=/number|range/.test(i)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(i)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,a=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!a)return r.concat(n);if(!a)return r;return r.slice(0,o).concat(r.slice(o+1))}($o(k.values,r),u,c):d&&f?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(d):c}r&&A(r,a)}),[A,k.values]),z=ni((function(e){if(Bo(e))return function(t){return Y(t,e)};Y(e)})),W=ni((function(e,t,n){return void 0===t&&(t=!0),_({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?E(k.values):Promise.resolve()})),H=(0,t.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,a=n.id,o=(n.outerHTML,t||(r||a));W(o,!0)}),[W]),B=ni((function(e){if(Bo(e))return function(t){return H(t,e)};H(e)})),V=(0,t.useCallback)((function(e){zo(e)?_({type:"SET_FORMIK_STATE",payload:e}):_({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),U=(0,t.useCallback)((function(e){_({type:"SET_STATUS",payload:e})}),[]),$=(0,t.useCallback)((function(e){_({type:"SET_ISSUBMITTING",payload:e})}),[]),q=ni((function(){return _({type:"SUBMIT_ATTEMPT"}),E().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Z()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return v.current&&_({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(v.current)throw _({type:"SUBMIT_FAILURE"}),e}))}if(v.current&&(_({type:"SUBMIT_FAILURE"}),t))throw e}))})),Q=ni((function(e){e&&e.preventDefault&&zo(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&zo(e.stopPropagation)&&e.stopPropagation(),q().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:N,validateForm:E,validateField:P,setErrors:R,setFieldError:L,setFieldTouched:W,setFieldValue:A,setStatus:U,setSubmitting:$,setTouched:I,setValues:F,setFormikState:V,submitForm:q},Z=ni((function(){return d(k.values,K)})),G=ni((function(e){e&&e.preventDefault&&zo(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&zo(e.stopPropagation)&&e.stopPropagation(),N()})),X=(0,t.useCallback)((function(e){return{value:$o(k.values,e),error:$o(k.errors,e),touched:!!$o(k.touched,e),initialValue:$o(p.current,e),initialTouched:!!$o(g.current,e),initialError:$o(m.current,e)}}),[k.errors,k.touched,k.values]),J=(0,t.useCallback)((function(e){return{setValue:function(t,n){return A(e,t,n)},setTouched:function(t,n){return W(e,t,n)},setError:function(t){return L(e,t)}}}),[A,W,L]),ee=(0,t.useCallback)((function(e){var t=Wo(e),n=t?e.name:e,r=$o(k.values,n),a={name:n,value:r,onChange:z,onBlur:B};if(t){var o=e.type,i=e.value,s=e.as,l=e.multiple;"checkbox"===o?void 0===i?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(i)),a.value=i):"radio"===o?(a.checked=r===i,a.value=i):"select"===s&&l&&(a.value=a.value||[],a.multiple=!0)}return a}),[B,z,k.values]),te=(0,t.useMemo)((function(){return!fo()(p.current,k.values)}),[p.current,k.values]),ne=(0,t.useMemo)((function(){return"undefined"!==typeof l?te?k.errors&&0===Object.keys(k.errors).length:!1!==l&&zo(l)?l(h):l:k.errors&&0===Object.keys(k.errors).length}),[l,te,k.errors,h]);return Po({},k,{initialValues:p.current,initialErrors:m.current,initialTouched:g.current,initialStatus:y.current,handleBlur:B,handleChange:z,handleReset:G,handleSubmit:Q,resetForm:N,setErrors:R,setFormikState:V,setFieldTouched:W,setFieldValue:A,setFieldError:L,setStatus:U,setSubmitting:$,setTouched:I,setValues:F,submitForm:q,validateForm:E,validateField:P,isValid:ne,dirty:te,unregisterField:C,registerField:T,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:J,validateOnBlur:o,validateOnChange:r,validateOnMount:s})}function Xo(e){var n=Go(e),r=e.component,a=e.children,o=e.render,i=e.innerRef;return(0,t.useImperativeHandle)(i,(function(){return n})),(0,t.createElement)(Fo,{value:n},r?(0,t.createElement)(r,n):o?o(n):a?zo(a)?a(n):Vo(a)?null:t.Children.only(a):null)}function Jo(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||cn(e)?Jo(e):""!==e?e:void 0})):cn(e[r])?t[r]=Jo(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function ei(e,t,n){var r=e.slice();return t.forEach((function(t,a){if("undefined"===typeof r[a]){var o=!1!==n.clone&&n.isMergeableObject(t);r[a]=o?zt(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[a]=zt(e[a],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var ti="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?t.useLayoutEffect:t.useEffect;function ni(e){var n=(0,t.useRef)(e);return ti((function(){n.current=e})),(0,t.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.current.apply(void 0,t)}),[])}function ri(e){var n=e.validate,r=e.name,a=e.render,o=e.children,i=e.as,s=e.component,l=e.className,c=Co(e,["validate","name","render","children","as","component","className"]),u=Co(Ao(),["validate","validationSchema"]);var d=u.registerField,f=u.unregisterField;(0,t.useEffect)((function(){return d(r,{validate:n}),function(){f(r)}}),[d,f,r,n]);var h=u.getFieldProps(Po({name:r},c)),p=u.getFieldMeta(r),m={field:h,form:u};if(a)return a(Po({},m,{meta:p}));if(zo(o))return o(Po({},m,{meta:p}));if(s){if("string"===typeof s){var g=c.innerRef,y=Co(c,["innerRef"]);return(0,t.createElement)(s,Po({ref:g},h,y,{className:l}),o)}return(0,t.createElement)(s,Po({field:h,form:u},c,{className:l}),o)}var v=i||"input";if("string"===typeof v){var b=c.innerRef,x=Co(c,["innerRef"]);return(0,t.createElement)(v,Po({ref:b},h,x,{className:l}),o)}return(0,t.createElement)(v,Po({},h,c,{className:l}),o)}var ai=(0,t.forwardRef)((function(e,n){var r=e.action,a=Co(e,["action"]),o=null!=r?r:"#",i=Ao(),s=i.handleReset,l=i.handleSubmit;return(0,t.createElement)("form",Po({onSubmit:l,ref:n,onReset:s,action:o},a))}));function oi(e){var n=function(n){return(0,t.createElement)(Lo,null,(function(r){return r||ho(!1),(0,t.createElement)(e,Po({},n,{formik:r}))}))},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return n.WrappedComponent=e,n.displayName="FormikConnect("+r+")",No()(n,e)}ai.displayName="Form";var ii=function(e,t,n){var r=si(e);return r.splice(t,0,n),r},si=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(Po({},e,{length:t+1}))}return[]},li=function(e,t){var n="function"===typeof e?e:t;return function(e){if(Array.isArray(e)||Wo(e)){var t=si(e);return n(t)}return e}},ci=function(e){function n(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=n.props,o=a.name;(0,a.formik.setFormikState)((function(n){var a=li(r,e),i=li(t,e),s=qo(n.values,o,e($o(n.values,o))),l=r?a($o(n.errors,o)):void 0,c=t?i($o(n.touched,o)):void 0;return Yo(l)&&(l=void 0),Yo(c)&&(c=void 0),Po({},n,{values:s,errors:r?qo(n.errors,o,l):n.errors,touched:t?qo(n.touched,o,c):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(si(t),[co(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=si(e),a=r[t];return r[t]=r[n],r[n]=a,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=si(e),a=r[t];return r.splice(t,1),r.splice(n,0,a),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return ii(n,e,t)}),(function(t){return ii(t,e,null)}),(function(t){return ii(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=si(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(Io(n)),n.pop=n.pop.bind(Io(n)),n}To(n,e);var r=n.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!fo()($o(e.formik.values,e.name),$o(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?si(n):[];return t||(t=r[e]),zo(r.splice)&&r.splice(e,1),zo(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},r.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},r.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},n=this.props,r=n.component,a=n.render,o=n.children,i=n.name,s=Po({},e,{form:Co(n.formik,["validate","validationSchema"]),name:i});return r?(0,t.createElement)(r,s):a?a(s):o?"function"===typeof o?o(s):Vo(o)?null:t.Children.only(o):null},n}(t.Component);ci.defaultProps={validateOnChange:!0};var ui=oi(function(e){function n(){return e.apply(this,arguments)||this}To(n,e);var r=n.prototype;return r.shouldComponentUpdate=function(e){return $o(this.props.formik.errors,this.props.name)!==$o(e.formik.errors,this.props.name)||$o(this.props.formik.touched,this.props.name)!==$o(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},r.render=function(){var e=this.props,n=e.component,r=e.formik,a=e.render,o=e.children,i=e.name,s=Co(e,["component","formik","render","children","name"]),l=$o(r.touched,i),c=$o(r.errors,i);return l&&c?a?zo(a)?a(c):null:o?zo(o)?o(c):null:n?(0,t.createElement)(n,s,c):c:null},n}(t.Component)),di=n(4575),fi=n(1517),hi=n(8704),pi=n.n(hi);const mi=Object.prototype.toString,gi=Error.prototype.toString,yi=RegExp.prototype.toString,vi="undefined"!==typeof Symbol?Symbol.prototype.toString:()=>"",bi=/^Symbol\((.*)\)(.*)$/;function xi(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;const n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return vi.call(e).replace(bi,"Symbol($1)");const r=mi.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+gi.call(e)+"]":"RegExp"===r?yi.call(e):null}function wi(e,t){let n=xi(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){let r=xi(this[e],t);return null!==r?r:n}),2)}function ki(e){return null==e?[]:[].concat(e)}let _i,ji,Si,Mi=/\$\{\s*(\w+)\s*\}/g;_i=Symbol.toStringTag;class Di{constructor(e,t,n,r){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[_i]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],ki(e).forEach((e=>{if(Oi.isError(e)){this.errors.push(...e.errors);const t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}ji=Symbol.hasInstance,Si=Symbol.toStringTag;class Oi extends Error{static formatError(e,t){const n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"===typeof e?e.replace(Mi,((e,n)=>wi(t[n]))):"function"===typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,r,a){const o=new Di(e,t,n,r);if(a)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[Si]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Oi)}static[ji](e){return Di[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let Ei={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:e=>{let{path:t,type:n,value:r,originalValue:a}=e;const o=null!=a&&a!==r?` (cast from the value \`${wi(a,!0)}\`).`:".";return"mixed"!==n?`${t} must be a \`${n}\` type, but the final value was: \`${wi(r,!0)}\``+o:`${t} must match the configured type. The validated value was: \`${wi(r,!0)}\``+o}},Ni={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Pi={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Ti={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Ci={isValue:"${path} field must be ${value}"},Ii={noUnknown:"${path} field has unspecified keys: ${unknown}"},Ri={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Fi={notType:e=>{const{path:t,value:n,spec:r}=e,a=r.types.length;if(Array.isArray(n)){if(n.length<a)return`${t} tuple value has too few items, expected a length of ${a} but got ${n.length} for value: \`${wi(n,!0)}\``;if(n.length>a)return`${t} tuple value has too many items, expected a length of ${a} but got ${n.length} for value: \`${wi(n,!0)}\``}return Oi.formatError(Ei.notType,e)}};Object.assign(Object.create(null),{mixed:Ei,string:Ni,number:Pi,date:Ti,object:Ii,array:Ri,boolean:Ci,tuple:Fi});const Li=e=>e&&e.__isYupSchema__;class Ai{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:r,otherwise:a}=t,o="function"===typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((e=>e===n))};return new Ai(e,((e,t)=>{var n;let i=o(...e)?r:a;return null!=(n=null==i?void 0:i(t))?n:t}))}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map((e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context))),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!Li(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}const Yi="$",zi=".";class Wi{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Yi,this.isValue=this.key[0]===zi,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?Yi:this.isValue?zi:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,di.getter)(this.path,!0),this.map=t.map}getValue(e,t,n){let r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}Wi.prototype.__isYupRef=!0;const Hi=e=>null==e;function Bi(e){function t(t,n,r){let{value:a,path:o="",options:i,originalValue:s,schema:l}=t;const{name:c,test:u,params:d,message:f,skipAbsent:h}=e;let{parent:p,context:m,abortEarly:g=l.spec.abortEarly,disableStackTrace:y=l.spec.disableStackTrace}=i;function v(e){return Wi.isRef(e)?e.getValue(a,p,m):e}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object.assign({value:a,originalValue:s,label:l.spec.label,path:e.path||o,spec:l.spec,disableStackTrace:e.disableStackTrace||y},d,e.params);for(const r of Object.keys(t))t[r]=v(t[r]);const n=new Oi(Oi.formatError(e.message||f,t),a,t.path,e.type||c,t.disableStackTrace);return n.params=t,n}const x=g?n:r;let w={path:o,parent:p,type:c,from:i.from,createError:b,resolve:v,options:i,originalValue:s,schema:l};const k=e=>{Oi.isError(e)?x(e):e?r(null):x(b())},_=e=>{Oi.isError(e)?x(e):n(e)};if(h&&Hi(a))return k(!0);let j;try{var S;if(j=u.call(w,a,w),"function"===typeof(null==(S=j)?void 0:S.then)){if(i.sync)throw new Error(`Validation test of type: "${w.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(j).then(k,_)}}catch(M){return void _(M)}k(j)}return t.OPTIONS=e,t}function Vi(e,t,n){let r,a,o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,di.forEach)(t,((s,l,c)=>{let u=l?s.slice(1,s.length-1):s,d="tuple"===(e=e.resolve({context:i,parent:r,value:n})).type,f=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&f>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);r=n,n=n&&n[f],e=d?e.spec.types[f]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);r=n,n=n&&n[u],e=e.fields[u]}a=u,o=l?"["+s+"]":"."+s})),{schema:e,parent:r,parentPath:a}):{parent:r,parentPath:t,schema:e}}class Ui extends Set{describe(){const e=[];for(const t of this.values())e.push(Wi.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(const n of this.values())t.push(e(n));return t}clone(){return new Ui(this.values())}merge(e,t){const n=this.clone();return e.forEach((e=>n.add(e))),t.forEach((e=>n.delete(e))),n}}function $i(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(Li(e)||!e||"object"!==typeof e)return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(let r=0;r<e.length;r++)t[r]=$i(e[r],n)}else if(e instanceof Map){t=new Map,n.set(e,t);for(const[r,a]of e.entries())t.set(r,$i(a,n))}else if(e instanceof Set){t=new Set,n.set(e,t);for(const r of e)t.add($i(r,n))}else{if(!(e instanceof Object))throw Error(`Unable to clone ${e}`);t={},n.set(e,t);for(const[r,a]of Object.entries(e))t[r]=$i(a,n)}return t}class qi{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Ui,this._blacklist=new Ui,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(Ei.notType)})),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation((e=>{e.nonNullable()}))}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;const t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=$i(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(){if(0===arguments.length)return this.spec.meta;let e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},arguments.length<=0?void 0:arguments[0]),e}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=this,n=e.clone();const r=Object.assign({},t.spec,n.spec);return n.spec=r,n.internalTests=Object.assign({},t.internalTests,n.internalTests),n._whitelist=t._whitelist.merge(e._whitelist,e._blacklist),n._blacklist=t._blacklist.merge(e._blacklist,e._whitelist),n.tests=t.tests,n.exclusiveTests=t.exclusiveTests,n.withMutation((t=>{e.tests.forEach((e=>{t.test(e.OPTIONS)}))})),n.transforms=[...t.transforms,...n.transforms],n}isType(e){return null==e?!(!this.spec.nullable||null!==e)||!(!this.spec.optional||void 0!==e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;t=t.clone(),t.conditions=[],t=n.reduce(((t,n)=>n.resolve(t,e)),t),t=t.resolve(e)}return t}resolveOptions(e){var t,n,r,a;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortEarly)?n:this.spec.abortEarly,recursive:null!=(r=e.recursive)?r:this.spec.recursive,disableStackTrace:null!=(a=e.disableStackTrace)?a:this.spec.disableStackTrace})}cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,a=n._cast(e,t);if(!1!==t.assert&&!n.isType(a)){if(r&&Hi(a))return a;let o=wi(e),i=wi(a);throw new TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". \n\nattempted value: ${o} \n`+(i!==o?`result of cast: ${i}`:""))}return a}_cast(e,t){let n=void 0===e?e:this.transforms.reduce(((t,n)=>n.call(this,t,e,this)),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{path:a,originalValue:o=e,strict:i=this.spec.strict}=t,s=e;i||(s=this._cast(s,Object.assign({assert:!1},t)));let l=[];for(let c of Object.values(this.internalTests))c&&l.push(c);this.runTests({path:a,value:s,originalValue:o,options:t,tests:l},n,(e=>{if(e.length)return r(e,s);this.runTests({path:a,value:s,originalValue:o,options:t,tests:this.tests},n,r)}))}runTests(e,t,n){let r=!1,{tests:a,value:o,originalValue:i,path:s,options:l}=e,c=e=>{r||(r=!0,t(e,o))},u=e=>{r||(r=!0,n(e,o))},d=a.length,f=[];if(!d)return u([]);let h={value:o,originalValue:i,path:s,options:l,schema:this};for(let p=0;p<a.length;p++){(0,a[p])(h,c,(function(e){e&&(Array.isArray(e)?f.push(...e):f.push(e)),--d<=0&&u(f)}))}}asNestedTest(e){let{key:t,index:n,parent:r,parentPath:a,originalParent:o,options:i}=e;const s=null!=t?t:n;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");const l="number"===typeof s;let c=r[s];const u=Object.assign({},i,{strict:!0,parent:r,value:c,originalValue:o[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${a||""}[${l?s:`"${s}"`}]`:(a?`${a}.`:"")+t});return(e,t,n)=>this.resolve(u)._validate(c,u,t,n)}validate(e,t){var n;let r=this.resolve(Object.assign({},t,{value:e})),a=null!=(n=null==t?void 0:t.disableStackTrace)?n:r.spec.disableStackTrace;return new Promise(((n,o)=>r._validate(e,t,((e,t)=>{Oi.isError(e)&&(e.value=t),o(e)}),((e,t)=>{e.length?o(new Oi(e,t,void 0,void 0,a)):n(t)}))))}validateSync(e,t){var n;let r,a=this.resolve(Object.assign({},t,{value:e})),o=null!=(n=null==t?void 0:t.disableStackTrace)?n:a.spec.disableStackTrace;return a._validate(e,Object.assign({},t,{sync:!0}),((e,t)=>{throw Oi.isError(e)&&(e.value=t),e}),((t,n)=>{if(t.length)throw new Oi(t,e,void 0,void 0,o);r=n})),r}isValid(e,t){return this.validate(e,t).then((()=>!0),(e=>{if(Oi.isError(e))return!1;throw e}))}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(n){if(Oi.isError(n))return!1;throw n}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this,e):$i(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){if(0===arguments.length)return this._getDefault();return this.clone({default:e})}strict(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}nullability(e,t){const n=this.clone({nullable:e});return n.internalTests.nullable=Bi({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){const n=this.clone({optional:e});return n.internalTests.optionality=Bi({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei.defined;return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei.notNull;return this.nullability(!1,e)}required(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ei.required;return this.clone().withMutation((t=>t.nonNullable(e).defined(e)))}notRequired(){return this.clone().withMutation((e=>e.nullable().optional()))}transform(e){let t=this.clone();return t.transforms.push(e),t}test(){let e;if(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]},void 0===e.message&&(e.message=Ei.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");let t=this.clone(),n=Bi(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((t=>{if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}when(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");let n=this.clone(),r=ki(e).map((e=>new Wi(e)));return r.forEach((e=>{e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"===typeof t?new Ai(r,t):Ai.fromOptions(r,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=Bi({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ei.oneOf,n=this.clone();return e.forEach((e=>{n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=Bi({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ei.notOneOf,n=this.clone();return e.forEach((e=>{n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=Bi({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}describe(e){const t=(e?this.resolve(e):this).clone(),{label:n,meta:r,optional:a,nullable:o}=t.spec;return{meta:r,label:n,optional:a,nullable:o,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((e=>({name:e.OPTIONS.name,params:e.OPTIONS.params}))).filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t))}}}qi.prototype.__isYupSchema__=!0;for(const n of["validate","validateSync"])qi.prototype[`${n}At`]=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{parent:a,parentPath:o,schema:i}=Vi(this,e,t,r.context);return i[n](a&&a[o],Object.assign({},r,{parent:a,path:e}))};for(const n of["equals","is"])qi.prototype[n]=qi.prototype.oneOf;for(const n of["not","nope"])qi.prototype[n]=qi.prototype.notOneOf;const Qi=()=>!0;class Ki extends qi{constructor(e){super("function"===typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:Qi},e))}}function Zi(){return new Gi}Ki.prototype;class Gi extends qi{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"===typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(n.spec.coerce&&!n.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e}))}))}isTrue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ci.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>Hi(e)||!0===e})}isFalse(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ci.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>Hi(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}Zi.prototype=Gi.prototype;const Xi=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Ji(e){var t,n;const r=Xi.exec(e);return r?{year:es(r[1]),month:es(r[2],1)-1,day:es(r[3],1),hour:es(r[4]),minute:es(r[5]),second:es(r[6]),millisecond:r[7]?es(r[7].substring(0,3)):0,precision:null!=(t=null==(n=r[7])?void 0:n.length)?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:es(r[10]),minuteOffset:es(r[11])}:null}function es(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e)||t}let ts=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ns=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,rs=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,as=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),os=e=>Hi(e)||e===e.trim(),is={}.toString();function ss(){return new ls}class ls extends qi{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"===typeof e)}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;const r=null!=e&&e.toString?e.toString():e;return r===is?e:r}))}))}required(e){return super.required(e).withMutation((t=>t.test({message:e||Ei.required,name:"required",skipAbsent:!0,test:e=>!!e.length})))}notRequired(){return super.notRequired().withMutation((e=>(e.tests=e.tests.filter((e=>"required"!==e.OPTIONS.name)),e)))}length(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ni.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ni.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ni.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n,r,a=!1;return t&&("object"===typeof t?({excludeEmptyString:a=!1,message:n,name:r}=t):n=t),this.test({name:r||"matches",message:n||Ni.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&a||-1!==t.search(e)})}email(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.email;return this.matches(ts,{name:"email",message:e,excludeEmptyString:!0})}url(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.url;return this.matches(ns,{name:"url",message:e,excludeEmptyString:!0})}uuid(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.uuid;return this.matches(rs,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t,n,r="";return e&&("object"===typeof e?({message:r="",allowOffset:t=!1,precision:n}=e):r=e),this.matches(as,{name:"datetime",message:r||Ni.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||Ni.datetime_offset,params:{allowOffset:t},skipAbsent:!0,test:e=>{if(!e||t)return!0;const n=Ji(e);return!!n&&!!n.z}}).test({name:"datetime_precision",message:r||Ni.datetime_precision,params:{precision:n},skipAbsent:!0,test:e=>{if(!e||void 0==n)return!0;const t=Ji(e);return!!t&&t.precision===n}})}ensure(){return this.default("").transform((e=>null===e?"":e))}trim(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.trim;return this.transform((e=>null!=e?e.trim():e)).test({message:e,name:"trim",test:os})}lowercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.lowercase;return this.transform((e=>Hi(e)?e:e.toLowerCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Hi(e)||e===e.toLowerCase()})}uppercase(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ni.uppercase;return this.transform((e=>Hi(e)?e:e.toUpperCase())).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>Hi(e)||e===e.toUpperCase()})}}ss.prototype=ls.prototype;class cs extends qi{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!(e=>e!=+e)(e))}),this.withMutation((()=>{this.transform(((e,t,n)=>{if(!n.spec.coerce)return e;let r=e;if("string"===typeof r){if(r=r.replace(/\s/g,""),""===r)return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))}))}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pi.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pi.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pi.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pi.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pi.positive;return this.moreThan(0,e)}negative(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pi.negative;return this.lessThan(0,e)}integer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pi.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform((e=>Hi(e)?e:0|e))}round(e){var t;let n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((t=>Hi(t)?t:Math[e](t)))}}cs.prototype;let us=new Date("");function ds(){return new fs}class fs extends qi{constructor(){super({type:"date",check(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),this.withMutation((()=>{this.transform(((e,t,n)=>!n.spec.coerce||n.isType(e)||null===e?e:(e=function(e){const t=Ji(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e),isNaN(e)?fs.INVALID_DATE:new Date(e))))}))}prepareParam(e,t){let n;if(Wi.isRef(e))n=e;else{let r=this.cast(e);if(!this._typeCheck(r))throw new TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=r}return n}min(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ti.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ti.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function hs(e,t){let n=1/0;return e.some(((e,r)=>{var a;if(null!=(a=t.path)&&a.includes(e))return n=r,!0})),n}function ps(e){return(t,n)=>hs(e,t)-hs(e,n)}fs.INVALID_DATE=us,ds.prototype=fs.prototype,ds.INVALID_DATE=us;const ms=(e,t,n)=>{if("string"!==typeof e)return e;let r=e;try{r=JSON.parse(e)}catch(a){}return n.isType(r)?r:e};function gs(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=gs(r);return e.setFields(t)}if("array"===e.type){const t=e.optional();return t.innerType&&(t.innerType=gs(t.innerType)),t}return"tuple"===e.type?e.optional().clone({types:e.spec.types.map(gs)}):"optional"in e?e.optional():e}let ys=e=>"[object Object]"===Object.prototype.toString.call(e);const vs=ps([]);function bs(e){return new xs(e)}class xs extends qi{constructor(e){super({type:"object",check:e=>ys(e)||"function"===typeof e}),this.fields=Object.create(null),this._sortErrors=vs,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{e&&this.shape(e)}))}_cast(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;let r=super._cast(e,t);if(void 0===r)return this.getDefault(t);if(!this._typeCheck(r))return r;let a=this.fields,o=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,i=[].concat(this._nodes,Object.keys(r).filter((e=>!this._nodes.includes(e)))),s={},l=Object.assign({},t,{parent:s,__validating:t.__validating||!1}),c=!1;for(const u of i){let e=a[u],n=u in r;if(e){let n,a=r[u];l.path=(t.path?`${t.path}.`:"")+u,e=e.resolve({value:a,context:t.context,parent:s});let o=e instanceof qi?e.spec:void 0,i=null==o?void 0:o.strict;if(null!=o&&o.strip){c=c||u in r;continue}n=t.__validating&&i?r[u]:e.cast(r[u],l),void 0!==n&&(s[u]=n)}else n&&!o&&(s[u]=r[u]);n===u in s&&s[u]===r[u]||(c=!0)}return c?s:r}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,{from:a=[],originalValue:o=e,recursive:i=this.spec.recursive}=t;t.from=[{schema:this,value:o},...a],t.__validating=!0,t.originalValue=o,super._validate(e,t,n,((e,a)=>{if(!i||!ys(a))return void r(e,a);o=o||a;let s=[];for(let n of this._nodes){let e=this.fields[n];e&&!Wi.isRef(e)&&s.push(e.asNestedTest({options:t,key:n,parent:a,parentPath:t.path,originalParent:o}))}this.runTests({tests:s,value:a,originalValue:o,options:t},n,(t=>{r(t.sort(this._sortErrors).concat(e),a)}))}))}clone(e){const t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[r,a]of Object.entries(this.fields)){const e=n[r];n[r]=void 0===e?a:e}return t.withMutation((t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges])))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach((n=>{var r;const a=this.fields[n];let o=e;null!=(r=o)&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),t[n]=a&&"getDefault"in a?a.getDefault(o):void 0})),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,a=new Set(t.map((e=>{let[t,n]=e;return`${t}-${n}`})));function o(e,t){let o=(0,di.split)(e)[0];r.add(o),a.has(`${t}-${o}`)||n.push([t,o])}for(const i of Object.keys(e)){let t=e[i];r.add(i),Wi.isRef(t)&&t.isSibling?o(t.path,i):Li(t)&&"deps"in t&&t.deps.forEach((e=>o(e,i)))}return pi().array(Array.from(r),n).reverse()}(e,t),n._sortErrors=ps(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((n=>{let r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),r)}))}partial(){const e={};for(const[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return gs(this)}pick(e){const t={};for(const n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter((t=>{let[n,r]=t;return e.includes(n)&&e.includes(r)})))}omit(e){const t=[];for(const n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let r=(0,di.getter)(e,!0);return this.transform((a=>{if(!a)return a;let o=a;return((e,t)=>{const n=[...(0,di.normalizePath)(t)];if(1===n.length)return n[0]in e;let r=n.pop(),a=(0,di.getter)((0,di.join)(n),!0)(e);return!(!a||!(r in a))})(a,e)&&(o=Object.assign({},a),n||delete o[e],o[t]=r(a)),o}))}json(){return this.transform(ms)}noUnknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ii.noUnknown;"boolean"!==typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;const n=function(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter((e=>-1===n.indexOf(e)))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ii.noUnknown;return this.noUnknown(!e,t)}transformKeys(e){return this.transform((t=>{if(!t)return t;const n={};for(const r of Object.keys(t))n[e(r)]=t[r];return n}))}camelCase(){return this.transformKeys(fi.camelCase)}snakeCase(){return this.transformKeys(fi.snakeCase)}constantCase(){return this.transformKeys((e=>(0,fi.snakeCase)(e).toUpperCase()))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);n.fields={};for(const[a,o]of Object.entries(t.fields)){var r;let t=e;null!=(r=t)&&r.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[a]})),n.fields[a]=o.describe(t)}return n}}bs.prototype=xs.prototype;class ws extends qi{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){const n=super._cast(e,t);if(!this._typeCheck(n)||!this.innerType)return n;let r=!1;const a=n.map(((e,n)=>{const a=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${n}]`}));return a!==e&&(r=!0),a}));return r?a:n}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;var a;let o=this.innerType,i=null!=(a=t.recursive)?a:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,n,((a,s)=>{var l;if(!i||!o||!this._typeCheck(s))return void r(a,s);let c=new Array(s.length);for(let n=0;n<s.length;n++){var u;c[n]=o.asNestedTest({options:t,index:n,parent:s,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e})}this.runTests({value:s,tests:c,originalValue:null!=(l=t.originalValue)?l:e,options:t},n,(e=>r(e.concat(a),s)))}))}clone(e){const t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(ms)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!Li(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+wi(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ri.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||Ri.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||Ri.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default((()=>[])).transform(((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t)))}compact(e){let t=e?(t,n,r)=>!e(t,n,r):e=>!!e;return this.transform((e=>null!=e?e.filter(t):e))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);if(t.innerType){var r;let a=e;null!=(r=a)&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[0]})),n.innerType=t.innerType.describe(a)}return n}}ws.prototype;class ks extends qi{constructor(e){super({type:"tuple",spec:{types:e},check(e){const t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation((()=>{this.typeError(Fi.notType)}))}_cast(e,t){const{types:n}=this.spec,r=super._cast(e,t);if(!this._typeCheck(r))return r;let a=!1;const o=n.map(((e,n)=>{const o=e.cast(r[n],Object.assign({},t,{path:`${t.path||""}[${n}]`}));return o!==r[n]&&(a=!0),o}));return a?o:r}_validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,a=this.spec.types;super._validate(e,t,n,((o,i)=>{var s;if(!this._typeCheck(i))return void r(o,i);let l=[];for(let[n,r]of a.entries()){var c;l[n]=r.asNestedTest({options:t,index:n,parent:i,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e})}this.runTests({value:i,tests:l,originalValue:null!=(s=t.originalValue)?s:e,options:t},n,(e=>r(e.concat(o),i)))}))}describe(e){const t=(e?this.resolve(e):this).clone(),n=super.describe(e);return n.innerType=t.spec.types.map(((t,n)=>{var r;let a=e;return null!=(r=a)&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),t.describe(a)})),n}}ks.prototype;const _s=()=>{const[e,n]=(0,t.useState)(!1),[r,a]=(0,t.useState)(!1),[o,i]=(0,t.useState)(!1),[s,l]=(0,t.useState)(!1),c=()=>{n(!e)},u=()=>{a(!r)},d=()=>{i(!o)};(0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]);const f=bs().shape({user_name:ss().required("Username is required").matches(/^[a-zA-Z0-9._-]{3,20}$/,"Username must be between 3 and 20 characters and can contain letters, numbers, dots, underscores, and hyphens"),first_name:ss().required("First name is required").matches(/^[a-zA-Z]+$/,"First name can only contain letters"),last_name:ss().required("Last name is required").matches(/^[a-zA-Z]+$/,"Last name can only contain letters"),email:ss().required("Email is required").email("Email must be a valid email address"),password:ss().required("Password is required").min(8,"Password must be at least 8 characters long").matches(/[A-Z]/,"Password must contain at least one uppercase letter").matches(/[a-z]/,"Password must contain at least one lowercase letter").matches(/[0-9]/,"Password must contain at least one number").matches(/[@$!%*?&]/,"Password must contain at least one special character"),confirm_password:ss().required("Confirm password is required").oneOf([(h="password",new Wi(h,p))],"Passwords must match"),payment_email:ss().required("Payment email is required").email("Payment email must be a valid email address"),website:ss().url("Website must be a valid URL").nullable(),agree_to_term:Zi().oneOf([!0],"You must agree to the terms and conditions").required("You must agree to the terms and conditions"),how_will_you_promote_us:ss().required("This field is required").min(10,"Please provide at least 10 characters").max(250,"At most 250 characters allowed")});var h,p;const m=e=>(0,dt.jsx)("p",{className:"italic text-[#dd1212]",children:e});return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Affiliate Registration"}),(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("div",{className:"w-full bg-[#F5F5F5] text-black mt-20",children:(0,dt.jsx)("div",{className:"max-w-screen-xl p-10 mx-auto",children:(0,dt.jsx)("h1",{className:"text-[20px] font-[Roboto] text-gray-800 leading-tight md:text-[20px] lg:text-[25px]",children:"Affiliate Registration"})})}),(0,dt.jsx)(Xo,{initialValues:{user_name:"",first_name:"",last_name:"",email:"",password:"",confirm_password:"",payment_email:"",website:"",agree_to_term:"",how_will_you_promote_us:""},enableReinitialize:!0,validationSchema:f,onSubmit:(e,t)=>{console.log("values",e)},children:t=>{let{values:n,setFieldValue:a,handleChange:i,handleBlur:s}=t;return(0,dt.jsx)(ai,{children:(0,dt.jsx)("div",{className:"w-full text-black",children:(0,dt.jsxs)("div",{className:"max-w-screen-xl p-10 mx-auto",children:[(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"username",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Username ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"text",id:"username",name:"user_name",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"user_name",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"firstName",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["First Name ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"text",id:"firstName",name:"first_name",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"first_name",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"lastName",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Last Name ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"text",id:"lastName",name:"last_name",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"last_name",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"email",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Email ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"email",id:"email",name:"email",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"email",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4 relative",children:[(0,dt.jsxs)("label",{htmlFor:"password",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Password ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsx)("input",{type:e?"text":"password",id:"password",name:"password",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)("div",{className:"absolute inset-y-0 right-3 flex items-center cursor-pointer",onClick:c,children:e?(0,dt.jsx)(tt,{size:20}):(0,dt.jsx)(nt,{size:20})})]}),(0,dt.jsxs)("div",{className:"mt-2 flex items-center text-gray-800 cursor-pointer",onClick:d,children:[(0,dt.jsx)(ot,{className:"mr-1",size:16}),(0,dt.jsxs)("span",{className:"text-sm underline",children:[o?"Hide":"Show"," Password Requirements"]})]}),o&&(0,dt.jsx)("div",{className:"border border-gray-300 p-4 bg-[#222222] text-white mt-2",children:(0,dt.jsxs)("p",{className:"text-sm",children:["Your password must be at least 8 characters long and contain:",(0,dt.jsxs)("ul",{className:"list-disc ml-5",children:[(0,dt.jsx)("li",{children:"At least one uppercase letter (A-Z)"}),(0,dt.jsx)("li",{children:"At least one lowercase letter (a-z)"}),(0,dt.jsx)("li",{children:"At least one number (0-9)"}),(0,dt.jsx)("li",{children:"At least one special character (e.g., @, $, !, %, *, ?)"})]})]})}),(0,dt.jsx)(ui,{name:"password",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4 relative",children:[(0,dt.jsxs)("label",{htmlFor:"confirmPassword",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Confirm Password ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsx)("input",{type:r?"text":"password",id:"confirmPassword",name:"confirm_password",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)("div",{className:"absolute inset-y-0 right-3 flex items-center cursor-pointer",onClick:u,children:r?(0,dt.jsx)(tt,{size:20}):(0,dt.jsx)(nt,{size:20})})]}),(0,dt.jsx)(ui,{name:"confirm_password",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"paymentEmail",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Payment Email ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"email",id:"paymentEmail",name:"payment_email",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"payment_email",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsx)("label",{htmlFor:"website",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:"Website"}),(0,dt.jsx)("input",{type:"text",id:"website",name:"website",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2"}),(0,dt.jsx)(ui,{name:"website",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"promotion",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["How will you promote us? ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("textarea",{id:"promotion",name:"how_will_you_promote_us",onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2",rows:"4"}),(0,dt.jsx)(ui,{name:"how_will_you_promote_us",render:m})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsx)(ri,{type:"checkbox",id:"terms",name:"agree_to_term",className:"p-4"}),(0,dt.jsx)("label",{htmlFor:"terms",className:"ml-2 text-sm font-[Roboto] text-gray-800",children:(0,dt.jsx)(Oe,{to:"/terms",className:"underline",children:"Agree to our Terms and Conditions"})}),(0,dt.jsx)(ui,{name:"agree_to_term",render:m})]}),(0,dt.jsx)("button",{type:"submit",className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"Register"})]})})})}})]}),(0,dt.jsx)(xt,{})]})},js=()=>{const[e,n]=(0,t.useState)(!1),r=()=>{n(!e)},a=bs().shape({username:ss().required("Username or Email is required").test("username-or-email","Must be a valid username or email address",(function(e){return/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(e)||/^[a-zA-Z0-9._-]{3,20}$/.test(e)})),password:ss().required("Password is required").min(8,"Password must be at least 8 characters long")}),o=e=>(0,dt.jsx)("p",{className:"italic text-[#dd1212]",children:e});return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Affiliate Account"}),(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("div",{className:"w-full bg-[#F5F5F5] text-black mt-20",children:(0,dt.jsx)("div",{className:"max-w-screen-xl p-10 mx-auto",children:(0,dt.jsx)("h1",{className:" text-[20px] font-[Roboto] text-gray-800 leading-tight md:text-[20px] lg:text-[25px]",children:"Affiliate Account"})})}),(0,dt.jsx)(Xo,{initialValues:{username:"",password:""},enableReinitialize:!0,validationSchema:a,onSubmit:(e,t)=>{console.log("values",e)},children:t=>{let{values:n,setFieldValue:a,handleChange:i,handleBlur:s}=t;return(0,dt.jsx)(ai,{children:(0,dt.jsx)("div",{className:"w-full text-black",children:(0,dt.jsxs)("div",{className:"max-w-screen-xl p-10 mx-auto",children:[(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"username",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Username / Email ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"text",id:"username",name:"username",value:n.username,onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2 "}),(0,dt.jsx)(ui,{name:"username",render:o})]}),(0,dt.jsxs)("div",{className:"mb-4 relative",children:[(0,dt.jsxs)("label",{htmlFor:"password",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Password ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsx)("input",{type:e?"text":"password",id:"password",name:"password",value:n.password,onChange:i,onBlur:s,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2 "}),(0,dt.jsx)("div",{className:"absolute inset-y-0 right-3 flex items-center cursor-pointer",onClick:r,children:e?(0,dt.jsx)(tt,{size:20}):(0,dt.jsx)(nt,{size:20})})]}),(0,dt.jsx)(ui,{name:"password",render:o})]}),(0,dt.jsx)("button",{type:"submit",className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"Login"}),(0,dt.jsx)("div",{className:"mt-2",children:(0,dt.jsx)(Oe,{to:"/affiliate-reset-password",className:"text-sm text-gray-800 underline",children:"Lost your password?"})})]})})})}})]}),(0,dt.jsx)(xt,{})]})};const Ss=function(){const e=X();return(0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,t.useEffect)((()=>{kt().init({duration:1e3}),kt().refresh()}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Join BodyRecomp's Affiliate Marketing Program | Turn Your Fitness Passion into Profit"}),(0,dt.jsxs)("section",{className:"relative bg-cover bg-center min-h-screen flex items-center ",style:{backgroundImage:"url('/images/affilliate_banner.jpeg')"},children:[(0,dt.jsx)("div",{className:"absolute inset-0 bg-black opacity-40"}),(0,dt.jsxs)("div",{className:"relative lg:mt-5 p-10 lg:px-40 rounded-lg w-full max-w-2xl mx-auto flex flex-col items-start lg:max-w-full w-full",children:[(0,dt.jsx)("img",{src:"/images/bodyrecomp-logo.png",alt:"BodyRecomp Logo",className:"w-60 mb-5 lg:mb-20"}),(0,dt.jsxs)("div",{className:"lg:w-2/3 mt-10",children:[(0,dt.jsx)("h1",{className:"text-white text-6xl lg:text-9xl font-bold mb-6 Anton400",children:"Become an Affiliate Today"}),(0,dt.jsx)("p",{className:"text-white text-lg lg:text-xl mb-6 Montserratparagraph",children:"If you\u2019re a fitness professional or a content creator passionate about fitness and eager to make a side income, this opportunity is for you. As a part of our team, you\u2019ll help inspire healthier lives and earn from it. Turn your passion into profit with BodyRecomp."})]}),(0,dt.jsx)("button",{onClick:()=>e("/affiliate-registration"),type:"button","data-aos":"fade-up",className:"Montserrat  bg-custom-gradient border-2 border-[#049998] text-white px-5 py-3 rounded-sm hover:text-black transition duration-200",children:"Apply Today"})]})]}),(0,dt.jsxs)("div",{className:"max-w-screen-xl mx-auto p-4 lg:mt-40 lg:px-10",children:[(0,dt.jsxs)("div",{className:"flex flex-col lg:hidden",children:[(0,dt.jsx)("div",{className:"flex-1 bg-white rounded-lg p-6 flex flex-col justify-center items-center mb-4",children:(0,dt.jsxs)("div",{className:"max-w-xs lg:max-w-sm",children:[(0,dt.jsx)("h1",{className:"Anton400 text-4xl font-bold mb-4 text-[#10313D] text-center",children:"Generate Passive Income"}),(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Enrich Lives"}),(0,dt.jsx)("p",{className:"mb-4 text-center text-[#989B9E] Montserrat",children:"Every time someone signs up through your affiliate link, you're playing a key role in their fitness journey, helping to motivate and guide them towards healthier lifestyles."}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Performance Bonuses"}),(0,dt.jsx)("p",{className:"mb-4 text-center text-[#989B9E] Montserrat",children:"Many affiliate programs reward top-performing affiliates with additional bonuses. So, the more people you help, the more potential earnings you can enjoy."})]}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Lifetime Commissions"}),(0,dt.jsx)("p",{className:"mb-4 text-center text-[#989B9E] Montserrat",children:"You're not just earning from one-off purchases, but potentially benefiting from subscriptions for as long as your links remain customers."})]}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Sustainable Earnings"}),(0,dt.jsx)("p",{className:"text-center text-[#989B9E] Montserrat",children:"With each referral, you're building a steady stream of income that can provide financial security. This income not only rewards your hard work but also empowers you to invest more in your passion to help others on their fitness journeys."})]})]})}),(0,dt.jsx)("div",{className:"container mx-auto px-20 mb-4",children:(0,dt.jsx)("button",{type:"button",className:"Montserrat bg-custom-gradient border-2 border-[#049998] text-white px-4 py-2 rounded-sm hover:text-black transition duration-200",children:"Apply Today!"})})]}),(0,dt.jsxs)("div",{className:"hidden lg:flex lg:flex-row",children:[(0,dt.jsxs)("div",{className:"flex-1 relative mb-4 lg:mb-0 h-96 lg:h-auto lg:mr-4 z-50",children:[(0,dt.jsx)("img",{src:"/images/dumble_blur_bg.jpeg",alt:"Fitness",className:"w-full h-full object-cover "}),(0,dt.jsx)("div",{className:"absolute inset-0 bg-black opacity-20"}),(0,dt.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-white",children:(0,dt.jsx)("img",{src:"/images/affiliate_section2_mobile.png",alt:"Fitness",className:"w-1/2 h-1/2 object-cover rounded-lg"})})]}),(0,dt.jsx)("div",{className:"flex-1 bg-white rounded-lg p-6 flex flex-col justify-center items-center h-auto",children:(0,dt.jsxs)("div",{className:"max-w-xs lg:max-w-sm",children:[(0,dt.jsx)("h1",{className:"Anton400 text-5xl font-bold mb-4 text-[#10313D] text-center",children:"Generate Passive Income"}),(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Enrich Lives"}),(0,dt.jsx)("p",{className:"mb-4 text-center text-gray-500 Montserratparagraph",children:"Every time someone signs up through your affiliate link, you're playing a key role in their fitness journey, helping to motivate and guide them towards healthier lifestyles."}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Performance Bonuses"}),(0,dt.jsx)("p",{className:"mb-4 text-center  text-gray-500 Montserratparagraph",children:"Many affiliate programs reward top-performing affiliates with additional bonuses. So, the more people you help, the more potential earnings you can enjoy."})]}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Lifetime Commissions"}),(0,dt.jsx)("p",{className:"mb-4 text-center  text-gray-500 Montserratparagraph",children:"You're not just earning from one-off purchases, but potentially benefiting from subscriptions for as long as your links remain customers."})]}),(0,dt.jsxs)("div",{"data-aos":"slide-right",children:[(0,dt.jsx)("h2",{className:"text-2xl font-semibold mb-2 text-center text-[#10313D] Montserrat",children:"Sustainable Earnings"}),(0,dt.jsx)("p",{className:"text-center  text-gray-500 Montserratparagraph",children:"With each referral, you're building a steady stream of income that can provide financial security. This income not only rewards your hard work but also empowers you to invest more in your passion to help others on their fitness journeys."})]})]})})]}),(0,dt.jsx)("div",{className:"container mx-auto px-20 mt-4 mb-40 hidden lg:block",children:(0,dt.jsx)("button",{onClick:()=>e("/affiliate-registration"),type:"button",className:"Montserrat bg-custom-gradient border-2 border-[#049998] text-white px-4 py-2 rounded-sm hover:text-black transition duration-200",children:"Apply Today!"})})]}),(0,dt.jsx)("div",{className:"flex justify-center text-white md:hidden",children:(0,dt.jsx)("img",{src:"/images/affiliate_section2_mobile.png",alt:"Fitness",className:"w-1/2 h-1/2 object-cover rounded-lg relative top-[80px]"})}),(0,dt.jsx)("section",{className:" mx-auto py-20 px-5 bg-[#F1F2F3]",children:(0,dt.jsxs)("div",{className:"container mx-auto lg:py-40",children:[(0,dt.jsx)("h2",{className:"Anton400 text-4xl md:text-5xl font-bold mb-12 text-[#10313D] text-center",children:"How it works is so simple"}),(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[(0,dt.jsxs)("div",{className:"text-center",children:[(0,dt.jsx)("h3",{className:"text-xl font-semibold mb-4 text-[#10313D] Montserrat",children:"APPLY"}),(0,dt.jsx)("p",{className:"text-gray-500 Montserratparagraph",children:"Start your journey with us by filling out our simple and swift online application form. Once approved, you'll become a part of the BodyRecomp family."})]}),(0,dt.jsxs)("div",{className:"text-center",children:[(0,dt.jsx)("h3",{className:"text-xl font-semibold mb-4 text-[#10313D] Montserrat",children:"SHARE"}),(0,dt.jsx)("p",{className:"text-gray-500 Montserratparagraph ",children:"Post your unique affiliate links across your social media platforms, blog, emails, or wherever else you connect with your audience. The more you share, the greater your outreach."})]}),(0,dt.jsxs)("div",{className:"text-center",children:[(0,dt.jsx)("h3",{className:"text-xl font-semibold mb-4 text-[#10313D] Montserrat",children:"EARN"}),(0,dt.jsx)("p",{className:"text-gray-500 Montserratparagraph",children:"Sit back and watch your passive income grow as you continue to inspire others towards their fitness goals. Your passion for wellness could be your next paycheck with BodyRecomp."})]})]})]})}),(0,dt.jsx)("section",{className:"bg-[#031332]",children:(0,dt.jsx)("div",{className:"py-10 px-5 container mx-auto lg:py-40",children:(0,dt.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 items-center",children:[(0,dt.jsxs)("div",{className:"text-white",children:[(0,dt.jsx)("h2",{className:"Anton400 text-3xl md:text-4xl lg:text-5xl font-bold mb-6 lg:mb-12",children:"Join Our Affiliate Team"}),(0,dt.jsx)("p",{className:"text-white text-base md:text-lg lg:text-xl mb-6 Montserratparagraph lg:w-2/3",children:"Be the reason someone starts their fitness journey. Earn and inspire others! As a BodyRecomp affiliate, you can be the key to someone\u2019s health transformation. Sign up today and turn your passion for fitness into a rewarding venture."}),(0,dt.jsx)("button",{onClick:()=>e("/affiliate-registration"),type:"button","data-aos":"fade-up",className:"Montserrat bg-custom-gradient border-2 border-[#049998] text-white px-4 py-2 rounded-sm hover:text-black transition duration-200",children:"Apply Today!"})]}),(0,dt.jsx)("div",{className:"flex justify-center md:justify-end",children:(0,dt.jsx)("img",{src:"/images/bodyrecomp-logo.png",alt:"BodyRecomp Logo",className:"w-40 md:w-48 lg:w-60 h-auto"})})]})})})]})};function Ms(e){return We({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(e)}const Ds=()=>{const e=X();(0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]);return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"Understanding Body Recomposition and the Role of Apps in Achieving Your Fitness Goals"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"April 15, 2024"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Uncategorized"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-2xl mb-2",style:{color:"#333"},children:"Understanding Body Recomposition and the Role of Apps in Achieving Your Fitness Goals"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"In the world of fitness and body transformation, one term that has been gaining popularity is \u201cbody recomposition,\u201d often abbreviated as \u201cbody recomp.\u201d Unlike traditional approaches that focus solely on weight loss or muscle gain, body recomposition aims to do both simultaneously. This holistic approach not only enhances your physical appearance but also improves your overall health and fitness levels. In this blog, we\u2019ll delve into what body recomposition involves and how a body recomp app can be a game-changer in achieving these goals."}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"What is Body Recomposition?"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["Body recomposition refers to the process of losing fat and gaining muscle at the same time. It\u2019s a finely tuned balance between diet, exercise, and lifestyle changes. The idea is not necessarily to change your weight significantly but to improve the composition of your body. This means decreasing body fat percentages while increasing lean muscle mass.",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),"Achieving body recomposition involves several key components:",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),"1. ",(0,dt.jsx)("span",{className:"font-bold",children:"Nutrition"}),": Eating the right balance of proteins, fats, and carbohydrates to support muscle gain while in a slight caloric deficit to promote fat loss.",(0,dt.jsx)("br",{}),"2. ",(0,dt.jsx)("span",{className:"font-bold",children:"Strength Training"}),": Engaging in regular strength training exercises to build muscle. The more muscle you have, the higher your resting metabolic rate will be, which can help in burning more fat.",(0,dt.jsx)("br",{}),"3. ",(0,dt.jsx)("span",{className:"font-bold",children:"Cardiovascular Exercise"}),": Incorporating cardio workouts to help increase calorie burn and improve overall cardiovascular health.",(0,dt.jsx)("br",{}),"4. ",(0,dt.jsx)("span",{className:"font-bold",children:"Recovery"}),": Ensuring adequate rest and recovery, including quality sleep and rest days, to allow muscles to repair and grow."]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-2xl mb-2",style:{color:"#333"},children:"How Can a Body Recomp App Help?"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["A body recomp app is a tool designed to support individuals on their journey to recomp their bodies. These apps can vary widely in their features, but typically include several components that are crucial to success:",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),"1. ",(0,dt.jsx)("span",{className:"font-bold",children:"Personalized Meal Plans "}),": Most body recomp apps provide tailored meal plans based on your dietary preferences, nutritional needs, and specific goals. They ensure you consume the optimal amount of macronutrients needed for muscle growth and fat loss.",(0,dt.jsx)("br",{}),"2. ",(0,dt.jsx)("span",{className:"font-bold",children:"Workout Schedules "}),":  Apps often feature a range of workout routines that can be customized to your fitness level and goals. These routines will focus on strength training combined with strategic cardio to facilitate muscle gain and fat loss.",(0,dt.jsx)("br",{}),"3. ",(0,dt.jsx)("span",{className:"font-bold",children:"Progress Tracking "}),": Being able to track your progress is vital. These apps usually offer tools to record your weight, body fat percentage, and muscle gains over time. This can be incredibly motivating and help you adjust your plan as needed.",(0,dt.jsx)("br",{}),"4. ",(0,dt.jsx)("span",{className:"font-bold",children:"Community and Support "}),": Many apps also provide access to a community of like-minded individuals who are also on their body recomp journeys. This can be a great source of motivation and support.",(0,dt.jsx)("br",{}),"5. ",(0,dt.jsx)("span",{className:"font-bold",children:"Expert Guidance "}),": Some apps also offer access to fitness and nutrition experts. You can receive personalized advice and answers to your questions, helping you overcome any obstacles you might encounter."]}),(0,dt.jsxs)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:["Choosing the Right  ",(0,dt.jsx)("a",{href:"https://bodyrecomp.app",className:"highlighted-link underline",children:"Body Recomp App"})]}),(0,dt.jsx)("p",{style:{color:"#333",fontSize:"15px"},children:"When selecting a body recomp app, consider the following:"}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("ul",{className:"features-list",style:{color:"#333",fontSize:"15px"},children:[(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Features:"]})," Does the app offer comprehensive features, such as diet and exercise tracking, personalized plans, and progress monitoring?"]}),(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Usability:"]})," Is the app user-friendly? Can you navigate easily between different features?"]}),(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Reviews:"]})," What do other users say about the app? Positive reviews can indicate a reliable and effective app."]}),(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Cost:"]})," Determine if the app offers good value for its price. Some apps may offer a free trial period, which can be a great way to test out their features."]})]}),(0,dt.jsx)("br",{}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Conclusion"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"Body recomposition is an effective strategy for transforming your body and enhancing your overall health. With the right approach and tools, particularly a specialized body recomp app, you can effectively balance muscle gain and fat loss. These apps not only simplify the process by providing structured guidance and support but also motivate you to stay on track towards achieving your ideal body composition. Whether you\u2019re just starting out or you\u2019re looking to refine your approach, a body recomp app can be your partner in this transformative journey."}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded-full border-2 ",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded-full border-2",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded-full border-2",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded-full border-2",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{children:[(0,dt.jsxs)("h2",{className:"flex font-semibold text-xl md:text-xl",style:{color:"#333"},children:[(0,dt.jsx)(Ms,{className:"relative top-[-2px]",color:"#00ad75",size:30})," YOU MIGHT ALSO LIKE"]}),(0,dt.jsx)("section",{className:"container mx-auto p-4",children:(0,dt.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[{id:1,title:"How Body Recomposition Differs from Weight Loss",date:"August 17, 2023",url:"/blog/detail5"},{id:2,title:"The Science Behind Body Recomposition : Understanding the Basics",date:"July 5, 2023",url:"/blog/detail6"}].map((t=>{return(0,dt.jsxs)("div",{className:" p-4 bg-white text-center cursor-pointer",onClick:()=>e(t.url),children:[(0,dt.jsx)("h2",{className:"Montserrat text-[#333333] font-bold text-xl md:text-lg mb-2 hover:text-[rgb(4_153_152/var(--tw-text-opacity))]",children:(n=t.title,n.length>100?n.slice(0,100)+"...":n)}),(0,dt.jsxs)("div",{className:"flex items-center mt-2 text-gray-500 justify-center",children:[(0,dt.jsx)(Xe,{className:"mr-1"}),(0,dt.jsx)("span",{children:t.date})]})]},t.id);var n}))})})]})]})]}),(0,dt.jsx)(xt,{})]})},Os=()=>((0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"Achieving Body Recomp at Home: A Comprehensive Guide with Effective Workouts and Nutrition Tips"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"January 9, 2024"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Body Composition"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-2xl mb-2",style:{color:"#333"},children:"Crafting Your At-Home Body Recomp Routine"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["Introduction: Welcome to our ultimate guide on getting to Body Recomp at Home! Whether you\u2019re looking to build lean muscle, shed ugly fat, or better your body, we\u2019ve got you covered with great information and tips. In this blog, we\u2019ll provide you with effective workouts, nutrition tips, and important information to help you achieve your body recomp goals right at home. Let\u2019s dive into the key info behind body recomposition and set the stage for your successful journey.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 1: Understanding Body Recomp \u2013 Before diving into the workouts and nutrition, let\u2019s grasp the basics of body recomposition. Learn about the science behind it, how muscle is built, and the role nutrition plays in this process. Familiarize yourself with key terms like calorie surplus, deficit, and maintenance, setting the stage for a successful body recomp journey",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 2: Home Workouts for Body Recomp No gym? No problem! Home workouts for body recomposition can be achieved at home! Discover a range of effective bodyweight exercises and home workouts tailored for body recomposition. From high-intensity interval training (HIIT) to strength training circuits, furthermore, we\u2019ll guide you through routines that target multiple muscle groups, boost metabolism, and promote fat loss while building lean muscle.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 3: Nutrition Essentials Unlock the secrets of a balanced diet that supports your body recomp goals. Dive into macronutrients (protein, carbs, and fats) and micronutrients, exploring the best food sources for muscle growth and fat loss. Learn how to create a calorie deficit for fat loss; moreover, ensure you have enough fuel for your workouts and recovery.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 4: Meal Planning and Timing Discover the importance of meal planning and timing in optimizing your body recomposition efforts. We\u2019ll provide sample meal plans and snack ideas to keep you fueled throughout the day. Learn when to eat to maximize muscle protein synthesis and enhance fat burning.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 5: Supplementation Explore the world of supplements that can complement your body recomp journey. From protein powders to vitamins and minerals, understand how these can support your goals and fill potential nutritional gaps.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 6: Recovery and Sleep Understand the critical role of recovery in body recomposition. Learn about the importance of sleep, stress management, and incorporating rest days into your routine. Discover how these factors contribute to muscle repair, growth, and overall well-being.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Chapter 7: Tracking Progress Monitoring your progress is key to staying on course. We\u2019ll guide you on setting realistic goals, taking measurements, and tracking changes in strength, endurance, and body composition. Celebrate your victories and make adjustments as needed.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Conclusion: Embark on your body recomposition journey with confidence, armed with the knowledge and tools needed to achieve your goals at home. Remember, consistency is key, so stay committed to your workouts and nutrition plan. Transform your body, improve your health, and embrace the benefits of a successful body recomp!"]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{})]})]}),(0,dt.jsx)(xt,{})]})),Es=()=>((0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"Meal and Workout Plans for Time-Saving: Your Answer to Tedious Meal Prep"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"September 10, 2023"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Dieting"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Meal and Workout Plans for Time-Saving: Revolutionizing Meal Prep and Fitness"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"Navigating the maze of daily tasks can be overwhelming, and the intricate process of meal preparation doesn\u2019t help. Enter the Meal and Workout Plans for Time-Saving\u2014a game-changer for those keen on efficient body recomposition, especially when the skinny-fat challenge lurks around the corner. This detailed guide will explore how these plans can significantly cut down your time in the kitchen and gym, allowing you more freedom to enjoy life while staying on track."}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Skinny-Fat: More Than Just a Term"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["Before we dive into the solutions, let\u2019s quickly address what being \u201cskinny-fat\u201d means. Many of us are familiar with the appearance\u2014seemingly lean, but with a softness due to a higher percentage of body fat compared to muscle. This physique often results from the pitfalls of improper diet and inconsistent workouts. The solution? Strategic planning.",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"The Time-Saving Magic of Meal Plans"}),(0,dt.jsx)("span",{className:"font-bold",children:"1. Structured Eating = Less Guesswork: "}),"Every minute counts, and pondering over each meal choice can be dreadfully time-consuming. A comprehensive meal plan provides a roadmap, ensuring every bite aligns with your body recomposition goals.",(0,dt.jsx)("br",{}),(0,dt.jsx)("span",{className:"font-bold",children:"2. Embrace Batch Cooking:"}),": Having a clear idea of your week\u2019s meals allows for efficient batch cooking. Imagine having meals ready to go, significantly reducing daily cooking time.",(0,dt.jsx)("br",{}),(0,dt.jsx)("span",{className:"font-bold",children:"3. Streamlined Grocery Shopping:"}),"No more wandering aisles or making multiple trips. With a detailed meal plan, your shopping list is precise, leading to faster and fewer trips."]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-2xl mb-2",style:{color:"#333"},children:"The Brilliance of Workout Plans for Efficient Fitness"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:[(0,dt.jsx)("span",{className:"font-bold",children:"1. Precision Workouts = No Wasted Time: "}),"Random workouts might feel productive, but without a clear direction, they might not aid in combating the skinny-fat state. A well-designed plan ensures every sweat session brings you closer to your goals.",(0,dt.jsx)("br",{}),(0,dt.jsx)("span",{className:"font-bold",children:"2. Progress Tracking: "}),"With a plan, you can track your progress over weeks, ensuring you\u2019re not stagnating or regressing. This tracking reduces wasted time on ineffective routines.",(0,dt.jsx)("br",{}),(0,dt.jsx)("span",{className:"font-bold",children:"3. Diverse Routines Without Overthinking:  "}),"Variety is crucial to prevent plateaus. Workout plans introduce new exercises at the right intervals, removing the daily burden of deciding what to do.",(0,dt.jsx)("br",{})]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"In Conclusion"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"When it boils down to it, Meal and Workout Plans for Time-Saving are not just about cutting down hours spent in the kitchen or gym. They\u2019re about optimizing your time, ensuring every effort propels you closer to a well-defined physique, free from the skinny-fat realm. It\u2019s time to embrace planning for a more efficient, healthier future."}),(0,dt.jsx)("div",{className:"flex items-center",children:(0,dt.jsx)("img",{src:"/images/thirdsblog.jpg",alt:"Description",className:"w-full h-auto"})}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{})]})]}),(0,dt.jsx)(xt,{})]})),Ns=()=>((0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"How a Meal and Workout Plan Combats the Skinny-Fat Phenomenon and Boosts Body Recomposition"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"September 10, 2023"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Uncategorized"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"How a Meal and Workout Plan Enhances Body Recomposition"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"Facing challenges in managing your meals or feeling trapped in the \u201cskinny-fat\u201d zone? A focused meal and workout plan is crucial."}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"What\u2019s Body Recomposition and Why the Skinny-Fat Concern?"}),(0,dt.jsxs)("ul",{className:"features-list",style:{color:"#333",fontSize:"15px"},children:[(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Body Recomposition:"]})," A transformative journey of reducing body fat while simultaneously bolstering muscle mass. It\u2019s about shifting the body\u2019s composition to a more balanced or muscle-dominant ratio."]}),(0,dt.jsxs)("li",{children:[(0,dt.jsxs)("strong",{children:[(0,dt.jsx)("span",{class:"inline-block text-xl",children:"\u2022"})," Skinny-Fat:"]})," This term paints a picture of someone who looks relatively lean but has a significant amount of body fat when compared to their muscle mass. It\u2019s a common outcome of not having a consistent and effective diet and exercise plan."]})]}),(0,dt.jsx)("br",{}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Meal planning for physique enhancement"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["1. ",(0,dt.jsx)("span",{className:"font-bold",children:"Consistency in Nutrient Intake:"}),"Firstly, with a meal plan in place, you ensure a consistent and balanced intake of both macronutrients (proteins, fats, and carbohydrates) and micronutrients (vitamins and minerals) \u2014 all essential players in the body recomposition game.",(0,dt.jsx)("br",{}),"2. ",(0,dt.jsx)("span",{className:"font-bold",children:"Streamlined Calorie Counting:"}),"Furthermore, determining your daily caloric intake is paramount for body recomposition. Having an organized meal plan removes the guesswork, thereby ensuring you\u2019re on the right path to achieving your goals.",(0,dt.jsx)("br",{}),"3. ",(0,dt.jsx)("span",{className:"font-bold",children:"Elimination of Impulse Eating: "}),"Lastly, a planned meal schedule significantly reduces those unwelcome, often unhealthy, snack temptations, effectively pushing you further away from the skinny-fat zone.",(0,dt.jsx)("br",{})]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-2xl mb-2",style:{color:"#333"},children:"A Workout Plan: Your Key to Physical Transformation"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["1. ",(0,dt.jsx)("span",{className:"font-bold",children:"Muscle Growth Catalyst: "}),"Incorporating a comprehensive workout plan with a prime focus on strength training is fundamental. It not only promotes muscle gain but also accelerates metabolism, aiding in fat loss.",(0,dt.jsx)("br",{}),"2. ",(0,dt.jsx)("span",{className:"font-bold",children:"Cardiovascular Health & Fat Loss: "}),"A blend of cardio exercises in your routine, when balanced with strength training, facilitates fat loss and augments overall heart health.",(0,dt.jsx)("br",{}),"3. ",(0,dt.jsx)("span",{className:"font-bold",children:"Guided and Continuous Progression:  "}),"With a structured plan, you can ensure progressive overload, a critical element to avoid hitting plateaus and to keep advancing.",(0,dt.jsx)("br",{})]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Conclusion"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"Embracing a meal and workout plan for body recomposition is not just about physical transformation. It\u2019s a commitment to oneself, a dedication to transcend the skinny-fat phase, and march confidently into the realm of optimal body recomposition. It\u2019s about taking control, making informed decisions, and witnessing results. Get your plan today. iOS Google Play"}),(0,dt.jsx)("div",{className:"flex items-center",children:(0,dt.jsx)("img",{src:"/images/blogfour.png",alt:"Description",className:"w-full h-auto"})}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff]  hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{})]})]}),(0,dt.jsx)(xt,{})]})),Ps=()=>((0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"How Body Recomposition Differs from Weight Loss"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"August 17, 2023"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Body Composition"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsx)("div",{className:"flex items-center justify-center",children:(0,dt.jsx)("img",{src:"/images/blogfive.png",alt:"Description",style:{height:"300px",width:"250px"},className:"w-full h-auto"})}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Understand the difference between body recomposition and weight loss"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"For those interested in fitness and looking to change their body\u2019s composition, it\u2019s essential to understand the difference between body recomposition and weight loss. At first glance, it may seem like the two are one and the same, but in reality, they represent two different approaches to improving your physical health."}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"How Body Recomposition and Weight Loss Work"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["Body recomposition involves simultaneously losing body fat and gaining muscle mass. This process is often referred to as \u201crecomping,\u201d and it primarily targets people who fall into the \u201cskinny-fat\u201d category. Skinny-fat is a term used to describe individuals who appear slim but have a higher percentage of body fat and lower muscle mass.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"The primary focus of body recomposition is to change the balance between muscle and fat within the body. Recomping is a long-term approach and requires dedication and a specific meal and workout plan.",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"There are a few critical elements in achieving successful body recomposition:"}),"A. ",(0,dt.jsx)("span",{className:"font-bold",children:"Proper Nutrition:"})," Eating a balanced meal plan is essential. The ideal body recomposition meal plan involves maintaining a slight calorie deficit while ensuring you get adequate protein intake.",(0,dt.jsx)("br",{}),"B. ",(0,dt.jsx)("span",{className:"font-bold",children:"Resistance Training:"}),"All body recomposition workout plans must include resistance training, such as weightlifting. Resistance training is key to muscle growth, which, in turn, increases your resting metabolic rate, making it easier to burn fat.",(0,dt.jsx)("br",{}),"C. ",(0,dt.jsx)("span",{className:"font-bold",children:"Consistency"}),"Achieving successful body recomposition requires dedication and consistent effort. It is a slow process, and results may not be immediately visible, but the rewards are long-lasting."]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"Weight Loss"}),(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["In contrast, weight loss is focused solely on reducing your overall body weight. This is generally achieved by creating a calorie deficit. This approach can lead to loss of both fat and muscle mass.",(0,dt.jsx)("br",{})," ",(0,dt.jsx)("br",{}),"While weight loss may be the right choice for individuals with a high body mass index (BMI), it may not necessarily lead to a leaner, more muscular physique."]}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"The Role of Technology"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"Nowadays, there are various meal and workout plan apps available that can help you achieve your body recomposition goals. Apps like BodyRecomp provide customizable plans  for those new to the fitness world. Whether you\u2019re looking to follow body recomposition workouts or design a body recomposition meal plan, these apps can be valuable tools on your journey."}),(0,dt.jsx)("p",{className:"mb-4 font-bold text-xl md:text-xl mb-2",style:{color:"#333"},children:"In Conclusion"}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:"In summary, we talked about the difference between body recomposition and weight loss. Body recomposition and weight loss are two distinct approaches to improving physical health and appearance. Body recomposition is ideal for those looking to achieve a lean, muscular physique while simultaneously losing body fat. Weight loss, on the other hand, focuses solely on reducing overall body weight, which may result in loss of both fat and muscle mass. Depending on your goals and body type, it\u2019s essential to choose the approach that best suits your needs. With the right meal and workout plan, along with consistent effort, you can achieve your fitness goals and enjoy the benefits of a healthier, more active lifestyle. Get your meal and workout plan here for iOS & Android"}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{})]})]}),(0,dt.jsx)(xt,{})]})),Ts=()=>((0,t.useEffect)((()=>{const e=setTimeout((()=>{window.scrollTo({top:0,behavior:"smooth"})}),100);return()=>clearTimeout(e)}),[]),(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{className:"px-4 md:px-48",style:{marginTop:"120px"},children:[(0,dt.jsx)("h1",{className:"text-4xl font-bold text-center text-gray-800 mb-4",style:{color:"#333"},children:"The Science Behind Body Recomposition: Understanding the Basics"}),(0,dt.jsx)("br",{}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-center items-center space-x-4 text-gray-600 text-md mb-8",children:[(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),(0,dt.jsx)("span",{children:"Recomp"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),(0,dt.jsx)("span",{children:"July 5, 2023"})]}),(0,dt.jsxs)("span",{className:"flex items-center space-x-1",children:[(0,dt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-4 h-4",children:(0,dt.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"})}),(0,dt.jsx)("span",{children:"Body Composition / Uncategorized"})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsx)("div",{className:"flex items-center justify-center",children:(0,dt.jsx)("img",{src:"/images/blogsix.jpeg",alt:"Description",style:{height:"300px"},className:"w-full h-auto"})}),(0,dt.jsx)("p",{className:"mb-4",style:{color:"#333",fontSize:"12px"},children:"Healthy vs unhealthy lifestyle. Fat man with beer and muscular man with bottle water. The choice. Healthy lifestyle, food and sport concept. Alcohol, laziness, bad food. Fat and fit men"}),(0,dt.jsxs)("div",{className:"text-gray-800 leading-relaxed",children:[(0,dt.jsxs)("p",{className:"mb-4",style:{color:"#333",fontSize:"15px"},children:["The Science Behind Body Recomposition: Understanding the Basics. But is it the same for everyone? In this blog post, we will explore the science behind body recomposition and understand how it can differ for beginners versus experienced lifters. We\u2019ll uncover the fundamental principles that drive this transformative process, whether it\u2019s a simultaneous transformation or a gradual journey through a bulk and cut approach. By gaining a deeper understanding, you can tailor your fitness strategy and achieve optimal results.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"The Concept of Body Recomposition: Body recomposition is a term used to describe the simultaneous reduction of body fat and increase in lean muscle mass. While the ultimate goal remains the same, the approach can differ depending on your starting point and experience level. Beginners may experience more pronounced simultaneous changes, while experienced lifters may go through distinct bulk and cut phases to achieve body recomposition.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Simultaneous Changes for Beginners: For beginners with limited training experience, the body is more responsive to both muscle growth and fat loss stimuli. This heightened adaptability allows beginners to witness noticeable changes in body composition through a combination of resistance training, cardiovascular exercise, and a well-balanced diet. With proper training and nutrition, beginners can experience the exciting transformation of losing fat and gaining muscle simultaneously.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"The Science Behind Body Recomposition: Understanding the Basics",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Body recomposition, scientifically known as the simultaneous reduction of body fat and increase in lean muscle mass, offers a transformative journey towards achieving your fitness goals. While the ultimate goal of body recomposition remains the same, the approach can differ depending on your starting point and experience level. Beginners with limited training experience often witness more pronounced simultaneous changes in body composition. This is due to the body\u2019s heightened adaptability to both muscle growth and fat loss stimuli. Through a combination of resistance training, cardiovascular exercise, and a well-balanced diet, beginners can experience the exciting transformation of losing fat and gaining muscle simultaneously. On the other hand, experienced lifters, who have already made significant progress in their fitness journeys, may find it more challenging to achieve simultaneous fat loss and muscle gain. They often follow a bulk and cut strategy, where they undergo distinct phases. During the bulking phase, experienced lifters consume a slight caloric surplus to support muscle growth and strength gains. This phase emphasizes progressive resistance training and adequate nutrient intake. Subsequently, during the cutting phase, a moderate caloric deficit is created to shed excess body fat while preserving muscle mass. This cyclic approach allows experienced lifters to refine their physique and make gradual progress towards their body recomposition goals. Understanding the science behind body recomposition empowers individuals to tailor their approach to their specific needs and goals.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Energy Balance and Caloric Intake: Irrespective of the approach, energy balance plays a crucial role in body recomposition. Beginners need to maintain a slight caloric deficit or balance to promote fat loss while supporting muscle growth. Experienced lifters, on the other hand, should adjust their caloric intake accordingly during the bulk and cut phases to achieve their desired outcomes.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Resistance Training and Cardiovascular Exercise: Both beginners and experienced lifters benefit from resistance training and cardiovascular exercise. Beginners can focus on full-body workouts that incorporate compound exercises to stimulate muscle growth and burn calories. Experienced lifters can follow more specialized training programs to target specific muscle groups and enhance muscle hypertrophy. Cardiovascular exercise complements these efforts by boosting fat burning and cardiovascular health.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Protein and Macronutrient Distribution: Adequate protein intake is essential for muscle growth and recovery in both beginners and experienced lifters. Beginners should aim for a moderate protein intake to support muscle development, while experienced lifters may require slightly higher protein intake during their bulking phase. Balancing carbohydrate and fat intake is also important for energy, performance, and overall body composition changes.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Monitoring Progress and Adjustments: Tracking progress and making necessary adjustments are vital for both beginners and experienced lifters. Regular body measurements, body composition analysis, and strength assessments help monitor progress and make informed decisions. Beginners can focus on consistent improvements, while experienced lifters should evaluate their bulking and cutting phases based on their goals and feedback from their bodies.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Conclusion:",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Body recomposition is an exciting and transformative process, whether it happens simultaneously for beginners or through a bulk and cut approach for experienced lifters. By understanding the basics of body recomposition and tailoring your approach to your experience level, you can optimize your fitness journey and achieve your desired results.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"If you\u2019re ready to embark on your body recomposition journey and need guidance on which program can best support your goals, reach out to our team of experts today. Our experienced coaches can assess your current fitness level, discuss your specific needs, and recommend a tailored program to help you achieve optimal results. Take the next step towards a stronger, leaner, and healthier body by investing in a program designed to support your body recomposition goals.",(0,dt.jsx)("br",{}),(0,dt.jsx)("br",{}),"Contact us now and let us assist you in unlocking your full potential on your body recomposition journey."]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{}),(0,dt.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,dt.jsx)("p",{className:"font-bold text-xl md:text-xl",style:{color:"#333"},children:"PLEASE SHARE THIS"}),(0,dt.jsxs)("div",{className:"flex gap-2",children:[(0,dt.jsx)(Oe,{to:"https://twitter.com/i/flow/login?redirect_after_login=%2Fbodyrecomp_app",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(qe,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"https://www.facebook.com/BodyRecompApp/?_rdr",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Be,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Ue,{className:"text-[16px]"})}),(0,dt.jsx)(Oe,{to:"",className:"text-[#708e9f] hover:text-[#fff] hover:bg-[#0eb290] transition-all duration-300 ease-in-out flex items-center justify-center h-[40px] w-[40px] rounded",children:(0,dt.jsx)(Qe,{className:"text-[16px]"})})]})]}),(0,dt.jsx)("hr",{}),(0,dt.jsx)("br",{})]})]}),(0,dt.jsx)(xt,{})]})),Cs=()=>{const e=X();return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(bt,{}),(0,dt.jsx)("div",{className:"flex items-center justify-center h-screen bg-gray-100",children:(0,dt.jsxs)("div",{className:"text-center",children:[(0,dt.jsx)("h1",{className:"text-6xl font-bold text-red-600",children:"404"}),(0,dt.jsx)("h2",{className:"text-2xl md:text-5xl font-semibold text-gray-800 my-4",children:"This page could not be found!"}),(0,dt.jsx)("p",{className:"mt-2 text-gray-600",children:"We are sorry. But the page you are looking for is not available."}),(0,dt.jsx)("p",{className:"mt-2 text-gray-600",children:"Perhaps you can try a new search."}),(0,dt.jsx)("button",{type:"button",onClick:()=>e("/"),className:"my-3 Montserrat  bg-custom-gradient border-2 border-[#049998] text-white px-4 py-2 rounded-sm hover:text-black transition duration-200",children:"Back to HomePage"})]})}),(0,dt.jsx)(xt,{})]})};function Is(e){return e+.5|0}const Rs=(e,t,n)=>Math.max(Math.min(e,n),t);function Fs(e){return Rs(Is(2.55*e),0,255)}function Ls(e){return Rs(Is(255*e),0,255)}function As(e){return Rs(Is(e/2.55)/100,0,1)}function Ys(e){return Rs(Is(100*e),0,100)}const zs={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ws=[..."0123456789ABCDEF"],Hs=e=>Ws[15&e],Bs=e=>Ws[(240&e)>>4]+Ws[15&e],Vs=e=>(240&e)>>4===(15&e);function Us(e){var t=(e=>Vs(e.r)&&Vs(e.g)&&Vs(e.b)&&Vs(e.a))(e)?Hs:Bs;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const $s=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function qs(e,t,n){const r=t*Math.min(n,1-n),a=function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+e/30)%12;return n-r*Math.max(Math.min(a-3,9-a,1),-1)};return[a(0),a(8),a(4)]}function Qs(e,t,n){const r=function(r){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+e/60)%6;return n-n*t*Math.max(Math.min(a,4-a,1),0)};return[r(5),r(3),r(1)]}function Ks(e,t,n){const r=qs(e,1,.5);let a;for(t+n>1&&(a=1/(t+n),t*=a,n*=a),a=0;a<3;a++)r[a]*=1-t-n,r[a]+=t;return r}function Zs(e){const t=e.r/255,n=e.g/255,r=e.b/255,a=Math.max(t,n,r),o=Math.min(t,n,r),i=(a+o)/2;let s,l,c;return a!==o&&(c=a-o,l=i>.5?c/(2-a-o):c/(a+o),s=function(e,t,n,r,a){return e===a?(t-n)/r+(t<n?6:0):t===a?(n-e)/r+2:(e-t)/r+4}(t,n,r,c,a),s=60*s+.5),[0|s,l||0,i]}function Gs(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Ls)}function Xs(e,t,n){return Gs(qs,e,t,n)}function Js(e){return(e%360+360)%360}function el(e){const t=$s.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?Fs(+t[5]):Ls(+t[5]));const a=Js(+t[2]),o=+t[3]/100,i=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return Gs(Ks,e,t,n)}(a,o,i):"hsv"===t[1]?function(e,t,n){return Gs(Qs,e,t,n)}(a,o,i):Xs(a,o,i),{r:n[0],g:n[1],b:n[2],a:r}}const tl={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},nl={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let rl;function al(e){rl||(rl=function(){const e={},t=Object.keys(nl),n=Object.keys(tl);let r,a,o,i,s;for(r=0;r<t.length;r++){for(i=s=t[r],a=0;a<n.length;a++)o=n[a],s=s.replace(o,tl[o]);o=parseInt(nl[i],16),e[s]=[o>>16&255,o>>8&255,255&o]}return e}(),rl.transparent=[0,0,0,0]);const t=rl[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const ol=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const il=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,sl=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ll(e,t,n){if(e){let r=Zs(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=Xs(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function cl(e,t){return e?Object.assign(t||{},e):e}function ul(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ls(e[3]))):(t=cl(e,{r:0,g:0,b:0,a:1})).a=Ls(t.a),t}function dl(e){return"r"===e.charAt(0)?function(e){const t=ol.exec(e);let n,r,a,o=255;if(t){if(t[7]!==n){const e=+t[7];o=t[8]?Fs(e):Rs(255*e,0,255)}return n=+t[1],r=+t[3],a=+t[5],n=255&(t[2]?Fs(n):Rs(n,0,255)),r=255&(t[4]?Fs(r):Rs(r,0,255)),a=255&(t[6]?Fs(a):Rs(a,0,255)),{r:n,g:r,b:a,a:o}}}(e):el(e)}class fl{constructor(e){if(e instanceof fl)return e;const t=typeof e;let n;"object"===t?n=ul(e):"string"===t&&(n=function(e){var t,n=e.length;return"#"===e[0]&&(4===n||5===n?t={r:255&17*zs[e[1]],g:255&17*zs[e[2]],b:255&17*zs[e[3]],a:5===n?17*zs[e[4]]:255}:7!==n&&9!==n||(t={r:zs[e[1]]<<4|zs[e[2]],g:zs[e[3]]<<4|zs[e[4]],b:zs[e[5]]<<4|zs[e[6]],a:9===n?zs[e[7]]<<4|zs[e[8]]:255})),t}(e)||al(e)||dl(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=cl(this._rgb);return e&&(e.a=As(e.a)),e}set rgb(e){this._rgb=ul(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${As(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Us(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Zs(e),n=t[0],r=Ys(t[1]),a=Ys(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${a}%, ${As(e.a)})`:`hsl(${n}, ${r}%, ${a}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,r=e.rgb;let a;const o=t===a?.5:t,i=2*o-1,s=n.a-r.a,l=((i*s===-1?i:(i+s)/(1+i*s))+1)/2;a=1-l,n.r=255&l*n.r+a*r.r+.5,n.g=255&l*n.g+a*r.g+.5,n.b=255&l*n.b+a*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const r=sl(As(e.r)),a=sl(As(e.g)),o=sl(As(e.b));return{r:Ls(il(r+n*(sl(As(t.r))-r))),g:Ls(il(a+n*(sl(As(t.g))-a))),b:Ls(il(o+n*(sl(As(t.b))-o))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new fl(this.rgb)}alpha(e){return this._rgb.a=Ls(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Is(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ll(this._rgb,2,e),this}darken(e){return ll(this._rgb,2,-e),this}saturate(e){return ll(this._rgb,1,e),this}desaturate(e){return ll(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=Zs(e);n[0]=Js(n[0]+t),n=Xs(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function hl(){}const pl=(()=>{let e=0;return()=>e++})();function ml(e){return null===e||"undefined"===typeof e}function gl(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function yl(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function vl(e){return("number"===typeof e||e instanceof Number)&&isFinite(+e)}function bl(e,t){return vl(e)?e:t}function xl(e,t){return"undefined"===typeof e?t:e}const wl=(e,t)=>"string"===typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function kl(e,t,n){if(e&&"function"===typeof e.call)return e.apply(n,t)}function _l(e,t,n,r){let a,o,i;if(gl(e))if(o=e.length,r)for(a=o-1;a>=0;a--)t.call(n,e[a],a);else for(a=0;a<o;a++)t.call(n,e[a],a);else if(yl(e))for(i=Object.keys(e),o=i.length,a=0;a<o;a++)t.call(n,e[i[a]],i[a])}function jl(e,t){let n,r,a,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(a=e[n],o=t[n],a.datasetIndex!==o.datasetIndex||a.index!==o.index)return!1;return!0}function Sl(e){if(gl(e))return e.map(Sl);if(yl(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let a=0;for(;a<r;++a)t[n[a]]=Sl(e[n[a]]);return t}return e}function Ml(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Dl(e,t,n,r){if(!Ml(e))return;const a=t[e],o=n[e];yl(a)&&yl(o)?Ol(a,o,r):t[e]=Sl(o)}function Ol(e,t,n){const r=gl(t)?t:[t],a=r.length;if(!yl(e))return e;const o=(n=n||{}).merger||Dl;let i;for(let s=0;s<a;++s){if(i=r[s],!yl(i))continue;const t=Object.keys(i);for(let r=0,a=t.length;r<a;++r)o(t[r],e,i,n)}return e}function El(e,t){return Ol(e,t,{merger:Nl})}function Nl(e,t,n){if(!Ml(e))return;const r=t[e],a=n[e];yl(r)&&yl(a)?El(r,a):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Sl(a))}const Pl={"":e=>e,x:e=>e.x,y:e=>e.y};function Tl(e,t){const n=Pl[t]||(Pl[t]=function(e){const t=function(e){const t=e.split("."),n=[];let r="";for(const a of t)r+=a,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function Cl(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Il=e=>"undefined"!==typeof e,Rl=e=>"function"===typeof e,Fl=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};const Ll=Math.PI,Al=2*Ll,Yl=Al+Ll,zl=Number.POSITIVE_INFINITY,Wl=Ll/180,Hl=Ll/2,Bl=Ll/4,Vl=2*Ll/3,Ul=Math.log10,$l=Math.sign;function ql(e,t,n){return Math.abs(e-t)<n}function Ql(e){const t=Math.round(e);e=ql(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Ul(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Kl(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Zl(e,t,n){let r,a,o;for(r=0,a=e.length;r<a;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function Gl(e){return e*(Ll/180)}function Xl(e){return e*(180/Ll)}function Jl(e){if(!vl(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function ec(e,t){const n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*Ll&&(o+=Al),{angle:o,distance:a}}function tc(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function nc(e,t){return(e-t+Yl)%Al-Ll}function rc(e){return(e%Al+Al)%Al}function ac(e,t,n,r){const a=rc(e),o=rc(t),i=rc(n),s=rc(o-a),l=rc(i-a),c=rc(a-o),u=rc(a-i);return a===o||a===i||r&&o===i||s>l&&c<u}function oc(e,t,n){return Math.max(t,Math.min(n,e))}function ic(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-6;return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function sc(e,t,n){n=n||(n=>e[n]<t);let r,a=e.length-1,o=0;for(;a-o>1;)r=o+a>>1,n(r)?o=r:a=r;return{lo:o,hi:a}}const lc=(e,t,n,r)=>sc(e,n,r?r=>{const a=e[r][t];return a<n||a===n&&e[r+1][t]===n}:r=>e[r][t]<n),cc=(e,t,n)=>sc(e,n,(r=>e[r][t]>=n));const uc=["push","pop","shift","splice","unshift"];function dc(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(uc.forEach((t=>{delete e[t]})),delete e._chartjs)}function fc(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const hc="undefined"===typeof window?function(e){return e()}:window.requestAnimationFrame;function pc(e,t){let n=[],r=!1;return function(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];n=o,r||(r=!0,hc.call(window,(()=>{r=!1,e.apply(t,n)})))}}const mc=e=>"start"===e?"left":"end"===e?"right":"center",gc=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2;function yc(e,t,n){const r=t.length;let a=0,o=r;if(e._sorted){const{iScale:i,_parsed:s}=e,l=i.axis,{min:c,max:u,minDefined:d,maxDefined:f}=i.getUserBounds();d&&(a=oc(Math.min(lc(s,l,c).lo,n?r:lc(t,l,i.getPixelForValue(c)).lo),0,r-1)),o=f?oc(Math.max(lc(s,i.axis,u,!0).hi+1,n?0:lc(t,l,i.getPixelForValue(u),!0).hi+1),a,r)-a:r-a}return{start:a,count:o}}function vc(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,a={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=a,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,a),o}const bc=e=>0===e||1===e,xc=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Al/n),wc=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Al/n)+1,kc={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*Hl),easeOutSine:e=>Math.sin(e*Hl),easeInOutSine:e=>-.5*(Math.cos(Ll*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>bc(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>bc(e)?e:xc(e,.075,.3),easeOutElastic:e=>bc(e)?e:wc(e,.075,.3),easeInOutElastic(e){const t=.1125;return bc(e)?e:e<.5?.5*xc(2*e,t,.45):.5+.5*wc(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-kc.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*kc.easeInBounce(2*e):.5*kc.easeOutBounce(2*e-1)+.5};function _c(e){if(e&&"object"===typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function jc(e){return _c(e)?e:new fl(e)}function Sc(e){return _c(e)?e:new fl(e).saturate(.5).darken(.1).hexString()}const Mc=["x","y","borderWidth","radius","tension"],Dc=["color","borderColor","backgroundColor"];const Oc=new Map;function Ec(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=Oc.get(n);return r||(r=new Intl.NumberFormat(e,t),Oc.set(n,r)),r}(t,n).format(e)}const Nc={values:e=>gl(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let a,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(a="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}const i=Ul(Math.abs(o)),s=isNaN(i)?1:Math.max(Math.min(-1*Math.floor(i),20),0),l={notation:a,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Ec(e,r,l)},logarithmic(e,t,n){if(0===e)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(Ul(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?Nc.numeric.call(this,e,t,n):""}};var Pc={formatters:Nc};const Tc=Object.create(null),Cc=Object.create(null);function Ic(e,t){if(!t)return e;const n=t.split(".");for(let r=0,a=n.length;r<a;++r){const t=n[r];e=e[t]||(e[t]=Object.create(null))}return e}function Rc(e,t,n){return"string"===typeof t?Ol(Ic(e,t),n):Ol(Ic(e,""),t)}class Fc{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Sc(t.backgroundColor),this.hoverBorderColor=(e,t)=>Sc(t.borderColor),this.hoverColor=(e,t)=>Sc(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Rc(this,e,t)}get(e){return Ic(this,e)}describe(e,t){return Rc(Cc,e,t)}override(e,t){return Rc(Tc,e,t)}route(e,t,n,r){const a=Ic(this,e),o=Ic(this,n),i="_"+t;Object.defineProperties(a,{[i]:{value:a[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[i],t=o[r];return yl(e)?Object.assign({},t,e):xl(e,t)},set(e){this[i]=e}}})}apply(e){e.forEach((e=>e(this)))}}var Lc=new Fc({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:Dc},numbers:{type:"number",properties:Mc}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Pc.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Ac(e,t,n,r,a){let o=t[a];return o||(o=t[a]=e.measureText(a).width,n.push(a)),o>r&&(r=o),r}function Yc(e,t,n){const r=e.currentDevicePixelRatio,a=0!==n?Math.max(n/2,.5):0;return Math.round((t-a)*r)/r+a}function zc(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Wc(e,t,n,r){Hc(e,t,n,r,null)}function Hc(e,t,n,r,a){let o,i,s,l,c,u,d,f;const h=t.pointStyle,p=t.rotation,m=t.radius;let g=(p||0)*Wl;if(h&&"object"===typeof h&&(o=h.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(n,r),e.rotate(g),e.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),h){default:a?e.ellipse(n,r,a/2,m,0,0,Al):e.arc(n,r,m,0,Al),e.closePath();break;case"triangle":u=a?a/2:m,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=Vl,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=Vl,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),e.closePath();break;case"rectRounded":c=.516*m,l=m-c,i=Math.cos(g+Bl)*l,d=Math.cos(g+Bl)*(a?a/2-c:l),s=Math.sin(g+Bl)*l,f=Math.sin(g+Bl)*(a?a/2-c:l),e.arc(n-d,r-s,c,g-Ll,g-Hl),e.arc(n+f,r-i,c,g-Hl,g),e.arc(n+d,r+s,c,g,g+Hl),e.arc(n-f,r+i,c,g+Hl,g+Ll),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*m,u=a?a/2:l,e.rect(n-u,r-l,2*u,2*l);break}g+=Bl;case"rectRot":d=Math.cos(g)*(a?a/2:m),i=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(a?a/2:m),e.moveTo(n-d,r-s),e.lineTo(n+f,r-i),e.lineTo(n+d,r+s),e.lineTo(n-f,r+i),e.closePath();break;case"crossRot":g+=Bl;case"cross":d=Math.cos(g)*(a?a/2:m),i=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(a?a/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-i),e.lineTo(n-f,r+i);break;case"star":d=Math.cos(g)*(a?a/2:m),i=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(a?a/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-i),e.lineTo(n-f,r+i),g+=Bl,d=Math.cos(g)*(a?a/2:m),i=Math.cos(g)*m,s=Math.sin(g)*m,f=Math.sin(g)*(a?a/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-i),e.lineTo(n-f,r+i);break;case"line":i=a?a/2:Math.cos(g)*m,s=Math.sin(g)*m,e.moveTo(n-i,r-s),e.lineTo(n+i,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(a?a/2:m),r+Math.sin(g)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Bc(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Vc(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Uc(e){e.restore()}function $c(e,t,n,r,a){if(!t)return e.lineTo(n.x,n.y);if("middle"===a){const r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else"after"===a!==!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function qc(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Qc(e,t,n,r,a){if(a.strikethrough||a.underline){const o=e.measureText(r),i=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,u=a.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=a.decorationWidth||2,e.moveTo(i,u),e.lineTo(s,u),e.stroke()}}function Kc(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Zc(e,t,n,r,a){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const i=gl(t)?t:[t],s=o.strokeWidth>0&&""!==o.strokeColor;let l,c;for(e.save(),e.font=a.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ml(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),l=0;l<i.length;++l)c=i[l],o.backdrop&&Kc(e,o.backdrop),s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),ml(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,n,r,o.maxWidth)),e.fillText(c,n,r,o.maxWidth),Qc(e,n,r,c,o),r+=Number(a.lineHeight);e.restore()}function Gc(e,t){const{x:n,y:r,w:a,h:o,radius:i}=t;e.arc(n+i.topLeft,r+i.topLeft,i.topLeft,1.5*Ll,Ll,!0),e.lineTo(n,r+o-i.bottomLeft),e.arc(n+i.bottomLeft,r+o-i.bottomLeft,i.bottomLeft,Ll,Hl,!0),e.lineTo(n+a-i.bottomRight,r+o),e.arc(n+a-i.bottomRight,r+o-i.bottomRight,i.bottomRight,Hl,0,!0),e.lineTo(n+a,r+i.topRight),e.arc(n+a-i.topRight,r+i.topRight,i.topRight,0,-Hl,!0),e.lineTo(n+i.topLeft,r)}const Xc=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Jc=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function eu(e,t){const n=(""+e).match(Xc);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}function tu(e,t){const n={},r=yl(t),a=r?Object.keys(t):t,o=yl(e)?r?n=>xl(e[n],e[t[n]]):t=>e[t]:()=>e;for(const i of a)n[i]=+o(i)||0;return n}function nu(e){return tu(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ru(e){return tu(e,["topLeft","topRight","bottomLeft","bottomRight"])}function au(e){const t=nu(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ou(e,t){e=e||{},t=t||Lc.font;let n=xl(e.size,t.size);"string"===typeof n&&(n=parseInt(n,10));let r=xl(e.style,t.style);r&&!(""+r).match(Jc)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const a={family:xl(e.family,t.family),lineHeight:eu(xl(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:xl(e.weight,t.weight),string:""};return a.string=function(e){return!e||ml(e.size)||ml(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(a),a}function iu(e,t,n,r){let a,o,i,s=!0;for(a=0,o=e.length;a<o;++a)if(i=e[a],void 0!==i&&(void 0!==t&&"function"===typeof i&&(i=i(t),s=!1),void 0!==n&&gl(i)&&(i=i[n%i.length],s=!1),void 0!==i))return r&&!s&&(r.cacheable=!1),i}function su(e,t){return Object.assign(Object.create(e),t)}function lu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>e[0];const a=(arguments.length>2?arguments[2]:void 0)||e;"undefined"===typeof n&&(n=bu("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:n,_getTarget:r,override:r=>lu([r,...e],t,a,n)};return new Proxy(o,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,r)=>hu(n,r,(()=>function(e,t,n,r){let a;for(const o of t)if(a=bu(du(o,e),n),"undefined"!==typeof a)return fu(e,a)?yu(n,r,e,a):a}(r,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>xu(e).includes(t),ownKeys:e=>xu(e),set(e,t,n){const a=e._storage||(e._storage=r());return e[t]=a[t]=n,delete e._keys,!0}})}function cu(e,t,n,r){const a={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:uu(e,r),setContext:t=>cu(e,t,n,r),override:a=>cu(e.override(a),t,n,r)};return new Proxy(a,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>hu(e,t,(()=>function(e,t,n){const{_proxy:r,_context:a,_subProxy:o,_descriptors:i}=e;let s=r[t];Rl(s)&&i.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:a,_context:o,_subProxy:i,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(o,i||r);s.delete(e),fu(e,l)&&(l=yu(a._scopes,a,e,l));return l}(t,s,e,n));gl(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:a,_context:o,_subProxy:i,_descriptors:s}=n;if("undefined"!==typeof o.index&&r(e))return t[o.index%t.length];if(yl(t[0])){const n=t,r=a._scopes.filter((e=>e!==n));t=[];for(const l of n){const n=yu(r,a,e,l);t.push(cu(n,o,i&&i[e],s))}}return t}(t,s,e,i.isIndexable));fu(t,s)&&(s=cu(s,a,o&&o[t],i));return s}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}function uu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0};const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:a=t.allKeys}=e;return{allKeys:a,scriptable:n,indexable:r,isScriptable:Rl(n)?n:()=>n,isIndexable:Rl(r)?r:()=>r}}const du=(e,t)=>e?e+Cl(t):t,fu=(e,t)=>yl(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function hu(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const r=n();return e[t]=r,r}function pu(e,t,n){return Rl(e)?e(t,n):e}const mu=(e,t)=>!0===e?t:"string"===typeof e?Tl(t,e):void 0;function gu(e,t,n,r,a){for(const o of t){const t=mu(n,o);if(t){e.add(t);const o=pu(t._fallback,n,a);if("undefined"!==typeof o&&o!==n&&o!==r)return o}else if(!1===t&&"undefined"!==typeof r&&n!==r)return null}return!1}function yu(e,t,n,r){const a=t._rootScopes,o=pu(t._fallback,n,r),i=[...e,...a],s=new Set;s.add(r);let l=vu(s,i,n,o||n,r);return null!==l&&(("undefined"===typeof o||o===n||(l=vu(s,i,o,l,r),null!==l))&&lu(Array.from(s),[""],a,o,(()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const a=r[t];if(gl(a)&&yl(n))return n;return a||{}}(t,n,r))))}function vu(e,t,n,r,a){for(;n;)n=gu(e,t,n,r,a);return n}function bu(e,t){for(const n of t){if(!n)continue;const t=n[e];if("undefined"!==typeof t)return t}}function xu(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}const wu=Number.EPSILON||1e-14,ku=(e,t)=>t<e.length&&!e[t].skip&&e[t],_u=e=>"x"===e?"y":"x";function ju(e,t,n,r){const a=e.skip?t:e,o=t,i=n.skip?t:n,s=tc(o,a),l=tc(i,o);let c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=r*c,f=r*u;return{previous:{x:o.x-d*(i.x-a.x),y:o.y-d*(i.y-a.y)},next:{x:o.x+f*(i.x-a.x),y:o.y+f*(i.y-a.y)}}}function Su(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x";const n=_u(t),r=e.length,a=Array(r).fill(0),o=Array(r);let i,s,l,c=ku(e,0);for(i=0;i<r;++i)if(s=l,l=c,c=ku(e,i+1),l){if(c){const e=c[t]-l[t];a[i]=0!==e?(c[n]-l[n])/e:0}o[i]=s?c?$l(a[i-1])!==$l(a[i])?0:(a[i-1]+a[i])/2:a[i-1]:a[i]}!function(e,t,n){const r=e.length;let a,o,i,s,l,c=ku(e,0);for(let u=0;u<r-1;++u)l=c,c=ku(e,u+1),l&&c&&(ql(t[u],0,wu)?n[u]=n[u+1]=0:(a=n[u]/t[u],o=n[u+1]/t[u],s=Math.pow(a,2)+Math.pow(o,2),s<=9||(i=3/Math.sqrt(s),n[u]=a*i*t[u],n[u+1]=o*i*t[u])))}(e,a,o),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x";const r=_u(n),a=e.length;let o,i,s,l=ku(e,0);for(let c=0;c<a;++c){if(i=s,s=l,l=ku(e,c+1),!s)continue;const a=s[n],u=s[r];i&&(o=(a-i[n])/3,s[`cp1${n}`]=a-o,s[`cp1${r}`]=u-o*t[c]),l&&(o=(l[n]-a)/3,s[`cp2${n}`]=a+o,s[`cp2${r}`]=u+o*t[c])}}(e,o,t)}function Mu(e,t,n){return Math.max(Math.min(e,n),t)}function Du(e,t,n,r,a){let o,i,s,l;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)Su(e,a);else{let n=r?e[e.length-1]:e[0];for(o=0,i=e.length;o<i;++o)s=e[o],l=ju(n,s,e[Math.min(o+1,i-(r?0:1))%i],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,n=s}t.capBezierPoints&&function(e,t){let n,r,a,o,i,s=Bc(e[0],t);for(n=0,r=e.length;n<r;++n)i=o,o=s,s=n<r-1&&Bc(e[n+1],t),o&&(a=e[n],i&&(a.cp1x=Mu(a.cp1x,t.left,t.right),a.cp1y=Mu(a.cp1y,t.top,t.bottom)),s&&(a.cp2x=Mu(a.cp2x,t.left,t.right),a.cp2y=Mu(a.cp2y,t.top,t.bottom)))}(e,n)}function Ou(){return"undefined"!==typeof window&&"undefined"!==typeof document}function Eu(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function Nu(e,t,n){let r;return"string"===typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}const Pu=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);const Tu=["top","right","bottom","left"];function Cu(e,t,n){const r={};n=n?"-"+n:"";for(let a=0;a<4;a++){const o=Tu[a];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function Iu(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,a=Pu(n),o="border-box"===a.boxSizing,i=Cu(a,"padding"),s=Cu(a,"border","width"),{x:l,y:c,box:u}=function(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:a,offsetY:o}=r;let i,s,l=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(a,o,e.target))i=a,s=o;else{const e=t.getBoundingClientRect();i=r.clientX-e.left,s=r.clientY-e.top,l=!0}return{x:i,y:s,box:l}}(e,n),d=i.left+(u&&s.left),f=i.top+(u&&s.top);let{width:h,height:p}=t;return o&&(h-=i.width+s.width,p-=i.height+s.height),{x:Math.round((l-d)/h*n.width/r),y:Math.round((c-f)/p*n.height/r)}}const Ru=e=>Math.round(10*e)/10;function Fu(e,t,n,r){const a=Pu(e),o=Cu(a,"margin"),i=Nu(a.maxWidth,e,"clientWidth")||zl,s=Nu(a.maxHeight,e,"clientHeight")||zl,l=function(e,t,n){let r,a;if(void 0===t||void 0===n){const o=e&&Eu(e);if(o){const e=o.getBoundingClientRect(),i=Pu(o),s=Cu(i,"border","width"),l=Cu(i,"padding");t=e.width-l.width-s.width,n=e.height-l.height-s.height,r=Nu(i.maxWidth,o,"clientWidth"),a=Nu(i.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||zl,maxHeight:a||zl}}(e,t,n);let{width:c,height:u}=l;if("content-box"===a.boxSizing){const e=Cu(a,"border","width"),t=Cu(a,"padding");c-=t.width+e.width,u-=t.height+e.height}c=Math.max(0,c-o.width),u=Math.max(0,r?c/r:u-o.height),c=Ru(Math.min(c,i,l.maxWidth)),u=Ru(Math.min(u,s,l.maxHeight)),c&&!u&&(u=Ru(c/2));return(void 0!==t||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=Ru(Math.floor(u*r))),{width:c,height:u}}function Lu(e,t,n){const r=t||1,a=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const i=e.canvas;return i.style&&(n||!i.style.height&&!i.style.width)&&(i.style.height=`${e.height}px`,i.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||i.height!==a||i.width!==o)&&(e.currentDevicePixelRatio=r,i.height=a,i.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}const Au=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Ou()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(up){}return e}();function Yu(e,t){const n=function(e,t){return Pu(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function zu(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Wu(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function Hu(e,t,n,r){const a={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},i=zu(e,a,n),s=zu(a,o,n),l=zu(o,t,n),c=zu(i,s,n),u=zu(s,l,n);return zu(c,u,n)}function Bu(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Vu(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function Uu(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function $u(e){return"angle"===e?{between:ac,compare:nc,normalize:rc}:{between:ic,compare:(e,t)=>e-t,normalize:e=>e}}function qu(e){let{start:t,end:n,count:r,loop:a,style:o}=e;return{start:t%r,end:n%r,loop:a&&(n-t+1)%r===0,style:o}}function Qu(e,t,n){if(!n)return[e];const{property:r,start:a,end:o}=n,i=t.length,{compare:s,between:l,normalize:c}=$u(r),{start:u,end:d,loop:f,style:h}=function(e,t,n){const{property:r,start:a,end:o}=n,{between:i,normalize:s}=$u(r),l=t.length;let c,u,{start:d,end:f,loop:h}=e;if(h){for(d+=l,f+=l,c=0,u=l;c<u&&i(s(t[d%l][r]),a,o);++c)d--,f--;d%=l,f%=l}return f<d&&(f+=l),{start:d,end:f,loop:h,style:e.style}}(e,t,n),p=[];let m,g,y,v=!1,b=null;const x=()=>v||l(a,y,m)&&0!==s(a,y),w=()=>!v||0===s(o,m)||l(o,y,m);for(let k=u,_=u;k<=d;++k)g=t[k%i],g.skip||(m=c(g[r]),m!==y&&(v=l(m,a,o),null===b&&x()&&(b=0===s(m,a)?k:_),null!==b&&w()&&(p.push(qu({start:b,end:k,loop:f,count:i,style:h})),b=null),_=k,y=m));return null!==b&&p.push(qu({start:b,end:d,loop:f,count:i,style:h})),p}function Ku(e,t){const n=[],r=e.segments;for(let a=0;a<r.length;a++){const o=Qu(r[a],e.points,t);o.length&&n.push(...o)}return n}function Zu(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){const a=e._chart.getContext(),o=Gu(e.options),{_datasetIndex:i,options:{spanGaps:s}}=e,l=n.length,c=[];let u=o,d=t[0].start,f=d;function h(e,t,r,a){const o=s?-1:1;if(e!==t){for(e+=l;n[e%l].skip;)e-=o;for(;n[t%l].skip;)t+=o;e%l!==t%l&&(c.push({start:e%l,end:t%l,loop:r,style:a}),u=a,d=t%l)}}for(const p of t){d=s?d:p.start;let e,t=n[d%l];for(f=d+1;f<=p.end;f++){const o=n[f%l];e=Gu(r.setContext(su(a,{type:"segment",p0:t,p1:o,p0DataIndex:(f-1)%l,p1DataIndex:f%l,datasetIndex:i}))),Xu(e,u)&&h(d,f-1,p.loop,u),t=o,u=e}d<f-1&&h(d,f-1,p.loop,u)}return c}(e,t,n,r):t}function Gu(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Xu(e,t){if(!t)return!1;const n=[],r=function(e,t){return _c(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}class Ju{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const a=t.listeners[r],o=t.duration;a.forEach((r=>r({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(n-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=hc.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),t=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const a=n.items;let o,i=a.length-1,s=!1;for(;i>=0;--i)o=a[i],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(e),s=!0):(a[i]=a[a.length-1],a.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),a.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=a.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var ed=new Ju;const td="transparent",nd={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const r=jc(e||td),a=r.valid&&jc(t||td);return a&&a.valid?a.mix(r,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class rd{constructor(e,t,n,r){const a=t[n];r=iu([e.to,r,a,e.from]);const o=iu([e.from,a,r]);this._active=!0,this._fn=e.fn||nd[e.type||typeof o],this._easing=kc[e.easing]||kc.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const r=this._target[this._prop],a=n-this._start,o=this._duration-a;this._start=n,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=a,this._loop=!!e.loop,this._to=iu([e.to,t,r,e.from]),this._from=iu([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,a=this._from,o=this._loop,i=this._to;let s;if(this._active=a!==i&&(o||t<n),!this._active)return this._target[r]=i,void this._notify(!0);t<0?this._target[r]=a:(s=t/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(a,i,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n})}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let r=0;r<n.length;r++)n[r][t]()}}class ad{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!yl(e))return;const t=Object.keys(Lc.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach((r=>{const a=e[r];if(!yl(a))return;const o={};for(const e of t)o[e]=a[e];(gl(a.properties)&&a.properties||[r]).forEach((e=>{e!==r&&n.has(e)||n.set(e,o)}))}))}_animateOptions(e,t){const n=t.options,r=function(e,t){if(!t)return;let n=e.options;if(!n)return void(e.options=t);n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(e,n);if(!r)return[];const a=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let a=0;a<r.length;a++){const t=e[r[a]];t&&t.active()&&n.push(t.wait())}return Promise.all(n)}(e.options.$animations,n).then((()=>{e.options=n}),(()=>{})),a}_createAnimations(e,t){const n=this._properties,r=[],a=e.$animations||(e.$animations={}),o=Object.keys(t),i=Date.now();let s;for(s=o.length-1;s>=0;--s){const l=o[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(e,t));continue}const c=t[l];let u=a[l];const d=n.get(l);if(u){if(d&&u.active()){u.update(d,c,i);continue}u.cancel()}d&&d.duration?(a[l]=u=new rd(d,e,l,c),r.push(u)):e[l]=c}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(ed.add(this._chart,n),!0):void 0}}function od(e,t){const n=e&&e.options||{},r=n.reverse,a=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:a,end:r?a:o}}function id(e,t){const n=[],r=e._getSortedDatasetMetas(t);let a,o;for(a=0,o=r.length;a<o;++a)n.push(r[a].index);return n}function sd(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=e.keys,o="single"===r.mode;let i,s,l,c;if(null!==t){for(i=0,s=a.length;i<s;++i){if(l=+a[i],l===n){if(r.all)continue;break}c=e.values[l],vl(c)&&(o||0===t||$l(t)===$l(c))&&(t+=c)}return t}}function ld(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function cd(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function ud(e,t,n,r){for(const a of t.getMatchingVisibleMetas(r).reverse()){const t=e[a.index];if(n&&t>0||!n&&t<0)return a.index}return null}function dd(e,t){const{chart:n,_cachedMeta:r}=e,a=n._stacks||(n._stacks={}),{iScale:o,vScale:i,index:s}=r,l=o.axis,c=i.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(o,i,r),d=t.length;let f;for(let h=0;h<d;++h){const e=t[h],{[l]:n,[c]:o}=e;f=(e._stacks||(e._stacks={}))[c]=cd(a,u,n),f[s]=o,f._top=ud(f,i,!0,r.type),f._bottom=ud(f,i,!1,r.type);(f._visualValues||(f._visualValues={}))[s]=o}}function fd(e,t){const n=e.scales;return Object.keys(n).filter((e=>n[e].axis===t)).shift()}function hd(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n],void 0!==t[r]._visualValues&&void 0!==t[r]._visualValues[n]&&delete t[r]._visualValues[n]}}}const pd=e=>"reset"===e||"none"===e,md=(e,t)=>t?e:Object.assign({},e);class gd{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=ld(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&hd(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,a=t.xAxisID=xl(n.xAxisID,fd(e,"x")),o=t.yAxisID=xl(n.yAxisID,fd(e,"y")),i=t.rAxisID=xl(n.rAxisID,fd(e,"r")),s=t.indexAxis,l=t.iAxisID=r(s,a,o,i),c=t.vAxisID=r(s,o,a,i);t.xScale=this.getScaleForId(a),t.yScale=this.getScaleForId(o),t.rScale=this.getScaleForId(i),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&dc(this._data,this),e._stacked&&hd(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(yl(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:n,vScale:r}=t,a="x"===n.axis?"x":"y",o="x"===r.axis?"x":"y",i=Object.keys(e),s=new Array(i.length);let l,c,u;for(l=0,c=i.length;l<c;++l)u=i[l],s[l]={[a]:u,[o]:e[u]};return s}(t,e)}else if(n!==t){if(n){dc(n,this);const e=this._cachedMeta;hd(e),e._parsed=[]}t&&Object.isExtensible(t)&&function(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),uc.forEach((t=>{const n="_onData"+Cl(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(){for(var t=arguments.length,a=new Array(t),o=0;o<t;o++)a[o]=arguments[o];const i=r.apply(this,a);return e._chartjs.listeners.forEach((e=>{"function"===typeof e[n]&&e[n](...a)})),i}})})))}(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const a=t._stacked;t._stacked=ld(t.vScale,t),t.stack!==n.stack&&(r=!0,hd(t),t.stack=n.stack),this._resyncElements(e),(r||a!==t._stacked)&&(dd(this,t._parsed),t._stacked=ld(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:r}=this,{iScale:a,_stacked:o}=n,i=a.axis;let s,l,c,u=0===e&&t===r.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,c=r;else{c=gl(r[e])?this.parseArrayData(n,r,e,t):yl(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);const a=()=>null===l[i]||d&&l[i]<d[i];for(s=0;s<t;++s)n._parsed[s+e]=l=c[s],u&&(a()&&(u=!1),d=l);n._sorted=u}o&&dd(this,c)}parsePrimitiveData(e,t,n,r){const{iScale:a,vScale:o}=e,i=a.axis,s=o.axis,l=a.getLabels(),c=a===o,u=new Array(r);let d,f,h;for(d=0,f=r;d<f;++d)h=d+n,u[d]={[i]:c||a.parse(l[h],h),[s]:o.parse(t[h],h)};return u}parseArrayData(e,t,n,r){const{xScale:a,yScale:o}=e,i=new Array(r);let s,l,c,u;for(s=0,l=r;s<l;++s)c=s+n,u=t[c],i[s]={x:a.parse(u[0],c),y:o.parse(u[1],c)};return i}parseObjectData(e,t,n,r){const{xScale:a,yScale:o}=e,{xAxisKey:i="x",yAxisKey:s="y"}=this._parsing,l=new Array(r);let c,u,d,f;for(c=0,u=r;c<u;++c)d=c+n,f=t[d],l[c]={x:a.parse(Tl(f,i),d),y:o.parse(Tl(f,s),d)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,a=this._cachedMeta,o=t[e.axis];return sd({keys:id(r,!0),values:t._stacks[e.axis]._visualValues},o,a.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const a=n[t.axis];let o=null===a?NaN:a;const i=r&&n._stacks[t.axis];r&&i&&(r.values=i,o=sd(r,a,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const n=this._cachedMeta,r=n._parsed,a=n._sorted&&e===n.iScale,o=r.length,i=this._getOtherScale(e),s=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:id(n,!0),values:null})(t,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(e){const{min:t,max:n,minDefined:r,maxDefined:a}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:a?n:Number.POSITIVE_INFINITY}}(i);let d,f;function h(){f=r[d];const t=f[i.axis];return!vl(f[e.axis])||c>t||u<t}for(d=0;d<o&&(h()||(this.updateRangeFromParsed(l,e,f,s),!a));++d);if(a)for(d=o-1;d>=0;--d)if(!h()){this.updateRangeFromParsed(l,e,f,s);break}return l}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let r,a,o;for(r=0,a=t.length;r<a;++r)o=t[r][e.axis],vl(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,a=this.getParsed(e);return{label:n?""+n.getLabelForValue(a[n.axis]):"",value:r?""+r.getLabelForValue(a[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,r,a;return yl(e)?(t=e.top,n=e.right,r=e.bottom,a=e.left):t=n=r=a=e,{top:t,right:n,bottom:r,left:a,disabled:!1===e}}(xl(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=od(e,n),a=od(t,n);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],a=t.chartArea,o=[],i=this._drawStart||0,s=this._drawCount||r.length-i,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,a,i,s),c=i;c<i+s;++c){const t=r[c];t.hidden||(t.active&&l?o.push(t):t.draw(e,a))}for(c=0;c<o.length;++c)o[c].draw(e,a)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const r=this.getDataset();let a;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];a=t.$context||(t.$context=function(e,t,n){return su(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),a.parsed=this.getParsed(e),a.raw=r.data[e],a.index=a.dataIndex=e}else a=this.$context||(this.$context=function(e,t){return su(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),a.dataset=r,a.index=a.datasetIndex=this.index;return a.active=!!t,a.mode=n,a}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0;const r="active"===t,a=this._cachedDataOpts,o=e+"-"+t,i=a[o],s=this.enableOptionSharing&&Il(n);if(i)return md(i,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,"hover",e,""]:[e,""],d=l.getOptionScopes(this.getDataset(),c),f=Object.keys(Lc.elements[e]),h=l.resolveNamedOptions(d,f,(()=>this.getContext(n,r,t)),u);return h.$shared&&(h.$shared=s,a[o]=Object.freeze(md(h,s))),h}_resolveAnimations(e,t,n){const r=this.chart,a=this._cachedDataOpts,o=`animation-${t}`,i=a[o];if(i)return i;let s;if(!1!==r.options.animation){const r=this.chart.config,a=r.datasetAnimationScopeKeys(this._type,t),o=r.getOptionScopes(this.getDataset(),a);s=r.createResolver(o,this.getContext(e,n,t))}const l=new ad(r,s&&s.animations);return s&&s._cacheable&&(a[o]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||pd(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,a=this.getSharedOptions(n),o=this.includeOptions(t,a)||a!==r;return this.updateSharedOptions(a,t,n),{sharedOptions:a,includeOptions:o}}updateElement(e,t,n,r){pd(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!pd(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const a=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(a)||a})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[i,s,l]of this._syncList)this[i](s,l);this._syncList=[];const r=n.length,a=t.length,o=Math.min(a,r);o&&this.parse(0,o),a>r?this._insertElements(r,a-r,e):a<r&&this._removeElements(a,r-a)}_insertElements(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=this._cachedMeta,a=r.data,o=e+t;let i;const s=e=>{for(e.length+=t,i=e.length-1;i>=o;i--)e[i]=e[i-t]};for(s(a),i=e;i<o;++i)a[i]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(a,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&hd(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}class yd extends gd{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:n,data:r=[],_dataset:a}=t,o=this.chart._animationsDisabled;let{start:i,count:s}=yc(t,r,o);this._drawStart=i,this._drawCount=s,vc(t)&&(i=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!a._decimated,n.points=r;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:l},e),this.updateElements(r,i,s,e)}updateElements(e,t,n,r){const a="reset"===r,{iScale:o,vScale:i,_stacked:s,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:u}=this._getSharedOptions(t,r),d=o.axis,f=i.axis,{spanGaps:h,segment:p}=this.options,m=Kl(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||a||"none"===r,y=t+n,v=e.length;let b=t>0&&this.getParsed(t-1);for(let x=0;x<v;++x){const n=e[x],h=g?n:{};if(x<t||x>=y){h.skip=!0;continue}const v=this.getParsed(x),w=ml(v[f]),k=h[d]=o.getPixelForValue(v[d],x),_=h[f]=a||w?i.getBasePixel():i.getPixelForValue(s?this.applyStack(i,v,s):v[f],x);h.skip=isNaN(k)||isNaN(_)||w,h.stop=x>0&&Math.abs(v[d]-b[d])>m,p&&(h.parsed=v,h.raw=l.data[x]),u&&(h.options=c||this.resolveDataElementOptions(x,n.active?"active":r)),g||this.updateElement(n,x,h,r),b=v}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;const a=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,a,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}function vd(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class bd{static override(e){Object.assign(bd.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return vd()}parse(){return vd()}format(){return vd()}add(){return vd()}diff(){return vd()}startOf(){return vd()}endOf(){return vd()}}var xd=bd;function wd(e,t,n,r){const{controller:a,data:o,_sorted:i}=e,s=a._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&i&&o.length){const e=s._reversePixels?cc:lc;if(!r)return e(o,t,n);if(a._sharedOptions){const r=o[0],a="function"===typeof r.getRange&&r.getRange(t);if(a){const r=e(o,t,n-a),i=e(o,t,n+a);return{lo:r.lo,hi:i.hi}}}}return{lo:0,hi:o.length-1}}function kd(e,t,n,r,a){const o=e.getSortedVisibleDatasetMetas(),i=n[t];for(let s=0,l=o.length;s<l;++s){const{index:e,data:n}=o[s],{lo:l,hi:c}=wd(o[s],t,i,a);for(let t=l;t<=c;++t){const a=n[t];a.skip||r(a,e,t)}}}function _d(e,t,n,r,a){const o=[];if(!a&&!e.isPointInArea(t))return o;return kd(e,n,t,(function(n,i,s){(a||Bc(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&o.push({element:n,datasetIndex:i,index:s})}),!0),o}function jd(e,t,n,r,a,o){let i=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const a=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(o,2))}}(n);let l=Number.POSITIVE_INFINITY;return kd(e,n,t,(function(n,c,u){const d=n.inRange(t.x,t.y,a);if(r&&!d)return;const f=n.getCenterPoint(a);if(!(!!o||e.isPointInArea(f))&&!d)return;const h=s(t,f);h<l?(i=[{element:n,datasetIndex:c,index:u}],l=h):h===l&&i.push({element:n,datasetIndex:c,index:u})})),i}function Sd(e,t,n,r,a,o){return o||e.isPointInArea(t)?"r"!==n||r?jd(e,t,n,r,a,o):function(e,t,n,r){let a=[];return kd(e,n,t,(function(e,n,o){const{startAngle:i,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:l}=ec(e,{x:t.x,y:t.y});ac(l,i,s)&&a.push({element:e,datasetIndex:n,index:o})})),a}(e,t,n,a):[]}function Md(e,t,n,r,a){const o=[],i="x"===n?"inXRange":"inYRange";let s=!1;return kd(e,n,t,((e,r,l)=>{e[i]&&e[i](t[n],a)&&(o.push({element:e,datasetIndex:r,index:l}),s=s||e.inRange(t.x,t.y,a))})),r&&!s?[]:o}var Dd={evaluateInteractionItems:kd,modes:{index(e,t,n,r){const a=Iu(t,e),o=n.axis||"x",i=n.includeInvisible||!1,s=n.intersect?_d(e,a,o,r,i):Sd(e,a,o,!1,r,i),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=s[0].index,n=e.data[t];n&&!n.skip&&l.push({element:n,datasetIndex:e.index,index:t})})),l):[]},dataset(e,t,n,r){const a=Iu(t,e),o=n.axis||"xy",i=n.includeInvisible||!1;let s=n.intersect?_d(e,a,o,r,i):Sd(e,a,o,!1,r,i);if(s.length>0){const t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point:(e,t,n,r)=>_d(e,Iu(t,e),n.axis||"xy",r,n.includeInvisible||!1),nearest(e,t,n,r){const a=Iu(t,e),o=n.axis||"xy",i=n.includeInvisible||!1;return Sd(e,a,o,n.intersect,r,i)},x:(e,t,n,r)=>Md(e,Iu(t,e),"x",n.intersect,r),y:(e,t,n,r)=>Md(e,Iu(t,e),"y",n.intersect,r)}};const Od=["left","top","right","bottom"];function Ed(e,t){return e.filter((e=>e.pos===t))}function Nd(e,t){return e.filter((e=>-1===Od.indexOf(e.pos)&&e.box.axis===t))}function Pd(e,t){return e.sort(((e,n)=>{const r=t?n:e,a=t?e:n;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function Td(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:a}=n;if(!e||!Od.includes(r))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=a}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:a}=t;let o,i,s;for(o=0,i=e.length;o<i;++o){s=e[o];const{fullSize:i}=s.box,l=n[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*r:i&&t.availableWidth,s.height=a):(s.width=r,s.height=c?c*a:i&&t.availableHeight)}return n}function Cd(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Id(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Rd(e,t,n,r){const{pos:a,box:o}=n,i=e.maxPadding;if(!yl(a)){n.size&&(e[a]-=n.size);const t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?o.height:o.width),n.size=t.size/t.count,e[a]+=n.size}o.getPadding&&Id(i,o.getPadding());const s=Math.max(0,t.outerWidth-Cd(i,e,"left","right")),l=Math.max(0,t.outerHeight-Cd(i,e,"top","bottom")),c=s!==e.w,u=l!==e.h;return e.w=s,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Fd(e,t){const n=t.maxPadding;function r(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function Ld(e,t,n,r){const a=[];let o,i,s,l,c,u;for(o=0,i=e.length,c=0;o<i;++o){s=e[o],l=s.box,l.update(s.width||t.w,s.height||t.h,Fd(s.horizontal,t));const{same:i,other:d}=Rd(t,n,s,r);c|=i&&a.length,u=u||d,l.fullSize||a.push(s)}return c&&Ld(a,t,n,r)||u}function Ad(e,t,n,r,a){e.top=n,e.left=t,e.right=t+r,e.bottom=n+a,e.width=r,e.height=a}function Yd(e,t,n,r){const a=n.padding;let{x:o,y:i}=t;for(const s of e){const e=s.box,l=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const r=t.w*c,o=l.size||e.height;Il(l.start)&&(i=l.start),e.fullSize?Ad(e,a.left,i,n.outerWidth-a.right-a.left,o):Ad(e,t.left+l.placed,i,r,o),l.start=i,l.placed+=r,i=e.bottom}else{const r=t.h*c,i=l.size||e.width;Il(l.start)&&(o=l.start),e.fullSize?Ad(e,o,a.top,i,n.outerHeight-a.bottom-a.top):Ad(e,o,t.top+l.placed,i,r),l.start=o,l.placed+=r,o=e.right}}t.x=o,t.y=i}var zd={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const a=au(e.options.layout.padding),o=Math.max(t-a.width,0),i=Math.max(n-a.height,0),s=function(e){const t=function(e){const t=[];let n,r,a,o,i,s;for(n=0,r=(e||[]).length;n<r;++n)a=e[n],({position:o,options:{stack:i,stackWeight:s=1}}=a),t.push({index:n,box:a,pos:o,horizontal:a.isHorizontal(),weight:a.weight,stack:i&&o+i,stackWeight:s});return t}(e),n=Pd(t.filter((e=>e.box.fullSize)),!0),r=Pd(Ed(t,"left"),!0),a=Pd(Ed(t,"right")),o=Pd(Ed(t,"top"),!0),i=Pd(Ed(t,"bottom")),s=Nd(t,"x"),l=Nd(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:a.concat(l).concat(i).concat(s),chartArea:Ed(t,"chartArea"),vertical:r.concat(a).concat(l),horizontal:o.concat(i).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;_l(e.boxes,(e=>{"function"===typeof e.beforeLayout&&e.beforeLayout()}));const u=l.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:a,availableWidth:o,availableHeight:i,vBoxMaxWidth:o/2/u,hBoxMaxHeight:i/2}),f=Object.assign({},a);Id(f,au(r));const h=Object.assign({maxPadding:f,w:o,h:i,x:a.left,y:a.top},a),p=Td(l.concat(c),d);Ld(s.fullSize,h,d,p),Ld(l,h,d,p),Ld(c,h,d,p)&&Ld(l,h,d,p),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(h),Yd(s.leftAndTop,h,d,p),h.x+=h.w,h.y+=h.h,Yd(s.rightAndBottom,h,d,p),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},_l(s.chartArea,(t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class Wd{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class Hd extends Wd{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Bd="$chartjs",Vd={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ud=e=>null===e||""===e;const $d=!!Au&&{passive:!0};function qd(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,$d)}function Qd(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Kd(e,t,n){const r=e.canvas,a=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Qd(n.addedNodes,r),t=t&&!Qd(n.removedNodes,r);t&&n()}));return a.observe(document,{childList:!0,subtree:!0}),a}function Zd(e,t,n){const r=e.canvas,a=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Qd(n.removedNodes,r),t=t&&!Qd(n.addedNodes,r);t&&n()}));return a.observe(document,{childList:!0,subtree:!0}),a}const Gd=new Map;let Xd=0;function Jd(){const e=window.devicePixelRatio;e!==Xd&&(Xd=e,Gd.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function ef(e,t,n){const r=e.canvas,a=r&&Eu(r);if(!a)return;const o=pc(((e,t)=>{const r=a.clientWidth;n(e,t),r<a.clientWidth&&n()}),window),i=new ResizeObserver((e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||o(n,r)}));return i.observe(a),function(e,t){Gd.size||window.addEventListener("resize",Jd),Gd.set(e,t)}(e,o),i}function tf(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){Gd.delete(e),Gd.size||window.removeEventListener("resize",Jd)}(e)}function nf(e,t,n){const r=e.canvas,a=pc((t=>{null!==e.ctx&&n(function(e,t){const n=Vd[e.type]||e.type,{x:r,y:a}=Iu(e,t);return{type:n,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==a?a:null}}(t,e))}),e);return function(e,t,n){e&&e.addEventListener(t,n,$d)}(r,t,a),a}class rf extends Wd{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[Bd]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Ud(a)){const t=Yu(e,"width");void 0!==t&&(e.width=t)}if(Ud(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Yu(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t[Bd])return!1;const n=t[Bd].initial;["height","width"].forEach((e=>{const r=n[e];ml(r)?t.removeAttribute(e):t.setAttribute(e,r)}));const r=n.style||{};return Object.keys(r).forEach((e=>{t.style[e]=r[e]})),t.width=t.width,delete t[Bd],!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),a={attach:Kd,detach:Zd,resize:ef}[t]||nf;r[t]=a(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];if(!r)return;({attach:tf,detach:tf,resize:tf}[t]||qd)(e,t,r),n[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return Fu(e,t,n,r)}isAttached(e){const t=e&&Eu(e);return!(!t||!t.isConnected)}}class af{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return Kl(this.x)&&Kl(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach((e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),r}}function of(e,t){const n=e.options.ticks,r=function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),a=e._maxLength/n;return Math.floor(Math.min(r,a))}(e),a=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],i=o.length,s=o[0],l=o[i-1],c=[];if(i>a)return function(e,t,n,r){let a,o=0,i=n[0];for(r=Math.ceil(r),a=0;a<e.length;a++)a===i&&(t.push(e[a]),o++,i=n[o*r])}(t,c,o,i/a),c;const u=function(e,t,n){const r=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),a=t.length/n;if(!r)return Math.max(a,1);const o=function(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort(((e,t)=>e-t)).pop(),t}(r);for(let i=0,s=o.length-1;i<s;i++){const e=o[i];if(e>a)return e}return Math.max(a,1)}(o,t,a);if(i>0){let e,n;const r=i>1?Math.round((l-s)/(i-1)):null;for(sf(t,c,u,ml(r)?0:s-r,s),e=0,n=i-1;e<n;e++)sf(t,c,u,o[e],o[e+1]);return sf(t,c,u,l,ml(r)?t.length:l+r),c}return sf(t,c,u),c}function sf(e,t,n,r,a){const o=xl(r,0),i=Math.min(xl(a,e.length),e.length);let s,l,c,u=0;for(n=Math.ceil(n),a&&(s=a-r,n=s/Math.floor(s/n)),c=o;c<0;)u++,c=Math.round(o+u*n);for(l=Math.max(o,0);l<i;l++)l===c&&(t.push(e[l]),u++,c=Math.round(o+u*n))}const lf=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,cf=(e,t)=>Math.min(t||e,e);function uf(e,t){const n=[],r=e.length/t,a=e.length;let o=0;for(;o<a;o+=r)n.push(e[Math.floor(o)]);return n}function df(e,t,n){const r=e.ticks.length,a=Math.min(t,r-1),o=e._startPixel,i=e._endPixel,s=1e-6;let l,c=e.getPixelForTick(a);if(!(n&&(l=1===r?Math.max(c-o,i-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(a-1))/2,c+=a<t?l:-l,c<o-s||c>i+s)))return c}function ff(e){return e.drawTicks?e.tickLength:0}function hf(e,t){if(!e.display)return 0;const n=ou(e.font,t),r=au(e.padding);return(gl(e.text)?e.text.length:1)*n.lineHeight+r.height}function pf(e,t,n){let r=mc(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class mf extends af{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=bl(e,Number.POSITIVE_INFINITY),t=bl(t,Number.NEGATIVE_INFINITY),n=bl(n,Number.POSITIVE_INFINITY),r=bl(r,Number.NEGATIVE_INFINITY),{min:bl(e,n),max:bl(t,r),minDefined:vl(e),maxDefined:vl(t)}}getMinMax(e){let t,{min:n,max:r,minDefined:a,maxDefined:o}=this.getUserBounds();if(a&&o)return{min:n,max:r};const i=this.getMatchingVisibleMetas();for(let s=0,l=i.length;s<l;++s)t=i[s].controller.getMinMax(this,e),a||(n=Math.min(n,t.min)),o||(r=Math.max(r,t.max));return n=o&&n>r?r:n,r=a&&n>r?n:r,{min:bl(n,bl(r,n)),max:bl(r,bl(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.chart.chartArea;return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){kl(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:r,grace:a,ticks:o}=this.options,i=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){const{min:r,max:a}=e,o=wl(t,(a-r)/2),i=(e,t)=>n&&0===e?0:e+t;return{min:i(r,-Math.abs(o)),max:i(a,o)}}(this,a,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=i<this.ticks.length;this._convertTicksToLabels(s?uf(this.ticks,i):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=of(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){kl(this.options.afterUpdate,[this])}beforeSetDimensions(){kl(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){kl(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),kl(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){kl(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,r,a;for(n=0,r=e.length;n<r;n++)a=e[n],a.label=kl(t.callback,[a.value,n,e],this)}afterTickToLabelConversion(){kl(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){kl(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=cf(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,a=t.maxRotation;let o,i,s,l=r;if(!this._isVisible()||!t.display||r>=a||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,f=oc(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),i=this.maxHeight-ff(e.grid)-t.padding-hf(e.title,this.chart.options.font),s=Math.sqrt(u*u+d*d),l=Xl(Math.min(Math.asin(oc((c.highest.height+6)/o,-1,1)),Math.asin(oc(i/s,-1,1))-Math.asin(oc(d/s,-1,1)))),l=Math.max(r,Math.min(a,l))),this.labelRotation=l}afterCalculateLabelRotation(){kl(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){kl(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:a}}=this,o=this._isVisible(),i=this.isHorizontal();if(o){const o=hf(r,t.options.font);if(i?(e.width=this.maxWidth,e.height=ff(a)+o):(e.height=this.maxHeight,e.width=ff(a)+o),n.display&&this.ticks.length){const{first:t,last:r,widest:a,highest:o}=this._getLabelSizes(),s=2*n.padding,l=Gl(this.labelRotation),c=Math.cos(l),u=Math.sin(l);if(i){const t=n.mirror?0:u*a.width+c*o.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=n.mirror?0:c*a.width+u*o.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,c)}}this._handleMargins(),i?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){const{ticks:{align:a,padding:o},position:i}=this.options,s=0!==this.labelRotation,l="top"!==i&&"x"===this.axis;if(this.isHorizontal()){const i=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;s?l?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):"start"===a?d=t.width:"end"===a?u=e.width:"inner"!==a&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-i+o)*this.width/(this.width-i),0),this.paddingRight=Math.max((d-c+o)*this.width/(this.width-c),0)}else{let n=t.height/2,r=e.height/2;"start"===a?(n=0,r=e.height):"end"===a&&(n=t.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){kl(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)ml(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=uf(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:r,_longestTextCache:a}=this,o=[],i=[],s=Math.floor(t/cf(t,n));let l,c,u,d,f,h,p,m,g,y,v,b=0,x=0;for(l=0;l<t;l+=s){if(d=e[l].label,f=this._resolveTickFontOptions(l),r.font=h=f.string,p=a[h]=a[h]||{data:{},gc:[]},m=f.lineHeight,g=y=0,ml(d)||gl(d)){if(gl(d))for(c=0,u=d.length;c<u;++c)v=d[c],ml(v)||gl(v)||(g=Ac(r,p.data,p.gc,g,v),y+=m)}else g=Ac(r,p.data,p.gc,g,d),y=m;o.push(g),i.push(y),b=Math.max(g,b),x=Math.max(y,x)}!function(e,t){_l(e,(e=>{const n=e.gc,r=n.length/2;let a;if(r>t){for(a=0;a<r;++a)delete e.data[n[a]];n.splice(0,r)}}))}(a,t);const w=o.indexOf(b),k=i.indexOf(x),_=e=>({width:o[e]||0,height:i[e]||0});return{first:_(0),last:_(t-1),widest:_(w),highest:_(k),widths:o,heights:i}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return oc(this._alignToPixels?Yc(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return su(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=su(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=Gl(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),a=this._getLabelSizes(),o=e.autoSkipPadding||0,i=a?a.widest.width+o:0,s=a?a.highest.height+o:0;return this.isHorizontal()?s*n>i*r?i/n:s/r:s*r<i*n?s/n:i/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,r=this.options,{grid:a,position:o,border:i}=r,s=a.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),u=ff(a),d=[],f=i.setContext(this.getContext()),h=f.display?f.width:0,p=h/2,m=function(e){return Yc(n,e,h)};let g,y,v,b,x,w,k,_,j,S,M,D;if("top"===o)g=m(this.bottom),w=this.bottom-u,_=g-p,S=m(e.top)+p,D=e.bottom;else if("bottom"===o)g=m(this.top),S=e.top,D=m(e.bottom)-p,w=g+p,_=this.top+u;else if("left"===o)g=m(this.right),x=this.right-u,k=g-p,j=m(e.left)+p,M=e.right;else if("right"===o)g=m(this.left),j=e.left,M=m(e.right)-p,x=g+p,k=this.left+u;else if("x"===t){if("center"===o)g=m((e.top+e.bottom)/2+.5);else if(yl(o)){const e=Object.keys(o)[0],t=o[e];g=m(this.chart.scales[e].getPixelForValue(t))}S=e.top,D=e.bottom,w=g+p,_=w+u}else if("y"===t){if("center"===o)g=m((e.left+e.right)/2);else if(yl(o)){const e=Object.keys(o)[0],t=o[e];g=m(this.chart.scales[e].getPixelForValue(t))}x=g-p,k=x-u,j=e.left,M=e.right}const O=xl(r.ticks.maxTicksLimit,c),E=Math.max(1,Math.ceil(c/O));for(y=0;y<c;y+=E){const e=this.getContext(y),t=a.setContext(e),r=i.setContext(e),o=t.lineWidth,c=t.color,u=r.dash||[],f=r.dashOffset,h=t.tickWidth,p=t.tickColor,m=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=df(this,y,s),void 0!==v&&(b=Yc(n,v,o),l?x=k=j=M=b:w=_=S=D=b,d.push({tx1:x,ty1:w,tx2:k,ty2:_,x1:j,y1:S,x2:M,y2:D,width:o,color:c,borderDash:u,borderDashOffset:f,tickWidth:h,tickColor:p,tickBorderDash:m,tickBorderDashOffset:g}))}return this._ticksLength=c,this._borderValue=g,d}_computeLabelItems(e){const t=this.axis,n=this.options,{position:r,ticks:a}=n,o=this.isHorizontal(),i=this.ticks,{align:s,crossAlign:l,padding:c,mirror:u}=a,d=ff(n.grid),f=d+c,h=u?-c:f,p=-Gl(this.labelRotation),m=[];let g,y,v,b,x,w,k,_,j,S,M,D,O="middle";if("top"===r)w=this.bottom-h,k=this._getXAxisLabelAlignment();else if("bottom"===r)w=this.top+h,k=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(d);k=e.textAlign,x=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(d);k=e.textAlign,x=e.x}else if("x"===t){if("center"===r)w=(e.top+e.bottom)/2+f;else if(yl(r)){const e=Object.keys(r)[0],t=r[e];w=this.chart.scales[e].getPixelForValue(t)+f}k=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)x=(e.left+e.right)/2-f;else if(yl(r)){const e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)}k=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===s?O="top":"end"===s&&(O="bottom"));const E=this._getLabelSizes();for(g=0,y=i.length;g<y;++g){v=i[g],b=v.label;const e=a.setContext(this.getContext(g));_=this.getPixelForTick(g)+a.labelOffset,j=this._resolveTickFontOptions(g),S=j.lineHeight,M=gl(b)?b.length:1;const t=M/2,n=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let d,f=k;if(o?(x=_,"inner"===k&&(f=g===y-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),D="top"===r?"near"===l||0!==p?-M*S+S/2:"center"===l?-E.highest.height/2-t*S+S:-E.highest.height+S/2:"near"===l||0!==p?S/2:"center"===l?E.highest.height/2-t*S:E.highest.height-M*S,u&&(D*=-1),0===p||e.showLabelBackdrop||(x+=S/2*Math.sin(p))):(w=_,D=(1-M)*S/2),e.showLabelBackdrop){const t=au(e.backdropPadding),n=E.heights[g],r=E.widths[g];let a=D-t.top,o=0-t.left;switch(O){case"middle":a-=n/2;break;case"bottom":a-=n}switch(k){case"center":o-=r/2;break;case"right":o-=r;break;case"inner":g===y-1?o-=r:g>0&&(o-=r/2)}d={left:o,top:a,width:r+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:b,font:j,textOffset:D,options:{rotation:p,color:n,strokeColor:s,strokeWidth:c,textAlign:f,textBaseline:O,translation:[x,w],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-Gl(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:r,padding:a}}=this.options,o=e+a,i=this._getLabelSizes().widest.width;let s,l;return"left"===t?r?(l=this.right+a,"near"===n?s="left":"center"===n?(s="center",l+=i/2):(s="right",l+=i)):(l=this.right-o,"near"===n?s="right":"center"===n?(s="center",l-=i/2):(s="left",l=this.left)):"right"===t?r?(l=this.left+a,"near"===n?s="right":"center"===n?(s="center",l-=i/2):(s="left",l-=i)):(l=this.left+o,"near"===n?s="left":"center"===n?(s="center",l+=i/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:r,width:a,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,a,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));if(n>=0){return t.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let a,o;const i=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(a=0,o=r.length;a<o;++a){const e=r[a];t.drawOnChartArea&&i({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&i({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:n,grid:r}}=this,a=n.setContext(this.getContext()),o=n.display?a.width:0;if(!o)return;const i=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=Yc(e,this.left,o)-o/2,c=Yc(e,this.right,i)+i/2,u=d=s):(u=Yc(e,this.top,o)-o/2,d=Yc(e,this.bottom,i)+i/2,l=c=s),t.save(),t.lineWidth=a.width,t.strokeStyle=a.color,t.beginPath(),t.moveTo(l,u),t.lineTo(c,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&Vc(t,n);const r=this.getLabelItems(e);for(const a of r){const e=a.options,n=a.font;Zc(t,a.label,0,a.textOffset,n,e)}n&&Uc(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;const a=ou(n.font),o=au(n.padding),i=n.align;let s=a.lineHeight/2;"bottom"===t||"center"===t||yl(t)?(s+=o.bottom,gl(n.text)&&(s+=a.lineHeight*(n.text.length-1))):s+=o.top;const{titleX:l,titleY:c,maxWidth:u,rotation:d}=function(e,t,n,r){const{top:a,left:o,bottom:i,right:s,chart:l}=e,{chartArea:c,scales:u}=l;let d,f,h,p=0;const m=i-a,g=s-o;if(e.isHorizontal()){if(f=gc(r,o,s),yl(n)){const e=Object.keys(n)[0],r=n[e];h=u[e].getPixelForValue(r)+m-t}else h="center"===n?(c.bottom+c.top)/2+m-t:lf(e,n,t);d=s-o}else{if(yl(n)){const e=Object.keys(n)[0],r=n[e];f=u[e].getPixelForValue(r)-g+t}else f="center"===n?(c.left+c.right)/2-g+t:lf(e,n,t);h=gc(r,i,a),p="left"===n?-Hl:Hl}return{titleX:f,titleY:h,maxWidth:d,rotation:p}}(this,s,t,i);Zc(e,n.text,0,0,a,{color:n.color,maxWidth:u,rotation:d,textAlign:pf(i,t,r),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=xl(e.grid&&e.grid.z,-1),r=xl(e.border&&e.border.z,0);return this._isVisible()&&this.draw===mf.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let a,o;for(a=0,o=t.length;a<o;++a){const o=t[a];o[n]!==this.id||e&&o.type!==e||r.push(o)}return r}_resolveTickFontOptions(e){return ou(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class gf{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const r=this.items,a=e.id,o=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+e);return a in r||(r[a]=e,function(e,t,n){const r=Ol(Object.create(null),[n?Lc.get(n):{},Lc.get(t),e.defaults]);Lc.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((n=>{const r=n.split("."),a=r.pop(),o=[e].concat(r).join("."),i=t[n].split("."),s=i.pop(),l=i.join(".");Lc.route(o,a,l,s)}))}(t,e.defaultRoutes);e.descriptors&&Lc.describe(t,e.descriptors)}(e,o,n),this.override&&Lc.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in Lc[r]&&(delete Lc[r][n],this.override&&delete Tc[n])}}class yf{constructor(){this.controllers=new gf(gd,"datasets",!0),this.elements=new gf(af,"elements"),this.plugins=new gf(Object,"plugins"),this.scales=new gf(mf,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t)}remove(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t)}addControllers(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.controllers)}addElements(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.elements)}addPlugins(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.plugins)}addScales(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("register",t,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.controllers)}removeElements(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.elements)}removePlugins(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.plugins)}removeScales(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._each("unregister",t,this.scales)}_each(e,t,n){[...t].forEach((t=>{const r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):_l(t,(t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)}))}))}_exec(e,t,n){const r=Cl(e);kl(n["before"+r],[],n),t[e](n),kl(n["after"+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}var vf=new yf;class bf{constructor(){this._init=[]}notify(e,t,n,r){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const a=r?this._descriptors(e).filter(r):this._descriptors(e),o=this._notify(a,e,t,n);return"afterDestroy"===t&&(this._notify(a,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,n,r){r=r||{};for(const a of e){const e=a.plugin;if(!1===kl(e[n],[t,r,a.options],e)&&r.cancelable)return!1}return!0}invalidate(){ml(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,r=xl(n.options&&n.options.plugins,{}),a=function(e){const t={},n=[],r=Object.keys(vf.plugins.items);for(let o=0;o<r.length;o++)n.push(vf.getPlugin(r[o]));const a=e.plugins||[];for(let o=0;o<a.length;o++){const e=a[o];-1===n.indexOf(e)&&(n.push(e),t[e.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==r||t?function(e,t,n,r){let{plugins:a,localIds:o}=t;const i=[],s=e.getContext();for(const l of a){const t=l.id,a=xf(n[t],r);null!==a&&i.push({plugin:l,options:wf(e.config,{plugin:l,local:o[t]},a,s)})}return i}(e,a,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function xf(e,t){return t||!1!==e?!0===e?{}:e:null}function wf(e,t,n,r){let{plugin:a,local:o}=t;const i=e.pluginScopeKeys(a),s=e.getOptionScopes(n,i);return o&&a.defaults&&s.push(a.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function kf(e,t){const n=Lc.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function _f(e){if("x"===e||"y"===e||"r"===e)return e}function jf(e){if(_f(e))return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(const o of n){const t=o.axis||("top"===(a=o.position)||"bottom"===a?"x":"left"===a||"right"===a?"y":void 0)||e.length>1&&_f(e[0].toLowerCase());if(t)return t}var a;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Sf(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Mf(e,t){const n=Tc[e.type]||{scales:{}},r=t.scales||{},a=kf(e.type,t),o=Object.create(null);return Object.keys(r).forEach((t=>{const i=r[t];if(!yl(i))return console.error(`Invalid scale configuration for scale: ${t}`);if(i._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const s=jf(t,i,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(n.length)return Sf(e,"x",n[0])||Sf(e,"y",n[0])}return{}}(t,e),Lc.scales[i.type]),l=function(e,t){return e===t?"_index_":"_value_"}(s,a),c=n.scales||{};o[t]=El(Object.create(null),[{axis:s},i,c[s],c[l]])})),e.data.datasets.forEach((n=>{const a=n.type||e.type,i=n.indexAxis||kf(a,t),s=(Tc[a]||{}).scales||{};Object.keys(s).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,i),a=n[t+"AxisID"]||t;o[a]=o[a]||Object.create(null),El(o[a],[{axis:t},r[a],s[e]])}))})),Object.keys(o).forEach((e=>{const t=o[e];El(t,[Lc.scales[t.type],Lc.scale])})),o}function Df(e){const t=e.options||(e.options={});t.plugins=xl(t.plugins,{}),t.scales=Mf(e,t)}function Of(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Ef=new Map,Nf=new Set;function Pf(e,t){let n=Ef.get(e);return n||(n=t(),Ef.set(e,n),Nf.add(n)),n}const Tf=(e,t,n)=>{const r=Tl(t,n);void 0!==r&&e.add(r)};class Cf{constructor(e){this._config=function(e){return(e=e||{}).data=Of(e.data),Df(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Of(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Df(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Pf(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Pf(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Pf(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Pf(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:r,type:a}=this,o=this._cachedScopes(e,n),i=o.get(t);if(i)return i;const s=new Set;t.forEach((t=>{e&&(s.add(e),t.forEach((t=>Tf(s,e,t)))),t.forEach((e=>Tf(s,r,e))),t.forEach((e=>Tf(s,Tc[a]||{},e))),t.forEach((e=>Tf(s,Lc,e))),t.forEach((e=>Tf(s,Cc,e)))}));const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),Nf.has(t)&&o.set(t,l),l}chartOptionScopes(){const{options:e,type:t}=this;return[e,Tc[t]||{},Lc.datasets[t]||{},{type:t},Lc,Cc]}resolveNamedOptions(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[""];const a={$shared:!0},{resolver:o,subPrefixes:i}=If(this._resolverCache,e,r);let s=o;if(function(e,t){const{isScriptable:n,isIndexable:r}=uu(e);for(const a of t){const t=n(a),o=r(a),i=(o||t)&&e[a];if(t&&(Rl(i)||Rf(i))||o&&gl(i))return!0}return!1}(o,t)){a.$shared=!1;s=cu(o,n=Rl(n)?n():n,this.createResolver(e,n,i))}for(const l of t)a[l]=s[l];return a}createResolver(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0;const{resolver:a}=If(this._resolverCache,e,n);return yl(t)?cu(a,t,void 0,r):a}}function If(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const a=n.join();let o=r.get(a);if(!o){o={resolver:lu(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},r.set(a,o)}return o}const Rf=e=>yl(e)&&Object.getOwnPropertyNames(e).some((t=>Rl(e[t])));const Ff=["top","bottom","left","right","chartArea"];function Lf(e,t){return"top"===e||"bottom"===e||-1===Ff.indexOf(e)&&"x"===t}function Af(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Yf(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),kl(n&&n.onComplete,[e],t)}function zf(e){const t=e.chart,n=t.options.animation;kl(n&&n.onProgress,[e],t)}function Wf(e){return Ou()&&"string"===typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Hf={},Bf=e=>{const t=Wf(e);return Object.values(Hf).filter((e=>e.canvas===t)).pop()};function Vf(e,t,n){const r=Object.keys(e);for(const a of r){const r=+a;if(r>=t){const o=e[a];delete e[a],(n>0||r>t)&&(e[r+n]=o)}}}function Uf(e,t,n){return e.options.clip?e[n]:t[n]}class $f{static defaults=(()=>Lc)();static instances=(()=>Hf)();static overrides=(()=>Tc)();static registry=(()=>vf)();static version="4.4.5";static getChart=(()=>Bf)();static register(){vf.add(...arguments),qf()}static unregister(){vf.remove(...arguments),qf()}constructor(e,t){const n=this.config=new Cf(t),r=Wf(e),a=Bf(r);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!Ou()||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?Hd:rf}(r)),this.platform.updateConfig(n);const i=this.platform.acquireContext(r,o.aspectRatio),s=i&&i.canvas,l=s&&s.height,c=s&&s.width;this.id=pl(),this.ctx=i,this.canvas=s,this.width=c,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bf,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return t?(clearTimeout(n),n=setTimeout(e,t,a)):e.apply(this,a),t}}((e=>this.update(e)),o.resizeDelay||0),this._dataChanges=[],Hf[this.id]=this,i&&s?(ed.listen(this,"complete",Yf),ed.listen(this,"progress",zf),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:a}=this;return ml(e)?t&&a?a:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return vf}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Lu(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return zc(this.canvas,this.ctx),this}stop(){return ed.stop(this),this}resize(e,t){ed.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,r=this.canvas,a=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,e,t,a),i=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Lu(this,i,!0)&&(this.notifyPlugins("resize",{size:o}),kl(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){_l(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let a=[];t&&(a=a.concat(Object.keys(t).map((e=>{const n=t[e],r=jf(e,n),a="r"===r,o="x"===r;return{options:n,dposition:a?"chartArea":o?"bottom":"left",dtype:a?"radialLinear":o?"category":"linear"}})))),_l(a,(t=>{const a=t.options,o=a.id,i=jf(o,a),s=xl(a.type,t.dtype);void 0!==a.position&&Lf(a.position,i)===Lf(t.dposition)||(a.position=t.dposition),r[o]=!0;let l=null;if(o in n&&n[o].type===s)l=n[o];else{l=new(vf.getScale(s))({id:o,type:s,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(a,e)})),_l(r,((e,t)=>{e||delete n[t]})),_l(n,(e=>{zd.configure(this,e,e.options),zd.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(Af("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){const r=t[n];let a=this.getDatasetMeta(n);const o=r.type||this.config.type;if(a.type&&a.type!==o&&(this._destroyDatasetMeta(n),a=this.getDatasetMeta(n)),a.type=o,a.indexAxis=r.indexAxis||kf(o,this.options),a.order=r.order||0,a.index=n,a.label=""+r.label,a.visible=this.isDatasetVisible(n),a.controller)a.controller.updateIndex(n),a.controller.linkScales();else{const t=vf.getController(o),{datasetElementType:r,dataElementType:i}=Lc.datasets[o];Object.assign(t,{dataElementType:vf.getElement(i),datasetElementType:r&&vf.getElement(r)}),a.controller=new t(this,n),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){_l(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let l=0,c=this.data.datasets.length;l<c;l++){const{controller:e}=this.getDatasetMeta(l),t=!r&&-1===a.indexOf(e);e.buildOrUpdateElements(t),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||_l(a,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Af("z","_idx"));const{_active:i,_lastEvent:s}=this;s?this._eventHandler(s,!0):i.length&&this._updateHoverStyles(i,i,!0),this.render()}_updateScales(){_l(this.scales,(e=>{zd.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);Fl(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:a}of t){Vf(e,r,"_removeElements"===n?-a:a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),r=n(0);for(let a=1;a<t;a++)if(!Fl(r,n(a)))return;return Array.from(r).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;zd.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],_l(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,Rl(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(ed.has(this)?this.attached&&!ed.running(this)&&ed.start(this):(this.draw(),Yf({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let r,a;for(r=0,a=t.length;r<a;++r){const a=t[r];e&&!a.visible||n.push(a)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,r=!n.disabled,a=function(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Uf(n,t,"left"),right:Uf(n,t,"right"),top:Uf(r,t,"top"),bottom:Uf(r,t,"bottom")}:t}(e,this.chartArea),o={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&Vc(t,{left:!1===n.left?0:a.left-n.left,right:!1===n.right?this.width:a.right+n.right,top:!1===n.top?0:a.top-n.top,bottom:!1===n.bottom?this.height:a.bottom+n.bottom}),e.controller.draw(),r&&Uc(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return Bc(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){const a=Dd.modes[t];return"function"===typeof a?a(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter((e=>e&&e._dataset===t)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=su(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"===typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const r=n?"show":"hide",a=this.getDatasetMeta(e),o=a.controller._resolveAnimations(void 0,r);Il(t)?(a.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),o.update(a,{visible:n}),this.update((t=>t.datasetIndex===e?r:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),ed.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),zc(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Hf[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(){return this.canvas.toDataURL(...arguments)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};_l(this.options.events,(e=>n(e,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},a=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const i=()=>{r("attach",i),this.attached=!0,this.resize(),n("resize",a),n("detach",o)};o=()=>{this.attached=!1,r("resize",a),this._stop(),this._resize(0,0),n("attach",i)},t.isAttached(this.canvas)?i():o()}unbindEvents(){_l(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},_l(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let a,o,i,s;for("dataset"===t&&(a=this.getDatasetMeta(e[0].datasetIndex),a.controller["_"+r+"DatasetHoverStyle"]()),i=0,s=e.length;i<s;++i){o=e[i];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map((e=>{let{datasetIndex:t,index:n}=e;const r=this.getDatasetMeta(t);if(!r)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:r.data[n],index:n}}));!jl(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const r=this.options.hover,a=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=a(t,e),i=n?e:a(e,t);o.length&&this.updateHoverStyle(o,r.mode,!1),i.length&&r.mode&&this.updateHoverStyle(i,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const a=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(a||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:r=[],options:a}=this,o=t,i=this._getActiveElements(e,r,n,o),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,kl(a.onHover,[e,i,this],this),s&&kl(a.onClick,[e,i,this],this));const c=!jl(i,r);return(c||t)&&(this._active=i,this._updateHoverStyles(i,r,t)),this._lastEvent=l,c}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const a=this.options.hover;return this.getElementsAtEventForMode(e,a.mode,a,r)}}function qf(){return _l($f.instances,(e=>e._plugins.invalidate()))}function Qf(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;e.lineCap=xl(n.borderCapStyle,t.borderCapStyle),e.setLineDash(xl(n.borderDash,t.borderDash)),e.lineDashOffset=xl(n.borderDashOffset,t.borderDashOffset),e.lineJoin=xl(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=xl(n.borderWidth,t.borderWidth),e.strokeStyle=xl(n.borderColor,t.borderColor)}function Kf(e,t,n){e.lineTo(n.x,n.y)}function Zf(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=e.length,{start:a=0,end:o=r-1}=n,{start:i,end:s}=t,l=Math.max(a,i),c=Math.min(o,s),u=a<i&&o<i||a>s&&o>s;return{count:r,start:l,loop:t.loop,ilen:c<l&&!u?r+c-l:c-l}}function Gf(e,t,n,r){const{points:a,options:o}=t,{count:i,start:s,loop:l,ilen:c}=Zf(a,n,r),u=function(e){return e.stepped?$c:e.tension||"monotone"===e.cubicInterpolationMode?qc:Kf}(o);let d,f,h,{move:p=!0,reverse:m}=r||{};for(d=0;d<=c;++d)f=a[(s+(m?c-d:d))%i],f.skip||(p?(e.moveTo(f.x,f.y),p=!1):u(e,h,f,m,o.stepped),h=f);return l&&(f=a[(s+(m?c:0))%i],u(e,h,f,m,o.stepped)),!!l}function Xf(e,t,n,r){const a=t.points,{count:o,start:i,ilen:s}=Zf(a,n,r),{move:l=!0,reverse:c}=r||{};let u,d,f,h,p,m,g=0,y=0;const v=e=>(i+(c?s-e:e))%o,b=()=>{h!==p&&(e.lineTo(g,p),e.lineTo(g,h),e.lineTo(g,m))};for(l&&(d=a[v(0)],e.moveTo(d.x,d.y)),u=0;u<=s;++u){if(d=a[v(u)],d.skip)continue;const t=d.x,n=d.y,r=0|t;r===f?(n<h?h=n:n>p&&(p=n),g=(y*g+t)/++y):(b(),e.lineTo(t,n),f=r,y=0,h=p=n),m=n}b()}function Jf(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&"monotone"!==t.cubicInterpolationMode&&!t.stepped&&!n?Xf:Gf}const eh="function"===typeof Path2D;function th(e,t,n,r){eh&&!t.options.segment?function(e,t,n,r){let a=t._path;a||(a=t._path=new Path2D,t.path(a,n,r)&&a.closePath()),Qf(e,t.options),e.stroke(a)}(e,t,n,r):function(e,t,n,r){const{segments:a,options:o}=t,i=Jf(t);for(const s of a)Qf(e,o,s.style),e.beginPath(),i(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}(e,t,n,r)}class nh extends af{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;Du(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const n=e.points,r=e.options.spanGaps,a=n.length;if(!a)return[];const o=!!e._loop,{start:i,end:s}=function(e,t,n,r){let a=0,o=t-1;if(n&&!r)for(;a<t&&!e[a].skip;)a++;for(;a<t&&e[a].skip;)a++;for(a%=t,n&&(o+=a);o>a&&e[o%t].skip;)o--;return o%=t,{start:a,end:o}}(n,a,o,r);return Zu(e,!0===r?[{start:i,end:s,loop:o}]:function(e,t,n,r){const a=e.length,o=[];let i,s=t,l=e[t];for(i=t+1;i<=n;++i){const n=e[i%a];n.skip||n.stop?l.skip||(r=!1,o.push({start:t%a,end:(i-1)%a,loop:r}),t=s=n.stop?i:null):(s=i,l.skip&&(t=i)),l=n}return null!==s&&o.push({start:t%a,end:s%a,loop:r}),o}(n,i,s<i?s+a:s,!!e._fullLoop&&0===i&&s===a-1),n,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){const n=this.options,r=e[t],a=this.points,o=Ku(this,{property:t,start:r,end:r});if(!o.length)return;const i=[],s=function(e){return e.stepped?Wu:e.tension||"monotone"===e.cubicInterpolationMode?Hu:zu}(n);let l,c;for(l=0,c=o.length;l<c;++l){const{start:c,end:u}=o[l],d=a[c],f=a[u];if(d===f){i.push(d);continue}const h=s(d,f,Math.abs((r-d[t])/(f[t]-d[t])),n.stepped);h[t]=e[t],i.push(h)}return 1===i.length?i[0]:i}pathSegment(e,t,n){return Jf(this)(e,this,t,n)}path(e,t,n){const r=this.segments,a=Jf(this);let o=this._loop;t=t||0,n=n||this.points.length-t;for(const i of r)o&=a(e,this,i,{start:t,end:t+n-1});return!!o}draw(e,t,n,r){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(e.save(),th(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function rh(e,t,n,r){const a=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)<a.radius+a.hitRadius}class ah extends af{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.options,{x:a,y:o}=this.getProps(["x","y"],n);return Math.pow(e-a,2)+Math.pow(t-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return rh(this,e,"x",t)}inYRange(e,t){return rh(this,e,"y",t)}getCenterPoint(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const n=this.options;this.skip||n.radius<.1||!Bc(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,Wc(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}const oh=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class ih extends af{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=kl(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,r=ou(n.font),a=r.size,o=this._computeTitleHeight(),{boxWidth:i,itemHeight:s}=oh(n,a);let l,c;t.font=r.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(o,a,i,s)+10):(c=this.maxHeight,l=this._fitCols(o,r,i,s)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:a,maxWidth:o,options:{labels:{padding:i}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+i;let u=e;a.textAlign="left",a.textBaseline="middle";let d=-1,f=-c;return this.legendItems.forEach(((e,h)=>{const p=n+t/2+a.measureText(e.text).width;(0===h||l[l.length-1]+p+2*i>o)&&(u+=c,l[l.length-(h>0?0:1)]=0,f+=c,d++),s[h]={left:0,top:f,row:d,width:p,height:r},l[l.length-1]+=p+i})),u}_fitCols(e,t,n,r){const{ctx:a,maxHeight:o,options:{labels:{padding:i}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-e;let u=i,d=0,f=0,h=0,p=0;return this.legendItems.forEach(((e,o)=>{const{itemWidth:m,itemHeight:g}=function(e,t,n,r,a){const o=function(e,t,n,r){let a=e.text;a&&"string"!==typeof a&&(a=a.reduce(((e,t)=>e.length>t.length?e:t)));return t+n.size/2+r.measureText(a).width}(r,e,t,n),i=function(e,t,n){let r=e;"string"!==typeof t.text&&(r=sh(t,n));return r}(a,r,t.lineHeight);return{itemWidth:o,itemHeight:i}}(n,t,a,e,r);o>0&&f+g+2*i>c&&(u+=d+i,l.push({width:d,height:f}),h+=d+i,p++,d=f=0),s[o]={left:h,top:f,col:p,width:m,height:g},d=Math.max(d,m),f+=g+i})),u+=d,l.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:a}}=this,o=Bu(a,this.left,this.width);if(this.isHorizontal()){let a=0,i=gc(n,this.left+r,this.right-this.lineWidths[a]);for(const s of t)a!==s.row&&(a=s.row,i=gc(n,this.left+r,this.right-this.lineWidths[a])),s.top+=this.top+e+r,s.left=o.leftForLtr(o.x(i),s.width),i+=s.width+r}else{let a=0,i=gc(n,this.top+e+r,this.bottom-this.columnSizes[a].height);for(const s of t)s.col!==a&&(a=s.col,i=gc(n,this.top+e+r,this.bottom-this.columnSizes[a].height)),s.top=i,s.left+=this.left+r,s.left=o.leftForLtr(o.x(s.left),s.width),i+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Vc(e,this),this._draw(),Uc(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:a,labels:o}=e,i=Lc.color,s=Bu(e.rtl,this.left,this.width),l=ou(o.font),{padding:c}=o,u=l.size,d=u/2;let f;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:h,boxHeight:p,itemHeight:m}=oh(o,u),g=this.isHorizontal(),y=this._computeTitleHeight();f=g?{x:gc(a,this.left+c,this.right-n[0]),y:this.top+c+y,line:0}:{x:this.left+c,y:gc(a,this.top+y+c,this.bottom-t[0].height),line:0},Vu(this.ctx,e.textDirection);const v=m+c;this.legendItems.forEach(((b,x)=>{r.strokeStyle=b.fontColor,r.fillStyle=b.fontColor;const w=r.measureText(b.text).width,k=s.textAlign(b.textAlign||(b.textAlign=o.textAlign)),_=h+d+w;let j=f.x,S=f.y;s.setWidth(this.width),g?x>0&&j+_+c>this.right&&(S=f.y+=v,f.line++,j=f.x=gc(a,this.left+c,this.right-n[f.line])):x>0&&S+v>this.bottom&&(j=f.x=j+t[f.line].width+c,f.line++,S=f.y=gc(a,this.top+y+c,this.bottom-t[f.line].height));if(function(e,t,n){if(isNaN(h)||h<=0||isNaN(p)||p<0)return;r.save();const a=xl(n.lineWidth,1);if(r.fillStyle=xl(n.fillStyle,i),r.lineCap=xl(n.lineCap,"butt"),r.lineDashOffset=xl(n.lineDashOffset,0),r.lineJoin=xl(n.lineJoin,"miter"),r.lineWidth=a,r.strokeStyle=xl(n.strokeStyle,i),r.setLineDash(xl(n.lineDash,[])),o.usePointStyle){const i={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:a},l=s.xPlus(e,h/2);Hc(r,i,l,t+d,o.pointStyleWidth&&h)}else{const o=t+Math.max((u-p)/2,0),i=s.leftForLtr(e,h),l=ru(n.borderRadius);r.beginPath(),Object.values(l).some((e=>0!==e))?Gc(r,{x:i,y:o,w:h,h:p,radius:l}):r.rect(i,o,h,p),r.fill(),0!==a&&r.stroke()}r.restore()}(s.x(j),S,b),j=((e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t)(k,j+h+d,g?j+_:this.right,e.rtl),function(e,t,n){Zc(r,n.text,e,t+m/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(j),S,b),g)f.x+=_+c;else if("string"!==typeof b.text){const e=l.lineHeight;f.y+=sh(b,e)+c}else f.y+=v})),Uu(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=ou(t.font),r=au(t.padding);if(!t.display)return;const a=Bu(e.rtl,this.left,this.width),o=this.ctx,i=t.position,s=n.size/2,l=r.top+s;let c,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+l,u=gc(e.align,u,this.right-d);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=l+gc(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=gc(i,u,u+d);o.textAlign=a.textAlign(mc(i)),o.textBaseline="middle",o.strokeStyle=t.color,o.fillStyle=t.color,o.font=n.string,Zc(o,t.text,f,c,n)}_computeTitleHeight(){const e=this.options.title,t=ou(e.font),n=au(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,a;if(ic(e,this.left,this.right)&&ic(t,this.top,this.bottom))for(a=this.legendHitBoxes,n=0;n<a.length;++n)if(r=a[n],ic(e,r.left,r.left+r.width)&&ic(t,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const o=this._hoveredItem,i=(a=n,null!==(r=o)&&null!==a&&r.datasetIndex===a.datasetIndex&&r.index===a.index);o&&!i&&kl(t.onLeave,[e,o,this],this),this._hoveredItem=n,n&&!i&&kl(t.onHover,[e,n,this],this)}else n&&kl(t.onClick,[e,n,this],this);var r,a}}function sh(e,t){return t*(e.text?e.text.length:0)}var lh={id:"legend",_element:ih,start(e,t,n){const r=e.legend=new ih({ctx:e.ctx,options:n,chart:e});zd.configure(e,r,n),zd.addBox(e,r)},stop(e){zd.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;zd.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,a=n.chart;a.isDatasetVisible(r)?(a.hide(r),t.hidden=!0):(a.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:a,color:o,useBorderRadius:i,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const l=e.controller.getStyle(n?0:void 0),c=au(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:r||l.pointStyle,rotation:l.rotation,textAlign:a||l.textAlign,borderRadius:i&&(s||l.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class ch extends af{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=gl(n.text)?n.text.length:1;this._padding=au(n.padding);const a=r*ou(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:r,right:a,options:o}=this,i=o.align;let s,l,c,u=0;return this.isHorizontal()?(l=gc(i,n,a),c=t+e,s=a-n):("left"===o.position?(l=n+e,c=gc(i,r,t),u=-.5*Ll):(l=a-e,c=gc(i,t,r),u=.5*Ll),s=r-t),{titleX:l,titleY:c,maxWidth:s,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=ou(t.font),r=n.lineHeight/2+this._padding.top,{titleX:a,titleY:o,maxWidth:i,rotation:s}=this._drawArgs(r);Zc(e,t.text,0,0,n,{color:t.color,maxWidth:i,rotation:s,textAlign:mc(t.align),textBaseline:"middle",translation:[a,o]})}}var uh={id:"title",_element:ch,start(e,t,n){!function(e,t){const n=new ch({ctx:e.ctx,options:t,chart:e});zd.configure(e,n,t),zd.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;zd.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;zd.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const dh={average(e){if(!e.length)return!1;let t,n,r=new Set,a=0,o=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r.add(e.x),a+=e.y,++o}}if(0===o||0===r.size)return!1;return{x:[...r].reduce(((e,t)=>e+t))/r.size,y:a/o}},nearest(e,t){if(!e.length)return!1;let n,r,a,o=t.x,i=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){const r=e[n].element;if(r&&r.hasValue()){const e=tc(t,r.getCenterPoint());e<s&&(s=e,a=r)}}if(a){const e=a.tooltipPosition();o=e.x,i=e.y}return{x:o,y:i}}};function fh(e,t){return t&&(gl(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function hh(e){return("string"===typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function ph(e,t){const{element:n,datasetIndex:r,index:a}=t,o=e.getDatasetMeta(r).controller,{label:i,value:s}=o.getLabelAndValue(a);return{chart:e,label:i,parsed:o.getParsed(a),raw:e.data.datasets[r].data[a],formattedValue:s,dataset:o.getDataset(),dataIndex:a,datasetIndex:r,element:n}}function mh(e,t){const n=e.chart.ctx,{body:r,footer:a,title:o}=e,{boxWidth:i,boxHeight:s}=t,l=ou(t.bodyFont),c=ou(t.titleFont),u=ou(t.footerFont),d=o.length,f=a.length,h=r.length,p=au(t.padding);let m=p.height,g=0,y=r.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(y+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),y){m+=h*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(y-h)*l.lineHeight+(y-1)*t.bodySpacing}f&&(m+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0;const b=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=c.string,_l(e.title,b),n.font=l.string,_l(e.beforeBody.concat(e.afterBody),b),v=t.displayColors?i+2+t.boxPadding:0,_l(r,(e=>{_l(e.before,b),_l(e.lines,b),_l(e.after,b)})),v=0,n.font=u.string,_l(e.footer,b),n.restore(),g+=p.width,{width:g,height:m}}function gh(e,t,n,r){const{x:a,width:o}=n,{width:i,chartArea:{left:s,right:l}}=e;let c="center";return"center"===r?c=a<=(s+l)/2?"left":"right":a<=o/2?c="left":a>=i-o/2&&(c="right"),function(e,t,n,r){const{x:a,width:o}=r,i=n.caretSize+n.caretPadding;return"left"===e&&a+o+i>t.width||"right"===e&&a-o-i<0||void 0}(c,e,t,n)&&(c="center"),c}function yh(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||gh(e,t,n,r),yAlign:r}}function vh(e,t,n,r){const{caretSize:a,caretPadding:o,cornerRadius:i}=e,{xAlign:s,yAlign:l}=n,c=a+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=ru(i);let p=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s);const m=function(e,t,n){let{y:r,height:a}=e;return"top"===t?r+=n:r-="bottom"===t?a+n:a/2,r}(t,l,c);return"center"===l?"left"===s?p+=c:"right"===s&&(p-=c):"left"===s?p-=Math.max(u,f)+a:"right"===s&&(p+=Math.max(d,h)+a),{x:oc(p,0,r.width-t.width),y:oc(m,0,r.height-t.height)}}function bh(e,t,n){const r=au(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function xh(e){return fh([],hh(e))}function wh(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const kh={beforeTitle:hl,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:hl,beforeBody:hl,beforeLabel:hl,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ml(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:hl,afterBody:hl,beforeFooter:hl,footer:hl,afterFooter:hl};function _h(e,t,n,r){const a=e[t].call(n,r);return"undefined"===typeof a?kh[t].call(n,r):a}class jh extends af{static positioners=(()=>dh)();constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,a=new ad(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,su(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}getTitle(e,t){const{callbacks:n}=t,r=_h(n,"beforeTitle",this,e),a=_h(n,"title",this,e),o=_h(n,"afterTitle",this,e);let i=[];return i=fh(i,hh(r)),i=fh(i,hh(a)),i=fh(i,hh(o)),i}getBeforeBody(e,t){return xh(_h(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,r=[];return _l(e,(e=>{const t={before:[],lines:[],after:[]},a=wh(n,e);fh(t.before,hh(_h(a,"beforeLabel",this,e))),fh(t.lines,_h(a,"label",this,e)),fh(t.after,hh(_h(a,"afterLabel",this,e))),r.push(t)})),r}getAfterBody(e,t){return xh(_h(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,r=_h(n,"beforeFooter",this,e),a=_h(n,"footer",this,e),o=_h(n,"afterFooter",this,e);let i=[];return i=fh(i,hh(r)),i=fh(i,hh(a)),i=fh(i,hh(o)),i}_createItems(e){const t=this._active,n=this.chart.data,r=[],a=[],o=[];let i,s,l=[];for(i=0,s=t.length;i<s;++i)l.push(ph(this.chart,t[i]));return e.filter&&(l=l.filter(((t,r,a)=>e.filter(t,r,a,n)))),e.itemSort&&(l=l.sort(((t,r)=>e.itemSort(t,r,n)))),_l(l,(t=>{const n=wh(e.callbacks,t);r.push(_h(n,"labelColor",this,t)),a.push(_h(n,"labelPointStyle",this,t)),o.push(_h(n,"labelTextColor",this,t))})),this.labelColors=r,this.labelPointStyles=a,this.labelTextColors=o,this.dataPoints=l,l}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let a,o=[];if(r.length){const e=dh[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=mh(this,n),i=Object.assign({},e,t),s=yh(this.chart,n,i),l=vh(n,i,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,a={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(a={opacity:0});this._tooltipItems=o,this.$context=void 0,a&&this._resolveAnimations().update(this,a),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const a=this.getCaretPosition(e,n,r);t.lineTo(a.x1,a.y1),t.lineTo(a.x2,a.y2),t.lineTo(a.x3,a.y3)}getCaretPosition(e,t,n){const{xAlign:r,yAlign:a}=this,{caretSize:o,cornerRadius:i}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=ru(i),{x:d,y:f}=e,{width:h,height:p}=t;let m,g,y,v,b,x;return"center"===a?(b=f+p/2,"left"===r?(m=d,g=m-o,v=b+o,x=b-o):(m=d+h,g=m+o,v=b-o,x=b+o),y=m):(g="left"===r?d+Math.max(s,c)+o:"right"===r?d+h-Math.max(l,u)-o:this.caretX,"top"===a?(v=f,b=v-o,m=g-o,y=g+o):(v=f+p,b=v+o,m=g+o,y=g-o),x=v),{x1:m,x2:g,x3:y,y1:v,y2:b,y3:x}}drawTitle(e,t,n){const r=this.title,a=r.length;let o,i,s;if(a){const l=Bu(n.rtl,this.x,this.width);for(e.x=bh(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",o=ou(n.titleFont),i=n.titleSpacing,t.fillStyle=n.titleColor,t.font=o.string,s=0;s<a;++s)t.fillText(r[s],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+i,s+1===a&&(e.y+=n.titleMarginBottom-i)}}_drawColorBox(e,t,n,r,a){const o=this.labelColors[n],i=this.labelPointStyles[n],{boxHeight:s,boxWidth:l}=a,c=ou(a.bodyFont),u=bh(this,"left",a),d=r.x(u),f=s<c.lineHeight?(c.lineHeight-s)/2:0,h=t.y+f;if(a.usePointStyle){const t={radius:Math.min(l,s)/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:1},n=r.leftForLtr(d,l)+l/2,c=h+s/2;e.strokeStyle=a.multiKeyBackground,e.fillStyle=a.multiKeyBackground,Wc(e,t,n,c),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,Wc(e,t,n,c)}else{e.lineWidth=yl(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const t=r.leftForLtr(d,l),n=r.leftForLtr(r.xPlus(d,1),l-2),i=ru(o.borderRadius);Object.values(i).some((e=>0!==e))?(e.beginPath(),e.fillStyle=a.multiKeyBackground,Gc(e,{x:t,y:h,w:l,h:s,radius:i}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),Gc(e,{x:n,y:h+1,w:l-2,h:s-2,radius:i}),e.fill()):(e.fillStyle=a.multiKeyBackground,e.fillRect(t,h,l,s),e.strokeRect(t,h,l,s),e.fillStyle=o.backgroundColor,e.fillRect(n,h+1,l-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:r}=this,{bodySpacing:a,bodyAlign:o,displayColors:i,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=ou(n.bodyFont);let d=u.lineHeight,f=0;const h=Bu(n.rtl,this.x,this.width),p=function(n){t.fillText(n,h.x(e.x+f),e.y+d/2),e.y+=d+a},m=h.textAlign(o);let g,y,v,b,x,w,k;for(t.textAlign=o,t.textBaseline="middle",t.font=u.string,e.x=bh(this,m,n),t.fillStyle=n.bodyColor,_l(this.beforeBody,p),f=i&&"right"!==m?"center"===o?l/2+c:l+2+c:0,b=0,w=r.length;b<w;++b){for(g=r[b],y=this.labelTextColors[b],t.fillStyle=y,_l(g.before,p),v=g.lines,i&&v.length&&(this._drawColorBox(t,e,b,h,n),d=Math.max(u.lineHeight,s)),x=0,k=v.length;x<k;++x)p(v[x]),d=u.lineHeight;_l(g.after,p)}f=0,d=u.lineHeight,_l(this.afterBody,p),e.y-=a}drawFooter(e,t,n){const r=this.footer,a=r.length;let o,i;if(a){const s=Bu(n.rtl,this.x,this.width);for(e.x=bh(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",o=ou(n.footerFont),t.fillStyle=n.footerColor,t.font=o.string,i=0;i<a;++i)t.fillText(r[i],s.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){const{xAlign:a,yAlign:o}=this,{x:i,y:s}=e,{width:l,height:c}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:h}=ru(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(i+u,s),"top"===o&&this.drawCaret(e,t,n,r),t.lineTo(i+l-d,s),t.quadraticCurveTo(i+l,s,i+l,s+d),"center"===o&&"right"===a&&this.drawCaret(e,t,n,r),t.lineTo(i+l,s+c-h),t.quadraticCurveTo(i+l,s+c,i+l-h,s+c),"bottom"===o&&this.drawCaret(e,t,n,r),t.lineTo(i+f,s+c),t.quadraticCurveTo(i,s+c,i,s+c-f),"center"===o&&"left"===a&&this.drawCaret(e,t,n,r),t.lineTo(i,s+u),t.quadraticCurveTo(i,s,i+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,a=n&&n.y;if(r||a){const n=dh[e.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=mh(this,e),i=Object.assign({},n,this._size),s=yh(t,e,i),l=vh(e,i,s,t);r._to===l.x&&a._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=au(t.padding),i=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&i&&(e.save(),e.globalAlpha=n,this.drawBackground(a,e,r,t),Vu(e,t.textDirection),a.y+=o.top,this.drawTitle(a,e,t),this.drawBody(a,e,t),this.drawFooter(a,e,t),Uu(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,r=e.map((e=>{let{datasetIndex:t,index:n}=e;const r=this.chart.getDatasetMeta(t);if(!r)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:r.data[n],index:n}})),a=!jl(n,r),o=this._positionChanged(r,t);(a||o)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,a=this._active||[],o=this._getActiveElements(e,a,t,n),i=this._positionChanged(o,e),s=t||!jl(o,a)||i;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){const a=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const o=this.chart.getElementsAtEventForMode(e,a.mode,a,n);return a.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:n,caretY:r,options:a}=this,o=dh[a.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}var Sh={id:"tooltip",_element:jh,positioners:dh,afterInit(e,t,n){n&&(e.tooltip=new jh({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:kh},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Mh(e,t,n,r){const a=e.indexOf(t);if(-1===a)return((e,t,n,r)=>("string"===typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r);return a!==e.lastIndexOf(t)?n:a}function Dh(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Oh extends mf{static id="category";static defaults=(()=>({ticks:{callback:Dh}}))();constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(ml(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:oc(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:Mh(n,e,xl(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let a=this.getLabels();a=0===e&&t===a.length-1?a:a.slice(e,t+1),this._valueRange=Math.max(a.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let o=e;o<=t;o++)r.push({value:o});return r}getLabelForValue(e){return Dh.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!==typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Eh(e,t){const n=[],{bounds:r,step:a,min:o,max:i,precision:s,count:l,maxTicks:c,maxDigits:u,includeBounds:d}=e,f=a||1,h=c-1,{min:p,max:m}=t,g=!ml(o),y=!ml(i),v=!ml(l),b=(m-p)/(u+1);let x,w,k,_,j=Ql((m-p)/h/f)*f;if(j<1e-14&&!g&&!y)return[{value:p},{value:m}];_=Math.ceil(m/j)-Math.floor(p/j),_>h&&(j=Ql(_*j/h/f)*f),ml(s)||(x=Math.pow(10,s),j=Math.ceil(j*x)/x),"ticks"===r?(w=Math.floor(p/j)*j,k=Math.ceil(m/j)*j):(w=p,k=m),g&&y&&a&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((i-o)/a,j/1e3)?(_=Math.round(Math.min((i-o)/j,c)),j=(i-o)/_,w=o,k=i):v?(w=g?o:w,k=y?i:k,_=l-1,j=(k-w)/_):(_=(k-w)/j,_=ql(_,Math.round(_),j/1e3)?Math.round(_):Math.ceil(_));const S=Math.max(Jl(j),Jl(w));x=Math.pow(10,ml(s)?S:s),w=Math.round(w*x)/x,k=Math.round(k*x)/x;let M=0;for(g&&(d&&w!==o?(n.push({value:o}),w<o&&M++,ql(Math.round((w+M*j)*x)/x,o,Nh(o,b,e))&&M++):w<o&&M++);M<_;++M){const e=Math.round((w+M*j)*x)/x;if(y&&e>i)break;n.push({value:e})}return y&&d&&k!==i?n.length&&ql(n[n.length-1].value,i,Nh(i,b,e))?n[n.length-1].value=i:n.push({value:i}):y&&k!==i||n.push({value:k}),n}function Nh(e,t,n){let{horizontal:r,minRotation:a}=n;const o=Gl(a),i=(r?Math.sin(o):Math.cos(o))||.001,s=.75*t*(""+e).length;return Math.min(t/i,s)}class Ph extends mf{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ml(e)||("number"===typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:a}=this;const o=e=>r=t?r:e,i=e=>a=n?a:e;if(e){const e=$l(r),t=$l(a);e<0&&t<0?i(0):e>0&&t>0&&o(0)}if(r===a){let t=0===a?1:Math.abs(.05*a);i(a+t),e||o(r-t)}this.min=r,this.max=a}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=Eh({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&Zl(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return Ec(e,this.chart.options.locale,this.options.ticks.format)}}class Th extends Ph{static id="linear";static defaults=(()=>({ticks:{callback:Pc.formatters.numeric}}))();determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=vl(e)?e:0,this.max=vl(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=Gl(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,a.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}Pc.formatters.logarithmic;Pc.formatters.numeric;const Ch={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ih=Object.keys(Ch);function Rh(e,t){return e-t}function Fh(e,t){if(ml(t))return null;const n=e._adapter,{parser:r,round:a,isoWeekday:o}=e._parseOpts;let i=t;return"function"===typeof r&&r(i),vl(i)||("string"===typeof r?n.parse(i,r):n.parse(i)),null===i?null:(a&&("week"!==a||!Kl(o)&&!0!==o?n.startOf(i,a):n.startOf(i,"isoWeek",o)),+i)}function Lh(e,t,n,r){const a=Ih.length;for(let o=Ih.indexOf(e);o<a-1;++o){const e=Ch[Ih[o]],a=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((n-t)/(a*e.size))<=r)return Ih[o]}return Ih[a-1]}function Ah(e,t,n){if(n){if(n.length){const{lo:r,hi:a}=sc(n,t);e[n[r]>=t?n[r]:n[a]]=!0}}else e[t]=!0}function Yh(e,t,n){const r=[],a={},o=t.length;let i,s;for(0;i<o;++i)t[i],a[s]=i,r.push({value:s,major:!1});return 0!==o&&n?function(e,t,n,r){const a=e._adapter,o=+a.startOf(t[0].value,r),i=t[t.length-1].value;let s,l;for(o;s<=i;+a.add(s,1,r))n[s],l>=0&&(t[l].major=!0);return t}(e,r,a,n):r}class zh extends mf{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.time||(e.time={}),r=this._adapter=new xd(e.adapters.date);r.init(t),El(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Fh(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,n=e.time.unit||"day";let{min:r,max:a,minDefined:o,maxDefined:i}=this.getUserBounds();function s(e){o||isNaN(e.min)||Math.min(r,e.min),i||isNaN(e.max)||Math.max(a,e.max)}o&&i||(s(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||s(this.getMinMax(!1))),vl(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),vl(a)&&!isNaN(a)?a:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,a-1),this.max=Math.max(r+1,a)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(e[0],e[e.length-1]),{min:t,max:n}}buildTicks(){const e=this.options,t=e.time,n=e.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const a=this.min,o=function(e,t,n){let r=0,a=e.length;for(;r<a&&e[r]<t;)0;for(;a>r&&e[a-1]>n;)0;return r>0||a<e.length?e.slice(r,a):e}(r,a,this.max);return this._unit=t.unit||(n.autoSkip?Lh(t.minUnit,this.min,this.max,this._getLabelCapacity(a)):function(e,t,n,r,a){for(let o=Ih.length-1;o>=Ih.indexOf(n);o--){const n=Ih[o];if(Ch[n].common&&e._adapter.diff(a,r,n)>=t-1)return n}return Ih[n?Ih.indexOf(n):0]}(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(e){for(let t=Ih.indexOf(e)+1,n=Ih.length;t<n;++t)if(Ch[Ih[t]].common)return Ih[t]}(this._unit):void 0,this.initOffsets(r),e.reverse&&o.reverse(),Yh(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=0,a=0;this.options.offset&&n.length&&(this.getDecimalForValue(n[0]),1===n.length?1-e:(this.getDecimalForValue(n[1])-e)/2,this.getDecimalForValue(n[n.length-1]),1===n.length?t:(t-this.getDecimalForValue(n[n.length-2]))/2);const o=n.length<3?.5:.25;oc(r,0,o),oc(a,0,o),this._offsets={start:r,end:a,factor:1/(r+1+a)}}_generate(){const e=this._adapter,t=this.min,n=this.max,r=this.options,a=r.time,o=a.unit||Lh(a.minUnit,t,n,this._getLabelCapacity(t)),i=xl(r.ticks.stepSize,1),s="week"===o&&a.isoWeekday,l=Kl(s)||!0===s,c={};let u,d,f=t;if(l&&+e.startOf(f,"isoWeek",s),+e.startOf(f,l?"day":o),e.diff(n,t,o)>1e5*i)throw new Error(t+" and "+n+" are too far apart with stepSize of "+i+" "+o);const h="data"===r.ticks.source&&this.getDataTimestamps();for(0;u<n;+e.add(u,i,o),d++)Ah(c,u,h);return u!==n&&"ticks"!==r.bounds&&1!==d||Ah(c,u,h),Object.keys(c).sort(Rh).map((e=>+e))}getLabelForValue(e){const t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){const n=this.options.time.displayFormats,r=this._unit,a=t||n[r];return this._adapter.format(e,a)}_tickFormatFunction(e,t,n,r){const a=this.options,o=a.ticks.callback;if(o)return kl(o,[e,t,n],this);const i=a.time.displayFormats,s=this._unit,l=this._majorUnit,c=s&&i[s],u=l&&i[l],d=n[t],f=l&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:c))}generateTickLabels(e){let t,n,r;for(e.length;t<n;++t)e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){const t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,n=this.ctx.measureText(e).width,r=Gl(this.isHorizontal()?t.maxRotation:t.minRotation),a=Math.cos(r),o=Math.sin(r),i=this._resolveTickFontOptions(0).size;return{w:n*a+i*o,h:n*o+i*a}}_getLabelCapacity(e){const t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,a=this._tickFormatFunction(e,0,Yh(this,[e],this._majorUnit),r),o=this._getLabelSize(a),i=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return i>0?i:1}getDataTimestamps(){let e,t,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(r.length;e<t;++e)n.concat(r[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const e=this._cache.labels||[];let t,n;if(e.length)return e;const r=this.getLabels();for(r.length;t<n;++t)e.push(Fh(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return fc(e.sort(Rh))}}const Wh="label";function Hh(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function Bh(e,t){e.labels=t}function Vh(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wh;const r=[];e.datasets=t.map((t=>{const a=e.datasets.find((e=>e[n]===t[n]));return a&&t.data&&!r.includes(a)?(r.push(a),Object.assign(a,t),a):{...t}}))}function Uh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wh;const n={labels:[],datasets:[]};return Bh(n,e.labels),Vh(n,e.datasets,t),n}function $h(e,n){const{height:r=150,width:a=300,redraw:o=!1,datasetIdKey:i,type:s,data:l,options:c,plugins:u=[],fallbackContent:d,updateMode:f,...h}=e,p=(0,t.useRef)(null),m=(0,t.useRef)(),g=()=>{p.current&&(m.current=new $f(p.current,{type:s,data:Uh(l,i),options:c&&{...c},plugins:u}),Hh(n,m.current))},y=()=>{Hh(n,null),m.current&&(m.current.destroy(),m.current=null)};return(0,t.useEffect)((()=>{!o&&m.current&&c&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(m.current,c)}),[o,c]),(0,t.useEffect)((()=>{!o&&m.current&&Bh(m.current.config.data,l.labels)}),[o,l.labels]),(0,t.useEffect)((()=>{!o&&m.current&&l.datasets&&Vh(m.current.config.data,l.datasets,i)}),[o,l.datasets]),(0,t.useEffect)((()=>{m.current&&(o?(y(),setTimeout(g)):m.current.update(f))}),[o,c,l.labels,l.datasets,f]),(0,t.useEffect)((()=>{m.current&&(y(),setTimeout(g))}),[s]),(0,t.useEffect)((()=>(g(),()=>y())),[]),t.createElement("canvas",Object.assign({ref:p,role:"img",height:r,width:a},h),d)}const qh=(0,t.forwardRef)($h);function Qh(e,n){return $f.register(n),(0,t.forwardRef)(((n,r)=>t.createElement(qh,Object.assign({},n,{ref:r,type:e}))))}const Kh=Qh("line",yd);$f.register(Oh,Th,ah,nh,uh,Sh,lh);const Zh=()=>{const[e,n]=(0,t.useState)("daily");return(0,dt.jsxs)("div",{className:"w-full p-4 md:p-6 border border-gray-300 shadow my-2",children:[(0,dt.jsxs)("div",{className:"flex justify-between mb-2 flex-wrap",children:[(0,dt.jsxs)("div",{className:"flex items-center space-x-2 flex-wrap",children:[(0,dt.jsxs)("div",{className:"flex items-center",children:[(0,dt.jsx)("span",{className:"w-3 h-3 bg-[#00AADC] rounded-full"}),(0,dt.jsx)("span",{className:"ml-1 text-sm",children:"Visits"})]}),(0,dt.jsxs)("div",{className:"flex items-center",children:[(0,dt.jsx)("span",{className:"w-3 h-3 bg-[#F39C12] rounded-full"}),(0,dt.jsx)("span",{className:"ml-1 text-sm",children:"Commissions"})]}),(0,dt.jsxs)("div",{className:"flex items-center",children:[(0,dt.jsx)("span",{className:"w-3 h-3 bg-[#26A387] rounded-full"}),(0,dt.jsx)("span",{className:"ml-1 text-sm",children:"Earnings"})]})]}),(0,dt.jsxs)("select",{value:e,onChange:e=>n(e.target.value),className:"border border-gray-300 rounded-md p-2 mt-2 w-full md:w-auto focus:outline-none focus:ring-2 focus:ring-blue-400",children:[(0,dt.jsx)("option",{value:"daily",children:"Daily"}),(0,dt.jsx)("option",{value:"weekly",children:"Weekly"}),(0,dt.jsx)("option",{value:"monthly",children:"Monthly"})]})]}),(0,dt.jsxs)("div",{className:"h-[250px] md:h-[300px]",children:[" ",(0,dt.jsx)(Kh,{data:{daily:{labels:["Day 1","Day 2","Day 3","Day 4","Day 5","Day 6","Day 7"],datasets:[{label:"Visits",data:[120,200,300,150,400,320,250],borderColor:"#00AADC",backgroundColor:"rgba(0, 170, 220, 0.2)",tension:.4,fill:!0},{label:"Commissions",data:[50,70,90,60,100,80,95],borderColor:"#F39C12",backgroundColor:"rgba(243, 156, 18, 0.2)",tension:.4,fill:!0},{label:"Earnings",data:[300,400,450,380,500,450,420],borderColor:"#26A387",backgroundColor:"rgba(38, 163, 135, 0.2)",tension:.4,fill:!0}]},weekly:{labels:["Week 1","Week 2","Week 3","Week 4"],datasets:[{label:"Visits",data:[700,1400,900,1300],borderColor:"#00AADC",backgroundColor:"rgba(0, 170, 220, 0.2)",tension:.4,fill:!0},{label:"Commissions",data:[300,450,200,500],borderColor:"#F39C12",backgroundColor:"rgba(243, 156, 18, 0.2)",tension:.4,fill:!0},{label:"Earnings",data:[1500,1800,2e3,2200],borderColor:"#26A387",backgroundColor:"rgba(38, 163, 135, 0.2)",tension:.4,fill:!0}]},monthly:{labels:["Month 1","Month 2","Month 3","Month 4"],datasets:[{label:"Visits",data:[3e3,5e3,4500,6e3],borderColor:"#00AADC",backgroundColor:"rgba(0, 170, 220, 0.2)",tension:.4,fill:!0},{label:"Commissions",data:[1e3,1200,1400,1300],borderColor:"#F39C12",backgroundColor:"rgba(243, 156, 18, 0.2)",tension:.4,fill:!0},{label:"Earnings",data:[8e3,9e3,1e4,11e3],borderColor:"#26A387",backgroundColor:"rgba(38, 163, 135, 0.2)",tension:.4,fill:!0}]}}[e],options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!0,text:"Daily, Weekly, and Monthly Records for Visits, Commissions, and Earnings",font:{size:16}}}}})]})]})};var Gh=n(1899),Xh=n.n(Gh),Jh=n(6178),ep=n.n(Jh);n(3512);const tp=()=>{const[e,n]=(0,t.useState)("Past 30 Days"),[r,a]=(0,t.useState)(ep()().subtract(30,"days").toDate()),[o,i]=(0,t.useState)(ep()().toDate()),[s,l]=(0,t.useState)(!1);ep().locale("en-gb");const c=[{name:"Past 7 Days",range:()=>({start:ep()().subtract(7,"days").toDate(),end:ep()().toDate()})},{name:"Past 30 Days",range:()=>({start:ep()().subtract(30,"days").toDate(),end:ep()().toDate()})},{name:"Week to Date",range:()=>({start:ep()().startOf("week").toDate(),end:ep()().toDate()})},{name:"Month to Date",range:()=>({start:ep()().startOf("month").toDate(),end:ep()().toDate()})},{name:"Year to Date",range:()=>({start:ep()().startOf("year").toDate(),end:ep()().toDate()})},{name:"Last Week",range:()=>({start:ep()().subtract(1,"week").startOf("week").toDate(),end:ep()().subtract(1,"week").endOf("week").toDate()})},{name:"Last Month",range:()=>({start:ep()().subtract(1,"month").startOf("month").toDate(),end:ep()().subtract(1,"month").endOf("month").toDate()})},{name:"Last Year",range:()=>({start:ep()().subtract(1,"year").startOf("year").toDate(),end:ep()().subtract(1,"year").endOf("year").toDate()})}];return(0,t.useEffect)((()=>{const{start:e,end:t}=c.find((e=>"Past 30 Days"===e.name)).range();a(e),i(t)}),[]),(0,dt.jsx)("div",{className:"my-2",children:(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsx)("button",{onClick:()=>{l(!s)},className:"border border-gray-300 rounded-md px-4 py-2 w-full md:w-auto text-sm focus:outline-none",children:e?`${e}: ${ep()(r).format("MMM D, YYYY")} - ${ep()(o).format("MMM D, YYYY")}`:"Select Filter"}),s&&(0,dt.jsxs)("div",{className:"absolute z-10 mt-2 w-full bg-white border border-gray-300 rounded-md shadow-lg flex flex-col md:flex-row",children:[(0,dt.jsx)("div",{className:"w-full md:w-1/2 border-r p-4 space-y-2",children:c.map((e=>(0,dt.jsx)("button",{onClick:()=>(e=>{n(e.name);const{start:t,end:r}=e.range();a(t),i(r),l(!1)})(e),className:"block w-full text-left p-2 hover:bg-gray-100 rounded-md",children:e.name},e.name)))}),(0,dt.jsx)("div",{className:"w-full md:w-1/2 p-4",children:(0,dt.jsx)(Xh(),{selected:r,startDate:r,endDate:o,onChange:e=>{const[t,n]=e;a(t),i(n)},selectsRange:!0,inline:!0,monthsShown:2})})]})]})})};function np(e){return We({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"},child:[]},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},child:[]}]})(e)}const rp=function(){const e=[{id:1,date:"2024-10-01",type:"Sale",amount:"$100.00",status:"Completed"},{id:2,date:"2024-10-05",type:"Refund",amount:"$50.00",status:"Refunded"},{id:3,date:"2024-10-10",type:"Sale",amount:"$200.00",status:"Pending"}];return(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsx)("div",{className:"border  w-full ",children:0===e.length?(0,dt.jsx)("p",{className:"text-gray-600 text-center",children:"You have no commissions."}):(0,dt.jsxs)("table",{className:"min-w-full bg-white border border-gray-300",children:[(0,dt.jsx)("thead",{children:(0,dt.jsxs)("tr",{className:"bg-gray-200 text-gray-600 text-left",children:[(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"ID"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Date"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Type"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Amount"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Status"})]})}),(0,dt.jsx)("tbody",{children:e.map((e=>(0,dt.jsxs)("tr",{className:"border-b hover:bg-gray-100",children:[(0,dt.jsx)("td",{className:"py-2 px-4",children:e.id}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.date}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.type}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.amount}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.status})]},e.id)))})]})})})},ap=()=>{const e=[{id:1,date:"2024-10-01",landingUrl:"https://example.com/page1",referrerUrl:"https://referrer.com/pageA"},{id:2,date:"2024-10-05",landingUrl:"https://example.com/page2",referrerUrl:"https://referrer.com/pageB"},{id:3,date:"2024-10-10",landingUrl:"https://example.com/page3",referrerUrl:"https://referrer.com/pageC"}];return(0,dt.jsx)("div",{className:"border border-gray-300 w-full",children:0===e.length?(0,dt.jsx)("p",{className:"text-gray-600 text-center",children:"You have no visits."}):(0,dt.jsxs)("table",{className:"min-w-full bg-white border border-gray-300",children:[(0,dt.jsx)("thead",{children:(0,dt.jsxs)("tr",{className:"bg-gray-200 text-gray-600 text-left",children:[(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"ID"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Date"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Landing URL"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Referrer URL"})]})}),(0,dt.jsx)("tbody",{children:e.map((e=>(0,dt.jsxs)("tr",{className:"border-b hover:bg-gray-100",children:[(0,dt.jsx)("td",{className:"py-2 px-4",children:e.id}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.date}),(0,dt.jsx)("td",{className:"py-2 px-4",children:(0,dt.jsx)("a",{href:e.landingUrl,className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:e.landingUrl})}),(0,dt.jsx)("td",{className:"py-2 px-4",children:(0,dt.jsx)("a",{href:e.referrerUrl,className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:e.referrerUrl})})]},e.id)))})]})})},op=()=>{const e=[{id:1,date:"2024-10-01",amount:"$200.00",status:"Completed"},{id:2,date:"2024-10-05",amount:"$150.00",status:"Pending"},{id:3,date:"2024-10-10",amount:"$100.00",status:"Failed"}];return(0,dt.jsx)("div",{className:"border border-gray-300  w-full",children:0===e.length?(0,dt.jsx)("p",{className:"text-gray-600 text-center",children:"You have no payouts."}):(0,dt.jsxs)("table",{className:"min-w-full bg-white border border-gray-300",children:[(0,dt.jsx)("thead",{children:(0,dt.jsxs)("tr",{className:"bg-gray-200 text-gray-600 text-left",children:[(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"ID"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Date"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Amount"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Status"}),(0,dt.jsx)("th",{className:"py-2 px-4 border-b",children:"Action"})]})}),(0,dt.jsx)("tbody",{children:e.map((e=>(0,dt.jsxs)("tr",{className:"border-b hover:bg-gray-100",children:[(0,dt.jsx)("td",{className:"py-2 px-4",children:e.id}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.date}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.amount}),(0,dt.jsx)("td",{className:"py-2 px-4",children:e.status}),(0,dt.jsx)("td",{className:"py-2 px-4",children:(0,dt.jsx)("button",{onClick:()=>{return t=e.id,void alert(`Action for payout ID: ${t}`);var t},className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"View"})})]},e.id)))})]})})},ip=()=>{const[e,n]=(0,t.useState)(""),[r,a]=(0,t.useState)("");return(0,dt.jsx)("div",{className:"border border-gray-300 p-6 w-full",children:(0,dt.jsxs)("form",{onSubmit:t=>{t.preventDefault(),console.log("Payment Email:",e),console.log("Website:",r)},children:[(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsx)("label",{htmlFor:"paymentEmail",className:"block text-sm font-medium text-gray-700 mb-1",children:"Payment Email"}),(0,dt.jsx)("input",{type:"email",id:"paymentEmail",value:e,onChange:e=>n(e.target.value),required:!0,className:"border border-gray-300 rounded-md p-2 w-full",placeholder:"Enter your payment email"})]}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsx)("label",{htmlFor:"website",className:"block text-sm font-medium text-gray-700 mb-1",children:"Website"}),(0,dt.jsx)("input",{type:"url",id:"website",value:r,onChange:e=>a(e.target.value),required:!0,className:"border border-gray-300 rounded-md p-2 w-full",placeholder:"Enter your website URL"})]}),(0,dt.jsx)("button",{type:"submit",className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"SAVE"})]})})},sp=()=>{const[e,n]=(0,t.useState)("Dashboard"),r=[{name:"Dashboard",icon:(0,dt.jsx)(rt,{})},{name:"Affiliate Links",icon:(0,dt.jsx)(it,{})},{name:"Commissions",icon:(0,dt.jsx)(et,{})},{name:"Visits",icon:(0,dt.jsx)(Ze,{})},{name:"Creatives",icon:(0,dt.jsx)(at,{})},{name:"Payouts",icon:(0,dt.jsx)(ct,{})},{name:"Settings",icon:(0,dt.jsx)(Je,{})},{name:"Logout",icon:(0,dt.jsx)(lt,{})}],a="https://example.com",o=()=>{navigator.clipboard.writeText(a).then((()=>{alert("URL copied to clipboard!")})).catch((e=>{console.error("Failed to copy: ",e)}))};return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Affiliate Account"}),(0,dt.jsx)(bt,{}),(0,dt.jsxs)("section",{className:"",children:[(0,dt.jsx)("div",{className:"w-full bg-[#F5F5F5] text-black mt-20",children:(0,dt.jsx)("div",{className:"max-w-screen-xl p-10 mx-auto",children:(0,dt.jsx)("h1",{className:"text-[20px] font-[Roboto] text-gray-800 leading-tight md:text-[20px] lg:text-[25px]",children:"Affiliate Account"})})}),(0,dt.jsxs)("div",{className:"max-w-screen-xl p-10 mx-auto",children:[(0,dt.jsx)("div",{className:"flex justify-around py-4 border-b border-gray-300",children:r.map(((t,r)=>(0,dt.jsxs)("button",{onClick:()=>n(t.name),className:"flex items-center justify-center p-2 space-x-2 transition-colors hover:bg-gray-200  text-gray-600 "+(e===t.name?"text-blue-600 font-bold border-b-2 border-gray-600":""),children:[(0,dt.jsx)("span",{className:"text-xl",children:t.icon}),(0,dt.jsx)("span",{className:"hidden sm:inline text-sm",children:t.name})]},r)))}),(0,dt.jsx)("div",{className:"p-4 bg-white",children:(()=>{switch(e){case"Dashboard":return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(tp,{}),(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",children:[(0,dt.jsxs)("div",{className:"bg-white border border-gray-300  shadow",children:[(0,dt.jsxs)("div",{className:"p-3 border-b border-gray-300",children:[(0,dt.jsx)("h2",{className:"text-md font-medium text-gray-600",children:"Visits"}),(0,dt.jsx)("p",{className:"mt-1 text-xl font-semibold text-gray-800",children:"1,245"})]}),(0,dt.jsx)("div",{className:"bg-[#F7F9FB] p-3",children:(0,dt.jsx)("a",{href:"#",onClick:()=>n("Visits"),className:"text-gray-500 text-sm underline",children:"View all visits"})})]}),(0,dt.jsxs)("div",{className:"bg-white border border-gray-300  shadow",children:[(0,dt.jsxs)("div",{className:"p-3 border-b border-gray-300",children:[(0,dt.jsx)("h2",{className:"text-md font-medium text-gray-600",children:"Commissions"}),(0,dt.jsx)("p",{className:"mt-1 text-xl font-semibold text-gray-800",children:"$3,420"})]}),(0,dt.jsx)("div",{className:"bg-[#F7F9FB] p-3",children:(0,dt.jsx)("a",{href:"#",onClick:()=>n("Commissions"),className:"text-gray-500 text-sm underline",children:"View all commissions"})})]}),(0,dt.jsxs)("div",{className:"bg-white border border-gray-300  shadow",children:[(0,dt.jsxs)("div",{className:"p-3 border-b border-gray-300",children:[(0,dt.jsx)("h2",{className:"text-md font-medium text-gray-600",children:"Earnings"}),(0,dt.jsx)("p",{className:"mt-1 text-xl font-semibold text-gray-800",children:"$12,500"})]}),(0,dt.jsx)("div",{className:"bg-[#F7F9FB] p-3",children:(0,dt.jsx)("a",{href:"#",onClick:()=>n("Commissions"),className:"text-gray-500 text-sm underline",children:"View all commissions"})})]})]}),(0,dt.jsx)(Zh,{}),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("h2",{className:"text-gray-600 my-2",children:"All time"}),(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Visits"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"$0"})]})}),(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Commissions"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"$0"})]})}),(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Paid Earnings"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"$0"})]})}),(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Unpaid Earnings"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"$0"})]})})]})]}),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("h2",{className:"text-gray-600 my-2",children:"Program Details"}),(0,dt.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4 my-2",children:[(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Commission Rate"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"Sale rate : 20%"})]})}),(0,dt.jsx)("div",{className:"bg-white border border-gray-300  shadow",children:(0,dt.jsxs)("div",{className:"py-3 px-4 border-b border-gray-300",children:[(0,dt.jsx)("span",{className:"text-xs font-sm text-gray-600",children:"Cookie Duration"}),(0,dt.jsx)("p",{className:"mt-1 text-sm pb-2 font-semibold text-gray-600",children:"30 Days"})]})})]})]})]});case"Affiliate Links":return(0,dt.jsxs)("div",{className:"",children:[(0,dt.jsxs)("div",{className:"border border-gray-300 rounded-md p-4 w-full ",children:[(0,dt.jsx)("h2",{className:"text-sm font-medium text-gray-600 mb-2",children:"Your Affiliate Link"}),(0,dt.jsx)("p",{className:"text-gray-600 mb-2 text-[10px]",children:"This is your referral URL. Share it with your audience to earn commissions."}),(0,dt.jsx)("input",{type:"text",value:a,readOnly:!0,className:"text-gray-600 border border-gray-300 rounded-md p-2 w-full mb-2"}),(0,dt.jsx)("div",{className:"flex justify-start",children:(0,dt.jsxs)("button",{onClick:o,className:"text-gray-600 flex items-center bg-[#E5E5E5] text-black rounded-md px-4 py-2 hover:bg-gray-300 focus:outline-none",children:[(0,dt.jsx)(np,{className:"mr-2"})," ","Copy"]})})]}),(0,dt.jsxs)("div",{className:"border border-gray-300 rounded-md p-4 w-full my-5 ",children:[(0,dt.jsx)("h2",{className:"text-sm font-medium text-gray-600 mb-2",children:"Generate Affiliate Link"}),(0,dt.jsx)("p",{className:"text-gray-600 mb-2 text-[10px]",children:"Add any URL from this website in the field below to generate a referral link."}),(0,dt.jsx)("input",{type:"text",placeholder:"Paste the link here",className:"text-gray-600 border border-gray-300 rounded-md p-2 w-full mb-2"}),(0,dt.jsx)("div",{className:"flex justify-start",children:(0,dt.jsx)("button",{onClick:o,className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"GENERATE"})})]})]});case"Commissions":return(0,dt.jsx)("div",{className:"",children:(0,dt.jsx)(rp,{})});case"Visits":return(0,dt.jsx)("div",{className:"",children:(0,dt.jsx)(ap,{})});case"Creatives":return(0,dt.jsx)("div",{className:"",children:"Manage your Creatives here."});case"Payouts":return(0,dt.jsx)("div",{className:"",children:(0,dt.jsx)(op,{})});case"Settings":return(0,dt.jsx)("div",{className:"",children:(0,dt.jsx)(ip,{})});case"Logout":return(0,dt.jsx)("div",{className:"",children:"You have logged out successfully."});default:return(0,dt.jsx)("div",{className:"p-4",children:"Select a tab to view content."})}})()})]})]}),(0,dt.jsx)(xt,{})]})},lp=()=>{const[e,n]=(0,t.useState)(!1),r=bs().shape({username:ss().required("Username or Email is required").test("username-or-email","Must be a valid username or email address",(function(e){return/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/.test(e)||/^[a-zA-Z0-9._-]{3,20}$/.test(e)}))}),a=e=>(0,dt.jsx)("p",{className:"italic text-[#dd1212]",children:e});return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("title",{children:"Affiliate Account"}),(0,dt.jsx)(bt,{}),(0,dt.jsxs)("div",{children:[(0,dt.jsx)("div",{className:"w-full bg-[#F5F5F5] text-black mt-20",children:(0,dt.jsx)("div",{className:"max-w-screen-xl p-10 mx-auto",children:(0,dt.jsx)("h1",{className:" text-[20px] font-[Roboto] text-gray-800 leading-tight md:text-[20px] lg:text-[25px]",children:"Affiliate Reset Password"})})}),(0,dt.jsx)(Xo,{initialValues:{username:""},enableReinitialize:!0,validationSchema:r,onSubmit:(e,t)=>{console.log("values",e)},children:e=>{let{values:t,setFieldValue:n,handleChange:r,handleBlur:o}=e;return(0,dt.jsx)(ai,{children:(0,dt.jsx)("div",{className:"w-full text-black",children:(0,dt.jsxs)("div",{className:"max-w-screen-xl p-10 mx-auto",children:[(0,dt.jsx)("span",{className:"block text-sm font-[Roboto] text-gray-800 my-4 Montserrat",children:"Lost your password? Please enter your email address. You will receive a link to create a new password via email."}),(0,dt.jsxs)("div",{className:"mb-4",children:[(0,dt.jsxs)("label",{htmlFor:"username",className:"block text-sm font-[Roboto] text-gray-800 mb-0.5",children:["Username / Email ",(0,dt.jsx)("span",{className:"text-danger",children:"*"})]}),(0,dt.jsx)("input",{type:"text",id:"username",name:"username",value:t.username,onChange:r,onBlur:o,className:"w-full p-2 border border-gray-300 rounded-sm focus:outline-none focus:ring-2 "}),(0,dt.jsx)(ui,{name:"username",render:a})]}),(0,dt.jsx)("button",{type:"submit",className:"bg-custom-gradient text-white px-4 py-2 rounded-sm hover:bg-blue-600 transition duration-200",children:"RESET PASSWORD"})]})})})}})]}),(0,dt.jsx)(xt,{})]})};const cp=function(){return(0,dt.jsx)(dt.Fragment,{children:(0,dt.jsxs)(pe,{children:[(0,dt.jsx)(fe,{path:"/",element:(0,dt.jsx)(_t,{})}),(0,dt.jsx)(fe,{path:"/dashboard",element:(0,dt.jsx)(sp,{})}),(0,dt.jsx)(fe,{path:"*",element:(0,dt.jsx)(Cs,{})}),(0,dt.jsx)(fe,{path:"/about-us",element:(0,dt.jsx)(St,{})}),(0,dt.jsx)(fe,{path:"/blog",element:(0,dt.jsx)(Et,{})}),(0,dt.jsx)(fe,{path:"/contact-us",element:(0,dt.jsx)(Nt,{})}),(0,dt.jsx)(fe,{path:"/nutrition",element:(0,dt.jsx)(Pt,{})}),(0,dt.jsx)(fe,{path:"/training",element:(0,dt.jsx)(It,{})}),(0,dt.jsx)(fe,{path:"/affiliate-account/",element:(0,dt.jsx)(js,{})}),(0,dt.jsx)(fe,{path:"/affiliate-registration/",element:(0,dt.jsx)(_s,{})}),(0,dt.jsx)(fe,{path:"/affiliate-reset-password/",element:(0,dt.jsx)(lp,{})}),(0,dt.jsx)(fe,{path:"/body-recomposition-meal-workout-plans/bodyrecomp-affiliate-marketing/:optionId?",element:(0,dt.jsx)(Ss,{})}),(0,dt.jsx)(fe,{path:"/blog/detail1",element:(0,dt.jsx)(Ds,{})}),(0,dt.jsx)(fe,{path:"/blog/detail2",element:(0,dt.jsx)(Os,{})}),(0,dt.jsx)(fe,{path:"/blog/detail3",element:(0,dt.jsx)(Es,{})}),(0,dt.jsx)(fe,{path:"/blog/detail4",element:(0,dt.jsx)(Ns,{})}),(0,dt.jsx)(fe,{path:"/blog/detail5",element:(0,dt.jsx)(Ps,{})}),(0,dt.jsx)(fe,{path:"/blog/detail6",element:(0,dt.jsx)(Ts,{})})]})})};a.createRoot(document.getElementById("root")).render((0,dt.jsx)(dt.Fragment,{children:(0,dt.jsx)(je,{children:(0,dt.jsx)(cp,{})})}))})()})();
//# sourceMappingURL=main.7c698580.js.map