scope360-core 0.0.217 → 0.0.218

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(se,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(se=typeof globalThis<"u"?globalThis:se||self,o(se.Scope360Core={},se.Vue))})(this,function(se,o){"use strict";var IH=Object.defineProperty;var HH=(se,o,us)=>o in se?IH(se,o,{enumerable:!0,configurable:!0,writable:!0,value:us}):se[o]=us;var W=(se,o,us)=>(HH(se,typeof o!="symbol"?o+"":o,us),us);var cs;const us=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Le={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>us(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>PN),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>NN),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>FN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>HN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>WN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>UN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>KN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>QN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>nB),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>iB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>lB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>uB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>mB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>_B),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>bB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>xB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>vB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>OB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>PB),"../assets/icons/chevron-large.svg":()=>Promise.resolve().then(()=>NB),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>FB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>HB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>WB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>UB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>KB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>QB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>nA),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>iA),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>lA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>uA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>mA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>_A),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>bA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>xA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>vA),"../assets/icons/currency.svg":()=>Promise.resolve().then(()=>OA),"../assets/icons/custom-filters.svg":()=>Promise.resolve().then(()=>PA),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>NA),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>FA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>HA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>WA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>UA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>KA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>QA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>nF),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>iF),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>lF),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>uF),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>mF),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>_F),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>bF),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>xF),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>vF),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>OF),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>PF),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>NF),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>FF),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>HF),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>WF),"../assets/icons/lock.svg":()=>Promise.resolve().then(()=>UF),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>KF),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>QF),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>nR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>iR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>lR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>uR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>mR),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>_R),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>bR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>xR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>vR),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>OR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>PR),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>NR),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>FR),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>HR),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>WR),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>UR),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>KR),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>QR),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>nI),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>iI),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>lI),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>uI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>mI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>_I),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>bI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>xI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>vI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>OI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>PI),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>NI),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>FI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>HI),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>WI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>UI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>KI),"../assets/icons/target.svg":()=>Promise.resolve().then(()=>QI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>nH),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>iH),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>lH),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>uH),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>mH),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>_H),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>bH),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>xH),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>vH),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>OH),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>PH),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>NH),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>FH)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},Oe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},b5=["disabled"],k5={key:1},ya=Oe({__name:"Button",props:{size:{type:String,default:"md"},view:{type:String,default:"primary"},ctaText:String,icon:String,iconAlignment:String,width:String,disabled:Boolean,fullWidth:Boolean},setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null);return(r,s)=>(o.openBlock(),o.createElementBlock("button",{disabled:t.disabled,style:o.normalizeStyle(n.value),class:o.normalizeClass([`-${t.size}`,`-${t.view}`,`-${t.iconAlignment}`,{"-no-icon":!t.icon},{"-only-icon":t.icon&&!t.ctaText},{"-full-width":t.fullWidth}])},[t.icon?(o.openBlock(),o.createBlock(Le,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",k5,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,b5))}},[["__scopeId","data-v-ffc148b3"]]);function Tc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function C5(t){return(...e)=>!t(...e)}function x5(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function wh(t,e,n,r){return e?t.filter(s=>x5(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function M5(t){return t.filter(e=>!e.$isLabel)}function Dc(t,e){return n=>n.reduce((r,s)=>s[t]&&s[t].length?(r.push({$groupLabel:s[e],$isLabel:!0}),r.concat(s[t])):r,[])}function S5(t,e,n,r,s){return i=>i.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=wh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const bh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var v5={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(t,e){return Tc(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,e,this.label):wh(n,e,this.label,this.customLabel):n=this.groupValues?Dc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(C5(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(e=>this.customLabel(e,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(t,e,n){return bh(S5(e,n,this.groupValues,this.groupLabel,this.customLabel),Dc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return bh(Dc(this.groupValues,this.groupLabel),M5)(t)},updateSearch(t){this.search=t},isExistingOption(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled(t){return!!t.$isDisabled},getOptionLabel(t){if(Tc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Tc(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect){this.selectGroup(t);return}if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||t.$isDisabled||t.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(e==="Tab"&&!this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t)){e!=="Tab"&&this.removeElement(t);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(n=>n[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const n=this.internalValue.filter(r=>e[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=e[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(e=>this.isSelected(e)||this.isOptionDisabled(e))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof t=="object"?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},T5={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},kh={name:"vue-multiselect",mixins:[v5,T5],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const D5={ref:"tags",class:"multiselect__tags"},O5={class:"multiselect__tags-wrap"},E5={class:"multiselect__spinner"},$5={key:0},P5={class:"multiselect__option"},L5={class:"multiselect__option"},V5=o.createTextVNode("No elements found. Consider changing the search query."),N5={class:"multiselect__option"},B5=o.createTextVNode("List is empty.");function A5(t,e,n,r,s,i){return o.openBlock(),o.createBlock("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=a=>t.activate()),onBlur:e[15]||(e[15]=a=>t.searchable?!1:t.deactivate()),onKeydown:[e[16]||(e[16]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=o.withKeys(a=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[o.renderSlot(t.$slots,"caret",{toggle:t.toggle},()=>[o.createVNode("div",{onMousedown:e[1]||(e[1]=o.withModifiers(a=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(t.$slots,"clear",{search:t.search}),o.createVNode("div",D5,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",O5,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(i.visibleValues,(a,l)=>o.renderSlot(t.$slots,"tag",{option:a,search:t.search,remove:t.removeElement},()=>[(o.openBlock(),o.createBlock("span",{class:"multiselect__tag",key:l},[o.createVNode("span",{textContent:o.toDisplayString(t.getOptionLabel(a))},null,8,["textContent"]),o.createVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(c=>t.removeElement(a),["prevent"]),["enter"]),onMousedown:o.withModifiers(c=>t.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?o.renderSlot(t.$slots,"limit",{key:0},()=>[o.createVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):o.createCommentVNode("v-if",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(t.$slots,"loading",{},()=>[o.withDirectives(o.createVNode("div",E5,null,512),[[o.vShow,n.loading]])])]),_:3}),t.searchable?(o.openBlock(),o.createBlock("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:t.placeholder,style:i.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=a=>t.updateSearch(a.target.value)),onFocus:e[3]||(e[3]=o.withModifiers(a=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=o.withModifiers(a=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=o.withKeys(a=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=o.withKeys(o.withModifiers(a=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):o.createCommentVNode("v-if",!0),i.isSingleLabelVisible?(o.openBlock(),o.createBlock("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(t.currentOptionLabel),1)])],32)):o.createCommentVNode("v-if",!0),i.isPlaceholderVisible?(o.openBlock(),o.createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(t.placeholder),1)])],32)):o.createCommentVNode("v-if",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createVNode("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...a)=>t.activate&&t.activate(...a)),tabindex:"-1",onMousedown:e[13]||(e[13]=o.withModifiers(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[o.createVNode("ul",{class:"multiselect__content",style:i.contentStyle,role:"listbox",id:"listbox-"+t.id},[o.renderSlot(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(o.openBlock(),o.createBlock("li",$5,[o.createVNode("span",P5,[o.renderSlot(t.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(t.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("v-if",!0),!t.max||t.internalValue.length<t.max?(o.openBlock(!0),o.createBlock(o.Fragment,{key:1},o.renderList(t.filteredOptions,(a,l)=>(o.openBlock(),o.createBlock("li",{class:"multiselect__element",key:l,id:t.id+"-"+l,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock("span",{key:0,class:[t.optionHighlight(l,a),"multiselect__option"],onClick:o.withModifiers(c=>t.select(a),["stop"]),onMouseenter:o.withModifiers(c=>t.pointerSet(l),["self"]),"data-select":a&&a.isTag?t.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),a&&(a.$isLabel||a.$isDisabled)?(o.openBlock(),o.createBlock("span",{key:1,"data-select":t.groupSelect&&i.selectGroupLabelText,"data-deselect":t.groupSelect&&i.deselectGroupLabelText,class:[t.groupHighlight(l,a),"multiselect__option"],onMouseenter:o.withModifiers(c=>t.groupSelect&&t.pointerSet(l),["self"]),onMousedown:o.withModifiers(c=>t.selectGroup(a),["prevent"])},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):o.createCommentVNode("v-if",!0)],8,["id","role"]))),128)):o.createCommentVNode("v-if",!0),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",L5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[V5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",N5,[o.renderSlot(t.$slots,"noOptions",{},()=>[B5])])],512),[[o.vShow,n.showNoOptions&&(t.options.length===0||i.hasOptionGroup===!0&&t.filteredOptions.length===0)&&!t.search&&!n.loading]]),o.renderSlot(t.$slots,"afterList")],12,["id"])],36),[[o.vShow,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}kh.render=A5;const F5={key:0,class:"scope-multiselect-label"},R5=Oe({__name:"Dropdown",props:o.mergeModels({size:{type:String,default:"md"},searchable:Boolean,options:Array,placeholder:String,label:String,invalid:Boolean,disabled:Boolean,width:{type:String,default:"250px"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null),r=o.ref(null),s=o.computed(()=>r.value&&r.value.isOpen),i=o.computed(()=>!!(c.value&&c.value.length)),a=o.computed(()=>e.options.every(d=>typeof d=="object"&&d!==null)),l=o.computed(()=>a.value?e.options.map(d=>d.name):e.options),c=o.useModel(t,"modelValue",{get(d){return typeof d=="object"?d.name:d},set(d){return a.value?e.options.find(u=>u.name===d):d}});return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",F5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(kh),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=h=>c.value=h),options:l.value,searchable:t.searchable,disabled:t.disabled,"close-on-select":"","show-labels":!1,placeholder:t.placeholder},null,8,["class","modelValue","options","searchable","disabled","placeholder"]),o.createElementVNode("div",{class:o.normalizeClass(["scope-multiselect-container__icon-wrapper",{"-with-search":t.searchable,"-label":t.label}])},[t.searchable?(o.openBlock(),o.createBlock(Le,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Le,{icon:"chevron",class:o.normalizeClass(["select-item",i.value?"-is-not-empty":"-is-empty",{"-opened":s.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),I5={key:0,class:"scope-input__label"},H5={key:1,class:"scope-input__prompt"},z5={key:0,class:"scope-input__sign"},Y5=["disabled","placeholder","veeBind","maxlength","pattern","type"],W5={key:2,class:"scope-input__error"},j5=Oe({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String,hasSave:Boolean,prompt:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter","save","clickOutside"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=hh(),s=n,i=o.ref(null);o.ref(null);const a=o.useModel(t,"modelValue"),l=t,c=o.computed(()=>l.width?{width:l.width}:null),d=o.ref(!1),u=()=>{i.value.focus()},h=f=>{navigator.clipboard.writeText(f).then(()=>{d.value=!0;const m=setTimeout(()=>{d.value=!1,clearTimeout(m)},3e3)}).catch(m=>{r(m)})};return e({focus:u}),(f,m)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton,"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-has-save":t.hasSave}])},[t.label?(o.openBlock(),o.createElementBlock("div",I5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",H5,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",z5,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:i,disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign,"-has-save":t.hasSave}]),"onUpdate:modelValue":m[0]||(m[0]=g=>a.value=g),style:o.normalizeStyle(c.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:m[1]||(m[1]=g=>s("input")),onKeyup:m[2]||(m[2]=o.withKeys(g=>s("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,Y5),[[o.vModelDynamic,a.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.hasSave||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Le),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Le),{key:1,class:"scope-input__clear",icon:"cross",onClick:m[3]||(m[3]=g=>a.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!d.value?(o.openBlock(),o.createBlock(o.unref(Le),{key:2,class:"scope-input__clear",icon:"copy",onClick:m[4]||(m[4]=g=>h(a.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&d.value?(o.openBlock(),o.createBlock(o.unref(Le),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0),t.hasSave&&a.value.length?(o.openBlock(),o.createElementBlock("div",{key:4,class:"scope-input__save",onClick:m[5]||(m[5]=g=>s("save"))},"Save")):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",W5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-92f24b05"]]),Z5={class:"scope-radio-label"},U5=["value"],q5={class:"scope-text"},G5={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>e.value===n.value);return(s,i)=>(o.openBlock(),o.createElementBlock("label",Z5,[o.withDirectives(o.createElementVNode("input",{name:"radio",type:"radio",value:t.value,class:"scope-radio-input","onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a)},null,8,U5),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",q5,o.toDisplayString(t.label),1)]))}},K5=Oe(G5,[["__scopeId","data-v-00175a44"]]),X5=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),J5={class:"scope-toggle-wrapper"},Q5=["checked","name"],e4=X5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),t4=Oe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e,s=()=>{n.value=!n.value,r("change",n.value)};return(i,a)=>(o.openBlock(),o.createElementBlock("div",J5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,Q5),e4]))}},[["__scopeId","data-v-a4862285"]]),n4={class:"scope-checkbox-container"},r4=["id"],s4=["for"],i4=Oe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e;return o.watch(n,s=>{r("change")}),(s,i)=>(o.openBlock(),o.createElementBlock("ul",n4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,r4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,s4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),o4={class:"scope-menu-tabs"},a4=["onClick"],l4=Oe({__name:"Menu",props:o.mergeModels({tabs:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=r=>{e.value=r};return(r,s)=>(o.openBlock(),o.createElementBlock("div",o4,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==i.id}]),onClick:l=>n(i.id),key:a},o.toDisplayString(i.name),11,a4))),128))]))}},[["__scopeId","data-v-30014e05"]]),c4={class:"scope-switcher"},d4={class:"scope-switcher__current-item"},u4=Oe({__name:"Switcher",props:o.mergeModels({items:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.useModel(t,"modelValue"),r=o.computed(()=>e.items.findIndex(c=>n.value.id===c.id)),s=o.computed(()=>n.value.id===e.items[0].id),i=o.computed(()=>n.value.id===e.items.at(-1).id),a=()=>{n.value=e.items[r.value-1]},l=()=>{n.value=e.items[r.value+1]};return(c,d)=>(o.openBlock(),o.createElementBlock("div",c4,[o.createVNode(Le,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",d4,o.toDisplayString(n.value.name),1),o.createVNode(Le,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":i.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function le(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function Ve(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function vn(t,e){const n=le(t);return isNaN(e)?Ve(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Tn(t,e){const n=le(t);if(isNaN(e))return Ve(t,NaN);if(!e)return n;const r=n.getDate(),s=Ve(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const i=s.getDate();return r>=i?s:(n.setFullYear(s.getFullYear(),s.getMonth(),r),n)}function Ch(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=le(t),u=r||n?Tn(d,r+n*12):d,h=i||s?vn(u,i+s*7):u,f=l+a*60,g=(c+f*60)*1e3;return Ve(t,h.getTime()+g)}function h4(t,e){const n=+le(t);return Ve(t,n+e)}const xh=6048e5,f4=864e5,m4=6e4,Mh=36e5,p4=1e3;function g4(t,e){return h4(t,e*Mh)}let _4={};function hs(){return _4}function In(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?7:0)+i-r;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}function Js(t){return In(t,{weekStartsOn:1})}function Sh(t){const e=le(t),n=e.getFullYear(),r=Ve(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Js(r),i=Ve(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Js(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function vh(t){const e=le(t);return e.setHours(0,0,0,0),e}function wa(t){const e=le(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function Th(t,e){const n=vh(t),r=vh(e),s=+n-wa(n),i=+r-wa(r);return Math.round((s-i)/f4)}function y4(t){const e=Sh(t),n=Ve(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Js(n)}function w4(t,e){const n=e*3;return Tn(t,n)}function Oc(t,e){return Tn(t,e*12)}function Dh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Zi(t){if(!Dh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function Oh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Eh(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+n:+r,a=s?r:n;a.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a.setDate(a.getDate()+l),a.setHours(0,0,0,0);return s?c.reverse():c}function fs(t){const e=le(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function b4(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+fs(n):+fs(r);let a=fs(s?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a=w4(a,l);return s?c.reverse():c}function k4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function $h(t){const e=le(t),n=Ve(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function C4(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?-7:0)+6-(i-r);return s.setDate(s.getDate()+a),s.setHours(23,59,59,999),s}function Ph(t){const e=le(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const x4={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"}},M4=(t,e,n)=>{let r;const s=x4[t];return typeof s=="string"?r=s:e===1?r=s.one:r=s.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ec(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const S4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},v4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},T4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D4={date:Ec({formats:S4,defaultWidth:"full"}),time:Ec({formats:v4,defaultWidth:"full"}),dateTime:Ec({formats:T4,defaultWidth:"full"})},O4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},E4=(t,e,n,r)=>O4[t];function Ui(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&t.formattingValues){const a=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):a;s=t.formattingValues[l]||t.formattingValues[a]}else{const a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;s=t.values[l]||t.values[a]}const i=t.argumentCallback?t.argumentCallback(e):e;return s[i]}}const $4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},P4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},L4={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"]},V4={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"]},N4={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"}},B4={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"}},A4={ordinalNumber:(t,e)=>{const n=Number(t),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:Ui({values:$4,defaultWidth:"wide"}),quarter:Ui({values:P4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ui({values:L4,defaultWidth:"wide"}),day:Ui({values:V4,defaultWidth:"wide"}),dayPeriod:Ui({values:N4,defaultWidth:"wide",formattingValues:B4,defaultFormattingWidth:"wide"})};function qi(t){return(e,n={})=>{const r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(s);if(!i)return null;const a=i[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?R4(l,h=>h.test(a)):F4(l,h=>h.test(a));let d;d=t.valueCallback?t.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const u=e.slice(a.length);return{value:d,rest:u}}}function F4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function R4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function I4(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const s=r[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=e.slice(s.length);return{value:a,rest:l}}}const H4=/^(\d+)(th|st|nd|rd)?/i,z4=/\d+/i,Y4={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},W4={any:[/^b/i,/^(a|c)/i]},j4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Z4={any:[/1/i,/2/i,/3/i,/4/i]},U4={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},q4={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]},G4={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},K4={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]},X4={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},J4={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}},Q4={ordinalNumber:I4({matchPattern:H4,parsePattern:z4,valueCallback:t=>parseInt(t,10)}),era:qi({matchPatterns:Y4,defaultMatchWidth:"wide",parsePatterns:W4,defaultParseWidth:"any"}),quarter:qi({matchPatterns:j4,defaultMatchWidth:"wide",parsePatterns:Z4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qi({matchPatterns:U4,defaultMatchWidth:"wide",parsePatterns:q4,defaultParseWidth:"any"}),day:qi({matchPatterns:G4,defaultMatchWidth:"wide",parsePatterns:K4,defaultParseWidth:"any"}),dayPeriod:qi({matchPatterns:X4,defaultMatchWidth:"any",parsePatterns:J4,defaultParseWidth:"any"})},Lh={code:"en-US",formatDistance:M4,formatLong:D4,formatRelative:E4,localize:A4,match:Q4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function e9(t){const e=le(t);return Th(e,$h(e))+1}function $c(t){const e=le(t),n=+Js(e)-+y4(e);return Math.round(n/xh)+1}function Pc(t,e){var u,h,f,m;const n=le(t),r=n.getFullYear(),s=hs(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=Ve(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=In(a,e),c=Ve(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=In(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function t9(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,s=Pc(t,e),i=Ve(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),In(i,e)}function Lc(t,e){const n=le(t),r=+In(n,e)-+t9(n,e);return Math.round(r/xh)+1}function Ae(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Lr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Ae(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Ae(n+1,2)},d(t,e){return Ae(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return Ae(t.getHours()%12||12,e.length)},H(t,e){return Ae(t.getHours(),e.length)},m(t,e){return Ae(t.getMinutes(),e.length)},s(t,e){return Ae(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Ae(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Vh={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return Lr.y(t,e)},Y:function(t,e,n,r){const s=Pc(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Ae(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ae(i,e.length)},R:function(t,e){const n=Sh(t);return Ae(n,e.length)},u:function(t,e){const n=t.getFullYear();return Ae(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Ae(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"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Ae(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"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return Lr.M(t,e);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"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return Ae(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"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const s=Lc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ae(s,e.length)},I:function(t,e,n){const r=$c(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Ae(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Lr.d(t,e)},D:function(t,e,n){const r=e9(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ae(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){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"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ae(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),s=r===0?7:r;switch(e){case"i":return String(s);case"ii":return Ae(s,e.length);case"io":return n.ordinalNumber(s,{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"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let s;switch(r===12?s=Qs.noon:r===0?s=Qs.midnight:s=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let s;switch(r>=17?s=Qs.evening:r>=12?s=Qs.afternoon:r>=4?s=Qs.morning:s=Qs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Lr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Lr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Lr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Lr.s(t,e)},S:function(t,e){return Lr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Bh(r);case"XXXX":case"XX":return ms(r);case"XXXXX":case"XXX":default:return ms(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return Bh(r);case"xxxx":case"xx":return ms(r);case"xxxxx":case"xxx":default:return ms(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Nh(r,":");case"OOOO":default:return"GMT"+ms(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Nh(r,":");case"zzzz":default:return"GMT"+ms(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Ae(r,e.length)},T:function(t,e,n){const r=t.getTime();return Ae(r,e.length)}};function Nh(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Math.trunc(r/60),i=r%60;return i===0?n+String(s):n+String(s)+e+Ae(i,2)}function Bh(t,e){return t%60===0?(t>0?"-":"+")+Ae(Math.abs(t)/60,2):ms(t,e)}function ms(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Ae(Math.trunc(r/60),2),i=Ae(r%60,2);return n+s+e+i}const Ah=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Fh=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Vc={p:Fh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Ah(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Ah(r,e)).replace("{{time}}",Fh(s,e))}},n9=/^D+$/,r9=/^Y+$/,s9=["D","DD","YY","YYYY"];function Rh(t){return n9.test(t)}function Ih(t){return r9.test(t)}function Nc(t,e,n){const r=i9(t,e,n);if(console.warn(r),s9.includes(t))throw new RangeError(r)}function i9(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const o9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,a9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,l9=/^'([^]*?)'?$/,c9=/''/g,d9=/[a-zA-Z]/;function Hn(t,e,n){var u,h,f,m,g,p,_,y;const r=hs(),s=(n==null?void 0:n.locale)??r.locale??Lh,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(f=r.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((p=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((y=(_=r.locale)==null?void 0:_.options)==null?void 0:y.weekStartsOn)??0,l=le(t);if(!Zi(l))throw new RangeError("Invalid time value");let c=e.match(a9).map(C=>{const k=C[0];if(k==="p"||k==="P"){const v=Vc[k];return v(C,s.formatLong)}return C}).join("").match(o9).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:u9(C)};if(Vh[k])return{isToken:!0,value:C};if(k.match(d9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ih(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Rh(k))&&Nc(k,e,String(t));const v=Vh[k[0]];return v(l,k,s.localize,d)}).join("")}function u9(t){const e=t.match(l9);return e?e[1].replace(c9,"'"):t}function h9(t){return le(t).getDay()}function f9(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Ve(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function m9(){return Object.assign({},hs())}function Dn(t){return le(t).getHours()}function p9(t){let n=le(t).getDay();return n===0&&(n=7),n}function zn(t){return le(t).getMinutes()}function Ce(t){return le(t).getMonth()}function ei(t){return le(t).getSeconds()}function ye(t){return le(t).getFullYear()}function Gi(t,e){const n=le(t),r=le(e);return n.getTime()>r.getTime()}function Ki(t,e){const n=le(t),r=le(e);return+n<+r}function ti(t,e){const n=le(t),r=le(e);return+n==+r}function g9(t,e){const n=e instanceof Date?Ve(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const _9=10;class Hh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class y9 extends Hh{constructor(e,n,r,s,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=s,i&&(this.subPriority=i)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class w9 extends Hh{constructor(){super(...arguments);W(this,"priority",_9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Ve(n,g9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new y9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class b9 extends Ne{constructor(){super(...arguments);W(this,"priority",140);W(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,s){switch(r){case"G":case"GG":case"GGG":return s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"});case"GGGGG":return s.era(n,{width:"narrow"});case"GGGG":default:return s.era(n,{width:"wide"})||s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"})}}set(n,r,s){return r.era=s,n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}const ut={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}/},Yn={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/};function ht(t,e){return t&&{value:e(t.value),rest:t.rest}}function Qe(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Wn(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const r=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(s*Mh+i*m4+a*p4),rest:e.slice(n[0].length)}}function zh(t){return Qe(ut.anyDigitsSigned,t)}function it(t,e){switch(t){case 1:return Qe(ut.singleDigit,e);case 2:return Qe(ut.twoDigits,e);case 3:return Qe(ut.threeDigits,e);case 4:return Qe(ut.fourDigits,e);default:return Qe(new RegExp("^\\d{1,"+t+"}"),e)}}function ba(t,e){switch(t){case 1:return Qe(ut.singleDigitSigned,e);case 2:return Qe(ut.twoDigitsSigned,e);case 3:return Qe(ut.threeDigitsSigned,e);case 4:return Qe(ut.fourDigitsSigned,e);default:return Qe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Bc(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Yh(t,e){const n=e>0,r=n?e:1-e;let s;if(r<=50)s=t||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=t>=i%100;s=t+a-(l?100:0)}return n?s:1-s}function Wh(t){return t%400===0||t%4===0&&t%100!==0}class k9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return ht(it(4,n),i);case"yo":return ht(s.ordinalNumber(n,{unit:"year"}),i);default:return ht(it(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s){const i=n.getFullYear();if(s.isTwoDigitYear){const l=Yh(s.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class C9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ht(it(4,n),i);case"Yo":return ht(s.ordinalNumber(n,{unit:"year"}),i);default:return ht(it(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=Pc(n,i);if(s.isTwoDigitYear){const c=Yh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),In(n,i)}const l=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),In(n,i)}}class x9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return ba(r==="R"?4:r.length,n)}set(n,r,s){const i=Ve(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Js(i)}}class M9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return ba(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class S9 extends Ne{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"Q":case"QQ":return it(r.length,n);case"Qo":return s.ordinalNumber(n,{unit:"quarter"});case"QQQ":return s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(n,{width:"wide",context:"formatting"})||s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class v9 extends Ne{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"q":case"qq":return it(r.length,n);case"qo":return s.ordinalNumber(n,{unit:"quarter"});case"qqq":return s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(n,{width:"wide",context:"standalone"})||s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class T9 extends Ne{constructor(){super(...arguments);W(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);W(this,"priority",110)}parse(n,r,s){const i=a=>a-1;switch(r){case"M":return ht(Qe(ut.month,n),i);case"MM":return ht(it(2,n),i);case"Mo":return ht(s.ordinalNumber(n,{unit:"month"}),i);case"MMM":return s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(n,{width:"wide",context:"formatting"})||s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}class D9 extends Ne{constructor(){super(...arguments);W(this,"priority",110);W(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,s){const i=a=>a-1;switch(r){case"L":return ht(Qe(ut.month,n),i);case"LL":return ht(it(2,n),i);case"Lo":return ht(s.ordinalNumber(n,{unit:"month"}),i);case"LLL":return s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(n,{width:"wide",context:"standalone"})||s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}function O9(t,e,n){const r=le(t),s=Lc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class E9 extends Ne{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,s){switch(r){case"w":return Qe(ut.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return In(O9(n,s,i),i)}}function $9(t,e){const n=le(t),r=$c(n)-e;return n.setDate(n.getDate()-r*7),n}class P9 extends Ne{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,s){switch(r){case"I":return Qe(ut.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Js($9(n,s))}}const L9=[31,28,31,30,31,30,31,31,30,31,30,31],V9=[31,29,31,30,31,30,31,31,30,31,30,31];class N9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"subPriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"d":return Qe(ut.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return it(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Wh(s),a=n.getMonth();return i?r>=1&&r<=V9[a]:r>=1&&r<=L9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class B9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"subpriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,s){switch(r){case"D":case"DD":return Qe(ut.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return it(r.length,n)}}validate(n,r){const s=n.getFullYear();return Wh(s)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,s){return n.setMonth(0,s),n.setHours(0,0,0,0),n}}function Ac(t,e,n){var h,f,m,g;const r=hs(),s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,i=le(t),a=i.getDay(),c=(e%7+7)%7,d=7-s,u=e<0||e>6?e-(a+d)%7:(c+d)%7-(a+d)%7;return vn(i,u)}class A9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"E":case"EE":case"EEE":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}class F9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return ht(it(r.length,n),a);case"eo":return ht(s.ordinalNumber(n,{unit:"day"}),a);case"eee":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeeee":return s.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}class R9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return ht(it(r.length,n),a);case"co":return ht(s.ordinalNumber(n,{unit:"day"}),a);case"ccc":return s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"ccccc":return s.day(n,{width:"narrow",context:"standalone"});case"cccccc":return s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(n,{width:"wide",context:"standalone"})||s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}function I9(t,e){const n=le(t),r=p9(n),s=e-r;return vn(n,s)}class H9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,s){const i=a=>a===0?7:a;switch(r){case"i":case"ii":return it(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return ht(s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ht(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ht(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ht(s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,s){return n=I9(n,s),n.setHours(0,0,0,0),n}}class z9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,s){switch(r){case"a":case"aa":case"aaa":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class Y9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,s){switch(r){case"b":case"bb":case"bbb":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class W9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,s){switch(r){case"B":case"BB":case"BBB":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class j9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,s){switch(r){case"h":return Qe(ut.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,s){const i=n.getHours()>=12;return i&&s<12?n.setHours(s+12,0,0,0):!i&&s===12?n.setHours(0,0,0,0):n.setHours(s,0,0,0),n}}class Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,s){switch(r){case"H":return Qe(ut.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,s){switch(r){case"K":return Qe(ut.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.getHours()>=12&&s<12?n.setHours(s+12,0,0,0):n.setHours(s,0,0,0),n}}class q9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,s){switch(r){case"k":return Qe(ut.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,s){const i=s<=24?s%24:s;return n.setHours(i,0,0,0),n}}class G9 extends Ne{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Qe(ut.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class K9 extends Ne{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Qe(ut.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class X9 extends Ne{constructor(){super(...arguments);W(this,"priority",30);W(this,"incompatibleTokens",["t","T"])}parse(n,r){const s=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ht(it(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class J9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Wn(Yn.basicOptionalMinutes,n);case"XX":return Wn(Yn.basic,n);case"XXXX":return Wn(Yn.basicOptionalSeconds,n);case"XXXXX":return Wn(Yn.extendedOptionalSeconds,n);case"XXX":default:return Wn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Ve(n,n.getTime()-wa(n)-s)}}class Q9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Wn(Yn.basicOptionalMinutes,n);case"xx":return Wn(Yn.basic,n);case"xxxx":return Wn(Yn.basicOptionalSeconds,n);case"xxxxx":return Wn(Yn.extendedOptionalSeconds,n);case"xxx":default:return Wn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Ve(n,n.getTime()-wa(n)-s)}}class e7 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return zh(n)}set(n,r,s){return[Ve(n,s*1e3),{timestampIsSet:!0}]}}class t7 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return zh(n)}set(n,r,s){return[Ve(n,s),{timestampIsSet:!0}]}}const n7={G:new b9,y:new k9,Y:new C9,R:new x9,u:new M9,Q:new S9,q:new v9,M:new T9,L:new D9,w:new E9,I:new P9,d:new N9,D:new B9,E:new A9,e:new F9,c:new R9,i:new H9,a:new z9,b:new Y9,B:new W9,h:new j9,H:new Z9,K:new U9,k:new q9,m:new G9,s:new K9,S:new X9,X:new J9,x:new Q9,t:new e7,T:new t7},r7=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,s7=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,i7=/^'([^]*?)'?$/,o7=/''/g,a7=/\S/,l7=/[a-zA-Z]/;function Fc(t,e,n,r){var p,_,y,C,k,v,M,T;const s=m9(),i=(r==null?void 0:r.locale)??s.locale??Lh,a=(r==null?void 0:r.firstWeekContainsDate)??((_=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((C=(y=s.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((v=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:v.weekStartsOn)??s.weekStartsOn??((T=(M=s.locale)==null?void 0:M.options)==null?void 0:T.weekStartsOn)??0;if(e==="")return t===""?le(n):Ve(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new w9],u=e.match(s7).map(S=>{const O=S[0];if(O in Vc){const E=Vc[O];return E(S,i.formatLong)}return S}).join("").match(r7),h=[];for(let S of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ih(S)&&Nc(S,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Rh(S)&&Nc(S,e,t);const O=S[0],E=n7[O];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(R=>I.includes(R.token)||R.token===O);if($)throw new RangeError(`The format string mustn't contain \`${$.fullToken}\` and \`${S}\` at the same time`)}else if(E.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);h.push({token:O,fullToken:S});const j=E.run(t,S,i.match,c);if(!j)return Ve(n,NaN);d.push(j.setter),t=j.rest}else{if(O.match(l7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");if(S==="''"?S="'":O==="'"&&(S=c7(S)),t.indexOf(S)===0)t=t.slice(S.length);else return Ve(n,NaN)}}if(t.length>0&&a7.test(t))return Ve(n,NaN);const f=d.map(S=>S.priority).sort((S,O)=>O-S).filter((S,O,E)=>E.indexOf(S)===O).map(S=>d.filter(O=>O.priority===S).sort((O,E)=>E.subPriority-O.subPriority)).map(S=>S[0]);let m=le(n);if(isNaN(m.getTime()))return Ve(n,NaN);const g={};for(const S of f){if(!S.validate(m,c))return Ve(n,NaN);const O=S.set(m,g,c);Array.isArray(O)?(m=O[0],Object.assign(g,O[1])):m=O}return Ve(n,m)}function c7(t){return t.match(i7)[1].replace(o7,"'")}function jh(t,e){const n=fs(t),r=fs(e);return+n==+r}function d7(t,e){return vn(t,-e)}function Zh(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Ve(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=f9(i);return n.setMonth(e,Math.min(s,a)),n}function We(t,e){let n=le(t);return isNaN(+n)?Ve(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Zh(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Uh(t,e){const n=le(t);return n.setHours(e),n}function Rc(t,e){const n=le(t);return n.setMilliseconds(e),n}function qh(t,e){const n=le(t);return n.setMinutes(e),n}function Ic(t,e){const n=le(t);return n.setSeconds(e),n}function jn(t,e){const n=le(t);return isNaN(+n)?Ve(t,NaN):(n.setFullYear(e),n)}function ni(t,e){return Tn(t,-e)}function u7(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=ni(t,r+n*12),u=d7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Ve(t,u.getTime()-m)}function Gh(t,e){return Oc(t,-e)}function ri(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),o.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ri.compatConfig={MODE:3};function Kh(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),o.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Kh.compatConfig={MODE:3};function Hc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Hc.compatConfig={MODE:3};function zc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}zc.compatConfig={MODE:3};function Yc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),o.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Yc.compatConfig={MODE:3};function Wc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Wc.compatConfig={MODE:3};function jc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}jc.compatConfig={MODE:3};function Xh(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function h7(t){return e=>Hn(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const f7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(h7(t))}catch{s=r.map(Xh(e))}else s=r.map(Xh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Zc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:rf(s,e)});return n?r.reverse():r},Jh=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const a=i<10?`0${i}`:i;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(t!==null)try{const i=n==="long"?"MMMM":"MMM";return r.map((a,l)=>{const c=Hn(a,i,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((i,a)=>{const l=s.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})},m7=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],Ct=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},p7=t=>({type:"dot",...t??{}}),Qh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Uc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},St=t=>t,ef=t=>t===0?t:!t||isNaN(+t)?null:+t,tf=t=>t===null,nf=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},g7=t=>{const e=[],n=r=>r.filter(s=>s);for(let r=0;r<t.length;r+=3){const s=[t[r],t[r+1],t[r+2]];e.push(n(s))}return e},Xi=(t,e,n)=>{const r=n!=null,s=e!=null;if(!r&&!s)return!1;const i=+n,a=+e;return r&&s?+t>i||+t<a:r?+t>i:s?+t<a:!1},si=(t,e)=>g7(t).map(n=>n.map(r=>{const{active:s,disabled:i,isBetween:a,highlighted:l}=e(r);return{...r,active:s,disabled:i,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&s,dp__cell_in_between:a,"dp--highlighted":l}}})),Vr=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},_7=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function y7(t,e){let n=[...document.querySelectorAll(_7())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const r=n.indexOf(t);if(r>=0&&(e?r-1>=0:r+1<=n.length))return n[r+(e?-1:1)]}const w7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),rf=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),qc=t=>Hn(t,"dd-MM-yyyy"),Gc=t=>Array.isArray(t),ka=(t,e)=>e.get(qc(t)),b7=(t,e)=>t?e?e instanceof Map?!!ka(t,e):e(q(t)):!1:!0,sf=(t,e,n,r,s,i)=>{const a=Fc(t,e.slice(0,t.length),new Date,{locale:i});return Zi(a)&&Dh(a)?r||s?a:We(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},k7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return sf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=sf(t,c,a,r,s,i),l)break;return l}return typeof e=="function"?e(t):null},q=t=>t?new Date(t):new Date,C7=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),c=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${i}T${a}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},Gt=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Uh(e,0),e=qh(e,0),e=Ic(e,0),e=Rc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Uh(s,+e)),(n||n===0)&&(s=qh(s,+n)),(r||r===0)&&(s=Ic(s,+r)),Rc(s,0)},ot=(t,e)=>!t||!e?!1:Ki(Gt(t),Gt(e)),Se=(t,e)=>!t||!e?!1:ti(Gt(t),Gt(e)),ft=(t,e)=>!t||!e?!1:Gi(Gt(t),Gt(e)),Ca=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ft(n,t[0])&&ot(n,t[1]):t!=null&&t[0]&&e?ft(n,t[0])&&ot(n,e)||ot(n,t[0])&&ft(n,e):!1,On=t=>{const e=We(new Date(t),{date:1});return Gt(e)},Kc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ps=t=>({hours:Dn(t),minutes:zn(t),seconds:ei(t)}),of=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},af=(t,e)=>{if(e){const n=ye(q(e));return n<t?-1:n===t?Ce(q(e)):void 0}},ii=t=>{if(t)return ye(q(t))},lf=(t,e)=>{const n=ft(t,e)?e:t,r=ft(e,t)?e:t;return Eh({start:n,end:r})},x7=t=>{const e=Tn(t,1);return{month:Ce(e),year:ye(e)}},ar=(t,e)=>{const n=In(t,{weekStartsOn:+e}),r=C4(t,{weekStartsOn:+e});return[n,r]},cf=(t,e)=>{const n={hours:Dn(q()),minutes:zn(q()),seconds:e?ei(q()):0};return Object.assign(n,t)},Br=(t,e,n)=>[We(q(t),{date:1}),We(q(),{month:e,year:n,date:1})],lr=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=Zh(r,e)),n&&(r=jn(r,n)),r},df=(t,e,n,r,s)=>{if(!r||s&&!e||!s&&!n)return!1;const i=s?Tn(t,1):ni(t,1),a=[Ce(i),ye(i)];return s?!S7(...a,e):!M7(...a,n)},M7=(t,e,n)=>ot(...Br(n,t,e))||Se(...Br(n,t,e)),S7=(t,e,n)=>ft(...Br(n,t,e))||Se(...Br(n,t,e)),uf=(t,e,n,r,s,i,a)=>{if(typeof e=="function"&&!a)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${Hn(t[0],i,l)}${s&&!t[1]?"":r}${t[1]?Hn(t[1],i,l):""}`:Hn(t,i,l)},oi=t=>{if(t)return null;throw new Error(Uc.prop("partial-range"))},xa=(t,e)=>{if(e)return t();throw new Error(Uc.prop("range"))},Xc=t=>Array.isArray(t)?Zi(t[0])&&(t[1]?Zi(t[1]):!0):t?Zi(t):!1,v7=(t,e)=>We(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Jc=(t,e,n,r)=>{if(!t)return!0;if(r){const s=n==="max"?Ki(t,e):Gi(t,e),i={seconds:0,milliseconds:0};return s||ti(We(t,i),We(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Qc=(t,e,n)=>t?v7(t,e):q(n??e),hf=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Qc(t,r[0],e),l=Qc(t,r[1],e);return Jc(r[0],a,n,!!e)&&Jc(r[1],l,n,!!e)&&s}const i=Qc(t,r,e);return Jc(r,i,n,!!e)&&s},ed=t=>We(q(),ps(t)),T7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],ff=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),td=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Ji=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),mf=()=>{const t=n=>{Ji.menuFocused=n},e=n=>{Ji.shiftKeyInMenu!==n&&(Ji.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Ji.shiftKeyInMenu,menuFocused:Ji.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ze=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),nd=o.ref(null),Ma=o.ref(!1),rd=o.ref(!1),sd=o.ref(!1),id=o.ref(!1),$t=o.ref(0),mt=o.ref(0),Ar=()=>{const t=o.computed(()=>Ma.value?[...Ze.selectionGrid,Ze.actionRow].filter(h=>h.length):rd.value?[...Ze.timePicker[0],...Ze.timePicker[1],id.value?[]:[nd.value],Ze.actionRow].filter(h=>h.length):sd.value?[...Ze.monthPicker,Ze.actionRow]:[Ze.monthYear,...Ze.calendar,Ze.time,Ze.actionRow].filter(h=>h.length)),e=h=>{$t.value=h?$t.value+1:$t.value-1;let f=null;t.value[mt.value]&&(f=t.value[mt.value][$t.value]),!f&&t.value[mt.value+(h?1:-1)]?(mt.value=mt.value+(h?1:-1),$t.value=h?0:t.value[mt.value].length-1):f||($t.value=h?$t.value-1:$t.value+1)},n=h=>{mt.value===0&&!h||mt.value===t.value.length&&h||(mt.value=h?mt.value+1:mt.value-1,t.value[mt.value]?t.value[mt.value]&&!t.value[mt.value][$t.value]&&$t.value!==0&&($t.value=t.value[mt.value].length-1):mt.value=h?mt.value-1:mt.value+1)},r=h=>{let f=null;t.value[mt.value]&&(f=t.value[mt.value][$t.value]),f?f.focus({preventScroll:!Ma.value}):$t.value=h?$t.value-1:$t.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{Ze[f]=h},d=(h,f)=>{Ze[f]=h},u=()=>{$t.value=0,mt.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{nd.value=h},setSelectionGrid:h=>{Ma.value=h,u(),h||(Ze.selectionGrid=[])},setTimePicker:(h,f=!1)=>{rd.value=h,id.value=f,u(),h||(Ze.timePicker[0]=[],Ze.timePicker[1]=[])},setTimePickerElements:(h,f=0)=>{Ze.timePicker[f]=h},arrowRight:s,arrowLeft:i,arrowUp:a,arrowDown:l,clearArrowNav:()=>{Ze.monthYear=[],Ze.calendar=[],Ze.time=[],Ze.actionRow=[],Ze.selectionGrid=[],Ze.timePicker[0]=[],Ze.timePicker[1]=[],Ma.value=!1,rd.value=!1,id.value=!1,sd.value=!1,u(),nd.value=null},setMonthPicker:h=>{sd.value=h,u()},refSets:Ze}},cr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),pf=(t,e)=>od(t,e)||q(),D7=(t,e)=>e.dateInTz?cr(new Date(t),e.dateInTz):q(t),od=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?D7(t,e):cr(n,e.timezone)},O7=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(e.toLocaleString("en-US",{timeZone:t})),s=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-s},gf=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),E7=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,...t??{}}),_f=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,$7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:_f(!1)};const r=e?t:{},s=e?r.count??!0:t,i=_f(s);return Object.assign(n,r,{count:i})},P7=(t,e,n)=>t||(typeof n=="string"?n:e),L7=t=>typeof t=="boolean"?t?gf({}):!1:gf(t),V7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},N7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),B7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),A7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},F7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),R7=t=>{const e={dates:Array.isArray(t)?t.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},I7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},H7=(t,e)=>typeof t=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...t}:{enabled:t,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,minMaxRawRange:e.minMaxRawRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,maxRange:e.maxRange,minRange:e.minRange,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},z7=(t,e)=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:e,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:e??t.emitTimezone,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:e},ad=(t,e)=>new Map(t.map(n=>{const r=pf(n,e);return[qc(r),r]})),Y7=(t,e)=>t.length?new Map(t.map(n=>{const r=pf(n.date,e);return[qc(r),n]})):null,W7=(t,e,n,r,s,i,a)=>({minDate:od(t,a),maxDate:od(e,a),disabledDates:Gc(n)?ad(n,a):n,allowedDates:Gc(r)?ad(r,a):null,highlight:typeof s=="object"&&Gc(s==null?void 0:s.dates)?ad(s.dates,a):s,markers:Y7(i,a)}),j7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},et=t=>{const e=()=>{const M=t.enableSeconds?":ss":"";return t.is24?`HH:mm${M}`:`hh:mm${M} aa`},n=()=>{var M;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((M=_.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=M=>cf(M,t.enableSeconds),s=()=>v.value.enabled?t.startTime&&Array.isArray(t.startTime)?[r(t.startTime[0]),r(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?r(t.startTime):null,i=o.computed(()=>$7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>E7(t.ariaLabels)),c=o.computed(()=>N7(t.filters)),d=o.computed(()=>L7(t.transitions)),u=o.computed(()=>B7(t.actionRow)),h=o.computed(()=>P7(t.previewFormat,t.format,n())),f=o.computed(()=>V7(t.textInput)),m=o.computed(()=>A7(t.inline)),g=o.computed(()=>F7(t.config)),p=o.computed(()=>R7(t.highlight)),_=o.computed(()=>I7(t.weekNumbers)),y=o.computed(()=>z7(t.timezone,t.emitTimezone)),C=o.computed(()=>j7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>W7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),v=o.computed(()=>H7(t.range,{minMaxRawRange:!1,maxRange:t.maxRange,minRange:t.minRange,noDisabledRange:t.noDisabledRange,showLastInRange:t.showLastInRange,partialRange:t.partialRange,disableTimeRangeValidation:t.disableTimeRangeValidation,autoRange:t.autoRange,fixedStart:t.fixedStart,fixedEnd:t.fixedEnd}));return{defaultedTransitions:d,defaultedMultiCalendars:i,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:h,defaultedTextInput:f,defaultedInline:m,defaultedConfig:g,defaultedHighlight:p,defaultedWeekNumbers:_,defaultedRange:v,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},Z7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=et(e),d=o.ref(""),u=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(u,()=>{V()});const h=w=>a.value.timezone&&a.value.convertModel?cr(w,a.value.timezone):w,f=w=>{if(a.value.timezone&&a.value.convertModel){const B=O7(a.value.timezone);return g4(w,B)}return w},m=(w,B,H=!1)=>uf(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),H),g=w=>w?e.modelType?ee(w):{hours:Dn(w),minutes:zn(w),seconds:e.enableSeconds?ei(w):0}:null,p=w=>e.modelType?ee(w):{month:Ce(w),year:ye(w)},_=w=>Array.isArray(w)?l.value.enabled?w.map(B=>y(B,jn(q(),B))):xa(()=>[jn(q(),w[0]),w[1]?jn(q(),w[1]):oi(i.value.partialRange)],i.value.enabled):jn(q(),+w),y=(w,B)=>(typeof w=="string"||typeof w=="number")&&e.modelType?Z(w):B,C=w=>Array.isArray(w)?[y(w[0],Nr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Nr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Nr(null,w.hours,w.minutes,w.seconds)),k=w=>{const B=We(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(H=>y(H,lr(B,+H.month,+H.year))):xa(()=>[y(w[0],lr(B,+w[0].month,+w[0].year)),y(w[1],w[1]?lr(B,+w[1].month,+w[1].year):oi(i.value.partialRange))],i.value.enabled):y(w,lr(B,+w.month,+w.year))},v=w=>{if(Array.isArray(w))return w.map(B=>Z(B));throw new Error(Uc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],H=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(H)?H[0]:null)]}return q(w[0])},T=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?xa(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):oi(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),S=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(oi(i.value.partialRange))},O=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):oi(i.value.partialRange)]},E=()=>r.value[1]?O():ee(St(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(S(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?xa(()=>O(),i.value.enabled):ee(St(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(St(w)):e.monthPicker?k(St(w)):e.yearPicker?_(St(w)):l.value.enabled?v(St(w)):e.weekPicker?M(St(w)):T(St(w)),R=w=>{const B=$(w);Xc(St(B))?(r.value=St(B),V()):(r.value=null,d.value="")},G=()=>{const w=B=>Hn(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},D=()=>n.value&&r.value?Array.isArray(r.value)?G():Hn(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?D():m(r.value):"",V=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Fc(w,c(),new Date)):h(Fc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?C7(w,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+f(w):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?m(f(w)):m(f(w),e.modelType,!0):f(w):"",U=(w,B=!1)=>{if(t("update:model-value",w),a.value.emitTimezone&&B){const H=Array.isArray(w)?w.map(be=>cr(St(be),a.value.emitTimezone)):cr(St(w),a.value.emitTimezone);t("update:model-timezone-value",H)}},P=w=>Array.isArray(r.value)?l.value.enabled?r.value.map(B=>w(B)):[w(r.value[0]),r.value[1]?w(r.value[1]):oi(i.value.partialRange)]:w(St(r.value)),N=()=>{if(Array.isArray(r.value)){const w=ar(r.value[0],e.weekStart),B=r.value[1]?ar(r.value[1],e.weekStart):[];return[w.map(H=>q(H)),B.map(H=>q(H))]}return ar(r.value,e.weekStart).map(w=>q(w))},b=w=>U(St(P(w)));return{inputValue:d,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:R,formatInputValue:V,emitModelValue:()=>(V(),e.monthPicker?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",N()):U(j(),!0))}},U7=(t,e)=>{const{defaultedFilters:n,propDates:r}=et(t),{validateMonthYearInRange:s}=Rr(t),i=(u,h)=>{let f=u;return n.value.months.includes(Ce(f))?(f=h?Tn(u,1):ni(u,1),i(f,h)):f},a=(u,h)=>{let f=u;return n.value.years.includes(ye(f))?(f=h?Oc(u,1):Gh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=We(q(),{month:t.month,year:t.year});let m=u?Tn(f,1):ni(f,1);t.disableYearSelect&&(m=jn(m,t.year));let g=Ce(m),p=ye(m);n.value.months.includes(g)&&(m=i(m,u),g=Ce(m),p=ye(m)),n.value.years.includes(p)&&(m=a(m,u),p=ye(m)),s(g,p,u,t.preventMinMaxNavigation)&&c(g,p,h)},c=(u,h,f)=>{e("update-month-year",{month:u,year:h,fromNav:f})},d=o.computed(()=>u=>df(We(q(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:d,updateMonthYear:c}};var ai=(t=>(t.center="center",t.left="left",t.right="right",t))(ai||{}),En=(t=>(t.month="month",t.year="year",t))(En||{}),gs=(t=>(t.top="top",t.bottom="bottom",t))(gs||{}),_s=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(_s||{}),Zn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(Zn||{});const q7=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:s,emit:i,props:a,slots:l})=>{const c=o.ref({}),d=o.ref(!1),u=o.ref({top:"0",left:"0"}),h=o.ref(!1),f=o.toRef(a,"teleportCenter");o.watch(f,()=>{u.value=JSON.parse(JSON.stringify({})),v()});const m=D=>{if(a.teleport){const x=D.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(D,x)=>{u.value.left=`${D+x-c.value.width}px`},p=D=>{u.value.left=`${D}px`},_=(D,x)=>{a.position===ai.left&&p(D),a.position===ai.right&&g(D,x),a.position===ai.center&&(u.value.left=`${D+x/2-c.value.width/2}px`)},y=D=>{const{width:x,height:V}=D.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(D):m(D);return{top:+Z,left:+ee,width:x,height:V}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const D=Ct(n),{top:x,left:V,transform:Z}=a.altPosition(D);u.value={top:`${x}px`,left:`${V}px`,transform:Z??""}},v=(D=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(D){const V=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;V&&(c.value=V.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:D,left:x,width:V})=>{window.screen.width>768&&!d.value&&_(x,V),O(D)},T=D=>{const{top:x,left:V,height:Z,width:ee}=y(D);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${V+ee/2-c.value.width/2}px`),M({inputEl:D,left:V,width:ee})},S=D=>{const{top:x,left:V,width:Z}=y(D);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:D,left:V,width:Z})},O=D=>{if(a.autoPosition){const{left:x,width:V}=y(D),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,V)}return _(x,V)}}},E=()=>{const D=Ct(n);if(D){const{height:x}=c.value,{top:V,height:Z}=D.getBoundingClientRect(),ee=window.innerHeight-V-Z,U=V;return x<=ee?gs.bottom:x>ee&&x<=U?gs.top:ee>=U?gs.bottom:gs.top}return gs.bottom},I=D=>E()===gs.bottom?T(D):S(D),j=()=>{const D=Ct(n);if(D)return a.autoPosition?I(D):T(D)},$=function(D){if(D){const x=D.scrollHeight>D.clientHeight,V=window.getComputedStyle(D).overflowY.indexOf("hidden")!==-1;return x&&!V}return!0},R=function(D){return!D||D===document.body||D.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(D)?D:R(D.parentNode)},G=D=>{if(D)switch(a.position){case ai.left:return{left:0,transform:"translateX(0)"};case ai.right:return{left:`${D.width}px`,transform:"translateX(-100%)"};default:return{left:`${D.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:v,getScrollableParent:R,shadowRender:(D,x)=>{var V,Z,ee;const U=document.createElement("div"),P=(V=Ct(n))==null?void 0:V.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const N=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;N.append(U);const b=G(P),w=o.h(D,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),N.removeChild(U)}}},Fr=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]}],G7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],K7={all:()=>Fr,monthYear:()=>Fr.filter(t=>t.use.includes("month-year")),input:()=>G7,timePicker:()=>Fr.filter(t=>t.use.includes("time")),action:()=>Fr.filter(t=>t.use.includes("action")),calendar:()=>Fr.filter(t=>t.use.includes("calendar")),menu:()=>Fr.filter(t=>t.use.includes("menu")),shared:()=>Fr.filter(t=>t.use.includes("shared")),yearMode:()=>Fr.filter(t=>t.use.includes("year-mode"))},Kt=(t,e,n)=>{const r=[];return K7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Qi=t=>{const e=o.computed(()=>r=>t.value?r?t.value.open:t.value.close:""),n=o.computed(()=>r=>t.value?r?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},eo=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=et(t),s=q(cr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[Dn(s),Dn(s)]:Dn(s),minutes:n.value.enabled?[zn(s),zn(s)]:zn(s),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:u=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",u)}}),c=o.computed(()=>u=>i.value[u]?i.value[u].month:0),d=o.computed(()=>u=>i.value[u]?i.value[u].year:0);return{calendars:i,time:a,modelValue:l,month:c,year:d}},X7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=et(e),{isDisabled:c}=Rr(e),d=o.ref(null),u=o.ref(cr(new Date,i.value.timezone)),h=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ft(d.value,t.value[0]):ot(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,H=t.value&&Array.isArray(t.value)?B():null;return Se(q(b.value),H)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!ot(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Se(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Se(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ft(t.value[0],w.value):ot(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Se(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Se(w,b.value)):Se(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=vn(d.value,+l.value.autoRange),B=ar(q(d.value),e.weekStart);return e.weekPicker?Se(B[1],q(b.value)):Se(w,q(b.value))}return!1}return!1},v=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=ar(q(d.value),e.weekStart);return e.weekPicker?ft(b.value,B[0])&&ot(b.value,B[1]):ft(b.value,d.value)&&ot(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=ar(q(d.value),e.weekStart);return e.weekPicker?Se(w[0],b.value):Se(d.value,b.value)}return!1}return!1},T=b=>Ca(t.value,d.value,b.value),S=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,O=()=>e.modelAuto?Qh(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?S()&&C(b):!1:C(b),j=b=>s.value?b7(b.value,a.value.highlight):!1,$=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},R=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&O()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?T(b):!1,D=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),H=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!$(b)&&(j(b)||R(b))&&!I(b)&&!H&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(b)&&(j(b)||R(b))&&I(b),dp__today:!e.noToday&&Se(b.value,u.value)&&b.current,"dp--past":ot(b.value,u.value),"dp--future":ft(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),V=b=>{if(t.value&&!Array.isArray(t.value)){const w=ar(t.value,e.weekStart);return{...P(b),dp__range_start:Se(w[0],b.value),dp__range_end:Se(w[1],b.value),dp__range_between_week:ft(b.value,w[0])&&ot(b.value,w[1])}}return{...P(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=ar(t.value[0],e.weekStart),B=t.value[1]?ar(t.value[1],e.weekStart):[];return{...P(b),dp__range_start:Se(w[0],b.value)||Se(B[0],b.value),dp__range_end:Se(w[1],b.value)||Se(B[1],b.value),dp__range_between_week:ft(b.value,w[0])&&ot(b.value,w[1])||ft(b.value,B[0])&&ot(b.value,B[1]),dp__range_between:ft(b.value,w[1])&&ot(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&O():_(b)&&O(),B=n.value.count>0?b.current&&_(b,!1)&&O():_(b,!1)&&O();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},P=b=>({...U(b),dp__cell_auto_range:v(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),N=b=>l.value.enabled?l.value.autoRange?P(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?V(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...D(b),...N(b),[e.dayClass?e.dayClass(b.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Rr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=et(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!ka($,r.value.disabledDates):!1,a=$=>{const R=r.value.maxDate?ft($,r.value.maxDate):!1,G=r.value.minDate?ot($,r.value.minDate):!1,D=i($),x=e.value.months.map(P=>+P).includes(Ce($)),V=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===h9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||D||x||U||V||Z)},l=($,R)=>ot(...Br(r.value.minDate,$,R))||Se(...Br(r.value.minDate,$,R)),c=($,R)=>ft(...Br(r.value.maxDate,$,R))||Se(...Br(r.value.maxDate,$,R)),d=($,R,G)=>{let D=!1;return r.value.maxDate&&G&&c($,R)&&(D=!0),r.value.minDate&&!G&&l($,R)&&(D=!0),D},u=($,R,G,D)=>{let x=!1;return D?r.value.minDate&&r.value.maxDate?x=d($,R,G):(r.value.minDate&&l($,R)||r.value.maxDate&&c($,R))&&(x=!0):x=!0,x},h=$=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!ka($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Eh({start:$[0],end:$[1]}).some(R=>f(R)):!0,g=$=>{if($){const R=ye($);return R>=+t.yearRange[0]&&R<=t.yearRange[1]}return!0},p=($,R)=>!!(Array.isArray($)&&$[R]&&(n.value.maxRange||n.value.minRange)&&g($[R])),_=($,R,G=0)=>{if(p(R,G)&&g($)){const D=Th($,R[G]),x=lf(R[G],$),V=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(D)-(n.value.minMaxRawRange?0:V);if(n.value.minRange&&n.value.maxRange)return Z>=+n.value.minRange&&Z<=+n.value.maxRange;if(n.value.minRange)return Z>=+n.value.minRange;if(n.value.maxRange)return Z<=+n.value.maxRange}return!0},y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=$=>Array.isArray($)?[$[0]?ed($[0]):null,$[1]?ed($[1]):null]:ed($),k=($,R,G)=>$.find(D=>+D.hours===Dn(R)&&D.minutes==="*"?!0:+D.minutes===zn(R)&&+D.hours===Dn(R))&&G,v=($,R,G)=>{const[D,x]=$,[V,Z]=R;return!k(D,V,G)&&!k(x,Z,G)&&G},M=($,R)=>{const G=Array.isArray(R)?R:[R];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?v(t.disabledTimes,G,$):!G.some(D=>k(t.disabledTimes,D,$)):$},T=($,R)=>{const G=Array.isArray(R)?[ps(R[0]),R[1]?ps(R[1]):void 0]:ps(R),D=!t.disabledTimes(G);return $&&D},S=($,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,$):T(R,$):R,O=$=>{let R=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(R=hf(t.maxTime,r.value.maxDate,"max",St(G),R)),(t.minTime||r.value.minDate)&&(R=hf(t.minTime,r.value.minDate,"min",St(G),R)),S($,R)},E=$=>{if(!t.monthPicker)return!0;let R=!0;const G=q(On($));if(r.value.minDate&&r.value.maxDate){const D=q(On(r.value.minDate)),x=q(On(r.value.maxDate));return ft(G,D)&&ot(G,x)||Se(G,D)||Se(G,x)}if(r.value.minDate){const D=q(On(r.value.minDate));R=ft(G,D)||Se(G,D)}if(r.value.maxDate){const D=q(On(r.value.maxDate));R=ot(G,D)||Se(G,D)}return R},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:O($)),j=o.computed(()=>$=>t.monthPicker?Array.isArray($)&&(n.value.enabled||s.value.enabled)?!$.filter(R=>!E(R)).length:E($):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:O,isTimeValid:I,isMonthValid:j}},Sa=()=>{const t=o.computed(()=>(r,s)=>r==null?void 0:r.includes(s)),e=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===0:!0),n=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},J7=(t,e,n)=>{const r=o.ref(0),s=o.reactive({[_s.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[_s.calendar]:!1,[_s.header]:!1}),i=o.computed(()=>t.monthPicker),a=h=>{var f;if((f=t.flow)!=null&&f.length){if(!h&&i.value)return u();s[h]=!0,Object.keys(s).filter(m=>!s[m]).length||u()}},l=()=>{var h;(h=t.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),u())},c=()=>{r.value=-1},d=(h,f,...m)=>{var g,p;t.flow[r.value]===h&&n.value&&((p=(g=n.value)[f])==null||p.call(g,...m))},u=()=>{d(Zn.month,"toggleMonthPicker",!0),d(Zn.year,"toggleYearPicker",!0),d(Zn.calendar,"toggleTimePicker",!1,!0),d(Zn.time,"toggleTimePicker",!0,!0);const h=t.flow[r.value];(h===Zn.hours||h===Zn.minutes||h===Zn.seconds)&&d(h,"toggleTimePicker",!0,!0,h)};return{childMount:a,updateFlowStep:l,resetFlow:c,flowStep:r}},va={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[String,Boolean,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},calendarClassName:{type:String,default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},$n={...va,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null}},Q7={key:1,class:"dp__input_wrap"},ey=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],ty={key:2,class:"dp__clear_icon"},ny=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...va},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTextInput:i,defaultedAriaLabels:a,defaultedInline:l,defaultedConfig:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h,getDefaultStartTime:f}=et(s),{checkMinMaxRange:m}=Rr(s),g=o.ref(),p=o.ref(null),_=o.ref(!1),y=o.ref(!1),C=o.computed(()=>({dp__pointer:!s.disabled&&!s.readonly&&!i.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:!!s.state,dp__input_invalid:s.state===!1,dp__input_focus:_.value||s.isMenuOpen,dp__input_reg:!i.value.enabled,[s.inputClassName]:!!s.inputClassName})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},v=x=>{const V=f();return k7(x,i.value.format??h(),V??cf({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:V}=i.value,[Z,ee]=x.split(`${V}`);if(Z){const U=v(Z.trim()),P=ee?v(ee.trim()):null,N=U&&P?[U,P]:[U];m(P,N,0)&&(g.value=U?N:null)}},T=()=>{y.value=!0},S=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const V=x.split(";");g.value=V.map(Z=>v(Z.trim())).filter(Z=>Z)}else g.value=v(x)},O=x=>{var V;const Z=typeof x=="string"?x:(V=x.target)==null?void 0:V.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),S(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(S(x.target.value),i.value.enterSubmit&&Xc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):$(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&S(x.target.value),i.value.tabSubmit&&Xc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0,!0),g.value=null):i.value.tabSubmit&&s.inputValue===""&&(g.value=null,r("clear",!0))},j=()=>{_.value=!0,r("focus"),o.nextTick().then(()=>{var x;i.value.enabled&&i.value.selectOnFocus&&((x=p.value)==null||x.select())})},$=x=>{x.preventDefault(),Vr(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},R=()=>{r("real-blur"),_.value=!1,(!s.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),s.autoApply&&i.value.enabled&&g.value&&!s.isMenuOpen&&(r("set-input-date",g.value),r("select-date"),g.value=null)},G=x=>{Vr(x,c.value,!0),r("clear")},D=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:$},[x.$slots.trigger&&!x.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(x.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",Q7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:O,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:D,onPaste:T,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:O,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),D],onBlur:R,onFocus:j,onKeypress:D,onPaste:T},null,42,ey)),o.createElementVNode("div",{onClick:V[2]||(V[2]=ee=>r("toggle"))},[x.$slots["input-icon"]&&!x.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:V[0]||(V[0]=ee=>r("toggle"))},[o.renderSlot(x.$slots,"input-icon")])):o.createCommentVNode("",!0),!x.$slots["input-icon"]&&!x.hideInputIcon&&!x.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(ri),{key:1,class:"dp__input_icon dp__input_icons",onClick:V[1]||(V[1]=ee=>r("toggle"))})):o.createCommentVNode("",!0)]),x.$slots["clear-icon"]&&t.inputValue&&x.clearable&&!x.disabled&&!x.readonly?(o.openBlock(),o.createElementBlock("span",ty,[o.renderSlot(x.$slots,"clear-icon",{clear:G})])):o.createCommentVNode("",!0),x.clearable&&!x.$slots["clear-icon"]&&t.inputValue&&!x.disabled&&!x.readonly?(o.openBlock(),o.createBlock(o.unref(Kh),{key:3,class:"dp__clear_icon dp__input_icons",onClick:V[3]||(V[3]=o.withModifiers(ee=>G(ee),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),ry=["title"],sy=["disabled"],iy=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...$n},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:s,defaultedPreviewFormat:i,defaultedMultiCalendars:a,defaultedTextInput:l,defaultedInline:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h}=et(r),{isTimeValid:f,isMonthValid:m}=Rr(r),{buildMatrix:g}=Ar(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),k=o.ref(null),v=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([Ct(p),Ct(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var D,x;const V=(D=k.value)==null?void 0:D.getBoundingClientRect(),Z=(x=v.value)==null?void 0:x.getBoundingClientRect();V&&Z&&(C.value.maxWidth=`${Z.width-V.width-20}px`),y.value=!0},0)},T=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),S=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!T.value),O=()=>{const D=i.value;return r.timePicker||r.monthPicker,D(St(r.internalModelValue))},E=()=>{const D=r.internalModelValue;return a.value.count>0?`${I(D[0])} - ${I(D[1])}`:[I(D[0]),I(D[1])]},I=D=>uf(D,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(D=>`${I(D)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):O()),$=()=>u.value.enabled?"; ":" - ",R=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&T.value?n("select-date"):n("invalid-select")};return(D,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:v,class:"dp__action_row"},[D.$slots["action-row"]?o.renderSlot(D.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:D.internalModelValue,disabled:S.value,selectDate:()=>D.$emit("select-date"),closePicker:()=>D.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:R.value,style:o.normalizeStyle(C.value)},[D.$slots["action-preview"]&&y.value?o.renderSlot(D.$slots,"action-preview",{key:0,value:D.internalModelValue}):o.createCommentVNode("",!0),!D.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(R.value),1)],64)):o.createCommentVNode("",!0)],12,ry)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[D.$slots["action-buttons"]?o.renderSlot(D.$slots,"action-buttons",{key:0,value:D.internalModelValue}):o.createCommentVNode("",!0),D.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=V=>D.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(V=>D.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(V=>D.$emit("close-picker"),["space"]))]},o.toDisplayString(D.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=V=>D.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(V=>D.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(V=>D.$emit("select-now"),["space"]))]},o.toDisplayString(D.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(D.selectText),41,sy)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),oy=["onKeydown"],ay={class:"dp__selection_grid_header"},ly=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],cy=["aria-label"],to=o.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:s,setMonthPicker:i}=Ar(),a=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:d,defaultedConfig:u}=et(l),{hideNavigationButtons:h}=Sa(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),v(!0)}),o.onUnmounted(()=>v(!1));const v=U=>{var P;l.arrowNavigation&&((P=l.headerRefs)!=null&&P.length?i(U):r(U))},M=()=>{var U;const P=Ct(g);P&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):P.focus({preventScroll:!0})),f.value=P.clientHeight<P.scrollHeight)},T=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),S=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),O=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,P;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((P=l.items)==null?void 0:P.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const P=Ct(m),N=Ct(g),b=Ct(y),w=Ct(k),B=b?b.getBoundingClientRect().height:0;N&&(N.getBoundingClientRect().height?C.value=N.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),P&&w&&U&&(w.scrollTop=P.offsetTop-w.offsetTop-(C.value/2-P.getBoundingClientRect().height)-B)})},$=U=>{U.disabled||a("selected",U.value)},R=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&R()},D=(U,P,N,b)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[N])?p.value[N][b]=U:p.value[N]=[U],x()))},x=()=>{var U,P;const N=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(St(N),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},V=U=>{l.arrowNavigation||Vr(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(R(),!l.isLast){const U=w7(l.menuWrapRef??null,"action-row");if(U){const P=nf(U);P==null||P.focus()}}};return e({focusGrid:M}),(U,P)=>{var N;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(T.value),style:o.normalizeStyle(S.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",ay,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,H)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>D(be,B,w,H),role:"gridcell",class:o.normalizeClass(O.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>$(B),onKeydown:[o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["space"])],onMouseover:be=>Z(B.value)},[o.createElementVNode("div",{class:o.normalizeClass(B.className)},[U.$slots.item?o.renderSlot(U.$slots,"item",{key:0,item:B}):o.createCommentVNode("",!0),U.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(B.text),1)],64))],2)],42,ly))),128))],2))),128))],6),U.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(N=o.unref(c))==null?void 0:N.toggleOverlay,class:o.normalizeClass(E.value),tabindex:"0",onClick:R,onKeydown:[o.withKeys(R,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,cy)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,oy)}}}),Ta=o.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=o.computed(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),r=o.computed(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,l)=>(o.openBlock(),o.createElementBlock("div",{key:a,class:o.normalizeClass(r.value)},[o.renderSlot(s.$slots,"default",{instance:a,index:l})],2))),128))],2))}}),dy=["aria-label","aria-disabled"],no=o.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,r=o.ref(null);return o.onMounted(()=>n("set-ref",r)),(s,i)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:i[0]||(i[0]=a=>s.$emit("activate")),onKeydown:[i[1]||(i[1]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["enter"])),i[2]||(i[2]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[o.renderSlot(s.$slots,"default")],2)],40,dy))}}),uy={class:"dp--year-mode-picker"},hy=["aria-label"],yf=o.defineComponent({__name:"YearModePicker",props:{...$n,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,r=t,{showRightIcon:s,showLeftIcon:i}=Sa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=et(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",uy,[o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:0,ref:"mpPrevIconRef","aria-label":(y=o.unref(c))==null?void 0:y.prevYear,disabled:t.isDisabled(!1),onActivate:_[0]||(_[0]=v=>g(!1))},{default:o.withCtx(()=>[p.$slots["arrow-left"]?o.renderSlot(p.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(C=o.unref(c))==null?void 0:C.openYearsOverlay,onClick:_[1]||(_[1]=()=>f(!1)),onKeydown:_[2]||(_[2]=o.withKeys(()=>f(!1),["enter"]))},[p.$slots.year?o.renderSlot(p.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),p.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,hy),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=v=>g(!0))},{default:o.withCtx(()=>[p.$slots["arrow-right"]?o.renderSlot(p.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(zc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(u)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(to,{key:0,items:t.items,"text-input":p.textInput,"esc-close":p.escClose,config:p.config,"is-last":p.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":p.hideNavigation,"aria-labels":p.ariaLabels,type:"year",onToggle:f,onSelected:_[4]||(_[4]=v=>m(v))},o.createSlots({"button-icon":o.withCtx(()=>[p.$slots["calendar-icon"]?o.renderSlot(p.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),p.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))]),_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:v})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:v.text,value:v.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):o.createCommentVNode("",!0)]),_:3},8,["name","css"])])}}}),ld=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Se(t,r))){const r=e.value.filter(s=>!Se(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},cd=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?ot(e,r[0])?(r.unshift(e),n("range-start",r[0]),n("range-start",r[1])):(r[1]=e,n("range-end",e)):(r=[e],n("range-start",e)),r},Da=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},wf=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>cr(q(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=cr(q(t.value),t.timezone))},bf=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ft(t,e.value[0])||Se(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(ot(t,e.value[1])||Se(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],kf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Zc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,S)=>{const O=We(On(new Date),{month:c.value(T),year:l.value(T)});return df(O,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,S)}),m=()=>{for(let T=0;T<t.value.count;T++)if(T===0)r.value[T]=r.value[0];else{const S=We(q(),r.value[T-1]);r.value[T]={month:Ce(S),year:ye(Oc(S,1))}}},g=T=>{if(!T)return m();const S=We(q(),r.value[T]);return r.value[0].year=ye(Gh(S,t.value.count-1)),m()},p=T=>i.focusStartDate?T[0]:T[1]?T[1]:T[0],_=()=>{if(s.value){const T=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(T),year:ye(T)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(T,S)=>{r.value[S].year=T,t.value.count&&!t.value.solo&&g(S)},C=o.computed(()=>T=>si(u.value,S=>{var O;const E=l.value(T)===S.value,I=Xi(S.value,ii(n.value.minDate),ii(n.value.maxDate))||((O=a.value.years)==null?void 0:O.includes(l.value(T))),j=td(e.value,S.value);return{active:E,disabled:I,highlighted:j}})),k=(T,S)=>{y(T,S),M(S)},v=(T,S=!1)=>{if(!f.value(T,S)){const O=S?l.value(T)+1:l.value(T)-1;y(O,T)}},M=(T,S=!1,O)=>{S||d("reset-flow"),O!==void 0?h.value[T]=O:h.value[T]=!h.value[T],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:v}},fy=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=et(t),{modelValue:f,year:m,month:g,calendars:p}=eo(t,e),_=o.computed(()=>Jh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:k,groupedYears:v,showYearPicker:M,toggleYearPicker:T,handleYearSelect:S,handleYear:O,isDisabled:E}=kf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),$=(b,w)=>{const B=p.value[b],H=j();return Array.isArray(H)?H.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===H.year&&w===H.month},R=(b,w,B)=>{var H,be;const Ie=j();return Array.isArray(Ie)?m.value(w)===((H=Ie[B])==null?void 0:H.year)&&b===((be=Ie[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const H=R(b,w,0)||R(b,w,1),be=lr(On(q()),b,m.value(w));return Ca(f.value,y.value,be)&&!H}return!1}return!1},D=o.computed(()=>b=>si(_.value,w=>{var B;const H=$(b,w.value),be=Xi(w.value,of(m.value(b),c.value.minDate),af(m.value(b),c.value.maxDate))||T7(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Ie=G(w.value,b),A=ff(l.value,w.value,m.value(b));return{active:H,disabled:be,isBetween:Ie,highlighted:A}})),x=(b,w)=>lr(On(q()),b,m.value(w)),V=(b,w)=>{const B=f.value?f.value:On(new Date);f.value=lr(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=bf(B,f,e,a):f.value?C(B,f.value)&&(f.value=cd(f,x(b,w),e)):f.value=[x(b,w)],Da(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{ld(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,N(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):V(b,w)),P=(b,w)=>{k(b,w),N(w,b,null)},N=(b,w,B)=>{let H=B;if(!H&&H!==0){const be=j();H=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:H})};return{groupedMonths:D,groupedYears:v,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{wf({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:P,toggleYearPicker:T,handleYearSelect:S,handleYear:O,getModelMonthYear:j}},my=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...$n},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Kt(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:v,handleYear:M,getModelMonthYear:T}=fy(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:T,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:S=>k(0,S)}),(S,O)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":o.unref(h).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:E})=>[S.$slots["month-year"]?o.renderSlot(S.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(d),months:o.unref(l)(E),years:o.unref(c)(E),selectMonth:o.unref(y),selectYear:o.unref(C),instance:E}))):(o.openBlock(),o.createBlock(to,{key:1,items:o.unref(l)(E),"arrow-navigation":S.arrowNavigation,"is-last":S.autoApply&&!o.unref(f).keepActionRow,"esc-close":S.escClose,height:o.unref(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(y)(I,E),onHoverValue:I=>o.unref(_)(I,E)},{header:o.withCtx(()=>[o.createVNode(yf,o.mergeProps(S.$props,{items:o.unref(c)(E),instance:E,"show-year-picker":o.unref(m)[E],year:o.unref(d)(E),"is-disabled":I=>o.unref(u)(E,I),onHandleYear:I=>o.unref(M)(E,I),onYearSelect:I=>o.unref(v)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx($=>[o.renderSlot(S.$slots,I,o.normalizeProps(o.guardReactiveProps($)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),py=(t,e)=>{const{modelValue:n}=eo(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=et(t),d=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(d.value=ye(q(t.startDate)))});const u=g=>Array.isArray(n.value)?n.value.some(p=>ye(p)===g):n.value?ye(n.value)===g:!1,h=g=>l.value.enabled&&Array.isArray(n.value)?Ca(n.value,r.value,m(g)):!1,f=o.computed(()=>si(Zc(t.yearRange,t.locale,t.reverseYears),g=>{const p=u(g.value),_=Xi(g.value,ii(c.value.minDate),ii(c.value.maxDate))||a.value.years.includes(g.value),y=h(g.value)&&!p,C=td(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>jn(On(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=jn(On(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(jn(Gt(q()),g))):n.value=[jn(Gt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=cd(n,m(g),e),Da(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},gy=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...$n},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const r=n,s=t,{groupedYears:i,modelValue:a,focusYear:l,selectYear:c,setHoverValue:d}=py(s,r),{defaultedConfig:u}=et(s);return e({getSidebarProps:()=>({modelValue:a,selectYear:c})}),(h,f)=>(o.openBlock(),o.createElementBlock("div",null,[h.$slots["month-year"]?o.renderSlot(h.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{years:o.unref(i),selectYear:o.unref(c)}))):(o.openBlock(),o.createBlock(to,{key:1,items:o.unref(i),"is-last":h.autoApply&&!o.unref(u).keepActionRow,height:o.unref(u).modeHeight,config:h.config,"no-overlay-focus":!!(h.noOverlayFocus||h.textInput),"focus-value":o.unref(l),type:"year","use-relative":"",onSelected:o.unref(c),onHoverValue:o.unref(d)},o.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:m})=>[o.renderSlot(h.$slots,"year-overlay-value",{text:m.text,value:m.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),_y={key:0,class:"dp__time_input"},yy=["aria-label","onKeydown","onClick"],wy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),by=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),ky=["aria-label","disabled","onKeydown","onClick"],Cy=["aria-label","onKeydown","onClick"],xy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),My=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Sy={key:0},vy=["aria-label","onKeydown"],Ty=o.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$n},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{setTimePickerElements:i,setTimePickerBackRef:a}=Ar(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:d,defaultedConfig:u,defaultedRange:h}=et(s),{transitionName:f,showTransition:m}=Qi(c),g=o.reactive({hours:!1,minutes:!1,seconds:!1}),p=o.ref("AM"),_=o.ref(null),y=o.ref([]);o.onMounted(()=>{r("mounted")});const C=A=>We(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),k=o.computed(()=>A=>D(A,s[A])||M(A,s[A])),v=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,z)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,z):!1,T=(A,z)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=z?+s[`${A}Increment`]:-+s[`${A}Increment`],L=s[A]+ue;return!s.validateTime(A,L)}return!1},S=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||T(A,!0)),O=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,z)=>Ch(We(q(),A),z),I=(A,z)=>u7(We(q(),A),z),j=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),$=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),R=o.computed(()=>$.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const z=w(+s.hours);return{text:z<10?`0${z}`:`${z}`,value:z}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),D=(A,z)=>{var ue;if(!s.disabledTimesConfig)return!1;const L=s.disabledTimesConfig(s.order,A==="hours"?z:void 0);return L[A]?!!((ue=L[A])!=null&&ue.includes(z)):!0},x=A=>{const z=s.is24?24:12,ue=A==="hours"?z:60,L=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?L:0,de=[];for(let ge=K;ge<ue;ge+=L)de.push({value:ge,text:ge<10?`0${ge}`:`${ge}`});return A==="hours"&&!s.is24&&de.push({value:0,text:"12"}),si(de,ge=>({active:!1,disabled:d.value.times[A].includes(ge.value)||!ee(ge.value,A)||D(A,ge.value)||M(A,ge.value)}))},V=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,z)=>{const ue=s.minTime?C(Kc(s.minTime)):null,L=s.maxTime?C(Kc(s.maxTime)):null,K=C(Kc(v.value,z,z==="minutes"||z==="seconds"?V(A):Z(A)));return ue&&L?(Ki(K,L)||ti(K,L))&&(Gi(K,ue)||ti(K,ue)):ue?Gi(K,ue)||ti(K,ue):L?Ki(K,L)||ti(K,L):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],P=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},N=A=>A==="hours"?Dn:A==="minutes"?zn:ei,b=(A,z=!0)=>{const ue=z?E:I,L=z?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+L,A)&&r(`update:${A}`,N(A)(ue({[A]:+s[A]},{[A]:+s[`${A}Increment`]})))},w=A=>s.is24?A:(A>=12?p.value="PM":p.value="AM",m7(A)),B=()=>{p.value==="PM"?(p.value="AM",r("update:hours",s.hours-12)):(p.value="PM",r("update:hours",s.hours+12)),r("am-pm-change",p.value)},H=A=>{g[A]=!0},be=(A,z,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[z])?y.value[z][ue]=A:y.value[z]=[A];const L=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&(L[1]=L[1].concat(_.value)),i(L,s.order)}},Ie=(A,z)=>(P(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?z+12:z):r(`update:${A}`,z));return e({openChildCmp:H}),(A,z)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",_y,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.value,(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[L.separator?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" : ")],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_top:A.timePickerInline,dp__inc_dec_button_disabled:S.value(L.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["space"])],onClick:te=>b(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[wy,by],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-up"]?o.renderSlot(A.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Wc),{key:1}))],64))],42,yy),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,1),type:"button","aria-label":(ge=o.unref(l))==null?void 0:ge.openTpOverlay(L.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":k.value(L.type),"dp--time-overlay-btn":!k.value(L.type)}),disabled:U(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["space"])],onClick:te=>P(L.type)},[A.$slots[L.type]?o.renderSlot(A.$slots,L.type,{key:0,text:G.value(L.type).text,value:G.value(L.type).value}):o.createCommentVNode("",!0),A.$slots[L.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value(L.type).text),1)],64))],42,ky),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:O.value(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["space"])],onClick:te=>b(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[xy,My],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-down"]?o.renderSlot(A.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(jc),{key:1}))],64))],42,Cy)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Sy,[A.$slots["am-pm-button"]?o.renderSlot(A.$slots,"am-pm-button",{key:0,toggle:B,value:p.value}):o.createCommentVNode("",!0),A.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ue=o.unref(l))==null?void 0:ue.amPmButton,tabindex:"0",onClick:B,onKeydown:[o.withKeys(o.withModifiers(B,["prevent"]),["enter"]),o.withKeys(o.withModifiers(B,["prevent"]),["space"])]},o.toDisplayString(p.value),41,vy))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(R.value,(L,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[L.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[L.type]?(o.openBlock(),o.createBlock(to,{key:0,items:x(L.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:L.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Ie(L.type,de),onToggle:de=>P(L.type),onResetFlow:z[0]||(z[0]=de=>A.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[A.$slots["clock-icon"]?o.renderSlot(A.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),A.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(A.timePickerInline?o.unref(ri):o.unref(Yc)),{key:1}))]),_:2},[A.$slots[`${L.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${L.type}-overlay-value`,{text:de.text,value:de.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),Dy={class:"dp--tp-wrap"},Oy=["aria-label","tabindex"],Ey=["tabindex"],$y=["aria-label"],Cf=o.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$n},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMatrix:i,setTimePicker:a}=Ar(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:d,defaultedTextInput:u,defaultedConfig:h,defaultedRange:f}=et(s),{transitionName:m,showTransition:g}=Qi(c),{hideNavigationButtons:p}=Sa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([Ct(_.value)],"time"):a(!0,s.timePicker)});const v=o.computed(()=>f.value.enabled&&s.modelAuto?Qh(s.internalModelValue):!0),M=o.ref(!1),T=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),S=o.computed(()=>{const x=[];if(f.value.enabled)for(let V=0;V<2;V++)x.push(T(V));else x.push(T(0));return x}),O=(x,V=!1,Z="")=>{V||r("reset-flow"),M.value=x,r(x?"overlay-opened":"overlay-closed"),s.arrowNavigation&&a(x),o.nextTick(()=>{Z!==""&&C.value[0]&&C.value[0].openChildCmp(Z)})},E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!h.value.keepActionRow})),I=Kt(l,"timePicker"),j=(x,V,Z)=>f.value.enabled?V===0?[x,S.value[1][Z]]:[S.value[0][Z],x]:x,$=x=>{r("update:hours",x)},R=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},D=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=nf(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:O}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",Dy,[!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:_,type:"button",class:o.normalizeClass(E.value),"aria-label":(Z=o.unref(d))==null?void 0:Z.openTimePicker,tabindex:x.noOverlayFocus?void 0:0,onKeydown:[V[0]||(V[0]=o.withKeys(ee=>O(!0),["enter"])),V[1]||(V[1]=o.withKeys(ee=>O(!0),["space"]))],onClick:V[2]||(V[2]=ee=>O(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Yc),{key:1}))],42,Oy)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:$,setMinutes:R,setSeconds:G}):o.createCommentVNode("",!0),x.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(x.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.value,(U,P)=>o.withDirectives((o.openBlock(),o.createBlock(Ty,o.mergeProps({key:P},{...x.$props,order:P,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:P===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(N,b)=>t.validateTime(N,j(b,P,N)),"onUpdate:hours":N=>$(j(N,P,"hours")),"onUpdate:minutes":N=>R(j(N,P,"minutes")),"onUpdate:seconds":N=>G(j(N,P,"seconds")),onMounted:D,onOverlayClosed:D,onAmPmChange:V[3]||(V[3]=N=>x.$emit("am-pm-change",N))}),o.createSlots({_:2},[o.renderList(o.unref(I),(N,b)=>({name:N,fn:o.withCtx(w=>[o.renderSlot(x.$slots,N,o.normalizeProps(o.guardReactiveProps(w)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,P===0?!0:v.value]])),128))],2)),!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:o.normalizeClass(E.value),"aria-label":(ee=o.unref(d))==null?void 0:ee.closeTimePicker,tabindex:"0",onKeydown:[V[4]||(V[4]=o.withKeys(U=>O(!1),["enter"])),V[5]||(V[5]=o.withKeys(U=>O(!1),["space"]))],onClick:V[6]||(V[6]=U=>O(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))],42,$y)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,Ey)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),xf=(t,e,n,r)=>{const{defaultedRange:s}=et(t),i=(k,v)=>Array.isArray(e[k])?e[k][v]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,v)=>k?v!==void 0?Nr(k,i("hours",v),i("minutes",v),a(v)):Nr(k,e.hours,e.minutes,a()):Ic(q(),a(v)),c=(k,v)=>{e[k]=v},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,v)=>{const M=Object.fromEntries(Object.keys(e).map(T=>T===k?[T,v]:[T,e[T]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const T=O=>n.value?Nr(n.value[O],M.hours[O],M.minutes[O],M.seconds[O]):null,S=O=>Rc(n.value[O],0);return!(Se(T(0),T(1))&&(Gi(T(0),S(1))||Ki(T(1),S(0))))}return!0},h=(k,v)=>{u(k,v)&&(c(k,v),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,v,M,T)=>{v&&f(k),!v&&!M&&m(k),M&&g(k),n.value&&T(n.value)},_=k=>{if(k){const v=Array.isArray(k),M=v?[+k[0].hours,+k[1].hours]:+k.hours,T=v?[+k[0].minutes,+k[1].minutes]:+k.minutes,S=v?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",T),t.enableSeconds&&c("seconds",S)}},y=(k,v)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(v||v===0)&&(M.hours=v),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,v)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:T,hours:S}=y(k,v),O=T.filter(E=>+E.hours===S);return((M=O[0])==null?void 0:M.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:(O==null?void 0:O.map(E=>+E.minutes))??[],seconds:(O==null?void 0:O.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},Py=(t,e)=>{const{modelValue:n,time:r}=eo(t,e),{defaultedStartTime:s,defaultedRange:i}=et(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=xf(t,r,n),f=k=>{const{hours:v,minutes:M,seconds:T}=k;return{hours:+v,minutes:+M,seconds:T?+T:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const v=f(t.startTime[0]),M=f(t.startTime[1]);return[We(q(),v),We(q(),M)]}const k=f(t.startTime);return We(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,v]=m();n.value=[l(k,0),l(v,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ps(q(k[0])),ps(q(k[1]))]:[ps(k??q())],_=(k,v,M)=>{c("hours",k),c("minutes",v),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,v]=p(n.value);return i.value.enabled?_([k.hours,v.hours],[k.minutes,v.minutes],[k.seconds,v.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,v)=>k&&l(k,v)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,v=!0,M=!1)=>{a(k,v,M,C)},validateTime:h}},Ly=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...$n},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Kt(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=Py(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(Cf,o.mergeProps(f.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":o.unref(d),"validate-time":o.unref(h),"onUpdate:hours":m[0]||(m[0]=g=>o.unref(u)(g)),"onUpdate:minutes":m[1]||(m[1]=g=>o.unref(u)(g,!1)),"onUpdate:seconds":m[2]||(m[2]=g=>o.unref(u)(g,!1,!0)),onAmPmChange:m[3]||(m[3]=g=>f.$emit("am-pm-change",g))}),o.createSlots({_:2},[o.renderList(o.unref(a),(g,p)=>({name:g,fn:o.withCtx(_=>[o.renderSlot(f.$slots,g,o.normalizeProps(o.guardReactiveProps(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Vy={class:"dp__month_year_row"},Ny=["aria-label","onClick","onKeydown"],By=o.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...$n},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTransitions:i,defaultedAriaLabels:a,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:d,defaultedHighlight:u,propDates:h}=et(s),{transitionName:f,showTransition:m}=Qi(i),{buildMatrix:g}=Ar(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=U7(s,r),{showLeftIcon:C,showRightIcon:k}=Sa(),v=o.ref(!1),M=o.ref(!1),T=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const S=P=>({get:()=>s[P],set:N=>{const b=P===En.month?En.year:En.month;r("update-month-year",{[P]:N,[b]:s[b]}),P===En.month?D(!0):x(!0)}}),O=o.computed(S(En.month)),E=o.computed(S(En.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===En.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===En.month?D:x})),j=o.computed(()=>s.months.find(N=>N.value===s.month)||{text:"",value:0}),$=o.computed(()=>si(s.months,P=>{const N=s.month===P.value,b=Xi(P.value,of(s.year,h.value.minDate),af(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=ff(u.value,P.value,s.year);return{active:N,disabled:b,highlighted:w}})),R=o.computed(()=>si(s.years,P=>{const N=s.year===P.value,b=Xi(P.value,ii(h.value.minDate),ii(h.value.maxDate))||c.value.years.includes(P.value),w=td(u.value,P.value);return{active:N,disabled:b,highlighted:w}})),G=(P,N)=>{N!==void 0?P.value=N:P.value=!P.value,P.value||r("overlay-closed")},D=(P=!1,N)=>{V(P),G(v,N)},x=(P=!1,N)=>{V(P),G(M,N)},V=P=>{P||r("reset-flow")},Z=(P,N)=>{s.arrowNavigation&&(T.value[N]=Ct(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,N;return[{type:En.month,index:1,toggle:D,modelValue:O.value,updateModelValue:b=>O.value=b,text:j.value.text,showSelectionGrid:v.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:En.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:rf(s.year,s.locale),showSelectionGrid:M.value,items:R.value,ariaLabel:(N=a.value)==null?void 0:N.openYearsOverlay}]}),U=o.computed(()=>s.disableYearSelect?[ee.value[0]]:s.yearFirst?[...ee.value].reverse():ee.value);return e({toggleMonthPicker:D,toggleYearPicker:x,handleMonthYearChange:p}),(P,N)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",Vy,[P.$slots["month-year"]?o.renderSlot(P.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:o.unref(y),handleMonthYearChange:o.unref(p),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(C)(o.unref(l),t.instance)&&!P.vertical?(o.openBlock(),o.createBlock(no,{key:0,"aria-label":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:N[0]||(N[0]=H=>o.unref(p)(!1,!0)),onSetRef:N[1]||(N[1]=H=>Z(H,0))},{default:o.withCtx(()=>[P.$slots["arrow-left"]?o.renderSlot(P.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:P.disableYearSelect}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(U.value,(H,be)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:H.type},[o.createElementVNode("button",{ref_for:!0,ref:Ie=>Z(Ie,be+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":H.ariaLabel,onClick:H.toggle,onKeydown:[o.withKeys(o.withModifiers(H.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(H.toggle,["prevent"]),["space"])]},[P.$slots[H.type]?o.renderSlot(P.$slots,H.type,{key:0,text:H.text,value:s[H.type]}):o.createCommentVNode("",!0),P.$slots[H.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(H.text),1)],64))],40,Ny),o.createVNode(o.Transition,{name:o.unref(f)(H.showSelectionGrid),css:o.unref(m)},{default:o.withCtx(()=>[H.showSelectionGrid?(o.openBlock(),o.createBlock(to,{key:0,items:H.items,"arrow-navigation":P.arrowNavigation,"hide-navigation":P.hideNavigation,"is-last":P.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:P.config,type:H.type,"header-refs":[],"esc-close":P.escClose,"menu-wrap-ref":P.menuWrapRef,"text-input":P.textInput,"aria-labels":P.ariaLabels,onSelected:H.updateModelValue,onToggle:H.toggle},o.createSlots({"button-icon":o.withCtx(()=>[P.$slots["calendar-icon"]?o.renderSlot(P.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),P.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))]),_:2},[P.$slots[`${H.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Ie})=>[o.renderSlot(P.$slots,`${H.type}-overlay-value`,{text:Ie.text,value:Ie.value})]),key:"0"}:void 0,P.$slots[`${H.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${H.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(H.type))))]),key:"1"}:void 0,P.$slots[`${H.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${H.type}-overlay-header`,{toggle:H.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),o.unref(C)(o.unref(l),t.instance)&&P.vertical?(o.openBlock(),o.createBlock(no,{key:1,"aria-label":(w=o.unref(a))==null?void 0:w.prevMonth,disabled:o.unref(_)(!1),onActivate:N[2]||(N[2]=H=>o.unref(p)(!1,!0))},{default:o.withCtx(()=>[P.$slots["arrow-up"]?o.renderSlot(P.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Wc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:N[3]||(N[3]=H=>o.unref(p)(!0,!0)),onSetRef:N[4]||(N[4]=H=>Z(H,P.disableYearSelect?2:3))},{default:o.withCtx(()=>[P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.renderSlot(P.$slots,P.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.vertical?o.unref(jc):o.unref(zc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),Ay=["aria-label"],Fy={class:"dp__calendar_header",role:"row"},Ry={key:0,class:"dp__calendar_header_item",role:"gridcell"},Iy=["aria-label"],Hy=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),zy=["aria-label"],Yy={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Wy={class:"dp__cell_inner"},jy=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Zy=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...$n},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Ar(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=et(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),v=o.ref({left:"50%"}),M=o.ref(!1),T=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),S=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):f7(s.formatLocale,s.locale,+s.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:g}),l.value.noSwipe||p.value&&(p.value.addEventListener("touchstart",ee,{passive:!1}),p.value.addEventListener("touchend",U,{passive:!1}),p.value.addEventListener("touchmove",P,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const O=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(z,ue)=>{if(s.transitions){const L=Gt(lr(q(),s.month,s.year));y.value=ft(Gt(lr(q(),z,ue)),L)?a.value[O(!0)]:a.value[O(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>z=>{const ue=p7(z);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),$=o.computed(()=>z=>Se(z,f.value)),R=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>z=>s.hideOffsetDates?z.current:!0),D=z=>Hn(z,"yyyy-MM-dd"),x=async(z,ue,L)=>{const K=Ct(g.value[ue][L]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=z.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),k.value[0]){const{left:Rt,width:Ot}=k.value[0].getBoundingClientRect();Rt<0&&(ae={left:"0"},te=0,v.value.left=`${de/2}px`),window.innerWidth<Rt+Ot&&(ae={right:"0"},te=0,v.value.left=`${Ot-de/2}px`)}m.value={bottom:`${ge}px`,...ae,transform:`translateX(${te}%)`},r("tooltip-open",z.marker)}},V=async(z,ue,L)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",z);r("set-hover-date",z),(de=(K=z.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(z,ue,L)},Z=z=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",z.marker))},ee=z=>{C.value.startX=z.changedTouches[0].screenX,C.value.startY=z.changedTouches[0].screenY},U=z=>{C.value.endX=z.changedTouches[0].screenX,C.value.endY=z.changedTouches[0].screenY,N()},P=z=>{s.vertical&&!s.inline&&z.preventDefault()},N=()=>{const z=s.vertical?"Y":"X";Math.abs(C.value[`start${z}`]-C.value[`end${z}`])>10&&r("handle-swipe",C.value[`start${z}`]>C.value[`end${z}`]?"right":"left")},b=(z,ue,L)=>{z&&(Array.isArray(g.value[ue])?g.value[ue][L]=z:g.value[ue]=[z]),s.arrowNavigation&&i(g.value,"calendar")},w=z=>{s.monthChangeOnScroll&&(z.preventDefault(),r("handle-scroll",z))},B=z=>u.value.type==="local"?Lc(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?$c(z.value):typeof u.value.type=="function"?u.value.type(z.value):"",H=z=>{const ue=z[0];return u.value.hideOnOffsetDates?z.some(L=>L.current)?B(ue):"":B(ue)},be=(z,ue)=>{h.value.enabled||(Vr(z,l.value),r("select-date",ue))},Ie=z=>{Vr(z,l.value)},A=z=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",z)):h.value.enabled&&r("select-date",z)};return e({triggerTransition:E}),(z,ue)=>{var L;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(R.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":(L=o.unref(c))==null?void 0:L.calendarWrap},[o.createElementVNode("div",Fy,[z.weekNumbers?(o.openBlock(),o.createElementBlock("div",Ry,o.toDisplayString(z.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.value,(K,de)=>{var ge,ae;return o.openBlock(),o.createElementBlock("div",{key:de,class:"dp__calendar_header_item",role:"gridcell","aria-label":(ae=(ge=o.unref(c))==null?void 0:ge.weekDay)==null?void 0:ae.call(ge,de)},[z.$slots["calendar-header"]?o.renderSlot(z.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),z.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,Iy)}),128))]),Hy,o.createVNode(o.Transition,{name:y.value,css:!!z.transitions},{default:o.withCtx(()=>{var K;return[_.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((K=o.unref(c))==null?void 0:K.calendarDays)||void 0,onMouseleave:ue[1]||(ue[1]=de=>M.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(T.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[z.weekNumbers?(o.openBlock(),o.createElementBlock("div",Yy,[o.createElementVNode("div",Wy,o.toDisplayString(H(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Rt,Ot,$r;return o.openBlock(),o.createElementBlock("div",{id:D(ae.value),ref_for:!0,ref:Mt=>b(Mt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(Ot=(Rt=o.unref(c))==null?void 0:Rt.day)==null?void 0:Ot.call(Rt,ae),tabindex:"0",onClick:o.withModifiers(Mt=>be(Mt,ae),["prevent"]),onKeydown:[o.withKeys(Mt=>z.$emit("select-date",ae),["enter"]),o.withKeys(Mt=>z.$emit("handle-space",ae),["space"])],onMouseenter:Mt=>V(ae,ge,te),onMouseleave:Mt=>Z(ae),onMousedown:Mt=>A(ae),onMouseup:ue[0]||(ue[0]=Mt=>M.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",ae.classData])},[z.$slots.day&&G.value(ae)?o.renderSlot(z.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),z.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ae.text),1)],64)),ae.marker&&G.value(ae)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[z.$slots.marker?o.renderSlot(z.$slots,"marker",{key:0,marker:ae.marker,day:+ae.text,date:ae.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(j.value(ae.marker)),style:o.normalizeStyle(ae.marker.color?{backgroundColor:ae.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),$.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[($r=ae.marker)!=null&&$r.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Ie},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(Mt,Ks)=>(o.openBlock(),o.createElementBlock("div",{key:Ks,class:"dp__tooltip_text"},[z.$slots["marker-tooltip"]?o.renderSlot(z.$slots,"marker-tooltip",{key:0,tooltip:Mt,day:ae.value}):o.createCommentVNode("",!0),z.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(Mt.color?{backgroundColor:Mt.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(Mt.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle(v.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,jy)}),128))]))),128))],40,zy)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,Ay)],2)}}}),Mf=t=>Array.isArray(t),Uy=(t,e,n,r)=>{const s=o.ref([]),i=o.ref(new Date),{modelValue:a,calendars:l,time:c}=eo(t,e),{defaultedMultiCalendars:d,defaultedStartTime:u,defaultedRange:h,defaultedTz:f,propDates:m,defaultedMultiDates:g}=et(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Rr(t),{updateTimeValues:k,getSetDateTime:v,setTime:M,assignStartTime:T,validateTime:S,disabledTimesConfig:O}=xf(t,c,a,r),E=o.computed(()=>F=>l.value[F]?l.value[F].month:0),I=o.computed(()=>F=>l.value[F]?l.value[F].year:0),j=(F,Q,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=tf(Q)?(we=l.value[F])==null?void 0:we.month:Q,l.value[F].year=tf(ce)?(X=l.value[F])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,Q)=>{JSON.stringify(F)!==JSON.stringify(Q)&&D()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(H(),u.value&&T(u.value)),D(!0),t.focusStartDate&&t.startDate&&H())});const R=o.computed(()=>{var F;return(F=t.flow)!=null&&F.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&R.value&&e("auto-apply")},D=(F=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,N(F)):Z(a.value,F);if(d.value.count&&F&&!t.startDate)return V(q(),F)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,V=(F,Q=!1)=>{if((!d.value.count||!d.value.static||Q)&&j(0,Ce(F),ye(F)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=We(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=Ch(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,Q)=>{V(F),M("hours",Dn(F)),M("minutes",zn(F)),M("seconds",ei(F)),d.value.count&&Q&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const Q=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-Q)<d.value.count?0:1}return 1},U=(F,Q)=>{F[1]&&h.value.showLastInRange?V(F[ee(F)],Q):V(F[0],Q);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(Dn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(ei,"seconds"))},P=(F,Q)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,Q);if(g.value.enabled&&Q){const ce=F[F.length-1];return Z(ce,Q)}},N=F=>{const Q=a.value;P(Q,F),d.value.count&&d.value.solo&&B()},b=(F,Q)=>{const ce=We(q(),{month:E.value(Q),year:I.value(Q)}),we=F<0?Tn(ce,1):ni(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(Q,Ce(we),ye(we)),e("update-month-year",{instance:Q,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(Q),n())},w=F=>{for(let Q=F-1;Q>=0;Q--){const ce=ni(We(q(),{month:E.value(Q+1),year:I.value(Q+1)}),1);j(Q,Ce(ce),ye(ce))}for(let Q=F+1;Q<=d.value.count-1;Q++){const ce=Tn(We(q(),{month:E.value(Q-1),year:I.value(Q-1)}),1);j(Q,Ce(ce),ye(ce))}},B=()=>{if(Array.isArray(a.value)&&a.value.length===2){const F=q(q(a.value[1]?a.value[1]:Tn(a.value[0],1))),[Q,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(Q!==we||Q===we&&ce!==X)&&d.value.solo&&j(1,Ce(F),ye(F))}else a.value&&!Array.isArray(a.value)&&(j(0,Ce(a.value),ye(a.value)),V(q()))},H=()=>{t.startDate&&(j(0,Ce(q(t.startDate)),ye(q(t.startDate))),d.value.count&&w(0))},be=(F,Q)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(F.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,b(t.monthChangeOnScroll!=="inverse"?-F.deltaY:F.deltaY,Q))}},Ie=(F,Q,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,Q)},A=(F,Q)=>{b(F==="right"?-1:1,Q)},z=F=>{if(m.value.markers)return ka(F.value,m.value.markers)},ue=(F,Q)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||Q>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(F,Q,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(Q.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[Pr,or]=ue(he,fe);for(let Xs=1;Xs<=X;Xs++)if(or?!!(Xs%2)==Pr:Pr){const ds=F[0].days[0],yh=K(vn(ds.value,-7),Ce(Q));F.unshift({days:yh})}else{const ds=F[F.length-1],yh=ds.days[ds.days.length-1],RH=K(vn(yh.value,1),Ce(Q));F.push({days:RH})}}return F},K=(F,Q)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==Q;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,Q)=>{const ce=[],we=new Date(Q,F),X=new Date(Q,F+1,0),he=t.weekStart,fe=In(we,{weekStartsOn:he}),Pr=or=>{const Xs=K(or,F);if(ce.push({days:Xs}),!ce[ce.length-1].days.some(ds=>Se(Gt(ds.value),Gt(X)))){const ds=vn(or,7);Pr(ds)}};return Pr(fe),L(ce,we,X,he)},ge=F=>{const Q=Nr(q(F.value),c.hours,c.minutes,Ks());e("date-update",Q),g.value.enabled?ld(Q,a,g.value.limit):a.value=Q,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?lf(s.value[0],F).some(Q=>_(Q)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Rt=(F,Q)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(Q&&Ot(F.value),s.value=ce):e("invalid-date",F.value)},Ot=F=>{const Q=Ce(q(F)),ce=ye(q(F));if(j(0,Q,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=x7(We(q(F),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},$r=F=>{if(ae(F.value)||!C(F.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",F.value);s.value=bf(q(F.value),a,e,h)},Mt=(F,Q)=>{if(te(),h.value.autoRange)return Rt(F,Q);if(h.value.fixedStart||h.value.fixedEnd)return $r(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?ot(q(F.value),q(s.value[0]))?(s.value.unshift(q(F.value)),e("range-end",s.value[0])):(s.value[1]=q(F.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",F.value),e("invalid-date",F.value)):(s.value[0]=q(F.value),e("range-start",s.value[0]))},Ks=(F=!0)=>t.enableSeconds?Array.isArray(c.seconds)?F?c.seconds[0]:c.seconds[1]:c.seconds:0,ga=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Ks(F!==1))},_a=()=>{var F,Q;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((Q=s.value)==null?void 0:Q[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Sn=()=>{s.value.length&&(s.value[0]&&!s.value[1]?ga(0):(ga(0),ga(1),r()),_a(),a.value=s.value.slice(),Da(s.value,e,t.autoApply,t.modelAuto))},fh=(F,Q=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);Mf(c.hours)&&Mf(c.minutes)&&!g.value.enabled&&(Mt(F,Q),Sn())},mh=(F,Q)=>{var ce;j(F,Q.month,Q.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:Q.month,year:Q.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!Q.fromNav&&(we===Zn.month||we===Zn.year)&&r()},vc=(F,Q)=>{wf({value:F,modelValue:a,range:h.value.enabled,timezone:Q?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>D(!0))},ph=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=ot(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),$()},gh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=_h();a.value[a.value.length-1]=v(F)}else a.value=a.value.map((F,Q)=>F&&v(F,Q));else a.value=v(a.value);e("time-update")},_h=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:O,validateTime:S,getCalendarDays:de,getMarker:z,handleScroll:be,handleSwipe:A,handleArrow:Ie,selectDate:fh,updateMonthYear:mh,presetDate:vc,selectCurrentDate:ph,updateTime:(F,Q=!0,ce=!1)=>{k(F,Q,ce,gh)}}},qy={key:0},Gy=o.defineComponent({__name:"DatePicker",props:{...$n},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:v,updateTime:M}=Uy(s,r,ee,U),T=o.useSlots(),{setHoverDate:S,getDayClassData:O,clearHoverDate:E}=X7(c,s),{defaultedMultiCalendars:I}=et(s),j=o.ref([]),$=o.ref([]),R=o.ref(null),G=Kt(T,"calendar"),D=Kt(T,"monthYear"),x=Kt(T,"timePicker"),V=N=>{s.shadow||r("mount",N)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>N=>f(a.value(N),l.value(N)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=O(w),w))})));function ee(N){var b;N||N===0?(b=$.value[N])==null||b.triggerTransition(a.value(N),l.value(N)):$.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const P=(N,b=!1)=>{y(N,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:v,toggleMonthPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(N,b)},toggleYearPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(N,b)},toggleTimePicker:(N,b,w)=>{var B;(B=R.value)==null||B.toggleTimePicker(N,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(N,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Ta,{"multi-calendars":o.unref(I).count,collapse:N.collapse},{default:o.withCtx(({instance:w,index:B})=>[N.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(By,o.mergeProps({key:0,ref:H=>{H&&(j.value[B]=H)},months:o.unref(Jh)(N.formatLocale,N.locale,N.monthNameFormat),years:o.unref(Zc)(N.yearRange,N.locale,N.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onMount:b[0]||(b[0]=H=>V(o.unref(_s).header)),onResetFlow:b[1]||(b[1]=H=>N.$emit("reset-flow")),onUpdateMonthYear:H=>o.unref(C)(w,H),onOverlayClosed:b[2]||(b[2]=H=>N.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(D),(H,be)=>({name:H,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,H,o.normalizeProps(o.guardReactiveProps(Ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(Zy,o.mergeProps({ref:H=>{H&&($.value[B]=H)},"mapped-dates":Z.value(w),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onSelectDate:H=>o.unref(y)(H,w!==1),onHandleSpace:H=>P(H,w!==1),onSetHoverDate:b[3]||(b[3]=H=>o.unref(S)(H)),onHandleScroll:H=>o.unref(p)(H,w),onHandleSwipe:H=>o.unref(_)(H,w),onMount:b[4]||(b[4]=H=>V(o.unref(_s).calendar)),onResetFlow:b[5]||(b[5]=H=>N.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=H=>N.$emit("tooltip-open",H)),onTooltipClose:b[7]||(b[7]=H=>N.$emit("tooltip-close",H))}),o.createSlots({_:2},[o.renderList(o.unref(G),(H,be)=>({name:H,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,H,o.normalizeProps(o.guardReactiveProps({...Ie})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),N.enableTimePicker?(o.openBlock(),o.createElementBlock("div",qy,[N.$slots["time-picker"]?o.renderSlot(N.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(d),updateTime:o.unref(M)}))):(o.openBlock(),o.createBlock(Cf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:R},N.$props,{hours:o.unref(d).hours,minutes:o.unref(d).minutes,seconds:o.unref(d).seconds,"internal-model-value":N.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),onMount:b[8]||(b[8]=w=>V(o.unref(_s).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>N.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>N.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>N.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>N.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(H=>[o.renderSlot(N.$slots,w,o.normalizeProps(o.guardReactiveProps(H)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),Ky=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=et(t),{modelValue:u,year:h,month:f,calendars:m}=eo(t,e),{isDisabled:g}=Rr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:k,handleYearSelect:v,handleYear:M}=kf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(D,x)=>[D,x].map(V=>Hn(V,"MMMM",{locale:t.formatLocale})).join("-"),S=o.computed(()=>D=>u.value?Array.isArray(u.value)?u.value.some(x=>jh(D,x)):jh(u.value,D):!1),O=D=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Se(D,u.value[0])||Se(D,u.value[1]);return Ca(u.value,n.value,D)&&!x}return!1}return!1},E=(D,x)=>D.quarter===Oh(x)&&D.year===ye(x),I=D=>typeof i.value=="function"?i.value({quarter:Oh(D),year:ye(D)}):!!i.value.quarters.find(x=>E(x,D)),j=o.computed(()=>D=>{const x=We(new Date,{year:h.value(D)});return b4({start:$h(x),end:k4(x)}).map(V=>{const Z=fs(V),ee=Ph(V),U=g(V),P=O(Z),N=I(Z);return{text:T(Z,ee),value:Z,active:S.value(Z),highlighted:N,disabled:U,isBetween:P}})}),$=D=>{ld(D,u,d.value.limit),e("auto-apply",!0)},R=D=>{u.value=cd(u,D,e),Da(u.value,e,t.autoApply,t.modelAuto)},G=D=>{u.value=D,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:D=>{n.value=D},selectYear:p,selectQuarter:(D,x,V)=>{if(!V)return m.value[x].month=Ce(Ph(D)),d.value.enabled?$(D):a.value.enabled?R(D):G(D)},toggleYearPicker:k,handleYearSelect:v,handleYear:M}},Xy={class:"dp--quarter-items"},Jy=["disabled","onClick","onMouseover"],Qy=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...$n},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Kt(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=Ky(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(v,M)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":o.unref(l).count,collapse:v.collapse,stretch:""},{default:o.withCtx(({instance:T})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(yf,o.mergeProps(v.$props,{items:o.unref(d)(T),instance:T,"show-year-picker":o.unref(g)[T],year:o.unref(u)(T),"is-disabled":S=>o.unref(h)(T,S),onHandleYear:S=>o.unref(k)(T,S),onYearSelect:S=>o.unref(C)(S,T),onToggleYearPicker:S=>o.unref(y)(T,S==null?void 0:S.flow,S==null?void 0:S.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(S,O)=>({name:S,fn:o.withCtx(E=>[o.renderSlot(v.$slots,S,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",Xy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(S,O)=>(o.openBlock(),o.createElementBlock("div",{key:O},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),disabled:S.disabled,onClick:E=>o.unref(_)(S.value,T,S.disabled),onMouseover:E=>o.unref(p)(S.value)},[v.$slots.quarter?o.renderSlot(v.$slots,"quarter",{key:0,value:S.value,text:S.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(S.text),1)],64))],42,Jy)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),e8=["id","aria-label"],t8={key:0,class:"dp--menu-load-container"},n8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),r8=[n8],s8={key:0,class:"dp__sidebar_left"},i8=["onClick","onKeydown"],o8={key:2,class:"dp__sidebar_right"},a8={key:3,class:"dp__action_extra"},Sf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...va,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.ref(null),a=o.computed(()=>{const{openOnTop:L,...K}=s;return{...K,flowStep:O.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=mf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=et(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const L=Ct(i);if(L&&!h.value.enabled&&!f.value.enabled&&(l(!0),R()),L){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),Vr(de,m.value,!0)};L.addEventListener("pointerdown",K),L.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",k)});const k=()=>{const L=Ct(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:v,arrowLeft:M,arrowDown:T,arrowUp:S}=Ar(),{flowStep:O,updateFlowStep:E,childMount:I,resetFlow:j}=J7(s,r,C),$=o.computed(()=>s.monthPicker?my:s.yearPicker?gy:s.timePicker?Ly:s.quarterPicker?Qy:Gy),R=()=>{const L=Ct(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),D=()=>{s.openOnTop&&r("recalculate-position")},x=Kt(u,"action"),V=o.computed(()=>s.monthPicker||s.yearPicker?Kt(u,"monthYear"):s.timePicker?Kt(u,"timePicker"):Kt(u,"shared")),Z=o.computed(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ee=o.computed(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,[s.menuClassName]:!!s.menuClassName})),P=L=>{Vr(L,m.value,!0)},N=()=>{s.escClose&&r("close-picker")},b=L=>{if(s.arrowNavigation){if(L==="up")return S();if(L==="down")return T();if(L==="left")return M();if(L==="right")return v()}else L==="left"||L==="up"?Ie("handleArrow","left",0,L==="up"):Ie("handleArrow","right",0,L==="down")},w=L=>{c(L.shiftKey),!s.disableMonthYearSelect&&L.code==="Tab"&&L.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&(L.preventDefault(),Vr(L,m.value,!0),r("close-picker"))},B=()=>{R(),r("time-picker-close")},H=L=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,L),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,L)},be=(L,K=0)=>{var de,ge,ae;return L==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):L==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):L==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):H(K)},Ie=(L,...K)=>{var de,ge;(de=C.value)!=null&&de[L]&&((ge=C.value)==null||ge[L](...K))},A=()=>{Ie("selectCurrentDate")},z=(L,K)=>{Ie("presetDate",L,K)},ue=()=>{Ie("clearHoverDate")};return e({updateMonthYear:(L,K)=>{Ie("updateMonthYear",L,K)},switchView:be}),(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=L.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:P,onKeydown:[o.withKeys(N,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[(L.disabled||L.readonly)&&o.unref(f).enabled||L.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[L.loading?(o.openBlock(),o.createElementBlock("div",t8,r8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!L.teleportCenter?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(Z.value)},null,2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"innerMenuRef",ref:_,class:o.normalizeClass({dp__menu_content_wrapper:((ge=L.presetDates)==null?void 0:ge.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=L.presetDates)==null?void 0:ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[L.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",s8,[o.renderSlot(L.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.presetDates.length?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(L.presetDates,(te,Rt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Rt},[te.slot?o.renderSlot(L.$slots,te.slot,{key:0,presetDate:z,label:te.label,value:te.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(te.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,i8))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:g,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent($.value),o.mergeProps({ref_key:"dynCmpRef",ref:C},a.value,{"flow-step":o.unref(O),onMount:o.unref(I),onUpdateFlowStep:o.unref(E),onResetFlow:o.unref(j),onFocusMenu:R,onSelectDate:K[0]||(K[0]=te=>L.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>L.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>L.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>L.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>L.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>L.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>L.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>L.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>L.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>L.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>L.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:D,onUpdateMonthYear:K[11]||(K[11]=te=>L.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>L.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>L.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>L.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(V.value,(te,Rt)=>({name:te,fn:o.withCtx(Ot=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Ot})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",o8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",a8,[L.$slots["action-extra"]?o.renderSlot(L.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!L.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(iy,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>L.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>L.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>L.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Rt)=>({name:te,fn:o.withCtx(Ot=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Ot})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,e8)}}}),l8=typeof window<"u"?window:void 0,dd=()=>{},c8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,d8=(t,e,n,r)=>{if(!t)return dd;let s=dd;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=dd})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return c8(a),a},u8=(t,e,n,r={})=>{const{window:s=l8,event:i="pointerdown"}=r;return s?d8(s,i,a=>{const l=Ct(t),c=Ct(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},h8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...va},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=o.ref(!1),l=o.toRef(s,"modelValue"),c=o.toRef(s,"timezone"),d=o.ref(null),u=o.ref(null),h=o.ref(null),f=o.ref(!1),m=o.ref(null),g=o.ref(!1),p=o.ref(!1),_=o.ref(!1),{setMenuFocused:y,setShiftKey:C}=mf(),{clearArrowNav:k}=Ar(),{validateDate:v,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:S,defaultedInline:O,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=et(s),{menuTransition:$,showTransition:R}=Qi(T);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),O.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Kt(i,"all",s.presetDates),D=Kt(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:V,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=q7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:O,emit:r,props:s,slots:i}),{inputValue:N,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:H,checkBeforeEmit:be}=Z7(r,s,f),Ie=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:O.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:O.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),z=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||O.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>O.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Sn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!O.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Sn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(P(Sf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||_a(),w(s.modelValue))},Rt=()=>{var X;N.value="",_a(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Sn()},Ot=()=>{const X=b.value;return!X||!Array.isArray(X)&&v(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&v(X[0])&&v(X[1])?!0:I.value.partialRange&&!s.timePicker?v(X[0]):!1:!1},$r=()=>{be()&&Ot()?(B(),Sn()):r("invalid-select",b.value)},Mt=X=>{Ks(),B(),E.value.closeOnAutoApply&&!X&&Sn()},Ks=()=>{h.value&&S.value.enabled&&h.value.setParsedDate(b.value)},ga=(X=!1)=>{s.autoApply&&M(b.value)&&Ot()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&Mt(X):Mt(X))},_a=()=>{S.value.enabled||(b.value=null)},Sn=()=>{O.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),N.value&&w(l.value)),_a(),r("blur"))},fh=(X,he,fe=!1)=>{if(!X){b.value=null;return}const Pr=Array.isArray(X)?!X.some(Xs=>!v(Xs)):v(X),or=M(X);Pr&&or&&(b.value=X,he&&(g.value=fe,$r(),r("text-submit")))},mh=()=>{s.autoApply&&M(b.value)&&B(),Ks()},vc=()=>a.value?Sn():te(),ph=X=>{b.value=X},gh=()=>{S.value.enabled&&(f.value=!0,H()),r("focus")},_h=()=>{if(S.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=y7(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:ef(X.month),year:ef(X.year)})},Q=X=>{w(X??s.modelValue)},ce=(X,he)=>{var fe;(fe=u.value)==null||fe.switchView(X,he)},we=X=>E.value.onClickOutside?E.value.onClickOutside(X):Sn();return u8(d,h,()=>we(Ot)),e({closeMenu:Sn,selectDate:$r,clearValue:Rt,openMenu:te,onScroll:K,formatInputValue:H,updateInternalModelValue:ph,setMonthYear:F,parseModel:Q,switchView:ce,toggleMenu:vc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Ie.value),"data-datepicker-instance":""},[o.createVNode(ny,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(N),"onUpdate:inputValue":he[0]||(he[0]=fe=>o.isRef(N)?N.value=fe:null),"is-menu-open":a.value},X.$props,{onClear:Rt,onOpen:te,onSetInputDate:fh,onSetEmptyDate:o.unref(B),onSelectDate:$r,onToggle:vc,onClose:Sn,onFocus:gh,onBlur:_h,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(D),(fe,Pr)=>({name:fe,fn:o.withCtx(or=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps(or)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(X.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(z.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref($)(o.unref(x)),css:o.unref(R)&&!o.unref(O).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(O).enabled},style:o.unref(O).enabled?void 0:o.unref(V)}),[o.createVNode(Sf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Sn,onSelectDate:$r,onAutoApply:ga,onTimeUpdate:mh,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,Pr)=>({name:fe,fn:o.withCtx(or=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps({...or})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),ud=(()=>{const t=h8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:ud},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(ud[t]=e)});const f8={class:"scope-datepicker__wrapper"},m8={key:0,class:"scope-datepicker__label"},p8={class:"scope-datepicker__icon-wrapper"},g8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,inline:Boolean,fullWidth:Boolean,label:String,multiCalendars:Boolean|Object,size:{type:String,default:"md"},maxDate:{type:Date,default:null},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["open","closed","cleared"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=o.ref(!1),i=()=>{n("open"),s.value=!0},a=()=>{n("closed"),s.value=!1};return(l,c)=>(o.openBlock(),o.createElementBlock("div",f8,[t.label?(o.openBlock(),o.createElementBlock("div",m8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-datepicker__container",{"-full-width":t.fullWidth}])},[o.createVNode(o.unref(ud),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"max-date":t.maxDate,"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline,onOpen:i,onClosed:a,onCleared:c[1]||(c[1]=d=>n("cleared"))},null,8,["style","class","modelValue","max-date","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",p8,[r.value?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(Le,{key:0,class:o.normalizeClass(["scope-datepicker__switcher",{"-active":s.value}]),icon:"chevron-down-small"},null,8,["class"]))])],2)]))}},_8=Oe(g8,[["__scopeId","data-v-78c1c6cd"]]),y8=["onClick"],w8=Oe({__name:"Selector",props:o.mergeModels({options:Array,width:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>n.width?{width:n.width}:null),s=i=>{e.value=i};return(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-selector",style:o.normalizeStyle(r.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.options,(l,c)=>(o.openBlock(),o.createElementBlock("button",{key:c,onClick:d=>s(l),class:o.normalizeClass(["scope-selector__option",{"-selected":typeof l=="object"?l.name===e.value.name:l===i.name}])},o.toDisplayString(typeof l=="object"?l.name:l),11,y8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),b8=["disabled","onInput","onKeydown"],k8={key:0,class:"scope-number-input__error-message"},C8=Oe({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String,spaceBetween:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.ref(null),r=o.useModel(t,"modelValue");r.value||(r.value=Array(e.necessaryLength).fill(null));const s=({target:a},l)=>{if(r.value[l]=a.value,!a.value.length){a.value=null;return}if(a.value.length>1){const u=a.value.split("");u.forEach((h,f)=>{const m=l+f;m>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[m].value=h,r.value[m]=h)}),l+=u.length-2}const d=l+1;d<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[d].focus()},i=(a,l)=>{const{code:c,target:d}=a,u=l-1,h=l+1,f=u>=0,m=h<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":f&&n.value.querySelectorAll("[data-number-code-input]")[u].focus(),a.preventDefault();break;case"ArrowRight":case"ArrowDown":m&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),a.preventDefault();break;case"Backspace":if(!d.value.length&&f){const g=n.value.querySelectorAll("[data-number-code-input]")[u];r.value[u]=null,g.value=null,g.focus()}break}};return(a,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",{class:o.normalizeClass(["scope-number-input__fieldset",{"-space-between":t.spaceBetween}]),"data-number-code-form":""},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,d)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:d,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:u=>s(u,d),onKeydown:u=>i(u,d),required:""},null,42,b8))),128))],2),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",k8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-6ba29b49"]]),x8={class:"scope-navigation-tab__icon-wrapper"},M8={key:0},S8=Oe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,notActive:Boolean,isFull:{type:Boolean,default:!0},page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected,"-not-active":t.notActive}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",x8,[o.createVNode(Le,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",M8,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-4d7796fc"]]);function dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
1
+ (function(se,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(se=typeof globalThis<"u"?globalThis:se||self,o(se.Scope360Core={},se.Vue))})(this,function(se,o){"use strict";var RH=Object.defineProperty;var IH=(se,o,us)=>o in se?RH(se,o,{enumerable:!0,configurable:!0,writable:!0,value:us}):se[o]=us;var W=(se,o,us)=>(IH(se,typeof o!="symbol"?o+"":o,us),us);var cs;const us=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},Le={__name:"Icon",props:{icon:String},setup(t){const e=t;let n=o.defineAsyncComponent(()=>us(Object.assign({"../assets/icons/account.svg":()=>Promise.resolve().then(()=>$N),"../assets/icons/apple.svg":()=>Promise.resolve().then(()=>VN),"../assets/icons/arrow-down-right.svg":()=>Promise.resolve().then(()=>AN),"../assets/icons/arrow-down.svg":()=>Promise.resolve().then(()=>IN),"../assets/icons/arrow-right.svg":()=>Promise.resolve().then(()=>YN),"../assets/icons/arrow-rotating.svg":()=>Promise.resolve().then(()=>ZN),"../assets/icons/arrow-up-right.svg":()=>Promise.resolve().then(()=>GN),"../assets/icons/arrow-up.svg":()=>Promise.resolve().then(()=>JN),"../assets/icons/binance-circle.svg":()=>Promise.resolve().then(()=>tB),"../assets/icons/binance.svg":()=>Promise.resolve().then(()=>sB),"../assets/icons/book-guide.svg":()=>Promise.resolve().then(()=>aB),"../assets/icons/bxs-down-arrow.svg":()=>Promise.resolve().then(()=>dB),"../assets/icons/bxs-up-arrow.svg":()=>Promise.resolve().then(()=>fB),"../assets/icons/bxs_up-arrow.svg":()=>Promise.resolve().then(()=>gB),"../assets/icons/calendar.svg":()=>Promise.resolve().then(()=>wB),"../assets/icons/charts.svg":()=>Promise.resolve().then(()=>CB),"../assets/icons/check-circle-fill.svg":()=>Promise.resolve().then(()=>SB),"../assets/icons/checked.svg":()=>Promise.resolve().then(()=>DB),"../assets/icons/chevron-down-small.svg":()=>Promise.resolve().then(()=>$B),"../assets/icons/chevron-large.svg":()=>Promise.resolve().then(()=>VB),"../assets/icons/chevron-left-small.svg":()=>Promise.resolve().then(()=>AB),"../assets/icons/chevron-left.svg":()=>Promise.resolve().then(()=>IB),"../assets/icons/chevron-right-small.svg":()=>Promise.resolve().then(()=>YB),"../assets/icons/chevron-right.svg":()=>Promise.resolve().then(()=>ZB),"../assets/icons/chevron-top-small.svg":()=>Promise.resolve().then(()=>GB),"../assets/icons/chevron.svg":()=>Promise.resolve().then(()=>JB),"../assets/icons/circle-close.svg":()=>Promise.resolve().then(()=>tA),"../assets/icons/circle-plus.svg":()=>Promise.resolve().then(()=>sA),"../assets/icons/clock.svg":()=>Promise.resolve().then(()=>aA),"../assets/icons/close-popup.svg":()=>Promise.resolve().then(()=>dA),"../assets/icons/close.svg":()=>Promise.resolve().then(()=>fA),"../assets/icons/coins-add.svg":()=>Promise.resolve().then(()=>gA),"../assets/icons/cookie.svg":()=>Promise.resolve().then(()=>wA),"../assets/icons/copy.svg":()=>Promise.resolve().then(()=>CA),"../assets/icons/cross.svg":()=>Promise.resolve().then(()=>SA),"../assets/icons/currency.svg":()=>Promise.resolve().then(()=>DA),"../assets/icons/custom-filters.svg":()=>Promise.resolve().then(()=>$A),"../assets/icons/danger.svg":()=>Promise.resolve().then(()=>VA),"../assets/icons/date-range-light.svg":()=>Promise.resolve().then(()=>AA),"../assets/icons/download.svg":()=>Promise.resolve().then(()=>IA),"../assets/icons/edit-small.svg":()=>Promise.resolve().then(()=>YA),"../assets/icons/edit.svg":()=>Promise.resolve().then(()=>ZA),"../assets/icons/eye-slash.svg":()=>Promise.resolve().then(()=>GA),"../assets/icons/eye.svg":()=>Promise.resolve().then(()=>JA),"../assets/icons/file-bend.svg":()=>Promise.resolve().then(()=>tF),"../assets/icons/filter.svg":()=>Promise.resolve().then(()=>sF),"../assets/icons/folder-add.svg":()=>Promise.resolve().then(()=>aF),"../assets/icons/folder-open.svg":()=>Promise.resolve().then(()=>dF),"../assets/icons/futures.svg":()=>Promise.resolve().then(()=>fF),"../assets/icons/getting-started-1.svg":()=>Promise.resolve().then(()=>gF),"../assets/icons/getting-started-2.svg":()=>Promise.resolve().then(()=>wF),"../assets/icons/getting-started.svg":()=>Promise.resolve().then(()=>CF),"../assets/icons/google-authenticator.svg":()=>Promise.resolve().then(()=>SF),"../assets/icons/google.svg":()=>Promise.resolve().then(()=>DF),"../assets/icons/hamburger.svg":()=>Promise.resolve().then(()=>$F),"../assets/icons/hide.svg":()=>Promise.resolve().then(()=>VF),"../assets/icons/home.svg":()=>Promise.resolve().then(()=>AF),"../assets/icons/info.svg":()=>Promise.resolve().then(()=>IF),"../assets/icons/layout-column.svg":()=>Promise.resolve().then(()=>YF),"../assets/icons/lock.svg":()=>Promise.resolve().then(()=>ZF),"../assets/icons/logo-with-text.svg":()=>Promise.resolve().then(()=>GF),"../assets/icons/mistake.svg":()=>Promise.resolve().then(()=>JF),"../assets/icons/modal-cross.svg":()=>Promise.resolve().then(()=>tR),"../assets/icons/move_light.svg":()=>Promise.resolve().then(()=>sR),"../assets/icons/notification_bell.svg":()=>Promise.resolve().then(()=>aR),"../assets/icons/open-date.svg":()=>Promise.resolve().then(()=>dR),"../assets/icons/pair.svg":()=>Promise.resolve().then(()=>fR),"../assets/icons/pie-chart-light.svg":()=>Promise.resolve().then(()=>gR),"../assets/icons/pie-chart.svg":()=>Promise.resolve().then(()=>wR),"../assets/icons/plus.svg":()=>Promise.resolve().then(()=>CR),"../assets/icons/pop-up_opener.svg":()=>Promise.resolve().then(()=>SR),"../assets/icons/portfolio-alt.svg":()=>Promise.resolve().then(()=>DR),"../assets/icons/portfolio-success.svg":()=>Promise.resolve().then(()=>$R),"../assets/icons/portfolio.svg":()=>Promise.resolve().then(()=>VR),"../assets/icons/position-criteria.svg":()=>Promise.resolve().then(()=>AR),"../assets/icons/position-type.svg":()=>Promise.resolve().then(()=>IR),"../assets/icons/preview.svg":()=>Promise.resolve().then(()=>YR),"../assets/icons/progress-box-checked.svg":()=>Promise.resolve().then(()=>ZR),"../assets/icons/progress-box.svg":()=>Promise.resolve().then(()=>GR),"../assets/icons/progress_0.svg":()=>Promise.resolve().then(()=>JR),"../assets/icons/progress_1.svg":()=>Promise.resolve().then(()=>tI),"../assets/icons/progress_2.svg":()=>Promise.resolve().then(()=>sI),"../assets/icons/qr.svg":()=>Promise.resolve().then(()=>aI),"../assets/icons/scope-futures-logo.svg":()=>Promise.resolve().then(()=>dI),"../assets/icons/search.svg":()=>Promise.resolve().then(()=>fI),"../assets/icons/session.svg":()=>Promise.resolve().then(()=>gI),"../assets/icons/settings-2.svg":()=>Promise.resolve().then(()=>wI),"../assets/icons/settings.svg":()=>Promise.resolve().then(()=>CI),"../assets/icons/setup.svg":()=>Promise.resolve().then(()=>SI),"../assets/icons/share.svg":()=>Promise.resolve().then(()=>DI),"../assets/icons/side.svg":()=>Promise.resolve().then(()=>$I),"../assets/icons/sort.svg":()=>Promise.resolve().then(()=>VI),"../assets/icons/spot.svg":()=>Promise.resolve().then(()=>AI),"../assets/icons/star.svg":()=>Promise.resolve().then(()=>II),"../assets/icons/status.svg":()=>Promise.resolve().then(()=>YI),"../assets/icons/success.svg":()=>Promise.resolve().then(()=>ZI),"../assets/icons/switch.svg":()=>Promise.resolve().then(()=>GI),"../assets/icons/target.svg":()=>Promise.resolve().then(()=>JI),"../assets/icons/thrash.svg":()=>Promise.resolve().then(()=>tH),"../assets/icons/three-dots-vertical.svg":()=>Promise.resolve().then(()=>sH),"../assets/icons/three-dots.svg":()=>Promise.resolve().then(()=>aH),"../assets/icons/tip.svg":()=>Promise.resolve().then(()=>dH),"../assets/icons/trading_terminal.svg":()=>Promise.resolve().then(()=>fH),"../assets/icons/trash.svg":()=>Promise.resolve().then(()=>gH),"../assets/icons/trending.svg":()=>Promise.resolve().then(()=>wH),"../assets/icons/vimeo_play_1.svg":()=>Promise.resolve().then(()=>CH),"../assets/icons/vimeo_play_2.svg":()=>Promise.resolve().then(()=>SH),"../assets/icons/warning.svg":()=>Promise.resolve().then(()=>DH),"../assets/icons/waterfall-light.svg":()=>Promise.resolve().then(()=>$H),"../assets/icons/weekday.svg":()=>Promise.resolve().then(()=>VH),"../assets/icons/x.svg":()=>Promise.resolve().then(()=>AH)}),`../assets/icons/${e.icon}.svg`));return(r,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(o.unref(n)),{name:t.icon},null,8,["name"]))}},Oe=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},b5=["disabled"],k5={key:1},ya=Oe({__name:"Button",props:{size:{type:String,default:"md"},view:{type:String,default:"primary"},ctaText:String,icon:String,iconAlignment:String,width:String,disabled:Boolean,fullWidth:Boolean},setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null);return(r,s)=>(o.openBlock(),o.createElementBlock("button",{disabled:t.disabled,style:o.normalizeStyle(n.value),class:o.normalizeClass([`-${t.size}`,`-${t.view}`,`-${t.iconAlignment}`,{"-no-icon":!t.icon},{"-only-icon":t.icon&&!t.ctaText},{"-full-width":t.fullWidth}])},[t.icon?(o.openBlock(),o.createBlock(Le,{key:0,icon:t.icon},null,8,["icon"])):o.createCommentVNode("",!0),t.ctaText?(o.openBlock(),o.createElementBlock("span",k5,o.toDisplayString(t.ctaText),1)):o.createCommentVNode("",!0)],14,b5))}},[["__scopeId","data-v-ffc148b3"]]);function Tc(t){return t===0?!1:Array.isArray(t)&&t.length===0?!0:!t}function C5(t){return(...e)=>!t(...e)}function x5(t,e){return t===void 0&&(t="undefined"),t===null&&(t="null"),t===!1&&(t="false"),t.toString().toLowerCase().indexOf(e.trim())!==-1}function wh(t,e,n,r){return e?t.filter(s=>x5(r(s,n),e)).sort((s,i)=>r(s,n).length-r(i,n).length):t}function M5(t){return t.filter(e=>!e.$isLabel)}function Dc(t,e){return n=>n.reduce((r,s)=>s[t]&&s[t].length?(r.push({$groupLabel:s[e],$isLabel:!0}),r.concat(s[t])):r,[])}function S5(t,e,n,r,s){return i=>i.map(a=>{if(!a[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const l=wh(a[n],t,e,s);return l.length?{[r]:a[r],[n]:l}:[]})}const bh=(...t)=>e=>t.reduce((n,r)=>r(n),e);var v5={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(t,e){return Tc(t)?"":e?t[e]:t}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const t=this.search||"",e=t.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,e,this.label):wh(n,e,this.label,this.customLabel):n=this.groupValues?Dc(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(C5(this.isSelected)):n,this.taggable&&e.length&&!this.isExistingOption(e)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:t}):n.unshift({isTag:!0,label:t})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(t=>t[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(e=>this.customLabel(e,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(t,e,n){return bh(S5(e,n,this.groupValues,this.groupLabel,this.customLabel),Dc(this.groupValues,this.groupLabel))(t)},flatAndStrip(t){return bh(Dc(this.groupValues,this.groupLabel),M5)(t)},updateSearch(t){this.search=t},isExistingOption(t){return this.options?this.optionKeys.indexOf(t)>-1:!1},isSelected(t){const e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled(t){return!!t.$isDisabled},getOptionLabel(t){if(Tc(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;const e=this.customLabel(t,this.label);return Tc(e)?"":e},select(t,e){if(t.$isLabel&&this.groupSelect){this.selectGroup(t);return}if(!(this.blockKeys.indexOf(e)!==-1||this.disabled||t.$isDisabled||t.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(e==="Tab"&&!this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t)){e!=="Tab"&&this.removeElement(t);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([t])):this.$emit("update:modelValue",t),this.$emit("select",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(t){const e=this.options.find(n=>n[this.groupLabel]===t.$groupLabel);if(e){if(this.wholeGroupSelected(e)){this.$emit("remove",e[this.groupValues],this.id);const n=this.internalValue.filter(r=>e[this.groupValues].indexOf(r)===-1);this.$emit("update:modelValue",n)}else{let n=e[this.groupValues].filter(r=>!(this.isOptionDisabled(r)||this.isSelected(r)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(t){return t[this.groupValues].every(e=>this.isSelected(e)||this.isOptionDisabled(e))},wholeGroupDisabled(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement(t,e=!0){if(this.disabled||t.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof t=="object"?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.multiple){const r=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",r)}else this.$emit("update:modelValue",null);this.$emit("remove",t,this.id),this.closeOnSelect&&e&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}},T5={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight(t,e){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":e.$isLabel}];const n=this.options.find(r=>r[this.groupLabel]===e.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:t}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(t){this.pointer=t,this.pointerDirty=!0}}},kh={name:"vue-multiselect",mixins:[v5,T5],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:t=>`and ${t} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const D5={ref:"tags",class:"multiselect__tags"},O5={class:"multiselect__tags-wrap"},E5={class:"multiselect__spinner"},$5={key:0},P5={class:"multiselect__option"},L5={class:"multiselect__option"},V5=o.createTextVNode("No elements found. Consider changing the search query."),N5={class:"multiselect__option"},B5=o.createTextVNode("List is empty.");function A5(t,e,n,r,s,i){return o.openBlock(),o.createBlock("div",{tabindex:t.searchable?-1:n.tabindex,class:[{"multiselect--active":t.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":i.isAbove,"multiselect--has-options-group":i.hasOptionGroup},"multiselect"],onFocus:e[14]||(e[14]=a=>t.activate()),onBlur:e[15]||(e[15]=a=>t.searchable?!1:t.deactivate()),onKeydown:[e[16]||(e[16]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["self","prevent"]),["down"])),e[17]||(e[17]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:e[18]||(e[18]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:e[19]||(e[19]=o.withKeys(a=>t.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+t.id},[o.renderSlot(t.$slots,"caret",{toggle:t.toggle},()=>[o.createVNode("div",{onMousedown:e[1]||(e[1]=o.withModifiers(a=>t.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),o.renderSlot(t.$slots,"clear",{search:t.search}),o.createVNode("div",D5,[o.renderSlot(t.$slots,"selection",{search:t.search,remove:t.removeElement,values:i.visibleValues,isOpen:t.isOpen},()=>[o.withDirectives(o.createVNode("div",O5,[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(i.visibleValues,(a,l)=>o.renderSlot(t.$slots,"tag",{option:a,search:t.search,remove:t.removeElement},()=>[(o.openBlock(),o.createBlock("span",{class:"multiselect__tag",key:l},[o.createVNode("span",{textContent:o.toDisplayString(t.getOptionLabel(a))},null,8,["textContent"]),o.createVNode("i",{tabindex:"1",onKeypress:o.withKeys(o.withModifiers(c=>t.removeElement(a),["prevent"]),["enter"]),onMousedown:o.withModifiers(c=>t.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[o.vShow,i.visibleValues.length>0]]),t.internalValue&&t.internalValue.length>n.limit?o.renderSlot(t.$slots,"limit",{key:0},()=>[o.createVNode("strong",{class:"multiselect__strong",textContent:o.toDisplayString(n.limitText(t.internalValue.length-n.limit))},null,8,["textContent"])]):o.createCommentVNode("v-if",!0)]),o.createVNode(o.Transition,{name:"multiselect__loading"},{default:o.withCtx(()=>[o.renderSlot(t.$slots,"loading",{},()=>[o.withDirectives(o.createVNode("div",E5,null,512),[[o.vShow,n.loading]])])]),_:3}),t.searchable?(o.openBlock(),o.createBlock("input",{key:0,ref:"search",name:n.name,id:t.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:t.placeholder,style:i.inputStyle,value:t.search,disabled:n.disabled,tabindex:n.tabindex,onInput:e[2]||(e[2]=a=>t.updateSearch(a.target.value)),onFocus:e[3]||(e[3]=o.withModifiers(a=>t.activate(),["prevent"])),onBlur:e[4]||(e[4]=o.withModifiers(a=>t.deactivate(),["prevent"])),onKeyup:e[5]||(e[5]=o.withKeys(a=>t.deactivate(),["esc"])),onKeydown:[e[6]||(e[6]=o.withKeys(o.withModifiers(a=>t.pointerForward(),["prevent"]),["down"])),e[7]||(e[7]=o.withKeys(o.withModifiers(a=>t.pointerBackward(),["prevent"]),["up"])),e[9]||(e[9]=o.withKeys(o.withModifiers(a=>t.removeLastElement(),["stop"]),["delete"]))],onKeypress:e[8]||(e[8]=o.withKeys(o.withModifiers(a=>t.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+t.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):o.createCommentVNode("v-if",!0),i.isSingleLabelVisible?(o.openBlock(),o.createBlock("span",{key:1,class:"multiselect__single",onMousedown:e[10]||(e[10]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"singleLabel",{option:i.singleValue},()=>[o.createTextVNode(o.toDisplayString(t.currentOptionLabel),1)])],32)):o.createCommentVNode("v-if",!0),i.isPlaceholderVisible?(o.openBlock(),o.createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:e[11]||(e[11]=o.withModifiers((...a)=>t.toggle&&t.toggle(...a),["prevent"]))},[o.renderSlot(t.$slots,"placeholder",{},()=>[o.createTextVNode(o.toDisplayString(t.placeholder),1)])],32)):o.createCommentVNode("v-if",!0)],512),o.createVNode(o.Transition,{name:"multiselect"},{default:o.withCtx(()=>[o.withDirectives(o.createVNode("div",{class:"multiselect__content-wrapper",onFocus:e[12]||(e[12]=(...a)=>t.activate&&t.activate(...a)),tabindex:"-1",onMousedown:e[13]||(e[13]=o.withModifiers(()=>{},["prevent"])),style:{maxHeight:t.optimizedHeight+"px"},ref:"list"},[o.createVNode("ul",{class:"multiselect__content",style:i.contentStyle,role:"listbox",id:"listbox-"+t.id},[o.renderSlot(t.$slots,"beforeList"),t.multiple&&t.max===t.internalValue.length?(o.openBlock(),o.createBlock("li",$5,[o.createVNode("span",P5,[o.renderSlot(t.$slots,"maxElements",{},()=>[o.createTextVNode("Maximum of "+o.toDisplayString(t.max)+" options selected. First remove a selected option to select another.",1)])])])):o.createCommentVNode("v-if",!0),!t.max||t.internalValue.length<t.max?(o.openBlock(!0),o.createBlock(o.Fragment,{key:1},o.renderList(t.filteredOptions,(a,l)=>(o.openBlock(),o.createBlock("li",{class:"multiselect__element",key:l,id:t.id+"-"+l,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock("span",{key:0,class:[t.optionHighlight(l,a),"multiselect__option"],onClick:o.withModifiers(c=>t.select(a),["stop"]),onMouseenter:o.withModifiers(c=>t.pointerSet(l),["self"]),"data-select":a&&a.isTag?t.tagPlaceholder:i.selectLabelText,"data-selected":i.selectedLabelText,"data-deselect":i.deselectLabelText},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),a&&(a.$isLabel||a.$isDisabled)?(o.openBlock(),o.createBlock("span",{key:1,"data-select":t.groupSelect&&i.selectGroupLabelText,"data-deselect":t.groupSelect&&i.deselectGroupLabelText,class:[t.groupHighlight(l,a),"multiselect__option"],onMouseenter:o.withModifiers(c=>t.groupSelect&&t.pointerSet(l),["self"]),onMousedown:o.withModifiers(c=>t.selectGroup(a),["prevent"])},[o.renderSlot(t.$slots,"option",{option:a,search:t.search,index:l},()=>[o.createVNode("span",null,o.toDisplayString(t.getOptionLabel(a)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):o.createCommentVNode("v-if",!0)],8,["id","role"]))),128)):o.createCommentVNode("v-if",!0),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",L5,[o.renderSlot(t.$slots,"noResult",{search:t.search},()=>[V5])])],512),[[o.vShow,n.showNoResults&&t.filteredOptions.length===0&&t.search&&!n.loading]]),o.withDirectives(o.createVNode("li",null,[o.createVNode("span",N5,[o.renderSlot(t.$slots,"noOptions",{},()=>[B5])])],512),[[o.vShow,n.showNoOptions&&(t.options.length===0||i.hasOptionGroup===!0&&t.filteredOptions.length===0)&&!t.search&&!n.loading]]),o.renderSlot(t.$slots,"afterList")],12,["id"])],36),[[o.vShow,t.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}kh.render=A5;const F5={key:0,class:"scope-multiselect-label"},R5=Oe({__name:"Dropdown",props:o.mergeModels({size:{type:String,default:"md"},searchable:Boolean,options:Array,placeholder:String,label:String,invalid:Boolean,disabled:Boolean,width:{type:String,default:"250px"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.computed(()=>e.width?{width:e.width}:null),r=o.ref(null),s=o.computed(()=>r.value&&r.value.isOpen),i=o.computed(()=>!!(c.value&&c.value.length)),a=o.computed(()=>e.options.every(d=>typeof d=="object"&&d!==null)),l=o.computed(()=>a.value?e.options.map(d=>d.name):e.options),c=o.useModel(t,"modelValue",{get(d){return typeof d=="object"?d.name:d},set(d){return a.value?e.options.find(u=>u.name===d):d}});return(d,u)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-multiselect-container",style:o.normalizeStyle(n.value)},[t.label?(o.openBlock(),o.createElementBlock("div",F5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createVNode(o.unref(kh),{ref_key:"multiselect",ref:r,class:o.normalizeClass(["scope-multiselect",`-${t.size}`,{"-with-search":t.searchable,"-invalid":t.invalid}]),modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=h=>c.value=h),options:l.value,searchable:t.searchable,disabled:t.disabled,"close-on-select":"","show-labels":!1,placeholder:t.placeholder},null,8,["class","modelValue","options","searchable","disabled","placeholder"]),o.createElementVNode("div",{class:o.normalizeClass(["scope-multiselect-container__icon-wrapper",{"-with-search":t.searchable,"-label":t.label}])},[t.searchable?(o.openBlock(),o.createBlock(Le,{key:0,icon:"search",class:o.normalizeClass(["search-item",i.value?"-is-not-empty":"-is-empty"])},null,8,["class"])):o.createCommentVNode("",!0),o.createVNode(Le,{icon:"chevron",class:o.normalizeClass(["select-item",i.value?"-is-not-empty":"-is-empty",{"-opened":s.value}])},null,8,["class"])],2)],4))}},[["__scopeId","data-v-687ab011"]]),I5={key:0,class:"scope-input__label"},H5={key:1,class:"scope-input__prompt"},z5={key:0,class:"scope-input__sign"},Y5=["disabled","placeholder","veeBind","maxlength","pattern","type"],W5={key:2,class:"scope-input__error"},j5=Oe({__name:"Input",props:o.mergeModels({size:{type:String,default:"md"},maxLength:{type:Number,default:524288},icon:String,placeholder:String,haveClearButton:Boolean,haveCopyButton:Boolean,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,sideSign:String,type:{default:"text",type:String},pattern:String,hasSave:Boolean,prompt:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter","save","clickOutside"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const{error:r}=hh(),s=n,i=o.ref(null);o.ref(null);const a=o.useModel(t,"modelValue"),l=t,c=o.computed(()=>l.width?{width:l.width}:null),d=o.ref(!1),u=()=>{i.value.focus()},h=f=>{navigator.clipboard.writeText(f).then(()=>{d.value=!0;const m=setTimeout(()=>{d.value=!1,clearTimeout(m)},3e3)}).catch(m=>{r(m)})};return e({focus:u}),(f,m)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-input",{"-have-icon":t.icon,"-full-width":t.fullWidth,"-clear-button":t.haveClearButton||t.haveCopyButton,"-only-search":t.haveClearButton||t.haveCopyButton&&!t.icon,"-has-save":t.hasSave}])},[t.label?(o.openBlock(),o.createElementBlock("div",I5,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",H5,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__container",`-${t.size}`])},[t.sideSign?(o.openBlock(),o.createElementBlock("div",z5,o.toDisplayString(t.sideSign),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("input",{ref_key:"inputRef",ref:i,disabled:t.disabled,class:o.normalizeClass([`-${t.size}`,{"-invalid":t.invalid,"-side-sign":!!t.sideSign,"-has-save":t.hasSave}]),"onUpdate:modelValue":m[0]||(m[0]=g=>a.value=g),style:o.normalizeStyle(c.value),placeholder:t.placeholder,veeBind:t.veeBind,onInput:m[1]||(m[1]=g=>s("input")),onKeyup:m[2]||(m[2]=o.withKeys(g=>s("enter"),["enter"])),maxlength:t.maxLength,pattern:t.pattern,type:t.type},null,46,Y5),[[o.vModelDynamic,a.value]])],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-input__icon-wrapper",`-${t.size}`,{"-only-search":t.haveClearButton||t.hasSave||t.haveCopyButton&&!t.icon,"-with-label":!!t.label}])},[t.icon?(o.openBlock(),o.createBlock(o.unref(Le),{key:0,icon:t.icon,class:"scope-input__icon"},null,8,["icon"])):o.createCommentVNode("",!0),t.haveClearButton?(o.openBlock(),o.createBlock(o.unref(Le),{key:1,class:"scope-input__clear",icon:"cross",onClick:m[3]||(m[3]=g=>a.value="")})):o.createCommentVNode("",!0),t.haveCopyButton&&!d.value?(o.openBlock(),o.createBlock(o.unref(Le),{key:2,class:"scope-input__clear",icon:"copy",onClick:m[4]||(m[4]=g=>h(a.value))})):o.createCommentVNode("",!0),t.haveCopyButton&&d.value?(o.openBlock(),o.createBlock(o.unref(Le),{key:3,class:"scope-input__clear",icon:"checked"})):o.createCommentVNode("",!0),t.hasSave&&a.value.length?(o.openBlock(),o.createElementBlock("div",{key:4,class:"scope-input__save",onClick:m[5]||(m[5]=g=>s("save"))},"Save")):o.createCommentVNode("",!0)],2),t.invalid?(o.openBlock(),o.createElementBlock("div",W5,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-92f24b05"]]),Z5={class:"scope-radio-label"},U5=["value"],q5={class:"scope-text"},G5={__name:"Radio",props:o.mergeModels({value:String|Object|Boolean|Number,label:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>e.value===n.value);return(s,i)=>(o.openBlock(),o.createElementBlock("label",Z5,[o.withDirectives(o.createElementVNode("input",{name:"radio",type:"radio",value:t.value,class:"scope-radio-input","onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a)},null,8,U5),[[o.vModelRadio,e.value]]),o.createElementVNode("span",{class:o.normalizeClass(["scope-radio",{"-checked":r.value}])},null,2),o.createElementVNode("span",q5,o.toDisplayString(t.label),1)]))}},K5=Oe(G5,[["__scopeId","data-v-00175a44"]]),X5=t=>(o.pushScopeId("data-v-a4862285"),t=t(),o.popScopeId(),t),J5={class:"scope-toggle-wrapper"},Q5=["checked","name"],e4=X5(()=>o.createElementVNode("div",{class:"scope-toggle-wrapper__indicator"},null,-1)),t4=Oe({__name:"Toggle",props:o.mergeModels({name:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e,s=()=>{n.value=!n.value,r("change",n.value)};return(i,a)=>(o.openBlock(),o.createElementBlock("div",J5,[o.createElementVNode("input",{type:"checkbox",class:"scope-toggle-wrapper__checkbox",checked:n.value,name:t.name,onChange:s},null,40,Q5),e4]))}},[["__scopeId","data-v-a4862285"]]),n4={class:"scope-checkbox-container"},r4=["id"],s4=["for"],i4=Oe({__name:"CheckBox",props:o.mergeModels({label:String,name:{type:String,default:()=>Math.random().toString()}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(t,{emit:e}){const n=o.useModel(t,"modelValue"),r=e;return o.watch(n,s=>{r("change")}),(s,i)=>(o.openBlock(),o.createElementBlock("ul",n4,[o.createElementVNode("li",null,[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),class:"scope-checkbox",id:t.name,type:"checkbox"},null,8,r4),[[o.vModelCheckbox,n.value]]),o.createElementVNode("label",{for:t.name},o.toDisplayString(t.label),9,s4)])]))}},[["__scopeId","data-v-aeb4be6c"]]),o4={class:"scope-menu-tabs"},a4=["onClick"],l4=Oe({__name:"Menu",props:o.mergeModels({tabs:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=r=>{e.value=r};return(r,s)=>(o.openBlock(),o.createElementBlock("div",o4,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-menu-tab",{"-active":e.value==i.id}]),onClick:l=>n(i.id),key:a},o.toDisplayString(i.name),11,a4))),128))]))}},[["__scopeId","data-v-30014e05"]]),c4={class:"scope-switcher"},d4={class:"scope-switcher__current-item"},u4=Oe({__name:"Switcher",props:o.mergeModels({items:Array},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.useModel(t,"modelValue"),r=o.computed(()=>e.items.findIndex(c=>n.value.id===c.id)),s=o.computed(()=>n.value.id===e.items[0].id),i=o.computed(()=>n.value.id===e.items.at(-1).id),a=()=>{n.value=e.items[r.value-1]},l=()=>{n.value=e.items[r.value+1]};return(c,d)=>(o.openBlock(),o.createElementBlock("div",c4,[o.createVNode(Le,{icon:"chevron-left-small",class:o.normalizeClass(["scope-switcher__left",{"-first-item":s.value}]),onClick:a},null,8,["class"]),o.createElementVNode("div",d4,o.toDisplayString(n.value.name),1),o.createVNode(Le,{icon:"chevron-right-small",class:o.normalizeClass(["scope-switcher__right",{"-last-item":i.value}]),onClick:l},null,8,["class"])]))}},[["__scopeId","data-v-4a290f88"]]);function le(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function Ve(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function vn(t,e){const n=le(t);return isNaN(e)?Ve(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Tn(t,e){const n=le(t);if(isNaN(e))return Ve(t,NaN);if(!e)return n;const r=n.getDate(),s=Ve(t,n.getTime());s.setMonth(n.getMonth()+e+1,0);const i=s.getDate();return r>=i?s:(n.setFullYear(s.getFullYear(),s.getMonth(),r),n)}function Ch(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=le(t),u=r||n?Tn(d,r+n*12):d,h=i||s?vn(u,i+s*7):u,f=l+a*60,g=(c+f*60)*1e3;return Ve(t,h.getTime()+g)}function h4(t,e){const n=+le(t);return Ve(t,n+e)}const xh=6048e5,f4=864e5,m4=6e4,Mh=36e5,p4=1e3;function g4(t,e){return h4(t,e*Mh)}let _4={};function hs(){return _4}function In(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?7:0)+i-r;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}function Js(t){return In(t,{weekStartsOn:1})}function Sh(t){const e=le(t),n=e.getFullYear(),r=Ve(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const s=Js(r),i=Ve(t,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=Js(i);return e.getTime()>=s.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function vh(t){const e=le(t);return e.setHours(0,0,0,0),e}function wa(t){const e=le(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function Th(t,e){const n=vh(t),r=vh(e),s=+n-wa(n),i=+r-wa(r);return Math.round((s-i)/f4)}function y4(t){const e=Sh(t),n=Ve(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),Js(n)}function w4(t,e){const n=e*3;return Tn(t,n)}function Oc(t,e){return Tn(t,e*12)}function Dh(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Zi(t){if(!Dh(t)&&typeof t!="number")return!1;const e=le(t);return!isNaN(Number(e))}function Oh(t){const e=le(t);return Math.trunc(e.getMonth()/3)+1}function Eh(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+n:+r,a=s?r:n;a.setHours(0,0,0,0);let l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a.setDate(a.getDate()+l),a.setHours(0,0,0,0);return s?c.reverse():c}function fs(t){const e=le(t),n=e.getMonth(),r=n-n%3;return e.setMonth(r,1),e.setHours(0,0,0,0),e}function b4(t,e){const n=le(t.start),r=le(t.end);let s=+n>+r;const i=s?+fs(n):+fs(r);let a=fs(s?r:n),l=(e==null?void 0:e.step)??1;if(!l)return[];l<0&&(l=-l,s=!s);const c=[];for(;+a<=i;)c.push(le(a)),a=w4(a,l);return s?c.reverse():c}function k4(t){const e=le(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function $h(t){const e=le(t),n=Ve(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function C4(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.weekStartsOn)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,s=le(t),i=s.getDay(),a=(i<r?-7:0)+6-(i-r);return s.setDate(s.getDate()+a),s.setHours(23,59,59,999),s}function Ph(t){const e=le(t),n=e.getMonth(),r=n-n%3+3;return e.setMonth(r,0),e.setHours(23,59,59,999),e}const x4={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"}},M4=(t,e,n)=>{let r;const s=x4[t];return typeof s=="string"?r=s:e===1?r=s.one:r=s.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Ec(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const S4={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},v4={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},T4={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D4={date:Ec({formats:S4,defaultWidth:"full"}),time:Ec({formats:v4,defaultWidth:"full"}),dateTime:Ec({formats:T4,defaultWidth:"full"})},O4={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},E4=(t,e,n,r)=>O4[t];function Ui(t){return(e,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&t.formattingValues){const a=t.defaultFormattingWidth||t.defaultWidth,l=n!=null&&n.width?String(n.width):a;s=t.formattingValues[l]||t.formattingValues[a]}else{const a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;s=t.values[l]||t.values[a]}const i=t.argumentCallback?t.argumentCallback(e):e;return s[i]}}const $4={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},P4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},L4={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"]},V4={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"]},N4={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"}},B4={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"}},A4={ordinalNumber:(t,e)=>{const n=Number(t),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:Ui({values:$4,defaultWidth:"wide"}),quarter:Ui({values:P4,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Ui({values:L4,defaultWidth:"wide"}),day:Ui({values:V4,defaultWidth:"wide"}),dayPeriod:Ui({values:N4,defaultWidth:"wide",formattingValues:B4,defaultFormattingWidth:"wide"})};function qi(t){return(e,n={})=>{const r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(s);if(!i)return null;const a=i[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(l)?R4(l,h=>h.test(a)):F4(l,h=>h.test(a));let d;d=t.valueCallback?t.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;const u=e.slice(a.length);return{value:d,rest:u}}}function F4(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function R4(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function I4(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const s=r[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=e.slice(s.length);return{value:a,rest:l}}}const H4=/^(\d+)(th|st|nd|rd)?/i,z4=/\d+/i,Y4={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},W4={any:[/^b/i,/^(a|c)/i]},j4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Z4={any:[/1/i,/2/i,/3/i,/4/i]},U4={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},q4={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]},G4={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},K4={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]},X4={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},J4={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}},Q4={ordinalNumber:I4({matchPattern:H4,parsePattern:z4,valueCallback:t=>parseInt(t,10)}),era:qi({matchPatterns:Y4,defaultMatchWidth:"wide",parsePatterns:W4,defaultParseWidth:"any"}),quarter:qi({matchPatterns:j4,defaultMatchWidth:"wide",parsePatterns:Z4,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qi({matchPatterns:U4,defaultMatchWidth:"wide",parsePatterns:q4,defaultParseWidth:"any"}),day:qi({matchPatterns:G4,defaultMatchWidth:"wide",parsePatterns:K4,defaultParseWidth:"any"}),dayPeriod:qi({matchPatterns:X4,defaultMatchWidth:"any",parsePatterns:J4,defaultParseWidth:"any"})},Lh={code:"en-US",formatDistance:M4,formatLong:D4,formatRelative:E4,localize:A4,match:Q4,options:{weekStartsOn:0,firstWeekContainsDate:1}};function e9(t){const e=le(t);return Th(e,$h(e))+1}function $c(t){const e=le(t),n=+Js(e)-+y4(e);return Math.round(n/xh)+1}function Pc(t,e){var u,h,f,m;const n=le(t),r=n.getFullYear(),s=hs(),i=(e==null?void 0:e.firstWeekContainsDate)??((h=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=Ve(t,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const l=In(a,e),c=Ve(t,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const d=In(c,e);return n.getTime()>=l.getTime()?r+1:n.getTime()>=d.getTime()?r:r-1}function t9(t,e){var l,c,d,u;const n=hs(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)??1,s=Pc(t,e),i=Ve(t,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),In(i,e)}function Lc(t,e){const n=le(t),r=+In(n,e)-+t9(n,e);return Math.round(r/xh)+1}function Ae(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const Lr={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return Ae(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):Ae(n+1,2)},d(t,e){return Ae(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return Ae(t.getHours()%12||12,e.length)},H(t,e){return Ae(t.getHours(),e.length)},m(t,e){return Ae(t.getMinutes(),e.length)},s(t,e){return Ae(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return Ae(s,e.length)}},Qs={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Vh={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return Lr.y(t,e)},Y:function(t,e,n,r){const s=Pc(t,r),i=s>0?s:1-s;if(e==="YY"){const a=i%100;return Ae(a,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ae(i,e.length)},R:function(t,e){const n=Sh(t);return Ae(n,e.length)},u:function(t,e){const n=t.getFullYear();return Ae(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Ae(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"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Ae(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"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return Lr.M(t,e);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"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return Ae(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"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const s=Lc(t,r);return e==="wo"?n.ordinalNumber(s,{unit:"week"}):Ae(s,e.length)},I:function(t,e,n){const r=$c(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):Ae(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Lr.d(t,e)},D:function(t,e,n){const r=e9(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ae(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){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"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return Ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const s=t.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return Ae(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),s=r===0?7:r;switch(e){case"i":return String(s);case"ii":return Ae(s,e.length);case"io":return n.ordinalNumber(s,{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"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const s=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let s;switch(r===12?s=Qs.noon:r===0?s=Qs.midnight:s=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let s;switch(r>=17?s=Qs.evening:r>=12?s=Qs.afternoon:r>=4?s=Qs.morning:s=Qs.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Lr.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Lr.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ae(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Lr.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Lr.s(t,e)},S:function(t,e){return Lr.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return Bh(r);case"XXXX":case"XX":return ms(r);case"XXXXX":case"XXX":default:return ms(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return Bh(r);case"xxxx":case"xx":return ms(r);case"xxxxx":case"xxx":default:return ms(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Nh(r,":");case"OOOO":default:return"GMT"+ms(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Nh(r,":");case"zzzz":default:return"GMT"+ms(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return Ae(r,e.length)},T:function(t,e,n){const r=t.getTime();return Ae(r,e.length)}};function Nh(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Math.trunc(r/60),i=r%60;return i===0?n+String(s):n+String(s)+e+Ae(i,2)}function Bh(t,e){return t%60===0?(t>0?"-":"+")+Ae(Math.abs(t)/60,2):ms(t,e)}function ms(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),s=Ae(Math.trunc(r/60),2),i=Ae(r%60,2);return n+s+e+i}const Ah=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},Fh=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Vc={p:Fh,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return Ah(t,e);let i;switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",Ah(r,e)).replace("{{time}}",Fh(s,e))}},n9=/^D+$/,r9=/^Y+$/,s9=["D","DD","YY","YYYY"];function Rh(t){return n9.test(t)}function Ih(t){return r9.test(t)}function Nc(t,e,n){const r=i9(t,e,n);if(console.warn(r),s9.includes(t))throw new RangeError(r)}function i9(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const o9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,a9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,l9=/^'([^]*?)'?$/,c9=/''/g,d9=/[a-zA-Z]/;function Hn(t,e,n){var u,h,f,m,g,p,_,y;const r=hs(),s=(n==null?void 0:n.locale)??r.locale??Lh,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(f=r.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((p=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:p.weekStartsOn)??r.weekStartsOn??((y=(_=r.locale)==null?void 0:_.options)==null?void 0:y.weekStartsOn)??0,l=le(t);if(!Zi(l))throw new RangeError("Invalid time value");let c=e.match(a9).map(C=>{const k=C[0];if(k==="p"||k==="P"){const v=Vc[k];return v(C,s.formatLong)}return C}).join("").match(o9).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const k=C[0];if(k==="'")return{isToken:!1,value:u9(C)};if(Vh[k])return{isToken:!0,value:C};if(k.match(d9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(c=s.localize.preprocessor(l,c));const d={firstWeekContainsDate:i,weekStartsOn:a,locale:s};return c.map(C=>{if(!C.isToken)return C.value;const k=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ih(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Rh(k))&&Nc(k,e,String(t));const v=Vh[k[0]];return v(l,k,s.localize,d)}).join("")}function u9(t){const e=t.match(l9);return e?e[1].replace(c9,"'"):t}function h9(t){return le(t).getDay()}function f9(t){const e=le(t),n=e.getFullYear(),r=e.getMonth(),s=Ve(t,0);return s.setFullYear(n,r+1,0),s.setHours(0,0,0,0),s.getDate()}function m9(){return Object.assign({},hs())}function Dn(t){return le(t).getHours()}function p9(t){let n=le(t).getDay();return n===0&&(n=7),n}function zn(t){return le(t).getMinutes()}function Ce(t){return le(t).getMonth()}function ei(t){return le(t).getSeconds()}function ye(t){return le(t).getFullYear()}function Gi(t,e){const n=le(t),r=le(e);return n.getTime()>r.getTime()}function Ki(t,e){const n=le(t),r=le(e);return+n<+r}function ti(t,e){const n=le(t),r=le(e);return+n==+r}function g9(t,e){const n=e instanceof Date?Ve(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}const _9=10;class Hh{constructor(){W(this,"subPriority",0)}validate(e,n){return!0}}class y9 extends Hh{constructor(e,n,r,s,i){super(),this.value=e,this.validateValue=n,this.setValue=r,this.priority=s,i&&(this.subPriority=i)}validate(e,n){return this.validateValue(e,this.value,n)}set(e,n,r){return this.setValue(e,n,this.value,r)}}class w9 extends Hh{constructor(){super(...arguments);W(this,"priority",_9);W(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Ve(n,g9(n,Date))}}class Ne{run(e,n,r,s){const i=this.parse(e,n,r,s);return i?{setter:new y9(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,n,r){return!0}}class b9 extends Ne{constructor(){super(...arguments);W(this,"priority",140);W(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,s){switch(r){case"G":case"GG":case"GGG":return s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"});case"GGGGG":return s.era(n,{width:"narrow"});case"GGGG":default:return s.era(n,{width:"wide"})||s.era(n,{width:"abbreviated"})||s.era(n,{width:"narrow"})}}set(n,r,s){return r.era=s,n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}const ut={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}/},Yn={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/};function ht(t,e){return t&&{value:e(t.value),rest:t.rest}}function Qe(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function Wn(t,e){const n=e.match(t);if(!n)return null;if(n[0]==="Z")return{value:0,rest:e.slice(1)};const r=n[1]==="+"?1:-1,s=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(s*Mh+i*m4+a*p4),rest:e.slice(n[0].length)}}function zh(t){return Qe(ut.anyDigitsSigned,t)}function it(t,e){switch(t){case 1:return Qe(ut.singleDigit,e);case 2:return Qe(ut.twoDigits,e);case 3:return Qe(ut.threeDigits,e);case 4:return Qe(ut.fourDigits,e);default:return Qe(new RegExp("^\\d{1,"+t+"}"),e)}}function ba(t,e){switch(t){case 1:return Qe(ut.singleDigitSigned,e);case 2:return Qe(ut.twoDigitsSigned,e);case 3:return Qe(ut.threeDigitsSigned,e);case 4:return Qe(ut.fourDigitsSigned,e);default:return Qe(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Bc(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Yh(t,e){const n=e>0,r=n?e:1-e;let s;if(r<=50)s=t||100;else{const i=r+50,a=Math.trunc(i/100)*100,l=t>=i%100;s=t+a-(l?100:0)}return n?s:1-s}function Wh(t){return t%400===0||t%4===0&&t%100!==0}class k9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="yy"});switch(r){case"y":return ht(it(4,n),i);case"yo":return ht(s.ordinalNumber(n,{unit:"year"}),i);default:return ht(it(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s){const i=n.getFullYear();if(s.isTwoDigitYear){const l=Yh(s.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const a=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class C9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,s){const i=a=>({year:a,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ht(it(4,n),i);case"Yo":return ht(s.ordinalNumber(n,{unit:"year"}),i);default:return ht(it(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,s,i){const a=Pc(n,i);if(s.isTwoDigitYear){const c=Yh(s.year,a);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),In(n,i)}const l=!("era"in r)||r.era===1?s.year:1-s.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),In(n,i)}}class x9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return ba(r==="R"?4:r.length,n)}set(n,r,s){const i=Ve(n,0);return i.setFullYear(s,0,4),i.setHours(0,0,0,0),Js(i)}}class M9 extends Ne{constructor(){super(...arguments);W(this,"priority",130);W(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return ba(r==="u"?4:r.length,n)}set(n,r,s){return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class S9 extends Ne{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"Q":case"QQ":return it(r.length,n);case"Qo":return s.ordinalNumber(n,{unit:"quarter"});case"QQQ":return s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return s.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return s.quarter(n,{width:"wide",context:"formatting"})||s.quarter(n,{width:"abbreviated",context:"formatting"})||s.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class v9 extends Ne{constructor(){super(...arguments);W(this,"priority",120);W(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"q":case"qq":return it(r.length,n);case"qo":return s.ordinalNumber(n,{unit:"quarter"});case"qqq":return s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return s.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return s.quarter(n,{width:"wide",context:"standalone"})||s.quarter(n,{width:"abbreviated",context:"standalone"})||s.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,s){return n.setMonth((s-1)*3,1),n.setHours(0,0,0,0),n}}class T9 extends Ne{constructor(){super(...arguments);W(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);W(this,"priority",110)}parse(n,r,s){const i=a=>a-1;switch(r){case"M":return ht(Qe(ut.month,n),i);case"MM":return ht(it(2,n),i);case"Mo":return ht(s.ordinalNumber(n,{unit:"month"}),i);case"MMM":return s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return s.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return s.month(n,{width:"wide",context:"formatting"})||s.month(n,{width:"abbreviated",context:"formatting"})||s.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}class D9 extends Ne{constructor(){super(...arguments);W(this,"priority",110);W(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,s){const i=a=>a-1;switch(r){case"L":return ht(Qe(ut.month,n),i);case"LL":return ht(it(2,n),i);case"Lo":return ht(s.ordinalNumber(n,{unit:"month"}),i);case"LLL":return s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return s.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return s.month(n,{width:"wide",context:"standalone"})||s.month(n,{width:"abbreviated",context:"standalone"})||s.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.setMonth(s,1),n.setHours(0,0,0,0),n}}function O9(t,e,n){const r=le(t),s=Lc(r,n)-e;return r.setDate(r.getDate()-s*7),r}class E9 extends Ne{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,s){switch(r){case"w":return Qe(ut.week,n);case"wo":return s.ordinalNumber(n,{unit:"week"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s,i){return In(O9(n,s,i),i)}}function $9(t,e){const n=le(t),r=$c(n)-e;return n.setDate(n.getDate()-r*7),n}class P9 extends Ne{constructor(){super(...arguments);W(this,"priority",100);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,s){switch(r){case"I":return Qe(ut.week,n);case"Io":return s.ordinalNumber(n,{unit:"week"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,s){return Js($9(n,s))}}const L9=[31,28,31,30,31,30,31,31,30,31,30,31],V9=[31,29,31,30,31,30,31,31,30,31,30,31];class N9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"subPriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"d":return Qe(ut.date,n);case"do":return s.ordinalNumber(n,{unit:"date"});default:return it(r.length,n)}}validate(n,r){const s=n.getFullYear(),i=Wh(s),a=n.getMonth();return i?r>=1&&r<=V9[a]:r>=1&&r<=L9[a]}set(n,r,s){return n.setDate(s),n.setHours(0,0,0,0),n}}class B9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"subpriority",1);W(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,s){switch(r){case"D":case"DD":return Qe(ut.dayOfYear,n);case"Do":return s.ordinalNumber(n,{unit:"date"});default:return it(r.length,n)}}validate(n,r){const s=n.getFullYear();return Wh(s)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,s){return n.setMonth(0,s),n.setHours(0,0,0,0),n}}function Ac(t,e,n){var h,f,m,g;const r=hs(),s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??r.weekStartsOn??((g=(m=r.locale)==null?void 0:m.options)==null?void 0:g.weekStartsOn)??0,i=le(t),a=i.getDay(),c=(e%7+7)%7,d=7-s,u=e<0||e>6?e-(a+d)%7:(c+d)%7-(a+d)%7;return vn(i,u)}class A9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,s){switch(r){case"E":case"EE":case"EEE":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return s.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}class F9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return ht(it(r.length,n),a);case"eo":return ht(s.ordinalNumber(n,{unit:"day"}),a);case"eee":return s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeeee":return s.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}class R9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,s,i){const a=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return ht(it(r.length,n),a);case"co":return ht(s.ordinalNumber(n,{unit:"day"}),a);case"ccc":return s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"ccccc":return s.day(n,{width:"narrow",context:"standalone"});case"cccccc":return s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return s.day(n,{width:"wide",context:"standalone"})||s.day(n,{width:"abbreviated",context:"standalone"})||s.day(n,{width:"short",context:"standalone"})||s.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,s,i){return n=Ac(n,s,i),n.setHours(0,0,0,0),n}}function I9(t,e){const n=le(t),r=p9(n),s=e-r;return vn(n,s)}class H9 extends Ne{constructor(){super(...arguments);W(this,"priority",90);W(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,s){const i=a=>a===0?7:a;switch(r){case"i":case"ii":return it(r.length,n);case"io":return s.ordinalNumber(n,{unit:"day"});case"iii":return ht(s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ht(s.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ht(s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ht(s.day(n,{width:"wide",context:"formatting"})||s.day(n,{width:"abbreviated",context:"formatting"})||s.day(n,{width:"short",context:"formatting"})||s.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,s){return n=I9(n,s),n.setHours(0,0,0,0),n}}class z9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,s){switch(r){case"a":case"aa":case"aaa":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class Y9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,s){switch(r){case"b":case"bb":case"bbb":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class W9 extends Ne{constructor(){super(...arguments);W(this,"priority",80);W(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,s){switch(r){case"B":case"BB":case"BBB":return s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return s.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return s.dayPeriod(n,{width:"wide",context:"formatting"})||s.dayPeriod(n,{width:"abbreviated",context:"formatting"})||s.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,s){return n.setHours(Bc(s),0,0,0),n}}class j9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,s){switch(r){case"h":return Qe(ut.hour12h,n);case"ho":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,s){const i=n.getHours()>=12;return i&&s<12?n.setHours(s+12,0,0,0):!i&&s===12?n.setHours(0,0,0,0):n.setHours(s,0,0,0),n}}class Z9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,s){switch(r){case"H":return Qe(ut.hour23h,n);case"Ho":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,s){return n.setHours(s,0,0,0),n}}class U9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,s){switch(r){case"K":return Qe(ut.hour11h,n);case"Ko":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,s){return n.getHours()>=12&&s<12?n.setHours(s+12,0,0,0):n.setHours(s,0,0,0),n}}class q9 extends Ne{constructor(){super(...arguments);W(this,"priority",70);W(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,s){switch(r){case"k":return Qe(ut.hour24h,n);case"ko":return s.ordinalNumber(n,{unit:"hour"});default:return it(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,s){const i=s<=24?s%24:s;return n.setHours(i,0,0,0),n}}class G9 extends Ne{constructor(){super(...arguments);W(this,"priority",60);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"m":return Qe(ut.minute,n);case"mo":return s.ordinalNumber(n,{unit:"minute"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setMinutes(s,0,0),n}}class K9 extends Ne{constructor(){super(...arguments);W(this,"priority",50);W(this,"incompatibleTokens",["t","T"])}parse(n,r,s){switch(r){case"s":return Qe(ut.second,n);case"so":return s.ordinalNumber(n,{unit:"second"});default:return it(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,s){return n.setSeconds(s,0),n}}class X9 extends Ne{constructor(){super(...arguments);W(this,"priority",30);W(this,"incompatibleTokens",["t","T"])}parse(n,r){const s=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ht(it(r.length,n),s)}set(n,r,s){return n.setMilliseconds(s),n}}class J9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Wn(Yn.basicOptionalMinutes,n);case"XX":return Wn(Yn.basic,n);case"XXXX":return Wn(Yn.basicOptionalSeconds,n);case"XXXXX":return Wn(Yn.extendedOptionalSeconds,n);case"XXX":default:return Wn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Ve(n,n.getTime()-wa(n)-s)}}class Q9 extends Ne{constructor(){super(...arguments);W(this,"priority",10);W(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Wn(Yn.basicOptionalMinutes,n);case"xx":return Wn(Yn.basic,n);case"xxxx":return Wn(Yn.basicOptionalSeconds,n);case"xxxxx":return Wn(Yn.extendedOptionalSeconds,n);case"xxx":default:return Wn(Yn.extended,n)}}set(n,r,s){return r.timestampIsSet?n:Ve(n,n.getTime()-wa(n)-s)}}class e7 extends Ne{constructor(){super(...arguments);W(this,"priority",40);W(this,"incompatibleTokens","*")}parse(n){return zh(n)}set(n,r,s){return[Ve(n,s*1e3),{timestampIsSet:!0}]}}class t7 extends Ne{constructor(){super(...arguments);W(this,"priority",20);W(this,"incompatibleTokens","*")}parse(n){return zh(n)}set(n,r,s){return[Ve(n,s),{timestampIsSet:!0}]}}const n7={G:new b9,y:new k9,Y:new C9,R:new x9,u:new M9,Q:new S9,q:new v9,M:new T9,L:new D9,w:new E9,I:new P9,d:new N9,D:new B9,E:new A9,e:new F9,c:new R9,i:new H9,a:new z9,b:new Y9,B:new W9,h:new j9,H:new Z9,K:new U9,k:new q9,m:new G9,s:new K9,S:new X9,X:new J9,x:new Q9,t:new e7,T:new t7},r7=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,s7=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,i7=/^'([^]*?)'?$/,o7=/''/g,a7=/\S/,l7=/[a-zA-Z]/;function Fc(t,e,n,r){var p,_,y,C,k,v,M,T;const s=m9(),i=(r==null?void 0:r.locale)??s.locale??Lh,a=(r==null?void 0:r.firstWeekContainsDate)??((_=(p=r==null?void 0:r.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((C=(y=s.locale)==null?void 0:y.options)==null?void 0:C.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((v=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:v.weekStartsOn)??s.weekStartsOn??((T=(M=s.locale)==null?void 0:M.options)==null?void 0:T.weekStartsOn)??0;if(e==="")return t===""?le(n):Ve(n,NaN);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:i},d=[new w9],u=e.match(s7).map(S=>{const O=S[0];if(O in Vc){const E=Vc[O];return E(S,i.formatLong)}return S}).join("").match(r7),h=[];for(let S of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ih(S)&&Nc(S,e,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Rh(S)&&Nc(S,e,t);const O=S[0],E=n7[O];if(E){const{incompatibleTokens:I}=E;if(Array.isArray(I)){const $=h.find(R=>I.includes(R.token)||R.token===O);if($)throw new RangeError(`The format string mustn't contain \`${$.fullToken}\` and \`${S}\` at the same time`)}else if(E.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);h.push({token:O,fullToken:S});const j=E.run(t,S,i.match,c);if(!j)return Ve(n,NaN);d.push(j.setter),t=j.rest}else{if(O.match(l7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+O+"`");if(S==="''"?S="'":O==="'"&&(S=c7(S)),t.indexOf(S)===0)t=t.slice(S.length);else return Ve(n,NaN)}}if(t.length>0&&a7.test(t))return Ve(n,NaN);const f=d.map(S=>S.priority).sort((S,O)=>O-S).filter((S,O,E)=>E.indexOf(S)===O).map(S=>d.filter(O=>O.priority===S).sort((O,E)=>E.subPriority-O.subPriority)).map(S=>S[0]);let m=le(n);if(isNaN(m.getTime()))return Ve(n,NaN);const g={};for(const S of f){if(!S.validate(m,c))return Ve(n,NaN);const O=S.set(m,g,c);Array.isArray(O)?(m=O[0],Object.assign(g,O[1])):m=O}return Ve(n,m)}function c7(t){return t.match(i7)[1].replace(o7,"'")}function jh(t,e){const n=fs(t),r=fs(e);return+n==+r}function d7(t,e){return vn(t,-e)}function Zh(t,e){const n=le(t),r=n.getFullYear(),s=n.getDate(),i=Ve(t,0);i.setFullYear(r,e,15),i.setHours(0,0,0,0);const a=f9(i);return n.setMonth(e,Math.min(s,a)),n}function We(t,e){let n=le(t);return isNaN(+n)?Ve(t,NaN):(e.year!=null&&n.setFullYear(e.year),e.month!=null&&(n=Zh(n,e.month)),e.date!=null&&n.setDate(e.date),e.hours!=null&&n.setHours(e.hours),e.minutes!=null&&n.setMinutes(e.minutes),e.seconds!=null&&n.setSeconds(e.seconds),e.milliseconds!=null&&n.setMilliseconds(e.milliseconds),n)}function Uh(t,e){const n=le(t);return n.setHours(e),n}function Rc(t,e){const n=le(t);return n.setMilliseconds(e),n}function qh(t,e){const n=le(t);return n.setMinutes(e),n}function Ic(t,e){const n=le(t);return n.setSeconds(e),n}function jn(t,e){const n=le(t);return isNaN(+n)?Ve(t,NaN):(n.setFullYear(e),n)}function ni(t,e){return Tn(t,-e)}function u7(t,e){const{years:n=0,months:r=0,weeks:s=0,days:i=0,hours:a=0,minutes:l=0,seconds:c=0}=e,d=ni(t,r+n*12),u=d7(d,i+s*7),h=l+a*60,m=(c+h*60)*1e3;return Ve(t,u.getTime()-m)}function Gh(t,e){return Oc(t,-e)}function ri(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),o.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),o.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ri.compatConfig={MODE:3};function Kh(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),o.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Kh.compatConfig={MODE:3};function Hc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Hc.compatConfig={MODE:3};function zc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}zc.compatConfig={MODE:3};function Yc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),o.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Yc.compatConfig={MODE:3};function Wc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Wc.compatConfig={MODE:3};function jc(){return o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[o.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}jc.compatConfig={MODE:3};function Xh(t){return e=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0,2)}function h7(t){return e=>Hn(new Date(`2017-01-0${e}T00:00:00+00:00`),"EEEEEE",{locale:t})}const f7=(t,e,n)=>{const r=[1,2,3,4,5,6,7];let s;if(t!==null)try{s=r.map(h7(t))}catch{s=r.map(Xh(e))}else s=r.map(Xh(e));const i=s.slice(0,n),a=s.slice(n+1,s.length);return[s[n]].concat(...a).concat(...i)},Zc=(t,e,n)=>{const r=[];for(let s=+t[0];s<=+t[1];s++)r.push({value:+s,text:rf(s,e)});return n?r.reverse():r},Jh=(t,e,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const a=i<10?`0${i}`:i;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(t!==null)try{const i=n==="long"?"MMMM":"MMM";return r.map((a,l)=>{const c=Hn(a,i,{locale:t});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const s=new Intl.DateTimeFormat(e,{month:n,timeZone:"UTC"});return r.map((i,a)=>{const l=s.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:a}})},m7=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],Ct=t=>{const e=o.unref(t);return e!=null&&e.$el?e==null?void 0:e.$el:e},p7=t=>({type:"dot",...t??{}}),Qh=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Uc={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},St=t=>t,ef=t=>t===0?t:!t||isNaN(+t)?null:+t,tf=t=>t===null,nf=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},g7=t=>{const e=[],n=r=>r.filter(s=>s);for(let r=0;r<t.length;r+=3){const s=[t[r],t[r+1],t[r+2]];e.push(n(s))}return e},Xi=(t,e,n)=>{const r=n!=null,s=e!=null;if(!r&&!s)return!1;const i=+n,a=+e;return r&&s?+t>i||+t<a:r?+t>i:s?+t<a:!1},si=(t,e)=>g7(t).map(n=>n.map(r=>{const{active:s,disabled:i,isBetween:a,highlighted:l}=e(r);return{...r,active:s,disabled:i,className:{dp__overlay_cell_active:s,dp__overlay_cell:!s,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&s,dp__cell_in_between:a,"dp--highlighted":l}}})),Vr=(t,e,n=!1)=>{t&&e.allowStopPropagation&&(n&&t.stopImmediatePropagation(),t.stopPropagation())},_7=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function y7(t,e){let n=[...document.querySelectorAll(_7())];n=n.filter(s=>!t.contains(s)||s.hasAttribute("data-datepicker-instance"));const r=n.indexOf(t);if(r>=0&&(e?r-1>=0:r+1<=n.length))return n[r+(e?-1:1)]}const w7=(t,e)=>t==null?void 0:t.querySelector(`[data-dp-element="${e}"]`),rf=(t,e)=>new Intl.NumberFormat(e,{useGrouping:!1,style:"decimal"}).format(t),qc=t=>Hn(t,"dd-MM-yyyy"),Gc=t=>Array.isArray(t),ka=(t,e)=>e.get(qc(t)),b7=(t,e)=>t?e?e instanceof Map?!!ka(t,e):e(q(t)):!1:!0,sf=(t,e,n,r,s,i)=>{const a=Fc(t,e.slice(0,t.length),new Date,{locale:i});return Zi(a)&&Dh(a)?r||s?a:We(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},k7=(t,e,n,r,s,i)=>{const a=Array.isArray(n)?n[0]:n;if(typeof e=="string")return sf(t,e,a,r,s,i);if(Array.isArray(e)){let l=null;for(const c of e)if(l=sf(t,c,a,r,s,i),l)break;return l}return typeof e=="function"?e(t):null},q=t=>t?new Date(t):new Date,C7=(t,e,n)=>{if(e){const s=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),c=n?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${s}-${i}T${a}:${l}:${c}.000Z`}const r=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(r).toISOString()},Gt=t=>{let e=q(JSON.parse(JSON.stringify(t)));return e=Uh(e,0),e=qh(e,0),e=Ic(e,0),e=Rc(e,0),e},Nr=(t,e,n,r)=>{let s=t?q(t):q();return(e||e===0)&&(s=Uh(s,+e)),(n||n===0)&&(s=qh(s,+n)),(r||r===0)&&(s=Ic(s,+r)),Rc(s,0)},ot=(t,e)=>!t||!e?!1:Ki(Gt(t),Gt(e)),Se=(t,e)=>!t||!e?!1:ti(Gt(t),Gt(e)),ft=(t,e)=>!t||!e?!1:Gi(Gt(t),Gt(e)),Ca=(t,e,n)=>t!=null&&t[0]&&t!=null&&t[1]?ft(n,t[0])&&ot(n,t[1]):t!=null&&t[0]&&e?ft(n,t[0])&&ot(n,e)||ot(n,t[0])&&ft(n,e):!1,On=t=>{const e=We(new Date(t),{date:1});return Gt(e)},Kc=(t,e,n)=>e&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===e?[r,n]:[r,isNaN(+t[r])?void 0:+t[r]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ps=t=>({hours:Dn(t),minutes:zn(t),seconds:ei(t)}),of=(t,e)=>{if(e){const n=ye(q(e));if(n>t)return 12;if(n===t)return Ce(q(e))}},af=(t,e)=>{if(e){const n=ye(q(e));return n<t?-1:n===t?Ce(q(e)):void 0}},ii=t=>{if(t)return ye(q(t))},lf=(t,e)=>{const n=ft(t,e)?e:t,r=ft(e,t)?e:t;return Eh({start:n,end:r})},x7=t=>{const e=Tn(t,1);return{month:Ce(e),year:ye(e)}},ar=(t,e)=>{const n=In(t,{weekStartsOn:+e}),r=C4(t,{weekStartsOn:+e});return[n,r]},cf=(t,e)=>{const n={hours:Dn(q()),minutes:zn(q()),seconds:e?ei(q()):0};return Object.assign(n,t)},Br=(t,e,n)=>[We(q(t),{date:1}),We(q(),{month:e,year:n,date:1})],lr=(t,e,n)=>{let r=t?q(t):q();return(e||e===0)&&(r=Zh(r,e)),n&&(r=jn(r,n)),r},df=(t,e,n,r,s)=>{if(!r||s&&!e||!s&&!n)return!1;const i=s?Tn(t,1):ni(t,1),a=[Ce(i),ye(i)];return s?!S7(...a,e):!M7(...a,n)},M7=(t,e,n)=>ot(...Br(n,t,e))||Se(...Br(n,t,e)),S7=(t,e,n)=>ft(...Br(n,t,e))||Se(...Br(n,t,e)),uf=(t,e,n,r,s,i,a)=>{if(typeof e=="function"&&!a)return e(t);const l=n?{locale:n}:void 0;return Array.isArray(t)?`${Hn(t[0],i,l)}${s&&!t[1]?"":r}${t[1]?Hn(t[1],i,l):""}`:Hn(t,i,l)},oi=t=>{if(t)return null;throw new Error(Uc.prop("partial-range"))},xa=(t,e)=>{if(e)return t();throw new Error(Uc.prop("range"))},Xc=t=>Array.isArray(t)?Zi(t[0])&&(t[1]?Zi(t[1]):!0):t?Zi(t):!1,v7=(t,e)=>We(e??q(),{hours:+t.hours||0,minutes:+t.minutes||0,seconds:+t.seconds||0}),Jc=(t,e,n,r)=>{if(!t)return!0;if(r){const s=n==="max"?Ki(t,e):Gi(t,e),i={seconds:0,milliseconds:0};return s||ti(We(t,i),We(e,i))}return n==="max"?t.getTime()<=e.getTime():t.getTime()>=e.getTime()},Qc=(t,e,n)=>t?v7(t,e):q(n??e),hf=(t,e,n,r,s)=>{if(Array.isArray(r)){const a=Qc(t,r[0],e),l=Qc(t,r[1],e);return Jc(r[0],a,n,!!e)&&Jc(r[1],l,n,!!e)&&s}const i=Qc(t,r,e);return Jc(r,i,n,!!e)&&s},ed=t=>We(q(),ps(t)),T7=(t,e)=>t instanceof Map?Array.from(t.values()).filter(n=>ye(q(n))===e).map(n=>Ce(n)):[],ff=(t,e,n)=>typeof t=="function"?t({month:e,year:n}):!!t.months.find(r=>r.month===e&&r.year===n),td=(t,e)=>typeof t=="function"?t(e):t.years.includes(e),Ji=o.reactive({menuFocused:!1,shiftKeyInMenu:!1}),mf=()=>{const t=n=>{Ji.menuFocused=n},e=n=>{Ji.shiftKeyInMenu!==n&&(Ji.shiftKeyInMenu=n)};return{control:o.computed(()=>({shiftKeyInMenu:Ji.shiftKeyInMenu,menuFocused:Ji.menuFocused})),setMenuFocused:t,setShiftKey:e}},Ze=o.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),nd=o.ref(null),Ma=o.ref(!1),rd=o.ref(!1),sd=o.ref(!1),id=o.ref(!1),$t=o.ref(0),mt=o.ref(0),Ar=()=>{const t=o.computed(()=>Ma.value?[...Ze.selectionGrid,Ze.actionRow].filter(h=>h.length):rd.value?[...Ze.timePicker[0],...Ze.timePicker[1],id.value?[]:[nd.value],Ze.actionRow].filter(h=>h.length):sd.value?[...Ze.monthPicker,Ze.actionRow]:[Ze.monthYear,...Ze.calendar,Ze.time,Ze.actionRow].filter(h=>h.length)),e=h=>{$t.value=h?$t.value+1:$t.value-1;let f=null;t.value[mt.value]&&(f=t.value[mt.value][$t.value]),!f&&t.value[mt.value+(h?1:-1)]?(mt.value=mt.value+(h?1:-1),$t.value=h?0:t.value[mt.value].length-1):f||($t.value=h?$t.value-1:$t.value+1)},n=h=>{mt.value===0&&!h||mt.value===t.value.length&&h||(mt.value=h?mt.value+1:mt.value-1,t.value[mt.value]?t.value[mt.value]&&!t.value[mt.value][$t.value]&&$t.value!==0&&($t.value=t.value[mt.value].length-1):mt.value=h?mt.value-1:mt.value+1)},r=h=>{let f=null;t.value[mt.value]&&(f=t.value[mt.value][$t.value]),f?f.focus({preventScroll:!Ma.value}):$t.value=h?$t.value-1:$t.value+1},s=()=>{e(!0),r(!0)},i=()=>{e(!1),r(!1)},a=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(h,f)=>{Ze[f]=h},d=(h,f)=>{Ze[f]=h},u=()=>{$t.value=0,mt.value=0};return{buildMatrix:c,buildMultiLevelMatrix:d,setTimePickerBackRef:h=>{nd.value=h},setSelectionGrid:h=>{Ma.value=h,u(),h||(Ze.selectionGrid=[])},setTimePicker:(h,f=!1)=>{rd.value=h,id.value=f,u(),h||(Ze.timePicker[0]=[],Ze.timePicker[1]=[])},setTimePickerElements:(h,f=0)=>{Ze.timePicker[f]=h},arrowRight:s,arrowLeft:i,arrowUp:a,arrowDown:l,clearArrowNav:()=>{Ze.monthYear=[],Ze.calendar=[],Ze.time=[],Ze.actionRow=[],Ze.selectionGrid=[],Ze.timePicker[0]=[],Ze.timePicker[1]=[],Ma.value=!1,rd.value=!1,id.value=!1,sd.value=!1,u(),nd.value=null},setMonthPicker:h=>{sd.value=h,u()},refSets:Ze}},cr=(t,e)=>e?new Date(t.toLocaleString("en-US",{timeZone:e})):new Date(t),pf=(t,e)=>od(t,e)||q(),D7=(t,e)=>e.dateInTz?cr(new Date(t),e.dateInTz):q(t),od=(t,e)=>{if(!t)return null;if(!e)return q(t);const n=q(t);return e.exactMatch?D7(t,e):cr(n,e.timezone)},O7=t=>{if(!t)return 0;const e=new Date,n=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(e.toLocaleString("en-US",{timeZone:t})),s=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-s},gf=t=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...t??{}}),E7=t=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:e=>`Increment ${e}`,decrementValue:e=>`Decrement ${e}`,openTpOverlay:e=>`Open ${e} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,...t??{}}),_f=t=>t?typeof t=="boolean"?t?2:0:+t>=2?+t:2:0,$7=t=>{const e=typeof t=="object"&&t,n={static:!0,solo:!1};if(!t)return{...n,count:_f(!1)};const r=e?t:{},s=e?r.count??!0:t,i=_f(s);return Object.assign(n,r,{count:i})},P7=(t,e,n)=>t||(typeof n=="string"?n:e),L7=t=>typeof t=="boolean"?t?gf({}):!1:gf(t),V7=t=>{const e={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof t=="object"?{...e,...t??{},enabled:!0}:{...e,enabled:t}},N7=t=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...t??{}}),B7=t=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...t??{}}),A7=t=>{const e={input:!1};return typeof t=="object"?{...e,...t??{},enabled:!0}:{enabled:t,...e}},F7=t=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...t??{}}),R7=t=>{const e={dates:Array.isArray(t)?t.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof t=="function"?t:{...e,...t??{}}},I7=t=>typeof t=="object"?{type:(t==null?void 0:t.type)??"local",hideOnOffsetDates:(t==null?void 0:t.hideOnOffsetDates)??!1}:{type:t,hideOnOffsetDates:!1},H7=(t,e)=>typeof t=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...t}:{enabled:t,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,minMaxRawRange:e.minMaxRawRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,maxRange:e.maxRange,minRange:e.minRange,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd},z7=(t,e)=>t?typeof t=="string"?{timezone:t,exactMatch:!1,dateInTz:void 0,emitTimezone:e,convertModel:!0}:{timezone:t.timezone,exactMatch:t.exactMatch??!1,dateInTz:t.dateInTz??void 0,emitTimezone:e??t.emitTimezone,convertModel:t.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:e},ad=(t,e)=>new Map(t.map(n=>{const r=pf(n,e);return[qc(r),r]})),Y7=(t,e)=>t.length?new Map(t.map(n=>{const r=pf(n.date,e);return[qc(r),n]})):null,W7=(t,e,n,r,s,i,a)=>({minDate:od(t,a),maxDate:od(e,a),disabledDates:Gc(n)?ad(n,a):n,allowedDates:Gc(r)?ad(r,a):null,highlight:typeof s=="object"&&Gc(s==null?void 0:s.dates)?ad(s.dates,a):s,markers:Y7(i,a)}),j7=(t,e)=>typeof t=="boolean"?{enabled:t,dragSelect:!0,limit:+e}:{enabled:!!t,limit:t.limit?+t.limit:null,dragSelect:t.dragSelect??!0},et=t=>{const e=()=>{const M=t.enableSeconds?":ss":"";return t.is24?`HH:mm${M}`:`hh:mm${M} aa`},n=()=>{var M;return t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?e():t.weekPicker?`${((M=_.value)==null?void 0:M.type)==="iso"?"RR":"ww"}-yyyy`:t.yearPicker?"yyyy":t.quarterPicker?"QQQ/yyyy":t.enableTimePicker?`MM/dd/yyyy, ${e()}`:"MM/dd/yyyy"},r=M=>cf(M,t.enableSeconds),s=()=>v.value.enabled?t.startTime&&Array.isArray(t.startTime)?[r(t.startTime[0]),r(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?r(t.startTime):null,i=o.computed(()=>$7(t.multiCalendars)),a=o.computed(()=>s()),l=o.computed(()=>E7(t.ariaLabels)),c=o.computed(()=>N7(t.filters)),d=o.computed(()=>L7(t.transitions)),u=o.computed(()=>B7(t.actionRow)),h=o.computed(()=>P7(t.previewFormat,t.format,n())),f=o.computed(()=>V7(t.textInput)),m=o.computed(()=>A7(t.inline)),g=o.computed(()=>F7(t.config)),p=o.computed(()=>R7(t.highlight)),_=o.computed(()=>I7(t.weekNumbers)),y=o.computed(()=>z7(t.timezone,t.emitTimezone)),C=o.computed(()=>j7(t.multiDates,t.multiDatesLimit)),k=o.computed(()=>W7(t.minDate,t.maxDate,t.disabledDates,t.allowedDates,p.value,t.markers,y.value)),v=o.computed(()=>H7(t.range,{minMaxRawRange:!1,maxRange:t.maxRange,minRange:t.minRange,noDisabledRange:t.noDisabledRange,showLastInRange:t.showLastInRange,partialRange:t.partialRange,disableTimeRangeValidation:t.disableTimeRangeValidation,autoRange:t.autoRange,fixedStart:t.fixedStart,fixedEnd:t.fixedEnd}));return{defaultedTransitions:d,defaultedMultiCalendars:i,defaultedStartTime:a,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:h,defaultedTextInput:f,defaultedInline:m,defaultedConfig:g,defaultedHighlight:p,defaultedWeekNumbers:_,defaultedRange:v,propDates:k,defaultedTz:y,defaultedMultiDates:C,getDefaultPattern:n,getDefaultStartTime:s}},Z7=(t,e,n)=>{const r=o.ref(),{defaultedTextInput:s,defaultedRange:i,defaultedTz:a,defaultedMultiDates:l,getDefaultPattern:c}=et(e),d=o.ref(""),u=o.toRef(e,"format");o.watch(r,()=>{t("internal-model-change",r.value)},{deep:!0}),o.watch(u,()=>{V()});const h=w=>a.value.timezone&&a.value.convertModel?cr(w,a.value.timezone):w,f=w=>{if(a.value.timezone&&a.value.convertModel){const B=O7(a.value.timezone);return g4(w,B)}return w},m=(w,B,H=!1)=>uf(w,e.format,e.formatLocale,s.value.rangeSeparator,e.modelAuto,B??c(),H),g=w=>w?e.modelType?ee(w):{hours:Dn(w),minutes:zn(w),seconds:e.enableSeconds?ei(w):0}:null,p=w=>e.modelType?ee(w):{month:Ce(w),year:ye(w)},_=w=>Array.isArray(w)?l.value.enabled?w.map(B=>y(B,jn(q(),B))):xa(()=>[jn(q(),w[0]),w[1]?jn(q(),w[1]):oi(i.value.partialRange)],i.value.enabled):jn(q(),+w),y=(w,B)=>(typeof w=="string"||typeof w=="number")&&e.modelType?Z(w):B,C=w=>Array.isArray(w)?[y(w[0],Nr(null,+w[0].hours,+w[0].minutes,w[0].seconds)),y(w[1],Nr(null,+w[1].hours,+w[1].minutes,w[1].seconds))]:y(w,Nr(null,w.hours,w.minutes,w.seconds)),k=w=>{const B=We(q(),{date:1});return Array.isArray(w)?l.value.enabled?w.map(H=>y(H,lr(B,+H.month,+H.year))):xa(()=>[y(w[0],lr(B,+w[0].month,+w[0].year)),y(w[1],w[1]?lr(B,+w[1].month,+w[1].year):oi(i.value.partialRange))],i.value.enabled):y(w,lr(B,+w.month,+w.year))},v=w=>{if(Array.isArray(w))return w.map(B=>Z(B));throw new Error(Uc.dateArr("multi-dates"))},M=w=>{if(Array.isArray(w)&&i.value.enabled){const B=w[0],H=w[1];return[q(Array.isArray(B)?B[0]:null),q(Array.isArray(H)?H[0]:null)]}return q(w[0])},T=w=>e.modelAuto?Array.isArray(w)?[Z(w[0]),Z(w[1])]:e.autoApply?[Z(w)]:[Z(w),null]:Array.isArray(w)?xa(()=>w[1]?[Z(w[0]),w[1]?Z(w[1]):oi(i.value.partialRange)]:[Z(w[0])],i.value.enabled):Z(w),S=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(oi(i.value.partialRange))},O=()=>{const w=r.value;return[ee(w[0]),w[1]?ee(w[1]):oi(i.value.partialRange)]},E=()=>r.value[1]?O():ee(St(r.value[0])),I=()=>(r.value||[]).map(w=>ee(w)),j=()=>(S(),e.modelAuto?E():l.value.enabled?I():Array.isArray(r.value)?xa(()=>O(),i.value.enabled):ee(St(r.value))),$=w=>!w||Array.isArray(w)&&!w.length?null:e.timePicker?C(St(w)):e.monthPicker?k(St(w)):e.yearPicker?_(St(w)):l.value.enabled?v(St(w)):e.weekPicker?M(St(w)):T(St(w)),R=w=>{const B=$(w);Xc(St(B))?(r.value=St(B),V()):(r.value=null,d.value="")},G=()=>{const w=B=>Hn(B,s.value.format);return`${w(r.value[0])} ${s.value.rangeSeparator} ${r.value[1]?w(r.value[1]):""}`},D=()=>n.value&&r.value?Array.isArray(r.value)?G():Hn(r.value,s.value.format):m(r.value),x=()=>r.value?l.value.enabled?r.value.map(w=>m(w)).join("; "):s.value.enabled&&typeof s.value.format=="string"?D():m(r.value):"",V=()=>{!e.format||typeof e.format=="string"||s.value.enabled&&typeof s.value.format=="string"?d.value=x():d.value=e.format(r.value)},Z=w=>{if(e.utc){const B=new Date(w);return e.utc==="preserve"?new Date(B.getTime()+B.getTimezoneOffset()*6e4):B}return e.modelType?e.modelType==="date"||e.modelType==="timestamp"?h(new Date(w)):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?h(Fc(w,c(),new Date)):h(Fc(w,e.modelType,new Date)):h(new Date(w))},ee=w=>w?e.utc?C7(w,e.utc==="preserve",e.enableSeconds):e.modelType?e.modelType==="timestamp"?+f(w):e.modelType==="format"&&(typeof e.format=="string"||!e.format)?m(f(w)):m(f(w),e.modelType,!0):f(w):"",U=(w,B=!1)=>{if(t("update:model-value",w),a.value.emitTimezone&&B){const H=Array.isArray(w)?w.map(be=>cr(St(be),a.value.emitTimezone)):cr(St(w),a.value.emitTimezone);t("update:model-timezone-value",H)}},P=w=>Array.isArray(r.value)?l.value.enabled?r.value.map(B=>w(B)):[w(r.value[0]),r.value[1]?w(r.value[1]):oi(i.value.partialRange)]:w(St(r.value)),N=()=>{if(Array.isArray(r.value)){const w=ar(r.value[0],e.weekStart),B=r.value[1]?ar(r.value[1],e.weekStart):[];return[w.map(H=>q(H)),B.map(H=>q(H))]}return ar(r.value,e.weekStart).map(w=>q(w))},b=w=>U(St(P(w)));return{inputValue:d,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:R,formatInputValue:V,emitModelValue:()=>(V(),e.monthPicker?b(p):e.timePicker?b(g):e.yearPicker?b(ye):e.weekPicker?t("update:model-value",N()):U(j(),!0))}},U7=(t,e)=>{const{defaultedFilters:n,propDates:r}=et(t),{validateMonthYearInRange:s}=Rr(t),i=(u,h)=>{let f=u;return n.value.months.includes(Ce(f))?(f=h?Tn(u,1):ni(u,1),i(f,h)):f},a=(u,h)=>{let f=u;return n.value.years.includes(ye(f))?(f=h?Oc(u,1):Gh(u,1),a(f,h)):f},l=(u,h=!1)=>{const f=We(q(),{month:t.month,year:t.year});let m=u?Tn(f,1):ni(f,1);t.disableYearSelect&&(m=jn(m,t.year));let g=Ce(m),p=ye(m);n.value.months.includes(g)&&(m=i(m,u),g=Ce(m),p=ye(m)),n.value.years.includes(p)&&(m=a(m,u),p=ye(m)),s(g,p,u,t.preventMinMaxNavigation)&&c(g,p,h)},c=(u,h,f)=>{e("update-month-year",{month:u,year:h,fromNav:f})},d=o.computed(()=>u=>df(We(q(),{month:t.month,year:t.year}),r.value.maxDate,r.value.minDate,t.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:d,updateMonthYear:c}};var ai=(t=>(t.center="center",t.left="left",t.right="right",t))(ai||{}),En=(t=>(t.month="month",t.year="year",t))(En||{}),gs=(t=>(t.top="top",t.bottom="bottom",t))(gs||{}),_s=(t=>(t.header="header",t.calendar="calendar",t.timePicker="timePicker",t))(_s||{}),Zn=(t=>(t.month="month",t.year="year",t.calendar="calendar",t.time="time",t.minutes="minutes",t.hours="hours",t.seconds="seconds",t))(Zn||{});const q7=({menuRef:t,menuRefInner:e,inputRef:n,pickerWrapperRef:r,inline:s,emit:i,props:a,slots:l})=>{const c=o.ref({}),d=o.ref(!1),u=o.ref({top:"0",left:"0"}),h=o.ref(!1),f=o.toRef(a,"teleportCenter");o.watch(f,()=>{u.value=JSON.parse(JSON.stringify({})),v()});const m=D=>{if(a.teleport){const x=D.getBoundingClientRect();return{left:x.left+window.scrollX,top:x.top+window.scrollY}}return{top:0,left:0}},g=(D,x)=>{u.value.left=`${D+x-c.value.width}px`},p=D=>{u.value.left=`${D}px`},_=(D,x)=>{a.position===ai.left&&p(D),a.position===ai.right&&g(D,x),a.position===ai.center&&(u.value.left=`${D+x/2-c.value.width/2}px`)},y=D=>{const{width:x,height:V}=D.getBoundingClientRect(),{top:Z,left:ee}=a.altPosition?a.altPosition(D):m(D);return{top:+Z,left:+ee,width:x,height:V}},C=()=>{u.value.left="50%",u.value.top="50%",u.value.transform="translate(-50%, -50%)",u.value.position="fixed",delete u.value.opacity},k=()=>{const D=Ct(n),{top:x,left:V,transform:Z}=a.altPosition(D);u.value={top:`${x}px`,left:`${V}px`,transform:Z??""}},v=(D=!0)=>{var x;if(!s.value.enabled){if(f.value)return C();if(a.altPosition!==null)return k();if(D){const V=a.teleport?(x=e.value)==null?void 0:x.$el:t.value;V&&(c.value=V.getBoundingClientRect()),i("recalculate-position")}return j()}},M=({inputEl:D,left:x,width:V})=>{window.screen.width>768&&!d.value&&_(x,V),O(D)},T=D=>{const{top:x,left:V,height:Z,width:ee}=y(D);u.value.top=`${Z+x+ +a.offset}px`,h.value=!1,d.value||(u.value.left=`${V+ee/2-c.value.width/2}px`),M({inputEl:D,left:V,width:ee})},S=D=>{const{top:x,left:V,width:Z}=y(D);u.value.top=`${x-+a.offset-c.value.height}px`,h.value=!0,M({inputEl:D,left:V,width:Z})},O=D=>{if(a.autoPosition){const{left:x,width:V}=y(D),{left:Z,right:ee}=c.value;if(!d.value){if(Math.abs(Z)!==Math.abs(ee)){if(Z<=0)return d.value=!0,p(x);if(ee>=document.documentElement.clientWidth)return d.value=!0,g(x,V)}return _(x,V)}}},E=()=>{const D=Ct(n);if(D){const{height:x}=c.value,{top:V,height:Z}=D.getBoundingClientRect(),ee=window.innerHeight-V-Z,U=V;return x<=ee?gs.bottom:x>ee&&x<=U?gs.top:ee>=U?gs.bottom:gs.top}return gs.bottom},I=D=>E()===gs.bottom?T(D):S(D),j=()=>{const D=Ct(n);if(D)return a.autoPosition?I(D):T(D)},$=function(D){if(D){const x=D.scrollHeight>D.clientHeight,V=window.getComputedStyle(D).overflowY.indexOf("hidden")!==-1;return x&&!V}return!0},R=function(D){return!D||D===document.body||D.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:$(D)?D:R(D.parentNode)},G=D=>{if(D)switch(a.position){case ai.left:return{left:0,transform:"translateX(0)"};case ai.right:return{left:`${D.width}px`,transform:"translateX(-100%)"};default:return{left:`${D.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:h,menuStyle:u,xCorrect:d,setMenuPosition:v,getScrollableParent:R,shadowRender:(D,x)=>{var V,Z,ee;const U=document.createElement("div"),P=(V=Ct(n))==null?void 0:V.getBoundingClientRect();U.setAttribute("id","dp--temp-container");const N=(Z=r.value)!=null&&Z.clientWidth?r.value:document.body;N.append(U);const b=G(P),w=o.h(D,{...x,shadow:!0,style:{opacity:0,position:"absolute",...b}},Object.fromEntries(Object.keys(l).filter(B=>["right-sidebar","left-sidebar"].includes(B)).map(B=>[B,l[B]])));o.render(w,U),c.value=(ee=w.el)==null?void 0:ee.getBoundingClientRect(),o.render(null,U),N.removeChild(U)}}},Fr=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]}],G7=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],K7={all:()=>Fr,monthYear:()=>Fr.filter(t=>t.use.includes("month-year")),input:()=>G7,timePicker:()=>Fr.filter(t=>t.use.includes("time")),action:()=>Fr.filter(t=>t.use.includes("action")),calendar:()=>Fr.filter(t=>t.use.includes("calendar")),menu:()=>Fr.filter(t=>t.use.includes("menu")),shared:()=>Fr.filter(t=>t.use.includes("shared")),yearMode:()=>Fr.filter(t=>t.use.includes("year-mode"))},Kt=(t,e,n)=>{const r=[];return K7[e]().forEach(s=>{t[s.name]&&r.push(s.name)}),n!=null&&n.length&&n.forEach(s=>{s.slot&&r.push(s.slot)}),r},Qi=t=>{const e=o.computed(()=>r=>t.value?r?t.value.open:t.value.close:""),n=o.computed(()=>r=>t.value?r?t.value.menuAppearTop:t.value.menuAppearBottom:"");return{transitionName:e,showTransition:!!t.value,menuTransition:n}},eo=(t,e)=>{const{defaultedRange:n,defaultedTz:r}=et(t),s=q(cr(q(),r.value.timezone)),i=o.ref([{month:Ce(s),year:ye(s)}]),a=o.reactive({hours:n.value.enabled?[Dn(s),Dn(s)]:Dn(s),minutes:n.value.enabled?[zn(s),zn(s)]:zn(s),seconds:n.value.enabled?[0,0]:0}),l=o.computed({get:()=>t.internalModelValue,set:u=>{!t.readonly&&!t.disabled&&e("update:internal-model-value",u)}}),c=o.computed(()=>u=>i.value[u]?i.value[u].month:0),d=o.computed(()=>u=>i.value[u]?i.value[u].year:0);return{calendars:i,time:a,modelValue:l,month:c,year:d}},X7=(t,e)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedHighlight:s,defaultedTz:i,propDates:a,defaultedRange:l}=et(e),{isDisabled:c}=Rr(e),d=o.ref(null),u=o.ref(cr(new Date,i.value.timezone)),h=b=>{!b.current&&e.hideOffsetDates||(d.value=b.value)},f=()=>{d.value=null},m=b=>Array.isArray(t.value)&&l.value.enabled&&t.value[0]&&d.value?b?ft(d.value,t.value[0]):ot(d.value,t.value[0]):!0,g=(b,w)=>{const B=()=>t.value?w?t.value[0]||null:t.value[1]:null,H=t.value&&Array.isArray(t.value)?B():null;return Se(q(b.value),H)},p=b=>{const w=Array.isArray(t.value)?t.value[0]:null;return b?!ot(d.value??null,w):!0},_=(b,w=!0)=>(l.value.enabled||e.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?e.hideOffsetDates&&!b.current?!1:Se(q(b.value),t.value[w?0:1]):l.value.enabled?g(b,w)&&p(w)||Se(b.value,Array.isArray(t.value)?t.value[0]:null)&&m(w):!1,y=(b,w,B)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?b?!1:B?ft(t.value[0],w.value):ot(t.value[0],w.value):!1,C=b=>!t.value||e.hideOffsetDates&&!b.current?!1:l.value.enabled?e.modelAuto&&Array.isArray(t.value)?Se(b.value,t.value[0]?t.value[0]:u.value):!1:r.value.enabled&&Array.isArray(t.value)?t.value.some(w=>Se(w,b.value)):Se(b.value,t.value?t.value:u.value),k=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=vn(d.value,+l.value.autoRange),B=ar(q(d.value),e.weekStart);return e.weekPicker?Se(B[1],q(b.value)):Se(w,q(b.value))}return!1}return!1},v=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){const w=vn(d.value,+l.value.autoRange);if(e.hideOffsetDates&&!b.current)return!1;const B=ar(q(d.value),e.weekStart);return e.weekPicker?ft(b.value,B[0])&&ot(b.value,B[1]):ft(b.value,d.value)&&ot(b.value,w)}return!1}return!1},M=b=>{if(l.value.autoRange||e.weekPicker){if(d.value){if(e.hideOffsetDates&&!b.current)return!1;const w=ar(q(d.value),e.weekStart);return e.weekPicker?Se(w[0],b.value):Se(d.value,b.value)}return!1}return!1},T=b=>Ca(t.value,d.value,b.value),S=()=>e.modelAuto&&Array.isArray(e.internalModelValue)?!!e.internalModelValue[0]:!1,O=()=>e.modelAuto?Qh(e.internalModelValue):!0,E=b=>{if(e.weekPicker)return!1;const w=l.value.enabled?!_(b)&&!_(b,!1):!0;return!c(b.value)&&!C(b)&&!(!b.current&&e.hideOffsetDates)&&w},I=b=>l.value.enabled?e.modelAuto?S()&&C(b):!1:C(b),j=b=>s.value?b7(b.value,a.value.highlight):!1,$=b=>{const w=c(b.value);return w&&(typeof s.value=="function"?!s.value(b.value,w):!s.value.options.highlightDisabled)},R=b=>{var w;return typeof s.value=="function"?s.value(b.value):(w=s.value.weekdays)==null?void 0:w.includes(b.value.getDay())},G=b=>(l.value.enabled||e.weekPicker)&&(!(n.value.count>0)||b.current)&&O()&&!(!b.current&&e.hideOffsetDates)&&!C(b)?T(b):!1,D=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b),H=l.value.enabled?w||B:!1;return{dp__cell_offset:!b.current,dp__pointer:!e.disabled&&!(!b.current&&e.hideOffsetDates)&&!c(b.value),dp__cell_disabled:c(b.value),dp__cell_highlight:!$(b)&&(j(b)||R(b))&&!I(b)&&!H&&!M(b)&&!(G(b)&&e.weekPicker)&&!B,dp__cell_highlight_active:!$(b)&&(j(b)||R(b))&&I(b),dp__today:!e.noToday&&Se(b.value,u.value)&&b.current,"dp--past":ot(b.value,u.value),"dp--future":ft(b.value,u.value)}},x=b=>({dp__active_date:I(b),dp__date_hover:E(b)}),V=b=>{if(t.value&&!Array.isArray(t.value)){const w=ar(t.value,e.weekStart);return{...P(b),dp__range_start:Se(w[0],b.value),dp__range_end:Se(w[1],b.value),dp__range_between_week:ft(b.value,w[0])&&ot(b.value,w[1])}}return{...P(b)}},Z=b=>{if(t.value&&Array.isArray(t.value)){const w=ar(t.value[0],e.weekStart),B=t.value[1]?ar(t.value[1],e.weekStart):[];return{...P(b),dp__range_start:Se(w[0],b.value)||Se(B[0],b.value),dp__range_end:Se(w[1],b.value)||Se(B[1],b.value),dp__range_between_week:ft(b.value,w[0])&&ot(b.value,w[1])||ft(b.value,B[0])&&ot(b.value,B[1]),dp__range_between:ft(b.value,w[1])&&ot(b.value,B[0])}}return{...P(b)}},ee=b=>{const w=n.value.count>0?b.current&&_(b)&&O():_(b)&&O(),B=n.value.count>0?b.current&&_(b,!1)&&O():_(b,!1)&&O();return{isRangeStart:w,isRangeEnd:B}},U=b=>{const{isRangeStart:w,isRangeEnd:B}=ee(b);return{dp__range_start:w,dp__range_end:B,dp__range_between:G(b),dp__date_hover:E(b),dp__date_hover_start:y(E(b),b,!0),dp__date_hover_end:y(E(b),b,!1)}},P=b=>({...U(b),dp__cell_auto_range:v(b),dp__cell_auto_range_start:M(b),dp__cell_auto_range_end:k(b)}),N=b=>l.value.enabled?l.value.autoRange?P(b):e.modelAuto?{...x(b),...U(b)}:e.weekPicker?Z(b):U(b):e.weekPicker?V(b):x(b);return{setHoverDate:h,clearHoverDate:f,getDayClassData:b=>e.hideOffsetDates&&!b.current?{}:{...D(b),...N(b),[e.dayClass?e.dayClass(b.value):""]:!0,[e.calendarCellClassName]:!!e.calendarCellClassName}}},Rr=t=>{const{defaultedFilters:e,defaultedRange:n,propDates:r,defaultedMultiDates:s}=et(t),i=$=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(q($)):!!ka($,r.value.disabledDates):!1,a=$=>{const R=r.value.maxDate?ft($,r.value.maxDate):!1,G=r.value.minDate?ot($,r.value.minDate):!1,D=i($),x=e.value.months.map(P=>+P).includes(Ce($)),V=t.disabledWeekDays.length?t.disabledWeekDays.some(P=>+P===h9($)):!1,Z=h($),ee=ye($),U=ee<+t.yearRange[0]||ee>+t.yearRange[1];return!(R||G||D||x||U||V||Z)},l=($,R)=>ot(...Br(r.value.minDate,$,R))||Se(...Br(r.value.minDate,$,R)),c=($,R)=>ft(...Br(r.value.maxDate,$,R))||Se(...Br(r.value.maxDate,$,R)),d=($,R,G)=>{let D=!1;return r.value.maxDate&&G&&c($,R)&&(D=!0),r.value.minDate&&!G&&l($,R)&&(D=!0),D},u=($,R,G,D)=>{let x=!1;return D?r.value.minDate&&r.value.maxDate?x=d($,R,G):(r.value.minDate&&l($,R)||r.value.maxDate&&c($,R))&&(x=!0):x=!0,x},h=$=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!ka($,r.value.allowedDates):!1,f=$=>!a($),m=$=>n.value.noDisabledRange?!Eh({start:$[0],end:$[1]}).some(R=>f(R)):!0,g=$=>{if($){const R=ye($);return R>=+t.yearRange[0]&&R<=t.yearRange[1]}return!0},p=($,R)=>!!(Array.isArray($)&&$[R]&&(n.value.maxRange||n.value.minRange)&&g($[R])),_=($,R,G=0)=>{if(p(R,G)&&g($)){const D=Th($,R[G]),x=lf(R[G],$),V=x.length===1?0:x.filter(ee=>f(ee)).length,Z=Math.abs(D)-(n.value.minMaxRawRange?0:V);if(n.value.minRange&&n.value.maxRange)return Z>=+n.value.minRange&&Z<=+n.value.maxRange;if(n.value.minRange)return Z>=+n.value.minRange;if(n.value.maxRange)return Z<=+n.value.maxRange}return!0},y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,C=$=>Array.isArray($)?[$[0]?ed($[0]):null,$[1]?ed($[1]):null]:ed($),k=($,R,G)=>$.find(D=>+D.hours===Dn(R)&&D.minutes==="*"?!0:+D.minutes===zn(R)&&+D.hours===Dn(R))&&G,v=($,R,G)=>{const[D,x]=$,[V,Z]=R;return!k(D,V,G)&&!k(x,Z,G)&&G},M=($,R)=>{const G=Array.isArray(R)?R:[R];return Array.isArray(t.disabledTimes)?Array.isArray(t.disabledTimes[0])?v(t.disabledTimes,G,$):!G.some(D=>k(t.disabledTimes,D,$)):$},T=($,R)=>{const G=Array.isArray(R)?[ps(R[0]),R[1]?ps(R[1]):void 0]:ps(R),D=!t.disabledTimes(G);return $&&D},S=($,R)=>t.disabledTimes?Array.isArray(t.disabledTimes)?M(R,$):T(R,$):R,O=$=>{let R=!0;if(!$||y())return!0;const G=!r.value.minDate&&!r.value.maxDate?C($):$;return(t.maxTime||r.value.maxDate)&&(R=hf(t.maxTime,r.value.maxDate,"max",St(G),R)),(t.minTime||r.value.minDate)&&(R=hf(t.minTime,r.value.minDate,"min",St(G),R)),S($,R)},E=$=>{if(!t.monthPicker)return!0;let R=!0;const G=q(On($));if(r.value.minDate&&r.value.maxDate){const D=q(On(r.value.minDate)),x=q(On(r.value.maxDate));return ft(G,D)&&ot(G,x)||Se(G,D)||Se(G,x)}if(r.value.minDate){const D=q(On(r.value.minDate));R=ft(G,D)||Se(G,D)}if(r.value.maxDate){const D=q(On(r.value.maxDate));R=ot(G,D)||Se(G,D)}return R},I=o.computed(()=>$=>!t.enableTimePicker||t.ignoreTimeValidation?!0:O($)),j=o.computed(()=>$=>t.monthPicker?Array.isArray($)&&(n.value.enabled||s.value.enabled)?!$.filter(R=>!E(R)).length:E($):!0);return{isDisabled:f,validateDate:a,validateMonthYearInRange:u,isDateRangeAllowed:m,checkMinMaxRange:_,isValidTime:O,isTimeValid:I,isMonthValid:j}},Sa=()=>{const t=o.computed(()=>(r,s)=>r==null?void 0:r.includes(s)),e=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===0:!0),n=o.computed(()=>(r,s)=>r.count?r.solo?!0:s===r.count-1:!0);return{hideNavigationButtons:t,showLeftIcon:e,showRightIcon:n}},J7=(t,e,n)=>{const r=o.ref(0),s=o.reactive({[_s.timePicker]:!t.enableTimePicker||t.timePicker||t.monthPicker,[_s.calendar]:!1,[_s.header]:!1}),i=o.computed(()=>t.monthPicker),a=h=>{var f;if((f=t.flow)!=null&&f.length){if(!h&&i.value)return u();s[h]=!0,Object.keys(s).filter(m=>!s[m]).length||u()}},l=()=>{var h;(h=t.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,e("flow-step",r.value),u())},c=()=>{r.value=-1},d=(h,f,...m)=>{var g,p;t.flow[r.value]===h&&n.value&&((p=(g=n.value)[f])==null||p.call(g,...m))},u=()=>{d(Zn.month,"toggleMonthPicker",!0),d(Zn.year,"toggleYearPicker",!0),d(Zn.calendar,"toggleTimePicker",!1,!0),d(Zn.time,"toggleTimePicker",!0,!0);const h=t.flow[r.value];(h===Zn.hours||h===Zn.minutes||h===Zn.seconds)&&d(h,"toggleTimePicker",!0,!0,h)};return{childMount:a,updateFlowStep:l,resetFlow:c,flowStep:r}},va={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[String,Boolean,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},calendarClassName:{type:String,default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},$n={...va,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null}},Q7={key:1,class:"dp__input_wrap"},ey=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],ty={key:2,class:"dp__clear_icon"},ny=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...va},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTextInput:i,defaultedAriaLabels:a,defaultedInline:l,defaultedConfig:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h,getDefaultStartTime:f}=et(s),{checkMinMaxRange:m}=Rr(s),g=o.ref(),p=o.ref(null),_=o.ref(!1),y=o.ref(!1),C=o.computed(()=>({dp__pointer:!s.disabled&&!s.readonly&&!i.value.enabled,dp__disabled:s.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!s.hideInputIcon,dp__input_valid:!!s.state,dp__input_invalid:s.state===!1,dp__input_focus:_.value||s.isMenuOpen,dp__input_reg:!i.value.enabled,[s.inputClassName]:!!s.inputClassName})),k=()=>{r("set-input-date",null),s.autoApply&&(r("set-empty-date"),g.value=null)},v=x=>{const V=f();return k7(x,i.value.format??h(),V??cf({},s.enableSeconds),s.inputValue,y.value,s.formatLocale)},M=x=>{const{rangeSeparator:V}=i.value,[Z,ee]=x.split(`${V}`);if(Z){const U=v(Z.trim()),P=ee?v(ee.trim()):null,N=U&&P?[U,P]:[U];m(P,N,0)&&(g.value=U?N:null)}},T=()=>{y.value=!0},S=x=>{if(d.value.enabled)M(x);else if(u.value.enabled){const V=x.split(";");g.value=V.map(Z=>v(Z.trim())).filter(Z=>Z)}else g.value=v(x)},O=x=>{var V;const Z=typeof x=="string"?x:(V=x.target)==null?void 0:V.value;Z!==""?(i.value.openMenu&&!s.isMenuOpen&&r("open"),S(Z),r("set-input-date",g.value)):k(),y.value=!1,r("update:input-value",Z)},E=x=>{i.value.enabled?(S(x.target.value),i.value.enterSubmit&&Xc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&s.inputValue===""&&(g.value=null,r("clear"))):$(x)},I=x=>{i.value.enabled&&i.value.tabSubmit&&S(x.target.value),i.value.tabSubmit&&Xc(g.value)&&s.inputValue!==""?(r("set-input-date",g.value,!0,!0),g.value=null):i.value.tabSubmit&&s.inputValue===""&&(g.value=null,r("clear",!0))},j=()=>{_.value=!0,r("focus"),o.nextTick().then(()=>{var x;i.value.enabled&&i.value.selectOnFocus&&((x=p.value)==null||x.select())})},$=x=>{x.preventDefault(),Vr(x,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input&&!s.isMenuOpen?r("open"):i.value.enabled||r("toggle")},R=()=>{r("real-blur"),_.value=!1,(!s.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),s.autoApply&&i.value.enabled&&g.value&&!s.isMenuOpen&&(r("set-input-date",g.value),r("select-date"),g.value=null)},G=x=>{Vr(x,c.value,!0),r("clear")},D=x=>{if(!i.value.enabled){if(x.code==="Tab")return;x.preventDefault()}};return e({focusInput:()=>{var x;(x=p.value)==null||x.focus({preventScroll:!0})},setParsedDate:x=>{g.value=x}}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",{onClick:$},[x.$slots.trigger&&!x.$slots["dp-input"]&&!o.unref(l).enabled?o.renderSlot(x.$slots,"trigger",{key:0}):o.createCommentVNode("",!0),!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).input)?(o.openBlock(),o.createElementBlock("div",Q7,[x.$slots["dp-input"]&&!x.$slots.trigger&&(!o.unref(l).enabled||o.unref(l).enabled&&o.unref(l).input)?o.renderSlot(x.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:O,onEnter:E,onTab:I,onClear:G,onBlur:R,onKeypress:D,onPaste:T,openMenu:()=>x.$emit("open"),closeMenu:()=>x.$emit("close"),toggleMenu:()=>x.$emit("toggle")}):o.createCommentVNode("",!0),x.$slots["dp-input"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("input",{key:1,id:x.uid?`dp-input-${x.uid}`:void 0,ref_key:"inputRef",ref:p,name:x.name,class:o.normalizeClass(C.value),inputmode:o.unref(i).enabled?"text":"none",placeholder:x.placeholder,disabled:x.disabled,readonly:x.readonly,required:x.required,value:t.inputValue,autocomplete:x.autocomplete,"aria-label":(Z=o.unref(a))==null?void 0:Z.input,"aria-disabled":x.disabled||void 0,"aria-invalid":x.state===!1?!0:void 0,onInput:O,onKeydown:[o.withKeys(E,["enter"]),o.withKeys(I,["tab"]),D],onBlur:R,onFocus:j,onKeypress:D,onPaste:T},null,42,ey)),o.createElementVNode("div",{onClick:V[2]||(V[2]=ee=>r("toggle"))},[x.$slots["input-icon"]&&!x.hideInputIcon?(o.openBlock(),o.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:V[0]||(V[0]=ee=>r("toggle"))},[o.renderSlot(x.$slots,"input-icon")])):o.createCommentVNode("",!0),!x.$slots["input-icon"]&&!x.hideInputIcon&&!x.$slots["dp-input"]?(o.openBlock(),o.createBlock(o.unref(ri),{key:1,class:"dp__input_icon dp__input_icons",onClick:V[1]||(V[1]=ee=>r("toggle"))})):o.createCommentVNode("",!0)]),x.$slots["clear-icon"]&&t.inputValue&&x.clearable&&!x.disabled&&!x.readonly?(o.openBlock(),o.createElementBlock("span",ty,[o.renderSlot(x.$slots,"clear-icon",{clear:G})])):o.createCommentVNode("",!0),x.clearable&&!x.$slots["clear-icon"]&&t.inputValue&&!x.disabled&&!x.readonly?(o.openBlock(),o.createBlock(o.unref(Kh),{key:3,class:"dp__clear_icon dp__input_icons",onClick:V[3]||(V[3]=o.withModifiers(ee=>G(ee),["prevent"]))})):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)])}}}),ry=["title"],sy=["disabled"],iy=o.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...$n},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:e}){const n=e,r=t,{defaultedActionRow:s,defaultedPreviewFormat:i,defaultedMultiCalendars:a,defaultedTextInput:l,defaultedInline:c,defaultedRange:d,defaultedMultiDates:u,getDefaultPattern:h}=et(r),{isTimeValid:f,isMonthValid:m}=Rr(r),{buildMatrix:g}=Ar(),p=o.ref(null),_=o.ref(null),y=o.ref(!1),C=o.ref({}),k=o.ref(null),v=o.ref(null);o.onMounted(()=>{r.arrowNavigation&&g([Ct(p),Ct(_)],"actionRow"),M(),window.addEventListener("resize",M)}),o.onUnmounted(()=>{window.removeEventListener("resize",M)});const M=()=>{y.value=!1,setTimeout(()=>{var D,x;const V=(D=k.value)==null?void 0:D.getBoundingClientRect(),Z=(x=v.value)==null?void 0:x.getBoundingClientRect();V&&Z&&(C.value.maxWidth=`${Z.width-V.width-20}px`),y.value=!0},0)},T=o.computed(()=>d.value.enabled&&!d.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),S=o.computed(()=>!f.value(r.internalModelValue)||!m.value(r.internalModelValue)||!T.value),O=()=>{const D=i.value;return r.timePicker||r.monthPicker,D(St(r.internalModelValue))},E=()=>{const D=r.internalModelValue;return a.value.count>0?`${I(D[0])} - ${I(D[1])}`:[I(D[0]),I(D[1])]},I=D=>uf(D,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,h()),j=o.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?E():u.value.enabled?r.internalModelValue.map(D=>`${I(D)}`):r.modelAuto?`${I(r.internalModelValue[0])}`:`${I(r.internalModelValue[0])} -`:I(r.internalModelValue):O()),$=()=>u.value.enabled?"; ":" - ",R=o.computed(()=>Array.isArray(j.value)?j.value.join($()):j.value),G=()=>{f.value(r.internalModelValue)&&m.value(r.internalModelValue)&&T.value?n("select-date"):n("invalid-select")};return(D,x)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"actionRowRef",ref:v,class:"dp__action_row"},[D.$slots["action-row"]?o.renderSlot(D.$slots,"action-row",o.normalizeProps(o.mergeProps({key:0},{internalModelValue:D.internalModelValue,disabled:S.value,selectDate:()=>D.$emit("select-date"),closePicker:()=>D.$emit("close-picker")}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(s).showPreview?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__selection_preview",title:R.value,style:o.normalizeStyle(C.value)},[D.$slots["action-preview"]&&y.value?o.renderSlot(D.$slots,"action-preview",{key:0,value:D.internalModelValue}):o.createCommentVNode("",!0),!D.$slots["action-preview"]&&y.value?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(R.value),1)],64)):o.createCommentVNode("",!0)],12,ry)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"actionBtnContainer",ref:k,class:"dp__action_buttons","data-dp-element":"action-row"},[D.$slots["action-buttons"]?o.renderSlot(D.$slots,"action-buttons",{key:0,value:D.internalModelValue}):o.createCommentVNode("",!0),D.$slots["action-buttons"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[!o.unref(c).enabled&&o.unref(s).showCancel?(o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:p,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[0]||(x[0]=V=>D.$emit("close-picker")),onKeydown:[x[1]||(x[1]=o.withKeys(V=>D.$emit("close-picker"),["enter"])),x[2]||(x[2]=o.withKeys(V=>D.$emit("close-picker"),["space"]))]},o.toDisplayString(D.cancelText),545)):o.createCommentVNode("",!0),o.unref(s).showNow?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:x[3]||(x[3]=V=>D.$emit("select-now")),onKeydown:[x[4]||(x[4]=o.withKeys(V=>D.$emit("select-now"),["enter"])),x[5]||(x[5]=o.withKeys(V=>D.$emit("select-now"),["space"]))]},o.toDisplayString(D.nowButtonLabel),33)):o.createCommentVNode("",!0),o.unref(s).showSelect?(o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_select",disabled:S.value,onKeydown:[o.withKeys(G,["enter"]),o.withKeys(G,["space"])],onClick:G},o.toDisplayString(D.selectText),41,sy)):o.createCommentVNode("",!0)],64))],512)],64))],512))}}),oy=["onKeydown"],ay={class:"dp__selection_grid_header"},ly=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],cy=["aria-label"],to=o.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(t,{expose:e,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:s,setMonthPicker:i}=Ar(),a=n,l=t,{defaultedAriaLabels:c,defaultedTextInput:d,defaultedConfig:u}=et(l),{hideNavigationButtons:h}=Sa(),f=o.ref(!1),m=o.ref(null),g=o.ref(null),p=o.ref([]),_=o.ref(),y=o.ref(null),C=o.ref(0),k=o.ref(null);o.onBeforeUpdate(()=>{m.value=null}),o.onMounted(()=>{o.nextTick().then(()=>j()),l.noOverlayFocus||M(),v(!0)}),o.onUnmounted(()=>v(!1));const v=U=>{var P;l.arrowNavigation&&((P=l.headerRefs)!=null&&P.length?i(U):r(U))},M=()=>{var U;const P=Ct(g);P&&(d.value.enabled||(m.value?(U=m.value)==null||U.focus({preventScroll:!0}):P.focus({preventScroll:!0})),f.value=P.clientHeight<P.scrollHeight)},T=o.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),S=o.computed(()=>l.useRelative?{height:`${l.height}px`,width:"260px"}:void 0),O=o.computed(()=>({dp__overlay_col:!0})),E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:l.isLast})),I=o.computed(()=>{var U,P;return{dp__overlay_container:!0,dp__container_flex:((U=l.items)==null?void 0:U.length)<=6,dp__container_block:((P=l.items)==null?void 0:P.length)>6}});o.watch(()=>l.items,()=>j(!1),{deep:!0});const j=(U=!0)=>{o.nextTick().then(()=>{const P=Ct(m),N=Ct(g),b=Ct(y),w=Ct(k),B=b?b.getBoundingClientRect().height:0;N&&(N.getBoundingClientRect().height?C.value=N.getBoundingClientRect().height-B:C.value=u.value.modeHeight-B),P&&w&&U&&(w.scrollTop=P.offsetTop-w.offsetTop-(C.value/2-P.getBoundingClientRect().height)-B)})},$=U=>{U.disabled||a("selected",U.value)},R=()=>{a("toggle"),a("reset-flow")},G=()=>{l.escClose&&R()},D=(U,P,N,b)=>{U&&((P.active||P.value===l.focusValue)&&(m.value=U),l.arrowNavigation&&(Array.isArray(p.value[N])?p.value[N][b]=U:p.value[N]=[U],x()))},x=()=>{var U,P;const N=(U=l.headerRefs)!=null&&U.length?[l.headerRefs].concat(p.value):p.value.concat([l.skipButtonRef?[]:[y.value]]);s(St(N),(P=l.headerRefs)!=null&&P.length?"monthPicker":"selectionGrid")},V=U=>{l.arrowNavigation||Vr(U,u.value,!0)},Z=U=>{_.value=U,a("hover-value",U)},ee=()=>{if(R(),!l.isLast){const U=w7(l.menuWrapRef??null,"action-row");if(U){const P=nf(U);P==null||P.focus()}}};return e({focusGrid:M}),(U,P)=>{var N;return o.openBlock(),o.createElementBlock("div",{ref_key:"gridWrapRef",ref:g,class:o.normalizeClass(T.value),style:o.normalizeStyle(S.value),role:"dialog",tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(G,["prevent"]),["esc"]),P[0]||(P[0]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["left"])),P[1]||(P[1]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["up"])),P[2]||(P[2]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["down"])),P[3]||(P[3]=o.withKeys(o.withModifiers(b=>V(b),["prevent"]),["right"]))]},[o.createElementVNode("div",{ref_key:"containerRef",ref:k,class:o.normalizeClass(I.value),role:"grid",style:o.normalizeStyle({height:`${C.value}px`})},[o.createElementVNode("div",ay,[o.renderSlot(U.$slots,"header")]),U.$slots.overlay?o.renderSlot(U.$slots,"overlay",{key:0}):(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(U.items,(b,w)=>(o.openBlock(),o.createElementBlock("div",{key:w,class:o.normalizeClass(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(b,(B,H)=>(o.openBlock(),o.createElementBlock("div",{key:B.value,ref_for:!0,ref:be=>D(be,B,w,H),role:"gridcell",class:o.normalizeClass(O.value),"aria-selected":B.active||void 0,"aria-disabled":B.disabled||void 0,tabindex:"0",onClick:be=>$(B),onKeydown:[o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["enter"]),o.withKeys(o.withModifiers(be=>$(B),["prevent"]),["space"])],onMouseover:be=>Z(B.value)},[o.createElementVNode("div",{class:o.normalizeClass(B.className)},[U.$slots.item?o.renderSlot(U.$slots,"item",{key:0,item:B}):o.createCommentVNode("",!0),U.$slots.item?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(B.text),1)],64))],2)],42,ly))),128))],2))),128))],6),U.$slots["button-icon"]?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:y,type:"button","aria-label":(N=o.unref(c))==null?void 0:N.toggleOverlay,class:o.normalizeClass(E.value),tabindex:"0",onClick:R,onKeydown:[o.withKeys(R,["enter"]),o.withKeys(ee,["tab"])]},[o.renderSlot(U.$slots,"button-icon")],42,cy)),[[o.vShow,!o.unref(h)(U.hideNavigation,U.type)]]):o.createCommentVNode("",!0)],46,oy)}}}),Ta=o.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(t){const e=t,n=o.computed(()=>e.multiCalendars>0?[...Array(e.multiCalendars).keys()]:[0]),r=o.computed(()=>({dp__instance_calendar:e.multiCalendars>0}));return(s,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass({dp__menu_inner:!s.stretch,"dp--menu--inner-stretched":s.stretch,dp__flex_display:s.multiCalendars>0,"dp--flex-display-collapsed":s.collapse})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.value,(a,l)=>(o.openBlock(),o.createElementBlock("div",{key:a,class:o.normalizeClass(r.value)},[o.renderSlot(s.$slots,"default",{instance:a,index:l})],2))),128))],2))}}),dy=["aria-label","aria-disabled"],no=o.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:e}){const n=e,r=o.ref(null);return o.onMounted(()=>n("set-ref",r)),(s,i)=>(o.openBlock(),o.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button",class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":s.ariaLabel,"aria-disabled":s.disabled||void 0,onClick:i[0]||(i[0]=a=>s.$emit("activate")),onKeydown:[i[1]||(i[1]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["enter"])),i[2]||(i[2]=o.withKeys(o.withModifiers(a=>s.$emit("activate"),["prevent"]),["space"]))]},[o.createElementVNode("span",{class:o.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:s.disabled}])},[o.renderSlot(s.$slots,"default")],2)],40,dy))}}),uy={class:"dp--year-mode-picker"},hy=["aria-label"],yf=o.defineComponent({__name:"YearModePicker",props:{...$n,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(t,{emit:e}){const n=e,r=t,{showRightIcon:s,showLeftIcon:i}=Sa(),{defaultedConfig:a,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:d}=et(r),{showTransition:u,transitionName:h}=Qi(d),f=(p=!1,_)=>{n("toggle-year-picker",{flow:p,show:_})},m=p=>{n("year-select",p)},g=(p=!1)=>{n("handle-year",p)};return(p,_)=>{var y,C,k;return o.openBlock(),o.createElementBlock("div",uy,[o.unref(i)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:0,ref:"mpPrevIconRef","aria-label":(y=o.unref(c))==null?void 0:y.prevYear,disabled:t.isDisabled(!1),onActivate:_[0]||(_[0]=v=>g(!1))},{default:o.withCtx(()=>[p.$slots["arrow-left"]?o.renderSlot(p.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(C=o.unref(c))==null?void 0:C.openYearsOverlay,onClick:_[1]||(_[1]=()=>f(!1)),onKeydown:_[2]||(_[2]=o.withKeys(()=>f(!1),["enter"]))},[p.$slots.year?o.renderSlot(p.$slots,"year",{key:0,year:t.year}):o.createCommentVNode("",!0),p.$slots.year?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(t.year),1)],64))],40,hy),o.unref(s)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:1,ref:"mpNextIconRef","aria-label":(k=o.unref(c))==null?void 0:k.nextYear,disabled:t.isDisabled(!0),onActivate:_[3]||(_[3]=v=>g(!0))},{default:o.withCtx(()=>[p.$slots["arrow-right"]?o.renderSlot(p.$slots,"arrow-right",{key:0}):o.createCommentVNode("",!0),p.$slots["arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(zc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(h)(t.showYearPicker),css:o.unref(u)},{default:o.withCtx(()=>[t.showYearPicker?(o.openBlock(),o.createBlock(to,{key:0,items:t.items,"text-input":p.textInput,"esc-close":p.escClose,config:p.config,"is-last":p.autoApply&&!o.unref(a).keepActionRow,"hide-navigation":p.hideNavigation,"aria-labels":p.ariaLabels,type:"year",onToggle:f,onSelected:_[4]||(_[4]=v=>m(v))},o.createSlots({"button-icon":o.withCtx(()=>[p.$slots["calendar-icon"]?o.renderSlot(p.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),p.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))]),_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:v})=>[o.renderSlot(p.$slots,"year-overlay-value",{text:v.text,value:v.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):o.createCommentVNode("",!0)]),_:3},8,["name","css"])])}}}),ld=(t,e,n)=>{if(e.value&&Array.isArray(e.value))if(e.value.some(r=>Se(t,r))){const r=e.value.filter(s=>!Se(s,t));e.value=r.length?r:null}else(n&&+n>e.value.length||!n)&&e.value.push(t);else e.value=[t]},cd=(t,e,n)=>{let r=t.value?t.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?ot(e,r[0])?(r.unshift(e),n("range-start",r[0]),n("range-start",r[1])):(r[1]=e,n("range-end",e)):(r=[e],n("range-start",e)),r},Da=(t,e,n,r)=>{t&&(t[0]&&t[1]&&n&&e("auto-apply"),t[0]&&!t[1]&&r&&n&&e("auto-apply"))},wf=t=>{Array.isArray(t.value)&&t.value.length<=2&&t.range?t.modelValue.value=t.value.map(e=>cr(q(e),t.timezone)):Array.isArray(t.value)||(t.modelValue.value=cr(q(t.value),t.timezone))},bf=(t,e,n,r)=>Array.isArray(e.value)&&(e.value.length===2||e.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(ft(t,e.value[0])||Se(t,e.value[0]))?[e.value[0],t]:r.value.fixedEnd&&(ot(t,e.value[1])||Se(t,e.value[1]))?[t,e.value[1]]:(n("invalid-fixed-range",t),e.value):[],kf=({multiCalendars:t,highlight:e,propDates:n,calendars:r,modelValue:s,props:i,filters:a,year:l,month:c,emit:d})=>{const u=o.computed(()=>Zc(i.yearRange,i.locale,i.reverseYears)),h=o.ref([!1]),f=o.computed(()=>(T,S)=>{const O=We(On(new Date),{month:c.value(T),year:l.value(T)});return df(O,n.value.maxDate,n.value.minDate,i.preventMinMaxNavigation,S)}),m=()=>{for(let T=0;T<t.value.count;T++)if(T===0)r.value[T]=r.value[0];else{const S=We(q(),r.value[T-1]);r.value[T]={month:Ce(S),year:ye(Oc(S,1))}}},g=T=>{if(!T)return m();const S=We(q(),r.value[T]);return r.value[0].year=ye(Gh(S,t.value.count-1)),m()},p=T=>i.focusStartDate?T[0]:T[1]?T[1]:T[0],_=()=>{if(s.value){const T=Array.isArray(s.value)?p(s.value):s.value;r.value[0]={month:Ce(T),year:ye(T)}}};o.onMounted(()=>{_(),t.value.count&&m()});const y=(T,S)=>{r.value[S].year=T,t.value.count&&!t.value.solo&&g(S)},C=o.computed(()=>T=>si(u.value,S=>{var O;const E=l.value(T)===S.value,I=Xi(S.value,ii(n.value.minDate),ii(n.value.maxDate))||((O=a.value.years)==null?void 0:O.includes(l.value(T))),j=td(e.value,S.value);return{active:E,disabled:I,highlighted:j}})),k=(T,S)=>{y(T,S),M(S)},v=(T,S=!1)=>{if(!f.value(T,S)){const O=S?l.value(T)+1:l.value(T)-1;y(O,T)}},M=(T,S=!1,O)=>{S||d("reset-flow"),O!==void 0?h.value[T]=O:h.value[T]=!h.value[T],h.value||d("overlay-closed")};return{isDisabled:f,groupedYears:C,showYearPicker:h,selectYear:y,toggleYearPicker:M,handleYearSelect:k,handleYear:v}},fy=(t,e)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,defaultedRange:a,defaultedHighlight:l,propDates:c,defaultedTz:d,defaultedFilters:u,defaultedMultiDates:h}=et(t),{modelValue:f,year:m,month:g,calendars:p}=eo(t,e),_=o.computed(()=>Jh(t.formatLocale,t.locale,t.monthNameFormat)),y=o.ref(null),{checkMinMaxRange:C}=Rr(t),{selectYear:k,groupedYears:v,showYearPicker:M,toggleYearPicker:T,handleYearSelect:S,handleYear:O,isDisabled:E}=kf({modelValue:f,multiCalendars:n,highlight:l,calendars:p,year:m,propDates:c,month:g,filters:u,props:t,emit:e});o.onMounted(()=>{t.startDate&&(f.value&&t.focusStartDate||!f.value)&&k(ye(q(t.startDate)),0)});const I=b=>b?{month:Ce(b),year:ye(b)}:{month:null,year:null},j=()=>f.value?Array.isArray(f.value)?f.value.map(b=>I(b)):I(f.value):I(),$=(b,w)=>{const B=p.value[b],H=j();return Array.isArray(H)?H.some(be=>be.year===(B==null?void 0:B.year)&&be.month===w):(B==null?void 0:B.year)===H.year&&w===H.month},R=(b,w,B)=>{var H,be;const Ie=j();return Array.isArray(Ie)?m.value(w)===((H=Ie[B])==null?void 0:H.year)&&b===((be=Ie[B])==null?void 0:be.month):!1},G=(b,w)=>{if(a.value.enabled){const B=j();if(Array.isArray(f.value)&&Array.isArray(B)){const H=R(b,w,0)||R(b,w,1),be=lr(On(q()),b,m.value(w));return Ca(f.value,y.value,be)&&!H}return!1}return!1},D=o.computed(()=>b=>si(_.value,w=>{var B;const H=$(b,w.value),be=Xi(w.value,of(m.value(b),c.value.minDate),af(m.value(b),c.value.maxDate))||T7(c.value.disabledDates,m.value(b)).includes(w.value)||((B=u.value.months)==null?void 0:B.includes(w.value)),Ie=G(w.value,b),A=ff(l.value,w.value,m.value(b));return{active:H,disabled:be,isBetween:Ie,highlighted:A}})),x=(b,w)=>lr(On(q()),b,m.value(w)),V=(b,w)=>{const B=f.value?f.value:On(new Date);f.value=lr(B,b,m.value(w)),e("auto-apply"),e("update-flow-step")},Z=(b,w)=>{const B=x(b,w);a.value.fixedEnd||a.value.fixedStart?f.value=bf(B,f,e,a):f.value?C(B,f.value)&&(f.value=cd(f,x(b,w),e)):f.value=[x(b,w)],Da(f.value,e,t.autoApply,t.modelAuto)},ee=(b,w)=>{ld(x(b,w),f,h.value.limit),e("auto-apply",!0)},U=(b,w)=>(p.value[w].month=b,N(w,p.value[w].year,b),h.value.enabled?ee(b,w):a.value.enabled?Z(b,w):V(b,w)),P=(b,w)=>{k(b,w),N(w,b,null)},N=(b,w,B)=>{let H=B;if(!H&&H!==0){const be=j();H=Array.isArray(be)?be[b].month:be.month}e("update-month-year",{instance:b,year:w,month:H})};return{groupedMonths:D,groupedYears:v,year:m,isDisabled:E,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:s,defaultedConfig:i,showYearPicker:M,modelValue:f,presetDate:(b,w)=>{wf({value:b,modelValue:f,range:a.value.enabled,timezone:w?void 0:d.value.timezone}),e("auto-apply")},setHoverDate:(b,w)=>{y.value=x(b,w)},selectMonth:U,selectYear:P,toggleYearPicker:T,handleYearSelect:S,handleYear:O,getModelMonthYear:j}},my=o.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...$n},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range"],setup(t,{expose:e,emit:n}){const r=n,s=o.useSlots(),i=Kt(s,"yearMode"),a=t;o.onMounted(()=>{a.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:d,isDisabled:u,defaultedMultiCalendars:h,defaultedConfig:f,showYearPicker:m,modelValue:g,presetDate:p,setHoverDate:_,selectMonth:y,selectYear:C,toggleYearPicker:k,handleYearSelect:v,handleYear:M,getModelMonthYear:T}=fy(a,r);return e({getSidebarProps:()=>({modelValue:g,year:d,getModelMonthYear:T,selectMonth:y,selectYear:C,handleYear:M}),presetDate:p,toggleYearPicker:S=>k(0,S)}),(S,O)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":o.unref(h).count,collapse:S.collapse,stretch:""},{default:o.withCtx(({instance:E})=>[S.$slots["month-year"]?o.renderSlot(S.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{year:o.unref(d),months:o.unref(l)(E),years:o.unref(c)(E),selectMonth:o.unref(y),selectYear:o.unref(C),instance:E}))):(o.openBlock(),o.createBlock(to,{key:1,items:o.unref(l)(E),"arrow-navigation":S.arrowNavigation,"is-last":S.autoApply&&!o.unref(f).keepActionRow,"esc-close":S.escClose,height:o.unref(f).modeHeight,config:S.config,"no-overlay-focus":!!(S.noOverlayFocus||S.textInput),"use-relative":"",type:"month",onSelected:I=>o.unref(y)(I,E),onHoverValue:I=>o.unref(_)(I,E)},{header:o.withCtx(()=>[o.createVNode(yf,o.mergeProps(S.$props,{items:o.unref(c)(E),instance:E,"show-year-picker":o.unref(m)[E],year:o.unref(d)(E),"is-disabled":I=>o.unref(u)(E,I),onHandleYear:I=>o.unref(M)(E,I),onYearSelect:I=>o.unref(v)(I,E),onToggleYearPicker:I=>o.unref(k)(E,I==null?void 0:I.flow,I==null?void 0:I.show)}),o.createSlots({_:2},[o.renderList(o.unref(i),(I,j)=>({name:I,fn:o.withCtx($=>[o.renderSlot(S.$slots,I,o.normalizeProps(o.guardReactiveProps($)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),py=(t,e)=>{const{modelValue:n}=eo(t,e),r=o.ref(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:a,defaultedRange:l,propDates:c}=et(t),d=o.ref();o.onMounted(()=>{t.startDate&&(n.value&&t.focusStartDate||!n.value)&&(d.value=ye(q(t.startDate)))});const u=g=>Array.isArray(n.value)?n.value.some(p=>ye(p)===g):n.value?ye(n.value)===g:!1,h=g=>l.value.enabled&&Array.isArray(n.value)?Ca(n.value,r.value,m(g)):!1,f=o.computed(()=>si(Zc(t.yearRange,t.locale,t.reverseYears),g=>{const p=u(g.value),_=Xi(g.value,ii(c.value.minDate),ii(c.value.maxDate))||a.value.years.includes(g.value),y=h(g.value)&&!p,C=td(s.value,g.value);return{active:p,disabled:_,isBetween:y,highlighted:C}})),m=g=>jn(On(new Date),g);return{groupedYears:f,modelValue:n,focusYear:d,setHoverValue:g=>{r.value=jn(On(new Date),g)},selectYear:g=>{var p;if(e("update-month-year",{instance:0,year:g}),i.value.enabled)return n.value?Array.isArray(n.value)&&(((p=n.value)==null?void 0:p.map(_=>ye(_))).includes(g)?n.value=n.value.filter(_=>ye(_)!==g):n.value.push(jn(Gt(q()),g))):n.value=[jn(Gt(q()),g)],e("auto-apply",!0);if(l.value.enabled)return n.value=cd(n,m(g),e),Da(n.value,e,t.autoApply,t.modelAuto);n.value=m(g),e("auto-apply")}}},gy=o.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...$n},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(t,{expose:e,emit:n}){const r=n,s=t,{groupedYears:i,modelValue:a,focusYear:l,selectYear:c,setHoverValue:d}=py(s,r),{defaultedConfig:u}=et(s);return e({getSidebarProps:()=>({modelValue:a,selectYear:c})}),(h,f)=>(o.openBlock(),o.createElementBlock("div",null,[h.$slots["month-year"]?o.renderSlot(h.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{years:o.unref(i),selectYear:o.unref(c)}))):(o.openBlock(),o.createBlock(to,{key:1,items:o.unref(i),"is-last":h.autoApply&&!o.unref(u).keepActionRow,height:o.unref(u).modeHeight,config:h.config,"no-overlay-focus":!!(h.noOverlayFocus||h.textInput),"focus-value":o.unref(l),type:"year","use-relative":"",onSelected:o.unref(c),onHoverValue:o.unref(d)},o.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:o.withCtx(({item:m})=>[o.renderSlot(h.$slots,"year-overlay-value",{text:m.text,value:m.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),_y={key:0,class:"dp__time_input"},yy=["aria-label","onKeydown","onClick"],wy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),by=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),ky=["aria-label","disabled","onKeydown","onClick"],Cy=["aria-label","onKeydown","onClick"],xy=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),My=o.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Sy={key:0},vy=["aria-label","onKeydown"],Ty=o.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$n},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{setTimePickerElements:i,setTimePickerBackRef:a}=Ar(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:d,defaultedConfig:u,defaultedRange:h}=et(s),{transitionName:f,showTransition:m}=Qi(c),g=o.reactive({hours:!1,minutes:!1,seconds:!1}),p=o.ref("AM"),_=o.ref(null),y=o.ref([]);o.onMounted(()=>{r("mounted")});const C=A=>We(new Date,{hours:A.hours,minutes:A.minutes,seconds:s.enableSeconds?A.seconds:0,milliseconds:0}),k=o.computed(()=>A=>D(A,s[A])||M(A,s[A])),v=o.computed(()=>({hours:s.hours,minutes:s.minutes,seconds:s.seconds})),M=(A,z)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!s.validateTime(A,z):!1,T=(A,z)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const ue=z?+s[`${A}Increment`]:-+s[`${A}Increment`],L=s[A]+ue;return!s.validateTime(A,L)}return!1},S=o.computed(()=>A=>!ee(+s[A]+ +s[`${A}Increment`],A)||T(A,!0)),O=o.computed(()=>A=>!ee(+s[A]-+s[`${A}Increment`],A)||T(A,!1)),E=(A,z)=>Ch(We(q(),A),z),I=(A,z)=>u7(We(q(),A),z),j=o.computed(()=>({dp__time_col:!0,dp__time_col_block:!s.timePickerInline,dp__time_col_reg_block:!s.enableSeconds&&s.is24&&!s.timePickerInline,dp__time_col_reg_inline:!s.enableSeconds&&s.is24&&s.timePickerInline,dp__time_col_reg_with_button:!s.enableSeconds&&!s.is24,dp__time_col_sec:s.enableSeconds&&s.is24,dp__time_col_sec_with_button:s.enableSeconds&&!s.is24})),$=o.computed(()=>{const A=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return s.enableSeconds?A.concat([{type:"",separator:!0},{type:"seconds"}]):A}),R=o.computed(()=>$.value.filter(A=>!A.separator)),G=o.computed(()=>A=>{if(A==="hours"){const z=w(+s.hours);return{text:z<10?`0${z}`:`${z}`,value:z}}return{text:s[A]<10?`0${s[A]}`:`${s[A]}`,value:s[A]}}),D=(A,z)=>{var ue;if(!s.disabledTimesConfig)return!1;const L=s.disabledTimesConfig(s.order,A==="hours"?z:void 0);return L[A]?!!((ue=L[A])!=null&&ue.includes(z)):!0},x=A=>{const z=s.is24?24:12,ue=A==="hours"?z:60,L=+s[`${A}GridIncrement`],K=A==="hours"&&!s.is24?L:0,de=[];for(let ge=K;ge<ue;ge+=L)de.push({value:ge,text:ge<10?`0${ge}`:`${ge}`});return A==="hours"&&!s.is24&&de.push({value:0,text:"12"}),si(de,ge=>({active:!1,disabled:d.value.times[A].includes(ge.value)||!ee(ge.value,A)||D(A,ge.value)||M(A,ge.value)}))},V=A=>A>=0?A:59,Z=A=>A>=0?A:23,ee=(A,z)=>{const ue=s.minTime?C(Kc(s.minTime)):null,L=s.maxTime?C(Kc(s.maxTime)):null,K=C(Kc(v.value,z,z==="minutes"||z==="seconds"?V(A):Z(A)));return ue&&L?(Ki(K,L)||ti(K,L))&&(Gi(K,ue)||ti(K,ue)):ue?Gi(K,ue)||ti(K,ue):L?Ki(K,L)||ti(K,L):!0},U=A=>s[`no${A[0].toUpperCase()+A.slice(1)}Overlay`],P=A=>{U(A)||(g[A]=!g[A],g[A]||r("overlay-closed"))},N=A=>A==="hours"?Dn:A==="minutes"?zn:ei,b=(A,z=!0)=>{const ue=z?E:I,L=z?+s[`${A}Increment`]:-+s[`${A}Increment`];ee(+s[A]+L,A)&&r(`update:${A}`,N(A)(ue({[A]:+s[A]},{[A]:+s[`${A}Increment`]})))},w=A=>s.is24?A:(A>=12?p.value="PM":p.value="AM",m7(A)),B=()=>{p.value==="PM"?(p.value="AM",r("update:hours",s.hours-12)):(p.value="PM",r("update:hours",s.hours+12)),r("am-pm-change",p.value)},H=A=>{g[A]=!0},be=(A,z,ue)=>{if(A&&s.arrowNavigation){Array.isArray(y.value[z])?y.value[z][ue]=A:y.value[z]=[A];const L=y.value.reduce((K,de)=>de.map((ge,ae)=>[...K[ae]||[],de[ae]]),[]);a(s.closeTimePickerBtn),_.value&&(L[1]=L[1].concat(_.value)),i(L,s.order)}},Ie=(A,z)=>(P(A),A==="hours"&&!s.is24?r(`update:${A}`,p.value==="PM"?z+12:z):r(`update:${A}`,z));return e({openChildCmp:H}),(A,z)=>{var ue;return A.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",_y,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList($.value,(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{key:K,class:o.normalizeClass(j.value)},[L.separator?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(" : ")],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,0),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_top:A.timePickerInline,dp__inc_dec_button_disabled:S.value(L.type)}),"aria-label":(de=o.unref(l))==null?void 0:de.incrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type),["prevent"]),["space"])],onClick:te=>b(L.type)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[wy,by],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-up"]?o.renderSlot(A.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Wc),{key:1}))],64))],42,yy),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,1),type:"button","aria-label":(ge=o.unref(l))==null?void 0:ge.openTpOverlay(L.type),class:o.normalizeClass({dp__time_display:!0,dp__time_display_block:!A.timePickerInline,dp__time_display_inline:A.timePickerInline,"dp--time-invalid":k.value(L.type),"dp--time-overlay-btn":!k.value(L.type)}),disabled:U(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>P(L.type),["prevent"]),["space"])],onClick:te=>P(L.type)},[A.$slots[L.type]?o.renderSlot(A.$slots,L.type,{key:0,text:G.value(L.type).text,value:G.value(L.type).value}):o.createCommentVNode("",!0),A.$slots[L.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(G.value(L.type).text),1)],64))],42,ky),o.createElementVNode("button",{ref_for:!0,ref:te=>be(te,K,2),type:"button",class:o.normalizeClass({dp__btn:!0,dp__inc_dec_button:!A.timePickerInline,dp__inc_dec_button_inline:A.timePickerInline,dp__tp_inline_btn_bottom:A.timePickerInline,dp__inc_dec_button_disabled:O.value(L.type)}),"aria-label":(ae=o.unref(l))==null?void 0:ae.decrementValue(L.type),tabindex:"0",onKeydown:[o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["enter"]),o.withKeys(o.withModifiers(te=>b(L.type,!1),["prevent"]),["space"])],onClick:te=>b(L.type,!1)},[s.timePickerInline?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[xy,My],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[A.$slots["arrow-down"]?o.renderSlot(A.$slots,"arrow-down",{key:0}):o.createCommentVNode("",!0),A.$slots["arrow-down"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(jc),{key:1}))],64))],42,Cy)],64))],2)}),128)),A.is24?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Sy,[A.$slots["am-pm-button"]?o.renderSlot(A.$slots,"am-pm-button",{key:0,toggle:B,value:p.value}):o.createCommentVNode("",!0),A.$slots["am-pm-button"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ue=o.unref(l))==null?void 0:ue.amPmButton,tabindex:"0",onClick:B,onKeydown:[o.withKeys(o.withModifiers(B,["prevent"]),["enter"]),o.withKeys(o.withModifiers(B,["prevent"]),["space"])]},o.toDisplayString(p.value),41,vy))])),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(R.value,(L,K)=>(o.openBlock(),o.createBlock(o.Transition,{key:K,name:o.unref(f)(g[L.type]),css:o.unref(m)},{default:o.withCtx(()=>[g[L.type]?(o.openBlock(),o.createBlock(to,{key:0,items:x(L.type),"is-last":A.autoApply&&!o.unref(u).keepActionRow,"esc-close":A.escClose,type:L.type,"text-input":A.textInput,config:A.config,"arrow-navigation":A.arrowNavigation,"aria-labels":A.ariaLabels,onSelected:de=>Ie(L.type,de),onToggle:de=>P(L.type),onResetFlow:z[0]||(z[0]=de=>A.$emit("reset-flow"))},o.createSlots({"button-icon":o.withCtx(()=>[A.$slots["clock-icon"]?o.renderSlot(A.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),A.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(A.timePickerInline?o.unref(ri):o.unref(Yc)),{key:1}))]),_:2},[A.$slots[`${L.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:de})=>[o.renderSlot(A.$slots,`${L.type}-overlay-value`,{text:de.text,value:de.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),Dy={class:"dp--tp-wrap"},Oy=["aria-label","tabindex"],Ey=["tabindex"],$y=["aria-label"],Cf=o.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$n},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMatrix:i,setTimePicker:a}=Ar(),l=o.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:d,defaultedTextInput:u,defaultedConfig:h,defaultedRange:f}=et(s),{transitionName:m,showTransition:g}=Qi(c),{hideNavigationButtons:p}=Sa(),_=o.ref(null),y=o.ref(null),C=o.ref([]),k=o.ref(null);o.onMounted(()=>{r("mount"),!s.timePicker&&s.arrowNavigation?i([Ct(_.value)],"time"):a(!0,s.timePicker)});const v=o.computed(()=>f.value.enabled&&s.modelAuto?Qh(s.internalModelValue):!0),M=o.ref(!1),T=x=>({hours:Array.isArray(s.hours)?s.hours[x]:s.hours,minutes:Array.isArray(s.minutes)?s.minutes[x]:s.minutes,seconds:Array.isArray(s.seconds)?s.seconds[x]:s.seconds}),S=o.computed(()=>{const x=[];if(f.value.enabled)for(let V=0;V<2;V++)x.push(T(V));else x.push(T(0));return x}),O=(x,V=!1,Z="")=>{V||r("reset-flow"),M.value=x,r(x?"overlay-opened":"overlay-closed"),s.arrowNavigation&&a(x),o.nextTick(()=>{Z!==""&&C.value[0]&&C.value[0].openChildCmp(Z)})},E=o.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:s.autoApply&&!h.value.keepActionRow})),I=Kt(l,"timePicker"),j=(x,V,Z)=>f.value.enabled?V===0?[x,S.value[1][Z]]:[S.value[0][Z],x]:x,$=x=>{r("update:hours",x)},R=x=>{r("update:minutes",x)},G=x=>{r("update:seconds",x)},D=()=>{if(k.value&&!u.value.enabled&&!s.noOverlayFocus){const x=nf(k.value);x&&x.focus({preventScroll:!0})}};return e({toggleTimePicker:O}),(x,V)=>{var Z;return o.openBlock(),o.createElementBlock("div",Dy,[!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:_,type:"button",class:o.normalizeClass(E.value),"aria-label":(Z=o.unref(d))==null?void 0:Z.openTimePicker,tabindex:x.noOverlayFocus?void 0:0,onKeydown:[V[0]||(V[0]=o.withKeys(ee=>O(!0),["enter"])),V[1]||(V[1]=o.withKeys(ee=>O(!0),["space"]))],onClick:V[2]||(V[2]=ee=>O(!0))},[x.$slots["clock-icon"]?o.renderSlot(x.$slots,"clock-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["clock-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Yc),{key:1}))],42,Oy)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:o.unref(m)(M.value),css:o.unref(g)&&!x.timePickerInline},{default:o.withCtx(()=>{var ee;return[M.value||x.timePicker||x.timePickerInline?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,class:o.normalizeClass({dp__overlay:!x.timePickerInline,"dp--overlay-absolute":!s.timePicker&&!x.timePickerInline,"dp--overlay-relative":s.timePicker}),style:o.normalizeStyle(x.timePicker?{height:`${o.unref(h).modeHeight}px`}:void 0),tabindex:x.timePickerInline?void 0:0},[o.createElementVNode("div",{class:o.normalizeClass(x.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[x.$slots["time-picker-overlay"]?o.renderSlot(x.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:$,setMinutes:R,setSeconds:G}):o.createCommentVNode("",!0),x.$slots["time-picker-overlay"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(x.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.value,(U,P)=>o.withDirectives((o.openBlock(),o.createBlock(Ty,o.mergeProps({key:P},{...x.$props,order:P,hours:U.hours,minutes:U.minutes,seconds:U.seconds,closeTimePickerBtn:y.value,disabledTimesConfig:t.disabledTimesConfig,disabled:P===0?x.fixedStart:x.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:C,"validate-time":(N,b)=>t.validateTime(N,j(b,P,N)),"onUpdate:hours":N=>$(j(N,P,"hours")),"onUpdate:minutes":N=>R(j(N,P,"minutes")),"onUpdate:seconds":N=>G(j(N,P,"seconds")),onMounted:D,onOverlayClosed:D,onAmPmChange:V[3]||(V[3]=N=>x.$emit("am-pm-change",N))}),o.createSlots({_:2},[o.renderList(o.unref(I),(N,b)=>({name:N,fn:o.withCtx(w=>[o.renderSlot(x.$slots,N,o.normalizeProps(o.guardReactiveProps(w)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[o.vShow,P===0?!0:v.value]])),128))],2)),!x.timePicker&&!x.timePickerInline?o.withDirectives((o.openBlock(),o.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:y,type:"button",class:o.normalizeClass(E.value),"aria-label":(ee=o.unref(d))==null?void 0:ee.closeTimePicker,tabindex:"0",onKeydown:[V[4]||(V[4]=o.withKeys(U=>O(!1),["enter"])),V[5]||(V[5]=o.withKeys(U=>O(!1),["space"]))],onClick:V[6]||(V[6]=U=>O(!1))},[x.$slots["calendar-icon"]?o.renderSlot(x.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),x.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))],42,$y)),[[o.vShow,!o.unref(p)(x.hideNavigation,"time")]]):o.createCommentVNode("",!0)],2)],14,Ey)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),xf=(t,e,n,r)=>{const{defaultedRange:s}=et(t),i=(k,v)=>Array.isArray(e[k])?e[k][v]:e[k],a=k=>t.enableSeconds?Array.isArray(e.seconds)?e.seconds[k]:e.seconds:0,l=(k,v)=>k?v!==void 0?Nr(k,i("hours",v),i("minutes",v),a(v)):Nr(k,e.hours,e.minutes,a()):Ic(q(),a(v)),c=(k,v)=>{e[k]=v},d=o.computed(()=>t.modelAuto&&s.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:s.value.enabled),u=(k,v)=>{const M=Object.fromEntries(Object.keys(e).map(T=>T===k?[T,v]:[T,e[T]].slice()));if(d.value&&!s.value.disableTimeRangeValidation){const T=O=>n.value?Nr(n.value[O],M.hours[O],M.minutes[O],M.seconds[O]):null,S=O=>Rc(n.value[O],0);return!(Se(T(0),T(1))&&(Gi(T(0),S(1))||Ki(T(1),S(0))))}return!0},h=(k,v)=>{u(k,v)&&(c(k,v),r&&r())},f=k=>{h("hours",k)},m=k=>{h("minutes",k)},g=k=>{h("seconds",k)},p=(k,v,M,T)=>{v&&f(k),!v&&!M&&m(k),M&&g(k),n.value&&T(n.value)},_=k=>{if(k){const v=Array.isArray(k),M=v?[+k[0].hours,+k[1].hours]:+k.hours,T=v?[+k[0].minutes,+k[1].minutes]:+k.minutes,S=v?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",M),c("minutes",T),t.enableSeconds&&c("seconds",S)}},y=(k,v)=>{const M={hours:Array.isArray(e.hours)?e.hours[k]:e.hours,disabledArr:[]};return(v||v===0)&&(M.hours=v),Array.isArray(t.disabledTimes)&&(M.disabledArr=s.value.enabled&&Array.isArray(t.disabledTimes[k])?t.disabledTimes[k]:t.disabledTimes),M},C=o.computed(()=>(k,v)=>{var M;if(Array.isArray(t.disabledTimes)){const{disabledArr:T,hours:S}=y(k,v),O=T.filter(E=>+E.hours===S);return((M=O[0])==null?void 0:M.minutes)==="*"?{hours:[S],minutes:void 0,seconds:void 0}:{hours:[],minutes:(O==null?void 0:O.map(E=>+E.minutes))??[],seconds:(O==null?void 0:O.map(E=>E.seconds?+E.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:f,updateMinutes:m,updateSeconds:g,getSetDateTime:l,updateTimeValues:p,getSecondsValue:a,assignStartTime:_,validateTime:u,disabledTimesConfig:C}},Py=(t,e)=>{const{modelValue:n,time:r}=eo(t,e),{defaultedStartTime:s,defaultedRange:i}=et(t),{updateTimeValues:a,getSetDateTime:l,setTime:c,assignStartTime:d,disabledTimesConfig:u,validateTime:h}=xf(t,r,n),f=k=>{const{hours:v,minutes:M,seconds:T}=k;return{hours:+v,minutes:+M,seconds:T?+T:0}},m=()=>{if(t.startTime){if(Array.isArray(t.startTime)){const v=f(t.startTime[0]),M=f(t.startTime[1]);return[We(q(),v),We(q(),M)]}const k=f(t.startTime);return We(q(),k)}return i.value.enabled?[null,null]:null},g=()=>{if(i.value.enabled){const[k,v]=m();n.value=[l(k,0),l(v,1)]}else n.value=l(m())},p=k=>Array.isArray(k)?[ps(q(k[0])),ps(q(k[1]))]:[ps(k??q())],_=(k,v,M)=>{c("hours",k),c("minutes",v),c("seconds",t.enableSeconds?M:0)},y=()=>{const[k,v]=p(n.value);return i.value.enabled?_([k.hours,v.hours],[k.minutes,v.minutes],[k.seconds,v.seconds]):_(k.hours,k.minutes,k.seconds)};o.onMounted(()=>{if(!t.shadow)return d(s.value),n.value?y():g()});const C=()=>{Array.isArray(n.value)?n.value=n.value.map((k,v)=>k&&l(k,v)):n.value=l(n.value),e("time-update")};return{modelValue:n,time:r,disabledTimesConfig:u,updateTime:(k,v=!0,M=!1)=>{a(k,v,M,C)},validateTime:h}},Ly=o.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...$n},emits:["update:internal-model-value","time-update","am-pm-change"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Kt(i,"timePicker"),{time:l,modelValue:c,disabledTimesConfig:d,updateTime:u,validateTime:h}=Py(s,r);return e({getSidebarProps:()=>({modelValue:c,time:l,updateTime:u})}),(f,m)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":0,stretch:""},{default:o.withCtx(()=>[o.createVNode(Cf,o.mergeProps(f.$props,{hours:o.unref(l).hours,minutes:o.unref(l).minutes,seconds:o.unref(l).seconds,"internal-model-value":f.internalModelValue,"disabled-times-config":o.unref(d),"validate-time":o.unref(h),"onUpdate:hours":m[0]||(m[0]=g=>o.unref(u)(g)),"onUpdate:minutes":m[1]||(m[1]=g=>o.unref(u)(g,!1)),"onUpdate:seconds":m[2]||(m[2]=g=>o.unref(u)(g,!1,!0)),onAmPmChange:m[3]||(m[3]=g=>f.$emit("am-pm-change",g))}),o.createSlots({_:2},[o.renderList(o.unref(a),(g,p)=>({name:g,fn:o.withCtx(_=>[o.renderSlot(f.$slots,g,o.normalizeProps(o.guardReactiveProps(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Vy={class:"dp__month_year_row"},Ny=["aria-label","onClick","onKeydown"],By=o.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...$n},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(t,{expose:e,emit:n}){const r=n,s=t,{defaultedTransitions:i,defaultedAriaLabels:a,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:d,defaultedHighlight:u,propDates:h}=et(s),{transitionName:f,showTransition:m}=Qi(i),{buildMatrix:g}=Ar(),{handleMonthYearChange:p,isDisabled:_,updateMonthYear:y}=U7(s,r),{showLeftIcon:C,showRightIcon:k}=Sa(),v=o.ref(!1),M=o.ref(!1),T=o.ref([null,null,null,null]);o.onMounted(()=>{r("mount")});const S=P=>({get:()=>s[P],set:N=>{const b=P===En.month?En.year:En.month;r("update-month-year",{[P]:N,[b]:s[b]}),P===En.month?D(!0):x(!0)}}),O=o.computed(S(En.month)),E=o.computed(S(En.year)),I=o.computed(()=>P=>({month:s.month,year:s.year,items:P===En.month?s.months:s.years,instance:s.instance,updateMonthYear:y,toggle:P===En.month?D:x})),j=o.computed(()=>s.months.find(N=>N.value===s.month)||{text:"",value:0}),$=o.computed(()=>si(s.months,P=>{const N=s.month===P.value,b=Xi(P.value,of(s.year,h.value.minDate),af(s.year,h.value.maxDate))||c.value.months.includes(P.value),w=ff(u.value,P.value,s.year);return{active:N,disabled:b,highlighted:w}})),R=o.computed(()=>si(s.years,P=>{const N=s.year===P.value,b=Xi(P.value,ii(h.value.minDate),ii(h.value.maxDate))||c.value.years.includes(P.value),w=td(u.value,P.value);return{active:N,disabled:b,highlighted:w}})),G=(P,N)=>{N!==void 0?P.value=N:P.value=!P.value,P.value||r("overlay-closed")},D=(P=!1,N)=>{V(P),G(v,N)},x=(P=!1,N)=>{V(P),G(M,N)},V=P=>{P||r("reset-flow")},Z=(P,N)=>{s.arrowNavigation&&(T.value[N]=Ct(P),g(T.value,"monthYear"))},ee=o.computed(()=>{var P,N;return[{type:En.month,index:1,toggle:D,modelValue:O.value,updateModelValue:b=>O.value=b,text:j.value.text,showSelectionGrid:v.value,items:$.value,ariaLabel:(P=a.value)==null?void 0:P.openMonthsOverlay},{type:En.year,index:2,toggle:x,modelValue:E.value,updateModelValue:b=>E.value=b,text:rf(s.year,s.locale),showSelectionGrid:M.value,items:R.value,ariaLabel:(N=a.value)==null?void 0:N.openYearsOverlay}]}),U=o.computed(()=>s.disableYearSelect?[ee.value[0]]:s.yearFirst?[...ee.value].reverse():ee.value);return e({toggleMonthPicker:D,toggleYearPicker:x,handleMonthYearChange:p}),(P,N)=>{var b,w,B;return o.openBlock(),o.createElementBlock("div",Vy,[P.$slots["month-year"]?o.renderSlot(P.$slots,"month-year",o.normalizeProps(o.mergeProps({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:o.unref(y),handleMonthYearChange:o.unref(p),instance:t.instance}))):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.unref(C)(o.unref(l),t.instance)&&!P.vertical?(o.openBlock(),o.createBlock(no,{key:0,"aria-label":(b=o.unref(a))==null?void 0:b.prevMonth,disabled:o.unref(_)(!1),onActivate:N[0]||(N[0]=H=>o.unref(p)(!1,!0)),onSetRef:N[1]||(N[1]=H=>Z(H,0))},{default:o.withCtx(()=>[P.$slots["arrow-left"]?o.renderSlot(P.$slots,"arrow-left",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-left"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Hc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:P.disableYearSelect}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(U.value,(H,be)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:H.type},[o.createElementVNode("button",{ref_for:!0,ref:Ie=>Z(Ie,be+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":H.ariaLabel,onClick:H.toggle,onKeydown:[o.withKeys(o.withModifiers(H.toggle,["prevent"]),["enter"]),o.withKeys(o.withModifiers(H.toggle,["prevent"]),["space"])]},[P.$slots[H.type]?o.renderSlot(P.$slots,H.type,{key:0,text:H.text,value:s[H.type]}):o.createCommentVNode("",!0),P.$slots[H.type]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(H.text),1)],64))],40,Ny),o.createVNode(o.Transition,{name:o.unref(f)(H.showSelectionGrid),css:o.unref(m)},{default:o.withCtx(()=>[H.showSelectionGrid?(o.openBlock(),o.createBlock(to,{key:0,items:H.items,"arrow-navigation":P.arrowNavigation,"hide-navigation":P.hideNavigation,"is-last":P.autoApply&&!o.unref(d).keepActionRow,"skip-button-ref":!1,config:P.config,type:H.type,"header-refs":[],"esc-close":P.escClose,"menu-wrap-ref":P.menuWrapRef,"text-input":P.textInput,"aria-labels":P.ariaLabels,onSelected:H.updateModelValue,onToggle:H.toggle},o.createSlots({"button-icon":o.withCtx(()=>[P.$slots["calendar-icon"]?o.renderSlot(P.$slots,"calendar-icon",{key:0}):o.createCommentVNode("",!0),P.$slots["calendar-icon"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(ri),{key:1}))]),_:2},[P.$slots[`${H.type}-overlay-value`]?{name:"item",fn:o.withCtx(({item:Ie})=>[o.renderSlot(P.$slots,`${H.type}-overlay-value`,{text:Ie.text,value:Ie.value})]),key:"0"}:void 0,P.$slots[`${H.type}-overlay`]?{name:"overlay",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${H.type}-overlay`,o.normalizeProps(o.guardReactiveProps(I.value(H.type))))]),key:"1"}:void 0,P.$slots[`${H.type}-overlay-header`]?{name:"header",fn:o.withCtx(()=>[o.renderSlot(P.$slots,`${H.type}-overlay-header`,{toggle:H.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):o.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),o.unref(C)(o.unref(l),t.instance)&&P.vertical?(o.openBlock(),o.createBlock(no,{key:1,"aria-label":(w=o.unref(a))==null?void 0:w.prevMonth,disabled:o.unref(_)(!1),onActivate:N[2]||(N[2]=H=>o.unref(p)(!1,!0))},{default:o.withCtx(()=>[P.$slots["arrow-up"]?o.renderSlot(P.$slots,"arrow-up",{key:0}):o.createCommentVNode("",!0),P.$slots["arrow-up"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Wc),{key:1}))]),_:3},8,["aria-label","disabled"])):o.createCommentVNode("",!0),o.unref(k)(o.unref(l),t.instance)?(o.openBlock(),o.createBlock(no,{key:2,ref:"rightIcon",disabled:o.unref(_)(!0),"aria-label":(B=o.unref(a))==null?void 0:B.nextMonth,onActivate:N[3]||(N[3]=H=>o.unref(p)(!0,!0)),onSetRef:N[4]||(N[4]=H=>Z(H,P.disableYearSelect?2:3))},{default:o.withCtx(()=>[P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.renderSlot(P.$slots,P.vertical?"arrow-down":"arrow-right",{key:0}):o.createCommentVNode("",!0),P.$slots[P.vertical?"arrow-down":"arrow-right"]?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.resolveDynamicComponent(P.vertical?o.unref(jc):o.unref(zc)),{key:1}))]),_:3},8,["disabled","aria-label"])):o.createCommentVNode("",!0)],64))])}}}),Ay=["aria-label"],Fy={class:"dp__calendar_header",role:"row"},Ry={key:0,class:"dp__calendar_header_item",role:"gridcell"},Iy=["aria-label"],Hy=o.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1),zy=["aria-label"],Yy={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Wy={class:"dp__cell_inner"},jy=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Zy=o.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...$n},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:e,emit:n}){const r=n,s=t,{buildMultiLevelMatrix:i}=Ar(),{defaultedTransitions:a,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:d,defaultedWeekNumbers:u,defaultedMultiDates:h}=et(s),f=o.ref(null),m=o.ref({bottom:"",left:"",transform:""}),g=o.ref([]),p=o.ref(null),_=o.ref(!0),y=o.ref(""),C=o.ref({startX:0,endX:0,startY:0,endY:0}),k=o.ref([]),v=o.ref({left:"50%"}),M=o.ref(!1),T=o.computed(()=>s.calendar?s.calendar(s.mappedDates):s.mappedDates),S=o.computed(()=>s.dayNames?Array.isArray(s.dayNames)?s.dayNames:s.dayNames(s.locale,+s.weekStart):f7(s.formatLocale,s.locale,+s.weekStart));o.onMounted(()=>{r("mount",{cmp:"calendar",refs:g}),l.value.noSwipe||p.value&&(p.value.addEventListener("touchstart",ee,{passive:!1}),p.value.addEventListener("touchend",U,{passive:!1}),p.value.addEventListener("touchmove",P,{passive:!1})),s.monthChangeOnScroll&&p.value&&p.value.addEventListener("wheel",w,{passive:!1})});const O=z=>z?s.vertical?"vNext":"next":s.vertical?"vPrevious":"previous",E=(z,ue)=>{if(s.transitions){const L=Gt(lr(q(),s.month,s.year));y.value=ft(Gt(lr(q(),z,ue)),L)?a.value[O(!0)]:a.value[O(!1)],_.value=!1,o.nextTick(()=>{_.value=!0})}},I=o.computed(()=>({[s.calendarClassName]:!!s.calendarClassName})),j=o.computed(()=>z=>{const ue=p7(z);return{dp__marker_dot:ue.type==="dot",dp__marker_line:ue.type==="line"}}),$=o.computed(()=>z=>Se(z,f.value)),R=o.computed(()=>({dp__calendar:!0,dp__calendar_next:d.value.count>0&&s.instance!==0})),G=o.computed(()=>z=>s.hideOffsetDates?z.current:!0),D=z=>Hn(z,"yyyy-MM-dd"),x=async(z,ue,L)=>{const K=Ct(g.value[ue][L]);if(K){const{width:de,height:ge}=K.getBoundingClientRect();f.value=z.value;let ae={left:`${de/2}px`},te=-50;if(await o.nextTick(),k.value[0]){const{left:Rt,width:Ot}=k.value[0].getBoundingClientRect();Rt<0&&(ae={left:"0"},te=0,v.value.left=`${de/2}px`),window.innerWidth<Rt+Ot&&(ae={right:"0"},te=0,v.value.left=`${Ot-de/2}px`)}m.value={bottom:`${ge}px`,...ae,transform:`translateX(${te}%)`},r("tooltip-open",z.marker)}},V=async(z,ue,L)=>{var K,de;if(M.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",z);r("set-hover-date",z),(de=(K=z.marker)==null?void 0:K.tooltip)!=null&&de.length&&await x(z,ue,L)},Z=z=>{f.value&&(f.value=null,m.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",z.marker))},ee=z=>{C.value.startX=z.changedTouches[0].screenX,C.value.startY=z.changedTouches[0].screenY},U=z=>{C.value.endX=z.changedTouches[0].screenX,C.value.endY=z.changedTouches[0].screenY,N()},P=z=>{s.vertical&&!s.inline&&z.preventDefault()},N=()=>{const z=s.vertical?"Y":"X";Math.abs(C.value[`start${z}`]-C.value[`end${z}`])>10&&r("handle-swipe",C.value[`start${z}`]>C.value[`end${z}`]?"right":"left")},b=(z,ue,L)=>{z&&(Array.isArray(g.value[ue])?g.value[ue][L]=z:g.value[ue]=[z]),s.arrowNavigation&&i(g.value,"calendar")},w=z=>{s.monthChangeOnScroll&&(z.preventDefault(),r("handle-scroll",z))},B=z=>u.value.type==="local"?Lc(z.value,{weekStartsOn:+s.weekStart}):u.value.type==="iso"?$c(z.value):typeof u.value.type=="function"?u.value.type(z.value):"",H=z=>{const ue=z[0];return u.value.hideOnOffsetDates?z.some(L=>L.current)?B(ue):"":B(ue)},be=(z,ue)=>{h.value.enabled||(Vr(z,l.value),r("select-date",ue))},Ie=z=>{Vr(z,l.value)},A=z=>{h.value.enabled&&h.value.dragSelect?(M.value=!0,r("select-date",z)):h.value.enabled&&r("select-date",z)};return e({triggerTransition:E}),(z,ue)=>{var L;return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(R.value)},[o.createElementVNode("div",{ref_key:"calendarWrapRef",ref:p,role:"grid",class:o.normalizeClass(I.value),"aria-label":(L=o.unref(c))==null?void 0:L.calendarWrap},[o.createElementVNode("div",Fy,[z.weekNumbers?(o.openBlock(),o.createElementBlock("div",Ry,o.toDisplayString(z.weekNumName),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(S.value,(K,de)=>{var ge,ae;return o.openBlock(),o.createElementBlock("div",{key:de,class:"dp__calendar_header_item",role:"gridcell","aria-label":(ae=(ge=o.unref(c))==null?void 0:ge.weekDay)==null?void 0:ae.call(ge,de)},[z.$slots["calendar-header"]?o.renderSlot(z.$slots,"calendar-header",{key:0,day:K,index:de}):o.createCommentVNode("",!0),z.$slots["calendar-header"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(K),1)],64))],8,Iy)}),128))]),Hy,o.createVNode(o.Transition,{name:y.value,css:!!z.transitions},{default:o.withCtx(()=>{var K;return[_.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((K=o.unref(c))==null?void 0:K.calendarDays)||void 0,onMouseleave:ue[1]||(ue[1]=de=>M.value=!1)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(T.value,(de,ge)=>(o.openBlock(),o.createElementBlock("div",{key:ge,class:"dp__calendar_row",role:"row"},[z.weekNumbers?(o.openBlock(),o.createElementBlock("div",Yy,[o.createElementVNode("div",Wy,o.toDisplayString(H(de.days)),1)])):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(de.days,(ae,te)=>{var Rt,Ot,$r;return o.openBlock(),o.createElementBlock("div",{id:D(ae.value),ref_for:!0,ref:Mt=>b(Mt,ge,te),key:te+ge,role:"gridcell",class:"dp__calendar_item","aria-selected":(ae.classData.dp__active_date||ae.classData.dp__range_start||ae.classData.dp__range_start)??void 0,"aria-disabled":ae.classData.dp__cell_disabled||void 0,"aria-label":(Ot=(Rt=o.unref(c))==null?void 0:Rt.day)==null?void 0:Ot.call(Rt,ae),tabindex:"0",onClick:o.withModifiers(Mt=>be(Mt,ae),["prevent"]),onKeydown:[o.withKeys(Mt=>z.$emit("select-date",ae),["enter"]),o.withKeys(Mt=>z.$emit("handle-space",ae),["space"])],onMouseenter:Mt=>V(ae,ge,te),onMouseleave:Mt=>Z(ae),onMousedown:Mt=>A(ae),onMouseup:ue[0]||(ue[0]=Mt=>M.value=!1)},[o.createElementVNode("div",{class:o.normalizeClass(["dp__cell_inner",ae.classData])},[z.$slots.day&&G.value(ae)?o.renderSlot(z.$slots,"day",{key:0,day:+ae.text,date:ae.value}):o.createCommentVNode("",!0),z.$slots.day?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(ae.text),1)],64)),ae.marker&&G.value(ae)?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[z.$slots.marker?o.renderSlot(z.$slots,"marker",{key:0,marker:ae.marker,day:+ae.text,date:ae.value}):(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(j.value(ae.marker)),style:o.normalizeStyle(ae.marker.color?{backgroundColor:ae.marker.color}:{})},null,6))],64)):o.createCommentVNode("",!0),$.value(ae.value)?(o.openBlock(),o.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:k,class:"dp__marker_tooltip",style:o.normalizeStyle(m.value)},[($r=ae.marker)!=null&&$r.tooltip?(o.openBlock(),o.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Ie},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ae.marker.tooltip,(Mt,Ks)=>(o.openBlock(),o.createElementBlock("div",{key:Ks,class:"dp__tooltip_text"},[z.$slots["marker-tooltip"]?o.renderSlot(z.$slots,"marker-tooltip",{key:0,tooltip:Mt,day:ae.value}):o.createCommentVNode("",!0),z.$slots["marker-tooltip"]?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("div",{class:"dp__tooltip_mark",style:o.normalizeStyle(Mt.color?{backgroundColor:Mt.color}:{})},null,4),o.createElementVNode("div",null,o.toDisplayString(Mt.text),1)],64))]))),128)),o.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:o.normalizeStyle(v.value)},null,4)])):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0)],2)],40,jy)}),128))]))),128))],40,zy)):o.createCommentVNode("",!0)]}),_:3},8,["name","css"])],10,Ay)],2)}}}),Mf=t=>Array.isArray(t),Uy=(t,e,n,r)=>{const s=o.ref([]),i=o.ref(new Date),{modelValue:a,calendars:l,time:c}=eo(t,e),{defaultedMultiCalendars:d,defaultedStartTime:u,defaultedRange:h,defaultedTz:f,propDates:m,defaultedMultiDates:g}=et(t),{validateMonthYearInRange:p,isDisabled:_,isDateRangeAllowed:y,checkMinMaxRange:C}=Rr(t),{updateTimeValues:k,getSetDateTime:v,setTime:M,assignStartTime:T,validateTime:S,disabledTimesConfig:O}=xf(t,c,a,r),E=o.computed(()=>F=>l.value[F]?l.value[F].month:0),I=o.computed(()=>F=>l.value[F]?l.value[F].year:0),j=(F,Q,ce)=>{var we,X;l.value[F]||(l.value[F]={month:0,year:0}),l.value[F].month=tf(Q)?(we=l.value[F])==null?void 0:we.month:Q,l.value[F].year=tf(ce)?(X=l.value[F])==null?void 0:X.year:ce},$=()=>{t.autoApply&&e("select-date")};o.watch(a,(F,Q)=>{JSON.stringify(F)!==JSON.stringify(Q)&&D()},{deep:!0}),o.onMounted(()=>{t.shadow||(a.value||(H(),u.value&&T(u.value)),D(!0),t.focusStartDate&&t.startDate&&H())});const R=o.computed(()=>{var F;return(F=t.flow)!=null&&F.length&&!t.partialFlow?t.flowStep===t.flow.length:!0}),G=()=>{t.autoApply&&R.value&&e("auto-apply")},D=(F=!1)=>{if(a.value)return Array.isArray(a.value)?(s.value=a.value,N(F)):Z(a.value,F);if(d.value.count&&F&&!t.startDate)return V(q(),F)},x=()=>Array.isArray(a.value)&&h.value.enabled?Ce(a.value[0])===Ce(a.value[1]??a.value[0]):!1,V=(F,Q=!1)=>{if((!d.value.count||!d.value.static||Q)&&j(0,Ce(F),ye(F)),d.value.count&&(!d.value.solo||!a.value||x()))for(let ce=1;ce<d.value.count;ce++){const we=We(q(),{month:E.value(ce-1),year:I.value(ce-1)}),X=Ch(we,{months:1});l.value[ce]={month:Ce(X),year:ye(X)}}},Z=(F,Q)=>{V(F),M("hours",Dn(F)),M("minutes",zn(F)),M("seconds",ei(F)),d.value.count&&Q&&B()},ee=F=>{if(d.value.count){if(d.value.solo)return 0;const Q=Ce(F[0]),ce=Ce(F[1]);return Math.abs(ce-Q)<d.value.count?0:1}return 1},U=(F,Q)=>{F[1]&&h.value.showLastInRange?V(F[ee(F)],Q):V(F[0],Q);const ce=(we,X)=>[we(F[0]),F[1]?we(F[1]):c[X][1]];M("hours",ce(Dn,"hours")),M("minutes",ce(zn,"minutes")),M("seconds",ce(ei,"seconds"))},P=(F,Q)=>{if((h.value.enabled||t.weekPicker)&&!g.value.enabled)return U(F,Q);if(g.value.enabled&&Q){const ce=F[F.length-1];return Z(ce,Q)}},N=F=>{const Q=a.value;P(Q,F),d.value.count&&d.value.solo&&B()},b=(F,Q)=>{const ce=We(q(),{month:E.value(Q),year:I.value(Q)}),we=F<0?Tn(ce,1):ni(ce,1);p(Ce(we),ye(we),F<0,t.preventMinMaxNavigation)&&(j(Q,Ce(we),ye(we)),e("update-month-year",{instance:Q,month:Ce(we),year:ye(we)}),d.value.count&&!d.value.solo&&w(Q),n())},w=F=>{for(let Q=F-1;Q>=0;Q--){const ce=ni(We(q(),{month:E.value(Q+1),year:I.value(Q+1)}),1);j(Q,Ce(ce),ye(ce))}for(let Q=F+1;Q<=d.value.count-1;Q++){const ce=Tn(We(q(),{month:E.value(Q-1),year:I.value(Q-1)}),1);j(Q,Ce(ce),ye(ce))}},B=()=>{if(Array.isArray(a.value)&&a.value.length===2){const F=q(q(a.value[1]?a.value[1]:Tn(a.value[0],1))),[Q,ce]=[Ce(a.value[0]),ye(a.value[0])],[we,X]=[Ce(a.value[1]),ye(a.value[1])];(Q!==we||Q===we&&ce!==X)&&d.value.solo&&j(1,Ce(F),ye(F))}else a.value&&!Array.isArray(a.value)&&(j(0,Ce(a.value),ye(a.value)),V(q()))},H=()=>{t.startDate&&(j(0,Ce(q(t.startDate)),ye(q(t.startDate))),d.value.count&&w(0))},be=(F,Q)=>{if(t.monthChangeOnScroll){const ce=new Date().getTime()-i.value.getTime(),we=Math.abs(F.deltaY);let X=500;we>1&&(X=100),we>100&&(X=0),ce>X&&(i.value=new Date,b(t.monthChangeOnScroll!=="inverse"?-F.deltaY:F.deltaY,Q))}},Ie=(F,Q,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&A(F,Q)},A=(F,Q)=>{b(F==="right"?-1:1,Q)},z=F=>{if(m.value.markers)return ka(F.value,m.value.markers)},ue=(F,Q)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[F==0,!0];case"fair":return[F==0||Q>F,!0];case"append":return[!1,!1];default:return[!1,!1]}},L=(F,Q,ce,we)=>{if(t.sixWeeks&&F.length<6){const X=6-F.length,he=(Q.getDay()+7-we)%7,fe=6-(ce.getDay()+7-we)%7,[Pr,or]=ue(he,fe);for(let Xs=1;Xs<=X;Xs++)if(or?!!(Xs%2)==Pr:Pr){const ds=F[0].days[0],yh=K(vn(ds.value,-7),Ce(Q));F.unshift({days:yh})}else{const ds=F[F.length-1],yh=ds.days[ds.days.length-1],FH=K(vn(yh.value,1),Ce(Q));F.push({days:FH})}}return F},K=(F,Q)=>{const ce=q(F),we=[];for(let X=0;X<7;X++){const he=vn(ce,X),fe=Ce(he)!==Q;we.push({text:t.hideOffsetDates&&fe?"":he.getDate(),value:he,current:!fe,classData:{}})}return we},de=(F,Q)=>{const ce=[],we=new Date(Q,F),X=new Date(Q,F+1,0),he=t.weekStart,fe=In(we,{weekStartsOn:he}),Pr=or=>{const Xs=K(or,F);if(ce.push({days:Xs}),!ce[ce.length-1].days.some(ds=>Se(Gt(ds.value),Gt(X)))){const ds=vn(or,7);Pr(ds)}};return Pr(fe),L(ce,we,X,he)},ge=F=>{const Q=Nr(q(F.value),c.hours,c.minutes,Ks());e("date-update",Q),g.value.enabled?ld(Q,a,g.value.limit):a.value=Q,r(),o.nextTick().then(()=>{G()})},ae=F=>h.value.noDisabledRange?lf(s.value[0],F).some(Q=>_(Q)):!1,te=()=>{s.value=a.value?a.value.slice():[],s.value.length===2&&!(h.value.fixedStart||h.value.fixedEnd)&&(s.value=[])},Rt=(F,Q)=>{const ce=[q(F.value),vn(q(F.value),+h.value.autoRange)];y(ce)?(Q&&Ot(F.value),s.value=ce):e("invalid-date",F.value)},Ot=F=>{const Q=Ce(q(F)),ce=ye(q(F));if(j(0,Q,ce),d.value.count>0)for(let we=1;we<d.value.count;we++){const X=x7(We(q(F),{year:E.value(we-1),month:I.value(we-1)}));j(we,X.month,X.year)}},$r=F=>{if(ae(F.value)||!C(F.value,a.value,h.value.fixedStart?0:1))return e("invalid-date",F.value);s.value=bf(q(F.value),a,e,h)},Mt=(F,Q)=>{if(te(),h.value.autoRange)return Rt(F,Q);if(h.value.fixedStart||h.value.fixedEnd)return $r(F);s.value[0]?C(q(F.value),a.value)&&!ae(F.value)?ot(q(F.value),q(s.value[0]))?(s.value.unshift(q(F.value)),e("range-end",s.value[0])):(s.value[1]=q(F.value),e("range-end",s.value[1])):(t.autoApply&&e("auto-apply-invalid",F.value),e("invalid-date",F.value)):(s.value[0]=q(F.value),e("range-start",s.value[0]))},Ks=(F=!0)=>t.enableSeconds?Array.isArray(c.seconds)?F?c.seconds[0]:c.seconds[1]:c.seconds:0,ga=F=>{s.value[F]=Nr(s.value[F],c.hours[F],c.minutes[F],Ks(F!==1))},_a=()=>{var F,Q;s.value[0]&&s.value[1]&&+((F=s.value)==null?void 0:F[0])>+((Q=s.value)==null?void 0:Q[1])&&(s.value.reverse(),e("range-start",s.value[0]),e("range-end",s.value[1]))},Sn=()=>{s.value.length&&(s.value[0]&&!s.value[1]?ga(0):(ga(0),ga(1),r()),_a(),a.value=s.value.slice(),Da(s.value,e,t.autoApply,t.modelAuto))},fh=(F,Q=!1)=>{if(_(F.value)||!F.current&&t.hideOffsetDates)return e("invalid-date",F.value);if(!h.value.enabled)return ge(F);Mf(c.hours)&&Mf(c.minutes)&&!g.value.enabled&&(Mt(F,Q),Sn())},mh=(F,Q)=>{var ce;j(F,Q.month,Q.year),d.value.count&&!d.value.solo&&w(F),e("update-month-year",{instance:F,month:Q.month,year:Q.year}),n(d.value.solo?F:void 0);const we=(ce=t.flow)!=null&&ce.length?t.flow[t.flowStep]:void 0;!Q.fromNav&&(we===Zn.month||we===Zn.year)&&r()},vc=(F,Q)=>{wf({value:F,modelValue:a,range:h.value.enabled,timezone:Q?void 0:f.value.timezone}),$(),t.multiCalendars&&o.nextTick().then(()=>D(!0))},ph=()=>{h.value.enabled?a.value&&Array.isArray(a.value)&&a.value[0]?a.value=ot(q(),a.value[0])?[q(),a.value[0]]:[a.value[0],q()]:a.value=[q()]:a.value=q(),$()},gh=()=>{if(Array.isArray(a.value))if(g.value.enabled){const F=_h();a.value[a.value.length-1]=v(F)}else a.value=a.value.map((F,Q)=>F&&v(F,Q));else a.value=v(a.value);e("time-update")},_h=()=>Array.isArray(a.value)&&a.value.length?a.value[a.value.length-1]:null;return{calendars:l,modelValue:a,month:E,year:I,time:c,disabledTimesConfig:O,validateTime:S,getCalendarDays:de,getMarker:z,handleScroll:be,handleSwipe:A,handleArrow:Ie,selectDate:fh,updateMonthYear:mh,presetDate:vc,selectCurrentDate:ph,updateTime:(F,Q=!0,ce=!1)=>{k(F,Q,ce,gh)}}},qy={key:0},Gy=o.defineComponent({__name:"DatePicker",props:{...$n},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,{calendars:i,month:a,year:l,modelValue:c,time:d,disabledTimesConfig:u,validateTime:h,getCalendarDays:f,getMarker:m,handleArrow:g,handleScroll:p,handleSwipe:_,selectDate:y,updateMonthYear:C,presetDate:k,selectCurrentDate:v,updateTime:M}=Uy(s,r,ee,U),T=o.useSlots(),{setHoverDate:S,getDayClassData:O,clearHoverDate:E}=X7(c,s),{defaultedMultiCalendars:I}=et(s),j=o.ref([]),$=o.ref([]),R=o.ref(null),G=Kt(T,"calendar"),D=Kt(T,"monthYear"),x=Kt(T,"timePicker"),V=N=>{s.shadow||r("mount",N)};o.watch(i,()=>{s.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0});const Z=o.computed(()=>N=>f(a.value(N),l.value(N)).map(b=>({...b,days:b.days.map(w=>(w.marker=m(w),w.classData=O(w),w))})));function ee(N){var b;N||N===0?(b=$.value[N])==null||b.triggerTransition(a.value(N),l.value(N)):$.value.forEach((w,B)=>w.triggerTransition(a.value(B),l.value(B)))}function U(){r("update-flow-step")}const P=(N,b=!1)=>{y(N,b),s.spaceConfirm&&r("select-date")};return e({clearHoverDate:E,presetDate:k,selectCurrentDate:v,toggleMonthPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleMonthPicker(N,b)},toggleYearPicker:(N,b,w=0)=>{var B;(B=j.value[w])==null||B.toggleYearPicker(N,b)},toggleTimePicker:(N,b,w)=>{var B;(B=R.value)==null||B.toggleTimePicker(N,b,w)},handleArrow:g,updateMonthYear:C,getSidebarProps:()=>({modelValue:c,month:a,year:l,time:d,updateTime:M,updateMonthYear:C,selectDate:y,presetDate:k})}),(N,b)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Ta,{"multi-calendars":o.unref(I).count,collapse:N.collapse},{default:o.withCtx(({instance:w,index:B})=>[N.disableMonthYearSelect?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(By,o.mergeProps({key:0,ref:H=>{H&&(j.value[B]=H)},months:o.unref(Jh)(N.formatLocale,N.locale,N.monthNameFormat),years:o.unref(Zc)(N.yearRange,N.locale,N.reverseYears),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onMount:b[0]||(b[0]=H=>V(o.unref(_s).header)),onResetFlow:b[1]||(b[1]=H=>N.$emit("reset-flow")),onUpdateMonthYear:H=>o.unref(C)(w,H),onOverlayClosed:b[2]||(b[2]=H=>N.$emit("focus-menu"))}),o.createSlots({_:2},[o.renderList(o.unref(D),(H,be)=>({name:H,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,H,o.normalizeProps(o.guardReactiveProps(Ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),o.createVNode(Zy,o.mergeProps({ref:H=>{H&&($.value[B]=H)},"mapped-dates":Z.value(w),month:o.unref(a)(w),year:o.unref(l)(w),instance:w},N.$props,{onSelectDate:H=>o.unref(y)(H,w!==1),onHandleSpace:H=>P(H,w!==1),onSetHoverDate:b[3]||(b[3]=H=>o.unref(S)(H)),onHandleScroll:H=>o.unref(p)(H,w),onHandleSwipe:H=>o.unref(_)(H,w),onMount:b[4]||(b[4]=H=>V(o.unref(_s).calendar)),onResetFlow:b[5]||(b[5]=H=>N.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=H=>N.$emit("tooltip-open",H)),onTooltipClose:b[7]||(b[7]=H=>N.$emit("tooltip-close",H))}),o.createSlots({_:2},[o.renderList(o.unref(G),(H,be)=>({name:H,fn:o.withCtx(Ie=>[o.renderSlot(N.$slots,H,o.normalizeProps(o.guardReactiveProps({...Ie})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),N.enableTimePicker?(o.openBlock(),o.createElementBlock("div",qy,[N.$slots["time-picker"]?o.renderSlot(N.$slots,"time-picker",o.normalizeProps(o.mergeProps({key:0},{time:o.unref(d),updateTime:o.unref(M)}))):(o.openBlock(),o.createBlock(Cf,o.mergeProps({key:1,ref_key:"timePickerRef",ref:R},N.$props,{hours:o.unref(d).hours,minutes:o.unref(d).minutes,seconds:o.unref(d).seconds,"internal-model-value":N.internalModelValue,"disabled-times-config":o.unref(u),"validate-time":o.unref(h),onMount:b[8]||(b[8]=w=>V(o.unref(_s).timePicker)),"onUpdate:hours":b[9]||(b[9]=w=>o.unref(M)(w)),"onUpdate:minutes":b[10]||(b[10]=w=>o.unref(M)(w,!1)),"onUpdate:seconds":b[11]||(b[11]=w=>o.unref(M)(w,!1,!0)),onResetFlow:b[12]||(b[12]=w=>N.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=w=>N.$emit("time-picker-close")),onOverlayOpened:b[14]||(b[14]=w=>N.$emit("time-picker-open",w)),onAmPmChange:b[15]||(b[15]=w=>N.$emit("am-pm-change",w))}),o.createSlots({_:2},[o.renderList(o.unref(x),(w,B)=>({name:w,fn:o.withCtx(H=>[o.renderSlot(N.$slots,w,o.normalizeProps(o.guardReactiveProps(H)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):o.createCommentVNode("",!0)],64))}}),Ky=(t,e)=>{const n=o.ref(),{defaultedMultiCalendars:r,defaultedConfig:s,defaultedHighlight:i,defaultedRange:a,propDates:l,defaultedFilters:c,defaultedMultiDates:d}=et(t),{modelValue:u,year:h,month:f,calendars:m}=eo(t,e),{isDisabled:g}=Rr(t),{selectYear:p,groupedYears:_,showYearPicker:y,isDisabled:C,toggleYearPicker:k,handleYearSelect:v,handleYear:M}=kf({modelValue:u,multiCalendars:r,highlight:i,calendars:m,propDates:l,month:f,year:h,filters:c,props:t,emit:e}),T=(D,x)=>[D,x].map(V=>Hn(V,"MMMM",{locale:t.formatLocale})).join("-"),S=o.computed(()=>D=>u.value?Array.isArray(u.value)?u.value.some(x=>jh(D,x)):jh(u.value,D):!1),O=D=>{if(a.value.enabled){if(Array.isArray(u.value)){const x=Se(D,u.value[0])||Se(D,u.value[1]);return Ca(u.value,n.value,D)&&!x}return!1}return!1},E=(D,x)=>D.quarter===Oh(x)&&D.year===ye(x),I=D=>typeof i.value=="function"?i.value({quarter:Oh(D),year:ye(D)}):!!i.value.quarters.find(x=>E(x,D)),j=o.computed(()=>D=>{const x=We(new Date,{year:h.value(D)});return b4({start:$h(x),end:k4(x)}).map(V=>{const Z=fs(V),ee=Ph(V),U=g(V),P=O(Z),N=I(Z);return{text:T(Z,ee),value:Z,active:S.value(Z),highlighted:N,disabled:U,isBetween:P}})}),$=D=>{ld(D,u,d.value.limit),e("auto-apply",!0)},R=D=>{u.value=cd(u,D,e),Da(u.value,e,t.autoApply,t.modelAuto)},G=D=>{u.value=D,e("auto-apply")};return{defaultedConfig:s,defaultedMultiCalendars:r,groupedYears:_,year:h,isDisabled:C,quarters:j,showYearPicker:y,modelValue:u,setHoverDate:D=>{n.value=D},selectYear:p,selectQuarter:(D,x,V)=>{if(!V)return m.value[x].month=Ce(Ph(D)),d.value.enabled?$(D):a.value.enabled?R(D):G(D)},toggleYearPicker:k,handleYearSelect:v,handleYear:M}},Xy={class:"dp--quarter-items"},Jy=["disabled","onClick","onMouseover"],Qy=o.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...$n},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=Kt(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:d,year:u,isDisabled:h,quarters:f,modelValue:m,showYearPicker:g,setHoverDate:p,selectQuarter:_,toggleYearPicker:y,handleYearSelect:C,handleYear:k}=Ky(s,r);return e({getSidebarProps:()=>({modelValue:m,year:u,selectQuarter:_,handleYearSelect:C,handleYear:k})}),(v,M)=>(o.openBlock(),o.createBlock(Ta,{"multi-calendars":o.unref(l).count,collapse:v.collapse,stretch:""},{default:o.withCtx(({instance:T})=>[o.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:o.normalizeStyle({minHeight:`${o.unref(c).modeHeight}px`})},[o.createElementVNode("div",null,[o.createVNode(yf,o.mergeProps(v.$props,{items:o.unref(d)(T),instance:T,"show-year-picker":o.unref(g)[T],year:o.unref(u)(T),"is-disabled":S=>o.unref(h)(T,S),onHandleYear:S=>o.unref(k)(T,S),onYearSelect:S=>o.unref(C)(S,T),onToggleYearPicker:S=>o.unref(y)(T,S==null?void 0:S.flow,S==null?void 0:S.show)}),o.createSlots({_:2},[o.renderList(o.unref(a),(S,O)=>({name:S,fn:o.withCtx(E=>[o.renderSlot(v.$slots,S,o.normalizeProps(o.guardReactiveProps(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),o.createElementVNode("div",Xy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(f)(T),(S,O)=>(o.openBlock(),o.createElementBlock("div",{key:O},[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":S.active,"dp--qr-btn-between":S.isBetween,"dp--qr-btn-disabled":S.disabled,"dp--highlighted":S.highlighted}]),disabled:S.disabled,onClick:E=>o.unref(_)(S.value,T,S.disabled),onMouseover:E=>o.unref(p)(S.value)},[v.$slots.quarter?o.renderSlot(v.$slots,"quarter",{key:0,value:S.value,text:S.text}):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createTextVNode(o.toDisplayString(S.text),1)],64))],42,Jy)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),e8=["id","aria-label"],t8={key:0,class:"dp--menu-load-container"},n8=o.createElementVNode("span",{class:"dp--menu-loader"},null,-1),r8=[n8],s8={key:0,class:"dp__sidebar_left"},i8=["onClick","onKeydown"],o8={key:2,class:"dp__sidebar_right"},a8={key:3,class:"dp__action_extra"},Sf=o.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...va,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.ref(null),a=o.computed(()=>{const{openOnTop:L,...K}=s;return{...K,flowStep:O.value,collapse:s.collapse,noOverlayFocus:s.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:d}=mf(),u=o.useSlots(),{defaultedTextInput:h,defaultedInline:f,defaultedConfig:m}=et(s),g=o.ref(null),p=o.ref(0),_=o.ref(null),y=o.ref(!1),C=o.ref(null);o.onMounted(()=>{if(!s.shadow){y.value=!0,k(),window.addEventListener("resize",k);const L=Ct(i);if(L&&!h.value.enabled&&!f.value.enabled&&(l(!0),R()),L){const K=de=>{m.value.allowPreventDefault&&de.preventDefault(),Vr(de,m.value,!0)};L.addEventListener("pointerdown",K),L.addEventListener("mousedown",K)}}}),o.onUnmounted(()=>{window.removeEventListener("resize",k)});const k=()=>{const L=Ct(_);L&&(p.value=L.getBoundingClientRect().width)},{arrowRight:v,arrowLeft:M,arrowDown:T,arrowUp:S}=Ar(),{flowStep:O,updateFlowStep:E,childMount:I,resetFlow:j}=J7(s,r,C),$=o.computed(()=>s.monthPicker?my:s.yearPicker?gy:s.timePicker?Ly:s.quarterPicker?Qy:Gy),R=()=>{const L=Ct(i);L&&L.focus({preventScroll:!0})},G=o.computed(()=>{var L;return((L=C.value)==null?void 0:L.getSidebarProps())||{}}),D=()=>{s.openOnTop&&r("recalculate-position")},x=Kt(u,"action"),V=o.computed(()=>s.monthPicker||s.yearPicker?Kt(u,"monthYear"):s.timePicker?Kt(u,"timePicker"):Kt(u,"shared")),Z=o.computed(()=>s.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ee=o.computed(()=>({dp__menu_disabled:s.disabled,dp__menu_readonly:s.readonly,"dp-menu-loading":s.loading})),U=o.computed(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,[s.menuClassName]:!!s.menuClassName})),P=L=>{Vr(L,m.value,!0)},N=()=>{s.escClose&&r("close-picker")},b=L=>{if(s.arrowNavigation){if(L==="up")return S();if(L==="down")return T();if(L==="left")return M();if(L==="right")return v()}else L==="left"||L==="up"?Ie("handleArrow","left",0,L==="up"):Ie("handleArrow","right",0,L==="down")},w=L=>{c(L.shiftKey),!s.disableMonthYearSelect&&L.code==="Tab"&&L.target.classList.contains("dp__menu")&&d.value.shiftKeyInMenu&&(L.preventDefault(),Vr(L,m.value,!0),r("close-picker"))},B=()=>{R(),r("time-picker-close")},H=L=>{var K,de,ge;(K=C.value)==null||K.toggleTimePicker(!1,!1),(de=C.value)==null||de.toggleMonthPicker(!1,!1,L),(ge=C.value)==null||ge.toggleYearPicker(!1,!1,L)},be=(L,K=0)=>{var de,ge,ae;return L==="month"?(de=C.value)==null?void 0:de.toggleMonthPicker(!1,!0,K):L==="year"?(ge=C.value)==null?void 0:ge.toggleYearPicker(!1,!0,K):L==="time"?(ae=C.value)==null?void 0:ae.toggleTimePicker(!0,!1):H(K)},Ie=(L,...K)=>{var de,ge;(de=C.value)!=null&&de[L]&&((ge=C.value)==null||ge[L](...K))},A=()=>{Ie("selectCurrentDate")},z=(L,K)=>{Ie("presetDate",L,K)},ue=()=>{Ie("clearHoverDate")};return e({updateMonthYear:(L,K)=>{Ie("updateMonthYear",L,K)},switchView:be}),(L,K)=>{var de,ge,ae;return o.openBlock(),o.createElementBlock("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:"0",role:"dialog","aria-label":(de=L.ariaLabels)==null?void 0:de.menu,class:o.normalizeClass(U.value),onMouseleave:ue,onClick:P,onKeydown:[o.withKeys(N,["esc"]),K[18]||(K[18]=o.withKeys(o.withModifiers(te=>b("left"),["prevent"]),["left"])),K[19]||(K[19]=o.withKeys(o.withModifiers(te=>b("up"),["prevent"]),["up"])),K[20]||(K[20]=o.withKeys(o.withModifiers(te=>b("down"),["prevent"]),["down"])),K[21]||(K[21]=o.withKeys(o.withModifiers(te=>b("right"),["prevent"]),["right"])),w]},[(L.disabled||L.readonly)&&o.unref(f).enabled||L.loading?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(ee.value)},[L.loading?(o.openBlock(),o.createElementBlock("div",t8,r8)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),!o.unref(f).enabled&&!L.teleportCenter?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass(Z.value)},null,2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"innerMenuRef",ref:_,class:o.normalizeClass({dp__menu_content_wrapper:((ge=L.presetDates)==null?void 0:ge.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":t.collapse&&((ae=L.presetDates)==null?void 0:ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"]}),style:o.normalizeStyle({"--dp-menu-width":`${p.value}px`})},[L.$slots["left-sidebar"]?(o.openBlock(),o.createElementBlock("div",s8,[o.renderSlot(L.$slots,"left-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.presetDates.length?(o.openBlock(),o.createElementBlock("div",{key:1,class:o.normalizeClass({"dp--preset-dates-collapsed":t.collapse,"dp--preset-dates":!0})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(L.presetDates,(te,Rt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:Rt},[te.slot?o.renderSlot(L.$slots,te.slot,{key:0,presetDate:z,label:te.label,value:te.value}):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",style:o.normalizeStyle(te.style||{}),class:o.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":t.collapse}]),onClick:o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),onKeydown:[o.withKeys(o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),["enter"]),o.withKeys(o.withModifiers(Ot=>z(te.value,te.noTz),["prevent"]),["space"])]},o.toDisplayString(te.label),47,i8))],64))),128))],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:g,class:"dp__instance_calendar",role:"document"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent($.value),o.mergeProps({ref_key:"dynCmpRef",ref:C},a.value,{"flow-step":o.unref(O),onMount:o.unref(I),onUpdateFlowStep:o.unref(E),onResetFlow:o.unref(j),onFocusMenu:R,onSelectDate:K[0]||(K[0]=te=>L.$emit("select-date")),onDateUpdate:K[1]||(K[1]=te=>L.$emit("date-update",te)),onTooltipOpen:K[2]||(K[2]=te=>L.$emit("tooltip-open",te)),onTooltipClose:K[3]||(K[3]=te=>L.$emit("tooltip-close",te)),onAutoApply:K[4]||(K[4]=te=>L.$emit("auto-apply",te)),onRangeStart:K[5]||(K[5]=te=>L.$emit("range-start",te)),onRangeEnd:K[6]||(K[6]=te=>L.$emit("range-end",te)),onInvalidFixedRange:K[7]||(K[7]=te=>L.$emit("invalid-fixed-range",te)),onTimeUpdate:K[8]||(K[8]=te=>L.$emit("time-update")),onAmPmChange:K[9]||(K[9]=te=>L.$emit("am-pm-change",te)),onTimePickerOpen:K[10]||(K[10]=te=>L.$emit("time-picker-open",te)),onTimePickerClose:B,onRecalculatePosition:D,onUpdateMonthYear:K[11]||(K[11]=te=>L.$emit("update-month-year",te)),onAutoApplyInvalid:K[12]||(K[12]=te=>L.$emit("auto-apply-invalid",te)),onInvalidDate:K[13]||(K[13]=te=>L.$emit("invalid-date",te)),"onUpdate:internalModelValue":K[14]||(K[14]=te=>L.$emit("update:internal-model-value",te))}),o.createSlots({_:2},[o.renderList(V.value,(te,Rt)=>({name:te,fn:o.withCtx(Ot=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Ot})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(o.openBlock(),o.createElementBlock("div",o8,[o.renderSlot(L.$slots,"right-sidebar",o.normalizeProps(o.guardReactiveProps(G.value)))])):o.createCommentVNode("",!0),L.$slots["action-extra"]?(o.openBlock(),o.createElementBlock("div",a8,[L.$slots["action-extra"]?o.renderSlot(L.$slots,"action-extra",{key:0,selectCurrentDate:A}):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0)],6),!L.autoApply||o.unref(m).keepActionRow?(o.openBlock(),o.createBlock(iy,o.mergeProps({key:2,"menu-mount":y.value},a.value,{"calendar-width":p.value,onClosePicker:K[15]||(K[15]=te=>L.$emit("close-picker")),onSelectDate:K[16]||(K[16]=te=>L.$emit("select-date")),onInvalidSelect:K[17]||(K[17]=te=>L.$emit("invalid-select")),onSelectNow:A}),o.createSlots({_:2},[o.renderList(o.unref(x),(te,Rt)=>({name:te,fn:o.withCtx(Ot=>[o.renderSlot(L.$slots,te,o.normalizeProps(o.guardReactiveProps({...Ot})))])}))]),1040,["menu-mount","calendar-width"])):o.createCommentVNode("",!0)],42,e8)}}}),l8=typeof window<"u"?window:void 0,dd=()=>{},c8=t=>o.getCurrentScope()?(o.onScopeDispose(t),!0):!1,d8=(t,e,n,r)=>{if(!t)return dd;let s=dd;const i=o.watch(()=>o.unref(t),l=>{s(),l&&(l.addEventListener(e,n,r),s=()=>{l.removeEventListener(e,n,r),s=dd})},{immediate:!0,flush:"post"}),a=()=>{i(),s()};return c8(a),a},u8=(t,e,n,r={})=>{const{window:s=l8,event:i="pointerdown"}=r;return s?d8(s,i,a=>{const l=Ct(t),c=Ct(e);!l||!c||l===a.target||a.composedPath().includes(l)||a.composedPath().includes(c)||n(a)},{passive:!0}):void 0},h8=o.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...va},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date"],setup(t,{expose:e,emit:n}){const r=n,s=t,i=o.useSlots(),a=o.ref(!1),l=o.toRef(s,"modelValue"),c=o.toRef(s,"timezone"),d=o.ref(null),u=o.ref(null),h=o.ref(null),f=o.ref(!1),m=o.ref(null),g=o.ref(!1),p=o.ref(!1),_=o.ref(!1),{setMenuFocused:y,setShiftKey:C}=mf(),{clearArrowNav:k}=Ar(),{validateDate:v,isValidTime:M}=Rr(s),{defaultedTransitions:T,defaultedTextInput:S,defaultedInline:O,defaultedConfig:E,defaultedRange:I,defaultedMultiDates:j}=et(s),{menuTransition:$,showTransition:R}=Qi(T);o.onMounted(()=>{w(s.modelValue),o.nextTick().then(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.addEventListener("scroll",K),window==null||window.addEventListener("resize",de)}}),O.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ge),window==null||window.addEventListener("keydown",ae)}),o.onUnmounted(()=>{if(!O.value.enabled){const X=U(m.value);X==null||X.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",de)}window==null||window.removeEventListener("keyup",ge),window==null||window.removeEventListener("keydown",ae)});const G=Kt(i,"all",s.presetDates),D=Kt(i,"input");o.watch([l,c],()=>{w(l.value)},{deep:!0});const{openOnTop:x,menuStyle:V,xCorrect:Z,setMenuPosition:ee,getScrollableParent:U,shadowRender:P}=q7({menuRef:d,menuRefInner:u,inputRef:h,pickerWrapperRef:m,inline:O,emit:r,props:s,slots:i}),{inputValue:N,internalModelValue:b,parseExternalModelValue:w,emitModelValue:B,formatInputValue:H,checkBeforeEmit:be}=Z7(r,s,f),Ie=o.computed(()=>({dp__main:!0,dp__theme_dark:s.dark,dp__theme_light:!s.dark,dp__flex_display:O.value.enabled,"dp--flex-display-collapsed":_.value,dp__flex_display_with_input:O.value.input})),A=o.computed(()=>s.dark?"dp__theme_dark":"dp__theme_light"),z=o.computed(()=>({to:typeof s.teleport=="boolean"?"body":s.teleport,disabled:!s.teleport||O.value.enabled})),ue=o.computed(()=>({class:"dp__outer_menu_wrap"})),L=o.computed(()=>O.value.enabled&&(s.timePicker||s.monthPicker||s.yearPicker||s.quarterPicker)),K=()=>{a.value&&(E.value.closeOnScroll?Sn():ee())},de=()=>{var X;a.value&&ee();const he=(X=u.value)==null?void 0:X.$el.getBoundingClientRect().width;_.value=document.body.offsetWidth<=he},ge=X=>{X.key==="Tab"&&!O.value.enabled&&!s.teleport&&E.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Sn()),p.value=X.shiftKey},ae=X=>{p.value=X.shiftKey},te=()=>{!s.disabled&&!s.readonly&&(P(Sf,s),ee(!1),a.value=!0,a.value&&r("open"),a.value||_a(),w(s.modelValue))},Rt=()=>{var X;N.value="",_a(),(X=h.value)==null||X.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),E.value.closeOnClearValue&&Sn()},Ot=()=>{const X=b.value;return!X||!Array.isArray(X)&&v(X)?!0:Array.isArray(X)?j.value.enabled||X.length===2&&v(X[0])&&v(X[1])?!0:I.value.partialRange&&!s.timePicker?v(X[0]):!1:!1},$r=()=>{be()&&Ot()?(B(),Sn()):r("invalid-select",b.value)},Mt=X=>{Ks(),B(),E.value.closeOnAutoApply&&!X&&Sn()},Ks=()=>{h.value&&S.value.enabled&&h.value.setParsedDate(b.value)},ga=(X=!1)=>{s.autoApply&&M(b.value)&&Ot()&&(I.value.enabled&&Array.isArray(b.value)?(I.value.partialRange||b.value.length===2)&&Mt(X):Mt(X))},_a=()=>{S.value.enabled||(b.value=null)},Sn=()=>{O.value.enabled||(a.value&&(a.value=!1,Z.value=!1,y(!1),C(!1),k(),r("closed"),N.value&&w(l.value)),_a(),r("blur"))},fh=(X,he,fe=!1)=>{if(!X){b.value=null;return}const Pr=Array.isArray(X)?!X.some(Xs=>!v(Xs)):v(X),or=M(X);Pr&&or&&(b.value=X,he&&(g.value=fe,$r(),r("text-submit")))},mh=()=>{s.autoApply&&M(b.value)&&B(),Ks()},vc=()=>a.value?Sn():te(),ph=X=>{b.value=X},gh=()=>{S.value.enabled&&(f.value=!0,H()),r("focus")},_h=()=>{if(S.value.enabled&&(f.value=!1,w(s.modelValue),g.value)){const X=y7(m.value,p.value);X==null||X.focus()}r("blur")},F=X=>{u.value&&u.value.updateMonthYear(0,{month:ef(X.month),year:ef(X.year)})},Q=X=>{w(X??s.modelValue)},ce=(X,he)=>{var fe;(fe=u.value)==null||fe.switchView(X,he)},we=X=>E.value.onClickOutside?E.value.onClickOutside(X):Sn();return u8(d,h,()=>we(Ot)),e({closeMenu:Sn,selectDate:$r,clearValue:Rt,openMenu:te,onScroll:K,formatInputValue:H,updateInternalModelValue:ph,setMonthYear:F,parseModel:Q,switchView:ce,toggleMenu:vc}),(X,he)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:o.normalizeClass(Ie.value),"data-datepicker-instance":""},[o.createVNode(ny,o.mergeProps({ref_key:"inputRef",ref:h,"input-value":o.unref(N),"onUpdate:inputValue":he[0]||(he[0]=fe=>o.isRef(N)?N.value=fe:null),"is-menu-open":a.value},X.$props,{onClear:Rt,onOpen:te,onSetInputDate:fh,onSetEmptyDate:o.unref(B),onSelectDate:$r,onToggle:vc,onClose:Sn,onFocus:gh,onBlur:_h,onRealBlur:he[1]||(he[1]=fe=>f.value=!1)}),o.createSlots({_:2},[o.renderList(o.unref(D),(fe,Pr)=>({name:fe,fn:o.withCtx(or=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps(or)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(o.openBlock(),o.createBlock(o.resolveDynamicComponent(X.teleport?o.Teleport:"div"),o.normalizeProps(o.guardReactiveProps(z.value)),{default:o.withCtx(()=>[o.createVNode(o.Transition,{name:o.unref($)(o.unref(x)),css:o.unref(R)&&!o.unref(O).enabled},{default:o.withCtx(()=>[a.value?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:d},ue.value,{class:{"dp--menu-wrapper":!o.unref(O).enabled},style:o.unref(O).enabled?void 0:o.unref(V)}),[o.createVNode(Sf,o.mergeProps({ref_key:"dpMenuRef",ref:u},X.$props,{"internal-model-value":o.unref(b),"onUpdate:internalModelValue":he[2]||(he[2]=fe=>o.isRef(b)?b.value=fe:null),class:{[A.value]:!0,"dp--menu-wrapper":X.teleport},"open-on-top":o.unref(x),"no-overlay-focus":L.value,collapse:_.value,onClosePicker:Sn,onSelectDate:$r,onAutoApply:ga,onTimeUpdate:mh,onFlowStep:he[3]||(he[3]=fe=>X.$emit("flow-step",fe)),onUpdateMonthYear:he[4]||(he[4]=fe=>X.$emit("update-month-year",fe)),onInvalidSelect:he[5]||(he[5]=fe=>X.$emit("invalid-select",o.unref(b))),onAutoApplyInvalid:he[6]||(he[6]=fe=>X.$emit("invalid-select",fe)),onInvalidFixedRange:he[7]||(he[7]=fe=>X.$emit("invalid-fixed-range",fe)),onRecalculatePosition:o.unref(ee),onTooltipOpen:he[8]||(he[8]=fe=>X.$emit("tooltip-open",fe)),onTooltipClose:he[9]||(he[9]=fe=>X.$emit("tooltip-close",fe)),onTimePickerOpen:he[10]||(he[10]=fe=>X.$emit("time-picker-open",fe)),onTimePickerClose:he[11]||(he[11]=fe=>X.$emit("time-picker-close",fe)),onAmPmChange:he[12]||(he[12]=fe=>X.$emit("am-pm-change",fe)),onRangeStart:he[13]||(he[13]=fe=>X.$emit("range-start",fe)),onRangeEnd:he[14]||(he[14]=fe=>X.$emit("range-end",fe)),onDateUpdate:he[15]||(he[15]=fe=>X.$emit("date-update",fe)),onInvalidDate:he[16]||(he[16]=fe=>X.$emit("invalid-date",fe))}),o.createSlots({_:2},[o.renderList(o.unref(G),(fe,Pr)=>({name:fe,fn:o.withCtx(or=>[o.renderSlot(X.$slots,fe,o.normalizeProps(o.guardReactiveProps({...or})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):o.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),ud=(()=>{const t=h8;return t.install=e=>{e.component("Vue3DatePicker",t)},t})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:ud},Symbol.toStringTag,{value:"Module"}))).forEach(([t,e])=>{t!=="default"&&(ud[t]=e)});const f8={class:"scope-datepicker__wrapper"},m8={key:0,class:"scope-datepicker__label"},p8={__name:"Calendar",props:o.mergeModels({invalid:Boolean,range:Boolean,width:String,inline:Boolean,fullWidth:Boolean,label:String,multiCalendars:Boolean|Object,size:{type:String,default:"md"},maxDate:{type:Date,default:null},placeholder:{type:String,default:"Select Date"}},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["open","closed","cleared"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=o.ref(!1),i=()=>{n("open"),s.value=!0},a=()=>{n("closed"),s.value=!1};return(l,c)=>(o.openBlock(),o.createElementBlock("div",f8,[t.label?(o.openBlock(),o.createElementBlock("div",m8,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-datepicker__container",{"-full-width":t.fullWidth}])},[o.createVNode(o.unref(ud),{style:o.normalizeStyle({width:t.width}),class:o.normalizeClass(["scope-datepicker",`-${t.size}`,{"-invalid":t.invalid,"-range":t.range}]),modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=d=>r.value=d),"max-date":t.maxDate,"auto-apply":"","month-name-format":"long","multi-calendars":t.multiCalendars,"enable-time-picker":!1,range:t.range,placeholder:t.placeholder,inline:t.inline,onOpen:i,onClosed:a,onCleared:c[1]||(c[1]=d=>n("cleared"))},null,8,["style","class","modelValue","max-date","multi-calendars","range","placeholder","inline"]),o.createElementVNode("div",{class:"scope-datepicker__icon-wrapper",style:o.normalizeStyle({width:t.width})},[r.value?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(Le,{key:0,class:o.normalizeClass(["scope-datepicker__switcher",{"-active":s.value}]),icon:"chevron-down-small"},null,8,["class"]))],4)],2)]))}},g8=Oe(p8,[["__scopeId","data-v-b70b0278"]]),_8=["onClick"],y8=Oe({__name:"Selector",props:o.mergeModels({options:Array,width:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=t,r=o.computed(()=>n.width?{width:n.width}:null),s=i=>{e.value=i};return(i,a)=>(o.openBlock(),o.createElementBlock("div",{class:"scope-selector",style:o.normalizeStyle(r.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.options,(l,c)=>(o.openBlock(),o.createElementBlock("button",{key:c,onClick:d=>s(l),class:o.normalizeClass(["scope-selector__option",{"-selected":typeof l=="object"?l.name===e.value.name:l===i.name}])},o.toDisplayString(typeof l=="object"?l.name:l),11,_8))),128))],4))}},[["__scopeId","data-v-5082bcef"]]),w8=["disabled","onInput","onKeydown"],b8={key:0,class:"scope-number-input__error-message"},k8=Oe({__name:"NumberInput",props:o.mergeModels({necessaryLength:{type:Number,default:6},disabled:Boolean,isInvalid:Boolean,errorMessage:String,spaceBetween:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=o.ref(null),r=o.useModel(t,"modelValue");r.value||(r.value=Array(e.necessaryLength).fill(null));const s=({target:a},l)=>{if(r.value[l]=a.value,!a.value.length){a.value=null;return}if(a.value.length>1){const u=a.value.split("");u.forEach((h,f)=>{const m=l+f;m>=e.necessaryLength||(n.value.querySelectorAll("[data-number-code-input]")[m].value=h,r.value[m]=h)}),l+=u.length-2}const d=l+1;d<e.necessaryLength&&n.value.querySelectorAll("[data-number-code-input]")[d].focus()},i=(a,l)=>{const{code:c,target:d}=a,u=l-1,h=l+1,f=u>=0,m=h<=e.necessaryLength-1;switch(c){case"ArrowLeft":case"ArrowUp":f&&n.value.querySelectorAll("[data-number-code-input]")[u].focus(),a.preventDefault();break;case"ArrowRight":case"ArrowDown":m&&n.value.querySelectorAll("[data-number-code-input]")[h].focus(),a.preventDefault();break;case"Backspace":if(!d.value.length&&f){const g=n.value.querySelectorAll("[data-number-code-input]")[u];r.value[u]=null,g.value=null,g.focus()}break}};return(a,l)=>(o.openBlock(),o.createElementBlock("form",{class:"scope-number-input__form",ref_key:"numberCodeForm",ref:n},[o.createElementVNode("fieldset",{class:o.normalizeClass(["scope-number-input__fieldset",{"-space-between":t.spaceBetween}]),"data-number-code-form":""},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.necessaryLength,(c,d)=>(o.openBlock(),o.createElementBlock("input",{type:"number",disabled:t.disabled,maxlength:"1",key:d,class:o.normalizeClass(["scope-number-input",{"-invalid":t.isInvalid}]),min:"0",max:"9","data-number-code-input":"",onInput:u=>s(u,d),onKeydown:u=>i(u,d),required:""},null,42,w8))),128))],2),t.isInvalid&&t.errorMessage?(o.openBlock(),o.createElementBlock("div",b8,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-6ba29b49"]]),C8={class:"scope-navigation-tab__icon-wrapper"},x8={key:0},M8=Oe({__name:"NavigationTab",props:{icon:String,tabName:String,selected:Boolean,notActive:Boolean,isFull:{type:Boolean,default:!0},page:String},emits:["openPage"],setup(t,{emit:e}){const n=e,r=s=>{n("openPage",s)};return(s,i)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["scope-navigation-tab",{"-selected":t.selected,"-not-active":t.notActive}]),onClick:i[0]||(i[0]=a=>r(t.page))},[o.createElementVNode("div",C8,[o.createVNode(Le,{icon:t.icon,class:"scope-navigation-tab__icon"},null,8,["icon"])]),t.isFull?(o.openBlock(),o.createElementBlock("span",x8,o.toDisplayString(t.tabName),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-4d7796fc"]]);function dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
2
2
  * GSAP 3.12.5
3
3
  * https://gsap.com
4
4
  *
@@ -6,7 +6,7 @@
6
6
  * Subject to the terms at https://gsap.com/standard-license or for
7
7
  * Club GSAP members, the agreement issued with that membership.
8
8
  * @author: Jack Doyle, jack@greensock.com
9
- */var Xt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},li={duration:.5,overwrite:!1,delay:0},hd,Pt,Xe,dn=1e8,je=1/dn,fd=Math.PI*2,v8=fd/4,T8=0,Tf=Math.sqrt,D8=Math.cos,O8=Math.sin,vt=function(e){return typeof e=="string"},at=function(e){return typeof e=="function"},ur=function(e){return typeof e=="number"},md=function(e){return typeof e>"u"},Un=function(e){return typeof e=="object"},It=function(e){return e!==!1},pd=function(){return typeof window<"u"},Oa=function(e){return at(e)||vt(e)},Df=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Lt=Array.isArray,gd=/(?:-?\.?\d|\.)+/gi,Of=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_d=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ef=/[+-]=-?[.\d]+/,$f=/[^,'"\[\]\s]+/gi,E8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,tt,qn,yd,wd,Jt={},Ea={},Pf,Lf=function(e){return(Ea=ws(e,Jt))&&Yt},bd=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ro=function(e,n){return!n&&console.warn(e)},Vf=function(e,n){return e&&(Jt[e]=n)&&Ea&&(Ea[e]=n)||Jt},so=function(){return 0},$8={suppressEvents:!0,isStart:!0,kill:!1},$a={suppressEvents:!0,kill:!1},P8={suppressEvents:!0},kd={},Ir=[],Cd={},Nf,Qt={},xd={},Bf=30,Pa=[],Md="",Sd=function(e){var n=e[0],r,s;if(Un(n)||at(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Pa.length;s--&&!Pa[s].targetTest(n););r=Pa[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new u0(e[s],r)))||e.splice(s,1);return e},ys=function(e){return e._gsap||Sd(fn(e))[0]._gsap},Af=function(e,n,r){return(r=e[n])&&at(r)?e[n]():md(r)&&e.getAttribute&&e.getAttribute(n)||r},Ht=function(e,n){return(e=e.split(",")).forEach(n)||e},pt=function(e){return Math.round(e*1e5)/1e5||0},Tt=function(e){return Math.round(e*1e7)/1e7||0},di=function(e,n){var r=n.charAt(0),s=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},L8=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},La=function(){var e=Ir.length,n=Ir.slice(0),r,s;for(Cd={},Ir.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},Ff=function(e,n,r,s){Ir.length&&!Pt&&La(),e.render(n,r,s||Pt&&n<0&&(e._initted||e._startAt)),Ir.length&&!Pt&&La()},Rf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match($f).length<2?n:vt(e)?e.trim():e},If=function(e){return e},un=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},V8=function(e){return function(n,r){for(var s in r)s in n||s==="duration"&&e||s==="ease"||(n[s]=r[s])}},ws=function(e,n){for(var r in n)e[r]=n[r];return e},Hf=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Un(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Va=function(e,n){var r={},s;for(s in e)s in n||(r[s]=e[s]);return r},io=function(e){var n=e.parent||tt,r=e.keyframes?V8(Lt(e.keyframes)):un;if(It(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},N8=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},zf=function(e,n,r,s,i){r===void 0&&(r="_first"),s===void 0&&(s="_last");var a=e[s],l;if(i)for(l=n[i];a&&a[i]>l;)a=a._prev;return a?(n._next=a._next,a._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=a,n.parent=n._dp=e,n},Na=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=n._prev,a=n._next;i?i._next=a:e[r]===n&&(e[r]=a),a?a._prev=i:e[s]===n&&(e[s]=i),n._next=n._prev=n.parent=null},Hr=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},bs=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},B8=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},vd=function(e,n,r,s){return e._startAt&&(Pt?e._startAt.revert($a):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},A8=function t(e){return!e||e._ts&&t(e.parent)},Yf=function(e){return e._repeat?ui(e._tTime,e=e.duration()+e._rDelay)*e:0},ui=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},Ba=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Aa=function(e){return e._end=Tt(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Fa=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Tt(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Aa(e),r._dirty||bs(r,e)),e},Wf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ba(e.rawTime(),n),(!n._dur||ao(0,n.totalDuration(),r)-n._tTime>je)&&n.render(r,!0)),bs(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-je}},Gn=function(e,n,r,s){return n.parent&&Hr(n),n._start=Tt((ur(r)?r:r||e!==tt?hn(e,r,n):e._time)+n._delay),n._end=Tt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),zf(e,n,"_first","_last",e._sort?"_start":0),Td(n)||(e._recent=n),s||Wf(e,n),e._ts<0&&Fa(e,e._tTime),e},jf=function(e,n){return(Jt.ScrollTrigger||bd("scrollTrigger",n))&&Jt.ScrollTrigger.create(n,e)},Zf=function(e,n,r,s,i){if(Bd(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Pt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Nf!==tn.frame)return Ir.push(e),e._lazy=[i,s],1},F8=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Td=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},R8=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&F8(e)&&!(!e._initted&&Td(e))||(e._ts<0||e._dp._ts<0)&&!Td(e))?0:1,l=e._rDelay,c=0,d,u,h;if(l&&e._repeat&&(c=ao(0,e._tDur,n),u=ui(c,l),e._yoyo&&u&1&&(a=1-a),u!==ui(e._tTime,l)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Pt||s||e._zTime===je||!n&&e._zTime){if(!e._initted&&Zf(e,n,s,r,c))return;for(h=e._zTime,e._zTime=n||(r?je:0),r||(r=n&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,d=e._pt;d;)d.r(a,d.d),d=d._next;n<0&&vd(e,n,r,!0),e._onUpdate&&!r&&en(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&en(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Hr(e,1),!r&&!Pt&&(en(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},I8=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},hi=function(e,n,r,s){var i=e._repeat,a=Tt(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Tt(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Fa(e,e._tTime=e._tDur*l),e.parent&&Aa(e),r||bs(e.parent,e),e},Uf=function(e){return e instanceof At?bs(e):hi(e,e._dur)},H8={_start:0,endTime:so,totalDuration:so},hn=function t(e,n,r){var s=e.labels,i=e._recent||H8,a=e.duration()>=dn?i.endTime(!1):e._dur,l,c,d;return vt(n)&&(isNaN(n)||n in s)?(c=n.charAt(0),d=n.substr(-1)==="%",l=n.indexOf("="),c==="<"||c===">"?(l>=0&&(n=n.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(d?(l<0?i:r).totalDuration()/100:1)):l<0?(n in s||(s[n]=a),s[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),d&&r&&(c=c/100*(Lt(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},oo=function(e,n,r){var s=ur(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=It(c.vars.inherit)&&c.parent;a.immediateRender=It(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new wt(n[0],a,n[i+1])},zr=function(e,n){return e||e===0?n(e):n},ao=function(e,n,r){return r<e?e:r>n?n:r},Vt=function(e,n){return!vt(e)||!(n=E8.exec(e))?"":n[1]},z8=function(e,n,r){return zr(r,function(s){return ao(e,n,s)})},Dd=[].slice,qf=function(e,n){return e&&Un(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Un(e[0]))&&!e.nodeType&&e!==qn},Y8=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return vt(s)&&!n||qf(s,1)?(i=r).push.apply(i,fn(s)):r.push(s)})||r},fn=function(e,n,r){return Xe&&!n&&Xe.selector?Xe.selector(e):vt(e)&&!r&&(yd||!mi())?Dd.call((n||wd).querySelectorAll(e),0):Lt(e)?Y8(e,r):qf(e)?Dd.call(e,0):e?[e]:[]},Od=function(e){return e=fn(e)[0]||ro("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return fn(n,r.querySelectorAll?r:r===e?ro("Invalid scope")||wd.createElement("div"):e)}},Gf=function(e){return e.sort(function(){return .5-Math.random()})},Kf=function(e){if(at(e))return e;var n=Un(e)?e:{each:e},r=ks(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return vt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,v,M,T,S,O,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,dn])[1],!E){for(S=-dn;S<(S=g[E++].getBoundingClientRect().left)&&E<p;);E<p&&E--}for(_=a[p]=[],y=c?Math.min(E,p)*u-.5:s%E,C=E===dn?0:c?p*h/E-.5:s/E|0,S=0,O=dn,T=0;T<p;T++)k=T%E-y,v=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?v:k):Tf(k*k+v*v),M>S&&(S=M),M<O&&(O=M);s==="random"&&Gf(_),_.max=S-O,_.min=O,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Vt(n.amount||n.each)||0,r=r&&p<0?l0(r):r}return p=(_[f]-_.min)/_.max||0,Tt(_.b+(r?r(p):p)*_.v)+_.u}},Ed=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Tt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(ur(r)?0:Vt(r))}},Xf=function(e,n){var r=Lt(e),s,i;return!r&&Un(e)&&(s=r=e.radius||dn,e.values?(e=fn(e.values),(i=!ur(e[0]))&&(s*=s)):e=Ed(e.increment)),zr(n,r?at(e)?function(a){return i=e(a),Math.abs(i-a)<=s?i:a}:function(a){for(var l=parseFloat(i?a.x:a),c=parseFloat(i?a.y:0),d=dn,u=0,h=e.length,f,m;h--;)i?(f=e[h].x-l,m=e[h].y-c,f=f*f+m*m):f=Math.abs(e[h]-l),f<d&&(d=f,u=h);return u=!s||d<=s?e[u]:a,i||u===a||ur(a)?u:u+Vt(a)}:Ed(e))},Jf=function(e,n,r,s){return zr(Lt(e)?!n:r===!0?!!(r=0):!s,function(){return Lt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},W8=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(s){return n.reduce(function(i,a){return a(i)},s)}},j8=function(e,n){return function(r){return e(parseFloat(r))+(n||Vt(r))}},Z8=function(e,n,r){return e0(e,n,0,1,r)},Qf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},U8=function t(e,n,r){var s=n-e;return Lt(e)?Qf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},q8=function t(e,n,r){var s=n-e,i=s*2;return Lt(e)?Qf(e,t(0,e.length-1),n):zr(r,function(a){return a=(i+(a-e)%i)%i||0,e+(a>s?i-a:a)})},lo=function(e){for(var n=0,r="",s,i,a,l;~(s=e.indexOf("random(",n));)a=e.indexOf(")",s),l=e.charAt(s+7)==="[",i=e.substr(s+7,a-s-7).match(l?$f:gd),r+=e.substr(n,s-n)+Jf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},e0=function(e,n,r,s,i){var a=n-e,l=s-r;return zr(i,function(c){return r+((c-e)/a*l||0)})},G8=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=vt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Lt(e)&&!Lt(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ws(Lt(e)?[]:{},e));if(!u){for(c in n)Vd.call(l,e,c,"get",n[c]);i=function(g){return Rd(g,l)||(a?e.p:e)}}}return zr(r,i)},t0=function(e,n,r){var s=e.labels,i=dn,a,l,c;for(a in s)l=s[a]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(c=a,i=l);return c},en=function(e,n,r){var s=e.vars,i=s[n],a=Xe,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Ir.length&&La(),l&&(Xe=l),u=c?i.apply(d,c):i.call(d),Xe=a,u},co=function(e){return Hr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Pt),e.progress()<1&&en(e,"onInterrupt"),e},fi,n0=[],r0=function(e){if(e)if(e=!e.name&&e.default||e,pd()||e.headless){var n=e.name,r=at(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:so,render:Rd,add:Vd,kill:uw,modifier:dw,rawVars:0},a={targetTest:0,get:0,getSetter:Fd,aliases:{},register:0};if(mi(),e!==s){if(Qt[n])return;un(s,un(Va(e,i),a)),ws(s.prototype,ws(i,Va(e,a))),Qt[s.prop=n]=s,e.targetTest&&(Pa.push(s),kd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Vf(n,s),e.register&&e.register(Yt,s,zt)}else n0.push(e)},Ye=255,uo={aqua:[0,Ye,Ye],lime:[0,Ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ye],navy:[0,0,128],white:[Ye,Ye,Ye],olive:[128,128,0],yellow:[Ye,Ye,0],orange:[Ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ye,0,0],pink:[Ye,192,203],cyan:[0,Ye,Ye],transparent:[Ye,Ye,Ye,0]},$d=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Ye+.5|0},s0=function(e,n,r){var s=e?ur(e)?[e>>16,e>>8&Ye,e&Ye]:0:uo.black,i,a,l,c,d,u,h,f,m,g;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),uo[e])s=uo[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),l=e.charAt(3),e="#"+i+i+a+a+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&Ye,s&Ye,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&Ye,e&Ye]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(gd),!n)c=+s[0]%360/360,d=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(d+1):u+d-u*d,i=u*2-a,s.length>3&&(s[3]*=1),s[0]=$d(c+1/3,i,a),s[1]=$d(c,i,a),s[2]=$d(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(Of),r&&s.length<4&&(s[3]=1),s}else s=e.match(gd)||uo.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/Ye,a=s[1]/Ye,l=s[2]/Ye,h=Math.max(i,a,l),f=Math.min(i,a,l),u=(h+f)/2,h===f?c=d=0:(m=h-f,d=u>.5?m/(2-h-f):m/(h+f),c=h===i?(a-l)/m+(a<l?6:0):h===a?(l-i)/m+2:(i-a)/m+4,c*=60),s[0]=~~(c+.5),s[1]=~~(d*100+.5),s[2]=~~(u*100+.5)),r&&s.length<4&&(s[3]=1),s},i0=function(e){var n=[],r=[],s=-1;return e.split(Yr).forEach(function(i){var a=i.match(ci)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},o0=function(e,n,r){var s="",i=(e+s).match(Yr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=s0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=i0(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Yr,"1").split(ci),h=d.length-1;l<h;l++)s+=d[l]+(~c.indexOf(l)?i.shift()||a+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!d)for(d=e.split(Yr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Yr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in uo)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),K8=/hsl[a]?\(/,a0=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=K8.test(n),e[1]=o0(e[1],r),e[0]=o0(e[0],r,i0(e[1])),!0},ho,tn=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,v,M,T;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(T=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),v=1),C||(c=d(p)),v)for(m=0;m<l.length;m++)l[m](M,f,T,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){Pf&&(!yd&&pd()&&(qn=yd=window,wd=qn.document||{},Jt.gsap=Yt,(qn.gsapVersions||(qn.gsapVersions=[])).push(Yt.version),Lf(Ea||qn.GreenSockGlobals||!qn.gsap&&qn||{}),n0.forEach(r0)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},ho=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ho=0,d=so},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(v,M,T,S){_(v,M,T,S),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),mi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),mi=function(){return!ho&&tn.wake()},xe={},X8=/^[\d.\-M][\d.\-,\s]/,J8=/["']/g,Q8=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),s=r[0],i=1,a=r.length,l,c,d;i<a;i++)c=r[i],l=i!==a-1?c.lastIndexOf(","):c.length,d=c.substr(0,l),n[s]=isNaN(d)?d.replace(J8,"").trim():+d,s=c.substr(l+1).trim();return n},ew=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",n);return e.substring(n,~s&&s<r?e.indexOf(")",r+1):r)},tw=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Q8(n[1])]:ew(e).split(",").map(Rf)):xe._CE&&X8.test(e)?xe._CE("",e):r},l0=function(e){return function(n){return 1-e(1-n)}},c0=function t(e,n){for(var r=e._first,s;r;)r instanceof At?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(s=r._ease,r._ease=r._yEase,r._yEase=s,r._yoyo=n)),r=r._next},ks=function(e,n){return e&&(at(e)?e:xe[e]||tw(e))||n},Cs=function(e,n,r,s){r===void 0&&(r=function(c){return 1-n(1-c)}),s===void 0&&(s=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:s},a;return Ht(e,function(l){xe[l]=Jt[l]=i,xe[a=l.toLowerCase()]=r;for(var c in i)xe[a+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=xe[l+"."+c]=i[c]}),i},d0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Pd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/fd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*O8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:d0(l);return i=fd/i,c.config=function(d,u){return t(e,d,u)},c},Ld=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:d0(r);return s.config=function(i){return t(e,i)},s};Ht("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Cs(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),xe.Linear.easeNone=xe.none=xe.Linear.easeIn,Cs("Elastic",Pd("in"),Pd("out"),Pd()),function(t,e){var n=1/e,r=2*n,s=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<s?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};Cs("Bounce",function(a){return 1-i(1-a)},i)}(7.5625,2.75),Cs("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Cs("Circ",function(t){return-(Tf(1-t*t)-1)}),Cs("Sine",function(t){return t===1?1:-D8(t*v8)+1}),Cs("Back",Ld("in"),Ld("out"),Ld()),xe.SteppedEase=xe.steps=Jt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),i=n?1:0,a=1-je;return function(l){return((s*ao(0,a,l)|0)+i)*r}}},li.ease=xe["quad.out"],Ht("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Md+=t+","+t+"Params,"});var u0=function(e,n){this.id=T8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Af,this.set=n?n.getSetter:Fd},fo=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,hi(this,+n.duration,1,1),this.data=n.data,Xe&&(this._ctx=Xe,Xe.data.push(this)),ho||tn.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,hi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(mi(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Fa(this,r),!i._dp||i.parent||Wf(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Gn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===je||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ff(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Yf(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Yf(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,s):this._repeat?ui(this._tTime,i)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-je?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Ba(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-je?0:this._rts,this.totalTime(ao(-Math.abs(this._delay),this._tDur,i),s!==!1),Aa(this),B8(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(mi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==je&&(this._tTime-=je)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Gn(s,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(It(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ba(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=P8);var s=Pt;return Pt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Pt=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Uf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Uf(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(hn(this,r),It(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,It(s))},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-je:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-je,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=s&&i<this.endTime(!0)-je)},e.eventCallback=function(r,s,i){var a=this.vars;return arguments.length>1?(s?(a[r]=s,i&&(a[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=s)):delete a[r],this):a[r]},e.then=function(r){var s=this;return new Promise(function(i){var a=at(r)?r:If,l=function(){var d=s.then;s.then=null,at(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=d),i(a),s.then=d};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},e.kill=function(){co(this)},t}();un(fo.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-je,_prom:0,_ps:!1,_rts:1});var At=function(t){vf(e,t);function e(r,s){var i;return r===void 0&&(r={}),i=t.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=It(r.sortChildren),tt&&Gn(r.parent||tt,dr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&jf(dr(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(s,i,a){return oo(0,arguments,this),this},n.from=function(s,i,a){return oo(1,arguments,this),this},n.fromTo=function(s,i,a,l){return oo(2,arguments,this),this},n.set=function(s,i,a){return i.duration=0,i.parent=this,io(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new wt(s,i,hn(this,a),1),this},n.call=function(s,i,a){return Gn(this,wt.delayedCall(0,s,i),a)},n.staggerTo=function(s,i,a,l,c,d,u){return a.duration=i,a.stagger=a.stagger||l,a.onComplete=d,a.onCompleteParams=u,a.parent=this,new wt(s,a,hn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,io(a).immediateRender=It(a.immediateRender),this.staggerTo(s,i,a,l,c,d,u)},n.staggerFromTo=function(s,i,a,l,c,d,u,h){return l.startAt=a,io(l).immediateRender=It(l.immediateRender),this.staggerTo(s,i,l,c,d,u,h)},n.render=function(s,i,a){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,d=this._dur,u=s<=0?0:Tt(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,v,M,T,S;if(this!==tt&&u>c&&s>=0&&(u=c),u!==this._tTime||a||h){if(l!==this._time&&d&&(u+=this._time-l,s+=this._time-l),f=u,v=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(T=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Tt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=ui(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),T&&p&1&&(f=d-f,S=1),p!==M&&!this._lock){var O=T&&M&1,E=O===(T&&p&1);if(p<M&&(O=!O),l=O?0:u%d?d:u,this._lock=1,this.render(l||(S?0:Tt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&en(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=O?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;c0(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=I8(this,Tt(l),Tt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(en(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-je);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Pt&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-je:je);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-je)._zTime=f>=l?1:-1,this._ts))return this._start=v,Aa(this),this.render(s,i,a);this._onUpdate&&!i&&en(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(v===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Hr(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(en(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(ur(i)||(i=hn(this,i,s)),!(s instanceof fo)){if(Lt(s))return s.forEach(function(l){return a.add(l,i)}),this;if(vt(s))return this.addLabel(s,i);if(at(s))s=wt.delayedCall(0,s);else return this}return this!==s?Gn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-dn);for(var c=[],d=this._first;d;)d._start>=l&&(d instanceof wt?i&&c.push(d):(a&&c.push(d),s&&c.push.apply(c,d.getChildren(!0,i,a)))),d=d._next;return c},n.getById=function(s){for(var i=this.getChildren(1,1,1),a=i.length;a--;)if(i[a].vars.id===s)return i[a]},n.remove=function(s){return vt(s)?this.removeLabel(s):at(s)?this.killTweensOf(s):(Na(this,s),s===this._recent&&(this._recent=this._last),bs(this))},n.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Tt(tn.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},n.addLabel=function(s,i){return this.labels[s]=hn(this,i),this},n.removeLabel=function(s){return delete this.labels[s],this},n.addPause=function(s,i,a){var l=wt.delayedCall(0,i||so,a);return l.data="isPause",this._hasPause=1,Gn(this,l,hn(this,s))},n.removePause=function(s){var i=this._first;for(s=hn(this,s);i;)i._start===s&&i.data==="isPause"&&Hr(i),i=i._next},n.killTweensOf=function(s,i,a){for(var l=this.getTweensOf(s,a),c=l.length;c--;)Wr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=fn(s),c=this._first,d=ur(i),u;c;)c instanceof wt?L8(c._targets,l)&&(d?(!Wr||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&a.push(c):(u=c.getTweensOf(l,i)).length&&a.push.apply(a,u),c=c._next;return a},n.tweenTo=function(s,i){i=i||{};var a=this,l=hn(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=wt.to(a,un({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale())||je,onStart:function(){if(a.pause(),!m){var _=i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale());g._dur!==_&&hi(g,_,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,h||[])}},i));return f?g.render(0):g},n.tweenFromTo=function(s,i,a){return this.tweenTo(i,un({startAt:{time:hn(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),t0(this,hn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),t0(this,hn(this,s),1)},n.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+je)},n.shiftChildren=function(s,i,a){a===void 0&&(a=0);for(var l=this._first,c=this.labels,d;l;)l._start>=a&&(l._start+=s,l._end+=s),l=l._next;if(i)for(d in c)c[d]>=a&&(c[d]+=s);return bs(this)},n.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},n.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,a;i;)a=i._next,this.remove(i),i=a;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),bs(this)},n.totalDuration=function(s){var i=0,a=this,l=a._last,c=dn,d,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-s:s));if(a._dirty){for(h=a.parent;l;)d=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>c&&a._sort&&l._ts&&!a._lock?(a._lock=1,Gn(a,l,u-l._delay,1)._lock=0):c=u,u<0&&l._ts&&(i-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),c=0),l._end>i&&l._ts&&(i=l._end),l=d;hi(a,a===tt&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(tt._ts&&(Ff(tt,Ba(s,tt)),Nf=tn.frame),tn.frame>=Bf){Bf+=Xt.autoSleep||120;var i=tt._first;if((!i||!i._ts)&&Xt.autoSleep&&tn._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||tn.sleep()}}},e}(fo);un(At.prototype,{_lock:0,_hasPause:0,_forcing:0});var nw=function(e,n,r,s,i,a,l){var c=new zt(this._pt,e,n,0,1,_0,null,i),d=0,u=0,h,f,m,g,p,_,y,C;for(c.b=r,c.e=s,r+="",s+="",(y=~s.indexOf("random("))&&(s=lo(s)),a&&(C=[r,s],a(C,e,n),r=C[0],s=C[1]),f=r.match(_d)||[];h=_d.exec(s);)g=h[0],p=s.substring(d,h.index),m?m=(m+1)%5:p.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(_=parseFloat(f[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:_,c:g.charAt(1)==="="?di(_,g)-_:parseFloat(g)-_,m:m&&m<4?Math.round:0},d=_d.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Ef.test(s)||y)&&(c.e=0),this._pt=c,c},Vd=function(e,n,r,s,i,a,l,c,d,u){at(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:at(h)?d?e[n.indexOf("set")||!at(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=at(h)?d?aw:p0:Ad,g;if(vt(s)&&(~s.indexOf("random(")&&(s=lo(s)),s.charAt(1)==="="&&(g=di(f,s)+(Vt(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Nd)return!isNaN(f*s)&&s!==""?(g=new zt(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?cw:g0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&bd(n,s),nw.call(this,e,n,f,s,m,c||Xt.stringFilter,d))},rw=function(e,n,r,s,i){if(at(e)&&(e=mo(e,i,n,r,s)),!Un(e)||e.style&&e.nodeType||Lt(e)||Df(e))return vt(e)?mo(e,i,n,r,s):e;var a={},l;for(l in e)a[l]=mo(e[l],i,n,r,s);return a},h0=function(e,n,r,s,i,a){var l,c,d,u;if(Qt[e]&&(l=new Qt[e]).init(i,l.rawVars?n[e]:rw(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new zt(r._pt,i,e,0,1,l.render,l,0,l.priority),r!==fi))for(d=r._ptLookup[r._targets.indexOf(i)],u=l._props.length;u--;)d[l._props[u]]=c;return l},Wr,Nd,Bd=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!hd,v=e.timeline,M,T,S,O,E,I,j,$,R,G,D,x,V;if(v&&(!f||!i)&&(i="none"),e._ease=ks(i,li.ease),e._yEase=h?l0(ks(h===!0?i:h,li.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!v&&!!s.runBackwards,!v||f&&!s.stagger){if($=_[0]?ys(_[0]).harness:0,x=$&&s[$.prop],M=Va(s,kd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?$a:$8),p._lazy=0),a){if(Hr(e._startAt=wt.set(_,un({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&It(c),startAt:null,delay:0,onUpdate:d&&function(){return en(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Pt||!l&&!m)&&e._startAt.revert($a),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),S=un({overwrite:!1,data:"isFromStart",lazy:l&&!p&&It(c),immediateRender:l,stagger:0,parent:y},M),x&&(S[$.prop]=x),Hr(e._startAt=wt.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Pt?e._startAt.revert($a):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,je,je);else if(!n)return}for(e._pt=e._ptCache=0,c=g&&It(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Sd(_)[T]._gsap,e._ptLookup[T]=G={},Cd[j.id]&&Ir.length&&La(),D=C===_?T:C.indexOf(E),$&&(R=new $).init(E,x||M,e,D,C)!==!1&&(e._pt=O=new zt(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=O}),R.priority&&(I=1)),!$||x)for(S in M)Qt[S]&&(R=h0(S,M,e,D,E,C))?R.priority&&(I=1):G[S]=O=Vd.call(e,E,S,"get",M[S],D,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),k&&e._pt&&(Wr=e,tt.killTweensOf(E,G,e.globalTime(n)),V=!e.parent,Wr=0),e._pt&&c&&(Cd[j.id]=1)}I&&y0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!V,f&&n<=0&&v.render(dn,!0,!0)},sw=function(e,n,r,s,i,a,l,c){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,h,f,m;if(!d)for(d=e._ptCache[n]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Nd=1,e.vars[n]="+=0",Bd(e,l),Nd=0,c?ro(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=pt(r)+Vt(h.e)),h.b&&(h.b=u.s+Vt(h.b))},iw=function(e,n){var r=e[0]?ys(e[0]).harness:0,s=r&&r.aliases,i,a,l,c;if(!s)return n;i=ws({},n);for(a in s)if(a in i)for(c=s[a].split(","),l=c.length;l--;)i[c[l]]=i[a];return i},ow=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Lt(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},mo=function(e,n,r,s,i){return at(e)?e.call(n,r,s,i):vt(e)&&~e.indexOf("random(")?lo(e):e},f0=Md+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",m0={};Ht(f0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return m0[t]=1});var wt=function(t){vf(e,t);function e(r,s,i,a){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,a?s:io(s))||this;var c=l.vars,d=c.duration,u=c.delay,h=c.immediateRender,f=c.stagger,m=c.overwrite,g=c.keyframes,p=c.defaults,_=c.scrollTrigger,y=c.yoyoEase,C=s.parent||tt,k=(Lt(r)||Df(r)?ur(r[0]):"length"in s)?[r]:fn(r),v,M,T,S,O,E,I,j;if(l._targets=k.length?Sd(k):ro("GSAP target "+r+" not found. https://gsap.com",!Xt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Oa(d)||Oa(u)){if(s=l.vars,v=l.timeline=new At({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),v.kill(),v.parent=v._dp=dr(l),v._start=0,f||Oa(d)||Oa(u)){if(S=k.length,I=f&&Kf(f),Un(f))for(O in f)~f0.indexOf(O)&&(j||(j={}),j[O]=f[O]);for(M=0;M<S;M++)T=Va(s,m0),T.stagger=0,y&&(T.yoyoEase=y),j&&ws(T,j),E=k[M],T.duration=+mo(d,dr(l),M,E,k),T.delay=(+mo(u,dr(l),M,E,k)||0)-l._delay,!f&&S===1&&T.delay&&(l._delay=u=T.delay,l._start+=u,T.delay=0),v.to(E,T,I?I(M,E,k):0),v._ease=xe.none;v.duration()?d=u=0:l.timeline=0}else if(g){io(un(v.vars.defaults,{ease:"none"})),v._ease=ks(g.ease||s.ease||"none");var $=0,R,G,D;if(Lt(g))g.forEach(function(x){return v.to(k,x,">")}),v.duration();else{T={};for(O in g)O==="ease"||O==="easeEach"||ow(O,g[O],T,g.easeEach);for(O in T)for(R=T[O].sort(function(x,V){return x.t-V.t}),$=0,M=0;M<R.length;M++)G=R[M],D={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},D[O]=G.v,v.to(k,D,$),$+=D.duration;v.duration()<d&&v.to({},{duration:d-v.duration()})}}d||l.duration(d=v.duration())}else l.timeline=0;return m===!0&&!hd&&(Wr=dr(l),tt.killTweensOf(k),Wr=0),Gn(C,dr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Tt(C._time)&&It(h)&&A8(dr(l))&&C.data!=="nested")&&(l._tTime=-je,l.render(Math.max(0,-u)||0)),_&&jf(dr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-je&&!u?c:s<je?0:s,f,m,g,p,_,y,C,k,v;if(!d)R8(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Tt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Tt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(v=this._yEase,f=d-f),_=ui(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&c0(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Tt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Zf(this,u?s:f,a,i,h))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&g!==_))return this;if(d!==this._dur)return this.render(s,i,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(v||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(en(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&vd(this,s,i,a),en(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&en(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&vd(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Hr(this,1),!i&&!(u&&!l)&&(h||l||y)&&(en(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},n.resetTo=function(s,i,a,l,c){ho||tn.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Bd(this,d),u=this._ease(d/this._dur),sw(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Fa(this,0),this.parent||zf(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?co(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,Wr&&Wr.vars.overwrite!==!0)._first||co(this),this.parent&&a!==this.timeline.totalDuration()&&hi(this,this._dur*this.timeline._tDur/a,0,1),this}var l=this._targets,c=s?fn(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&N8(l,c))return i==="all"&&(this._pt=0),co(this);for(h=this._op=this._op||[],i!=="all"&&(vt(i)&&(p={},Ht(i,function(C){return p[C]=1}),i=p),i=iw(l,i)),y=l.length;y--;)if(~c.indexOf(l[y])){f=d[y],i==="all"?(h[y]=i,g=f,m={}):(m=h[y]=h[y]||{},g=i);for(p in g)_=f&&f[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Na(this,_,"_pt"),delete f[p]),m!=="all"&&(m[p]=1)}return this._initted&&!this._pt&&u&&co(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return oo(1,arguments)},e.delayedCall=function(s,i,a,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(s,i,a){return oo(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,a){return tt.killTweensOf(s,i,a)},e}(fo);un(wt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ht("staggerTo,staggerFrom,staggerFromTo",function(t){wt[t]=function(){var e=new At,n=Dd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ad=function(e,n,r){return e[n]=r},p0=function(e,n,r){return e[n](r)},aw=function(e,n,r,s){return e[n](s.fp,r)},lw=function(e,n,r){return e.setAttribute(n,r)},Fd=function(e,n){return at(e[n])?p0:md(e[n])&&e.setAttribute?lw:Ad},g0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},cw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},_0=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Rd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},dw=function(e,n,r,s){for(var i=this._pt,a;i;)a=i._next,i.p===s&&i.modifier(e,n,r),i=a},uw=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?Na(this,n,"_pt"):n.dep||(r=1),n=s;return!r},hw=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},y0=function(e){for(var n=e._pt,r,s,i,a;n;){for(r=n._next,s=i;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:a)?n._prev._next=n:i=n,(n._next=s)?s._prev=n:a=n,n=r}e._pt=i},zt=function(){function t(n,r,s,i,a,l,c,d,u){this.t=r,this.s=i,this.c=a,this.p=s,this.r=l||g0,this.d=c||this,this.set=d||Ad,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=hw,this.m=r,this.mt=i,this.tween=s},t}();Ht(Md+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return kd[t]=1}),Jt.TweenMax=Jt.TweenLite=wt,Jt.TimelineLite=Jt.TimelineMax=At,tt=new At({sortChildren:!1,defaults:li,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Xt.stringFilter=a0;var xs=[],Ra={},fw=[],w0=0,mw=0,Id=function(e){return(Ra[e]||fw).map(function(n){return n()})},Hd=function(){var e=Date.now(),n=[];e-w0>2&&(Id("matchMediaInit"),xs.forEach(function(r){var s=r.queries,i=r.conditions,a,l,c,d;for(l in s)a=qn.matchMedia(s[l]).matches,a&&(c=1),a!==i[l]&&(i[l]=a,d=1);d&&(r.revert(),c&&n.push(r))}),Id("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),w0=e,Id("matchMedia"))},b0=function(){function t(n,r){this.selector=r&&Od(r),this.data=[],this._r=[],this.isReverted=!1,this.id=mw++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){at(r)&&(i=s,s=r,r=at);var a=this,l=function(){var d=Xe,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=Od(i)),Xe=a,h=s.apply(a,arguments),at(h)&&a._r.push(h),Xe=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===at?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Xe;Xe=null,r(this),Xe=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof wt&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,d;c--;)d=i.data[c],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)d=i.data[c],d instanceof At?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof wt)&&d.revert&&d.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),s)for(var a=xs.length;a--;)xs[a].id===this.id&&xs.splice(a,1)},e.revert=function(r){this.kill(r||{})},t}(),pw=function(){function t(n){this.contexts=[],this.scope=n,Xe&&Xe.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Un(r)||(r={matches:r});var a=new b0(0,i||this.scope),l=a.conditions={},c,d,u;Xe&&!a.selector&&(a.selector=Xe.selector),this.contexts.push(a),s=a.add("onMatch",s),a.queries=r;for(d in r)d==="all"?u=1:(c=qn.matchMedia(r[d]),c&&(xs.indexOf(a)<0&&xs.push(a),(l[d]=c.matches)&&(u=1),c.addListener?c.addListener(Hd):c.addEventListener("change",Hd)));return u&&s(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},t}(),Ia={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(s){return r0(s)})},timeline:function(e){return new At(e)},getTweensOf:function(e,n){return tt.getTweensOf(e,n)},getProperty:function(e,n,r,s){vt(e)&&(e=fn(e)[0]);var i=ys(e||{}).get,a=r?If:Rf;return r==="native"&&(r=""),e&&(n?a((Qt[n]&&Qt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Qt[l]&&Qt[l].get||i)(e,l,c,d))})},quickSetter:function(e,n,r){if(e=fn(e),e.length>1){var s=e.map(function(u){return Yt.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Qt[n],l=ys(e),c=l.harness&&(l.harness.aliases||{})[n]||n,d=a?function(u){var h=new a;fi._pt=0,h.init(e,r?u+r:u,fi,0,[e]),h.render(1,h),fi._pt&&Rd(1,fi)}:l.set(e,c);return a?d:function(u){return d(e,c,r?u+r:u,l,1)}},quickTo:function(e,n,r){var s,i=Yt.to(e,ws((s={},s[n]="+=0.1",s.paused=!0,s),r||{})),a=function(c,d,u){return i.resetTo(n,c,d,u)};return a.tween=i,a},isTweening:function(e){return tt.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ks(e.ease,li.ease)),Hf(li,e||{})},config:function(e){return Hf(Xt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,i=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!Qt[l]&&!Jt[l]&&ro(n+" effect requires "+l+" plugin.")}),xd[n]=function(l,c,d){return r(fn(l),un(c||{},i),d)},a&&(At.prototype[n]=function(l,c,d){return this.add(xd[n](l,Un(c)?c:(d=c)&&{},this),d)})},registerEase:function(e,n){xe[e]=ks(n)},parseEase:function(e,n){return arguments.length?ks(e,n):xe},getById:function(e){return tt.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new At(e),s,i;for(r.smoothChildTiming=It(e.smoothChildTiming),tt.remove(r),r._dp=0,r._time=r._tTime=tt._time,s=tt._first;s;)i=s._next,(n||!(!s._dur&&s instanceof wt&&s.vars.onComplete===s._targets[0]))&&Gn(r,s,s._start-s._delay),s=i;return Gn(tt,r,0),r},context:function(e,n){return e?new b0(e,n):Xe},matchMedia:function(e){return new pw(e)},matchMediaRefresh:function(){return xs.forEach(function(e){var n=e.conditions,r,s;for(s in n)n[s]&&(n[s]=!1,r=1);r&&e.revert()})||Hd()},addEventListener:function(e,n){var r=Ra[e]||(Ra[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Ra[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:U8,wrapYoyo:q8,distribute:Kf,random:Jf,snap:Xf,normalize:Z8,getUnit:Vt,clamp:z8,splitColor:s0,toArray:fn,selector:Od,mapRange:e0,pipe:W8,unitize:j8,interpolate:G8,shuffle:Gf},install:Lf,effects:xd,ticker:tn,updateRoot:At.updateRoot,plugins:Qt,globalTimeline:tt,core:{PropTween:zt,globals:Vf,Tween:wt,Timeline:At,Animation:fo,getCache:ys,_removeLinkedListItem:Na,reverting:function(){return Pt},context:function(e){return e&&Xe&&(Xe.data.push(e),e._ctx=Xe),Xe},suppressOverwrites:function(e){return hd=e}}};Ht("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ia[t]=wt[t]}),tn.add(At.updateRoot),fi=Ia.to({},{duration:0});var gw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},_w=function(e,n){var r=e._targets,s,i,a;for(s in n)for(i=r.length;i--;)a=e._ptLookup[i][s],a&&(a=a.d)&&(a._pt&&(a=gw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},zd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(vt(i)&&(c={},Ht(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}_w(l,i)}}}},Yt=Ia.registerPlugin({name:"attr",init:function(e,n,r,s,i){var a,l,c;this.tween=r;for(a in n)c=e.getAttribute(a)||"",l=this.add(e,"setAttribute",(c||0)+"",n[a],s,i,0,0,a),l.op=a,l.b=c,this._props.push(a)},render:function(e,n){for(var r=n._pt;r;)Pt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},zd("roundProps",Ed),zd("modifiers"),zd("snap",Xf))||Ia;wt.version=At.version=Yt.version="3.12.5",Pf=1,pd()&&mi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var yw=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Yd=xe.Sine;xe.Expo,xe.Circ;/*!
9
+ */var Xt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},li={duration:.5,overwrite:!1,delay:0},hd,Pt,Xe,dn=1e8,je=1/dn,fd=Math.PI*2,S8=fd/4,v8=0,Tf=Math.sqrt,T8=Math.cos,D8=Math.sin,vt=function(e){return typeof e=="string"},at=function(e){return typeof e=="function"},ur=function(e){return typeof e=="number"},md=function(e){return typeof e>"u"},Un=function(e){return typeof e=="object"},It=function(e){return e!==!1},pd=function(){return typeof window<"u"},Oa=function(e){return at(e)||vt(e)},Df=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Lt=Array.isArray,gd=/(?:-?\.?\d|\.)+/gi,Of=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ci=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_d=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ef=/[+-]=-?[.\d]+/,$f=/[^,'"\[\]\s]+/gi,O8=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,tt,qn,yd,wd,Jt={},Ea={},Pf,Lf=function(e){return(Ea=ws(e,Jt))&&Yt},bd=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ro=function(e,n){return!n&&console.warn(e)},Vf=function(e,n){return e&&(Jt[e]=n)&&Ea&&(Ea[e]=n)||Jt},so=function(){return 0},E8={suppressEvents:!0,isStart:!0,kill:!1},$a={suppressEvents:!0,kill:!1},$8={suppressEvents:!0},kd={},Ir=[],Cd={},Nf,Qt={},xd={},Bf=30,Pa=[],Md="",Sd=function(e){var n=e[0],r,s;if(Un(n)||at(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(s=Pa.length;s--&&!Pa[s].targetTest(n););r=Pa[s]}for(s=e.length;s--;)e[s]&&(e[s]._gsap||(e[s]._gsap=new u0(e[s],r)))||e.splice(s,1);return e},ys=function(e){return e._gsap||Sd(fn(e))[0]._gsap},Af=function(e,n,r){return(r=e[n])&&at(r)?e[n]():md(r)&&e.getAttribute&&e.getAttribute(n)||r},Ht=function(e,n){return(e=e.split(",")).forEach(n)||e},pt=function(e){return Math.round(e*1e5)/1e5||0},Tt=function(e){return Math.round(e*1e7)/1e7||0},di=function(e,n){var r=n.charAt(0),s=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+s:r==="-"?e-s:r==="*"?e*s:e/s},P8=function(e,n){for(var r=n.length,s=0;e.indexOf(n[s])<0&&++s<r;);return s<r},La=function(){var e=Ir.length,n=Ir.slice(0),r,s;for(Cd={},Ir.length=0,r=0;r<e;r++)s=n[r],s&&s._lazy&&(s.render(s._lazy[0],s._lazy[1],!0)._lazy=0)},Ff=function(e,n,r,s){Ir.length&&!Pt&&La(),e.render(n,r,s||Pt&&n<0&&(e._initted||e._startAt)),Ir.length&&!Pt&&La()},Rf=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match($f).length<2?n:vt(e)?e.trim():e},If=function(e){return e},un=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},L8=function(e){return function(n,r){for(var s in r)s in n||s==="duration"&&e||s==="ease"||(n[s]=r[s])}},ws=function(e,n){for(var r in n)e[r]=n[r];return e},Hf=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Un(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Va=function(e,n){var r={},s;for(s in e)s in n||(r[s]=e[s]);return r},io=function(e){var n=e.parent||tt,r=e.keyframes?L8(Lt(e.keyframes)):un;if(It(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},V8=function(e,n){for(var r=e.length,s=r===n.length;s&&r--&&e[r]===n[r];);return r<0},zf=function(e,n,r,s,i){r===void 0&&(r="_first"),s===void 0&&(s="_last");var a=e[s],l;if(i)for(l=n[i];a&&a[i]>l;)a=a._prev;return a?(n._next=a._next,a._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[s]=n,n._prev=a,n.parent=n._dp=e,n},Na=function(e,n,r,s){r===void 0&&(r="_first"),s===void 0&&(s="_last");var i=n._prev,a=n._next;i?i._next=a:e[r]===n&&(e[r]=a),a?a._prev=i:e[s]===n&&(e[s]=i),n._next=n._prev=n.parent=null},Hr=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},bs=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},N8=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},vd=function(e,n,r,s){return e._startAt&&(Pt?e._startAt.revert($a):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,s))},B8=function t(e){return!e||e._ts&&t(e.parent)},Yf=function(e){return e._repeat?ui(e._tTime,e=e.duration()+e._rDelay)*e:0},ui=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},Ba=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Aa=function(e){return e._end=Tt(e._start+(e._tDur/Math.abs(e._ts||e._rts||je)||0))},Fa=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Tt(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Aa(e),r._dirty||bs(r,e)),e},Wf=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ba(e.rawTime(),n),(!n._dur||ao(0,n.totalDuration(),r)-n._tTime>je)&&n.render(r,!0)),bs(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-je}},Gn=function(e,n,r,s){return n.parent&&Hr(n),n._start=Tt((ur(r)?r:r||e!==tt?hn(e,r,n):e._time)+n._delay),n._end=Tt(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),zf(e,n,"_first","_last",e._sort?"_start":0),Td(n)||(e._recent=n),s||Wf(e,n),e._ts<0&&Fa(e,e._tTime),e},jf=function(e,n){return(Jt.ScrollTrigger||bd("scrollTrigger",n))&&Jt.ScrollTrigger.create(n,e)},Zf=function(e,n,r,s,i){if(Bd(e,n,i),!e._initted)return 1;if(!r&&e._pt&&!Pt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Nf!==tn.frame)return Ir.push(e),e._lazy=[i,s],1},A8=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Td=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},F8=function(e,n,r,s){var i=e.ratio,a=n<0||!n&&(!e._start&&A8(e)&&!(!e._initted&&Td(e))||(e._ts<0||e._dp._ts<0)&&!Td(e))?0:1,l=e._rDelay,c=0,d,u,h;if(l&&e._repeat&&(c=ao(0,e._tDur,n),u=ui(c,l),e._yoyo&&u&1&&(a=1-a),u!==ui(e._tTime,l)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||Pt||s||e._zTime===je||!n&&e._zTime){if(!e._initted&&Zf(e,n,s,r,c))return;for(h=e._zTime,e._zTime=n||(r?je:0),r||(r=n&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=c,d=e._pt;d;)d.r(a,d.d),d=d._next;n<0&&vd(e,n,r,!0),e._onUpdate&&!r&&en(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&en(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===a&&(a&&Hr(e,1),!r&&!Pt&&(en(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},R8=function(e,n,r){var s;if(r>n)for(s=e._first;s&&s._start<=r;){if(s.data==="isPause"&&s._start>n)return s;s=s._next}else for(s=e._last;s&&s._start>=r;){if(s.data==="isPause"&&s._start<n)return s;s=s._prev}},hi=function(e,n,r,s){var i=e._repeat,a=Tt(n)||0,l=e._tTime/e._tDur;return l&&!s&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Tt(a*(i+1)+e._rDelay*i):a,l>0&&!s&&Fa(e,e._tTime=e._tDur*l),e.parent&&Aa(e),r||bs(e.parent,e),e},Uf=function(e){return e instanceof At?bs(e):hi(e,e._dur)},I8={_start:0,endTime:so,totalDuration:so},hn=function t(e,n,r){var s=e.labels,i=e._recent||I8,a=e.duration()>=dn?i.endTime(!1):e._dur,l,c,d;return vt(n)&&(isNaN(n)||n in s)?(c=n.charAt(0),d=n.substr(-1)==="%",l=n.indexOf("="),c==="<"||c===">"?(l>=0&&(n=n.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(n.substr(1))||0)*(d?(l<0?i:r).totalDuration()/100:1)):l<0?(n in s||(s[n]=a),s[n]):(c=parseFloat(n.charAt(l-1)+n.substr(l+1)),d&&r&&(c=c/100*(Lt(r)?r[0]:r).totalDuration()),l>1?t(e,n.substr(0,l-1),r)+c:a+c)):n==null?a:+n},oo=function(e,n,r){var s=ur(n[1]),i=(s?2:1)+(e<2?0:1),a=n[i],l,c;if(s&&(a.duration=n[1]),a.parent=r,e){for(l=a,c=r;c&&!("immediateRender"in l);)l=c.vars.defaults||{},c=It(c.vars.inherit)&&c.parent;a.immediateRender=It(l.immediateRender),e<2?a.runBackwards=1:a.startAt=n[i-1]}return new wt(n[0],a,n[i+1])},zr=function(e,n){return e||e===0?n(e):n},ao=function(e,n,r){return r<e?e:r>n?n:r},Vt=function(e,n){return!vt(e)||!(n=O8.exec(e))?"":n[1]},H8=function(e,n,r){return zr(r,function(s){return ao(e,n,s)})},Dd=[].slice,qf=function(e,n){return e&&Un(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Un(e[0]))&&!e.nodeType&&e!==qn},z8=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(s){var i;return vt(s)&&!n||qf(s,1)?(i=r).push.apply(i,fn(s)):r.push(s)})||r},fn=function(e,n,r){return Xe&&!n&&Xe.selector?Xe.selector(e):vt(e)&&!r&&(yd||!mi())?Dd.call((n||wd).querySelectorAll(e),0):Lt(e)?z8(e,r):qf(e)?Dd.call(e,0):e?[e]:[]},Od=function(e){return e=fn(e)[0]||ro("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return fn(n,r.querySelectorAll?r:r===e?ro("Invalid scope")||wd.createElement("div"):e)}},Gf=function(e){return e.sort(function(){return .5-Math.random()})},Kf=function(e){if(at(e))return e;var n=Un(e)?e:{each:e},r=ks(n.ease),s=n.from||0,i=parseFloat(n.base)||0,a={},l=s>0&&s<1,c=isNaN(s)||l,d=n.axis,u=s,h=s;return vt(s)?u=h={center:.5,edges:.5,end:1}[s]||0:!l&&c&&(u=s[0],h=s[1]),function(f,m,g){var p=(g||n).length,_=a[p],y,C,k,v,M,T,S,O,E;if(!_){if(E=n.grid==="auto"?0:(n.grid||[1,dn])[1],!E){for(S=-dn;S<(S=g[E++].getBoundingClientRect().left)&&E<p;);E<p&&E--}for(_=a[p]=[],y=c?Math.min(E,p)*u-.5:s%E,C=E===dn?0:c?p*h/E-.5:s/E|0,S=0,O=dn,T=0;T<p;T++)k=T%E-y,v=C-(T/E|0),_[T]=M=d?Math.abs(d==="y"?v:k):Tf(k*k+v*v),M>S&&(S=M),M<O&&(O=M);s==="random"&&Gf(_),_.max=S-O,_.min=O,_.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(E>p?p-1:d?d==="y"?p/E:E:Math.max(E,p/E))||0)*(s==="edges"?-1:1),_.b=p<0?i-p:i,_.u=Vt(n.amount||n.each)||0,r=r&&p<0?l0(r):r}return p=(_[f]-_.min)/_.max||0,Tt(_.b+(r?r(p):p)*_.v)+_.u}},Ed=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var s=Tt(Math.round(parseFloat(r)/e)*e*n);return(s-s%1)/n+(ur(r)?0:Vt(r))}},Xf=function(e,n){var r=Lt(e),s,i;return!r&&Un(e)&&(s=r=e.radius||dn,e.values?(e=fn(e.values),(i=!ur(e[0]))&&(s*=s)):e=Ed(e.increment)),zr(n,r?at(e)?function(a){return i=e(a),Math.abs(i-a)<=s?i:a}:function(a){for(var l=parseFloat(i?a.x:a),c=parseFloat(i?a.y:0),d=dn,u=0,h=e.length,f,m;h--;)i?(f=e[h].x-l,m=e[h].y-c,f=f*f+m*m):f=Math.abs(e[h]-l),f<d&&(d=f,u=h);return u=!s||d<=s?e[u]:a,i||u===a||ur(a)?u:u+Vt(a)}:Ed(e))},Jf=function(e,n,r,s){return zr(Lt(e)?!n:r===!0?!!(r=0):!s,function(){return Lt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(s=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*s)/s})},Y8=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(s){return n.reduce(function(i,a){return a(i)},s)}},W8=function(e,n){return function(r){return e(parseFloat(r))+(n||Vt(r))}},j8=function(e,n,r){return e0(e,n,0,1,r)},Qf=function(e,n,r){return zr(r,function(s){return e[~~n(s)]})},Z8=function t(e,n,r){var s=n-e;return Lt(e)?Qf(e,t(0,e.length),n):zr(r,function(i){return(s+(i-e)%s)%s+e})},U8=function t(e,n,r){var s=n-e,i=s*2;return Lt(e)?Qf(e,t(0,e.length-1),n):zr(r,function(a){return a=(i+(a-e)%i)%i||0,e+(a>s?i-a:a)})},lo=function(e){for(var n=0,r="",s,i,a,l;~(s=e.indexOf("random(",n));)a=e.indexOf(")",s),l=e.charAt(s+7)==="[",i=e.substr(s+7,a-s-7).match(l?$f:gd),r+=e.substr(n,s-n)+Jf(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),n=a+1;return r+e.substr(n,e.length-n)},e0=function(e,n,r,s,i){var a=n-e,l=s-r;return zr(i,function(c){return r+((c-e)/a*l||0)})},q8=function t(e,n,r,s){var i=isNaN(e+n)?0:function(m){return(1-m)*e+m*n};if(!i){var a=vt(e),l={},c,d,u,h,f;if(r===!0&&(s=1)&&(r=null),a)e={p:e},n={p:n};else if(Lt(e)&&!Lt(n)){for(u=[],h=e.length,f=h-2,d=1;d<h;d++)u.push(t(e[d-1],e[d]));h--,i=function(g){g*=h;var p=Math.min(f,~~g);return u[p](g-p)},r=n}else s||(e=ws(Lt(e)?[]:{},e));if(!u){for(c in n)Vd.call(l,e,c,"get",n[c]);i=function(g){return Rd(g,l)||(a?e.p:e)}}}return zr(r,i)},t0=function(e,n,r){var s=e.labels,i=dn,a,l,c;for(a in s)l=s[a]-n,l<0==!!r&&l&&i>(l=Math.abs(l))&&(c=a,i=l);return c},en=function(e,n,r){var s=e.vars,i=s[n],a=Xe,l=e._ctx,c,d,u;if(i)return c=s[n+"Params"],d=s.callbackScope||e,r&&Ir.length&&La(),l&&(Xe=l),u=c?i.apply(d,c):i.call(d),Xe=a,u},co=function(e){return Hr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Pt),e.progress()<1&&en(e,"onInterrupt"),e},fi,n0=[],r0=function(e){if(e)if(e=!e.name&&e.default||e,pd()||e.headless){var n=e.name,r=at(e),s=n&&!r&&e.init?function(){this._props=[]}:e,i={init:so,render:Rd,add:Vd,kill:dw,modifier:cw,rawVars:0},a={targetTest:0,get:0,getSetter:Fd,aliases:{},register:0};if(mi(),e!==s){if(Qt[n])return;un(s,un(Va(e,i),a)),ws(s.prototype,ws(i,Va(e,a))),Qt[s.prop=n]=s,e.targetTest&&(Pa.push(s),kd[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Vf(n,s),e.register&&e.register(Yt,s,zt)}else n0.push(e)},Ye=255,uo={aqua:[0,Ye,Ye],lime:[0,Ye,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ye],navy:[0,0,128],white:[Ye,Ye,Ye],olive:[128,128,0],yellow:[Ye,Ye,0],orange:[Ye,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ye,0,0],pink:[Ye,192,203],cyan:[0,Ye,Ye],transparent:[Ye,Ye,Ye,0]},$d=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Ye+.5|0},s0=function(e,n,r){var s=e?ur(e)?[e>>16,e>>8&Ye,e&Ye]:0:uo.black,i,a,l,c,d,u,h,f,m,g;if(!s){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),uo[e])s=uo[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),l=e.charAt(3),e="#"+i+i+a+a+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return s=parseInt(e.substr(1,6),16),[s>>16,s>>8&Ye,s&Ye,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),s=[e>>16,e>>8&Ye,e&Ye]}else if(e.substr(0,3)==="hsl"){if(s=g=e.match(gd),!n)c=+s[0]%360/360,d=+s[1]/100,u=+s[2]/100,a=u<=.5?u*(d+1):u+d-u*d,i=u*2-a,s.length>3&&(s[3]*=1),s[0]=$d(c+1/3,i,a),s[1]=$d(c,i,a),s[2]=$d(c-1/3,i,a);else if(~e.indexOf("="))return s=e.match(Of),r&&s.length<4&&(s[3]=1),s}else s=e.match(gd)||uo.transparent;s=s.map(Number)}return n&&!g&&(i=s[0]/Ye,a=s[1]/Ye,l=s[2]/Ye,h=Math.max(i,a,l),f=Math.min(i,a,l),u=(h+f)/2,h===f?c=d=0:(m=h-f,d=u>.5?m/(2-h-f):m/(h+f),c=h===i?(a-l)/m+(a<l?6:0):h===a?(l-i)/m+2:(i-a)/m+4,c*=60),s[0]=~~(c+.5),s[1]=~~(d*100+.5),s[2]=~~(u*100+.5)),r&&s.length<4&&(s[3]=1),s},i0=function(e){var n=[],r=[],s=-1;return e.split(Yr).forEach(function(i){var a=i.match(ci)||[];n.push.apply(n,a),r.push(s+=a.length+1)}),n.c=r,n},o0=function(e,n,r){var s="",i=(e+s).match(Yr),a=n?"hsla(":"rgba(",l=0,c,d,u,h;if(!i)return e;if(i=i.map(function(f){return(f=s0(f,n,1))&&a+(n?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),r&&(u=i0(e),c=r.c,c.join(s)!==u.c.join(s)))for(d=e.replace(Yr,"1").split(ci),h=d.length-1;l<h;l++)s+=d[l]+(~c.indexOf(l)?i.shift()||a+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!d)for(d=e.split(Yr),h=d.length-1;l<h;l++)s+=d[l]+i[l];return s+d[h]},Yr=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in uo)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),G8=/hsl[a]?\(/,a0=function(e){var n=e.join(" "),r;if(Yr.lastIndex=0,Yr.test(n))return r=G8.test(n),e[1]=o0(e[1],r),e[0]=o0(e[0],r,i0(e[1])),!0},ho,tn=function(){var t=Date.now,e=500,n=33,r=t(),s=r,i=1e3/240,a=i,l=[],c,d,u,h,f,m,g=function p(_){var y=t()-s,C=_===!0,k,v,M,T;if((y>e||y<0)&&(r+=y-n),s+=y,M=s-r,k=M-a,(k>0||C)&&(T=++h.frame,f=M-h.time*1e3,h.time=M=M/1e3,a+=k+(k>=i?4:i-k),v=1),C||(c=d(p)),v)for(m=0;m<l.length;m++)l[m](M,f,T,_)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(_){return f/(1e3/(_||60))},wake:function(){Pf&&(!yd&&pd()&&(qn=yd=window,wd=qn.document||{},Jt.gsap=Yt,(qn.gsapVersions||(qn.gsapVersions=[])).push(Yt.version),Lf(Ea||qn.GreenSockGlobals||!qn.gsap&&qn||{}),n0.forEach(r0)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&h.sleep(),d=u||function(_){return setTimeout(_,a-h.time*1e3+1|0)},ho=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ho=0,d=so},lagSmoothing:function(_,y){e=_||1/0,n=Math.min(y||33,e)},fps:function(_){i=1e3/(_||240),a=h.time*1e3+i},add:function(_,y,C){var k=y?function(v,M,T,S){_(v,M,T,S),h.remove(k)}:_;return h.remove(_),l[C?"unshift":"push"](k),mi(),k},remove:function(_,y){~(y=l.indexOf(_))&&l.splice(y,1)&&m>=y&&m--},_listeners:l},h}(),mi=function(){return!ho&&tn.wake()},xe={},K8=/^[\d.\-M][\d.\-,\s]/,X8=/["']/g,J8=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),s=r[0],i=1,a=r.length,l,c,d;i<a;i++)c=r[i],l=i!==a-1?c.lastIndexOf(","):c.length,d=c.substr(0,l),n[s]=isNaN(d)?d.replace(X8,"").trim():+d,s=c.substr(l+1).trim();return n},Q8=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),s=e.indexOf("(",n);return e.substring(n,~s&&s<r?e.indexOf(")",r+1):r)},ew=function(e){var n=(e+"").split("("),r=xe[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[J8(n[1])]:Q8(e).split(",").map(Rf)):xe._CE&&K8.test(e)?xe._CE("",e):r},l0=function(e){return function(n){return 1-e(1-n)}},c0=function t(e,n){for(var r=e._first,s;r;)r instanceof At?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(s=r._ease,r._ease=r._yEase,r._yEase=s,r._yoyo=n)),r=r._next},ks=function(e,n){return e&&(at(e)?e:xe[e]||ew(e))||n},Cs=function(e,n,r,s){r===void 0&&(r=function(c){return 1-n(1-c)}),s===void 0&&(s=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var i={easeIn:n,easeOut:r,easeInOut:s},a;return Ht(e,function(l){xe[l]=Jt[l]=i,xe[a=l.toLowerCase()]=r;for(var c in i)xe[a+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=xe[l+"."+c]=i[c]}),i},d0=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Pd=function t(e,n,r){var s=n>=1?n:1,i=(r||(e?.3:.45))/(n<1?n:1),a=i/fd*(Math.asin(1/s)||0),l=function(u){return u===1?1:s*Math.pow(2,-10*u)*D8((u-a)*i)+1},c=e==="out"?l:e==="in"?function(d){return 1-l(1-d)}:d0(l);return i=fd/i,c.config=function(d,u){return t(e,d,u)},c},Ld=function t(e,n){n===void 0&&(n=1.70158);var r=function(a){return a?--a*a*((n+1)*a+n)+1:0},s=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:d0(r);return s.config=function(i){return t(e,i)},s};Ht("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Cs(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),xe.Linear.easeNone=xe.none=xe.Linear.easeIn,Cs("Elastic",Pd("in"),Pd("out"),Pd()),function(t,e){var n=1/e,r=2*n,s=2.5*n,i=function(l){return l<n?t*l*l:l<r?t*Math.pow(l-1.5/e,2)+.75:l<s?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};Cs("Bounce",function(a){return 1-i(1-a)},i)}(7.5625,2.75),Cs("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Cs("Circ",function(t){return-(Tf(1-t*t)-1)}),Cs("Sine",function(t){return t===1?1:-T8(t*S8)+1}),Cs("Back",Ld("in"),Ld("out"),Ld()),xe.SteppedEase=xe.steps=Jt.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,s=e+(n?0:1),i=n?1:0,a=1-je;return function(l){return((s*ao(0,a,l)|0)+i)*r}}},li.ease=xe["quad.out"],Ht("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Md+=t+","+t+"Params,"});var u0=function(e,n){this.id=v8++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Af,this.set=n?n.getSetter:Fd},fo=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,hi(this,+n.duration,1,1),this.data=n.data,Xe&&(this._ctx=Xe,Xe.data.push(this)),ho||tn.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,hi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,s){if(mi(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Fa(this,r),!i._dp||i.parent||Wf(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Gn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!s||this._initted&&Math.abs(this._zTime)===je||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ff(this,r,s)),this},e.time=function(r,s){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Yf(this))%(this._dur+this._rDelay)||(r?this._dur:0),s):this._time},e.totalProgress=function(r,s){return arguments.length?this.totalTime(this.totalDuration()*r,s):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(r,s){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Yf(this),s):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,s){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,s):this._repeat?ui(this._tTime,i)+1:1},e.timeScale=function(r,s){if(!arguments.length)return this._rts===-je?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Ba(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-je?0:this._rts,this.totalTime(ao(-Math.abs(this._delay),this._tDur,i),s!==!1),Aa(this),N8(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(mi(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==je&&(this._tTime-=je)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var s=this.parent||this._dp;return s&&(s._sort||!this.parent)&&Gn(s,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(It(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var s=this.parent||this._dp;return s?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ba(s.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=$8);var s=Pt;return Pt=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Pt=s,this},e.globalTime=function(r){for(var s=this,i=arguments.length?r:s.rawTime();s;)i=s._start+i/(Math.abs(s._ts)||1),s=s._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Uf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var s=this._time;return this._rDelay=r,Uf(this),s?this.time(s):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,s){return this.totalTime(hn(this,r),It(s))},e.restart=function(r,s){return this.play().totalTime(r?-this._delay:0,It(s))},e.play=function(r,s){return r!=null&&this.seek(r,s),this.reversed(!1).paused(!1)},e.reverse=function(r,s){return r!=null&&this.seek(r||this.totalDuration(),s),this.reversed(!0).paused(!1)},e.pause=function(r,s){return r!=null&&this.seek(r,s),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-je:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-je,this},e.isActive=function(){var r=this.parent||this._dp,s=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=s&&i<this.endTime(!0)-je)},e.eventCallback=function(r,s,i){var a=this.vars;return arguments.length>1?(s?(a[r]=s,i&&(a[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=s)):delete a[r],this):a[r]},e.then=function(r){var s=this;return new Promise(function(i){var a=at(r)?r:If,l=function(){var d=s.then;s.then=null,at(a)&&(a=a(s))&&(a.then||a===s)&&(s.then=d),i(a),s.then=d};s._initted&&s.totalProgress()===1&&s._ts>=0||!s._tTime&&s._ts<0?l():s._prom=l})},e.kill=function(){co(this)},t}();un(fo.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-je,_prom:0,_ps:!1,_rts:1});var At=function(t){vf(e,t);function e(r,s){var i;return r===void 0&&(r={}),i=t.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=It(r.sortChildren),tt&&Gn(r.parent||tt,dr(i),s),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&jf(dr(i),r.scrollTrigger),i}var n=e.prototype;return n.to=function(s,i,a){return oo(0,arguments,this),this},n.from=function(s,i,a){return oo(1,arguments,this),this},n.fromTo=function(s,i,a,l){return oo(2,arguments,this),this},n.set=function(s,i,a){return i.duration=0,i.parent=this,io(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new wt(s,i,hn(this,a),1),this},n.call=function(s,i,a){return Gn(this,wt.delayedCall(0,s,i),a)},n.staggerTo=function(s,i,a,l,c,d,u){return a.duration=i,a.stagger=a.stagger||l,a.onComplete=d,a.onCompleteParams=u,a.parent=this,new wt(s,a,hn(this,c)),this},n.staggerFrom=function(s,i,a,l,c,d,u){return a.runBackwards=1,io(a).immediateRender=It(a.immediateRender),this.staggerTo(s,i,a,l,c,d,u)},n.staggerFromTo=function(s,i,a,l,c,d,u,h){return l.startAt=a,io(l).immediateRender=It(l.immediateRender),this.staggerTo(s,i,l,c,d,u,h)},n.render=function(s,i,a){var l=this._time,c=this._dirty?this.totalDuration():this._tDur,d=this._dur,u=s<=0?0:Tt(s),h=this._zTime<0!=s<0&&(this._initted||!d),f,m,g,p,_,y,C,k,v,M,T,S;if(this!==tt&&u>c&&s>=0&&(u=c),u!==this._tTime||a||h){if(l!==this._time&&d&&(u+=this._time-l,s+=this._time-l),f=u,v=this._start,k=this._ts,y=!k,h&&(d||(l=this._zTime),(s||!i)&&(this._zTime=s)),this._repeat){if(T=this._yoyo,_=d+this._rDelay,this._repeat<-1&&s<0)return this.totalTime(_*100+s,i,a);if(f=Tt(u%_),u===c?(p=this._repeat,f=d):(p=~~(u/_),p&&p===u/_&&(f=d,p--),f>d&&(f=d)),M=ui(this._tTime,_),!l&&this._tTime&&M!==p&&this._tTime-M*_-this._dur<=0&&(M=p),T&&p&1&&(f=d-f,S=1),p!==M&&!this._lock){var O=T&&M&1,E=O===(T&&p&1);if(p<M&&(O=!O),l=O?0:u%d?d:u,this._lock=1,this.render(l||(S?0:Tt(p*_)),i,!d)._lock=0,this._tTime=u,!i&&this.parent&&en(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),l&&l!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(d=this._dur,c=this._tDur,E&&(this._lock=2,l=O?d:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;c0(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(C=R8(this,Tt(l),Tt(f)),C&&(u-=f-(f=C._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=s,l=0),!l&&f&&!i&&!p&&(en(this,"onStart"),this._tTime!==u))return this;if(f>=l&&s>=0)for(m=this._first;m;){if(g=m._next,(m._act||f>=m._start)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,i,a),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=-je);break}}m=g}else{m=this._last;for(var I=s<0?s:f;m;){if(g=m._prev,(m._act||I<=m._end)&&m._ts&&C!==m){if(m.parent!==this)return this.render(s,i,a);if(m.render(m._ts>0?(I-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(I-m._start)*m._ts,i,a||Pt&&(m._initted||m._startAt)),f!==this._time||!this._ts&&!y){C=0,g&&(u+=this._zTime=I?-je:je);break}}m=g}}if(C&&!i&&(this.pause(),C.render(f>=l?0:-je)._zTime=f>=l?1:-1,this._ts))return this._start=v,Aa(this),this.render(s,i,a);this._onUpdate&&!i&&en(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&l)&&(v===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((s||!d)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Hr(this,1),!i&&!(s<0&&!l)&&(u||l||!c)&&(en(this,u===c&&s>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(s,i){var a=this;if(ur(i)||(i=hn(this,i,s)),!(s instanceof fo)){if(Lt(s))return s.forEach(function(l){return a.add(l,i)}),this;if(vt(s))return this.addLabel(s,i);if(at(s))s=wt.delayedCall(0,s);else return this}return this!==s?Gn(this,s,i):this},n.getChildren=function(s,i,a,l){s===void 0&&(s=!0),i===void 0&&(i=!0),a===void 0&&(a=!0),l===void 0&&(l=-dn);for(var c=[],d=this._first;d;)d._start>=l&&(d instanceof wt?i&&c.push(d):(a&&c.push(d),s&&c.push.apply(c,d.getChildren(!0,i,a)))),d=d._next;return c},n.getById=function(s){for(var i=this.getChildren(1,1,1),a=i.length;a--;)if(i[a].vars.id===s)return i[a]},n.remove=function(s){return vt(s)?this.removeLabel(s):at(s)?this.killTweensOf(s):(Na(this,s),s===this._recent&&(this._recent=this._last),bs(this))},n.totalTime=function(s,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Tt(tn.time-(this._ts>0?s/this._ts:(this.totalDuration()-s)/-this._ts))),t.prototype.totalTime.call(this,s,i),this._forcing=0,this):this._tTime},n.addLabel=function(s,i){return this.labels[s]=hn(this,i),this},n.removeLabel=function(s){return delete this.labels[s],this},n.addPause=function(s,i,a){var l=wt.delayedCall(0,i||so,a);return l.data="isPause",this._hasPause=1,Gn(this,l,hn(this,s))},n.removePause=function(s){var i=this._first;for(s=hn(this,s);i;)i._start===s&&i.data==="isPause"&&Hr(i),i=i._next},n.killTweensOf=function(s,i,a){for(var l=this.getTweensOf(s,a),c=l.length;c--;)Wr!==l[c]&&l[c].kill(s,i);return this},n.getTweensOf=function(s,i){for(var a=[],l=fn(s),c=this._first,d=ur(i),u;c;)c instanceof wt?P8(c._targets,l)&&(d?(!Wr||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&a.push(c):(u=c.getTweensOf(l,i)).length&&a.push.apply(a,u),c=c._next;return a},n.tweenTo=function(s,i){i=i||{};var a=this,l=hn(a,s),c=i,d=c.startAt,u=c.onStart,h=c.onStartParams,f=c.immediateRender,m,g=wt.to(a,un({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale())||je,onStart:function(){if(a.pause(),!m){var _=i.duration||Math.abs((l-(d&&"time"in d?d.time:a._time))/a.timeScale());g._dur!==_&&hi(g,_,0,1).render(g._time,!0,!0),m=1}u&&u.apply(g,h||[])}},i));return f?g.render(0):g},n.tweenFromTo=function(s,i,a){return this.tweenTo(i,un({startAt:{time:hn(this,s)}},a))},n.recent=function(){return this._recent},n.nextLabel=function(s){return s===void 0&&(s=this._time),t0(this,hn(this,s))},n.previousLabel=function(s){return s===void 0&&(s=this._time),t0(this,hn(this,s),1)},n.currentLabel=function(s){return arguments.length?this.seek(s,!0):this.previousLabel(this._time+je)},n.shiftChildren=function(s,i,a){a===void 0&&(a=0);for(var l=this._first,c=this.labels,d;l;)l._start>=a&&(l._start+=s,l._end+=s),l=l._next;if(i)for(d in c)c[d]>=a&&(c[d]+=s);return bs(this)},n.invalidate=function(s){var i=this._first;for(this._lock=0;i;)i.invalidate(s),i=i._next;return t.prototype.invalidate.call(this,s)},n.clear=function(s){s===void 0&&(s=!0);for(var i=this._first,a;i;)a=i._next,this.remove(i),i=a;return this._dp&&(this._time=this._tTime=this._pTime=0),s&&(this.labels={}),bs(this)},n.totalDuration=function(s){var i=0,a=this,l=a._last,c=dn,d,u,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-s:s));if(a._dirty){for(h=a.parent;l;)d=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>c&&a._sort&&l._ts&&!a._lock?(a._lock=1,Gn(a,l,u-l._delay,1)._lock=0):c=u,u<0&&l._ts&&(i-=u,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=u/a._ts,a._time-=u,a._tTime-=u),a.shiftChildren(-u,!1,-1/0),c=0),l._end>i&&l._ts&&(i=l._end),l=d;hi(a,a===tt&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(s){if(tt._ts&&(Ff(tt,Ba(s,tt)),Nf=tn.frame),tn.frame>=Bf){Bf+=Xt.autoSleep||120;var i=tt._first;if((!i||!i._ts)&&Xt.autoSleep&&tn._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||tn.sleep()}}},e}(fo);un(At.prototype,{_lock:0,_hasPause:0,_forcing:0});var tw=function(e,n,r,s,i,a,l){var c=new zt(this._pt,e,n,0,1,_0,null,i),d=0,u=0,h,f,m,g,p,_,y,C;for(c.b=r,c.e=s,r+="",s+="",(y=~s.indexOf("random("))&&(s=lo(s)),a&&(C=[r,s],a(C,e,n),r=C[0],s=C[1]),f=r.match(_d)||[];h=_d.exec(s);)g=h[0],p=s.substring(d,h.index),m?m=(m+1)%5:p.substr(-5)==="rgba("&&(m=1),g!==f[u++]&&(_=parseFloat(f[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:_,c:g.charAt(1)==="="?di(_,g)-_:parseFloat(g)-_,m:m&&m<4?Math.round:0},d=_d.lastIndex);return c.c=d<s.length?s.substring(d,s.length):"",c.fp=l,(Ef.test(s)||y)&&(c.e=0),this._pt=c,c},Vd=function(e,n,r,s,i,a,l,c,d,u){at(s)&&(s=s(i||0,e,a));var h=e[n],f=r!=="get"?r:at(h)?d?e[n.indexOf("set")||!at(e["get"+n.substr(3)])?n:"get"+n.substr(3)](d):e[n]():h,m=at(h)?d?ow:p0:Ad,g;if(vt(s)&&(~s.indexOf("random(")&&(s=lo(s)),s.charAt(1)==="="&&(g=di(f,s)+(Vt(f)||0),(g||g===0)&&(s=g))),!u||f!==s||Nd)return!isNaN(f*s)&&s!==""?(g=new zt(this._pt,e,n,+f||0,s-(f||0),typeof h=="boolean"?lw:g0,0,m),d&&(g.fp=d),l&&g.modifier(l,this,e),this._pt=g):(!h&&!(n in e)&&bd(n,s),tw.call(this,e,n,f,s,m,c||Xt.stringFilter,d))},nw=function(e,n,r,s,i){if(at(e)&&(e=mo(e,i,n,r,s)),!Un(e)||e.style&&e.nodeType||Lt(e)||Df(e))return vt(e)?mo(e,i,n,r,s):e;var a={},l;for(l in e)a[l]=mo(e[l],i,n,r,s);return a},h0=function(e,n,r,s,i,a){var l,c,d,u;if(Qt[e]&&(l=new Qt[e]).init(i,l.rawVars?n[e]:nw(n[e],s,i,a,r),r,s,a)!==!1&&(r._pt=c=new zt(r._pt,i,e,0,1,l.render,l,0,l.priority),r!==fi))for(d=r._ptLookup[r._targets.indexOf(i)],u=l._props.length;u--;)d[l._props[u]]=c;return l},Wr,Nd,Bd=function t(e,n,r){var s=e.vars,i=s.ease,a=s.startAt,l=s.immediateRender,c=s.lazy,d=s.onUpdate,u=s.runBackwards,h=s.yoyoEase,f=s.keyframes,m=s.autoRevert,g=e._dur,p=e._startAt,_=e._targets,y=e.parent,C=y&&y.data==="nested"?y.vars.targets:_,k=e._overwrite==="auto"&&!hd,v=e.timeline,M,T,S,O,E,I,j,$,R,G,D,x,V;if(v&&(!f||!i)&&(i="none"),e._ease=ks(i,li.ease),e._yEase=h?l0(ks(h===!0?i:h,li.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!v&&!!s.runBackwards,!v||f&&!s.stagger){if($=_[0]?ys(_[0]).harness:0,x=$&&s[$.prop],M=Va(s,kd),p&&(p._zTime<0&&p.progress(1),n<0&&u&&l&&!m?p.render(-1,!0):p.revert(u&&g?$a:E8),p._lazy=0),a){if(Hr(e._startAt=wt.set(_,un({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&It(c),startAt:null,delay:0,onUpdate:d&&function(){return en(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Pt||!l&&!m)&&e._startAt.revert($a),l&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&g&&!p){if(n&&(l=!1),S=un({overwrite:!1,data:"isFromStart",lazy:l&&!p&&It(c),immediateRender:l,stagger:0,parent:y},M),x&&(S[$.prop]=x),Hr(e._startAt=wt.set(_,S)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Pt?e._startAt.revert($a):e._startAt.render(-1,!0)),e._zTime=n,!l)t(e._startAt,je,je);else if(!n)return}for(e._pt=e._ptCache=0,c=g&&It(c)||c&&!g,T=0;T<_.length;T++){if(E=_[T],j=E._gsap||Sd(_)[T]._gsap,e._ptLookup[T]=G={},Cd[j.id]&&Ir.length&&La(),D=C===_?T:C.indexOf(E),$&&(R=new $).init(E,x||M,e,D,C)!==!1&&(e._pt=O=new zt(e._pt,E,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(Z){G[Z]=O}),R.priority&&(I=1)),!$||x)for(S in M)Qt[S]&&(R=h0(S,M,e,D,E,C))?R.priority&&(I=1):G[S]=O=Vd.call(e,E,S,"get",M[S],D,C,0,s.stringFilter);e._op&&e._op[T]&&e.kill(E,e._op[T]),k&&e._pt&&(Wr=e,tt.killTweensOf(E,G,e.globalTime(n)),V=!e.parent,Wr=0),e._pt&&c&&(Cd[j.id]=1)}I&&y0(e),e._onInit&&e._onInit(e)}e._onUpdate=d,e._initted=(!e._op||e._pt)&&!V,f&&n<=0&&v.render(dn,!0,!0)},rw=function(e,n,r,s,i,a,l,c){var d=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,h,f,m;if(!d)for(d=e._ptCache[n]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Nd=1,e.vars[n]="+=0",Bd(e,l),Nd=0,c?ro(n+" not eligible for reset"):1;d.push(u)}for(m=d.length;m--;)h=d[m],u=h._pt||h,u.s=(s||s===0)&&!i?s:u.s+(s||0)+a*u.c,u.c=r-u.s,h.e&&(h.e=pt(r)+Vt(h.e)),h.b&&(h.b=u.s+Vt(h.b))},sw=function(e,n){var r=e[0]?ys(e[0]).harness:0,s=r&&r.aliases,i,a,l,c;if(!s)return n;i=ws({},n);for(a in s)if(a in i)for(c=s[a].split(","),l=c.length;l--;)i[c[l]]=i[a];return i},iw=function(e,n,r,s){var i=n.ease||s||"power1.inOut",a,l;if(Lt(n))l=r[e]||(r[e]=[]),n.forEach(function(c,d){return l.push({t:d/(n.length-1)*100,v:c,e:i})});else for(a in n)l=r[a]||(r[a]=[]),a==="ease"||l.push({t:parseFloat(e),v:n[a],e:i})},mo=function(e,n,r,s,i){return at(e)?e.call(n,r,s,i):vt(e)&&~e.indexOf("random(")?lo(e):e},f0=Md+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",m0={};Ht(f0+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return m0[t]=1});var wt=function(t){vf(e,t);function e(r,s,i,a){var l;typeof s=="number"&&(i.duration=s,s=i,i=null),l=t.call(this,a?s:io(s))||this;var c=l.vars,d=c.duration,u=c.delay,h=c.immediateRender,f=c.stagger,m=c.overwrite,g=c.keyframes,p=c.defaults,_=c.scrollTrigger,y=c.yoyoEase,C=s.parent||tt,k=(Lt(r)||Df(r)?ur(r[0]):"length"in s)?[r]:fn(r),v,M,T,S,O,E,I,j;if(l._targets=k.length?Sd(k):ro("GSAP target "+r+" not found. https://gsap.com",!Xt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,g||f||Oa(d)||Oa(u)){if(s=l.vars,v=l.timeline=new At({data:"nested",defaults:p||{},targets:C&&C.data==="nested"?C.vars.targets:k}),v.kill(),v.parent=v._dp=dr(l),v._start=0,f||Oa(d)||Oa(u)){if(S=k.length,I=f&&Kf(f),Un(f))for(O in f)~f0.indexOf(O)&&(j||(j={}),j[O]=f[O]);for(M=0;M<S;M++)T=Va(s,m0),T.stagger=0,y&&(T.yoyoEase=y),j&&ws(T,j),E=k[M],T.duration=+mo(d,dr(l),M,E,k),T.delay=(+mo(u,dr(l),M,E,k)||0)-l._delay,!f&&S===1&&T.delay&&(l._delay=u=T.delay,l._start+=u,T.delay=0),v.to(E,T,I?I(M,E,k):0),v._ease=xe.none;v.duration()?d=u=0:l.timeline=0}else if(g){io(un(v.vars.defaults,{ease:"none"})),v._ease=ks(g.ease||s.ease||"none");var $=0,R,G,D;if(Lt(g))g.forEach(function(x){return v.to(k,x,">")}),v.duration();else{T={};for(O in g)O==="ease"||O==="easeEach"||iw(O,g[O],T,g.easeEach);for(O in T)for(R=T[O].sort(function(x,V){return x.t-V.t}),$=0,M=0;M<R.length;M++)G=R[M],D={ease:G.e,duration:(G.t-(M?R[M-1].t:0))/100*d},D[O]=G.v,v.to(k,D,$),$+=D.duration;v.duration()<d&&v.to({},{duration:d-v.duration()})}}d||l.duration(d=v.duration())}else l.timeline=0;return m===!0&&!hd&&(Wr=dr(l),tt.killTweensOf(k),Wr=0),Gn(C,dr(l),i),s.reversed&&l.reverse(),s.paused&&l.paused(!0),(h||!d&&!g&&l._start===Tt(C._time)&&It(h)&&B8(dr(l))&&C.data!=="nested")&&(l._tTime=-je,l.render(Math.max(0,-u)||0)),_&&jf(dr(l),_),l}var n=e.prototype;return n.render=function(s,i,a){var l=this._time,c=this._tDur,d=this._dur,u=s<0,h=s>c-je&&!u?c:s<je?0:s,f,m,g,p,_,y,C,k,v;if(!d)F8(this,s,i,a);else if(h!==this._tTime||!s||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=h,k=this.timeline,this._repeat){if(p=d+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+s,i,a);if(f=Tt(h%p),h===c?(g=this._repeat,f=d):(g=~~(h/p),g&&g===Tt(h/p)&&(f=d,g--),f>d&&(f=d)),y=this._yoyo&&g&1,y&&(v=this._yEase,f=d-f),_=ui(this._tTime,p),f===l&&!a&&this._initted&&g===_)return this._tTime=h,this;g!==_&&(k&&this._yEase&&c0(k,y),this.vars.repeatRefresh&&!y&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(Tt(p*g),!0).invalidate()._lock=0))}if(!this._initted){if(Zf(this,u?s:f,a,i,h))return this._tTime=0,this;if(l!==this._time&&!(a&&this.vars.repeatRefresh&&g!==_))return this;if(d!==this._dur)return this.render(s,i,a)}if(this._tTime=h,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=C=(v||this._ease)(f/d),this._from&&(this.ratio=C=1-C),f&&!l&&!i&&!g&&(en(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(C,m.d),m=m._next;k&&k.render(s<0?s:k._dur*k._ease(f/this._dur),i,a)||this._startAt&&(this._zTime=s),this._onUpdate&&!i&&(u&&vd(this,s,i,a),en(this,"onUpdate")),this._repeat&&g!==_&&this.vars.onRepeat&&!i&&this.parent&&en(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&vd(this,s,!0,!0),(s||!d)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Hr(this,1),!i&&!(u&&!l)&&(h||l||y)&&(en(this,h===c?"onComplete":"onReverseComplete",!0),this._prom&&!(h<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(s){return(!s||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(s),t.prototype.invalidate.call(this,s)},n.resetTo=function(s,i,a,l,c){ho||tn.wake(),this._ts||this.play();var d=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Bd(this,d),u=this._ease(d/this._dur),rw(this,s,i,a,l,u,d,c)?this.resetTo(s,i,a,l,1):(Fa(this,0),this.parent||zf(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(s,i){if(i===void 0&&(i="all"),!s&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?co(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(s,i,Wr&&Wr.vars.overwrite!==!0)._first||co(this),this.parent&&a!==this.timeline.totalDuration()&&hi(this,this._dur*this.timeline._tDur/a,0,1),this}var l=this._targets,c=s?fn(s):l,d=this._ptLookup,u=this._pt,h,f,m,g,p,_,y;if((!i||i==="all")&&V8(l,c))return i==="all"&&(this._pt=0),co(this);for(h=this._op=this._op||[],i!=="all"&&(vt(i)&&(p={},Ht(i,function(C){return p[C]=1}),i=p),i=sw(l,i)),y=l.length;y--;)if(~c.indexOf(l[y])){f=d[y],i==="all"?(h[y]=i,g=f,m={}):(m=h[y]=h[y]||{},g=i);for(p in g)_=f&&f[p],_&&((!("kill"in _.d)||_.d.kill(p)===!0)&&Na(this,_,"_pt"),delete f[p]),m!=="all"&&(m[p]=1)}return this._initted&&!this._pt&&u&&co(this),this},e.to=function(s,i){return new e(s,i,arguments[2])},e.from=function(s,i){return oo(1,arguments)},e.delayedCall=function(s,i,a,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:s,onComplete:i,onReverseComplete:i,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:l})},e.fromTo=function(s,i,a){return oo(2,arguments)},e.set=function(s,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(s,i)},e.killTweensOf=function(s,i,a){return tt.killTweensOf(s,i,a)},e}(fo);un(wt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ht("staggerTo,staggerFrom,staggerFromTo",function(t){wt[t]=function(){var e=new At,n=Dd.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ad=function(e,n,r){return e[n]=r},p0=function(e,n,r){return e[n](r)},ow=function(e,n,r,s){return e[n](s.fp,r)},aw=function(e,n,r){return e.setAttribute(n,r)},Fd=function(e,n){return at(e[n])?p0:md(e[n])&&e.setAttribute?aw:Ad},g0=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},lw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},_0=function(e,n){var r=n._pt,s="";if(!e&&n.b)s=n.b;else if(e===1&&n.e)s=n.e;else{for(;r;)s=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+s,r=r._next;s+=n.c}n.set(n.t,n.p,s,n)},Rd=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},cw=function(e,n,r,s){for(var i=this._pt,a;i;)a=i._next,i.p===s&&i.modifier(e,n,r),i=a},dw=function(e){for(var n=this._pt,r,s;n;)s=n._next,n.p===e&&!n.op||n.op===e?Na(this,n,"_pt"):n.dep||(r=1),n=s;return!r},uw=function(e,n,r,s){s.mSet(e,n,s.m.call(s.tween,r,s.mt),s)},y0=function(e){for(var n=e._pt,r,s,i,a;n;){for(r=n._next,s=i;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:a)?n._prev._next=n:i=n,(n._next=s)?s._prev=n:a=n,n=r}e._pt=i},zt=function(){function t(n,r,s,i,a,l,c,d,u){this.t=r,this.s=i,this.c=a,this.p=s,this.r=l||g0,this.d=c||this,this.set=d||Ad,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,s,i){this.mSet=this.mSet||this.set,this.set=uw,this.m=r,this.mt=i,this.tween=s},t}();Ht(Md+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return kd[t]=1}),Jt.TweenMax=Jt.TweenLite=wt,Jt.TimelineLite=Jt.TimelineMax=At,tt=new At({sortChildren:!1,defaults:li,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Xt.stringFilter=a0;var xs=[],Ra={},hw=[],w0=0,fw=0,Id=function(e){return(Ra[e]||hw).map(function(n){return n()})},Hd=function(){var e=Date.now(),n=[];e-w0>2&&(Id("matchMediaInit"),xs.forEach(function(r){var s=r.queries,i=r.conditions,a,l,c,d;for(l in s)a=qn.matchMedia(s[l]).matches,a&&(c=1),a!==i[l]&&(i[l]=a,d=1);d&&(r.revert(),c&&n.push(r))}),Id("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(s){return r.add(null,s)})}),w0=e,Id("matchMedia"))},b0=function(){function t(n,r){this.selector=r&&Od(r),this.data=[],this._r=[],this.isReverted=!1,this.id=fw++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,s,i){at(r)&&(i=s,s=r,r=at);var a=this,l=function(){var d=Xe,u=a.selector,h;return d&&d!==a&&d.data.push(a),i&&(a.selector=Od(i)),Xe=a,h=s.apply(a,arguments),at(h)&&a._r.push(h),Xe=d,a.selector=u,a.isReverted=!1,h};return a.last=l,r===at?l(a,function(c){return a.add(null,c)}):r?a[r]=l:l},e.ignore=function(r){var s=Xe;Xe=null,r(this),Xe=s},e.getTweens=function(){var r=[];return this.data.forEach(function(s){return s instanceof t?r.push.apply(r,s.getTweens()):s instanceof wt&&!(s.parent&&s.parent.data==="nested")&&r.push(s)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,s){var i=this;if(r?function(){for(var l=i.getTweens(),c=i.data.length,d;c--;)d=i.data[c],d.data==="isFlip"&&(d.revert(),d.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)d=i.data[c],d instanceof At?d.data!=="nested"&&(d.scrollTrigger&&d.scrollTrigger.revert(),d.kill()):!(d instanceof wt)&&d.revert&&d.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),s)for(var a=xs.length;a--;)xs[a].id===this.id&&xs.splice(a,1)},e.revert=function(r){this.kill(r||{})},t}(),mw=function(){function t(n){this.contexts=[],this.scope=n,Xe&&Xe.data.push(this)}var e=t.prototype;return e.add=function(r,s,i){Un(r)||(r={matches:r});var a=new b0(0,i||this.scope),l=a.conditions={},c,d,u;Xe&&!a.selector&&(a.selector=Xe.selector),this.contexts.push(a),s=a.add("onMatch",s),a.queries=r;for(d in r)d==="all"?u=1:(c=qn.matchMedia(r[d]),c&&(xs.indexOf(a)<0&&xs.push(a),(l[d]=c.matches)&&(u=1),c.addListener?c.addListener(Hd):c.addEventListener("change",Hd)));return u&&s(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(s){return s.kill(r,!0)})},t}(),Ia={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(s){return r0(s)})},timeline:function(e){return new At(e)},getTweensOf:function(e,n){return tt.getTweensOf(e,n)},getProperty:function(e,n,r,s){vt(e)&&(e=fn(e)[0]);var i=ys(e||{}).get,a=r?If:Rf;return r==="native"&&(r=""),e&&(n?a((Qt[n]&&Qt[n].get||i)(e,n,r,s)):function(l,c,d){return a((Qt[l]&&Qt[l].get||i)(e,l,c,d))})},quickSetter:function(e,n,r){if(e=fn(e),e.length>1){var s=e.map(function(u){return Yt.quickSetter(u,n,r)}),i=s.length;return function(u){for(var h=i;h--;)s[h](u)}}e=e[0]||{};var a=Qt[n],l=ys(e),c=l.harness&&(l.harness.aliases||{})[n]||n,d=a?function(u){var h=new a;fi._pt=0,h.init(e,r?u+r:u,fi,0,[e]),h.render(1,h),fi._pt&&Rd(1,fi)}:l.set(e,c);return a?d:function(u){return d(e,c,r?u+r:u,l,1)}},quickTo:function(e,n,r){var s,i=Yt.to(e,ws((s={},s[n]="+=0.1",s.paused=!0,s),r||{})),a=function(c,d,u){return i.resetTo(n,c,d,u)};return a.tween=i,a},isTweening:function(e){return tt.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ks(e.ease,li.ease)),Hf(li,e||{})},config:function(e){return Hf(Xt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,s=e.plugins,i=e.defaults,a=e.extendTimeline;(s||"").split(",").forEach(function(l){return l&&!Qt[l]&&!Jt[l]&&ro(n+" effect requires "+l+" plugin.")}),xd[n]=function(l,c,d){return r(fn(l),un(c||{},i),d)},a&&(At.prototype[n]=function(l,c,d){return this.add(xd[n](l,Un(c)?c:(d=c)&&{},this),d)})},registerEase:function(e,n){xe[e]=ks(n)},parseEase:function(e,n){return arguments.length?ks(e,n):xe},getById:function(e){return tt.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new At(e),s,i;for(r.smoothChildTiming=It(e.smoothChildTiming),tt.remove(r),r._dp=0,r._time=r._tTime=tt._time,s=tt._first;s;)i=s._next,(n||!(!s._dur&&s instanceof wt&&s.vars.onComplete===s._targets[0]))&&Gn(r,s,s._start-s._delay),s=i;return Gn(tt,r,0),r},context:function(e,n){return e?new b0(e,n):Xe},matchMedia:function(e){return new mw(e)},matchMediaRefresh:function(){return xs.forEach(function(e){var n=e.conditions,r,s;for(s in n)n[s]&&(n[s]=!1,r=1);r&&e.revert()})||Hd()},addEventListener:function(e,n){var r=Ra[e]||(Ra[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Ra[e],s=r&&r.indexOf(n);s>=0&&r.splice(s,1)},utils:{wrap:Z8,wrapYoyo:U8,distribute:Kf,random:Jf,snap:Xf,normalize:j8,getUnit:Vt,clamp:H8,splitColor:s0,toArray:fn,selector:Od,mapRange:e0,pipe:Y8,unitize:W8,interpolate:q8,shuffle:Gf},install:Lf,effects:xd,ticker:tn,updateRoot:At.updateRoot,plugins:Qt,globalTimeline:tt,core:{PropTween:zt,globals:Vf,Tween:wt,Timeline:At,Animation:fo,getCache:ys,_removeLinkedListItem:Na,reverting:function(){return Pt},context:function(e){return e&&Xe&&(Xe.data.push(e),e._ctx=Xe),Xe},suppressOverwrites:function(e){return hd=e}}};Ht("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Ia[t]=wt[t]}),tn.add(At.updateRoot),fi=Ia.to({},{duration:0});var pw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},gw=function(e,n){var r=e._targets,s,i,a;for(s in n)for(i=r.length;i--;)a=e._ptLookup[i][s],a&&(a=a.d)&&(a._pt&&(a=pw(a,s)),a&&a.modifier&&a.modifier(n[s],e,r[i],s))},zd=function(e,n){return{name:e,rawVars:1,init:function(s,i,a){a._onInit=function(l){var c,d;if(vt(i)&&(c={},Ht(i,function(u){return c[u]=1}),i=c),n){c={};for(d in i)c[d]=n(i[d]);i=c}gw(l,i)}}}},Yt=Ia.registerPlugin({name:"attr",init:function(e,n,r,s,i){var a,l,c;this.tween=r;for(a in n)c=e.getAttribute(a)||"",l=this.add(e,"setAttribute",(c||0)+"",n[a],s,i,0,0,a),l.op=a,l.b=c,this._props.push(a)},render:function(e,n){for(var r=n._pt;r;)Pt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},zd("roundProps",Ed),zd("modifiers"),zd("snap",Xf))||Ia;wt.version=At.version=Yt.version="3.12.5",Pf=1,pd()&&mi(),xe.Power0,xe.Power1,xe.Power2,xe.Power3,xe.Power4;var _w=xe.Linear;xe.Quad,xe.Cubic,xe.Quart,xe.Quint,xe.Strong,xe.Elastic,xe.Back,xe.SteppedEase,xe.Bounce;var Yd=xe.Sine;xe.Expo,xe.Circ;/*!
10
10
  * CSSPlugin 3.12.5
11
11
  * https://gsap.com
12
12
  *
@@ -14,38 +14,38 @@
14
14
  * Subject to the terms at https://gsap.com/standard-license or for
15
15
  * Club GSAP members, the agreement issued with that membership.
16
16
  * @author: Jack Doyle, jack@greensock.com
17
- */var k0,jr,pi,Wd,Ms,C0,jd,ww=function(){return typeof window<"u"},hr={},Ss=180/Math.PI,gi=Math.PI/180,_i=Math.atan2,x0=1e8,Zd=/([A-Z])/g,bw=/(left|right|width|margin|padding|x)/i,kw=/[\s,\(]\S/,Kn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ud=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Cw=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},xw=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Mw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},M0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},S0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},Sw=function(e,n,r){return e.style[n]=r},vw=function(e,n,r){return e.style.setProperty(n,r)},Tw=function(e,n,r){return e._gsap[n]=r},Dw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Ow=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Ew=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},nt="transform",Wt=nt+"Origin",$w=function t(e,n){var r=this,s=this.target,i=s.style,a=s._gsap;if(e in hr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Kn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=fr(s,l)}):this.tfm[e]=a.x?a[e]:fr(s,e),e===Wt&&(this.tfm.zOrigin=a.zOrigin);else return Kn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(nt)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Wt,n,"")),e=nt}(i||n)&&this.props.push(e,n,i[e])},v0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Pw=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?n[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Zd,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=jd(),(!i||!i.isStart)&&!r[nt]&&(v0(r),s.zOrigin&&r[Wt]&&(r[Wt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},T0=function(e,n){var r={target:e,props:[],revert:Pw,save:$w};return e._gsap||Yt.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},D0,qd=function(e,n){var r=jr.createElementNS?jr.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):jr.createElement(e);return r&&r.style?r:jr.createElement(e)},Xn=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Zd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,yi(n)||n,1)||""},O0="O,Moz,ms,Ms,Webkit".split(","),yi=function(e,n,r){var s=n||Ms,i=s.style,a=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(O0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?O0[a]:"")+e},Gd=function(){ww()&&window.document&&(k0=window,jr=k0.document,pi=jr.documentElement,Ms=qd("div")||{style:{}},qd("div"),nt=yi(nt),Wt=nt+"Origin",Ms.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",D0=!!yi("perspective"),jd=Yt.core.reverting,Wd=1)},Kd=function t(e){var n=qd("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,i=this.style.cssText,a;if(pi.appendChild(n),n.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(a=this._gsapBBox());return r&&(s?r.insertBefore(this,s):r.appendChild(this)),pi.removeChild(n),this.style.cssText=i,a},E0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},$0=function(e){var n;try{n=e.getBBox()}catch{n=Kd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Kd||(n=Kd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+E0(e,["x","cx","x1"])||0,y:+E0(e,["y","cy","y1"])||0,width:0,height:0}:n},P0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&$0(e))},vs=function(e,n){if(n){var r=e.style,s;n in hr&&n!==Wt&&(n=nt),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Zd,"-$1").toLowerCase())):r.removeAttribute(n)}},Zr=function(e,n,r,s,i,a){var l=new zt(e._pt,n,r,0,1,a?S0:M0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},L0={deg:1,rad:1,turn:1},Lw={grid:1,flex:1},Ur=function t(e,n,r,s){var i=parseFloat(r)||0,a=(r+"").trim().substr((i+"").length)||"px",l=Ms.style,c=bw.test(n),d=e.tagName.toLowerCase()==="svg",u=(d?"client":"offset")+(c?"Width":"Height"),h=100,f=s==="px",m=s==="%",g,p,_,y;if(s===a||!i||L0[s]||L0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&P0(e),(m||a==="%")&&(hr[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],pt(m?i/g*h:i/100*g);if(l[c?"width":"height"]=h+(f?a:s),p=~n.indexOf("adius")||s==="em"&&e.appendChild&&!d?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===jr||!p.appendChild)&&(p=jr.body),_=p._gsap,_&&m&&_.width&&c&&_.time===tn.time&&!_.uncache)return pt(i/_.width*h);if(m&&(n==="height"||n==="width")){var C=e.style[n];e.style[n]=h+s,g=e[u],C?e.style[n]=C:vs(e,n)}else(m||a==="%")&&!Lw[Xn(p,"display")]&&(l.position=Xn(e,"position")),p===e&&(l.position="static"),p.appendChild(Ms),g=Ms[u],p.removeChild(Ms),l.position="absolute";return c&&m&&(_=ys(p),_.time=tn.time,_.width=p[u]),pt(f?g*i/h:g&&i?h/g*i:0)},fr=function(e,n,r,s){var i;return Wd||Gd(),n in Kn&&n!=="transform"&&(n=Kn[n],~n.indexOf(",")&&(n=n.split(",")[0])),hr[n]&&n!=="transform"?(i=go(e,s),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:za(Xn(e,Wt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Ha[n]&&Ha[n](e,n,r)||Xn(e,n)||Af(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Ur(e,n,i,r)+r:i},Vw=function(e,n,r,s){if(!r||r==="none"){var i=yi(n,e,1),a=i&&Xn(e,i,1);a&&a!==r?(n=i,r=a):n==="borderColor"&&(r=Xn(e,"borderTopColor"))}var l=new zt(this._pt,e.style,n,0,1,_0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,v,M;if(l.b=r,l.e=s,r+="",s+="",s==="auto"&&(p=e.style[n],e.style[n]=s,s=Xn(e,n)||s,p?e.style[n]=p:vs(e,n)),u=[r,s],a0(u),r=u[0],s=u[1],f=r.match(ci)||[],M=s.match(ci)||[],M.length){for(;h=ci.exec(s);)_=h[0],C=s.substring(c,h.index),g?g=(g+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(g=1),_!==(p=f[d++]||"")&&(m=parseFloat(p)||0,v=p.substr((m+"").length),_.charAt(1)==="="&&(_=di(m,_)+v),y=parseFloat(_),k=_.substr((y+"").length),c=ci.lastIndex-k.length,k||(k=k||Xt.units[n]||v,c===s.length&&(s+=k,l.e+=k)),v!==k&&(m=Ur(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?S0:M0;return Ef.test(s)&&(l.e=0),this._pt=l,l},V0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Nw=function(e){var n=e.split(" "),r=n[0],s=n[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),n[0]=V0[r]||r,n[1]=V0[s]||s,n.join(" ")},Bw=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,s=r.style,i=n.u,a=r._gsap,l,c,d;if(i==="all"||i===!0)s.cssText="",c=1;else for(i=i.split(","),d=i.length;--d>-1;)l=i[d],hr[l]&&(c=1,l=l==="transformOrigin"?Wt:nt),vs(r,l);c&&(vs(r,nt),a&&(a.svg&&r.removeAttribute("transform"),go(r,1),a.uncache=1,v0(s)))}},Ha={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new zt(e._pt,n,r,0,0,Bw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},po=[1,0,0,1,0,0],N0={},B0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},A0=function(e){var n=Xn(e,nt);return B0(n)?po:n.substr(7).match(Of).map(pt)},Xd=function(e,n){var r=e._gsap||ys(e),s=e.style,i=A0(e),a,l,c,d;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?po:i):(i===po&&!e.offsetParent&&e!==pi&&!r.svg&&(c=s.display,s.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(d=1,l=e.nextElementSibling,pi.appendChild(e)),i=A0(e),c?s.display=c:vs(e,"display"),d&&(l?a.insertBefore(e,l):a?a.appendChild(e):pi.removeChild(e))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Jd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Xd(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),v=parseFloat(k[0])||0,M=parseFloat(k[1])||0,T,S,O,E;r?c!==po&&(S=m*_-g*p)&&(O=v*(_/S)+M*(-p/S)+(p*C-_*y)/S,E=v*(-g/S)+M*(m/S)-(m*C-g*y)/S,v=O,M=E):(T=$0(e),v=T.x+(~k[0].indexOf("%")?v/100*T.width:v),M=T.y+(~(k[1]||k[0]).indexOf("%")?M/100*T.height:M)),s||s!==!1&&l.smooth?(y=v-d,C=M-u,l.xOffset=h+(y*m+C*p)-y,l.yOffset=f+(y*g+C*_)-C):l.xOffset=l.yOffset=0,l.xOrigin=v,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[Wt]="0px 0px",a&&(Zr(a,l,"xOrigin",d,v),Zr(a,l,"yOrigin",u,M),Zr(a,l,"xOffset",h,l.xOffset),Zr(a,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",v+" "+M)},go=function(e,n){var r=e._gsap||new u0(e);if("x"in r&&!n&&!r.uncache)return r;var s=e.style,i=r.scaleX<0,a="px",l="deg",c=getComputedStyle(e),d=Xn(e,Wt)||"0",u,h,f,m,g,p,_,y,C,k,v,M,T,S,O,E,I,j,$,R,G,D,x,V,Z,ee,U,P,N,b,w,B;return u=h=f=p=_=y=C=k=v=0,m=g=1,r.svg=!!(e.getCTM&&P0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[nt]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[nt]!=="none"?c[nt]:"")),s.scale=s.rotate=s.translate="none"),S=Xd(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),d=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",V=""):V=!n&&e.getAttribute("data-svg-origin"),Jd(e,V||d,!!V||r.originIsAbsolute,r.smooth!==!1,S)),M=r.xOrigin||0,T=r.yOrigin||0,S!==po&&(j=S[0],$=S[1],R=S[2],G=S[3],u=D=S[4],h=x=S[5],S.length===6?(m=Math.sqrt(j*j+$*$),g=Math.sqrt(G*G+R*R),p=j||$?_i($,j)*Ss:0,C=R||G?_i(R,G)*Ss+p:0,C&&(g*=Math.abs(Math.cos(C*gi))),r.svg&&(u-=M-(M*j+T*R),h-=T-(M*$+T*G))):(B=S[6],b=S[7],U=S[8],P=S[9],N=S[10],w=S[11],u=S[12],h=S[13],f=S[14],O=_i(B,N),_=O*Ss,O&&(E=Math.cos(-O),I=Math.sin(-O),V=D*E+U*I,Z=x*E+P*I,ee=B*E+N*I,U=D*-I+U*E,P=x*-I+P*E,N=B*-I+N*E,w=b*-I+w*E,D=V,x=Z,B=ee),O=_i(-R,N),y=O*Ss,O&&(E=Math.cos(-O),I=Math.sin(-O),V=j*E-U*I,Z=$*E-P*I,ee=R*E-N*I,w=G*I+w*E,j=V,$=Z,R=ee),O=_i($,j),p=O*Ss,O&&(E=Math.cos(O),I=Math.sin(O),V=j*E+$*I,Z=D*E+x*I,$=$*E-j*I,x=x*E-D*I,j=V,D=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=pt(Math.sqrt(j*j+$*$+R*R)),g=pt(Math.sqrt(x*x+B*B)),O=_i(D,x),C=Math.abs(O)>2e-4?O*Ss:0,v=w?1/(w<0?-w:w):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!B0(Xn(e,nt)),V&&e.setAttribute("transform",V))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=pt(m),r.scaleY=pt(g),r.rotation=pt(p)+l,r.rotationX=pt(_)+l,r.rotationY=pt(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=v+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[Wt]=za(d)),r.xOffset=r.yOffset=0,r.force3D=Xt.force3D,r.renderTransform=r.svg?Fw:D0?F0:Aw,r.uncache=0,r},za=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qd=function(e,n,r){var s=Vt(n);return pt(parseFloat(n)+parseFloat(Ur(e,"x",r+"px",s)))+s},Aw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,F0(e,n)},Ts="0deg",_o="0px",Ds=") ",F0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,v="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==Ts||u!==Ts)){var T=parseFloat(u)*gi,S=Math.sin(T),O=Math.cos(T),E;T=parseFloat(h)*gi,E=Math.cos(T),a=Qd(C,a,S*E*-k),l=Qd(C,l,-Math.sin(T)*-k),c=Qd(C,c,O*E*-k+k)}_!==_o&&(v+="perspective("+_+Ds),(s||i)&&(v+="translate("+s+"%, "+i+"%) "),(M||a!==_o||l!==_o||c!==_o)&&(v+=c!==_o||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ds),d!==Ts&&(v+="rotate("+d+Ds),u!==Ts&&(v+="rotateY("+u+Ds),h!==Ts&&(v+="rotateX("+h+Ds),(f!==Ts||m!==Ts)&&(v+="skew("+f+", "+m+Ds),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Ds),C.style[nt]=v||"translate(0, 0)"},Fw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),v=parseFloat(l),M,T,S,O,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=gi,d*=gi,M=Math.cos(c)*h,T=Math.sin(c)*h,S=Math.sin(c-d)*-f,O=Math.cos(c-d)*f,d&&(u*=gi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),S*=E,O*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,T*=E)),M=pt(M),T=pt(T),S=pt(S),O=pt(O)):(M=h,O=f,T=S=0),(k&&!~(a+"").indexOf("px")||v&&!~(l+"").indexOf("px"))&&(k=Ur(m,"x",a,"px"),v=Ur(m,"y",l,"px")),(g||p||_||y)&&(k=pt(k+g-(g*M+p*S)+_),v=pt(v+p-(g*T+p*O)+y)),(s||i)&&(E=m.getBBox(),k=pt(k+s/100*E.width),v=pt(v+i/100*E.height)),E="matrix("+M+","+T+","+S+","+O+","+k+","+v+")",m.setAttribute("transform",E),C&&(m.style[nt]=E)},Rw=function(e,n,r,s,i){var a=360,l=vt(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Ss:1),d=c-s,u=s+d+"deg",h,f;return l&&(h=i.split("_")[1],h==="short"&&(d%=a,d!==d%(a/2)&&(d+=d<0?a:-a)),h==="cw"&&d<0?d=(d+a*x0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*x0)%a-~~(d/a)*a)),e._pt=f=new zt(e._pt,n,r,s,d,Cw),f.e=u,f.u="deg",e._props.push(r),f},R0=function(e,n){for(var r in n)e[r]=n[r];return e},Iw=function(e,n,r){var s=R0({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,d,u,h,f,m,g;s.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),a[nt]=n,l=go(r,1),vs(r,nt),r.setAttribute("transform",d)):(d=getComputedStyle(r)[nt],a[nt]=n,l=go(r,1),a[nt]=d);for(c in hr)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Vt(d),g=Vt(u),h=m!==g?Ur(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new zt(e._pt,l,c,h,f-h,Ud),e._pt.u=g||0,e._props.push(c));R0(l,s)};Ht("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",s="Bottom",i="Left",a=(e<3?[n,r,s,i]:[n+i,n+r,s+r,s+i]).map(function(l){return e<2?t+l:"border"+l+t});Ha[e>1?"border"+t:t]=function(l,c,d,u,h){var f,m;if(arguments.length<4)return f=a.map(function(g){return fr(l,g,d)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},a.forEach(function(g,p){return m[g]=f[p]=f[p]||f[(p-1)/2|0]}),l.init(c,m,h)}});var I0={name:"css",register:Gd,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,v,M,T,S,O;Wd||Gd(),this.styles=this.styles||T0(e),O=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Qt[p]&&h0(p,n,r,s,e,i)))){if(m=typeof u,g=Ha[p],m==="function"&&(u=u.call(r,s,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=lo(u)),g)g(this,e,p,u,r)&&(S=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Yr.lastIndex=0,Yr.test(d)||(_=Vt(d),y=Vt(u)),y?_!==y&&(d=Ur(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),O.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],vt(d)&&~d.indexOf("random(")&&(d=lo(d)),Vt(d+"")||d==="auto"||(d+=Xt.units[p]||Vt(fr(e,p))||""),(d+"").charAt(1)==="="&&(d=fr(e,p))):d=fr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Kn&&(p==="autoAlpha"&&(f===1&&fr(e,"visibility")==="hidden"&&h&&(f=0),O.push("visibility",0,l.visibility),Zr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Kn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in hr,k){if(this.styles.save(p),v||(M=e._gsap,M.renderTransform&&!n.parseTransform||go(e,n.parseTransform),T=n.smoothOrigin!==!1&&M.smooth,v=this._pt=new zt(this._pt,l,nt,0,1,M.renderTransform,M,0,-1),v.dep=1),p==="scale")this._pt=new zt(this._pt,M,"scaleY",M.scaleY,(C?di(M.scaleY,C+h):h)-M.scaleY||0,Ud),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){O.push(Wt,0,l[Wt]),u=Nw(u),M.svg?Jd(e,u,0,T,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&Zr(this,M,"zOrigin",M.zOrigin,y),Zr(this,l,p,za(d),za(u)));continue}else if(p==="svgOrigin"){Jd(e,u,1,T,0,this);continue}else if(p in N0){Rw(this,M,p,f,C?di(f,C+u):u);continue}else if(p==="smoothOrigin"){Zr(this,M,"smooth",M.smooth,u);continue}else if(p==="force3D"){M[p]=u;continue}else if(p==="transform"){Iw(this,u,e);continue}}else p in l||(p=yi(p)||p);if(k||(h||h===0)&&(f||f===0)&&!kw.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Vt(u)||(p in Xt.units?Xt.units[p]:_),_!==y&&(f=Ur(e,p,d,y)),this._pt=new zt(this._pt,k?M:l,p,f,(C?di(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Mw:Ud),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=xw);else if(p in l)Vw.call(this,e,p,d,C?C+u:u);else if(p in e)this.add(e,p,d||e[p],C?C+u:u,s,i);else if(p!=="parseTransform"){bd(p,u);continue}k||(p in l?O.push(p,0,l[p]):O.push(p,1,d||e[p])),a.push(p)}}S&&y0(this)},render:function(e,n){if(n.tween._time||!jd())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:fr,aliases:Kn,getSetter:function(e,n,r){var s=Kn[n];return s&&s.indexOf(",")<0&&(n=s),n in hr&&n!==Wt&&(e._gsap.x||fr(e,"x"))?r&&C0===r?n==="scale"?Dw:Tw:(C0=r||{})&&(n==="scale"?Ow:Ew):e.style&&!md(e.style[n])?Sw:~n.indexOf("-")?vw:Fd(e,n)},core:{_removeProperty:vs,_getMatrix:Xd}};Yt.utils.checkPrefix=yi,Yt.core.getStyleSaver=T0,function(t,e,n,r){var s=Ht(t+","+e+","+n,function(i){hr[i]=1});Ht(e,function(i){Xt.units[i]="deg",N0[i]=1}),Kn[s[13]]=t+","+e,Ht(r,function(i){var a=i.split(":");Kn[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Xt.units[t]="px"}),Yt.registerPlugin(I0);var qr=Yt.registerPlugin(I0)||Yt;qr.core.Tween;const Hw={__name:"Confetti",setup(t){function e(r){let s=100,i=r.offsetWidth,a=r.offsetHeight;for(let u=0;u<s;u++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),qr.set(h,{x:c(i),y:d(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+d(170,360)+",50%,50%)"}),l(h)}function l(u){qr.set(r,{display:"block"}),qr.to(r,{autoAlpha:1,duration:2,delay:1}),qr.to(u,c(5)+4,{y:a,ease:yw.easeNone,repeat:-1,delay:-5}),qr.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Yd.easeInOut}),qr.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Yd.easeInOut}),qr.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Yd.easeInOut})}function c(u){return Math.random()*u}function d(u,h){return u+Math.floor(Math.random()*(h-u))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},zw={class:"toast__content"},Yw={class:"toast__content-wrapper"},Ww=["innerHTML"],H0=Oe(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{type:String,default:""},title:{type:String,default:""},action:{type:Object,default:void 0},duration:{type:Number}},setup(t){const e=t,n=o.ref(null),r=()=>{var a,l,c,d;(a=e.action)!=null&&a.label?(l=e.action)==null||l.callback():(d=(c=n.value)==null?void 0:c.parentElement)==null||d.remove()},s=o.computed(()=>{if(e.type==="success")return"check-circle-fill";if(e.type==="error")return"circle-close";if(e.type==="info")return"warning"}),i=o.computed(()=>e.type==="success"?"-success":e.type==="info"?"-info":"-error");return(a,l)=>(o.openBlock(),o.createBlock(o.Transition,null,{default:o.withCtx(()=>{var c;return[o.createElementVNode("div",{ref_key:"toast",ref:n,class:"toast"},[o.createElementVNode("div",zw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Le,{icon:s.value},null,8,["icon"])],2),o.createElementVNode("div",Yw,[o.withDirectives(o.createElementVNode("div",{class:"toast__title"},o.toDisplayString(t.title),513),[[o.vShow,t.title.length]]),o.withDirectives(o.createElementVNode("div",{innerHTML:t.message,class:"toast__text"},null,8,Ww),[[o.vShow,t.message.length]])])]),o.createElementVNode("div",{class:"toast__dismiss",onClick:r},o.toDisplayString((c=t.action)!=null&&c.label?t.action.label:t.textOnClose),1)],512)]}),_:1}))}}),[["__scopeId","data-v-1c60e1ce"]]),jw={key:0,class:"scope-textarea__label"},Zw={key:1,class:"scope-textarea__prompt"},Uw=["disabled","placeholder","veeBind","maxlength"],qw={key:2,class:"scope-textarea__error"},Gw=Oe({__name:"Textarea",props:o.mergeModels({maxLength:{type:Number,default:524288},placeholder:String,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,prompt:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=t,i=o.computed(()=>s.width||s.height?{width:s.width,height:s.height}:null);return(a,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-textarea",{"-full-width":t.fullWidth}])},[t.label?(o.openBlock(),o.createElementBlock("div",jw,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",Zw,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("textarea",{disabled:t.disabled,class:o.normalizeClass([{"-invalid":t.invalid}]),"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),style:o.normalizeStyle(i.value),placeholder:t.placeholder,onInput:l[1]||(l[1]=c=>n("input")),veeBind:t.veeBind,onKeyup:l[2]||(l[2]=o.withKeys(c=>n("enter"),["enter"])),maxlength:t.maxLength},null,46,Uw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",qw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-f065d142"]]);function z0(t,e){return function(){return t.apply(e,arguments)}}const{toString:Kw}=Object.prototype,{getPrototypeOf:eu}=Object,Ya=(t=>e=>{const n=Kw.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jn=t=>(t=t.toLowerCase(),e=>Ya(e)===t),Wa=t=>e=>typeof e===t,{isArray:wi}=Array,yo=Wa("undefined");function Xw(t){return t!==null&&!yo(t)&&t.constructor!==null&&!yo(t.constructor)&&mn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Y0=Jn("ArrayBuffer");function Jw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Y0(t.buffer),e}const Qw=Wa("string"),mn=Wa("function"),W0=Wa("number"),ja=t=>t!==null&&typeof t=="object",eb=t=>t===!0||t===!1,Za=t=>{if(Ya(t)!=="object")return!1;const e=eu(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},tb=Jn("Date"),nb=Jn("File"),rb=Jn("Blob"),sb=Jn("FileList"),ib=t=>ja(t)&&mn(t.pipe),ob=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||mn(t.append)&&((e=Ya(t))==="formdata"||e==="object"&&mn(t.toString)&&t.toString()==="[object FormData]"))},ab=Jn("URLSearchParams"),lb=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),wi(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let l;for(r=0;r<a;r++)l=i[r],e.call(null,t[l],l,t)}}function j0(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const Z0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,U0=t=>!yo(t)&&t!==Z0;function tu(){const{caseless:t}=U0(this)&&this||{},e={},n=(r,s)=>{const i=t&&j0(e,s)||s;Za(e[i])&&Za(r)?e[i]=tu(e[i],r):Za(r)?e[i]=tu({},r):wi(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&wo(arguments[r],n);return e}const cb=(t,e,n,{allOwnKeys:r}={})=>(wo(e,(s,i)=>{n&&mn(s)?t[i]=z0(s,n):t[i]=s},{allOwnKeys:r}),t),db=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),ub=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},hb=(t,e,n,r)=>{let s,i,a;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&eu(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},fb=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},mb=t=>{if(!t)return null;if(wi(t))return t;let e=t.length;if(!W0(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},pb=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&eu(Uint8Array)),gb=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},_b=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},yb=Jn("HTMLFormElement"),wb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),q0=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),bb=Jn("RegExp"),G0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};wo(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},kb=t=>{G0(t,(e,n)=>{if(mn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(mn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Cb=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return wi(t)?r(t):r(String(t).split(e)),n},xb=()=>{},Mb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),nu="abcdefghijklmnopqrstuvwxyz",K0="0123456789",X0={DIGIT:K0,ALPHA:nu,ALPHA_DIGIT:nu+nu.toUpperCase()+K0},Sb=(t=16,e=X0.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function vb(t){return!!(t&&mn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Tb=t=>{const e=new Array(10),n=(r,s)=>{if(ja(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=wi(r)?[]:{};return wo(r,(a,l)=>{const c=n(a,s+1);!yo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},Db=Jn("AsyncFunction"),Y={isArray:wi,isArrayBuffer:Y0,isBuffer:Xw,isFormData:ob,isArrayBufferView:Jw,isString:Qw,isNumber:W0,isBoolean:eb,isObject:ja,isPlainObject:Za,isUndefined:yo,isDate:tb,isFile:nb,isBlob:rb,isRegExp:bb,isFunction:mn,isStream:ib,isURLSearchParams:ab,isTypedArray:pb,isFileList:sb,forEach:wo,merge:tu,extend:cb,trim:lb,stripBOM:db,inherits:ub,toFlatObject:hb,kindOf:Ya,kindOfTest:Jn,endsWith:fb,toArray:mb,forEachEntry:gb,matchAll:_b,isHTMLForm:yb,hasOwnProperty:q0,hasOwnProp:q0,reduceDescriptors:G0,freezeMethods:kb,toObjectSet:Cb,toCamelCase:wb,noop:xb,toFiniteNumber:Mb,findKey:j0,global:Z0,isContextDefined:U0,ALPHABET:X0,generateString:Sb,isSpecCompliantForm:vb,toJSONObject:Tb,isAsyncFn:Db,isThenable:t=>t&&(ja(t)||mn(t))&&mn(t.then)&&mn(t.catch)};function ve(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Y.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const J0=ve.prototype,Q0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Q0[t]={value:t}}),Object.defineProperties(ve,Q0),Object.defineProperty(J0,"isAxiosError",{value:!0}),ve.from=(t,e,n,r,s,i)=>{const a=Object.create(J0);return Y.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),ve.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const Ob=null;function ru(t){return Y.isPlainObject(t)||Y.isArray(t)}function em(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function tm(t,e,n){return t?t.concat(e).map(function(s,i){return s=em(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function Eb(t){return Y.isArray(t)&&!t.some(ru)}const $b=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Ua(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!Y.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(Y.isDate(g))return g.toISOString();if(!c&&Y.isBlob(g))throw new ve("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(g)||Y.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,_){let y=g;if(g&&!_&&typeof g=="object"){if(Y.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(Y.isArray(g)&&Eb(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=em(p),y.forEach(function(k,v){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?tm([p],v,i):a===null?p:p+"[]",d(k))}),!1}return ru(g)?!0:(e.append(tm(_,p,i),d(g)),!1)}const h=[],f=Object.assign($b,{defaultVisitor:u,convertValue:d,isVisitable:ru});function m(g,p){if(!Y.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),Y.forEach(g,function(y,C){(!(Y.isUndefined(y)||y===null)&&s.call(e,y,Y.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return m(t),e}function nm(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function su(t,e){this._pairs=[],t&&Ua(t,this,e)}const rm=su.prototype;rm.append=function(e,n){this._pairs.push([e,n])},rm.toString=function(e){const n=e?function(r){return e.call(this,r,nm)}:nm;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Pb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sm(t,e,n){if(!e)return t;const r=n&&n.encode||Pb,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new su(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class im{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Y.forEach(this.handlers,function(r){r!==null&&e(r)})}}const om={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Lb={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:su,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},am=typeof window<"u"&&typeof document<"u",Vb=(t=>am&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Nb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qn={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:am,hasStandardBrowserEnv:Vb,hasStandardBrowserWebWorkerEnv:Nb},Symbol.toStringTag,{value:"Module"})),...Lb};function Bb(t,e){return Ua(t,new Qn.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return Qn.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Ab(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Fb(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],e[i]=t[i];return e}function lm(t){function e(n,r,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&Y.isArray(s)?s.length:a,c?(Y.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!Y.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&Y.isArray(s[a])&&(s[a]=Fb(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(Ab(r),s,n,0)}),n}return null}function Rb(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const iu={transitional:om,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=Y.isObject(e);if(i&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return s?JSON.stringify(lm(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Bb(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Rb(e)):e}],transformResponse:[function(e){const n=this.transitional||iu.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&Y.isString(e)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?ve.from(l,ve.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qn.classes.FormData,Blob:Qn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{iu.headers[t]={}});const ou=iu,Ib=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hb=t=>{const e={};let n,r,s;return t&&t.split(`
18
- `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&Ib[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},cm=Symbol("internals");function bo(t){return t&&String(t).trim().toLowerCase()}function qa(t){return t===!1||t==null?t:Y.isArray(t)?t.map(qa):String(t)}function zb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Yb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function au(t,e,n,r,s){if(Y.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!Y.isString(e)){if(Y.isString(r))return e.indexOf(r)!==-1;if(Y.isRegExp(r))return r.test(e)}}function Wb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function jb(t,e){const n=Y.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}class Ga{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=bo(c);if(!u)throw new Error("header name must be a non-empty string");const h=Y.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=qa(l))}const a=(l,c)=>Y.forEach(l,(d,u)=>i(d,u,c));return Y.isPlainObject(e)||e instanceof this.constructor?a(e,n):Y.isString(e)&&(e=e.trim())&&!Yb(e)?a(Hb(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=bo(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return zb(s);if(Y.isFunction(n))return n.call(this,s,r);if(Y.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=bo(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||au(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=bo(a),a){const l=Y.findKey(r,a);l&&(!n||au(r,r[l],l,n))&&(delete r[l],s=!0)}}return Y.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||au(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return Y.forEach(this,(s,i)=>{const a=Y.findKey(r,i);if(a){n[a]=qa(s),delete n[i];return}const l=e?Wb(i):String(i).trim();l!==i&&delete n[i],n[l]=qa(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Y.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&Y.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
19
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[cm]=this[cm]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=bo(a);r[l]||(jb(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}Ga.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(Ga.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(Ga);const mr=Ga;function lu(t,e){const n=this||ou,r=e||n,s=mr.from(r.headers);let i=r.data;return Y.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function dm(t){return!!(t&&t.__CANCEL__)}function ko(t,e,n){ve.call(this,t??"canceled",ve.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(ko,ve,{__CANCEL__:!0});function Zb(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ub=Qn.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];Y.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&a.push("path="+r),Y.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Gb(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function um(t,e){return t&&!qb(e)?Gb(t,e):e}const Kb=Qn.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const l=Y.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Xb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Jb(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=r[i];a||(a=d),n[s]=c,r[s]=d;let h=i,f=0;for(;h!==s;)f+=n[h++],h=h%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),d-a<e)return;const m=u&&d-u;return m?Math.round(f*1e3/m):void 0}}function hm(t,e){let n=0;const r=Jb(50,250);return s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),d=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:s};u[e?"download":"upload"]=!0,t(u)}}const cu={http:Ob,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=mr.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let u;if(Y.isFormData(s)){if(Qn.hasStandardBrowserEnv||Qn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[p,..._]=u?u.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",..._].join("; "))}}let h=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+_))}const f=um(t.baseURL,t.url);h.open(t.method.toUpperCase(),sm(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=mr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:t,request:h};Zb(function(k){n(k),d()},function(k){r(k),d()},y),h=null}if("onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(m)},h.onabort=function(){h&&(r(new ve("Request aborted",ve.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new ve("Network Error",ve.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||om;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new ve(_,y.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,t,h)),h=null},Qn.hasStandardBrowserEnv&&(l&&Y.isFunction(l)&&(l=l(t)),l||l!==!1&&Kb(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&Ub.read(t.xsrfCookieName);p&&i.set(t.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in h&&Y.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),Y.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",hm(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",hm(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new ko(null,t,h):p),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const g=Xb(f);if(g&&Qn.protocols.indexOf(g)===-1){r(new ve("Unsupported protocol "+g+":",ve.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};Y.forEach(cu,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const fm=t=>`- ${t}`,Qb=t=>Y.isFunction(t)||t===null||t===!1,mm={getAdapter:t=>{t=Y.isArray(t)?t:[t];const{length:e}=t;let n,r;const s={};for(let i=0;i<e;i++){n=t[i];let a;if(r=n,!Qb(n)&&(r=cu[(a=String(n)).toLowerCase()],r===void 0))throw new ve(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+i]=r}if(!r){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
17
+ */var k0,jr,pi,Wd,Ms,C0,jd,yw=function(){return typeof window<"u"},hr={},Ss=180/Math.PI,gi=Math.PI/180,_i=Math.atan2,x0=1e8,Zd=/([A-Z])/g,ww=/(left|right|width|margin|padding|x)/i,bw=/[\s,\(]\S/,Kn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ud=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},kw=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Cw=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},xw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},M0=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},S0=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},Mw=function(e,n,r){return e.style[n]=r},Sw=function(e,n,r){return e.style.setProperty(n,r)},vw=function(e,n,r){return e._gsap[n]=r},Tw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Dw=function(e,n,r,s,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Ow=function(e,n,r,s,i){var a=e._gsap;a[n]=r,a.renderTransform(i,a)},nt="transform",Wt=nt+"Origin",Ew=function t(e,n){var r=this,s=this.target,i=s.style,a=s._gsap;if(e in hr&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Kn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return r.tfm[l]=fr(s,l)}):this.tfm[e]=a.x?a[e]:fr(s,e),e===Wt&&(this.tfm.zOrigin=a.zOrigin);else return Kn.transform.split(",").forEach(function(l){return t.call(r,l,n)});if(this.props.indexOf(nt)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(Wt,n,"")),e=nt}(i||n)&&this.props.push(e,n,i[e])},v0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},$w=function(){var e=this.props,n=this.target,r=n.style,s=n._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?n[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Zd,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),i=jd(),(!i||!i.isStart)&&!r[nt]&&(v0(r),s.zOrigin&&r[Wt]&&(r[Wt]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},T0=function(e,n){var r={target:e,props:[],revert:$w,save:Ew};return e._gsap||Yt.core.getCache(e),n&&n.split(",").forEach(function(s){return r.save(s)}),r},D0,qd=function(e,n){var r=jr.createElementNS?jr.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):jr.createElement(e);return r&&r.style?r:jr.createElement(e)},Xn=function t(e,n,r){var s=getComputedStyle(e);return s[n]||s.getPropertyValue(n.replace(Zd,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&t(e,yi(n)||n,1)||""},O0="O,Moz,ms,Ms,Webkit".split(","),yi=function(e,n,r){var s=n||Ms,i=s.style,a=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(O0[a]+e in i););return a<0?null:(a===3?"ms":a>=0?O0[a]:"")+e},Gd=function(){yw()&&window.document&&(k0=window,jr=k0.document,pi=jr.documentElement,Ms=qd("div")||{style:{}},qd("div"),nt=yi(nt),Wt=nt+"Origin",Ms.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",D0=!!yi("perspective"),jd=Yt.core.reverting,Wd=1)},Kd=function t(e){var n=qd("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,i=this.style.cssText,a;if(pi.appendChild(n),n.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(a=this._gsapBBox());return r&&(s?r.insertBefore(this,s):r.appendChild(this)),pi.removeChild(n),this.style.cssText=i,a},E0=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},$0=function(e){var n;try{n=e.getBBox()}catch{n=Kd.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Kd||(n=Kd.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+E0(e,["x","cx","x1"])||0,y:+E0(e,["y","cy","y1"])||0,width:0,height:0}:n},P0=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&$0(e))},vs=function(e,n){if(n){var r=e.style,s;n in hr&&n!==Wt&&(n=nt),r.removeProperty?(s=n.substr(0,2),(s==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(s==="--"?n:n.replace(Zd,"-$1").toLowerCase())):r.removeAttribute(n)}},Zr=function(e,n,r,s,i,a){var l=new zt(e._pt,n,r,0,1,a?S0:M0);return e._pt=l,l.b=s,l.e=i,e._props.push(r),l},L0={deg:1,rad:1,turn:1},Pw={grid:1,flex:1},Ur=function t(e,n,r,s){var i=parseFloat(r)||0,a=(r+"").trim().substr((i+"").length)||"px",l=Ms.style,c=ww.test(n),d=e.tagName.toLowerCase()==="svg",u=(d?"client":"offset")+(c?"Width":"Height"),h=100,f=s==="px",m=s==="%",g,p,_,y;if(s===a||!i||L0[s]||L0[a])return i;if(a!=="px"&&!f&&(i=t(e,n,r,"px")),y=e.getCTM&&P0(e),(m||a==="%")&&(hr[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],pt(m?i/g*h:i/100*g);if(l[c?"width":"height"]=h+(f?a:s),p=~n.indexOf("adius")||s==="em"&&e.appendChild&&!d?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===jr||!p.appendChild)&&(p=jr.body),_=p._gsap,_&&m&&_.width&&c&&_.time===tn.time&&!_.uncache)return pt(i/_.width*h);if(m&&(n==="height"||n==="width")){var C=e.style[n];e.style[n]=h+s,g=e[u],C?e.style[n]=C:vs(e,n)}else(m||a==="%")&&!Pw[Xn(p,"display")]&&(l.position=Xn(e,"position")),p===e&&(l.position="static"),p.appendChild(Ms),g=Ms[u],p.removeChild(Ms),l.position="absolute";return c&&m&&(_=ys(p),_.time=tn.time,_.width=p[u]),pt(f?g*i/h:g&&i?h/g*i:0)},fr=function(e,n,r,s){var i;return Wd||Gd(),n in Kn&&n!=="transform"&&(n=Kn[n],~n.indexOf(",")&&(n=n.split(",")[0])),hr[n]&&n!=="transform"?(i=go(e,s),i=n!=="transformOrigin"?i[n]:i.svg?i.origin:za(Xn(e,Wt))+" "+i.zOrigin+"px"):(i=e.style[n],(!i||i==="auto"||s||~(i+"").indexOf("calc("))&&(i=Ha[n]&&Ha[n](e,n,r)||Xn(e,n)||Af(e,n)||(n==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Ur(e,n,i,r)+r:i},Lw=function(e,n,r,s){if(!r||r==="none"){var i=yi(n,e,1),a=i&&Xn(e,i,1);a&&a!==r?(n=i,r=a):n==="borderColor"&&(r=Xn(e,"borderTopColor"))}var l=new zt(this._pt,e.style,n,0,1,_0),c=0,d=0,u,h,f,m,g,p,_,y,C,k,v,M;if(l.b=r,l.e=s,r+="",s+="",s==="auto"&&(p=e.style[n],e.style[n]=s,s=Xn(e,n)||s,p?e.style[n]=p:vs(e,n)),u=[r,s],a0(u),r=u[0],s=u[1],f=r.match(ci)||[],M=s.match(ci)||[],M.length){for(;h=ci.exec(s);)_=h[0],C=s.substring(c,h.index),g?g=(g+1)%5:(C.substr(-5)==="rgba("||C.substr(-5)==="hsla(")&&(g=1),_!==(p=f[d++]||"")&&(m=parseFloat(p)||0,v=p.substr((m+"").length),_.charAt(1)==="="&&(_=di(m,_)+v),y=parseFloat(_),k=_.substr((y+"").length),c=ci.lastIndex-k.length,k||(k=k||Xt.units[n]||v,c===s.length&&(s+=k,l.e+=k)),v!==k&&(m=Ur(e,n,p,k)||0),l._pt={_next:l._pt,p:C||d===1?C:",",s:m,c:y-m,m:g&&g<4||n==="zIndex"?Math.round:0});l.c=c<s.length?s.substring(c,s.length):""}else l.r=n==="display"&&s==="none"?S0:M0;return Ef.test(s)&&(l.e=0),this._pt=l,l},V0={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Vw=function(e){var n=e.split(" "),r=n[0],s=n[1]||"50%";return(r==="top"||r==="bottom"||s==="left"||s==="right")&&(e=r,r=s,s=e),n[0]=V0[r]||r,n[1]=V0[s]||s,n.join(" ")},Nw=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,s=r.style,i=n.u,a=r._gsap,l,c,d;if(i==="all"||i===!0)s.cssText="",c=1;else for(i=i.split(","),d=i.length;--d>-1;)l=i[d],hr[l]&&(c=1,l=l==="transformOrigin"?Wt:nt),vs(r,l);c&&(vs(r,nt),a&&(a.svg&&r.removeAttribute("transform"),go(r,1),a.uncache=1,v0(s)))}},Ha={clearProps:function(e,n,r,s,i){if(i.data!=="isFromStart"){var a=e._pt=new zt(e._pt,n,r,0,0,Nw);return a.u=s,a.pr=-10,a.tween=i,e._props.push(r),1}}},po=[1,0,0,1,0,0],N0={},B0=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},A0=function(e){var n=Xn(e,nt);return B0(n)?po:n.substr(7).match(Of).map(pt)},Xd=function(e,n){var r=e._gsap||ys(e),s=e.style,i=A0(e),a,l,c,d;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?po:i):(i===po&&!e.offsetParent&&e!==pi&&!r.svg&&(c=s.display,s.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(d=1,l=e.nextElementSibling,pi.appendChild(e)),i=A0(e),c?s.display=c:vs(e,"display"),d&&(l?a.insertBefore(e,l):a?a.appendChild(e):pi.removeChild(e))),n&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Jd=function(e,n,r,s,i,a){var l=e._gsap,c=i||Xd(e,!0),d=l.xOrigin||0,u=l.yOrigin||0,h=l.xOffset||0,f=l.yOffset||0,m=c[0],g=c[1],p=c[2],_=c[3],y=c[4],C=c[5],k=n.split(" "),v=parseFloat(k[0])||0,M=parseFloat(k[1])||0,T,S,O,E;r?c!==po&&(S=m*_-g*p)&&(O=v*(_/S)+M*(-p/S)+(p*C-_*y)/S,E=v*(-g/S)+M*(m/S)-(m*C-g*y)/S,v=O,M=E):(T=$0(e),v=T.x+(~k[0].indexOf("%")?v/100*T.width:v),M=T.y+(~(k[1]||k[0]).indexOf("%")?M/100*T.height:M)),s||s!==!1&&l.smooth?(y=v-d,C=M-u,l.xOffset=h+(y*m+C*p)-y,l.yOffset=f+(y*g+C*_)-C):l.xOffset=l.yOffset=0,l.xOrigin=v,l.yOrigin=M,l.smooth=!!s,l.origin=n,l.originIsAbsolute=!!r,e.style[Wt]="0px 0px",a&&(Zr(a,l,"xOrigin",d,v),Zr(a,l,"yOrigin",u,M),Zr(a,l,"xOffset",h,l.xOffset),Zr(a,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",v+" "+M)},go=function(e,n){var r=e._gsap||new u0(e);if("x"in r&&!n&&!r.uncache)return r;var s=e.style,i=r.scaleX<0,a="px",l="deg",c=getComputedStyle(e),d=Xn(e,Wt)||"0",u,h,f,m,g,p,_,y,C,k,v,M,T,S,O,E,I,j,$,R,G,D,x,V,Z,ee,U,P,N,b,w,B;return u=h=f=p=_=y=C=k=v=0,m=g=1,r.svg=!!(e.getCTM&&P0(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(s[nt]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[nt]!=="none"?c[nt]:"")),s.scale=s.rotate=s.translate="none"),S=Xd(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),d=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",V=""):V=!n&&e.getAttribute("data-svg-origin"),Jd(e,V||d,!!V||r.originIsAbsolute,r.smooth!==!1,S)),M=r.xOrigin||0,T=r.yOrigin||0,S!==po&&(j=S[0],$=S[1],R=S[2],G=S[3],u=D=S[4],h=x=S[5],S.length===6?(m=Math.sqrt(j*j+$*$),g=Math.sqrt(G*G+R*R),p=j||$?_i($,j)*Ss:0,C=R||G?_i(R,G)*Ss+p:0,C&&(g*=Math.abs(Math.cos(C*gi))),r.svg&&(u-=M-(M*j+T*R),h-=T-(M*$+T*G))):(B=S[6],b=S[7],U=S[8],P=S[9],N=S[10],w=S[11],u=S[12],h=S[13],f=S[14],O=_i(B,N),_=O*Ss,O&&(E=Math.cos(-O),I=Math.sin(-O),V=D*E+U*I,Z=x*E+P*I,ee=B*E+N*I,U=D*-I+U*E,P=x*-I+P*E,N=B*-I+N*E,w=b*-I+w*E,D=V,x=Z,B=ee),O=_i(-R,N),y=O*Ss,O&&(E=Math.cos(-O),I=Math.sin(-O),V=j*E-U*I,Z=$*E-P*I,ee=R*E-N*I,w=G*I+w*E,j=V,$=Z,R=ee),O=_i($,j),p=O*Ss,O&&(E=Math.cos(O),I=Math.sin(O),V=j*E+$*I,Z=D*E+x*I,$=$*E-j*I,x=x*E-D*I,j=V,D=Z),_&&Math.abs(_)+Math.abs(p)>359.9&&(_=p=0,y=180-y),m=pt(Math.sqrt(j*j+$*$+R*R)),g=pt(Math.sqrt(x*x+B*B)),O=_i(D,x),C=Math.abs(O)>2e-4?O*Ss:0,v=w?1/(w<0?-w:w):0),r.svg&&(V=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!B0(Xn(e,nt)),V&&e.setAttribute("transform",V))),Math.abs(C)>90&&Math.abs(C)<270&&(i?(m*=-1,C+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,C+=C<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=f+a,r.scaleX=pt(m),r.scaleY=pt(g),r.rotation=pt(p)+l,r.rotationX=pt(_)+l,r.rotationY=pt(y)+l,r.skewX=C+l,r.skewY=k+l,r.transformPerspective=v+a,(r.zOrigin=parseFloat(d.split(" ")[2])||!n&&r.zOrigin||0)&&(s[Wt]=za(d)),r.xOffset=r.yOffset=0,r.force3D=Xt.force3D,r.renderTransform=r.svg?Aw:D0?F0:Bw,r.uncache=0,r},za=function(e){return(e=e.split(" "))[0]+" "+e[1]},Qd=function(e,n,r){var s=Vt(n);return pt(parseFloat(n)+parseFloat(Ur(e,"x",r+"px",s)))+s},Bw=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,F0(e,n)},Ts="0deg",_o="0px",Ds=") ",F0=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.z,d=r.rotation,u=r.rotationY,h=r.rotationX,f=r.skewX,m=r.skewY,g=r.scaleX,p=r.scaleY,_=r.transformPerspective,y=r.force3D,C=r.target,k=r.zOrigin,v="",M=y==="auto"&&e&&e!==1||y===!0;if(k&&(h!==Ts||u!==Ts)){var T=parseFloat(u)*gi,S=Math.sin(T),O=Math.cos(T),E;T=parseFloat(h)*gi,E=Math.cos(T),a=Qd(C,a,S*E*-k),l=Qd(C,l,-Math.sin(T)*-k),c=Qd(C,c,O*E*-k+k)}_!==_o&&(v+="perspective("+_+Ds),(s||i)&&(v+="translate("+s+"%, "+i+"%) "),(M||a!==_o||l!==_o||c!==_o)&&(v+=c!==_o||M?"translate3d("+a+", "+l+", "+c+") ":"translate("+a+", "+l+Ds),d!==Ts&&(v+="rotate("+d+Ds),u!==Ts&&(v+="rotateY("+u+Ds),h!==Ts&&(v+="rotateX("+h+Ds),(f!==Ts||m!==Ts)&&(v+="skew("+f+", "+m+Ds),(g!==1||p!==1)&&(v+="scale("+g+", "+p+Ds),C.style[nt]=v||"translate(0, 0)"},Aw=function(e,n){var r=n||this,s=r.xPercent,i=r.yPercent,a=r.x,l=r.y,c=r.rotation,d=r.skewX,u=r.skewY,h=r.scaleX,f=r.scaleY,m=r.target,g=r.xOrigin,p=r.yOrigin,_=r.xOffset,y=r.yOffset,C=r.forceCSS,k=parseFloat(a),v=parseFloat(l),M,T,S,O,E;c=parseFloat(c),d=parseFloat(d),u=parseFloat(u),u&&(u=parseFloat(u),d+=u,c+=u),c||d?(c*=gi,d*=gi,M=Math.cos(c)*h,T=Math.sin(c)*h,S=Math.sin(c-d)*-f,O=Math.cos(c-d)*f,d&&(u*=gi,E=Math.tan(d-u),E=Math.sqrt(1+E*E),S*=E,O*=E,u&&(E=Math.tan(u),E=Math.sqrt(1+E*E),M*=E,T*=E)),M=pt(M),T=pt(T),S=pt(S),O=pt(O)):(M=h,O=f,T=S=0),(k&&!~(a+"").indexOf("px")||v&&!~(l+"").indexOf("px"))&&(k=Ur(m,"x",a,"px"),v=Ur(m,"y",l,"px")),(g||p||_||y)&&(k=pt(k+g-(g*M+p*S)+_),v=pt(v+p-(g*T+p*O)+y)),(s||i)&&(E=m.getBBox(),k=pt(k+s/100*E.width),v=pt(v+i/100*E.height)),E="matrix("+M+","+T+","+S+","+O+","+k+","+v+")",m.setAttribute("transform",E),C&&(m.style[nt]=E)},Fw=function(e,n,r,s,i){var a=360,l=vt(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Ss:1),d=c-s,u=s+d+"deg",h,f;return l&&(h=i.split("_")[1],h==="short"&&(d%=a,d!==d%(a/2)&&(d+=d<0?a:-a)),h==="cw"&&d<0?d=(d+a*x0)%a-~~(d/a)*a:h==="ccw"&&d>0&&(d=(d-a*x0)%a-~~(d/a)*a)),e._pt=f=new zt(e._pt,n,r,s,d,kw),f.e=u,f.u="deg",e._props.push(r),f},R0=function(e,n){for(var r in n)e[r]=n[r];return e},Rw=function(e,n,r){var s=R0({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",a=r.style,l,c,d,u,h,f,m,g;s.svg?(d=r.getAttribute("transform"),r.setAttribute("transform",""),a[nt]=n,l=go(r,1),vs(r,nt),r.setAttribute("transform",d)):(d=getComputedStyle(r)[nt],a[nt]=n,l=go(r,1),a[nt]=d);for(c in hr)d=s[c],u=l[c],d!==u&&i.indexOf(c)<0&&(m=Vt(d),g=Vt(u),h=m!==g?Ur(r,c,d,g):parseFloat(d),f=parseFloat(u),e._pt=new zt(e._pt,l,c,h,f-h,Ud),e._pt.u=g||0,e._props.push(c));R0(l,s)};Ht("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",s="Bottom",i="Left",a=(e<3?[n,r,s,i]:[n+i,n+r,s+r,s+i]).map(function(l){return e<2?t+l:"border"+l+t});Ha[e>1?"border"+t:t]=function(l,c,d,u,h){var f,m;if(arguments.length<4)return f=a.map(function(g){return fr(l,g,d)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},a.forEach(function(g,p){return m[g]=f[p]=f[p]||f[(p-1)/2|0]}),l.init(c,m,h)}});var I0={name:"css",register:Gd,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,s,i){var a=this._props,l=e.style,c=r.vars.startAt,d,u,h,f,m,g,p,_,y,C,k,v,M,T,S,O;Wd||Gd(),this.styles=this.styles||T0(e),O=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(Qt[p]&&h0(p,n,r,s,e,i)))){if(m=typeof u,g=Ha[p],m==="function"&&(u=u.call(r,s,e,i),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=lo(u)),g)g(this,e,p,u,r)&&(S=1);else if(p.substr(0,2)==="--")d=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Yr.lastIndex=0,Yr.test(d)||(_=Vt(d),y=Vt(u)),y?_!==y&&(d=Ur(e,p,d,y)+y):_&&(u+=_),this.add(l,"setProperty",d,u,s,i,0,0,p),a.push(p),O.push(p,0,l[p]);else if(m!=="undefined"){if(c&&p in c?(d=typeof c[p]=="function"?c[p].call(r,s,e,i):c[p],vt(d)&&~d.indexOf("random(")&&(d=lo(d)),Vt(d+"")||d==="auto"||(d+=Xt.units[p]||Vt(fr(e,p))||""),(d+"").charAt(1)==="="&&(d=fr(e,p))):d=fr(e,p),f=parseFloat(d),C=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),C&&(u=u.substr(2)),h=parseFloat(u),p in Kn&&(p==="autoAlpha"&&(f===1&&fr(e,"visibility")==="hidden"&&h&&(f=0),O.push("visibility",0,l.visibility),Zr(this,l,"visibility",f?"inherit":"hidden",h?"inherit":"hidden",!h)),p!=="scale"&&p!=="transform"&&(p=Kn[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in hr,k){if(this.styles.save(p),v||(M=e._gsap,M.renderTransform&&!n.parseTransform||go(e,n.parseTransform),T=n.smoothOrigin!==!1&&M.smooth,v=this._pt=new zt(this._pt,l,nt,0,1,M.renderTransform,M,0,-1),v.dep=1),p==="scale")this._pt=new zt(this._pt,M,"scaleY",M.scaleY,(C?di(M.scaleY,C+h):h)-M.scaleY||0,Ud),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){O.push(Wt,0,l[Wt]),u=Vw(u),M.svg?Jd(e,u,0,T,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==M.zOrigin&&Zr(this,M,"zOrigin",M.zOrigin,y),Zr(this,l,p,za(d),za(u)));continue}else if(p==="svgOrigin"){Jd(e,u,1,T,0,this);continue}else if(p in N0){Fw(this,M,p,f,C?di(f,C+u):u);continue}else if(p==="smoothOrigin"){Zr(this,M,"smooth",M.smooth,u);continue}else if(p==="force3D"){M[p]=u;continue}else if(p==="transform"){Rw(this,u,e);continue}}else p in l||(p=yi(p)||p);if(k||(h||h===0)&&(f||f===0)&&!bw.test(u)&&p in l)_=(d+"").substr((f+"").length),h||(h=0),y=Vt(u)||(p in Xt.units?Xt.units[p]:_),_!==y&&(f=Ur(e,p,d,y)),this._pt=new zt(this._pt,k?M:l,p,f,(C?di(f,C+h):h)-f,!k&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?xw:Ud),this._pt.u=y||0,_!==y&&y!=="%"&&(this._pt.b=d,this._pt.r=Cw);else if(p in l)Lw.call(this,e,p,d,C?C+u:u);else if(p in e)this.add(e,p,d||e[p],C?C+u:u,s,i);else if(p!=="parseTransform"){bd(p,u);continue}k||(p in l?O.push(p,0,l[p]):O.push(p,1,d||e[p])),a.push(p)}}S&&y0(this)},render:function(e,n){if(n.tween._time||!jd())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:fr,aliases:Kn,getSetter:function(e,n,r){var s=Kn[n];return s&&s.indexOf(",")<0&&(n=s),n in hr&&n!==Wt&&(e._gsap.x||fr(e,"x"))?r&&C0===r?n==="scale"?Tw:vw:(C0=r||{})&&(n==="scale"?Dw:Ow):e.style&&!md(e.style[n])?Mw:~n.indexOf("-")?Sw:Fd(e,n)},core:{_removeProperty:vs,_getMatrix:Xd}};Yt.utils.checkPrefix=yi,Yt.core.getStyleSaver=T0,function(t,e,n,r){var s=Ht(t+","+e+","+n,function(i){hr[i]=1});Ht(e,function(i){Xt.units[i]="deg",N0[i]=1}),Kn[s[13]]=t+","+e,Ht(r,function(i){var a=i.split(":");Kn[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),Ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Xt.units[t]="px"}),Yt.registerPlugin(I0);var qr=Yt.registerPlugin(I0)||Yt;qr.core.Tween;const Iw={__name:"Confetti",setup(t){function e(r){let s=100,i=r.offsetWidth,a=r.offsetHeight;for(let u=0;u<s;u++){let h=document.createElement("div");h.classList.add("dot"),r.append(h),qr.set(h,{x:c(i),y:d(-100,100),opacity:1,scale:c(.5)+.5,backgroundColor:"hsl("+d(170,360)+",50%,50%)"}),l(h)}function l(u){qr.set(r,{display:"block"}),qr.to(r,{autoAlpha:1,duration:2,delay:1}),qr.to(u,c(5)+4,{y:a,ease:_w.easeNone,repeat:-1,delay:-5}),qr.to(u,c(5)+1,{x:"+=70",repeat:-1,yoyo:!0,ease:Yd.easeInOut}),qr.to(u,c(5)+1,{scaleX:.2,rotation:c(360),repeat:-1,yoyo:!0,ease:Yd.easeInOut}),qr.to(u,c(1)+.5,{opacity:0,repeat:-1,yoyo:!0,ease:Yd.easeInOut})}function c(u){return Math.random()*u}function d(u,h){return u+Math.floor(Math.random()*(h-u))}}const n=o.ref(null);return o.onMounted(()=>{n.value&&e(n.value)}),(r,s)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"confetti",ref:n,class:"confetti"},null,512))}},Hw={class:"toast__content"},zw={class:"toast__content-wrapper"},Yw=["innerHTML"],H0=Oe(o.defineComponent({__name:"Toast",props:{type:{type:String,default:"success"},textOnClose:{type:String},message:{type:String,default:""},title:{type:String,default:""},action:{type:Object,default:void 0},duration:{type:Number}},setup(t){const e=t,n=o.ref(null),r=()=>{var a,l,c,d;(a=e.action)!=null&&a.label?(l=e.action)==null||l.callback():(d=(c=n.value)==null?void 0:c.parentElement)==null||d.remove()},s=o.computed(()=>{if(e.type==="success")return"check-circle-fill";if(e.type==="error")return"circle-close";if(e.type==="info")return"warning"}),i=o.computed(()=>e.type==="success"?"-success":e.type==="info"?"-info":"-error");return(a,l)=>(o.openBlock(),o.createBlock(o.Transition,null,{default:o.withCtx(()=>{var c;return[o.createElementVNode("div",{ref_key:"toast",ref:n,class:"toast"},[o.createElementVNode("div",Hw,[o.createElementVNode("div",{class:o.normalizeClass(["toast__icon-wrapper",i.value])},[o.createVNode(Le,{icon:s.value},null,8,["icon"])],2),o.createElementVNode("div",zw,[o.withDirectives(o.createElementVNode("div",{class:"toast__title"},o.toDisplayString(t.title),513),[[o.vShow,t.title.length]]),o.withDirectives(o.createElementVNode("div",{innerHTML:t.message,class:"toast__text"},null,8,Yw),[[o.vShow,t.message.length]])])]),o.createElementVNode("div",{class:"toast__dismiss",onClick:r},o.toDisplayString((c=t.action)!=null&&c.label?t.action.label:t.textOnClose),1)],512)]}),_:1}))}}),[["__scopeId","data-v-1c60e1ce"]]),Ww={key:0,class:"scope-textarea__label"},jw={key:1,class:"scope-textarea__prompt"},Zw=["disabled","placeholder","veeBind","maxlength"],Uw={key:2,class:"scope-textarea__error"},qw=Oe({__name:"Textarea",props:o.mergeModels({maxLength:{type:Number,default:524288},placeholder:String,veeBind:Object,invalid:Boolean,fullWidth:Boolean,errorMessage:String,label:String,disabled:Boolean,width:String,prompt:String},{modelValue:{},modelModifiers:{}}),emits:o.mergeModels(["input","enter"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue"),s=t,i=o.computed(()=>s.width||s.height?{width:s.width,height:s.height}:null);return(a,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["scope-textarea",{"-full-width":t.fullWidth}])},[t.label?(o.openBlock(),o.createElementBlock("div",Ww,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",jw,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.withDirectives(o.createElementVNode("textarea",{disabled:t.disabled,class:o.normalizeClass([{"-invalid":t.invalid}]),"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),style:o.normalizeStyle(i.value),placeholder:t.placeholder,onInput:l[1]||(l[1]=c=>n("input")),veeBind:t.veeBind,onKeyup:l[2]||(l[2]=o.withKeys(c=>n("enter"),["enter"])),maxlength:t.maxLength},null,46,Zw),[[o.vModelText,r.value]]),t.invalid?(o.openBlock(),o.createElementBlock("div",Uw,o.toDisplayString(t.errorMessage),1)):o.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-f065d142"]]);function z0(t,e){return function(){return t.apply(e,arguments)}}const{toString:Gw}=Object.prototype,{getPrototypeOf:eu}=Object,Ya=(t=>e=>{const n=Gw.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Jn=t=>(t=t.toLowerCase(),e=>Ya(e)===t),Wa=t=>e=>typeof e===t,{isArray:wi}=Array,yo=Wa("undefined");function Kw(t){return t!==null&&!yo(t)&&t.constructor!==null&&!yo(t.constructor)&&mn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Y0=Jn("ArrayBuffer");function Xw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Y0(t.buffer),e}const Jw=Wa("string"),mn=Wa("function"),W0=Wa("number"),ja=t=>t!==null&&typeof t=="object",Qw=t=>t===!0||t===!1,Za=t=>{if(Ya(t)!=="object")return!1;const e=eu(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},eb=Jn("Date"),tb=Jn("File"),nb=Jn("Blob"),rb=Jn("FileList"),sb=t=>ja(t)&&mn(t.pipe),ib=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||mn(t.append)&&((e=Ya(t))==="formdata"||e==="object"&&mn(t.toString)&&t.toString()==="[object FormData]"))},ob=Jn("URLSearchParams"),ab=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,s;if(typeof t!="object"&&(t=[t]),wi(t))for(r=0,s=t.length;r<s;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let l;for(r=0;r<a;r++)l=i[r],e.call(null,t[l],l,t)}}function j0(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,s;for(;r-- >0;)if(s=n[r],e===s.toLowerCase())return s;return null}const Z0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,U0=t=>!yo(t)&&t!==Z0;function tu(){const{caseless:t}=U0(this)&&this||{},e={},n=(r,s)=>{const i=t&&j0(e,s)||s;Za(e[i])&&Za(r)?e[i]=tu(e[i],r):Za(r)?e[i]=tu({},r):wi(r)?e[i]=r.slice():e[i]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&wo(arguments[r],n);return e}const lb=(t,e,n,{allOwnKeys:r}={})=>(wo(e,(s,i)=>{n&&mn(s)?t[i]=z0(s,n):t[i]=s},{allOwnKeys:r}),t),cb=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),db=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},ub=(t,e,n,r)=>{let s,i,a;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),i=s.length;i-- >0;)a=s[i],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&eu(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},hb=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},fb=t=>{if(!t)return null;if(wi(t))return t;let e=t.length;if(!W0(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},mb=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&eu(Uint8Array)),pb=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=r.next())&&!s.done;){const i=s.value;e.call(t,i[0],i[1])}},gb=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},_b=Jn("HTMLFormElement"),yb=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),q0=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),wb=Jn("RegExp"),G0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};wo(n,(s,i)=>{let a;(a=e(s,i,t))!==!1&&(r[i]=a||s)}),Object.defineProperties(t,r)},bb=t=>{G0(t,(e,n)=>{if(mn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(mn(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},kb=(t,e)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return wi(t)?r(t):r(String(t).split(e)),n},Cb=()=>{},xb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),nu="abcdefghijklmnopqrstuvwxyz",K0="0123456789",X0={DIGIT:K0,ALPHA:nu,ALPHA_DIGIT:nu+nu.toUpperCase()+K0},Mb=(t=16,e=X0.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Sb(t){return!!(t&&mn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const vb=t=>{const e=new Array(10),n=(r,s)=>{if(ja(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[s]=r;const i=wi(r)?[]:{};return wo(r,(a,l)=>{const c=n(a,s+1);!yo(c)&&(i[l]=c)}),e[s]=void 0,i}}return r};return n(t,0)},Tb=Jn("AsyncFunction"),Y={isArray:wi,isArrayBuffer:Y0,isBuffer:Kw,isFormData:ib,isArrayBufferView:Xw,isString:Jw,isNumber:W0,isBoolean:Qw,isObject:ja,isPlainObject:Za,isUndefined:yo,isDate:eb,isFile:tb,isBlob:nb,isRegExp:wb,isFunction:mn,isStream:sb,isURLSearchParams:ob,isTypedArray:mb,isFileList:rb,forEach:wo,merge:tu,extend:lb,trim:ab,stripBOM:cb,inherits:db,toFlatObject:ub,kindOf:Ya,kindOfTest:Jn,endsWith:hb,toArray:fb,forEachEntry:pb,matchAll:gb,isHTMLForm:_b,hasOwnProperty:q0,hasOwnProp:q0,reduceDescriptors:G0,freezeMethods:bb,toObjectSet:kb,toCamelCase:yb,noop:Cb,toFiniteNumber:xb,findKey:j0,global:Z0,isContextDefined:U0,ALPHABET:X0,generateString:Mb,isSpecCompliantForm:Sb,toJSONObject:vb,isAsyncFn:Tb,isThenable:t=>t&&(ja(t)||mn(t))&&mn(t.then)&&mn(t.catch)};function ve(t,e,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Y.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const J0=ve.prototype,Q0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Q0[t]={value:t}}),Object.defineProperties(ve,Q0),Object.defineProperty(J0,"isAxiosError",{value:!0}),ve.from=(t,e,n,r,s,i)=>{const a=Object.create(J0);return Y.toFlatObject(t,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),ve.call(a,t.message,e,n,r,s),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const Db=null;function ru(t){return Y.isPlainObject(t)||Y.isArray(t)}function em(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function tm(t,e,n){return t?t.concat(e).map(function(s,i){return s=em(s),!n&&i?"["+s+"]":s}).join(n?".":""):e}function Ob(t){return Y.isArray(t)&&!t.some(ru)}const Eb=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Ua(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!Y.isUndefined(_[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(s))throw new TypeError("visitor must be a function");function d(g){if(g===null)return"";if(Y.isDate(g))return g.toISOString();if(!c&&Y.isBlob(g))throw new ve("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(g)||Y.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,_){let y=g;if(g&&!_&&typeof g=="object"){if(Y.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(Y.isArray(g)&&Ob(g)||(Y.isFileList(g)||Y.endsWith(p,"[]"))&&(y=Y.toArray(g)))return p=em(p),y.forEach(function(k,v){!(Y.isUndefined(k)||k===null)&&e.append(a===!0?tm([p],v,i):a===null?p:p+"[]",d(k))}),!1}return ru(g)?!0:(e.append(tm(_,p,i),d(g)),!1)}const h=[],f=Object.assign(Eb,{defaultVisitor:u,convertValue:d,isVisitable:ru});function m(g,p){if(!Y.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(g),Y.forEach(g,function(y,C){(!(Y.isUndefined(y)||y===null)&&s.call(e,y,Y.isString(C)?C.trim():C,p,f))===!0&&m(y,p?p.concat(C):[C])}),h.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return m(t),e}function nm(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function su(t,e){this._pairs=[],t&&Ua(t,this,e)}const rm=su.prototype;rm.append=function(e,n){this._pairs.push([e,n])},rm.toString=function(e){const n=e?function(r){return e.call(this,r,nm)}:nm;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function $b(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sm(t,e,n){if(!e)return t;const r=n&&n.encode||$b,s=n&&n.serialize;let i;if(s?i=s(e,n):i=Y.isURLSearchParams(e)?e.toString():new su(e,n).toString(r),i){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class im{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Y.forEach(this.handlers,function(r){r!==null&&e(r)})}}const om={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Pb={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:su,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},am=typeof window<"u"&&typeof document<"u",Lb=(t=>am&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Vb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qn={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:am,hasStandardBrowserEnv:Lb,hasStandardBrowserWebWorkerEnv:Vb},Symbol.toStringTag,{value:"Module"})),...Pb};function Nb(t,e){return Ua(t,new Qn.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return Qn.isNode&&Y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Bb(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ab(t){const e={},n=Object.keys(t);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],e[i]=t[i];return e}function lm(t){function e(n,r,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&Y.isArray(s)?s.length:a,c?(Y.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!Y.isObject(s[a]))&&(s[a]=[]),e(n,r,s[a],i)&&Y.isArray(s[a])&&(s[a]=Ab(s[a])),!l)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(r,s)=>{e(Bb(r),s,n,0)}),n}return null}function Fb(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const iu={transitional:om,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=Y.isObject(e);if(i&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return s?JSON.stringify(lm(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Nb(e,this.formSerializer).toString();if((l=Y.isFileList(e))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ua(l?{"files[]":e}:e,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Fb(e)):e}],transformResponse:[function(e){const n=this.transitional||iu.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&Y.isString(e)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?ve.from(l,ve.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qn.classes.FormData,Blob:Qn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{iu.headers[t]={}});const ou=iu,Rb=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ib=t=>{const e={};let n,r,s;return t&&t.split(`
18
+ `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||e[n]&&Rb[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},cm=Symbol("internals");function bo(t){return t&&String(t).trim().toLowerCase()}function qa(t){return t===!1||t==null?t:Y.isArray(t)?t.map(qa):String(t)}function Hb(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const zb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function au(t,e,n,r,s){if(Y.isFunction(r))return r.call(this,e,n);if(s&&(e=n),!!Y.isString(e)){if(Y.isString(r))return e.indexOf(r)!==-1;if(Y.isRegExp(r))return r.test(e)}}function Yb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Wb(t,e){const n=Y.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(s,i,a){return this[r].call(this,e,s,i,a)},configurable:!0})})}class Ga{constructor(e){e&&this.set(e)}set(e,n,r){const s=this;function i(l,c,d){const u=bo(c);if(!u)throw new Error("header name must be a non-empty string");const h=Y.findKey(s,u);(!h||s[h]===void 0||d===!0||d===void 0&&s[h]!==!1)&&(s[h||c]=qa(l))}const a=(l,c)=>Y.forEach(l,(d,u)=>i(d,u,c));return Y.isPlainObject(e)||e instanceof this.constructor?a(e,n):Y.isString(e)&&(e=e.trim())&&!zb(e)?a(Ib(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=bo(e),e){const r=Y.findKey(this,e);if(r){const s=this[r];if(!n)return s;if(n===!0)return Hb(s);if(Y.isFunction(n))return n.call(this,s,r);if(Y.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=bo(e),e){const r=Y.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||au(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let s=!1;function i(a){if(a=bo(a),a){const l=Y.findKey(r,a);l&&(!n||au(r,r[l],l,n))&&(delete r[l],s=!0)}}return Y.isArray(e)?e.forEach(i):i(e),s}clear(e){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!e||au(this,this[i],i,e,!0))&&(delete this[i],s=!0)}return s}normalize(e){const n=this,r={};return Y.forEach(this,(s,i)=>{const a=Y.findKey(r,i);if(a){n[a]=qa(s),delete n[i];return}const l=e?Yb(i):String(i).trim();l!==i&&delete n[i],n[l]=qa(s),r[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Y.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=e&&Y.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
19
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(s=>r.set(s)),r}static accessor(e){const r=(this[cm]=this[cm]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=bo(a);r[l]||(Wb(s,a),r[l]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}Ga.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(Ga.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),Y.freezeMethods(Ga);const mr=Ga;function lu(t,e){const n=this||ou,r=e||n,s=mr.from(r.headers);let i=r.data;return Y.forEach(t,function(l){i=l.call(n,i,s.normalize(),e?e.status:void 0)}),s.normalize(),i}function dm(t){return!!(t&&t.__CANCEL__)}function ko(t,e,n){ve.call(this,t??"canceled",ve.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(ko,ve,{__CANCEL__:!0});function jb(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Zb=Qn.hasStandardBrowserEnv?{write(t,e,n,r,s,i){const a=[t+"="+encodeURIComponent(e)];Y.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Y.isString(r)&&a.push("path="+r),Y.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ub(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function qb(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function um(t,e){return t&&!Ub(e)?qb(t,e):e}const Gb=Qn.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let a=i;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(a){const l=Y.isString(a)?s(a):a;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Kb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Xb(t,e){t=t||10;const n=new Array(t),r=new Array(t);let s=0,i=0,a;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=r[i];a||(a=d),n[s]=c,r[s]=d;let h=i,f=0;for(;h!==s;)f+=n[h++],h=h%t;if(s=(s+1)%t,s===i&&(i=(i+1)%t),d-a<e)return;const m=u&&d-u;return m?Math.round(f*1e3/m):void 0}}function hm(t,e){let n=0;const r=Xb(50,250);return s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),d=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&d?(a-i)/c:void 0,event:s};u[e?"download":"upload"]=!0,t(u)}}const cu={http:Db,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let s=t.data;const i=mr.from(t.headers).normalize();let{responseType:a,withXSRFToken:l}=t,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let u;if(Y.isFormData(s)){if(Qn.hasStandardBrowserEnv||Qn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[p,..._]=u?u.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",..._].join("; "))}}let h=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+_))}const f=um(t.baseURL,t.url);h.open(t.method.toUpperCase(),sm(f,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function m(){if(!h)return;const p=mr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:t,request:h};jb(function(k){n(k),d()},function(k){r(k),d()},y),h=null}if("onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(m)},h.onabort=function(){h&&(r(new ve("Request aborted",ve.ECONNABORTED,t,h)),h=null)},h.onerror=function(){r(new ve("Network Error",ve.ERR_NETWORK,t,h)),h=null},h.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||om;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),r(new ve(_,y.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,t,h)),h=null},Qn.hasStandardBrowserEnv&&(l&&Y.isFunction(l)&&(l=l(t)),l||l!==!1&&Gb(f))){const p=t.xsrfHeaderName&&t.xsrfCookieName&&Zb.read(t.xsrfCookieName);p&&i.set(t.xsrfHeaderName,p)}s===void 0&&i.setContentType(null),"setRequestHeader"in h&&Y.forEach(i.toJSON(),function(_,y){h.setRequestHeader(y,_)}),Y.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),a&&a!=="json"&&(h.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&h.addEventListener("progress",hm(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",hm(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=p=>{h&&(r(!p||p.type?new ko(null,t,h):p),h.abort(),h=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const g=Kb(f);if(g&&Qn.protocols.indexOf(g)===-1){r(new ve("Unsupported protocol "+g+":",ve.ERR_BAD_REQUEST,t));return}h.send(s||null)})}};Y.forEach(cu,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const fm=t=>`- ${t}`,Jb=t=>Y.isFunction(t)||t===null||t===!1,mm={getAdapter:t=>{t=Y.isArray(t)?t:[t];const{length:e}=t;let n,r;const s={};for(let i=0;i<e;i++){n=t[i];let a;if(r=n,!Jb(n)&&(r=cu[(a=String(n)).toLowerCase()],r===void 0))throw new ve(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+i]=r}if(!r){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=e?i.length>1?`since :
20
20
  `+i.map(fm).join(`
21
- `):" "+fm(i[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:cu};function du(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ko(null,t)}function pm(t){return du(t),t.headers=mr.from(t.headers),t.data=lu.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mm.getAdapter(t.adapter||ou.adapter)(t).then(function(r){return du(t),r.data=lu.call(t,t.transformResponse,r),r.headers=mr.from(r.headers),r},function(r){return dm(r)||(du(t),r&&r.response&&(r.response.data=lu.call(t,t.transformResponse,r.response),r.response.headers=mr.from(r.response.headers))),Promise.reject(r)})}const gm=t=>t instanceof mr?{...t}:t;function bi(t,e){e=e||{};const n={};function r(d,u,h){return Y.isPlainObject(d)&&Y.isPlainObject(u)?Y.merge.call({caseless:h},d,u):Y.isPlainObject(u)?Y.merge({},u):Y.isArray(u)?u.slice():u}function s(d,u,h){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!Y.isUndefined(u))return r(void 0,u)}function a(d,u){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,h){if(h in e)return r(d,u);if(h in t)return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u)=>s(gm(d),gm(u),!0)};return Y.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);Y.isUndefined(f)&&h!==l||(n[u]=f)}),n}const _m="1.6.8",uu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{uu[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const ym={};uu.transitional=function(e,n,r){function s(i,a){return"[Axios v"+_m+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(e===!1)throw new ve(s(a," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!ym[a]&&(ym[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,l):!0}};function ek(t,e,n){if(typeof t!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const l=t[i],c=l===void 0||a(l,i,t);if(c!==!0)throw new ve("option "+i+" must be "+c,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const hu={assertOptions:ek,validators:uu},Gr=hu.validators;class Ka{constructor(e){this.defaults=e,this.interceptors={request:new im,response:new im}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
22
- `+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=bi(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&hu.assertOptions(r,{silentJSONParsing:Gr.transitional(Gr.boolean),forcedJSONParsing:Gr.transitional(Gr.boolean),clarifyTimeoutError:Gr.transitional(Gr.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:hu.assertOptions(s,{encode:Gr.function,serialize:Gr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Y.merge(i.common,i[n.method]);i&&Y.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=mr.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[pm.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,d),f=g.length,u=Promise.resolve(n);h<f;)u=u.then(g[h++],g[h++]);return u}f=l.length;let m=n;for(h=0;h<f;){const g=l[h++],p=l[h++];try{m=g(m)}catch(_){p.call(this,_);break}}try{u=pm.call(this,m)}catch(g){return Promise.reject(g)}for(h=0,f=d.length;h<f;)u=u.then(d[h++],d[h++]);return u}getUri(e){e=bi(this.defaults,e);const n=um(e.baseURL,e.url);return sm(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){Ka.prototype[e]=function(n,r){return this.request(bi(r||{},{method:e,url:n,data:(r||{}).data}))}}),Y.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,l){return this.request(bi(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ka.prototype[e]=n(),Ka.prototype[e+"Form"]=n(!0)});const Xa=Ka;class fu{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,l){r.reason||(r.reason=new ko(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new fu(function(s){e=s}),cancel:e}}}const tk=fu;function nk(t){return function(n){return t.apply(null,n)}}function rk(t){return Y.isObject(t)&&t.isAxiosError===!0}const mu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mu).forEach(([t,e])=>{mu[e]=t});const sk=mu;function wm(t){const e=new Xa(t),n=z0(Xa.prototype.request,e);return Y.extend(n,Xa.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return wm(bi(t,s))},n}const bt=wm(ou);bt.Axios=Xa,bt.CanceledError=ko,bt.CancelToken=tk,bt.isCancel=dm,bt.VERSION=_m,bt.toFormData=Ua,bt.AxiosError=ve,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=nk,bt.isAxiosError=rk,bt.mergeConfig=bi,bt.AxiosHeaders=mr,bt.formToJSON=t=>lm(Y.isHTMLForm(t)?new FormData(t):t),bt.getAdapter=mm.getAdapter,bt.HttpStatusCode=sk,bt.default=bt;const Co=bt;/*! js-cookie v3.0.5 | MIT */function Ja(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var ik={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function pu(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Ja({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,a[c]!==!0&&(l+="="+a[c].split(";")[0]));return document.cookie=s+"="+t.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],a={},l=0;l<i.length;l++){var c=i[l].split("="),d=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(d,u),s===u)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,i){n(s,"",Ja({},i,{expires:-1}))},withAttributes:function(s){return pu(this.converter,Ja({},this.attributes,s))},withConverter:function(s){return pu(Ja({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ki=pu(ik,{path:"/"});class rt{static setItem(e,n,r=Date.now()+31449600){ki.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return ki.get(e)}static removeItem(e){ki.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(ki.get());for(const n of e)ki.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return ki.get()}}const bm=t=>(o.pushScopeId("data-v-8797178e"),t=t(),o.popScopeId(),t),ok={class:"scope-dropzone__container"},ak={key:0,class:"scope-dropzone__label"},lk={key:1,class:"scope-dropzone__prompt"},ck={class:"scope-dropzone__content"},dk=bm(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),uk=bm(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),hk={key:2,class:"scope-dropzone__files"},fk={class:"scope-dropzone__file"},mk={class:"scope-dropzone__file__img-wrapper"},pk=["src"],gk={class:"scope-dropzone__file__options"},_k={class:"scope-dropzone__file__name"},yk=Oe({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String,prompt:String,isDelete:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=hh(),n=t,r=o.useModel(t,"modelValue"),s=o.ref([]),i=o.ref(null);o.ref(null);const a=o.ref(!1),l=()=>{i.value.click()},c=p=>{if(p.dataTransfer.files.length){i.value.files=p.dataTransfer.files;for(var _=0,y=p.dataTransfer.files.length;_<y;_++)r.value.items.length<5&&g(p.dataTransfer.files[_])}a.value=!1},d=p=>{r.value.length<5?g(p.target.files[0]):e(n.lengthError)},u=(p,_)=>{r.value.splice(_,1),s.value.push(p)},h=()=>{let p=[];s.value.forEach(_=>{let y=Co.delete(`https://media.scope360.io/auth/media/delete/${_.id}`,{headers:{"Content-Type-ID":3,Authorization:rt.getItem("isOAuth")?rt.getItem("access_token"):"Bearer "+rt.getItem("access_token")}});p.push(y)}),Promise.all(p).then(()=>{s.value=[]}).catch(_=>{e(e.response.data.error)})},f=async p=>{const _=new FormData;return _.append("file",p,p.name),await Co.post("https://media.scope360.io/auth/full/upload",_,{headers:{"Content-Type-ID":3,Authorization:rt.getItem("isOAuth")?rt.getItem("access_token"):"Bearer "+rt.getItem("access_token")}})},m=p=>{const _=p.lastIndexOf(".");return p.slice(0,_)+"_compressed"+p.slice(_)+"?compressed=true"},g=async p=>{const{data:_}=await f(p),y=_.path.substring(_.path.lastIndexOf("/")+1);_.path.lastIndexOf("/");const C="https://media.scope360.io/media/"+_.path;r.value.push({id:_.id,name:y,url:C,compressedUrl:m(C),shortcut:_.shortcut})};return o.onBeforeUnmount(()=>{s.value.forEach(p=>{r.value.push(p)})}),o.watch(()=>n.isDelete,p=>{p&&(console.log(p),h())}),(p,_)=>(o.openBlock(),o.createElementBlock("div",ok,[t.label?(o.openBlock(),o.createElementBlock("div",ak,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",lk,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":a.value,"-full-width":t.fullWidth}]),onDragover:_[0]||(_[0]=o.withModifiers(y=>a.value=!0,["prevent"])),onDragend:_[1]||(_[1]=y=>a.value=!1),onDragleave:_[2]||(_[2]=y=>a.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",ck,[o.createVNode(o.unref(Le),{icon:"file-bend"}),dk,uk,o.createVNode(o.unref(ya),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:i,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),r.value.length?(o.openBlock(),o.createElementBlock("div",hk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,(y,C)=>(o.openBlock(),o.createElementBlock("div",fk,[o.createElementVNode("div",mk,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:y.compressedUrl},null,8,pk),o.createElementVNode("div",gk,[o.createVNode(o.unref(Le),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Le),{icon:"trash",class:"scope-dropzone__file__remove",onClick:k=>u(y,C)},null,8,["onClick"])])]),o.createElementVNode("div",_k,o.toDisplayString(y.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-8797178e"]]),km=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),wk={class:"sidebar-popup-container"},bk={class:"sidebar-popup__profile-info"},kk=["src"],Ck={key:1,class:"sidebar-popup__profile-info__letter"},xk={class:"sidebar-popup__profile-info__wrapper"},Mk={class:"sidebar-popup__profile-info__name"},Sk={class:"sidebar-popup__profile-info__e-mail"},vk=km(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Tk={class:"sidebar-popup__tabs"},Dk=["onClick"],Ok={class:"sidebar-popup__tab__icon-wrapper"},Ek={class:"sidebar-popup__tab__name"},$k=km(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),Pk={class:"sidebar-popup__actions-buttons"},Lk=Oe({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!0},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",wk,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":s.value}]),onClick:o.withModifiers(u,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(Le,{icon:"pop-up_opener"})],2),s.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:i},[o.createElementVNode("div",bk,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,kk)):(o.openBlock(),o.createElementBlock("div",Ck,o.toDisplayString(l.value),1)),o.createElementVNode("div",xk,[o.createElementVNode("div",Mk,o.toDisplayString(t.user.name),1),o.createElementVNode("div",Sk,o.toDisplayString(t.user.email),1)])]),vk,o.createElementVNode("div",Tk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,g=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":g.name===t.activeSection},{"-is-disable":!g.isActive}]),onClick:p=>d(g)},[o.createElementVNode("div",Ok,[o.createVNode(Le,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Ek,o.toDisplayString(g.name),1)],10,Dk))),256))]),$k,o.createElementVNode("div",Pk,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-cd05e8e4"]]),Vk={class:"scope-tooltip"},pn=Oe({__name:"Tooltip",props:{alternative:Boolean,position:{type:String,default:"top"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Vk,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Le),{icon:"tip",class:"scope-tooltip__icon"})],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__text",{"-alternative":t.alternative},`-${t.position}`])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-b3a05358"]]),Nk={class:"no-more"},Bk={class:"no-more__icon-wrapper"},Ak={class:"__text-wrapper"},Fk={class:"no-more__title"},Rk={class:"no-more__subtitle"},gu=Oe({__name:"NoMore",props:{title:{type:String,default:"No more trades"},subtitle:{type:String,default:"No data available for the specified period"},icon:{type:String,default:"pie-chart"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Nk,[o.createElementVNode("div",Bk,[o.createVNode(o.unref(Le),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",Ak,[o.createElementVNode("div",Fk,o.toDisplayString(t.title),1),o.createElementVNode("div",Rk,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-2d206905"]]),Cm=t=>(o.pushScopeId("data-v-ea085d6b"),t=t(),o.popScopeId(),t),Ik={class:"long-short"},Hk=Cm(()=>o.createElementVNode("span",null,"L",-1)),zk={class:"long-short__item__text"},Yk=Cm(()=>o.createElementVNode("span",null,"S",-1)),Wk={class:"long-short__item__text"},xm=Oe({__name:"LongShort",props:{long:{type:Number,default:0},short:{type:Number,default:0},isHidden:Boolean},setup(t){const e=t,n=o.computed(()=>{const r=e.long/(e.long+e.short)*100;return isNaN(r)?50:r});return(r,s)=>(o.openBlock(),o.createElementBlock("div",Ik,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Hk,o.createElementVNode("div",zk,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Et)(t.long/(t.long+t.short)*100,1),{repeat:3}))+"% ",1)],4),o.createElementVNode("div",{class:"long-short__item -short",style:o.normalizeStyle(`width: ${100-n.value}%`)},[Yk,o.createElementVNode("div",Wk,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Et)(t.short/(t.long+t.short)*100,1),{repeat:3}))+"% ",1)],4)]))}},[["__scopeId","data-v-ea085d6b"]]);/*!
21
+ `):" "+fm(i[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:cu};function du(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ko(null,t)}function pm(t){return du(t),t.headers=mr.from(t.headers),t.data=lu.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),mm.getAdapter(t.adapter||ou.adapter)(t).then(function(r){return du(t),r.data=lu.call(t,t.transformResponse,r),r.headers=mr.from(r.headers),r},function(r){return dm(r)||(du(t),r&&r.response&&(r.response.data=lu.call(t,t.transformResponse,r.response),r.response.headers=mr.from(r.response.headers))),Promise.reject(r)})}const gm=t=>t instanceof mr?{...t}:t;function bi(t,e){e=e||{};const n={};function r(d,u,h){return Y.isPlainObject(d)&&Y.isPlainObject(u)?Y.merge.call({caseless:h},d,u):Y.isPlainObject(u)?Y.merge({},u):Y.isArray(u)?u.slice():u}function s(d,u,h){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d,h)}else return r(d,u,h)}function i(d,u){if(!Y.isUndefined(u))return r(void 0,u)}function a(d,u){if(Y.isUndefined(u)){if(!Y.isUndefined(d))return r(void 0,d)}else return r(void 0,u)}function l(d,u,h){if(h in e)return r(d,u);if(h in t)return r(void 0,d)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,u)=>s(gm(d),gm(u),!0)};return Y.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=c[u]||s,f=h(t[u],e[u],u);Y.isUndefined(f)&&h!==l||(n[u]=f)}),n}const _m="1.6.8",uu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{uu[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const ym={};uu.transitional=function(e,n,r){function s(i,a){return"[Axios v"+_m+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(e===!1)throw new ve(s(a," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!ym[a]&&(ym[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,a,l):!0}};function Qb(t,e,n){if(typeof t!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let s=r.length;for(;s-- >0;){const i=r[s],a=e[i];if(a){const l=t[i],c=l===void 0||a(l,i,t);if(c!==!0)throw new ve("option "+i+" must be "+c,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+i,ve.ERR_BAD_OPTION)}}const hu={assertOptions:Qb,validators:uu},Gr=hu.validators;class Ka{constructor(e){this.defaults=e,this.interceptors={request:new im,response:new im}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
22
+ `+i):r.stack=i}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=bi(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&hu.assertOptions(r,{silentJSONParsing:Gr.transitional(Gr.boolean),forcedJSONParsing:Gr.transitional(Gr.boolean),clarifyTimeoutError:Gr.transitional(Gr.boolean)},!1),s!=null&&(Y.isFunction(s)?n.paramsSerializer={serialize:s}:hu.assertOptions(s,{encode:Gr.function,serialize:Gr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Y.merge(i.common,i[n.method]);i&&Y.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=mr.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const d=[];this.interceptors.response.forEach(function(p){d.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!c){const g=[pm.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,d),f=g.length,u=Promise.resolve(n);h<f;)u=u.then(g[h++],g[h++]);return u}f=l.length;let m=n;for(h=0;h<f;){const g=l[h++],p=l[h++];try{m=g(m)}catch(_){p.call(this,_);break}}try{u=pm.call(this,m)}catch(g){return Promise.reject(g)}for(h=0,f=d.length;h<f;)u=u.then(d[h++],d[h++]);return u}getUri(e){e=bi(this.defaults,e);const n=um(e.baseURL,e.url);return sm(n,e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){Ka.prototype[e]=function(n,r){return this.request(bi(r||{},{method:e,url:n,data:(r||{}).data}))}}),Y.forEach(["post","put","patch"],function(e){function n(r){return function(i,a,l){return this.request(bi(l||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ka.prototype[e]=n(),Ka.prototype[e+"Form"]=n(!0)});const Xa=Ka;class fu{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},e(function(i,a,l){r.reason||(r.reason=new ko(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new fu(function(s){e=s}),cancel:e}}}const ek=fu;function tk(t){return function(n){return t.apply(null,n)}}function nk(t){return Y.isObject(t)&&t.isAxiosError===!0}const mu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mu).forEach(([t,e])=>{mu[e]=t});const rk=mu;function wm(t){const e=new Xa(t),n=z0(Xa.prototype.request,e);return Y.extend(n,Xa.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return wm(bi(t,s))},n}const bt=wm(ou);bt.Axios=Xa,bt.CanceledError=ko,bt.CancelToken=ek,bt.isCancel=dm,bt.VERSION=_m,bt.toFormData=Ua,bt.AxiosError=ve,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=tk,bt.isAxiosError=nk,bt.mergeConfig=bi,bt.AxiosHeaders=mr,bt.formToJSON=t=>lm(Y.isHTMLForm(t)?new FormData(t):t),bt.getAdapter=mm.getAdapter,bt.HttpStatusCode=rk,bt.default=bt;const Co=bt;/*! js-cookie v3.0.5 | MIT */function Ja(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var sk={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function pu(t,e){function n(s,i,a){if(!(typeof document>"u")){a=Ja({},e,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,a[c]!==!0&&(l+="="+a[c].split(";")[0]));return document.cookie=s+"="+t.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],a={},l=0;l<i.length;l++){var c=i[l].split("="),d=c.slice(1).join("=");try{var u=decodeURIComponent(c[0]);if(a[u]=t.read(d,u),s===u)break}catch{}}return s?a[s]:a}}return Object.create({set:n,get:r,remove:function(s,i){n(s,"",Ja({},i,{expires:-1}))},withAttributes:function(s){return pu(this.converter,Ja({},this.attributes,s))},withConverter:function(s){return pu(Ja({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ki=pu(sk,{path:"/"});class rt{static setItem(e,n,r=Date.now()+31449600){ki.set(e,n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io",expires:new Date(r*1e3),secure:!0,sameSite:"strict"})}static getItem(e){return ki.get(e)}static removeItem(e){ki.remove(e,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static clear(){const e=Object.keys(ki.get());for(const n of e)ki.remove(n,{domain:window.location.hostname==="localhost"?"localhost":".scope360.io"})}static getAll(){return ki.get()}}const bm=t=>(o.pushScopeId("data-v-8797178e"),t=t(),o.popScopeId(),t),ik={class:"scope-dropzone__container"},ok={key:0,class:"scope-dropzone__label"},ak={key:1,class:"scope-dropzone__prompt"},lk={class:"scope-dropzone__content"},ck=bm(()=>o.createElementVNode("div",{class:"scope-dropzone__prompt"},"Drag & Drop your files here",-1)),dk=bm(()=>o.createElementVNode("div",{class:"scope-dropzone__or"},"OR",-1)),uk={key:2,class:"scope-dropzone__files"},hk={class:"scope-dropzone__file"},fk={class:"scope-dropzone__file__img-wrapper"},mk=["src"],pk={class:"scope-dropzone__file__options"},gk={class:"scope-dropzone__file__name"},_k=Oe({__name:"Dropzone",props:o.mergeModels({fullWidth:Boolean,label:String,limit:{type:Number,default:5},lengthError:String,prompt:String,isDelete:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{error:e}=hh(),n=t,r=o.useModel(t,"modelValue"),s=o.ref([]),i=o.ref(null);o.ref(null);const a=o.ref(!1),l=()=>{i.value.click()},c=p=>{if(p.dataTransfer.files.length){i.value.files=p.dataTransfer.files;for(var _=0,y=p.dataTransfer.files.length;_<y;_++)r.value.items.length<5&&g(p.dataTransfer.files[_])}a.value=!1},d=p=>{r.value.length<5?g(p.target.files[0]):e(n.lengthError)},u=(p,_)=>{r.value.splice(_,1),s.value.push(p)},h=()=>{let p=[];s.value.forEach(_=>{let y=Co.delete(`https://media.scope360.io/auth/media/delete/${_.id}`,{headers:{"Content-Type-ID":3,Authorization:rt.getItem("isOAuth")?rt.getItem("access_token"):"Bearer "+rt.getItem("access_token")}});p.push(y)}),Promise.all(p).then(()=>{s.value=[]}).catch(_=>{e(e.response.data.error)})},f=async p=>{const _=new FormData;return _.append("file",p,p.name),await Co.post("https://media.scope360.io/auth/full/upload",_,{headers:{"Content-Type-ID":3,Authorization:rt.getItem("isOAuth")?rt.getItem("access_token"):"Bearer "+rt.getItem("access_token")}})},m=p=>{const _=p.lastIndexOf(".");return p.slice(0,_)+"_compressed"+p.slice(_)+"?compressed=true"},g=async p=>{const{data:_}=await f(p),y=_.path.substring(_.path.lastIndexOf("/")+1);_.path.lastIndexOf("/");const C="https://media.scope360.io/media/"+_.path;r.value.push({id:_.id,name:y,url:C,compressedUrl:m(C),shortcut:_.shortcut})};return o.onBeforeUnmount(()=>{s.value.forEach(p=>{r.value.push(p)})}),o.watch(()=>n.isDelete,p=>{p&&(console.log(p),h())}),(p,_)=>(o.openBlock(),o.createElementBlock("div",ik,[t.label?(o.openBlock(),o.createElementBlock("div",ok,o.toDisplayString(t.label),1)):o.createCommentVNode("",!0),t.prompt?(o.openBlock(),o.createElementBlock("div",ak,o.toDisplayString(t.prompt),1)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["scope-dropzone",{"-over":a.value,"-full-width":t.fullWidth}]),onDragover:_[0]||(_[0]=o.withModifiers(y=>a.value=!0,["prevent"])),onDragend:_[1]||(_[1]=y=>a.value=!1),onDragleave:_[2]||(_[2]=y=>a.value=!1),onDrop:o.withModifiers(c,["prevent"])},[o.createElementVNode("div",lk,[o.createVNode(o.unref(Le),{icon:"file-bend"}),ck,dk,o.createVNode(o.unref(ya),{onClick:l,"cta-text":"Browse files",size:"sm",view:"secondary-blue",width:"157px"})]),o.createElementVNode("input",{ref_key:"input",ref:i,type:"file",name:"myFile",class:"scope-dropzone__input",onChange:d},null,544)],34),r.value.length?(o.openBlock(),o.createElementBlock("div",uk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,(y,C)=>(o.openBlock(),o.createElementBlock("div",hk,[o.createElementVNode("div",fk,[o.createElementVNode("img",{class:"scope-dropzone__file__img",src:y.compressedUrl},null,8,mk),o.createElementVNode("div",pk,[o.createVNode(o.unref(Le),{icon:"success",class:"scope-dropzone__file__success"}),o.createVNode(o.unref(Le),{icon:"trash",class:"scope-dropzone__file__remove",onClick:k=>u(y,C)},null,8,["onClick"])])]),o.createElementVNode("div",gk,o.toDisplayString(y.name),1)]))),256))])):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-8797178e"]]),km=t=>(o.pushScopeId("data-v-cd05e8e4"),t=t(),o.popScopeId(),t),yk={class:"sidebar-popup-container"},wk={class:"sidebar-popup__profile-info"},bk=["src"],kk={key:1,class:"sidebar-popup__profile-info__letter"},Ck={class:"sidebar-popup__profile-info__wrapper"},xk={class:"sidebar-popup__profile-info__name"},Mk={class:"sidebar-popup__profile-info__e-mail"},Sk=km(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),vk={class:"sidebar-popup__tabs"},Tk=["onClick"],Dk={class:"sidebar-popup__tab__icon-wrapper"},Ok={class:"sidebar-popup__tab__name"},Ek=km(()=>o.createElementVNode("div",{class:"sidebar-popup__divider"},null,-1)),$k={class:"sidebar-popup__actions-buttons"},Pk=Oe({__name:"SidebarPopup",props:{activeSection:String,user:Object},emits:["logout"],setup(t,{emit:e}){const n=t,r=e,s=o.ref(!1),i=o.ref(null),a=o.reactive([{name:"charts",isActive:!0},{name:"futures",isActive:!0},{name:"spot",isActive:!1},{name:"trading terminal",isActive:!1}]),l=o.computed(()=>n.user&&n.user.name?n.user.name.charAt(0):"U"),c=()=>{if(window!==void 0){const f=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${f}/settings/profile`,"_self")}},d=f=>{f.isActive&&window.open(`https://${f.name}.scope360.io/`)},u=()=>{s.value=!s.value},h=f=>{i.value&&!i.value.contains(f.target)&&u()};return o.onMounted(()=>{document.addEventListener("click",h)}),o.onUnmounted(()=>{document.removeEventListener("click",h)}),(f,m)=>(o.openBlock(),o.createElementBlock("div",yk,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup-container__icon-wrapper",{"-is-active":s.value}]),onClick:o.withModifiers(u,["stop"]),name:"popup-icon-wrapper"},[o.createVNode(Le,{icon:"pop-up_opener"})],2),s.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"sidebar-popup",ref_key:"popupRef",ref:i},[o.createElementVNode("div",wk,[t.user.image?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.user.image,class:"sidebar-popup__profile-info__photo"},null,8,bk)):(o.openBlock(),o.createElementBlock("div",kk,o.toDisplayString(l.value),1)),o.createElementVNode("div",Ck,[o.createElementVNode("div",xk,o.toDisplayString(t.user.name),1),o.createElementVNode("div",Mk,o.toDisplayString(t.user.email),1)])]),Sk,o.createElementVNode("div",vk,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,g=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["sidebar-popup__tab",{"-is-active":g.name===t.activeSection},{"-is-disable":!g.isActive}]),onClick:p=>d(g)},[o.createElementVNode("div",Dk,[o.createVNode(Le,{icon:g.name.split(" ").join("_")},null,8,["icon"])]),o.createElementVNode("div",Ok,o.toDisplayString(g.name),1)],10,Tk))),256))]),Ek,o.createElementVNode("div",$k,[o.createElementVNode("div",{class:o.normalizeClass(["sidebar-popup__settings",{"-is-active":t.activeSection==="settings"}]),onClick:c}," Settings ",2),o.createElementVNode("div",{class:"sidebar-popup__logout",onClick:m[0]||(m[0]=g=>r("logout"))},"Log out")])],512)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-cd05e8e4"]]),Lk={class:"scope-tooltip"},pn=Oe({__name:"Tooltip",props:{alternative:Boolean,position:{type:String,default:"top"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Lk,[o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__icon-wrapper",{"-alternative":t.alternative}])},[o.createVNode(o.unref(Le),{icon:"tip",class:"scope-tooltip__icon"})],2),o.createElementVNode("div",{class:o.normalizeClass(["scope-tooltip__text",{"-alternative":t.alternative},`-${t.position}`])},[o.renderSlot(e.$slots,"default",{},void 0,!0)],2)]))}},[["__scopeId","data-v-b3a05358"]]),Vk={class:"no-more"},Nk={class:"no-more__icon-wrapper"},Bk={class:"__text-wrapper"},Ak={class:"no-more__title"},Fk={class:"no-more__subtitle"},gu=Oe({__name:"NoMore",props:{title:{type:String,default:"No more trades"},subtitle:{type:String,default:"No data available for the specified period"},icon:{type:String,default:"pie-chart"}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",Vk,[o.createElementVNode("div",Nk,[o.createVNode(o.unref(Le),{icon:t.icon},null,8,["icon"])]),o.createElementVNode("div",Bk,[o.createElementVNode("div",Ak,o.toDisplayString(t.title),1),o.createElementVNode("div",Fk,o.toDisplayString(t.subtitle),1)])]))}},[["__scopeId","data-v-2d206905"]]),Cm=t=>(o.pushScopeId("data-v-ea085d6b"),t=t(),o.popScopeId(),t),Rk={class:"long-short"},Ik=Cm(()=>o.createElementVNode("span",null,"L",-1)),Hk={class:"long-short__item__text"},zk=Cm(()=>o.createElementVNode("span",null,"S",-1)),Yk={class:"long-short__item__text"},xm=Oe({__name:"LongShort",props:{long:{type:Number,default:0},short:{type:Number,default:0},isHidden:Boolean},setup(t){const e=t,n=o.computed(()=>{const r=e.long/(e.long+e.short)*100;return isNaN(r)?50:r});return(r,s)=>(o.openBlock(),o.createElementBlock("div",Rk,[o.createElementVNode("div",{class:"long-short__item -long",style:o.normalizeStyle(`width: ${n.value}%`)},[Ik,o.createElementVNode("div",Hk,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Et)(t.long/(t.long+t.short)*100,1),{repeat:3}))+"% ",1)],4),o.createElementVNode("div",{class:"long-short__item -short",style:o.normalizeStyle(`width: ${100-n.value}%`)},[zk,o.createElementVNode("div",Yk,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Et)(t.short/(t.long+t.short)*100,1),{repeat:3}))+"% ",1)],4)]))}},[["__scopeId","data-v-ea085d6b"]]);/*!
23
23
  * @kurkle/color v0.3.2
24
24
  * https://github.com/kurkle/color#readme
25
25
  * (c) 2023 Jukka Kurkela
26
26
  * Released under the MIT License
27
- */function xo(t){return t+.5|0}const Kr=(t,e,n)=>Math.max(Math.min(t,n),e);function Mo(t){return Kr(xo(t*2.55),0,255)}function Xr(t){return Kr(xo(t*255),0,255)}function pr(t){return Kr(xo(t/2.55)/100,0,1)}function Mm(t){return Kr(xo(t*100),0,100)}const gn={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},_u=[..."0123456789ABCDEF"],jk=t=>_u[t&15],Zk=t=>_u[(t&240)>>4]+_u[t&15],Qa=t=>(t&240)>>4===(t&15),Uk=t=>Qa(t.r)&&Qa(t.g)&&Qa(t.b)&&Qa(t.a);function qk(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&gn[t[1]]*17,g:255&gn[t[2]]*17,b:255&gn[t[3]]*17,a:e===5?gn[t[4]]*17:255}:(e===7||e===9)&&(n={r:gn[t[1]]<<4|gn[t[2]],g:gn[t[3]]<<4|gn[t[4]],b:gn[t[5]]<<4|gn[t[6]],a:e===9?gn[t[7]]<<4|gn[t[8]]:255})),n}const Gk=(t,e)=>t<255?e(t):"";function Kk(t){var e=Uk(t)?jk:Zk;return t?"#"+e(t.r)+e(t.g)+e(t.b)+Gk(t.a,e):void 0}const Xk=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Sm(t,e,n){const r=e*Math.min(n,1-n),s=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[s(0),s(8),s(4)]}function Jk(t,e,n){const r=(s,i=(s+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Qk(t,e,n){const r=Sm(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)r[s]*=1-e-n,r[s]+=e;return r}function eC(t,e,n,r,s){return t===s?(e-n)/r+(e<n?6:0):e===s?(n-t)/r+2:(t-e)/r+4}function yu(t){const n=t.r/255,r=t.g/255,s=t.b/255,i=Math.max(n,r,s),a=Math.min(n,r,s),l=(i+a)/2;let c,d,u;return i!==a&&(u=i-a,d=l>.5?u/(2-i-a):u/(i+a),c=eC(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function wu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Xr)}function bu(t,e,n){return wu(Sm,t,e,n)}function tC(t,e,n){return wu(Qk,t,e,n)}function nC(t,e,n){return wu(Jk,t,e,n)}function vm(t){return(t%360+360)%360}function rC(t){const e=Xk.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Mo(+e[5]):Xr(+e[5]));const s=vm(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=tC(s,i,a):e[1]==="hsv"?r=nC(s,i,a):r=bu(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function sC(t,e){var n=yu(t);n[0]=vm(n[0]+e),n=bu(n),t.r=n[0],t.g=n[1],t.b=n[2]}function iC(t){if(!t)return;const e=yu(t),n=e[0],r=Mm(e[1]),s=Mm(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${pr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const Tm={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"},Dm={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"};function oC(){const t={},e=Object.keys(Dm),n=Object.keys(Tm);let r,s,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],s=0;s<n.length;s++)i=n[s],l=l.replace(i,Tm[i]);i=parseInt(Dm[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let el;function aC(t){el||(el=oC(),el.transparent=[0,0,0,0]);const e=el[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const lC=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function cC(t){const e=lC.exec(t);let n=255,r,s,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?Mo(a):Kr(a*255,0,255)}return r=+e[1],s=+e[3],i=+e[5],r=255&(e[2]?Mo(r):Kr(r,0,255)),s=255&(e[4]?Mo(s):Kr(s,0,255)),i=255&(e[6]?Mo(i):Kr(i,0,255)),{r,g:s,b:i,a:n}}}function dC(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${pr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ku=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Ci=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function uC(t,e,n){const r=Ci(pr(t.r)),s=Ci(pr(t.g)),i=Ci(pr(t.b));return{r:Xr(ku(r+n*(Ci(pr(e.r))-r))),g:Xr(ku(s+n*(Ci(pr(e.g))-s))),b:Xr(ku(i+n*(Ci(pr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function tl(t,e,n){if(t){let r=yu(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=bu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Om(t,e){return t&&Object.assign(e||{},t)}function Em(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Xr(t[3]))):(e=Om(t,{r:0,g:0,b:0,a:1}),e.a=Xr(e.a)),e}function hC(t){return t.charAt(0)==="r"?cC(t):rC(t)}class So{constructor(e){if(e instanceof So)return e;const n=typeof e;let r;n==="object"?r=Em(e):n==="string"&&(r=qk(e)||aC(e)||hC(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Om(this._rgb);return e&&(e.a=pr(e.a)),e}set rgb(e){this._rgb=Em(e)}rgbString(){return this._valid?dC(this._rgb):void 0}hexString(){return this._valid?Kk(this._rgb):void 0}hslString(){return this._valid?iC(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,s=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,c=r.a-s.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;i=1-d,r.r=255&d*r.r+i*s.r+.5,r.g=255&d*r.g+i*s.g+.5,r.b=255&d*r.b+i*s.b+.5,r.a=a*r.a+(1-a)*s.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=uC(this._rgb,e._rgb,n)),this}clone(){return new So(this.rgb)}alpha(e){return this._rgb.a=Xr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=xo(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.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 tl(this._rgb,2,e),this}darken(e){return tl(this._rgb,2,-e),this}saturate(e){return tl(this._rgb,1,e),this}desaturate(e){return tl(this._rgb,1,-e),this}rotate(e){return sC(this._rgb,e),this}}/*!
27
+ */function xo(t){return t+.5|0}const Kr=(t,e,n)=>Math.max(Math.min(t,n),e);function Mo(t){return Kr(xo(t*2.55),0,255)}function Xr(t){return Kr(xo(t*255),0,255)}function pr(t){return Kr(xo(t/2.55)/100,0,1)}function Mm(t){return Kr(xo(t*100),0,100)}const gn={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},_u=[..."0123456789ABCDEF"],Wk=t=>_u[t&15],jk=t=>_u[(t&240)>>4]+_u[t&15],Qa=t=>(t&240)>>4===(t&15),Zk=t=>Qa(t.r)&&Qa(t.g)&&Qa(t.b)&&Qa(t.a);function Uk(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&gn[t[1]]*17,g:255&gn[t[2]]*17,b:255&gn[t[3]]*17,a:e===5?gn[t[4]]*17:255}:(e===7||e===9)&&(n={r:gn[t[1]]<<4|gn[t[2]],g:gn[t[3]]<<4|gn[t[4]],b:gn[t[5]]<<4|gn[t[6]],a:e===9?gn[t[7]]<<4|gn[t[8]]:255})),n}const qk=(t,e)=>t<255?e(t):"";function Gk(t){var e=Zk(t)?Wk:jk;return t?"#"+e(t.r)+e(t.g)+e(t.b)+qk(t.a,e):void 0}const Kk=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Sm(t,e,n){const r=e*Math.min(n,1-n),s=(i,a=(i+t/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[s(0),s(8),s(4)]}function Xk(t,e,n){const r=(s,i=(s+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Jk(t,e,n){const r=Sm(t,1,.5);let s;for(e+n>1&&(s=1/(e+n),e*=s,n*=s),s=0;s<3;s++)r[s]*=1-e-n,r[s]+=e;return r}function Qk(t,e,n,r,s){return t===s?(e-n)/r+(e<n?6:0):e===s?(n-t)/r+2:(t-e)/r+4}function yu(t){const n=t.r/255,r=t.g/255,s=t.b/255,i=Math.max(n,r,s),a=Math.min(n,r,s),l=(i+a)/2;let c,d,u;return i!==a&&(u=i-a,d=l>.5?u/(2-i-a):u/(i+a),c=Qk(n,r,s,u,i),c=c*60+.5),[c|0,d||0,l]}function wu(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Xr)}function bu(t,e,n){return wu(Sm,t,e,n)}function eC(t,e,n){return wu(Jk,t,e,n)}function tC(t,e,n){return wu(Xk,t,e,n)}function vm(t){return(t%360+360)%360}function nC(t){const e=Kk.exec(t);let n=255,r;if(!e)return;e[5]!==r&&(n=e[6]?Mo(+e[5]):Xr(+e[5]));const s=vm(+e[2]),i=+e[3]/100,a=+e[4]/100;return e[1]==="hwb"?r=eC(s,i,a):e[1]==="hsv"?r=tC(s,i,a):r=bu(s,i,a),{r:r[0],g:r[1],b:r[2],a:n}}function rC(t,e){var n=yu(t);n[0]=vm(n[0]+e),n=bu(n),t.r=n[0],t.g=n[1],t.b=n[2]}function sC(t){if(!t)return;const e=yu(t),n=e[0],r=Mm(e[1]),s=Mm(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${s}%, ${pr(t.a)})`:`hsl(${n}, ${r}%, ${s}%)`}const Tm={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"},Dm={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"};function iC(){const t={},e=Object.keys(Dm),n=Object.keys(Tm);let r,s,i,a,l;for(r=0;r<e.length;r++){for(a=l=e[r],s=0;s<n.length;s++)i=n[s],l=l.replace(i,Tm[i]);i=parseInt(Dm[a],16),t[l]=[i>>16&255,i>>8&255,i&255]}return t}let el;function oC(t){el||(el=iC(),el.transparent=[0,0,0,0]);const e=el[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const aC=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function lC(t){const e=aC.exec(t);let n=255,r,s,i;if(e){if(e[7]!==r){const a=+e[7];n=e[8]?Mo(a):Kr(a*255,0,255)}return r=+e[1],s=+e[3],i=+e[5],r=255&(e[2]?Mo(r):Kr(r,0,255)),s=255&(e[4]?Mo(s):Kr(s,0,255)),i=255&(e[6]?Mo(i):Kr(i,0,255)),{r,g:s,b:i,a:n}}}function cC(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${pr(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const ku=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,Ci=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function dC(t,e,n){const r=Ci(pr(t.r)),s=Ci(pr(t.g)),i=Ci(pr(t.b));return{r:Xr(ku(r+n*(Ci(pr(e.r))-r))),g:Xr(ku(s+n*(Ci(pr(e.g))-s))),b:Xr(ku(i+n*(Ci(pr(e.b))-i))),a:t.a+n*(e.a-t.a)}}function tl(t,e,n){if(t){let r=yu(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,e===0?360:1)),r=bu(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Om(t,e){return t&&Object.assign(e||{},t)}function Em(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Xr(t[3]))):(e=Om(t,{r:0,g:0,b:0,a:1}),e.a=Xr(e.a)),e}function uC(t){return t.charAt(0)==="r"?lC(t):nC(t)}class So{constructor(e){if(e instanceof So)return e;const n=typeof e;let r;n==="object"?r=Em(e):n==="string"&&(r=Uk(e)||oC(e)||uC(e)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Om(this._rgb);return e&&(e.a=pr(e.a)),e}set rgb(e){this._rgb=Em(e)}rgbString(){return this._valid?cC(this._rgb):void 0}hexString(){return this._valid?Gk(this._rgb):void 0}hslString(){return this._valid?sC(this._rgb):void 0}mix(e,n){if(e){const r=this.rgb,s=e.rgb;let i;const a=n===i?.5:n,l=2*a-1,c=r.a-s.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;i=1-d,r.r=255&d*r.r+i*s.r+.5,r.g=255&d*r.g+i*s.g+.5,r.b=255&d*r.b+i*s.b+.5,r.a=a*r.a+(1-a)*s.a,this.rgb=r}return this}interpolate(e,n){return e&&(this._rgb=dC(this._rgb,e._rgb,n)),this}clone(){return new So(this.rgb)}alpha(e){return this._rgb.a=Xr(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=xo(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.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 tl(this._rgb,2,e),this}darken(e){return tl(this._rgb,2,-e),this}saturate(e){return tl(this._rgb,1,e),this}desaturate(e){return tl(this._rgb,1,-e),this}rotate(e){return rC(this._rgb,e),this}}/*!
28
28
  * Chart.js v4.4.2
29
29
  * https://www.chartjs.org
30
30
  * (c) 2024 Chart.js Contributors
31
31
  * Released under the MIT License
32
- */function gr(){}const fC=(()=>{let t=0;return()=>t++})();function Ue(t){return t===null||typeof t>"u"}function st(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function Te(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function lt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function nn(t,e){return lt(t)?t:e}function Fe(t,e){return typeof t>"u"?e:t}const mC=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ct(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Re(t,e,n,r){let s,i,a;if(st(t))if(i=t.length,r)for(s=i-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;s<i;s++)e.call(n,t[s],s);else if(Te(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function nl(t,e){let n,r,s,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(s=t[n],i=e[n],s.datasetIndex!==i.datasetIndex||s.index!==i.index)return!1;return!0}function rl(t){if(st(t))return t.map(rl);if(Te(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=rl(t[n[s]]);return e}return t}function $m(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function pC(t,e,n,r){if(!$m(t))return;const s=e[t],i=n[t];Te(s)&&Te(i)?vo(s,i,r):e[t]=rl(i)}function vo(t,e,n){const r=st(e)?e:[e],s=r.length;if(!Te(t))return t;n=n||{};const i=n.merger||pC;let a;for(let l=0;l<s;++l){if(a=r[l],!Te(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)i(c[d],t,a,n)}return t}function To(t,e){return vo(t,e,{merger:gC})}function gC(t,e,n){if(!$m(t))return;const r=e[t],s=n[t];Te(r)&&Te(s)?To(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=rl(s))}const Pm={"":t=>t,x:t=>t.x,y:t=>t.y};function _C(t){const e=t.split("."),n=[];let r="";for(const s of e)r+=s,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function yC(t){const e=_C(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function sl(t,e){return(Pm[e]||(Pm[e]=yC(e)))(t)}function Cu(t){return t.charAt(0).toUpperCase()+t.slice(1)}const il=t=>typeof t<"u",Jr=t=>typeof t=="function",Lm=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function wC(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Dt=Math.PI,rn=2*Dt,bC=rn+Dt,ol=Number.POSITIVE_INFINITY,kC=Dt/180,sn=Dt/2,Os=Dt/4,Vm=Dt*2/3,Qr=Math.log10,xi=Math.sign;function Do(t,e,n){return Math.abs(t-e)<n}function Nm(t){const e=Math.round(t);t=Do(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Qr(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function CC(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((s,i)=>s-i).pop(),e}function Oo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function xC(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Bm(t,e,n){let r,s,i;for(r=0,s=t.length;r<s;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function es(t){return t*(Dt/180)}function xu(t){return t*(180/Dt)}function Am(t){if(!lt(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function MC(t,e){const n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*Dt&&(i+=rn),{angle:i,distance:s}}function Mu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function SC(t,e){return(t-e+bC)%rn-Dt}function on(t){return(t%rn+rn)%rn}function Fm(t,e,n,r){const s=on(t),i=on(e),a=on(n),l=on(i-s),c=on(a-s),d=on(s-i),u=on(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function _n(t,e,n){return Math.max(e,Math.min(n,t))}function vC(t){return _n(t,-32768,32767)}function Rm(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Su(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Es=(t,e,n,r)=>Su(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),TC=(t,e,n)=>Su(t,n,r=>t[r][e]>=n);function DC(t,e,n){let r=0,s=t.length;for(;r<s&&t[r]<e;)r++;for(;s>r&&t[s-1]>n;)s--;return r>0||s<t.length?t.slice(r,s):t}const Im=["push","pop","shift","splice","unshift"];function OC(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Im.forEach(n=>{const r="_onData"+Cu(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=s.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function Hm(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,s=r.indexOf(e);s!==-1&&r.splice(s,1),!(r.length>0)&&(Im.forEach(i=>{delete t[i]}),delete t._chartjs)}function EC(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const zm=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function Ym(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,zm.call(window,()=>{r=!1,t.apply(e,n)}))}}function $C(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const PC=t=>t==="start"?"left":t==="end"?"right":"center",Wm=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function LC(t,e,n){const r=e.length;let s=0,i=r;if(t._sorted){const{iScale:a,_parsed:l}=t,c=a.axis,{min:d,max:u,minDefined:h,maxDefined:f}=a.getUserBounds();h&&(s=_n(Math.min(Es(l,c,d).lo,n?r:Es(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=_n(Math.max(Es(l,a.axis,u,!0).hi+1,n?0:Es(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function VC(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=s,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,s),i}const al=t=>t===0||t===1,jm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*rn/n)),Zm=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*rn/n)+1,Eo={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*sn)+1,easeOutSine:t=>Math.sin(t*sn),easeInOutSine:t=>-.5*(Math.cos(Dt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>al(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>al(t)?t:jm(t,.075,.3),easeOutElastic:t=>al(t)?t:Zm(t,.075,.3),easeInOutElastic(t){return al(t)?t:t<.5?.5*jm(t*2,.1125,.45):.5+.5*Zm(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Eo.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Eo.easeInBounce(t*2)*.5:Eo.easeOutBounce(t*2-1)*.5+.5};function vu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Um(t){return vu(t)?t:new So(t)}function Tu(t){return vu(t)?t:new So(t).saturate(.5).darken(.1).hexString()}const NC=["x","y","borderWidth","radius","tension"],BC=["color","borderColor","backgroundColor"];function AC(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:BC},numbers:{type:"number",properties:NC}}),t.describe("animations",{_fallback:"animation"}),t.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=>e|0}}}})}function FC(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const qm=new Map;function RC(t,e){e=e||{};const n=t+JSON.stringify(e);let r=qm.get(n);return r||(r=new Intl.NumberFormat(t,e),qm.set(n,r)),r}function Du(t,e,n){return RC(e,n).format(t)}const Gm={values(t){return st(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let s,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(s="scientific"),i=IC(t,n)}const a=Qr(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),Du(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Qr(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?Gm.numeric.call(this,t,e,n):""}};function IC(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var ll={formatters:Gm};function HC(t){t.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,n)=>n.lineWidth,tickColor:(e,n)=>n.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:ll.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const $s=Object.create(null),Ou=Object.create(null);function $o(t,e){if(!e)return t;const n=e.split(".");for(let r=0,s=n.length;r<s;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function Eu(t,e,n){return typeof e=="string"?vo($o(t,e),n):vo($o(t,""),e)}class zC{constructor(e,n){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=r=>r.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=(r,s)=>Tu(s.backgroundColor),this.hoverBorderColor=(r,s)=>Tu(s.borderColor),this.hoverColor=(r,s)=>Tu(s.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(n)}set(e,n){return Eu(this,e,n)}get(e){return $o(this,e)}describe(e,n){return Eu(Ou,e,n)}override(e,n){return Eu($s,e,n)}route(e,n,r,s){const i=$o(this,e),a=$o(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=a[s];return Te(c)?Object.assign({},d,c):Fe(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var gt=new zC({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[AC,FC,HC]);function YC(t){return!t||Ue(t.size)||Ue(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function cl(t,e,n,r,s){let i=e[s];return i||(i=e[s]=t.measureText(s).width,n.push(s)),i>r&&(r=i),r}function WC(t,e,n,r){r=r||{};let s=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(s=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,d,u,h,f;for(c=0;c<l;c++)if(h=n[c],h!=null&&!st(h))a=cl(t,s,i,a,h);else if(st(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!st(f)&&(a=cl(t,s,i,a,f));t.restore();const m=i.length/2;if(m>n.length){for(c=0;c<m;c++)delete s[i[c]];i.splice(0,m)}return a}function Ps(t,e,n){const r=t.currentDevicePixelRatio,s=n!==0?Math.max(n/2,.5):0;return Math.round((e-s)*r)/r+s}function Km(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function $u(t,e,n,r){jC(t,e,n,r,null)}function jC(t,e,n,r,s){let i,a,l,c,d,u,h,f;const m=e.pointStyle,g=e.rotation,p=e.radius;let _=(g||0)*kC;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(_),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),m){default:s?t.ellipse(n,r,s/2,p,0,0,rn):t.arc(n,r,p,0,rn),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Vm,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Vm,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Os)*c,h=Math.cos(_+Os)*(s?s/2-d:c),l=Math.sin(_+Os)*c,f=Math.sin(_+Os)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-Dt,_-sn),t.arc(n+f,r-a,d,_-sn,_),t.arc(n+h,r+l,d,_,_+sn),t.arc(n-f,r+a,d,_+sn,_+Dt),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Os;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Os;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Os,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function _r(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Pu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Lu(t){t.restore()}function ZC(t,e,n,r,s){if(!e)return t.lineTo(n.x,n.y);if(s==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else s==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function UC(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function qC(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ue(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function GC(t,e,n,r,s){if(s.strikethrough||s.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,c=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,u=s.strikethrough?(c+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(a,u),t.lineTo(l,u),t.stroke()}}function KC(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function dl(t,e,n,r,s,i={}){const a=st(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,qC(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&KC(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ue(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),GC(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function Vu(t,e){const{x:n,y:r,w:s,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*Dt,Dt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,Dt,sn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,sn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-sn,!0),t.lineTo(n+a.topLeft,r)}const XC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,JC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function QC(t,e){const n=(""+t).match(XC);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const ex=t=>+t||0;function Xm(t,e){const n={},r=Te(e),s=r?Object.keys(e):e,i=Te(t)?r?a=>Fe(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=ex(i(a));return n}function tx(t){return Xm(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Po(t){return Xm(t,["topLeft","topRight","bottomLeft","bottomRight"])}function yn(t){const e=tx(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function an(t,e){t=t||{},e=e||gt.font;let n=Fe(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Fe(t.style,e.style);r&&!(""+r).match(JC)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Fe(t.family,e.family),lineHeight:QC(Fe(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Fe(t.weight,e.weight),string:""};return s.string=YC(s),s}function ul(t,e,n,r){let s=!0,i,a,l;for(i=0,a=t.length;i<a;++i)if(l=t[i],l!==void 0&&(e!==void 0&&typeof l=="function"&&(l=l(e),s=!1),n!==void 0&&st(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function nx(t,e,n){const{min:r,max:s}=t,i=mC(e,(s-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(i)),max:a(s,i)}}function ts(t,e){return Object.assign(Object.create(t),e)}function Nu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=np("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>Nu([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return Qm(l,c,()=>dx(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return rp(l).includes(c)},ownKeys(l){return rp(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function Mi(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Jm(t,r),setContext:i=>Mi(t,i,n,r),override:i=>Mi(t.override(i),e,n,r)};return new Proxy(s,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return Qm(i,a,()=>sx(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function Jm(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:r,isScriptable:Jr(n)?n:()=>n,isIndexable:Jr(r)?r:()=>r}}const rx=(t,e)=>t?t+Cu(e):e,Bu=(t,e)=>Te(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Qm(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function sx(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Jr(l)&&a.isScriptable(e)&&(l=ix(e,l,t,n)),st(l)&&l.length&&(l=ox(e,l,t,a.isIndexable)),Bu(e,l)&&(l=Mi(l,s,i&&i[e],a)),l}function ix(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(i,a||r);return l.delete(t),Bu(t,c)&&(c=Au(s._scopes,s,t,c)),c}function ox(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(Te(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=Au(d,s,t,u);e.push(Mi(h,i,a&&a[t],l))}}return e}function ep(t,e,n){return Jr(t)?t(e,n):t}const ax=(t,e)=>t===!0?e:typeof t=="string"?sl(e,t):void 0;function lx(t,e,n,r,s){for(const i of e){const a=ax(n,i);if(a){t.add(a);const l=ep(a._fallback,n,s);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function Au(t,e,n,r){const s=e._rootScopes,i=ep(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=tp(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=tp(l,a,i,c,r),c===null)?!1:Nu(Array.from(l),[""],s,i,()=>cx(e,n,r))}function tp(t,e,n,r,s){for(;n;)n=lx(t,e,n,r,s);return n}function cx(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return st(s)&&Te(n)?n:s||{}}function dx(t,e,n,r){let s;for(const i of e)if(s=np(rx(i,t),n),typeof s<"u")return Bu(t,s)?Au(n,r,t,s):s}function np(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function rp(t){let e=t._keys;return e||(e=t._keys=ux(t._scopes)),e}function ux(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(r);return Array.from(e)}const hx=Number.EPSILON||1e-14,Si=(t,e)=>e<t.length&&!t[e].skip&&t[e],sp=t=>t==="x"?"y":"x";function fx(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=Mu(i,s),c=Mu(a,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const h=r*d,f=r*u;return{previous:{x:i.x-h*(a.x-s.x),y:i.y-h*(a.y-s.y)},next:{x:i.x+f*(a.x-s.x),y:i.y+f*(a.y-s.y)}}}function mx(t,e,n){const r=t.length;let s,i,a,l,c,d=Si(t,0);for(let u=0;u<r-1;++u)if(c=d,d=Si(t,u+1),!(!c||!d)){if(Do(e[u],0,hx)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],i=n[u+1]/e[u],l=Math.pow(s,2)+Math.pow(i,2),!(l<=9)&&(a=3/Math.sqrt(l),n[u]=s*a*e[u],n[u+1]=i*a*e[u])}}function px(t,e,n="x"){const r=sp(n),s=t.length;let i,a,l,c=Si(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=Si(t,d+1),!l)continue;const u=l[n],h=l[r];a&&(i=(u-a[n])/3,l[`cp1${n}`]=u-i,l[`cp1${r}`]=h-i*e[d]),c&&(i=(c[n]-u)/3,l[`cp2${n}`]=u+i,l[`cp2${r}`]=h+i*e[d])}}function gx(t,e="x"){const n=sp(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=Si(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=Si(t,a+1),!!c){if(d){const u=d[e]-c[e];s[a]=u!==0?(d[n]-c[n])/u:0}i[a]=l?d?xi(s[a-1])!==xi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}mx(t,s,i),px(t,i,e)}function hl(t,e,n){return Math.max(Math.min(t,n),e)}function _x(t,e){let n,r,s,i,a,l=_r(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&_r(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=hl(s.cp1x,e.left,e.right),s.cp1y=hl(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=hl(s.cp2x,e.left,e.right),s.cp2y=hl(s.cp2y,e.top,e.bottom)))}function yx(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")gx(t,s);else{let d=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=t[i],c=fx(d,l,t[Math.min(i+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}e.capBezierPoints&&_x(t,n)}function Fu(){return typeof window<"u"&&typeof document<"u"}function Ru(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function fl(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const ml=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function wx(t,e){return ml(t).getPropertyValue(e)}const bx=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=bx[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const kx=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Cx(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(kx(s,i,t.target))l=s,c=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,c=r.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function Vs(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=ml(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=Cx(t,n),h=a.left+(u&&l.left),f=a.top+(u&&l.top);let{width:m,height:g}=e;return i&&(m-=a.width+l.width,g-=a.height+l.height),{x:Math.round((c-h)/m*n.width/r),y:Math.round((d-f)/g*n.height/r)}}function xx(t,e,n){let r,s;if(e===void 0||n===void 0){const i=Ru(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=ml(i),c=Ls(l,"border","width"),d=Ls(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=fl(l.maxWidth,i,"clientWidth"),s=fl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||ol,maxHeight:s||ol}}const pl=t=>Math.round(t*10)/10;function Mx(t,e,n,r){const s=ml(t),i=Ls(s,"margin"),a=fl(s.maxWidth,t,"clientWidth")||ol,l=fl(s.maxHeight,t,"clientHeight")||ol,c=xx(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ls(s,"border","width"),m=Ls(s,"padding");d-=m.width+f.width,u-=m.height+f.height}return d=Math.max(0,d-i.width),u=Math.max(0,r?d/r:u-i.height),d=pl(Math.min(d,a,c.maxWidth)),u=pl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=pl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=pl(Math.floor(u*r))),{width:d,height:u}}function ip(t,e,n){const r=e||1,s=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==s||a.width!==i?(t.currentDevicePixelRatio=r,a.height=s,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Sx=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Fu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function op(t,e){const n=wx(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ns(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function vx(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function Tx(t,e,n,r){const s={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=Ns(t,s,n),l=Ns(s,i,n),c=Ns(i,e,n),d=Ns(a,l,n),u=Ns(l,c,n);return Ns(d,u,n)}const Dx=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},Ox=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Iu(t,e,n){return t?Dx(e,n):Ox()}function Ex(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function $x(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ap(t){return t==="angle"?{between:Fm,compare:SC,normalize:on}:{between:Rm,compare:(e,n)=>e-n,normalize:e=>e}}function lp({start:t,end:e,count:n,loop:r,style:s}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:s}}function Px(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=ap(r),c=e.length;let{start:d,end:u,loop:h}=t,f,m;if(h){for(d+=c,u+=c,f=0,m=c;f<m&&a(l(e[d%c][r]),s,i);++f)d--,u--;d%=c,u%=c}return u<d&&(u+=c),{start:d,end:u,loop:h,style:t.style}}function cp(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=ap(r),{start:u,end:h,loop:f,style:m}=Px(t,e,n),g=[];let p=!1,_=null,y,C,k;const v=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),T=()=>p||v(),S=()=>!p||M();for(let O=u,E=u;O<=h;++O)C=e[O%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?O:E),_!==null&&S()&&(g.push(lp({start:_,end:O,loop:f,count:a,style:m})),_=null),E=O,k=y));return _!==null&&g.push(lp({start:_,end:h,loop:f,count:a,style:m})),g}function dp(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=cp(r[s],t.points,e);i.length&&n.push(...i)}return n}function Lx(t,e,n,r){let s=0,i=e-1;if(n&&!r)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(i+=s);i>s&&t[i%e].skip;)i--;return i%=e,{start:s,end:i}}function Vx(t,e,n,r){const s=t.length,i=[];let a=e,l=t[e],c;for(c=e+1;c<=n;++c){const d=t[c%s];d.skip||d.stop?l.skip||(r=!1,i.push({start:e%s,end:(c-1)%s,loop:r}),e=a=d.stop?c:null):(a=c,l.skip&&(e=c)),l=d}return a!==null&&i.push({start:e%s,end:a%s,loop:r}),i}function Nx(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Lx(n,s,i,r);if(r===!0)return up(t,[{start:a,end:l,loop:i}],n,e);const c=l<a?l+s:l,d=!!t._fullLoop&&a===0&&l===s-1;return up(t,Vx(n,a,c,d),n,e)}function up(t,e,n,r){return!r||!r.setContext||!n?e:Bx(t,e,n,r)}function Bx(t,e,n,r){const s=t._chart.getContext(),i=hp(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,d=[];let u=i,h=e[0].start,f=h;function m(g,p,_,y){const C=l?-1:1;if(g!==p){for(g+=c;n[g%c].skip;)g-=C;for(;n[p%c].skip;)p+=C;g%c!==p%c&&(d.push({start:g%c,end:p%c,loop:_,style:y}),u=y,h=p%c)}}for(const g of e){h=l?h:g.start;let p=n[h%c],_;for(f=h+1;f<=g.end;f++){const y=n[f%c];_=hp(r.setContext(ts(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Ax(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function hp(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Ax(t,e){if(!e)return!1;const n=[],r=function(s,i){return vu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
32
+ */function gr(){}const hC=(()=>{let t=0;return()=>t++})();function Ue(t){return t===null||typeof t>"u"}function st(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function Te(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function lt(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function nn(t,e){return lt(t)?t:e}function Fe(t,e){return typeof t>"u"?e:t}const fC=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ct(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Re(t,e,n,r){let s,i,a;if(st(t))if(i=t.length,r)for(s=i-1;s>=0;s--)e.call(n,t[s],s);else for(s=0;s<i;s++)e.call(n,t[s],s);else if(Te(t))for(a=Object.keys(t),i=a.length,s=0;s<i;s++)e.call(n,t[a[s]],a[s])}function nl(t,e){let n,r,s,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(s=t[n],i=e[n],s.datasetIndex!==i.datasetIndex||s.index!==i.index)return!1;return!0}function rl(t){if(st(t))return t.map(rl);if(Te(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let s=0;for(;s<r;++s)e[n[s]]=rl(t[n[s]]);return e}return t}function $m(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function mC(t,e,n,r){if(!$m(t))return;const s=e[t],i=n[t];Te(s)&&Te(i)?vo(s,i,r):e[t]=rl(i)}function vo(t,e,n){const r=st(e)?e:[e],s=r.length;if(!Te(t))return t;n=n||{};const i=n.merger||mC;let a;for(let l=0;l<s;++l){if(a=r[l],!Te(a))continue;const c=Object.keys(a);for(let d=0,u=c.length;d<u;++d)i(c[d],t,a,n)}return t}function To(t,e){return vo(t,e,{merger:pC})}function pC(t,e,n){if(!$m(t))return;const r=e[t],s=n[t];Te(r)&&Te(s)?To(r,s):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=rl(s))}const Pm={"":t=>t,x:t=>t.x,y:t=>t.y};function gC(t){const e=t.split("."),n=[];let r="";for(const s of e)r+=s,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function _C(t){const e=gC(t);return n=>{for(const r of e){if(r==="")break;n=n&&n[r]}return n}}function sl(t,e){return(Pm[e]||(Pm[e]=_C(e)))(t)}function Cu(t){return t.charAt(0).toUpperCase()+t.slice(1)}const il=t=>typeof t<"u",Jr=t=>typeof t=="function",Lm=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function yC(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Dt=Math.PI,rn=2*Dt,wC=rn+Dt,ol=Number.POSITIVE_INFINITY,bC=Dt/180,sn=Dt/2,Os=Dt/4,Vm=Dt*2/3,Qr=Math.log10,xi=Math.sign;function Do(t,e,n){return Math.abs(t-e)<n}function Nm(t){const e=Math.round(t);t=Do(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(Qr(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function kC(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(n|0)&&e.push(n),e.sort((s,i)=>s-i).pop(),e}function Oo(t){return!isNaN(parseFloat(t))&&isFinite(t)}function CC(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function Bm(t,e,n){let r,s,i;for(r=0,s=t.length;r<s;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function es(t){return t*(Dt/180)}function xu(t){return t*(180/Dt)}function Am(t){if(!lt(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function xC(t,e){const n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*Dt&&(i+=rn),{angle:i,distance:s}}function Mu(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function MC(t,e){return(t-e+wC)%rn-Dt}function on(t){return(t%rn+rn)%rn}function Fm(t,e,n,r){const s=on(t),i=on(e),a=on(n),l=on(i-s),c=on(a-s),d=on(s-i),u=on(s-a);return s===i||s===a||r&&i===a||l>c&&d<u}function _n(t,e,n){return Math.max(e,Math.min(n,t))}function SC(t){return _n(t,-32768,32767)}function Rm(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Su(t,e,n){n=n||(a=>t[a]<e);let r=t.length-1,s=0,i;for(;r-s>1;)i=s+r>>1,n(i)?s=i:r=i;return{lo:s,hi:r}}const Es=(t,e,n,r)=>Su(t,n,r?s=>{const i=t[s][e];return i<n||i===n&&t[s+1][e]===n}:s=>t[s][e]<n),vC=(t,e,n)=>Su(t,n,r=>t[r][e]>=n);function TC(t,e,n){let r=0,s=t.length;for(;r<s&&t[r]<e;)r++;for(;s>r&&t[s-1]>n;)s--;return r>0||s<t.length?t.slice(r,s):t}const Im=["push","pop","shift","splice","unshift"];function DC(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Im.forEach(n=>{const r="_onData"+Cu(n),s=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const a=s.apply(this,i);return t._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),a}})})}function Hm(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,s=r.indexOf(e);s!==-1&&r.splice(s,1),!(r.length>0)&&(Im.forEach(i=>{delete t[i]}),delete t._chartjs)}function OC(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const zm=function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame}();function Ym(t,e){let n=[],r=!1;return function(...s){n=s,r||(r=!0,zm.call(window,()=>{r=!1,t.apply(e,n)}))}}function EC(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const $C=t=>t==="start"?"left":t==="end"?"right":"center",Wm=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2;function PC(t,e,n){const r=e.length;let s=0,i=r;if(t._sorted){const{iScale:a,_parsed:l}=t,c=a.axis,{min:d,max:u,minDefined:h,maxDefined:f}=a.getUserBounds();h&&(s=_n(Math.min(Es(l,c,d).lo,n?r:Es(e,c,a.getPixelForValue(d)).lo),0,r-1)),f?i=_n(Math.max(Es(l,a.axis,u,!0).hi+1,n?0:Es(e,c,a.getPixelForValue(u),!0).hi+1),s,r)-s:i=r-s}return{start:s,count:i}}function LC(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,s={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=s,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,s),i}const al=t=>t===0||t===1,jm=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*rn/n)),Zm=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*rn/n)+1,Eo={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*sn)+1,easeOutSine:t=>Math.sin(t*sn),easeInOutSine:t=>-.5*(Math.cos(Dt*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>al(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>al(t)?t:jm(t,.075,.3),easeOutElastic:t=>al(t)?t:Zm(t,.075,.3),easeInOutElastic(t){return al(t)?t:t<.5?.5*jm(t*2,.1125,.45):.5+.5*Zm(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-Eo.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?Eo.easeInBounce(t*2)*.5:Eo.easeOutBounce(t*2-1)*.5+.5};function vu(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function Um(t){return vu(t)?t:new So(t)}function Tu(t){return vu(t)?t:new So(t).saturate(.5).darken(.1).hexString()}const VC=["x","y","borderWidth","radius","tension"],NC=["color","borderColor","backgroundColor"];function BC(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:NC},numbers:{type:"number",properties:VC}}),t.describe("animations",{_fallback:"animation"}),t.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=>e|0}}}})}function AC(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const qm=new Map;function FC(t,e){e=e||{};const n=t+JSON.stringify(e);let r=qm.get(n);return r||(r=new Intl.NumberFormat(t,e),qm.set(n,r)),r}function Du(t,e,n){return FC(e,n).format(t)}const Gm={values(t){return st(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const r=this.chart.options.locale;let s,i=t;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(s="scientific"),i=RC(t,n)}const a=Qr(Math.abs(i)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:s,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),Du(t,r,c)},logarithmic(t,e,n){if(t===0)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(Qr(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?Gm.numeric.call(this,t,e,n):""}};function RC(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var ll={formatters:Gm};function IC(t){t.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,n)=>n.lineWidth,tickColor:(e,n)=>n.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:ll.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const $s=Object.create(null),Ou=Object.create(null);function $o(t,e){if(!e)return t;const n=e.split(".");for(let r=0,s=n.length;r<s;++r){const i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function Eu(t,e,n){return typeof e=="string"?vo($o(t,e),n):vo($o(t,""),e)}class HC{constructor(e,n){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=r=>r.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=(r,s)=>Tu(s.backgroundColor),this.hoverBorderColor=(r,s)=>Tu(s.borderColor),this.hoverColor=(r,s)=>Tu(s.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(n)}set(e,n){return Eu(this,e,n)}get(e){return $o(this,e)}describe(e,n){return Eu(Ou,e,n)}override(e,n){return Eu($s,e,n)}route(e,n,r,s){const i=$o(this,e),a=$o(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=a[s];return Te(c)?Object.assign({},d,c):Fe(c,d)},set(c){this[l]=c}}})}apply(e){e.forEach(n=>n(this))}}var gt=new HC({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[BC,AC,IC]);function zC(t){return!t||Ue(t.size)||Ue(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function cl(t,e,n,r,s){let i=e[s];return i||(i=e[s]=t.measureText(s).width,n.push(s)),i>r&&(r=i),r}function YC(t,e,n,r){r=r||{};let s=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(s=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const l=n.length;let c,d,u,h,f;for(c=0;c<l;c++)if(h=n[c],h!=null&&!st(h))a=cl(t,s,i,a,h);else if(st(h))for(d=0,u=h.length;d<u;d++)f=h[d],f!=null&&!st(f)&&(a=cl(t,s,i,a,f));t.restore();const m=i.length/2;if(m>n.length){for(c=0;c<m;c++)delete s[i[c]];i.splice(0,m)}return a}function Ps(t,e,n){const r=t.currentDevicePixelRatio,s=n!==0?Math.max(n/2,.5):0;return Math.round((e-s)*r)/r+s}function Km(t,e){e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function $u(t,e,n,r){WC(t,e,n,r,null)}function WC(t,e,n,r,s){let i,a,l,c,d,u,h,f;const m=e.pointStyle,g=e.rotation,p=e.radius;let _=(g||0)*bC;if(m&&typeof m=="object"&&(i=m.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,r),t.rotate(_),t.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),t.restore();return}if(!(isNaN(p)||p<=0)){switch(t.beginPath(),m){default:s?t.ellipse(n,r,s/2,p,0,0,rn):t.arc(n,r,p,0,rn),t.closePath();break;case"triangle":u=s?s/2:p,t.moveTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Vm,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),_+=Vm,t.lineTo(n+Math.sin(_)*u,r-Math.cos(_)*p),t.closePath();break;case"rectRounded":d=p*.516,c=p-d,a=Math.cos(_+Os)*c,h=Math.cos(_+Os)*(s?s/2-d:c),l=Math.sin(_+Os)*c,f=Math.sin(_+Os)*(s?s/2-d:c),t.arc(n-h,r-l,d,_-Dt,_-sn),t.arc(n+f,r-a,d,_-sn,_),t.arc(n+h,r+l,d,_,_+sn),t.arc(n-f,r+a,d,_+sn,_+Dt),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,u=s?s/2:c,t.rect(n-u,r-c,2*u,2*c);break}_+=Os;case"rectRot":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+f,r-a),t.lineTo(n+h,r+l),t.lineTo(n-f,r+a),t.closePath();break;case"crossRot":_+=Os;case"cross":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"star":h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a),_+=Os,h=Math.cos(_)*(s?s/2:p),a=Math.cos(_)*p,l=Math.sin(_)*p,f=Math.sin(_)*(s?s/2:p),t.moveTo(n-h,r-l),t.lineTo(n+h,r+l),t.moveTo(n+f,r-a),t.lineTo(n-f,r+a);break;case"line":a=s?s/2:Math.cos(_)*p,l=Math.sin(_)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(_)*(s?s/2:p),r+Math.sin(_)*p);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function _r(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function Pu(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function Lu(t){t.restore()}function jC(t,e,n,r,s){if(!e)return t.lineTo(n.x,n.y);if(s==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else s==="after"!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function ZC(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function UC(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ue(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function qC(t,e,n,r,s){if(s.strikethrough||s.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,l=e+i.actualBoundingBoxRight,c=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,u=s.strikethrough?(c+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=s.decorationWidth||2,t.moveTo(a,u),t.lineTo(l,u),t.stroke()}}function GC(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function dl(t,e,n,r,s,i={}){const a=st(e)?e:[e],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(t.save(),t.font=s.string,UC(t,i),c=0;c<a.length;++c)d=a[c],i.backdrop&&GC(t,i.backdrop),l&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ue(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(d,n,r,i.maxWidth)),t.fillText(d,n,r,i.maxWidth),qC(t,n,r,d,i),r+=Number(s.lineHeight);t.restore()}function Vu(t,e){const{x:n,y:r,w:s,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*Dt,Dt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,Dt,sn,!0),t.lineTo(n+s-a.bottomRight,r+i),t.arc(n+s-a.bottomRight,r+i-a.bottomRight,a.bottomRight,sn,0,!0),t.lineTo(n+s,r+a.topRight),t.arc(n+s-a.topRight,r+a.topRight,a.topRight,0,-sn,!0),t.lineTo(n+a.topLeft,r)}const KC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,XC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function JC(t,e){const n=(""+t).match(KC);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const QC=t=>+t||0;function Xm(t,e){const n={},r=Te(e),s=r?Object.keys(e):e,i=Te(t)?r?a=>Fe(t[a],t[e[a]]):a=>t[a]:()=>t;for(const a of s)n[a]=QC(i(a));return n}function ex(t){return Xm(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Po(t){return Xm(t,["topLeft","topRight","bottomLeft","bottomRight"])}function yn(t){const e=ex(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function an(t,e){t=t||{},e=e||gt.font;let n=Fe(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let r=Fe(t.style,e.style);r&&!(""+r).match(XC)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const s={family:Fe(t.family,e.family),lineHeight:JC(Fe(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:Fe(t.weight,e.weight),string:""};return s.string=zC(s),s}function ul(t,e,n,r){let s=!0,i,a,l;for(i=0,a=t.length;i<a;++i)if(l=t[i],l!==void 0&&(e!==void 0&&typeof l=="function"&&(l=l(e),s=!1),n!==void 0&&st(l)&&(l=l[n%l.length],s=!1),l!==void 0))return r&&!s&&(r.cacheable=!1),l}function tx(t,e,n){const{min:r,max:s}=t,i=fC(e,(s-r)/2),a=(l,c)=>n&&l===0?0:l+c;return{min:a(r,-Math.abs(i)),max:a(s,i)}}function ts(t,e){return Object.assign(Object.create(t),e)}function Nu(t,e=[""],n,r,s=()=>t[0]){const i=n||t;typeof r>"u"&&(r=np("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:r,_getTarget:s,override:l=>Nu([l,...t],e,i,r)};return new Proxy(a,{deleteProperty(l,c){return delete l[c],delete l._keys,delete t[0][c],!0},get(l,c){return Qm(l,c,()=>cx(c,e,t,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(l,c){return rp(l).includes(c)},ownKeys(l){return rp(l)},set(l,c,d){const u=l._storage||(l._storage=s());return l[c]=u[c]=d,delete l._keys,!0}})}function Mi(t,e,n,r){const s={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Jm(t,r),setContext:i=>Mi(t,i,n,r),override:i=>Mi(t.override(i),e,n,r)};return new Proxy(s,{deleteProperty(i,a){return delete i[a],delete t[a],!0},get(i,a,l){return Qm(i,a,()=>rx(i,a,l))},getOwnPropertyDescriptor(i,a){return i._descriptors.allKeys?Reflect.has(t,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,a)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,a){return Reflect.has(t,a)},ownKeys(){return Reflect.ownKeys(t)},set(i,a,l){return t[a]=l,delete i[a],!0}})}function Jm(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:s=e.allKeys}=t;return{allKeys:s,scriptable:n,indexable:r,isScriptable:Jr(n)?n:()=>n,isIndexable:Jr(r)?r:()=>r}}const nx=(t,e)=>t?t+Cu(e):e,Bu=(t,e)=>Te(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function Qm(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function rx(t,e,n){const{_proxy:r,_context:s,_subProxy:i,_descriptors:a}=t;let l=r[e];return Jr(l)&&a.isScriptable(e)&&(l=sx(e,l,t,n)),st(l)&&l.length&&(l=ix(e,l,t,a.isIndexable)),Bu(e,l)&&(l=Mi(l,s,i&&i[e],a)),l}function sx(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_stack:l}=n;if(l.has(t))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(i,a||r);return l.delete(t),Bu(t,c)&&(c=Au(s._scopes,s,t,c)),c}function ix(t,e,n,r){const{_proxy:s,_context:i,_subProxy:a,_descriptors:l}=n;if(typeof i.index<"u"&&r(t))return e[i.index%e.length];if(Te(e[0])){const c=e,d=s._scopes.filter(u=>u!==c);e=[];for(const u of c){const h=Au(d,s,t,u);e.push(Mi(h,i,a&&a[t],l))}}return e}function ep(t,e,n){return Jr(t)?t(e,n):t}const ox=(t,e)=>t===!0?e:typeof t=="string"?sl(e,t):void 0;function ax(t,e,n,r,s){for(const i of e){const a=ox(n,i);if(a){t.add(a);const l=ep(a._fallback,n,s);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function Au(t,e,n,r){const s=e._rootScopes,i=ep(e._fallback,n,r),a=[...t,...s],l=new Set;l.add(r);let c=tp(l,a,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=tp(l,a,i,c,r),c===null)?!1:Nu(Array.from(l),[""],s,i,()=>lx(e,n,r))}function tp(t,e,n,r,s){for(;n;)n=ax(t,e,n,r,s);return n}function lx(t,e,n){const r=t._getTarget();e in r||(r[e]={});const s=r[e];return st(s)&&Te(n)?n:s||{}}function cx(t,e,n,r){let s;for(const i of e)if(s=np(nx(i,t),n),typeof s<"u")return Bu(t,s)?Au(n,r,t,s):s}function np(t,e){for(const n of e){if(!n)continue;const r=n[t];if(typeof r<"u")return r}}function rp(t){let e=t._keys;return e||(e=t._keys=dx(t._scopes)),e}function dx(t){const e=new Set;for(const n of t)for(const r of Object.keys(n).filter(s=>!s.startsWith("_")))e.add(r);return Array.from(e)}const ux=Number.EPSILON||1e-14,Si=(t,e)=>e<t.length&&!t[e].skip&&t[e],sp=t=>t==="x"?"y":"x";function hx(t,e,n,r){const s=t.skip?e:t,i=e,a=n.skip?e:n,l=Mu(i,s),c=Mu(a,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const h=r*d,f=r*u;return{previous:{x:i.x-h*(a.x-s.x),y:i.y-h*(a.y-s.y)},next:{x:i.x+f*(a.x-s.x),y:i.y+f*(a.y-s.y)}}}function fx(t,e,n){const r=t.length;let s,i,a,l,c,d=Si(t,0);for(let u=0;u<r-1;++u)if(c=d,d=Si(t,u+1),!(!c||!d)){if(Do(e[u],0,ux)){n[u]=n[u+1]=0;continue}s=n[u]/e[u],i=n[u+1]/e[u],l=Math.pow(s,2)+Math.pow(i,2),!(l<=9)&&(a=3/Math.sqrt(l),n[u]=s*a*e[u],n[u+1]=i*a*e[u])}}function mx(t,e,n="x"){const r=sp(n),s=t.length;let i,a,l,c=Si(t,0);for(let d=0;d<s;++d){if(a=l,l=c,c=Si(t,d+1),!l)continue;const u=l[n],h=l[r];a&&(i=(u-a[n])/3,l[`cp1${n}`]=u-i,l[`cp1${r}`]=h-i*e[d]),c&&(i=(c[n]-u)/3,l[`cp2${n}`]=u+i,l[`cp2${r}`]=h+i*e[d])}}function px(t,e="x"){const n=sp(e),r=t.length,s=Array(r).fill(0),i=Array(r);let a,l,c,d=Si(t,0);for(a=0;a<r;++a)if(l=c,c=d,d=Si(t,a+1),!!c){if(d){const u=d[e]-c[e];s[a]=u!==0?(d[n]-c[n])/u:0}i[a]=l?d?xi(s[a-1])!==xi(s[a])?0:(s[a-1]+s[a])/2:s[a-1]:s[a]}fx(t,s,i),mx(t,i,e)}function hl(t,e,n){return Math.max(Math.min(t,n),e)}function gx(t,e){let n,r,s,i,a,l=_r(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=l,l=n<r-1&&_r(t[n+1],e),i&&(s=t[n],a&&(s.cp1x=hl(s.cp1x,e.left,e.right),s.cp1y=hl(s.cp1y,e.top,e.bottom)),l&&(s.cp2x=hl(s.cp2x,e.left,e.right),s.cp2y=hl(s.cp2y,e.top,e.bottom)))}function _x(t,e,n,r,s){let i,a,l,c;if(e.spanGaps&&(t=t.filter(d=>!d.skip)),e.cubicInterpolationMode==="monotone")px(t,s);else{let d=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=t[i],c=hx(d,l,t[Math.min(i+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}e.capBezierPoints&&gx(t,n)}function Fu(){return typeof window<"u"&&typeof document<"u"}function Ru(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function fl(t,e,n){let r;return typeof t=="string"?(r=parseInt(t,10),t.indexOf("%")!==-1&&(r=r/100*e.parentNode[n])):r=t,r}const ml=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function yx(t,e){return ml(t).getPropertyValue(e)}const wx=["top","right","bottom","left"];function Ls(t,e,n){const r={};n=n?"-"+n:"";for(let s=0;s<4;s++){const i=wx[s];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const bx=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function kx(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:s,offsetY:i}=r;let a=!1,l,c;if(bx(s,i,t.target))l=s,c=i;else{const d=e.getBoundingClientRect();l=r.clientX-d.left,c=r.clientY-d.top,a=!0}return{x:l,y:c,box:a}}function Vs(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,s=ml(n),i=s.boxSizing==="border-box",a=Ls(s,"padding"),l=Ls(s,"border","width"),{x:c,y:d,box:u}=kx(t,n),h=a.left+(u&&l.left),f=a.top+(u&&l.top);let{width:m,height:g}=e;return i&&(m-=a.width+l.width,g-=a.height+l.height),{x:Math.round((c-h)/m*n.width/r),y:Math.round((d-f)/g*n.height/r)}}function Cx(t,e,n){let r,s;if(e===void 0||n===void 0){const i=Ru(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const a=i.getBoundingClientRect(),l=ml(i),c=Ls(l,"border","width"),d=Ls(l,"padding");e=a.width-d.width-c.width,n=a.height-d.height-c.height,r=fl(l.maxWidth,i,"clientWidth"),s=fl(l.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:r||ol,maxHeight:s||ol}}const pl=t=>Math.round(t*10)/10;function xx(t,e,n,r){const s=ml(t),i=Ls(s,"margin"),a=fl(s.maxWidth,t,"clientWidth")||ol,l=fl(s.maxHeight,t,"clientHeight")||ol,c=Cx(t,e,n);let{width:d,height:u}=c;if(s.boxSizing==="content-box"){const f=Ls(s,"border","width"),m=Ls(s,"padding");d-=m.width+f.width,u-=m.height+f.height}return d=Math.max(0,d-i.width),u=Math.max(0,r?d/r:u-i.height),d=pl(Math.min(d,a,c.maxWidth)),u=pl(Math.min(u,l,c.maxHeight)),d&&!u&&(u=pl(d/2)),(e!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=pl(Math.floor(u*r))),{width:d,height:u}}function ip(t,e,n){const r=e||1,s=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),t.currentDevicePixelRatio!==r||a.height!==s||a.width!==i?(t.currentDevicePixelRatio=r,a.height=s,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0):!1}const Mx=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Fu()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t}();function op(t,e){const n=yx(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ns(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function Sx(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:r==="middle"?n<.5?t.y:e.y:r==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function vx(t,e,n,r){const s={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=Ns(t,s,n),l=Ns(s,i,n),c=Ns(i,e,n),d=Ns(a,l,n),u=Ns(l,c,n);return Ns(d,u,n)}const Tx=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},Dx=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function Iu(t,e,n){return t?Tx(e,n):Dx()}function Ox(t,e){let n,r;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Ex(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function ap(t){return t==="angle"?{between:Fm,compare:MC,normalize:on}:{between:Rm,compare:(e,n)=>e-n,normalize:e=>e}}function lp({start:t,end:e,count:n,loop:r,style:s}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:s}}function $x(t,e,n){const{property:r,start:s,end:i}=n,{between:a,normalize:l}=ap(r),c=e.length;let{start:d,end:u,loop:h}=t,f,m;if(h){for(d+=c,u+=c,f=0,m=c;f<m&&a(l(e[d%c][r]),s,i);++f)d--,u--;d%=c,u%=c}return u<d&&(u+=c),{start:d,end:u,loop:h,style:t.style}}function cp(t,e,n){if(!n)return[t];const{property:r,start:s,end:i}=n,a=e.length,{compare:l,between:c,normalize:d}=ap(r),{start:u,end:h,loop:f,style:m}=$x(t,e,n),g=[];let p=!1,_=null,y,C,k;const v=()=>c(s,k,y)&&l(s,k)!==0,M=()=>l(i,y)===0||c(i,k,y),T=()=>p||v(),S=()=>!p||M();for(let O=u,E=u;O<=h;++O)C=e[O%a],!C.skip&&(y=d(C[r]),y!==k&&(p=c(y,s,i),_===null&&T()&&(_=l(y,s)===0?O:E),_!==null&&S()&&(g.push(lp({start:_,end:O,loop:f,count:a,style:m})),_=null),E=O,k=y));return _!==null&&g.push(lp({start:_,end:h,loop:f,count:a,style:m})),g}function dp(t,e){const n=[],r=t.segments;for(let s=0;s<r.length;s++){const i=cp(r[s],t.points,e);i.length&&n.push(...i)}return n}function Px(t,e,n,r){let s=0,i=e-1;if(n&&!r)for(;s<e&&!t[s].skip;)s++;for(;s<e&&t[s].skip;)s++;for(s%=e,n&&(i+=s);i>s&&t[i%e].skip;)i--;return i%=e,{start:s,end:i}}function Lx(t,e,n,r){const s=t.length,i=[];let a=e,l=t[e],c;for(c=e+1;c<=n;++c){const d=t[c%s];d.skip||d.stop?l.skip||(r=!1,i.push({start:e%s,end:(c-1)%s,loop:r}),e=a=d.stop?c:null):(a=c,l.skip&&(e=c)),l=d}return a!==null&&i.push({start:e%s,end:a%s,loop:r}),i}function Vx(t,e){const n=t.points,r=t.options.spanGaps,s=n.length;if(!s)return[];const i=!!t._loop,{start:a,end:l}=Px(n,s,i,r);if(r===!0)return up(t,[{start:a,end:l,loop:i}],n,e);const c=l<a?l+s:l,d=!!t._fullLoop&&a===0&&l===s-1;return up(t,Lx(n,a,c,d),n,e)}function up(t,e,n,r){return!r||!r.setContext||!n?e:Nx(t,e,n,r)}function Nx(t,e,n,r){const s=t._chart.getContext(),i=hp(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,d=[];let u=i,h=e[0].start,f=h;function m(g,p,_,y){const C=l?-1:1;if(g!==p){for(g+=c;n[g%c].skip;)g-=C;for(;n[p%c].skip;)p+=C;g%c!==p%c&&(d.push({start:g%c,end:p%c,loop:_,style:y}),u=y,h=p%c)}}for(const g of e){h=l?h:g.start;let p=n[h%c],_;for(f=h+1;f<=g.end;f++){const y=n[f%c];_=hp(r.setContext(ts(s,{type:"segment",p0:p,p1:y,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:a}))),Bx(_,u)&&m(h,f-1,g.loop,u),p=y,u=_}h<f-1&&m(h,f-1,g.loop,u)}return d}function hp(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Bx(t,e){if(!e)return!1;const n=[],r=function(s,i){return vu(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,r)!==JSON.stringify(e,r)}/*!
33
33
  * Chart.js v4.4.2
34
34
  * https://www.chartjs.org
35
35
  * (c) 2024 Chart.js Contributors
36
36
  * Released under the MIT License
37
- */class Fx{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,s){const i=n.listeners[s],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=zm.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,s)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,c;for(;a>=0;--a)c=i[a],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(s.draw(),this._notify(s,r,e,"progress")),i.length||(r.running=!1,this._notify(s,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,s)=>Math.max(r,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let s=r.length-1;for(;s>=0;--s)r[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var yr=new Fx;const fp="transparent",Rx={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=Um(t||fp),s=r.valid&&Um(e||fp);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Ix{constructor(e,n,r,s){const i=n[r];s=ul([e.to,s,i,e.from]);const a=ul([e.from,i,s]);this._active=!0,this._fn=e.fn||Rx[e.type||typeof a],this._easing=Eo[e.easing]||Eo.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const s=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=ul([e.to,n,s,e.from]),this._from=ul([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,s=this._prop,i=this._from,a=this._loop,l=this._to;let c;if(this._active=i!==l&&(a||n<r),!this._active){this._target[s]=l,this._notify(!0);return}if(n<0){this._target[s]=i;return}c=n/r%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[s]=this._fn(i,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let s=0;s<r.length;s++)r[s][n]()}}class mp{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Te(e))return;const n=Object.keys(gt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!Te(i))return;const a={};for(const l of n)a[l]=i[l];(st(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=zx(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&Hx(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,s=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[d];let h=i[d];const f=r.get(d);if(h)if(f&&h.active()){h.update(f,u,l);continue}else h.cancel();if(!f||!f.duration){e[d]=u;continue}i[d]=h=new Ix(f,e,d,u),s.push(h)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return yr.add(this._chart,r),!0}}function Hx(t,e){const n=[],r=Object.keys(e);for(let s=0;s<r.length;s++){const i=t[r[s]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function zx(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function pp(t,e){const n=t&&t.options||{},r=n.reverse,s=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:s,end:r?s:i}}function Yx(t,e,n){if(n===!1)return!1;const r=pp(t,n),s=pp(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function Wx(t){let e,n,r,s;return Te(t)?(e=t.top,n=t.right,r=t.bottom,s=t.left):e=n=r=s=t,{top:e,right:n,bottom:r,left:s,disabled:t===!1}}function gp(t,e){const n=[],r=t._getSortedDatasetMetas(e);let s,i;for(s=0,i=r.length;s<i;++s)n.push(r[s].index);return n}function _p(t,e,n,r={}){const s=t.keys,i=r.mode==="single";let a,l,c,d;if(e!==null){for(a=0,l=s.length;a<l;++a){if(c=+s[a],c===n){if(r.all)continue;break}d=t.values[c],lt(d)&&(i||e===0||xi(e)===xi(d))&&(e+=d)}return e}}function jx(t){const e=Object.keys(t),n=new Array(e.length);let r,s,i;for(r=0,s=e.length;r<s;++r)i=e[r],n[r]={x:i,y:t[i]};return n}function yp(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function Zx(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Ux(t){const{min:e,max:n,minDefined:r,maxDefined:s}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function qx(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function wp(t,e,n,r){for(const s of e.getMatchingVisibleMetas(r).reverse()){const i=t[s.index];if(n&&i>0||!n&&i<0)return s.index}return null}function bp(t,e){const{chart:n,_cachedMeta:r}=t,s=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,c=i.axis,d=a.axis,u=Zx(i,a,r),h=e.length;let f;for(let m=0;m<h;++m){const g=e[m],{[c]:p,[d]:_}=g,y=g._stacks||(g._stacks={});f=y[d]=qx(s,u,p),f[l]=_,f._top=wp(f,a,!0,r.type),f._bottom=wp(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Hu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function Gx(t,e){return ts(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Kx(t,e,n){return ts(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Lo(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const s of e){const i=s._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const zu=t=>t==="reset"||t==="none",kp=(t,e)=>e?t:Object.assign({},t),Xx=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:gp(n,!0),values:null};class Vo{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,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=yp(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&&Lo(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),s=(h,f,m,g)=>h==="x"?f:h==="r"?g:m,i=n.xAxisID=Fe(r.xAxisID,Hu(e,"x")),a=n.yAxisID=Fe(r.yAxisID,Hu(e,"y")),l=n.rAxisID=Fe(r.rAxisID,Hu(e,"r")),c=n.indexAxis,d=n.iAxisID=s(c,i,a,l),u=n.vAxisID=s(c,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}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 n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Hm(this._data,this),e._stacked&&Lo(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(Te(n))this._data=jx(n);else if(r!==n){if(r){Hm(r,this);const s=this._cachedMeta;Lo(s),s._parsed=[]}n&&Object.isExtensible(n)&&OC(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let s=!1;this._dataCheck();const i=n._stacked;n._stacked=yp(n.vScale,n),n.stack!==r.stack&&(s=!0,Lo(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&bp(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:s}=this,{iScale:i,_stacked:a}=r,l=i.axis;let c=e===0&&n===s.length?!0:r._sorted,d=e>0&&r._parsed[e-1],u,h,f;if(this._parsing===!1)r._parsed=s,r._sorted=!0,f=s;else{st(s[e])?f=this.parseArrayData(r,s,e,n):Te(s[e])?f=this.parseObjectData(r,s,e,n):f=this.parsePrimitiveData(r,s,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<n;++u)r._parsed[u+e]=h=f[u],c&&(m()&&(c=!1),d=h);r._sorted=c}a&&bp(this,f)}parsePrimitiveData(e,n,r,s){const{iScale:i,vScale:a}=e,l=i.axis,c=a.axis,d=i.getLabels(),u=i===a,h=new Array(s);let f,m,g;for(f=0,m=s;f<m;++f)g=f+r,h[f]={[l]:u||i.parse(d[g],g),[c]:a.parse(n[g],g)};return h}parseArrayData(e,n,r,s){const{xScale:i,yScale:a}=e,l=new Array(s);let c,d,u,h;for(c=0,d=s;c<d;++c)u=c+r,h=n[u],l[c]={x:i.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,n,r,s){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(s);let u,h,f,m;for(u=0,h=s;u<h;++u)f=u+r,m=n[f],d[u]={x:i.parse(sl(m,l),f),y:a.parse(sl(m,c),f)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const s=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:gp(s,!0),values:n._stacks[e.axis]._visualValues};return _p(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,s){const i=r[n.axis];let a=i===null?NaN:i;const l=s&&r._stacks[n.axis];s&&l&&(s.values=l,a=_p(s,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,s=r._parsed,i=r._sorted&&e===r.iScale,a=s.length,l=this._getOtherScale(e),c=Xx(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Ux(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!lt(m[e.axis])||u>p||h<p}for(f=0;f<a&&!(!g()&&(this.updateRangeFromParsed(d,e,m,c),i));++f);if(i){for(f=a-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(d,e,m,c);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let s,i,a;for(s=0,i=n.length;s<i;++s)a=n[s][e.axis],lt(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,s=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:s?""+s.getLabelForValue(i[s.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=Wx(Fe(this.options.clip,Yx(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,s=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||s.length-l,d=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(e,i,l,c),u=l;u<l+c;++u){const h=s[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(u=0;u<a.length;++u)a[u].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const s=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=Kx(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=s.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=Gx(this.chart.getContext(),this.index)),i.dataset=s,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const s=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],c=this.enableOptionSharing&&il(r);if(l)return kp(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=s?[`${e}Hover`,"hover",e,""]:[e,""],f=d.getOptionScopes(this.getDataset(),u),m=Object.keys(gt.elements[e]),g=()=>this.getContext(r,s,n),p=d.resolveNamedOptions(f,m,g,h);return p.$shared&&(p.$shared=c,i[a]=Object.freeze(kp(p,c))),p}_resolveAnimations(e,n,r){const s=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let c;if(s.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(f,this.getContext(e,r,n))}const d=new mp(s,c&&c.animations);return c&&c._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||zu(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),s=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==s;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,s){zu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!zu(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"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 n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&Lo(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}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,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Vo,"defaults",{}),W(Vo,"datasetElementType",null),W(Vo,"dataElementType",null);class gl extends Vo{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=LC(n,s,a);this._drawStart=l,this._drawCount=c,VC(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=Oo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let v=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const T=e[M],S=y?T:{};if(M<n||M>=C){S.skip=!0;continue}const O=this.getParsed(M),E=Ue(O[m]),I=S[f]=a.getPixelForValue(O[f],M),j=S[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,O,c):O[m],M);S.skip=isNaN(I)||isNaN(j)||E,S.stop=M>0&&Math.abs(O[f]-v[f])>_,p&&(S.parsed=O,S.raw=d.data[M]),h&&(S.options=u||this.resolveDataElementOptions(M,T.active?"active":s)),y||this.updateElement(T,M,S,s),v=O}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(gl,"id","line"),W(gl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(gl,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Bs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Yu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Yu.prototype,e)}init(){}formats(){return Bs()}parse(){return Bs()}format(){return Bs()}add(){return Bs()}diff(){return Bs()}startOf(){return Bs()}endOf(){return Bs()}}var Jx={_date:Yu};function Qx(t,e,n,r){const{controller:s,data:i,_sorted:a}=t,l=s._cachedMeta.iScale;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const c=l._reversePixels?TC:Es;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function No(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=Qx(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function eM(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,s){const i=e?Math.abs(r.x-s.x):0,a=n?Math.abs(r.y-s.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function Wu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||No(t,n,e,function(l,c,d){!s&&!_r(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function tM(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=MC(a,{x:e.x,y:e.y});Fm(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return No(t,n,e,i),s}function nM(t,e,n,r,s,i){let a=[];const l=eM(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return No(t,n,e,d),a}function ju(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?tM(t,e,n,s):nM(t,e,n,r,s,i)}function Cp(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return No(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var rM={evaluateInteractionItems:No,modes:{index(t,e,n,r){const s=Vs(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Wu(t,s,i,r,a):ju(t,s,i,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Wu(t,s,i,r,a):ju(t,s,i,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,d=t.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Wu(t,s,i,r,a)},nearest(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return ju(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Vs(e,t);return Cp(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Vs(e,t);return Cp(t,s,"y",n.intersect,r)}}};const xp=["left","top","right","bottom"];function Bo(t,e){return t.filter(n=>n.pos===e)}function Mp(t,e){return t.filter(n=>xp.indexOf(n.pos)===-1&&n.box.axis===e)}function Ao(t,e){return t.sort((n,r)=>{const s=e?r:n,i=e?n:r;return s.weight===i.weight?s.index-i.index:s.weight-i.weight})}function sM(t){const e=[];let n,r,s,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)s=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=s,e.push({index:n,box:s,pos:i,horizontal:s.isHorizontal(),weight:s.weight,stack:a&&i+a,stackWeight:l});return e}function iM(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!xp.includes(s))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function oM(t,e){const n=iM(t),{vBoxMaxWidth:r,hBoxMaxHeight:s}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&e.availableWidth,l.height=s):(l.width=r,l.height=u?u*s:c&&e.availableHeight)}return n}function aM(t){const e=sM(t),n=Ao(e.filter(d=>d.box.fullSize),!0),r=Ao(Bo(e,"left"),!0),s=Ao(Bo(e,"right")),i=Ao(Bo(e,"top"),!0),a=Ao(Bo(e,"bottom")),l=Mp(e,"x"),c=Mp(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:Bo(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function Sp(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function vp(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function lM(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!Te(s)){n.size&&(t[s]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[s]+=n.size}i.getPadding&&vp(a,i.getPadding());const l=Math.max(0,e.outerWidth-Sp(a,t,"left","right")),c=Math.max(0,e.outerHeight-Sp(a,t,"top","bottom")),d=l!==t.w,u=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:d,other:u}:{same:u,other:d}}function cM(t){const e=t.maxPadding;function n(r){const s=Math.max(e[r]-t[r],0);return t[r]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function dM(t,e){const n=e.maxPadding;function r(s){const i={left:0,top:0,right:0,bottom:0};return s.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Fo(t,e,n,r){const s=[];let i,a,l,c,d,u;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],c=l.box,c.update(l.width||e.w,l.height||e.h,dM(l.horizontal,e));const{same:h,other:f}=lM(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Fo(s,e,n,r)||u}function _l(t,e,n,r,s){t.top=n,t.left=e,t.right=e+r,t.bottom=n+s,t.width=r,t.height=s}function Tp(t,e,n,r){const s=n.padding;let{x:i,y:a}=e;for(const l of t){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;il(d.start)&&(a=d.start),c.fullSize?_l(c,s.left,a,n.outerWidth-s.right-s.left,f):_l(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;il(d.start)&&(i=d.start),c.fullSize?_l(c,i,s.top,f,n.outerHeight-s.bottom-s.top):_l(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var yl={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const s=yn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=aM(t.boxes),c=l.vertical,d=l.horizontal;Re(t.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=c.reduce((p,_)=>_.box.options&&_.box.options.display===!1?p:p+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},s);vp(f,yn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=oM(c.concat(d),h);Fo(l.fullSize,m,h,g),Fo(c,m,h,g),Fo(d,m,h,g)&&Fo(c,m,h,g),cM(m),Tp(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,Tp(l.rightAndBottom,m,h,g),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Re(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class Dp{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,s){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):r)}}isAttached(e){return!0}updateConfig(e){}}class uM extends Dp{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const wl="$chartjs",hM={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Op=t=>t===null||t==="";function fM(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[wl]={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Op(s)){const i=op(t,"width");i!==void 0&&(t.width=i)}if(Op(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=op(t,"height");i!==void 0&&(t.height=i)}return t}const Ep=Sx?{passive:!0}:!1;function mM(t,e,n){t&&t.addEventListener(e,n,Ep)}function pM(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Ep)}function gM(t,e){const n=hM[t.type]||t.type,{x:r,y:s}=Vs(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function bl(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function _M(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||bl(l.addedNodes,r),a=a&&!bl(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function yM(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||bl(l.removedNodes,r),a=a&&!bl(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Ro=new Map;let $p=0;function Pp(){const t=window.devicePixelRatio;t!==$p&&($p=t,Ro.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function wM(t,e){Ro.size||window.addEventListener("resize",Pp),Ro.set(t,e)}function bM(t){Ro.delete(t),Ro.size||window.removeEventListener("resize",Pp)}function kM(t,e,n){const r=t.canvas,s=r&&Ru(r);if(!s)return;const i=Ym((l,c)=>{const d=s.clientWidth;n(l,c),d<s.clientWidth&&n()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||i(d,u)});return a.observe(s),wM(t,i),a}function Zu(t,e,n){n&&n.disconnect(),e==="resize"&&bM(t)}function CM(t,e,n){const r=t.canvas,s=Ym(i=>{t.ctx!==null&&n(gM(i,t))},t);return mM(r,e,s),s}class xM extends Dp{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(fM(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[wl])return!1;const r=n[wl].initial;["height","width"].forEach(i=>{const a=r[i];Ue(a)?n.removeAttribute(i):n.setAttribute(i,a)});const s=r.style||{};return Object.keys(s).forEach(i=>{n.style[i]=s[i]}),n.width=n.width,delete n[wl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:_M,detach:yM,resize:kM}[n]||CM;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Zu,detach:Zu,resize:Zu}[n]||pM)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return Mx(e,n,r,s)}isAttached(e){const n=Ru(e);return!!(n&&n.isConnected)}}function MM(t){return!Fu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?uM:xM}class As{constructor(){W(this,"x");W(this,"y");W(this,"active",!1);W(this,"options");W(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Oo(this.x)&&Oo(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const s={};return e.forEach(i=>{s[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),s}}W(As,"defaults",{}),W(As,"defaultRoutes");function SM(t,e){const n=t.options.ticks,r=vM(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?DM(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return OM(e,d,i,a/s),d;const u=TM(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(kl(e,d,u,Ue(m)?0:l-m,l),h=0,f=a-1;h<f;h++)kl(e,d,u,i[h],i[h+1]);return kl(e,d,u,c,Ue(m)?e.length:c+m),d}return kl(e,d,u),d}function vM(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(r,s))}function TM(t,e,n){const r=EM(t),s=e.length/n;if(!r)return Math.max(s,1);const i=CC(r);for(let a=0,l=i.length-1;a<l;a++){const c=i[a];if(c>s)return c}return Math.max(s,1)}function DM(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function OM(t,e,n,r){let s=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),s++,i=n[s*r])}function kl(t,e,n,r,s){const i=Fe(r,0),a=Math.min(Fe(s,t.length),t.length);let l=0,c,d,u;for(n=Math.ceil(n),s&&(c=s-r,n=c/Math.floor(c/n)),u=i;u<0;)l++,u=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===u&&(e.push(t[d]),l++,u=Math.round(i+l*n))}function EM(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const $M=t=>t==="left"?"right":t==="right"?"left":t,Lp=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Vp=(t,e)=>Math.min(e||t,t);function Np(t,e){const n=[],r=t.length/e,s=t.length;let i=0;for(;i<s;i+=r)n.push(t[Math.floor(i)]);return n}function PM(t,e,n){const r=t.ticks.length,s=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let c=t.getPixelForTick(s),d;if(!(n&&(r===1?d=Math.max(c-i,a-c):e===0?d=(t.getPixelForTick(1)-c)/2:d=(c-t.getPixelForTick(s-1))/2,c+=s<e?d:-d,c<i-l||c>a+l)))return c}function LM(t,e){Re(t,n=>{const r=n.gc,s=r.length/2;let i;if(s>e){for(i=0;i<s;++i)delete n.data[r[i]];r.splice(0,s)}})}function Io(t){return t.drawTicks?t.tickLength:0}function Bp(t,e){if(!t.display)return 0;const n=an(t.font,e),r=yn(t.padding);return(st(t.text)?t.text.length:1)*n.lineHeight+r.height}function VM(t,e){return ts(t,{scale:e,type:"scale"})}function NM(t,e,n){return ts(t,{tick:n,index:e,type:"tick"})}function BM(t,e,n){let r=PC(t);return(n&&e!=="right"||!n&&e==="right")&&(r=$M(r)),r}function AM(t,e,n,r){const{top:s,left:i,bottom:a,right:l,chart:c}=t,{chartArea:d,scales:u}=c;let h=0,f,m,g;const p=a-s,_=l-i;if(t.isHorizontal()){if(m=Wm(r,i,l),Te(n)){const y=Object.keys(n)[0],C=n[y];g=u[y].getPixelForValue(C)+p-e}else n==="center"?g=(d.bottom+d.top)/2+p-e:g=Lp(t,n,e);f=l-i}else{if(Te(n)){const y=Object.keys(n)[0],C=n[y];m=u[y].getPixelForValue(C)-_+e}else n==="center"?m=(d.left+d.right)/2-_+e:m=Lp(t,n,e);g=Wm(r,a,s),h=n==="left"?-sn:sn}return{titleX:m,titleY:g,maxWidth:f,rotation:h}}class Fs extends As{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,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:s}=this;return e=nn(e,Number.POSITIVE_INFINITY),n=nn(n,Number.NEGATIVE_INFINITY),r=nn(r,Number.POSITIVE_INFINITY),s=nn(s,Number.NEGATIVE_INFINITY),{min:nn(e,r),max:nn(n,s),minDefined:lt(e),maxDefined:lt(n)}}getMinMax(e){let{min:n,max:r,minDefined:s,maxDefined:i}=this.getUserBounds(),a;if(s&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),s||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=s&&n>r?n:r,{min:nn(n,nn(r,n)),max:nn(r,nn(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(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ct(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:s,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=nx(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?Np(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=SM(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ct(this.options.afterUpdate,[this])}beforeSetDimensions(){ct(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(){ct(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ct(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ct(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,s,i;for(r=0,s=e.length;r<s;r++)i=e[r],i.label=ct(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){ct(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ct(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Vp(this.ticks.length,e.ticks.maxTicksLimit),s=n.minRotation||0,i=n.maxRotation;let a=s,l,c,d;if(!this._isVisible()||!n.display||s>=i||r<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,m=_n(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),c=this.maxHeight-Io(e.grid)-n.padding-Bp(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=xu(Math.min(Math.asin(_n((u.highest.height+6)/l,-1,1)),Math.asin(_n(c/d,-1,1))-Math.asin(_n(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){ct(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ct(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:s,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=Bp(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=Io(i)+c):(e.height=this.maxHeight,e.width=Io(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=es(this.labelRotation),p=Math.cos(g),_=Math.sin(g);if(l){const y=r.mirror?0:_*h.width+p*f.height;e.height=Math.min(this.maxHeight,e.height+y+m)}else{const y=r.mirror?0:p*h.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+y+m)}this._calculatePadding(d,u,_,p)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,s){const{ticks:{align:i,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,m=0;c?d?(f=s*e.width,m=r*n.height):(f=r*e.height,m=s*n.width):i==="start"?m=n.width:i==="end"?f=e.width:i!=="inner"&&(f=e.width/2,m=n.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let u=n.height/2,h=e.height/2;i==="start"?(u=0,h=e.height):i==="end"&&(u=n.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_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(){ct(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ue(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Np(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:s,_longestTextCache:i}=this,a=[],l=[],c=Math.floor(n/Vp(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,v,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=v=0,!Ue(g)&&!st(g))k=cl(s,y.data,y.gc,k,g),v=C;else if(st(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ue(M)&&!st(M)&&(k=cl(s,y.data,y.gc,k,M),v+=C);a.push(k),l.push(v),d=Math.max(k,d),u=Math.max(v,u)}LM(i,n);const T=a.indexOf(d),S=l.indexOf(u),O=E=>({width:a[E]||0,height:l[E]||0});return{first:O(0),last:O(n-1),widest:O(T),highest:O(S),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return vC(this._alignToPixels?Ps(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=NM(this.getContext(),e,r))}return this.$context||(this.$context=VM(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=es(this.labelRotation),r=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,c=i?i.highest.height+a:0;return this.isHorizontal()?c*r>l*s?l/r:c/s:c*s<l*r?c/r:l/s}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,s=this.options,{grid:i,position:a,border:l}=s,c=i.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),f=Io(i),m=[],g=l.setContext(this.getContext()),p=g.display?g.width:0,_=p/2,y=function(x){return Ps(r,x,p)};let C,k,v,M,T,S,O,E,I,j,$,R;if(a==="top")C=y(this.bottom),S=this.bottom-f,E=C-_,j=y(e.top)+_,R=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,R=y(e.bottom)-_,S=C+_,E=this.top+f;else if(a==="left")C=y(this.right),T=this.right-f,O=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=C+_,O=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(Te(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}j=e.top,R=e.bottom,S=C+_,E=S+f}else if(n==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(Te(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}T=C-_,O=T-f,I=e.left,$=e.right}const G=Fe(s.ticks.maxTicksLimit,h),D=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=D){const x=this.getContext(k),V=i.setContext(x),Z=l.setContext(x),ee=V.lineWidth,U=V.color,P=Z.dash||[],N=Z.dashOffset,b=V.tickWidth,w=V.tickColor,B=V.tickBorderDash||[],H=V.tickBorderDashOffset;v=PM(this,k,c),v!==void 0&&(M=Ps(r,v,ee),d?T=O=I=$=M:S=E=j=R=M,m.push({tx1:T,ty1:S,tx2:O,ty2:E,x1:I,y1:j,x2:$,y2:R,width:ee,color:U,borderDash:P,borderDashOffset:N,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:H}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=Io(r.grid),m=f+u,g=h?-u:m,p=-es(this.labelRotation),_=[];let y,C,k,v,M,T,S,O,E,I,j,$,R="middle";if(s==="top")T=this.bottom-g,S=this._getXAxisLabelAlignment();else if(s==="bottom")T=this.top+g,S=this._getXAxisLabelAlignment();else if(s==="left"){const D=this._getYAxisLabelAlignment(f);S=D.textAlign,M=D.x}else if(s==="right"){const D=this._getYAxisLabelAlignment(f);S=D.textAlign,M=D.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(Te(s)){const D=Object.keys(s)[0],x=s[D];T=this.chart.scales[D].getPixelForValue(x)+m}S=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(Te(s)){const D=Object.keys(s)[0],x=s[D];M=this.chart.scales[D].getPixelForValue(x)}S=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?R="top":c==="end"&&(R="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){k=l[y],v=k.label;const D=i.setContext(this.getContext(y));O=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=st(v)?v.length:1;const x=j/2,V=D.color,Z=D.textStrokeColor,ee=D.textStrokeWidth;let U=S;a?(M=O,S==="inner"&&(y===C-1?U=this.options.reverse?"left":"right":y===0?U=this.options.reverse?"right":"left":U="center"),s==="top"?d==="near"||p!==0?$=-j*I+I/2:d==="center"?$=-G.highest.height/2-x*I+I:$=-G.highest.height+I/2:d==="near"||p!==0?$=I/2:d==="center"?$=G.highest.height/2-x*I:$=G.highest.height-j*I,h&&($*=-1),p!==0&&!D.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=O,$=(1-j)*I/2);let P;if(D.showLabelBackdrop){const N=yn(D.backdropPadding),b=G.heights[y],w=G.widths[y];let B=$-N.top,H=0-N.left;switch(R){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(S){case"center":H-=w/2;break;case"right":H-=w;break;case"inner":y===C-1?H-=w:y>0&&(H-=w/2);break}P={left:H,top:B,width:w+N.width,height:b+N.height,color:D.backdropColor}}_.push({label:v,font:E,textOffset:$,options:{rotation:p,color:V,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:R,translation:[M,T],backdrop:P}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-es(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:s,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,c=a.widest.width;let d,u;return n==="left"?s?(u=this.right+i,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u=this.left)):n==="right"?s?(u=this.left+i,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:s,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,s,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(i=>i.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(c,d,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=s.length;i<a;++i){const c=s[i];n.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:s}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=s.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,f;this.isHorizontal()?(d=Ps(e,this.left,a)-a/2,u=Ps(e,this.right,l)+l/2,h=f=c):(h=Ps(e,this.top,a)-a/2,f=Ps(e,this.bottom,l)+l/2,d=u=c),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(u,f),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,s=this._computeLabelArea();s&&Pu(r,s);const i=this.getLabelItems(e);for(const a of i){const l=a.options,c=a.font,d=a.label,u=a.textOffset;dl(r,d,0,u,c,l)}s&&Lu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=an(r.font),a=yn(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||Te(n)?(c+=a.bottom,st(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=AM(this,c,n,l);dl(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:BM(l,n,s),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Fe(e.grid&&e.grid.z,-1),s=Fe(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Fs.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",s=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&s.push(l)}return s}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return an(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Cl{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;IM(n)&&(r=this.register(n));const s=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in s||(s[i]=e,FM(e,a,r),this.override&&gt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,s=this.scope;r in n&&delete n[r],s&&r in gt[s]&&(delete gt[s][r],this.override&&delete $s[r])}}function FM(t,e,n){const r=vo(Object.create(null),[n?gt.get(n):{},gt.get(e),t.defaults]);gt.set(e,r),t.defaultRoutes&&RM(e,t.defaultRoutes),t.descriptors&&gt.describe(e,t.descriptors)}function RM(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),s=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");gt.route(i,s,c,l)})}function IM(t){return"id"in t&&"defaults"in t}class HM{constructor(){this.controllers=new Cl(Vo,"datasets",!0),this.elements=new Cl(As,"elements"),this.plugins=new Cl(Object,"plugins"),this.scales=new Cl(Fs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,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(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(s=>{const i=r||this._getRegistryForType(s);r||i.isForType(s)||i===this.plugins&&s.id?this._exec(e,i,s):Re(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=Cu(e);ct(r["before"+s],[],r),n[e](r),ct(r["after"+s],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return s}}var er=new HM;class zM{constructor(){this._init=[]}notify(e,n,r,s){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=s?this._descriptors(e).filter(s):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,n,r,s){s=s||{};for(const i of e){const a=i.plugin,l=a[r],c=[n,s,i.options];if(ct(l,c,a)===!1&&s.cancelable)return!1}return!0}invalidate(){Ue(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,s=Fe(r.options&&r.options.plugins,{}),i=YM(r);return s===!1&&!n?[]:jM(e,i,s,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,s=(i,a)=>i.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(s(n,r),e,"stop"),this._notify(s(r,n),e,"start")}}function YM(t){const e={},n=[],r=Object.keys(er.plugins.items);for(let i=0;i<r.length;i++)n.push(er.getPlugin(r[i]));const s=t.plugins||[];for(let i=0;i<s.length;i++){const a=s[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function WM(t,e){return!e&&t===!1?null:t===!0?{}:t}function jM(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=WM(r[c],s);d!==null&&i.push({plugin:l,options:ZM(t.config,{plugin:l,local:n[c]},d,a)})}return i}function ZM(t,{plugin:e,local:n},r,s){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Uu(t,e){const n=gt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function UM(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function qM(t,e){return t===e?"_index_":"_value_"}function Ap(t){if(t==="x"||t==="y"||t==="r")return t}function GM(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function qu(t,...e){if(Ap(t))return t;for(const n of e){const r=n.axis||GM(n.position)||t.length>1&&Ap(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Fp(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function KM(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Fp(t,"x",n[0])||Fp(t,"y",n[0])}return{}}function XM(t,e){const n=$s[t.type]||{scales:{}},r=e.scales||{},s=Uu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!Te(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=qu(a,l,KM(a,t),gt.scales[l.type]),d=qM(c,s),u=n.scales||{};i[a]=To(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Uu(l,e),u=($s[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=UM(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),To(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];To(l,[gt.scales[l.type],gt.scale])}),i}function Rp(t){const e=t.options||(t.options={});e.plugins=Fe(e.plugins,{}),e.scales=XM(t,e)}function Ip(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function JM(t){return t=t||{},t.data=Ip(t.data),Rp(t),t}const Hp=new Map,zp=new Set;function xl(t,e){let n=Hp.get(t);return n||(n=e(),Hp.set(t,n),zp.add(n)),n}const Ho=(t,e,n)=>{const r=sl(e,n);r!==void 0&&t.add(r)};class QM{constructor(e){this._config=JM(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=Ip(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(),Rp(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return xl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return xl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return xl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return xl(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let s=r.get(e);return(!s||n)&&(s=new Map,r.set(e,s)),s}getOptionScopes(e,n,r){const{options:s,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const c=new Set;n.forEach(u=>{e&&(c.add(e),u.forEach(h=>Ho(c,e,h))),u.forEach(h=>Ho(c,s,h)),u.forEach(h=>Ho(c,$s[i]||{},h)),u.forEach(h=>Ho(c,gt,h)),u.forEach(h=>Ho(c,Ou,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),zp.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,$s[n]||{},gt.datasets[n]||{},{type:n},gt,Ou]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=Yp(this._resolverCache,e,s);let c=a;if(tS(a,n)){i.$shared=!1,r=Jr(r)?r():r;const d=this.createResolver(e,r,l);c=Mi(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=Yp(this._resolverCache,e,r);return Te(n)?Mi(i,n,void 0,s):i}}function Yp(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let i=r.get(s);return i||(i={resolver:Nu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const eS=t=>Te(t)&&Object.getOwnPropertyNames(t).some(e=>Jr(t[e]));function tS(t,e){const{isScriptable:n,isIndexable:r}=Jm(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Jr(l)||eS(l))||a&&st(l))return!0}return!1}var nS="4.4.2";const rS=["top","bottom","left","right","chartArea"];function Wp(t,e){return t==="top"||t==="bottom"||rS.indexOf(t)===-1&&e==="x"}function jp(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Zp(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ct(n&&n.onComplete,[t],e)}function sS(t){const e=t.chart,n=e.options.animation;ct(n&&n.onProgress,[t],e)}function Up(t){return Fu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Ml={},qp=t=>{const e=Up(t);return Object.values(Ml).filter(n=>n.canvas===e).pop()};function iS(t,e,n){const r=Object.keys(t);for(const s of r){const i=+s;if(i>=e){const a=t[s];delete t[s],(n>0||i>e)&&(t[i+n]=a)}}}function oS(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function Sl(t,e,n){return t.options.clip?t[n]:e[n]}function aS(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Sl(n,e,"left"),right:Sl(n,e,"right"),top:Sl(r,e,"top"),bottom:Sl(r,e,"bottom")}:e}let zo=(cs=class{static register(...e){er.add(...e),Gp()}static unregister(...e){er.remove(...e),Gp()}constructor(e,n){const r=this.config=new QM(n),s=Up(e),i=qp(s);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||MM(s)),this.platform.updateConfig(r);const l=this.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=fC(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,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 zM,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=$C(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],Ml[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}yr.listen(this,"complete",Zp),yr.listen(this,"progress",sS),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:s,_aspectRatio:i}=this;return Ue(e)?n&&i?i:s?r/s: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 er}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ip(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Km(this.canvas,this.ctx),this}stop(){return yr.stop(this),this}resize(e,n){yr.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,s=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(s,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,ip(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),ct(r.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Re(n,(r,s)=>{r.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,s=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],c=qu(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Re(i,a=>{const l=a.options,c=l.id,d=qu(c,l),u=Fe(l.type,a.dtype);(l.position===void 0||Wp(l.position,d)!==Wp(a.dposition))&&(l.position=a.dposition),s[c]=!0;let h=null;if(c in r&&r[c].type===u)h=r[c];else{const f=er.getScale(u);h=new f({id:c,type:u,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Re(s,(a,l)=>{a||delete r[l]}),Re(r,a=>{yl.configure(this,a,a.options),yl.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((s,i)=>s.index-i.index),r>n){for(let s=n;s<r;++s)this._destroyDatasetMeta(s);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(jp("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,s)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,s;for(this._removeUnreferencedMetasets(),r=0,s=n.length;r<s;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Uu(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=er.getController(l),{datasetElementType:d,dataElementType:u}=gt.datasets[l];Object.assign(c,{dataElementType:er.getElement(u),datasetElementType:d&&er.getElement(d)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Re(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),f=!s&&i.indexOf(h)===-1;h.buildOrUpdateElements(f),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),s||Re(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jp("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Re(this.scales,e=>{yl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Lm(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:s,count:i}of n){const a=r==="_removeElements"?-i:i;iS(e,s,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),s=r(0);for(let i=1;i<n;i++)if(!Lm(s,r(i)))return;return Array.from(s).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;yl.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Re(this.boxes,s=>{r&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,i)=>{s._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Jr(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),s={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(r.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(yr.has(this)?this.attached&&!yr.running(this)&&yr.start(this):(this.draw(),Zp({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:s}=this._resizeBeforeDraw;this._resize(r,s),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let s,i;for(s=0,i=n.length;s<i;++s){const a=n[s];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,s=!r.disabled,i=aS(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&Pu(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),s&&Lu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return _r(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=rM.modes[n];return typeof i=="function"?i(this,e,r,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let s=r.filter(i=>i&&i._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(s)),s}getContext(){return this.$context||(this.$context=ts(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const s=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);il(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),yr.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Km(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Ml[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},s=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Re(this.options.events,i=>r(i,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(c,d)=>{n.addEventListener(this,c,d),e[c]=d},s=(c,d)=>{e[c]&&(n.removeEventListener(this,c,d),delete e[c])},i=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{s("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,s("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Re(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Re(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const s=r?"set":"remove";let i,a,l,c;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+s+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[s+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!nl(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const s=this.options.hover,i=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,s.mode,!1),l.length&&s.mode&&this.updateHoverStyle(l,s.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,s)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,s),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:s=[],options:i}=this,a=n,l=this._getActiveElements(e,s,r,a),c=wC(e),d=oS(e,this._lastEvent,r,c);r&&(this._lastEvent=null,ct(i.onHover,[e,l,this],this),c&&ct(i.onClick,[e,l,this],this));const u=!nl(l,s);return(u||n)&&(this._active=l,this._updateHoverStyles(l,s,n)),this._lastEvent=d,u}_getActiveElements(e,n,r,s){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,s)}},W(cs,"defaults",gt),W(cs,"instances",Ml),W(cs,"overrides",$s),W(cs,"registry",er),W(cs,"version",nS),W(cs,"getChart",qp),cs);function Gp(){return Re(zo.instances,t=>t._plugins.invalidate())}function Kp(t,e,n=e){t.lineCap=Fe(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Fe(n.borderDash,e.borderDash)),t.lineDashOffset=Fe(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Fe(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Fe(n.borderWidth,e.borderWidth),t.strokeStyle=Fe(n.borderColor,e.borderColor)}function lS(t,e,n){t.lineTo(n.x,n.y)}function cS(t){return t.stepped?ZC:t.tension||t.cubicInterpolationMode==="monotone"?UC:lS}function Xp(t,e,n={}){const r=t.length,{start:s=0,end:i=r-1}=n,{start:a,end:l}=e,c=Math.max(s,a),d=Math.min(i,l),u=s<a&&i<a||s>l&&i>l;return{count:r,start:c,loop:e.loop,ilen:d<c&&!u?r+d-c:d-c}}function dS(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=Xp(s,n,r),u=cS(i);let{move:h=!0,reverse:f}=r||{},m,g,p;for(m=0;m<=d;++m)g=s[(l+(f?d-m:m))%a],!g.skip&&(h?(t.moveTo(g.x,g.y),h=!1):u(t,p,g,f,i.stepped),p=g);return c&&(g=s[(l+(f?d:0))%a],u(t,p,g,f,i.stepped)),!!c}function uS(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=Xp(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=v=>(a+(d?l-v:v))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const v=m.x,M=m.y,T=v|0;T===g?(M<p?p=M:M>_&&(_=M),u=(h*u+v)/++h):(k(),t.lineTo(v,M),g=T,h=0,p=_=M),y=M}k()}function Gu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?uS:dS}function hS(t){return t.stepped?vx:t.tension||t.cubicInterpolationMode==="monotone"?Tx:Ns}function fS(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),Kp(t,e.options),t.stroke(s)}function mS(t,e,n,r){const{segments:s,options:i}=e,a=Gu(e);for(const l of s)Kp(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const pS=typeof Path2D=="function";function gS(t,e,n,r){pS&&!e.options.segment?fS(t,e,n,r):mS(t,e,n,r)}class wr extends As{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,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const s=r.spanGaps?this._loop:this._fullLoop;yx(this._points,r,e,s,n),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=Nx(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,s=e[n],i=this.points,a=dp(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=hS(r);let d,u;for(d=0,u=a.length;d<u;++d){const{start:h,end:f}=a[d],m=i[h],g=i[f];if(m===g){l.push(m);continue}const p=Math.abs((s-m[n])/(g[n]-m[n])),_=c(m,g,p,r.stepped);_[n]=e[n],l.push(_)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Gu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Gu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of s)a&=i(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,s){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),gS(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(wr,"id","line"),W(wr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(wr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(wr,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function Jp(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Yo extends As{constructor(n){super();W(this,"parsed");W(this,"skip");W(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,s){const i=this.options,{x:a,y:l}=this.getProps(["x","y"],s);return Math.pow(n-a,2)+Math.pow(r-l,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return Jp(this,n,"x",r)}inYRange(n,r){return Jp(this,n,"y",r)}getCenterPoint(n){const{x:r,y:s}=this.getProps(["x","y"],n);return{x:r,y:s}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const s=r&&n.borderWidth||0;return(r+s)*2}draw(n,r){const s=this.options;this.skip||s.radius<.1||!_r(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,$u(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Yo,"id","point"),W(Yo,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Yo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function _S(t,e,n){const r=t.segments,s=t.points,i=e.points,a=[];for(const l of r){let{start:c,end:d}=l;d=Xu(c,d,s);const u=Ku(n,s[c],s[d],l.loop);if(!e.segments){a.push({source:l,target:u,start:s[c],end:s[d]});continue}const h=dp(e,u);for(const f of h){const m=Ku(n,i[f.start],i[f.end],f.loop),g=cp(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:Qp(u,m,"start",Math.max)},end:{[n]:Qp(u,m,"end",Math.min)}})}}return a}function Ku(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=on(s),i=on(i)),{property:t,start:s,end:i}}function yS(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Xu(a,l,s);const c=s[a],d=s[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Xu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function Qp(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function e2(t,e){let n=[],r=!1;return st(t)?(r=!0,n=t):n=yS(t,e),n.length?new wr({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function t2(t){return t&&t.fill!==!1}function wS(t,e,n){let s=t[e].fill;const i=[e];let a;if(!n)return s;for(;s!==!1&&i.indexOf(s)===-1;){if(!lt(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function bS(t,e,n){const r=MS(t);if(Te(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return lt(s)&&Math.floor(s)===s?kS(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function kS(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function CS(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:Te(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function xS(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:Te(t)?r=t.value:r=e.getBaseValue(),r}function MS(t){const e=t.options,n=e.fill;let r=Fe(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function SS(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=vS(e,n);l.push(e2({x:null,y:e.bottom},r));for(let c=0;c<i.length;c++){const d=i[c];for(let u=d.start;u<=d.end;u++)TS(s,a[u],l)}return new wr({points:s,options:{}})}function vS(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let s=0;s<r.length;s++){const i=r[s];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function TS(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=DS(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function DS(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const s=r[n],i=t.segments,a=t.points;let l=!1,c=!1;for(let d=0;d<i.length;d++){const u=i[d],h=a[u.start][n],f=a[u.end][n];if(Rm(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class n2{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,r){const{x:s,y:i,radius:a}=this;return n=n||{start:0,end:rn},e.arc(s,i,a,n.end,n.start,!0),!r.bounds}interpolate(e){const{x:n,y:r,radius:s}=this,i=e.angle;return{x:n+Math.cos(i)*s,y:r+Math.sin(i)*s,angle:i}}}function OS(t){const{chart:e,fill:n,line:r}=t;if(lt(n))return ES(e,n);if(n==="stack")return SS(t);if(n==="shape")return!0;const s=$S(t);return s instanceof n2?s:e2(s,r)}function ES(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function $S(t){return(t.scale||{}).getPointPositionForValue?LS(t):PS(t)}function PS(t){const{scale:e={},fill:n}=t,r=CS(n,e);if(lt(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function LS(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=xS(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new n2({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<s;++c)l.push(e.getPointPositionForValue(c,a));return l}function Ju(t,e,n){const r=OS(e),{line:s,scale:i,axis:a}=e,l=s.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:h=d}=c||{};r&&s.points.length&&(Pu(t,n),VS(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),Lu(t))}function VS(t,e){const{line:n,target:r,above:s,below:i,area:a,scale:l}=e,c=n._loop?"angle":e.axis;t.save(),c==="x"&&i!==s&&(r2(t,r,a.top),s2(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),r2(t,r,a.bottom)),s2(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function r2(t,e,n){const{segments:r,points:s}=e;let i=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:d}=l,u=s[c],h=s[Xu(c,d,s)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function s2(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=_S(n,r,s);for(const{source:c,target:d,start:u,end:h}of l){const{style:{backgroundColor:f=i}={}}=c,m=r!==!0;t.save(),t.fillStyle=f,NS(t,a,m&&Ku(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():i2(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||i2(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function NS(t,e,n){const{top:r,bottom:s}=e.chart.chartArea,{property:i,start:a,end:l}=n||{};i==="x"&&(t.beginPath(),t.rect(a,r,l-a,s-r),t.clip())}function i2(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var o2={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,s=[];let i,a,l,c;for(a=0;a<r;++a)i=t.getDatasetMeta(a),l=i.dataset,c=null,l&&l.options&&l instanceof wr&&(c={visible:t.isDatasetVisible(a),index:a,fill:bS(l,a,r),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:l}),i.$filler=c,s.push(c);for(a=0;a<r;++a)c=s[a],!(!c||c.fill===!1)&&(c.fill=wS(s,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let a=s.length-1;a>=0;--a){const l=s[a].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&Ju(t.ctx,l,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let s=r.length-1;s>=0;--s){const i=r[s].$filler;t2(i)&&Ju(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!t2(r)||n.drawTime!=="beforeDatasetDraw"||Ju(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Wo={average(t){if(!t.length)return!1;let e,n,r=new Set,s=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();r.add(c.x),s+=c.y,++i}}return{x:[...r].reduce((l,c)=>l+c)/r.size,y:s/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,s=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const c=t[i].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Mu(e,d);u<s&&(s=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function tr(t,e){return e&&(st(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function br(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
37
+ */class Ax{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,r,s){const i=n.listeners[s],a=n.duration;i.forEach(l=>l({chart:e,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=zm.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((r,s)=>{if(!r.running||!r.items.length)return;const i=r.items;let a=i.length-1,l=!1,c;for(;a>=0;--a)c=i[a],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(e),l=!0):(i[a]=i[i.length-1],i.pop());l&&(s.draw(),this._notify(s,r,e,"progress")),i.length||(r.running=!1,this._notify(s,r,e,"complete"),r.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let r=n.get(e);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,r)),r}listen(e,n,r){this._getAnims(e).listeners[n].push(r)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,s)=>Math.max(r,s._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const r=n.items;let s=r.length-1;for(;s>=0;--s)r[s].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var yr=new Ax;const fp="transparent",Fx={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=Um(t||fp),s=r.valid&&Um(e||fp);return s&&s.valid?s.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Rx{constructor(e,n,r,s){const i=n[r];s=ul([e.to,s,i,e.from]);const a=ul([e.from,i,s]);this._active=!0,this._fn=e.fn||Fx[e.type||typeof a],this._easing=Eo[e.easing]||Eo.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=s,this._promises=void 0}active(){return this._active}update(e,n,r){if(this._active){this._notify(!1);const s=this._target[this._prop],i=r-this._start,a=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=ul([e.to,n,s,e.from]),this._from=ul([e.from,s,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,r=this._duration,s=this._prop,i=this._from,a=this._loop,l=this._to;let c;if(this._active=i!==l&&(a||n<r),!this._active){this._target[s]=l,this._notify(!0);return}if(n<0){this._target[s]=i;return}c=n/r%2,c=a&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[s]=this._fn(i,l,c)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,r)=>{e.push({res:n,rej:r})})}_notify(e){const n=e?"res":"rej",r=this._promises||[];for(let s=0;s<r.length;s++)r[s][n]()}}class mp{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!Te(e))return;const n=Object.keys(gt.animation),r=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!Te(i))return;const a={};for(const l of n)a[l]=i[l];(st(i.properties)&&i.properties||[s]).forEach(l=>{(l===s||!r.has(l))&&r.set(l,a)})})}_animateOptions(e,n){const r=n.options,s=Hx(e,r);if(!s)return[];const i=this._createAnimations(s,r);return r.$shared&&Ix(e.options.$animations,r).then(()=>{e.options=r},()=>{}),i}_createAnimations(e,n){const r=this._properties,s=[],i=e.$animations||(e.$animations={}),a=Object.keys(n),l=Date.now();let c;for(c=a.length-1;c>=0;--c){const d=a[c];if(d.charAt(0)==="$")continue;if(d==="options"){s.push(...this._animateOptions(e,n));continue}const u=n[d];let h=i[d];const f=r.get(d);if(h)if(f&&h.active()){h.update(f,u,l);continue}else h.cancel();if(!f||!f.duration){e[d]=u;continue}i[d]=h=new Rx(f,e,d,u),s.push(h)}return s}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const r=this._createAnimations(e,n);if(r.length)return yr.add(this._chart,r),!0}}function Ix(t,e){const n=[],r=Object.keys(e);for(let s=0;s<r.length;s++){const i=t[r[s]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function Hx(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function pp(t,e){const n=t&&t.options||{},r=n.reverse,s=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:r?i:s,end:r?s:i}}function zx(t,e,n){if(n===!1)return!1;const r=pp(t,n),s=pp(e,n);return{top:s.end,right:r.end,bottom:s.start,left:r.start}}function Yx(t){let e,n,r,s;return Te(t)?(e=t.top,n=t.right,r=t.bottom,s=t.left):e=n=r=s=t,{top:e,right:n,bottom:r,left:s,disabled:t===!1}}function gp(t,e){const n=[],r=t._getSortedDatasetMetas(e);let s,i;for(s=0,i=r.length;s<i;++s)n.push(r[s].index);return n}function _p(t,e,n,r={}){const s=t.keys,i=r.mode==="single";let a,l,c,d;if(e!==null){for(a=0,l=s.length;a<l;++a){if(c=+s[a],c===n){if(r.all)continue;break}d=t.values[c],lt(d)&&(i||e===0||xi(e)===xi(d))&&(e+=d)}return e}}function Wx(t){const e=Object.keys(t),n=new Array(e.length);let r,s,i;for(r=0,s=e.length;r<s;++r)i=e[r],n[r]={x:i,y:t[i]};return n}function yp(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function jx(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function Zx(t){const{min:e,max:n,minDefined:r,maxDefined:s}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:s?n:Number.POSITIVE_INFINITY}}function Ux(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function wp(t,e,n,r){for(const s of e.getMatchingVisibleMetas(r).reverse()){const i=t[s.index];if(n&&i>0||!n&&i<0)return s.index}return null}function bp(t,e){const{chart:n,_cachedMeta:r}=t,s=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:l}=r,c=i.axis,d=a.axis,u=jx(i,a,r),h=e.length;let f;for(let m=0;m<h;++m){const g=e[m],{[c]:p,[d]:_}=g,y=g._stacks||(g._stacks={});f=y[d]=Ux(s,u,p),f[l]=_,f._top=wp(f,a,!0,r.type),f._bottom=wp(f,a,!1,r.type);const C=f._visualValues||(f._visualValues={});C[l]=_}}function Hu(t,e){const n=t.scales;return Object.keys(n).filter(r=>n[r].axis===e).shift()}function qx(t,e){return ts(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function Gx(t,e,n){return ts(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function Lo(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const s of e){const i=s._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const zu=t=>t==="reset"||t==="none",kp=(t,e)=>e?t:Object.assign({},t),Kx=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:gp(n,!0),values:null};class Vo{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,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=yp(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&&Lo(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,r=this.getDataset(),s=(h,f,m,g)=>h==="x"?f:h==="r"?g:m,i=n.xAxisID=Fe(r.xAxisID,Hu(e,"x")),a=n.yAxisID=Fe(r.yAxisID,Hu(e,"y")),l=n.rAxisID=Fe(r.rAxisID,Hu(e,"r")),c=n.indexAxis,d=n.iAxisID=s(c,i,a,l),u=n.vAxisID=s(c,a,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}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 n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Hm(this._data,this),e._stacked&&Lo(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),r=this._data;if(Te(n))this._data=Wx(n);else if(r!==n){if(r){Hm(r,this);const s=this._cachedMeta;Lo(s),s._parsed=[]}n&&Object.isExtensible(n)&&DC(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,r=this.getDataset();let s=!1;this._dataCheck();const i=n._stacked;n._stacked=yp(n.vScale,n),n.stack!==r.stack&&(s=!0,Lo(n),n.stack=r.stack),this._resyncElements(e),(s||i!==n._stacked)&&bp(this,n._parsed)}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:r,_data:s}=this,{iScale:i,_stacked:a}=r,l=i.axis;let c=e===0&&n===s.length?!0:r._sorted,d=e>0&&r._parsed[e-1],u,h,f;if(this._parsing===!1)r._parsed=s,r._sorted=!0,f=s;else{st(s[e])?f=this.parseArrayData(r,s,e,n):Te(s[e])?f=this.parseObjectData(r,s,e,n):f=this.parsePrimitiveData(r,s,e,n);const m=()=>h[l]===null||d&&h[l]<d[l];for(u=0;u<n;++u)r._parsed[u+e]=h=f[u],c&&(m()&&(c=!1),d=h);r._sorted=c}a&&bp(this,f)}parsePrimitiveData(e,n,r,s){const{iScale:i,vScale:a}=e,l=i.axis,c=a.axis,d=i.getLabels(),u=i===a,h=new Array(s);let f,m,g;for(f=0,m=s;f<m;++f)g=f+r,h[f]={[l]:u||i.parse(d[g],g),[c]:a.parse(n[g],g)};return h}parseArrayData(e,n,r,s){const{xScale:i,yScale:a}=e,l=new Array(s);let c,d,u,h;for(c=0,d=s;c<d;++c)u=c+r,h=n[u],l[c]={x:i.parse(h[0],u),y:a.parse(h[1],u)};return l}parseObjectData(e,n,r,s){const{xScale:i,yScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(s);let u,h,f,m;for(u=0,h=s;u<h;++u)f=u+r,m=n[f],d[u]={x:i.parse(sl(m,l),f),y:a.parse(sl(m,c),f)};return d}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,r){const s=this.chart,i=this._cachedMeta,a=n[e.axis],l={keys:gp(s,!0),values:n._stacks[e.axis]._visualValues};return _p(l,a,i.index,{mode:r})}updateRangeFromParsed(e,n,r,s){const i=r[n.axis];let a=i===null?NaN:i;const l=s&&r._stacks[n.axis];s&&l&&(s.values=l,a=_p(s,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,n){const r=this._cachedMeta,s=r._parsed,i=r._sorted&&e===r.iScale,a=s.length,l=this._getOtherScale(e),c=Kx(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:h}=Zx(l);let f,m;function g(){m=s[f];const p=m[l.axis];return!lt(m[e.axis])||u>p||h<p}for(f=0;f<a&&!(!g()&&(this.updateRangeFromParsed(d,e,m,c),i));++f);if(i){for(f=a-1;f>=0;--f)if(!g()){this.updateRangeFromParsed(d,e,m,c);break}}return d}getAllParsedValues(e){const n=this._cachedMeta._parsed,r=[];let s,i,a;for(s=0,i=n.length;s<i;++s)a=n[s][e.axis],lt(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,r=n.iScale,s=n.vScale,i=this.getParsed(e);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:s?""+s.getLabelForValue(i[s.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=Yx(Fe(this.options.clip,zx(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,r=this._cachedMeta,s=r.data||[],i=n.chartArea,a=[],l=this._drawStart||0,c=this._drawCount||s.length-l,d=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(e,i,l,c),u=l;u<l+c;++u){const h=s[u];h.hidden||(h.active&&d?a.push(h):h.draw(e,i))}for(u=0;u<a.length;++u)a[u].draw(e,i)}getStyle(e,n){const r=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,n,r){const s=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];i=a.$context||(a.$context=Gx(this.getContext(),e,a)),i.parsed=this.getParsed(e),i.raw=s.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=qx(this.chart.getContext(),this.index)),i.dataset=s,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",r){const s=n==="active",i=this._cachedDataOpts,a=e+"-"+n,l=i[a],c=this.enableOptionSharing&&il(r);if(l)return kp(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,e),h=s?[`${e}Hover`,"hover",e,""]:[e,""],f=d.getOptionScopes(this.getDataset(),u),m=Object.keys(gt.elements[e]),g=()=>this.getContext(r,s,n),p=d.resolveNamedOptions(f,m,g,h);return p.$shared&&(p.$shared=c,i[a]=Object.freeze(kp(p,c))),p}_resolveAnimations(e,n,r){const s=this.chart,i=this._cachedDataOpts,a=`animation-${n}`,l=i[a];if(l)return l;let c;if(s.options.animation!==!1){const u=this.chart.config,h=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),h);c=u.createResolver(f,this.getContext(e,r,n))}const d=new mp(s,c&&c.animations);return c&&c._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||zu(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const r=this.resolveDataElementOptions(e,n),s=this._sharedOptions,i=this.getSharedOptions(r),a=this.includeOptions(n,i)||i!==s;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:a}}updateElement(e,n,r,s){zu(s)?Object.assign(e,r):this._resolveAnimations(n,s).update(e,r)}updateSharedOptions(e,n,r){e&&!zu(n)&&this._resolveAnimations(void 0,n).update(e,r)}_setStyle(e,n,r,s){e.active=s;const i=this.getStyle(n,s);this._resolveAnimations(n,r,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,n,r){this._setStyle(e,r,"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 n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const s=r.length,i=n.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i<s&&this._removeElements(i,s-i)}_insertElements(e,n,r=!0){const s=this._cachedMeta,i=s.data,a=e+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=a;l--)d[l]=d[l-n]};for(c(i),l=e;l<a;++l)i[l]=new this.dataElementType;this._parsing&&c(s._parsed),this.parse(e,n),r&&this.updateElements(i,e,n,"reset")}updateElements(e,n,r,s){}_removeElements(e,n){const r=this._cachedMeta;if(this._parsing){const s=r._parsed.splice(e,n);r._stacked&&Lo(r,s)}r.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,r,s]=e;this[n](r,s)}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,n){n&&this._sync(["_removeElements",e,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}W(Vo,"defaults",{}),W(Vo,"datasetElementType",null),W(Vo,"dataElementType",null);class gl extends Vo{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:r,data:s=[],_dataset:i}=n,a=this.chart._animationsDisabled;let{start:l,count:c}=PC(n,s,a);this._drawStart=l,this._drawCount=c,LC(n)&&(l=0,c=s.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=s;const d=this.resolveDatasetElementOptions(e);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:d},e),this.updateElements(s,l,c,e)}updateElements(e,n,r,s){const i=s==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:h}=this._getSharedOptions(n,s),f=a.axis,m=l.axis,{spanGaps:g,segment:p}=this.options,_=Oo(g)?g:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||s==="none",C=n+r,k=e.length;let v=n>0&&this.getParsed(n-1);for(let M=0;M<k;++M){const T=e[M],S=y?T:{};if(M<n||M>=C){S.skip=!0;continue}const O=this.getParsed(M),E=Ue(O[m]),I=S[f]=a.getPixelForValue(O[f],M),j=S[m]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,O,c):O[m],M);S.skip=isNaN(I)||isNaN(j)||E,S.stop=M>0&&Math.abs(O[f]-v[f])>_,p&&(S.parsed=O,S.raw=d.data[M]),h&&(S.options=u||this.resolveDataElementOptions(M,T.active?"active":s)),y||this.updateElement(T,M,S,s),v=O}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,s=e.data||[];if(!s.length)return r;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(r,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}W(gl,"id","line"),W(gl,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),W(gl,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function Bs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Yu{constructor(e){W(this,"options");this.options=e||{}}static override(e){Object.assign(Yu.prototype,e)}init(){}formats(){return Bs()}parse(){return Bs()}format(){return Bs()}add(){return Bs()}diff(){return Bs()}startOf(){return Bs()}endOf(){return Bs()}}var Xx={_date:Yu};function Jx(t,e,n,r){const{controller:s,data:i,_sorted:a}=t,l=s._cachedMeta.iScale;if(l&&e===l.axis&&e!=="r"&&a&&i.length){const c=l._reversePixels?vC:Es;if(r){if(s._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(e);if(u){const h=c(i,e,n-u),f=c(i,e,n+u);return{lo:h.lo,hi:f.hi}}}}else return c(i,e,n)}return{lo:0,hi:i.length-1}}function No(t,e,n,r,s){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:h,hi:f}=Jx(i[l],e,a,s);for(let m=h;m<=f;++m){const g=u[m];g.skip||r(g,d,m)}}}function Qx(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(r,s){const i=e?Math.abs(r.x-s.x):0,a=n?Math.abs(r.y-s.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function Wu(t,e,n,r,s){const i=[];return!s&&!t.isPointInArea(e)||No(t,n,e,function(l,c,d){!s&&!_r(l,t.chartArea,0)||l.inRange(e.x,e.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function eM(t,e,n,r){let s=[];function i(a,l,c){const{startAngle:d,endAngle:u}=a.getProps(["startAngle","endAngle"],r),{angle:h}=xC(a,{x:e.x,y:e.y});Fm(h,d,u)&&s.push({element:a,datasetIndex:l,index:c})}return No(t,n,e,i),s}function tM(t,e,n,r,s,i){let a=[];const l=Qx(n);let c=Number.POSITIVE_INFINITY;function d(u,h,f){const m=u.inRange(e.x,e.y,s);if(r&&!m)return;const g=u.getCenterPoint(s);if(!(!!i||t.isPointInArea(g))&&!m)return;const _=l(e,g);_<c?(a=[{element:u,datasetIndex:h,index:f}],c=_):_===c&&a.push({element:u,datasetIndex:h,index:f})}return No(t,n,e,d),a}function ju(t,e,n,r,s,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!r?eM(t,e,n,s):tM(t,e,n,r,s,i)}function Cp(t,e,n,r,s){const i=[],a=n==="x"?"inXRange":"inYRange";let l=!1;return No(t,n,e,(c,d,u)=>{c[a](e[n],s)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(e.x,e.y,s))}),r&&!l?[]:i}var nM={evaluateInteractionItems:No,modes:{index(t,e,n,r){const s=Vs(e,t),i=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?Wu(t,s,i,r,a):ju(t,s,i,!1,r,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,h=d.data[u];h&&!h.skip&&c.push({element:h,datasetIndex:d.index,index:u})}),c):[]},dataset(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?Wu(t,s,i,r,a):ju(t,s,i,!1,r,a);if(l.length>0){const c=l[0].datasetIndex,d=t.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return Wu(t,s,i,r,a)},nearest(t,e,n,r){const s=Vs(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return ju(t,s,i,n.intersect,r,a)},x(t,e,n,r){const s=Vs(e,t);return Cp(t,s,"x",n.intersect,r)},y(t,e,n,r){const s=Vs(e,t);return Cp(t,s,"y",n.intersect,r)}}};const xp=["left","top","right","bottom"];function Bo(t,e){return t.filter(n=>n.pos===e)}function Mp(t,e){return t.filter(n=>xp.indexOf(n.pos)===-1&&n.box.axis===e)}function Ao(t,e){return t.sort((n,r)=>{const s=e?r:n,i=e?n:r;return s.weight===i.weight?s.index-i.index:s.weight-i.weight})}function rM(t){const e=[];let n,r,s,i,a,l;for(n=0,r=(t||[]).length;n<r;++n)s=t[n],{position:i,options:{stack:a,stackWeight:l=1}}=s,e.push({index:n,box:s,pos:i,horizontal:s.isHorizontal(),weight:s.weight,stack:a&&i+a,stackWeight:l});return e}function sM(t){const e={};for(const n of t){const{stack:r,pos:s,stackWeight:i}=n;if(!r||!xp.includes(s))continue;const a=e[r]||(e[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return e}function iM(t,e){const n=sM(t),{vBoxMaxWidth:r,hBoxMaxHeight:s}=e;let i,a,l;for(i=0,a=t.length;i<a;++i){l=t[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&e.availableWidth,l.height=s):(l.width=r,l.height=u?u*s:c&&e.availableHeight)}return n}function oM(t){const e=rM(t),n=Ao(e.filter(d=>d.box.fullSize),!0),r=Ao(Bo(e,"left"),!0),s=Ao(Bo(e,"right")),i=Ao(Bo(e,"top"),!0),a=Ao(Bo(e,"bottom")),l=Mp(e,"x"),c=Mp(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:s.concat(c).concat(a).concat(l),chartArea:Bo(e,"chartArea"),vertical:r.concat(s).concat(c),horizontal:i.concat(a).concat(l)}}function Sp(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function vp(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function aM(t,e,n,r){const{pos:s,box:i}=n,a=t.maxPadding;if(!Te(s)){n.size&&(t[s]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?i.height:i.width),n.size=h.size/h.count,t[s]+=n.size}i.getPadding&&vp(a,i.getPadding());const l=Math.max(0,e.outerWidth-Sp(a,t,"left","right")),c=Math.max(0,e.outerHeight-Sp(a,t,"top","bottom")),d=l!==t.w,u=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:d,other:u}:{same:u,other:d}}function lM(t){const e=t.maxPadding;function n(r){const s=Math.max(e[r]-t[r],0);return t[r]+=s,s}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function cM(t,e){const n=e.maxPadding;function r(s){const i={left:0,top:0,right:0,bottom:0};return s.forEach(a=>{i[a]=Math.max(e[a],n[a])}),i}return r(t?["left","right"]:["top","bottom"])}function Fo(t,e,n,r){const s=[];let i,a,l,c,d,u;for(i=0,a=t.length,d=0;i<a;++i){l=t[i],c=l.box,c.update(l.width||e.w,l.height||e.h,cM(l.horizontal,e));const{same:h,other:f}=aM(e,n,l,r);d|=h&&s.length,u=u||f,c.fullSize||s.push(l)}return d&&Fo(s,e,n,r)||u}function _l(t,e,n,r,s){t.top=n,t.left=e,t.right=e+r,t.bottom=n+s,t.width=r,t.height=s}function Tp(t,e,n,r){const s=n.padding;let{x:i,y:a}=e;for(const l of t){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const h=e.w*u,f=d.size||c.height;il(d.start)&&(a=d.start),c.fullSize?_l(c,s.left,a,n.outerWidth-s.right-s.left,f):_l(c,e.left+d.placed,a,h,f),d.start=a,d.placed+=h,a=c.bottom}else{const h=e.h*u,f=d.size||c.width;il(d.start)&&(i=d.start),c.fullSize?_l(c,i,s.top,f,n.outerHeight-s.bottom-s.top):_l(c,i,e.top+d.placed,f,h),d.start=i,d.placed+=h,i=c.right}}e.x=i,e.y=a}var yl={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const s=yn(t.options.layout.padding),i=Math.max(e-s.width,0),a=Math.max(n-s.height,0),l=oM(t.boxes),c=l.vertical,d=l.horizontal;Re(t.boxes,p=>{typeof p.beforeLayout=="function"&&p.beforeLayout()});const u=c.reduce((p,_)=>_.box.options&&_.box.options.display===!1?p:p+1,0)||1,h=Object.freeze({outerWidth:e,outerHeight:n,padding:s,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},s);vp(f,yn(r));const m=Object.assign({maxPadding:f,w:i,h:a,x:s.left,y:s.top},s),g=iM(c.concat(d),h);Fo(l.fullSize,m,h,g),Fo(c,m,h,g),Fo(d,m,h,g)&&Fo(c,m,h,g),lM(m),Tp(l.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,Tp(l.rightAndBottom,m,h,g),t.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Re(l.chartArea,p=>{const _=p.box;Object.assign(_,t.chartArea),_.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class Dp{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,r){}removeEventListener(e,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,r,s){return n=Math.max(0,n||e.width),r=r||e.height,{width:n,height:Math.max(0,s?Math.floor(n/s):r)}}isAttached(e){return!0}updateConfig(e){}}class dM extends Dp{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const wl="$chartjs",uM={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Op=t=>t===null||t==="";function hM(t,e){const n=t.style,r=t.getAttribute("height"),s=t.getAttribute("width");if(t[wl]={initial:{height:r,width:s,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Op(s)){const i=op(t,"width");i!==void 0&&(t.width=i)}if(Op(r))if(t.style.height==="")t.height=t.width/(e||2);else{const i=op(t,"height");i!==void 0&&(t.height=i)}return t}const Ep=Mx?{passive:!0}:!1;function fM(t,e,n){t&&t.addEventListener(e,n,Ep)}function mM(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,Ep)}function pM(t,e){const n=uM[t.type]||t.type,{x:r,y:s}=Vs(t,e);return{type:n,chart:e,native:t,x:r!==void 0?r:null,y:s!==void 0?s:null}}function bl(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function gM(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||bl(l.addedNodes,r),a=a&&!bl(l.removedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}function _M(t,e,n){const r=t.canvas,s=new MutationObserver(i=>{let a=!1;for(const l of i)a=a||bl(l.removedNodes,r),a=a&&!bl(l.addedNodes,r);a&&n()});return s.observe(document,{childList:!0,subtree:!0}),s}const Ro=new Map;let $p=0;function Pp(){const t=window.devicePixelRatio;t!==$p&&($p=t,Ro.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function yM(t,e){Ro.size||window.addEventListener("resize",Pp),Ro.set(t,e)}function wM(t){Ro.delete(t),Ro.size||window.removeEventListener("resize",Pp)}function bM(t,e,n){const r=t.canvas,s=r&&Ru(r);if(!s)return;const i=Ym((l,c)=>{const d=s.clientWidth;n(l,c),d<s.clientWidth&&n()},window),a=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||i(d,u)});return a.observe(s),yM(t,i),a}function Zu(t,e,n){n&&n.disconnect(),e==="resize"&&wM(t)}function kM(t,e,n){const r=t.canvas,s=Ym(i=>{t.ctx!==null&&n(pM(i,t))},t);return fM(r,e,s),s}class CM extends Dp{acquireContext(e,n){const r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(hM(e,n),r):null}releaseContext(e){const n=e.canvas;if(!n[wl])return!1;const r=n[wl].initial;["height","width"].forEach(i=>{const a=r[i];Ue(a)?n.removeAttribute(i):n.setAttribute(i,a)});const s=r.style||{};return Object.keys(s).forEach(i=>{n.style[i]=s[i]}),n.width=n.width,delete n[wl],!0}addEventListener(e,n,r){this.removeEventListener(e,n);const s=e.$proxies||(e.$proxies={}),a={attach:gM,detach:_M,resize:bM}[n]||kM;s[n]=a(e,n,r)}removeEventListener(e,n){const r=e.$proxies||(e.$proxies={}),s=r[n];if(!s)return;({attach:Zu,detach:Zu,resize:Zu}[n]||mM)(e,n,s),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,r,s){return xx(e,n,r,s)}isAttached(e){const n=Ru(e);return!!(n&&n.isConnected)}}function xM(t){return!Fu()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?dM:CM}class As{constructor(){W(this,"x");W(this,"y");W(this,"active",!1);W(this,"options");W(this,"$animations")}tooltipPosition(e){const{x:n,y:r}=this.getProps(["x","y"],e);return{x:n,y:r}}hasValue(){return Oo(this.x)&&Oo(this.y)}getProps(e,n){const r=this.$animations;if(!n||!r)return this;const s={};return e.forEach(i=>{s[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),s}}W(As,"defaults",{}),W(As,"defaultRoutes");function MM(t,e){const n=t.options.ticks,r=SM(t),s=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?TM(e):[],a=i.length,l=i[0],c=i[a-1],d=[];if(a>s)return DM(e,d,i,a/s),d;const u=vM(i,e,s);if(a>0){let h,f;const m=a>1?Math.round((c-l)/(a-1)):null;for(kl(e,d,u,Ue(m)?0:l-m,l),h=0,f=a-1;h<f;h++)kl(e,d,u,i[h],i[h+1]);return kl(e,d,u,c,Ue(m)?e.length:c+m),d}return kl(e,d,u),d}function SM(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),s=t._maxLength/n;return Math.floor(Math.min(r,s))}function vM(t,e,n){const r=OM(t),s=e.length/n;if(!r)return Math.max(s,1);const i=kC(r);for(let a=0,l=i.length-1;a<l;a++){const c=i[a];if(c>s)return c}return Math.max(s,1)}function TM(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}function DM(t,e,n,r){let s=0,i=n[0],a;for(r=Math.ceil(r),a=0;a<t.length;a++)a===i&&(e.push(t[a]),s++,i=n[s*r])}function kl(t,e,n,r,s){const i=Fe(r,0),a=Math.min(Fe(s,t.length),t.length);let l=0,c,d,u;for(n=Math.ceil(n),s&&(c=s-r,n=c/Math.floor(c/n)),u=i;u<0;)l++,u=Math.round(i+l*n);for(d=Math.max(i,0);d<a;d++)d===u&&(e.push(t[d]),l++,u=Math.round(i+l*n))}function OM(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}const EM=t=>t==="left"?"right":t==="right"?"left":t,Lp=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,Vp=(t,e)=>Math.min(e||t,t);function Np(t,e){const n=[],r=t.length/e,s=t.length;let i=0;for(;i<s;i+=r)n.push(t[Math.floor(i)]);return n}function $M(t,e,n){const r=t.ticks.length,s=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,l=1e-6;let c=t.getPixelForTick(s),d;if(!(n&&(r===1?d=Math.max(c-i,a-c):e===0?d=(t.getPixelForTick(1)-c)/2:d=(c-t.getPixelForTick(s-1))/2,c+=s<e?d:-d,c<i-l||c>a+l)))return c}function PM(t,e){Re(t,n=>{const r=n.gc,s=r.length/2;let i;if(s>e){for(i=0;i<s;++i)delete n.data[r[i]];r.splice(0,s)}})}function Io(t){return t.drawTicks?t.tickLength:0}function Bp(t,e){if(!t.display)return 0;const n=an(t.font,e),r=yn(t.padding);return(st(t.text)?t.text.length:1)*n.lineHeight+r.height}function LM(t,e){return ts(t,{scale:e,type:"scale"})}function VM(t,e,n){return ts(t,{tick:n,index:e,type:"tick"})}function NM(t,e,n){let r=$C(t);return(n&&e!=="right"||!n&&e==="right")&&(r=EM(r)),r}function BM(t,e,n,r){const{top:s,left:i,bottom:a,right:l,chart:c}=t,{chartArea:d,scales:u}=c;let h=0,f,m,g;const p=a-s,_=l-i;if(t.isHorizontal()){if(m=Wm(r,i,l),Te(n)){const y=Object.keys(n)[0],C=n[y];g=u[y].getPixelForValue(C)+p-e}else n==="center"?g=(d.bottom+d.top)/2+p-e:g=Lp(t,n,e);f=l-i}else{if(Te(n)){const y=Object.keys(n)[0],C=n[y];m=u[y].getPixelForValue(C)-_+e}else n==="center"?m=(d.left+d.right)/2-_+e:m=Lp(t,n,e);g=Wm(r,a,s),h=n==="left"?-sn:sn}return{titleX:m,titleY:g,maxWidth:f,rotation:h}}class Fs extends As{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,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:r,_suggestedMax:s}=this;return e=nn(e,Number.POSITIVE_INFINITY),n=nn(n,Number.NEGATIVE_INFINITY),r=nn(r,Number.POSITIVE_INFINITY),s=nn(s,Number.NEGATIVE_INFINITY),{min:nn(e,r),max:nn(n,s),minDefined:lt(e),maxDefined:lt(n)}}getMinMax(e){let{min:n,max:r,minDefined:s,maxDefined:i}=this.getUserBounds(),a;if(s&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)a=l[c].controller.getMinMax(this,e),s||(n=Math.min(n,a.min)),i||(r=Math.max(r,a.max));return n=i&&n>r?r:n,r=s&&n>r?n:r,{min:nn(n,nn(r,n)),max:nn(r,nn(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(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){ct(this.options.beforeUpdate,[this])}update(e,n,r){const{beginAtZero:s,grace:i,ticks:a}=this.options,l=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=tx(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?Np(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=MM(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,e=!e),this._startPixel=n,this._endPixel=r,this._reversePixels=e,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){ct(this.options.afterUpdate,[this])}beforeSetDimensions(){ct(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(){ct(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),ct(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){ct(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let r,s,i;for(r=0,s=e.length;r<s;r++)i=e[r],i.label=ct(n.callback,[i.value,r,e],this)}afterTickToLabelConversion(){ct(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){ct(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,r=Vp(this.ticks.length,e.ticks.maxTicksLimit),s=n.minRotation||0,i=n.maxRotation;let a=s,l,c,d;if(!this._isVisible()||!n.display||s>=i||r<=1||!this.isHorizontal()){this.labelRotation=s;return}const u=this._getLabelSizes(),h=u.widest.width,f=u.highest.height,m=_n(this.chart.width-h,0,this.maxWidth);l=e.offset?this.maxWidth/r:m/(r-1),h+6>l&&(l=m/(r-(e.offset?.5:1)),c=this.maxHeight-Io(e.grid)-n.padding-Bp(e.title,this.chart.options.font),d=Math.sqrt(h*h+f*f),a=xu(Math.min(Math.asin(_n((u.highest.height+6)/l,-1,1)),Math.asin(_n(c/d,-1,1))-Math.asin(_n(f/d,-1,1)))),a=Math.max(s,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){ct(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){ct(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:r,title:s,grid:i}}=this,a=this._isVisible(),l=this.isHorizontal();if(a){const c=Bp(s,n.options.font);if(l?(e.width=this.maxWidth,e.height=Io(i)+c):(e.height=this.maxHeight,e.width=Io(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:h,highest:f}=this._getLabelSizes(),m=r.padding*2,g=es(this.labelRotation),p=Math.cos(g),_=Math.sin(g);if(l){const y=r.mirror?0:_*h.width+p*f.height;e.height=Math.min(this.maxHeight,e.height+y+m)}else{const y=r.mirror?0:p*h.width+_*f.height;e.width=Math.min(this.maxWidth,e.width+y+m)}this._calculatePadding(d,u,_,p)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,r,s){const{ticks:{align:i,padding:a},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,m=0;c?d?(f=s*e.width,m=r*n.height):(f=r*e.height,m=s*n.width):i==="start"?m=n.width:i==="end"?f=e.width:i!=="inner"&&(f=e.width/2,m=n.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((m-h+a)*this.width/(this.width-h),0)}else{let u=n.height/2,h=e.height/2;i==="start"?(u=0,h=e.height):i==="end"&&(u=n.height,h=0),this.paddingTop=u+a,this.paddingBottom=h+a}}_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(){ct(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,r;for(n=0,r=e.length;n<r;n++)Ue(e[n].label)&&(e.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Np(r,n)),this._labelSizes=e=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,r){const{ctx:s,_longestTextCache:i}=this,a=[],l=[],c=Math.floor(n/Vp(n,r));let d=0,u=0,h,f,m,g,p,_,y,C,k,v,M;for(h=0;h<n;h+=c){if(g=e[h].label,p=this._resolveTickFontOptions(h),s.font=_=p.string,y=i[_]=i[_]||{data:{},gc:[]},C=p.lineHeight,k=v=0,!Ue(g)&&!st(g))k=cl(s,y.data,y.gc,k,g),v=C;else if(st(g))for(f=0,m=g.length;f<m;++f)M=g[f],!Ue(M)&&!st(M)&&(k=cl(s,y.data,y.gc,k,M),v+=C);a.push(k),l.push(v),d=Math.max(k,d),u=Math.max(v,u)}PM(i,n);const T=a.indexOf(d),S=l.indexOf(u),O=E=>({width:a[E]||0,height:l[E]||0});return{first:O(0),last:O(n-1),widest:O(T),highest:O(S),widths:a,heights:l}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return SC(this._alignToPixels?Ps(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const r=n[e];return r.$context||(r.$context=VM(this.getContext(),e,r))}return this.$context||(this.$context=LM(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=es(this.labelRotation),r=Math.abs(Math.cos(n)),s=Math.abs(Math.sin(n)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,l=i?i.widest.width+a:0,c=i?i.highest.height+a:0;return this.isHorizontal()?c*r>l*s?l/r:c/s:c*s<l*r?c/r:l/s}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,r=this.chart,s=this.options,{grid:i,position:a,border:l}=s,c=i.offset,d=this.isHorizontal(),h=this.ticks.length+(c?1:0),f=Io(i),m=[],g=l.setContext(this.getContext()),p=g.display?g.width:0,_=p/2,y=function(x){return Ps(r,x,p)};let C,k,v,M,T,S,O,E,I,j,$,R;if(a==="top")C=y(this.bottom),S=this.bottom-f,E=C-_,j=y(e.top)+_,R=e.bottom;else if(a==="bottom")C=y(this.top),j=e.top,R=y(e.bottom)-_,S=C+_,E=this.top+f;else if(a==="left")C=y(this.right),T=this.right-f,O=C-_,I=y(e.left)+_,$=e.right;else if(a==="right")C=y(this.left),I=e.left,$=y(e.right)-_,T=C+_,O=this.left+f;else if(n==="x"){if(a==="center")C=y((e.top+e.bottom)/2+.5);else if(Te(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}j=e.top,R=e.bottom,S=C+_,E=S+f}else if(n==="y"){if(a==="center")C=y((e.left+e.right)/2);else if(Te(a)){const x=Object.keys(a)[0],V=a[x];C=y(this.chart.scales[x].getPixelForValue(V))}T=C-_,O=T-f,I=e.left,$=e.right}const G=Fe(s.ticks.maxTicksLimit,h),D=Math.max(1,Math.ceil(h/G));for(k=0;k<h;k+=D){const x=this.getContext(k),V=i.setContext(x),Z=l.setContext(x),ee=V.lineWidth,U=V.color,P=Z.dash||[],N=Z.dashOffset,b=V.tickWidth,w=V.tickColor,B=V.tickBorderDash||[],H=V.tickBorderDashOffset;v=$M(this,k,c),v!==void 0&&(M=Ps(r,v,ee),d?T=O=I=$=M:S=E=j=R=M,m.push({tx1:T,ty1:S,tx2:O,ty2:E,x1:I,y1:j,x2:$,y2:R,width:ee,color:U,borderDash:P,borderDashOffset:N,tickWidth:b,tickColor:w,tickBorderDash:B,tickBorderDashOffset:H}))}return this._ticksLength=h,this._borderValue=C,m}_computeLabelItems(e){const n=this.axis,r=this.options,{position:s,ticks:i}=r,a=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:h}=i,f=Io(r.grid),m=f+u,g=h?-u:m,p=-es(this.labelRotation),_=[];let y,C,k,v,M,T,S,O,E,I,j,$,R="middle";if(s==="top")T=this.bottom-g,S=this._getXAxisLabelAlignment();else if(s==="bottom")T=this.top+g,S=this._getXAxisLabelAlignment();else if(s==="left"){const D=this._getYAxisLabelAlignment(f);S=D.textAlign,M=D.x}else if(s==="right"){const D=this._getYAxisLabelAlignment(f);S=D.textAlign,M=D.x}else if(n==="x"){if(s==="center")T=(e.top+e.bottom)/2+m;else if(Te(s)){const D=Object.keys(s)[0],x=s[D];T=this.chart.scales[D].getPixelForValue(x)+m}S=this._getXAxisLabelAlignment()}else if(n==="y"){if(s==="center")M=(e.left+e.right)/2-m;else if(Te(s)){const D=Object.keys(s)[0],x=s[D];M=this.chart.scales[D].getPixelForValue(x)}S=this._getYAxisLabelAlignment(f).textAlign}n==="y"&&(c==="start"?R="top":c==="end"&&(R="bottom"));const G=this._getLabelSizes();for(y=0,C=l.length;y<C;++y){k=l[y],v=k.label;const D=i.setContext(this.getContext(y));O=this.getPixelForTick(y)+i.labelOffset,E=this._resolveTickFontOptions(y),I=E.lineHeight,j=st(v)?v.length:1;const x=j/2,V=D.color,Z=D.textStrokeColor,ee=D.textStrokeWidth;let U=S;a?(M=O,S==="inner"&&(y===C-1?U=this.options.reverse?"left":"right":y===0?U=this.options.reverse?"right":"left":U="center"),s==="top"?d==="near"||p!==0?$=-j*I+I/2:d==="center"?$=-G.highest.height/2-x*I+I:$=-G.highest.height+I/2:d==="near"||p!==0?$=I/2:d==="center"?$=G.highest.height/2-x*I:$=G.highest.height-j*I,h&&($*=-1),p!==0&&!D.showLabelBackdrop&&(M+=I/2*Math.sin(p))):(T=O,$=(1-j)*I/2);let P;if(D.showLabelBackdrop){const N=yn(D.backdropPadding),b=G.heights[y],w=G.widths[y];let B=$-N.top,H=0-N.left;switch(R){case"middle":B-=b/2;break;case"bottom":B-=b;break}switch(S){case"center":H-=w/2;break;case"right":H-=w;break;case"inner":y===C-1?H-=w:y>0&&(H-=w/2);break}P={left:H,top:B,width:w+N.width,height:b+N.height,color:D.backdropColor}}_.push({label:v,font:E,textOffset:$,options:{rotation:p,color:V,strokeColor:Z,strokeWidth:ee,textAlign:U,textBaseline:R,translation:[M,T],backdrop:P}})}return _}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-es(this.labelRotation))return e==="top"?"left":"right";let s="center";return n.align==="start"?s="left":n.align==="end"?s="right":n.align==="inner"&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:r,mirror:s,padding:i}}=this.options,a=this._getLabelSizes(),l=e+i,c=a.widest.width;let d,u;return n==="left"?s?(u=this.right+i,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u=this.left)):n==="right"?s?(u=this.left+i,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:r,top:s,width:i,height:a}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(r,s,i,a),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const s=this.ticks.findIndex(i=>i.value===e);return s>=0?n.setContext(this.getContext(s)).lineWidth:0}drawGrid(e){const n=this.options.grid,r=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const l=(c,d,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,a=s.length;i<a;++i){const c=s[i];n.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:r,grid:s}}=this,i=r.setContext(this.getContext()),a=r.display?i.width:0;if(!a)return;const l=s.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,h,f;this.isHorizontal()?(d=Ps(e,this.left,a)-a/2,u=Ps(e,this.right,l)+l/2,h=f=c):(h=Ps(e,this.top,a)-a/2,f=Ps(e,this.bottom,l)+l/2,d=u=c),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,h),n.lineTo(u,f),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const r=this.ctx,s=this._computeLabelArea();s&&Pu(r,s);const i=this.getLabelItems(e);for(const a of i){const l=a.options,c=a.font,d=a.label,u=a.textOffset;dl(r,d,0,u,c,l)}s&&Lu(r)}drawTitle(){const{ctx:e,options:{position:n,title:r,reverse:s}}=this;if(!r.display)return;const i=an(r.font),a=yn(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||Te(n)?(c+=a.bottom,st(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=a.top;const{titleX:d,titleY:u,maxWidth:h,rotation:f}=BM(this,c,n,l);dl(e,r.text,0,0,i,{color:r.color,maxWidth:h,rotation:f,textAlign:NM(l,n,s),textBaseline:"middle",translation:[d,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,r=Fe(e.grid&&e.grid.z,-1),s=Fe(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==Fs.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",s=[];let i,a;for(i=0,a=n.length;i<a;++i){const l=n[i];l[r]===this.id&&(!e||l.type===e)&&s.push(l)}return s}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return an(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Cl{constructor(e,n,r){this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let r;RM(n)&&(r=this.register(n));const s=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in s||(s[i]=e,AM(e,a,r),this.override&&gt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const n=this.items,r=e.id,s=this.scope;r in n&&delete n[r],s&&r in gt[s]&&(delete gt[s][r],this.override&&delete $s[r])}}function AM(t,e,n){const r=vo(Object.create(null),[n?gt.get(n):{},gt.get(e),t.defaults]);gt.set(e,r),t.defaultRoutes&&FM(e,t.defaultRoutes),t.descriptors&&gt.describe(e,t.descriptors)}function FM(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),s=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");gt.route(i,s,c,l)})}function RM(t){return"id"in t&&"defaults"in t}class IM{constructor(){this.controllers=new Cl(Vo,"datasets",!0),this.elements=new Cl(As,"elements"),this.plugins=new Cl(Object,"plugins"),this.scales=new Cl(Fs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,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(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,r){[...n].forEach(s=>{const i=r||this._getRegistryForType(s);r||i.isForType(s)||i===this.plugins&&s.id?this._exec(e,i,s):Re(s,a=>{const l=r||this._getRegistryForType(a);this._exec(e,l,a)})})}_exec(e,n,r){const s=Cu(e);ct(r["before"+s],[],r),n[e](r),ct(r["after"+s],[],r)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(e))return r}return this.plugins}_get(e,n,r){const s=n.get(e);if(s===void 0)throw new Error('"'+e+'" is not a registered '+r+".");return s}}var er=new IM;class HM{constructor(){this._init=[]}notify(e,n,r,s){n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const i=s?this._descriptors(e).filter(s):this._descriptors(e),a=this._notify(i,e,n,r);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall")),a}_notify(e,n,r,s){s=s||{};for(const i of e){const a=i.plugin,l=a[r],c=[n,s,i.options];if(ct(l,c,a)===!1&&s.cancelable)return!1}return!0}invalidate(){Ue(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const r=e&&e.config,s=Fe(r.options&&r.options.plugins,{}),i=zM(r);return s===!1&&!n?[]:WM(e,i,s,n)}_notifyStateChanges(e){const n=this._oldCache||[],r=this._cache,s=(i,a)=>i.filter(l=>!a.some(c=>l.plugin.id===c.plugin.id));this._notify(s(n,r),e,"stop"),this._notify(s(r,n),e,"start")}}function zM(t){const e={},n=[],r=Object.keys(er.plugins.items);for(let i=0;i<r.length;i++)n.push(er.getPlugin(r[i]));const s=t.plugins||[];for(let i=0;i<s.length;i++){const a=s[i];n.indexOf(a)===-1&&(n.push(a),e[a.id]=!0)}return{plugins:n,localIds:e}}function YM(t,e){return!e&&t===!1?null:t===!0?{}:t}function WM(t,{plugins:e,localIds:n},r,s){const i=[],a=t.getContext();for(const l of e){const c=l.id,d=YM(r[c],s);d!==null&&i.push({plugin:l,options:jM(t.config,{plugin:l,local:n[c]},d,a)})}return i}function jM(t,{plugin:e,local:n},r,s){const i=t.pluginScopeKeys(e),a=t.getOptionScopes(r,i);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Uu(t,e){const n=gt.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function ZM(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function UM(t,e){return t===e?"_index_":"_value_"}function Ap(t){if(t==="x"||t==="y"||t==="r")return t}function qM(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function qu(t,...e){if(Ap(t))return t;for(const n of e){const r=n.axis||qM(n.position)||t.length>1&&Ap(t[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Fp(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function GM(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(r=>r.xAxisID===t||r.yAxisID===t);if(n.length)return Fp(t,"x",n[0])||Fp(t,"y",n[0])}return{}}function KM(t,e){const n=$s[t.type]||{scales:{}},r=e.scales||{},s=Uu(t.type,e),i=Object.create(null);return Object.keys(r).forEach(a=>{const l=r[a];if(!Te(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=qu(a,l,GM(a,t),gt.scales[l.type]),d=UM(c,s),u=n.scales||{};i[a]=To(Object.create(null),[{axis:c},l,u[c],u[d]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Uu(l,e),u=($s[l]||{}).scales||{};Object.keys(u).forEach(h=>{const f=ZM(h,c),m=a[f+"AxisID"]||f;i[m]=i[m]||Object.create(null),To(i[m],[{axis:f},r[m],u[h]])})}),Object.keys(i).forEach(a=>{const l=i[a];To(l,[gt.scales[l.type],gt.scale])}),i}function Rp(t){const e=t.options||(t.options={});e.plugins=Fe(e.plugins,{}),e.scales=KM(t,e)}function Ip(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function XM(t){return t=t||{},t.data=Ip(t.data),Rp(t),t}const Hp=new Map,zp=new Set;function xl(t,e){let n=Hp.get(t);return n||(n=e(),Hp.set(t,n),zp.add(n)),n}const Ho=(t,e,n)=>{const r=sl(e,n);r!==void 0&&t.add(r)};class JM{constructor(e){this._config=XM(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=Ip(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(),Rp(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return xl(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return xl(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return xl(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,r=this.type;return xl(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const r=this._scopeCache;let s=r.get(e);return(!s||n)&&(s=new Map,r.set(e,s)),s}getOptionScopes(e,n,r){const{options:s,type:i}=this,a=this._cachedScopes(e,r),l=a.get(n);if(l)return l;const c=new Set;n.forEach(u=>{e&&(c.add(e),u.forEach(h=>Ho(c,e,h))),u.forEach(h=>Ho(c,s,h)),u.forEach(h=>Ho(c,$s[i]||{},h)),u.forEach(h=>Ho(c,gt,h)),u.forEach(h=>Ho(c,Ou,h))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),zp.has(n)&&a.set(n,d),d}chartOptionScopes(){const{options:e,type:n}=this;return[e,$s[n]||{},gt.datasets[n]||{},{type:n},gt,Ou]}resolveNamedOptions(e,n,r,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:l}=Yp(this._resolverCache,e,s);let c=a;if(eS(a,n)){i.$shared=!1,r=Jr(r)?r():r;const d=this.createResolver(e,r,l);c=Mi(a,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(e,n,r=[""],s){const{resolver:i}=Yp(this._resolverCache,e,r);return Te(n)?Mi(i,n,void 0,s):i}}function Yp(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const s=n.join();let i=r.get(s);return i||(i={resolver:Nu(e,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(s,i)),i}const QM=t=>Te(t)&&Object.getOwnPropertyNames(t).some(e=>Jr(t[e]));function eS(t,e){const{isScriptable:n,isIndexable:r}=Jm(t);for(const s of e){const i=n(s),a=r(s),l=(a||i)&&t[s];if(i&&(Jr(l)||QM(l))||a&&st(l))return!0}return!1}var tS="4.4.2";const nS=["top","bottom","left","right","chartArea"];function Wp(t,e){return t==="top"||t==="bottom"||nS.indexOf(t)===-1&&e==="x"}function jp(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Zp(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),ct(n&&n.onComplete,[t],e)}function rS(t){const e=t.chart,n=e.options.animation;ct(n&&n.onProgress,[t],e)}function Up(t){return Fu()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Ml={},qp=t=>{const e=Up(t);return Object.values(Ml).filter(n=>n.canvas===e).pop()};function sS(t,e,n){const r=Object.keys(t);for(const s of r){const i=+s;if(i>=e){const a=t[s];delete t[s],(n>0||i>e)&&(t[i+n]=a)}}}function iS(t,e,n,r){return!n||t.type==="mouseout"?null:r?e:t}function Sl(t,e,n){return t.options.clip?t[n]:e[n]}function oS(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:Sl(n,e,"left"),right:Sl(n,e,"right"),top:Sl(r,e,"top"),bottom:Sl(r,e,"bottom")}:e}let zo=(cs=class{static register(...e){er.add(...e),Gp()}static unregister(...e){er.remove(...e),Gp()}constructor(e,n){const r=this.config=new JM(n),s=Up(e),i=qp(s);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||xM(s)),this.platform.updateConfig(r);const l=this.platform.acquireContext(s,a.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=hC(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=a,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 HM,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=EC(h=>this.update(h),a.resizeDelay||0),this._dataChanges=[],Ml[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}yr.listen(this,"complete",Zp),yr.listen(this,"progress",rS),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:r,height:s,_aspectRatio:i}=this;return Ue(e)?n&&i?i:s?r/s: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 er}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ip(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Km(this.canvas,this.ctx),this}stop(){return yr.stop(this),this}resize(e,n){yr.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const r=this.options,s=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(s,e,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,ip(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),ct(r.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Re(n,(r,s)=>{r.id=s})}buildOrUpdateScales(){const e=this.options,n=e.scales,r=this.scales,s=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let i=[];n&&(i=i.concat(Object.keys(n).map(a=>{const l=n[a],c=qu(a,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Re(i,a=>{const l=a.options,c=l.id,d=qu(c,l),u=Fe(l.type,a.dtype);(l.position===void 0||Wp(l.position,d)!==Wp(a.dposition))&&(l.position=a.dposition),s[c]=!0;let h=null;if(c in r&&r[c].type===u)h=r[c];else{const f=er.getScale(u);h=new f({id:c,type:u,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(l,e)}),Re(s,(a,l)=>{a||delete r[l]}),Re(r,a=>{yl.configure(this,a,a.options),yl.addBox(this,a)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,r=e.length;if(e.sort((s,i)=>s.index-i.index),r>n){for(let s=n;s<r;++s)this._destroyDatasetMeta(s);e.splice(n,r-n)}this._sortedMetasets=e.slice(0).sort(jp("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((r,s)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(s)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let r,s;for(this._removeUnreferencedMetasets(),r=0,s=n.length;r<s;r++){const i=n[r];let a=this.getDatasetMeta(r);const l=i.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=i.indexAxis||Uu(l,this.options),a.order=i.order||0,a.index=r,a.label=""+i.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const c=er.getController(l),{datasetElementType:d,dataElementType:u}=gt.datasets[l];Object.assign(c,{dataElementType:er.getElement(u),datasetElementType:d&&er.getElement(d)}),a.controller=new c(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Re(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:h}=this.getDatasetMeta(d),f=!s&&i.indexOf(h)===-1;h.buildOrUpdateElements(f),a=Math.max(+h.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),s||Re(i,d=>{d.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jp("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Re(this.scales,e=>{yl.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!Lm(n,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:s,count:i}of n){const a=r==="_removeElements"?-i:i;sS(e,s,a)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(e.filter(a=>a[0]===i).map((a,l)=>l+","+a.splice(1).join(","))),s=r(0);for(let i=1;i<n;i++)if(!Lm(s,r(i)))return;return Array.from(s).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;yl.update(this,this.width,this.height,e);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Re(this.boxes,s=>{r&&s.position==="chartArea"||(s.configure&&s.configure(),this._layers.push(...s._layers()))},this),this._layers.forEach((s,i)=>{s._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Jr(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const r=this.getDatasetMeta(e),s={meta:r,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",s)!==!1&&(r.controller._update(n),s.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",s))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(yr.has(this)?this.attached&&!yr.running(this)&&yr.start(this):(this.draw(),Zp({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:s}=this._resizeBeforeDraw;this._resize(r,s),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,r=[];let s,i;for(s=0,i=n.length;s<i;++s){const a=n[s];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,r=e._clip,s=!r.disabled,i=oS(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(s&&Pu(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),e.controller.draw(),s&&Lu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return _r(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,r,s){const i=nM.modes[n];return typeof i=="function"?i(this,e,r,s):[]}getDatasetMeta(e){const n=this.data.datasets[e],r=this._metasets;let s=r.filter(i=>i&&i._dataset===n).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},r.push(s)),s}getContext(){return this.$context||(this.$context=ts(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const r=this.getDatasetMeta(e);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(e,n){const r=this.getDatasetMeta(e);r.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,r){const s=r?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);il(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(i,{visible:r}),this.update(l=>l.datasetIndex===e?s:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),yr.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Km(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete Ml[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,r=(i,a)=>{n.addEventListener(this,i,a),e[i]=a},s=(i,a,l)=>{i.offsetX=a,i.offsetY=l,this._eventHandler(i)};Re(this.options.events,i=>r(i,s))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,r=(c,d)=>{n.addEventListener(this,c,d),e[c]=d},s=(c,d)=>{e[c]&&(n.removeEventListener(this,c,d),delete e[c])},i=(c,d)=>{this.canvas&&this.resize(c,d)};let a;const l=()=>{s("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",a)};a=()=>{this.attached=!1,s("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():a()}unbindEvents(){Re(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Re(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,r){const s=r?"set":"remove";let i,a,l,c;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+s+"DatasetHoverStyle"]()),l=0,c=e.length;l<c;++l){a=e[l];const d=a&&this.getDatasetMeta(a.datasetIndex).controller;d&&d[s+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],r=e.map(({datasetIndex:i,index:a})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[a],index:a}});!nl(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(e,n,r){return this._plugins.notify(this,e,n,r)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,r){const s=this.options.hover,i=(c,d)=>c.filter(u=>!d.some(h=>u.datasetIndex===h.datasetIndex&&u.index===h.index)),a=i(n,e),l=r?e:i(e,n);a.length&&this.updateHoverStyle(a,s.mode,!1),l.length&&s.mode&&this.updateHoverStyle(l,s.mode,!0)}_eventHandler(e,n){const r={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},s=a=>(a.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",r,s)===!1)return;const i=this._handleEvent(e,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,s),(i||r.changed)&&this.render(),this}_handleEvent(e,n,r){const{_active:s=[],options:i}=this,a=n,l=this._getActiveElements(e,s,r,a),c=yC(e),d=iS(e,this._lastEvent,r,c);r&&(this._lastEvent=null,ct(i.onHover,[e,l,this],this),c&&ct(i.onClick,[e,l,this],this));const u=!nl(l,s);return(u||n)&&(this._active=l,this._updateHoverStyles(l,s,n)),this._lastEvent=d,u}_getActiveElements(e,n,r,s){if(e.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,s)}},W(cs,"defaults",gt),W(cs,"instances",Ml),W(cs,"overrides",$s),W(cs,"registry",er),W(cs,"version",tS),W(cs,"getChart",qp),cs);function Gp(){return Re(zo.instances,t=>t._plugins.invalidate())}function Kp(t,e,n=e){t.lineCap=Fe(n.borderCapStyle,e.borderCapStyle),t.setLineDash(Fe(n.borderDash,e.borderDash)),t.lineDashOffset=Fe(n.borderDashOffset,e.borderDashOffset),t.lineJoin=Fe(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=Fe(n.borderWidth,e.borderWidth),t.strokeStyle=Fe(n.borderColor,e.borderColor)}function aS(t,e,n){t.lineTo(n.x,n.y)}function lS(t){return t.stepped?jC:t.tension||t.cubicInterpolationMode==="monotone"?ZC:aS}function Xp(t,e,n={}){const r=t.length,{start:s=0,end:i=r-1}=n,{start:a,end:l}=e,c=Math.max(s,a),d=Math.min(i,l),u=s<a&&i<a||s>l&&i>l;return{count:r,start:c,loop:e.loop,ilen:d<c&&!u?r+d-c:d-c}}function cS(t,e,n,r){const{points:s,options:i}=e,{count:a,start:l,loop:c,ilen:d}=Xp(s,n,r),u=lS(i);let{move:h=!0,reverse:f}=r||{},m,g,p;for(m=0;m<=d;++m)g=s[(l+(f?d-m:m))%a],!g.skip&&(h?(t.moveTo(g.x,g.y),h=!1):u(t,p,g,f,i.stepped),p=g);return c&&(g=s[(l+(f?d:0))%a],u(t,p,g,f,i.stepped)),!!c}function dS(t,e,n,r){const s=e.points,{count:i,start:a,ilen:l}=Xp(s,n,r),{move:c=!0,reverse:d}=r||{};let u=0,h=0,f,m,g,p,_,y;const C=v=>(a+(d?l-v:v))%i,k=()=>{p!==_&&(t.lineTo(u,_),t.lineTo(u,p),t.lineTo(u,y))};for(c&&(m=s[C(0)],t.moveTo(m.x,m.y)),f=0;f<=l;++f){if(m=s[C(f)],m.skip)continue;const v=m.x,M=m.y,T=v|0;T===g?(M<p?p=M:M>_&&(_=M),u=(h*u+v)/++h):(k(),t.lineTo(v,M),g=T,h=0,p=_=M),y=M}k()}function Gu(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?dS:cS}function uS(t){return t.stepped?Sx:t.tension||t.cubicInterpolationMode==="monotone"?vx:Ns}function hS(t,e,n,r){let s=e._path;s||(s=e._path=new Path2D,e.path(s,n,r)&&s.closePath()),Kp(t,e.options),t.stroke(s)}function fS(t,e,n,r){const{segments:s,options:i}=e,a=Gu(e);for(const l of s)Kp(t,i,l.style),t.beginPath(),a(t,e,l,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}const mS=typeof Path2D=="function";function pS(t,e,n,r){mS&&!e.options.segment?hS(t,e,n,r):fS(t,e,n,r)}class wr extends As{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,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const s=r.spanGaps?this._loop:this._fullLoop;_x(this._points,r,e,s,n),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=Vx(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,r=e.length;return r&&n[e[r-1].end]}interpolate(e,n){const r=this.options,s=e[n],i=this.points,a=dp(this,{property:n,start:s,end:s});if(!a.length)return;const l=[],c=uS(r);let d,u;for(d=0,u=a.length;d<u;++d){const{start:h,end:f}=a[d],m=i[h],g=i[f];if(m===g){l.push(m);continue}const p=Math.abs((s-m[n])/(g[n]-m[n])),_=c(m,g,p,r.stepped);_[n]=e[n],l.push(_)}return l.length===1?l[0]:l}pathSegment(e,n,r){return Gu(this)(e,this,n,r)}path(e,n,r){const s=this.segments,i=Gu(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const l of s)a&=i(e,this,l,{start:n,end:n+r-1});return!!a}draw(e,n,r,s){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),pS(e,this,r,s),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}W(wr,"id","line"),W(wr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),W(wr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),W(wr,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function Jp(t,e,n,r){const s=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<s.radius+s.hitRadius}class Yo extends As{constructor(n){super();W(this,"parsed");W(this,"skip");W(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,s){const i=this.options,{x:a,y:l}=this.getProps(["x","y"],s);return Math.pow(n-a,2)+Math.pow(r-l,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return Jp(this,n,"x",r)}inYRange(n,r){return Jp(this,n,"y",r)}getCenterPoint(n){const{x:r,y:s}=this.getProps(["x","y"],n);return{x:r,y:s}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const s=r&&n.borderWidth||0;return(r+s)*2}draw(n,r){const s=this.options;this.skip||s.radius<.1||!_r(this,r,this.size(s)/2)||(n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.fillStyle=s.backgroundColor,$u(n,s,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}W(Yo,"id","point"),W(Yo,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),W(Yo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function gS(t,e,n){const r=t.segments,s=t.points,i=e.points,a=[];for(const l of r){let{start:c,end:d}=l;d=Xu(c,d,s);const u=Ku(n,s[c],s[d],l.loop);if(!e.segments){a.push({source:l,target:u,start:s[c],end:s[d]});continue}const h=dp(e,u);for(const f of h){const m=Ku(n,i[f.start],i[f.end],f.loop),g=cp(l,s,m);for(const p of g)a.push({source:p,target:f,start:{[n]:Qp(u,m,"start",Math.max)},end:{[n]:Qp(u,m,"end",Math.min)}})}}return a}function Ku(t,e,n,r){if(r)return;let s=e[t],i=n[t];return t==="angle"&&(s=on(s),i=on(i)),{property:t,start:s,end:i}}function _S(t,e){const{x:n=null,y:r=null}=t||{},s=e.points,i=[];return e.segments.forEach(({start:a,end:l})=>{l=Xu(a,l,s);const c=s[a],d=s[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Xu(t,e,n){for(;e>t;e--){const r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function Qp(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function e2(t,e){let n=[],r=!1;return st(t)?(r=!0,n=t):n=_S(t,e),n.length?new wr({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function t2(t){return t&&t.fill!==!1}function yS(t,e,n){let s=t[e].fill;const i=[e];let a;if(!n)return s;for(;s!==!1&&i.indexOf(s)===-1;){if(!lt(s))return s;if(a=t[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function wS(t,e,n){const r=xS(t);if(Te(r))return isNaN(r.value)?!1:r;let s=parseFloat(r);return lt(s)&&Math.floor(s)===s?bS(r[0],e,s,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function bS(t,e,n,r){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=r?!1:n}function kS(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:Te(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function CS(t,e,n){let r;return t==="start"?r=n:t==="end"?r=e.options.reverse?e.min:e.max:Te(t)?r=t.value:r=e.getBaseValue(),r}function xS(t){const e=t.options,n=e.fill;let r=Fe(n&&n.target,n);return r===void 0&&(r=!!e.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function MS(t){const{scale:e,index:n,line:r}=t,s=[],i=r.segments,a=r.points,l=SS(e,n);l.push(e2({x:null,y:e.bottom},r));for(let c=0;c<i.length;c++){const d=i[c];for(let u=d.start;u<=d.end;u++)vS(s,a[u],l)}return new wr({points:s,options:{}})}function SS(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let s=0;s<r.length;s++){const i=r[s];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function vS(t,e,n){const r=[];for(let s=0;s<n.length;s++){const i=n[s],{first:a,last:l,point:c}=TS(i,e,"x");if(!(!c||a&&l)){if(a)r.unshift(c);else if(t.push(c),!l)break}}t.push(...r)}function TS(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const s=r[n],i=t.segments,a=t.points;let l=!1,c=!1;for(let d=0;d<i.length;d++){const u=i[d],h=a[u.start][n],f=a[u.end][n];if(Rm(s,h,f)){l=s===h,c=s===f;break}}return{first:l,last:c,point:r}}class n2{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,r){const{x:s,y:i,radius:a}=this;return n=n||{start:0,end:rn},e.arc(s,i,a,n.end,n.start,!0),!r.bounds}interpolate(e){const{x:n,y:r,radius:s}=this,i=e.angle;return{x:n+Math.cos(i)*s,y:r+Math.sin(i)*s,angle:i}}}function DS(t){const{chart:e,fill:n,line:r}=t;if(lt(n))return OS(e,n);if(n==="stack")return MS(t);if(n==="shape")return!0;const s=ES(t);return s instanceof n2?s:e2(s,r)}function OS(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function ES(t){return(t.scale||{}).getPointPositionForValue?PS(t):$S(t)}function $S(t){const{scale:e={},fill:n}=t,r=kS(n,e);if(lt(r)){const s=e.isHorizontal();return{x:s?r:null,y:s?null:r}}return null}function PS(t){const{scale:e,fill:n}=t,r=e.options,s=e.getLabels().length,i=r.reverse?e.max:e.min,a=CS(n,e,i),l=[];if(r.grid.circular){const c=e.getPointPositionForValue(0,i);return new n2({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(a)})}for(let c=0;c<s;++c)l.push(e.getPointPositionForValue(c,a));return l}function Ju(t,e,n){const r=DS(e),{line:s,scale:i,axis:a}=e,l=s.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:h=d}=c||{};r&&s.points.length&&(Pu(t,n),LS(t,{line:s,target:r,above:u,below:h,area:n,scale:i,axis:a}),Lu(t))}function LS(t,e){const{line:n,target:r,above:s,below:i,area:a,scale:l}=e,c=n._loop?"angle":e.axis;t.save(),c==="x"&&i!==s&&(r2(t,r,a.top),s2(t,{line:n,target:r,color:s,scale:l,property:c}),t.restore(),t.save(),r2(t,r,a.bottom)),s2(t,{line:n,target:r,color:i,scale:l,property:c}),t.restore()}function r2(t,e,n){const{segments:r,points:s}=e;let i=!0,a=!1;t.beginPath();for(const l of r){const{start:c,end:d}=l,u=s[c],h=s[Xu(c,d,s)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,l,{move:a}),a?t.closePath():t.lineTo(h.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function s2(t,e){const{line:n,target:r,property:s,color:i,scale:a}=e,l=gS(n,r,s);for(const{source:c,target:d,start:u,end:h}of l){const{style:{backgroundColor:f=i}={}}=c,m=r!==!0;t.save(),t.fillStyle=f,VS(t,a,m&&Ku(s,u,h)),t.beginPath();const g=!!n.pathSegment(t,c);let p;if(m){g?t.closePath():i2(t,r,h,s);const _=!!r.pathSegment(t,d,{move:g,reverse:!0});p=g&&_,p||i2(t,r,u,s)}t.closePath(),t.fill(p?"evenodd":"nonzero"),t.restore()}}function VS(t,e,n){const{top:r,bottom:s}=e.chart.chartArea,{property:i,start:a,end:l}=n||{};i==="x"&&(t.beginPath(),t.rect(a,r,l-a,s-r),t.clip())}function i2(t,e,n,r){const s=e.interpolate(n,r);s&&t.lineTo(s.x,s.y)}var o2={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,s=[];let i,a,l,c;for(a=0;a<r;++a)i=t.getDatasetMeta(a),l=i.dataset,c=null,l&&l.options&&l instanceof wr&&(c={visible:t.isDatasetVisible(a),index:a,fill:wS(l,a,r),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:l}),i.$filler=c,s.push(c);for(a=0;a<r;++a)c=s[a],!(!c||c.fill===!1)&&(c.fill=yS(s,a,n.propagate))},beforeDraw(t,e,n){const r=n.drawTime==="beforeDraw",s=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let a=s.length-1;a>=0;--a){const l=s[a].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&Ju(t.ctx,l,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=t.getSortedVisibleDatasetMetas();for(let s=r.length-1;s>=0;--s){const i=r[s].$filler;t2(i)&&Ju(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;!t2(r)||n.drawTime!=="beforeDatasetDraw"||Ju(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Wo={average(t){if(!t.length)return!1;let e,n,r=new Set,s=0,i=0;for(e=0,n=t.length;e<n;++e){const l=t[e].element;if(l&&l.hasValue()){const c=l.tooltipPosition();r.add(c.x),s+=c.y,++i}}return{x:[...r].reduce((l,c)=>l+c)/r.size,y:s/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,r=e.y,s=Number.POSITIVE_INFINITY,i,a,l;for(i=0,a=t.length;i<a;++i){const c=t[i].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Mu(e,d);u<s&&(s=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function tr(t,e){return e&&(st(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function br(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
38
38
  `)>-1?t.split(`
39
- `):t}function BS(t,e){const{element:n,datasetIndex:r,index:s}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(s);return{chart:t,label:a,parsed:i.getParsed(s),raw:t.data.datasets[r].data[s],formattedValue:l,dataset:i.getDataset(),dataIndex:s,datasetIndex:r,element:n}}function a2(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=an(e.bodyFont),d=an(e.titleFont),u=an(e.footerFont),h=i.length,f=s.length,m=r.length,g=yn(e.padding);let p=g.height,_=0,y=r.reduce((v,M)=>v+M.before.length+M.lines.length+M.after.length,0);if(y+=t.beforeBody.length+t.afterBody.length,h&&(p+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const v=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;p+=m*v+(y-m)*c.lineHeight+(y-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const k=function(v){_=Math.max(_,n.measureText(v).width+C)};return n.save(),n.font=d.string,Re(t.title,k),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Re(r,v=>{Re(v.before,k),Re(v.lines,k),Re(v.after,k)}),C=0,n.font=u.string,Re(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function AS(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function FS(t,e,n,r){const{x:s,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&s+i+a>e.width||t==="right"&&s-i-a<0)return!0}function RS(t,e,n,r){const{x:s,width:i}=n,{width:a,chartArea:{left:l,right:c}}=t;let d="center";return r==="center"?d=s<=(l+c)/2?"left":"right":s<=i/2?d="left":s>=a-i/2&&(d="right"),FS(d,t,e,n)&&(d="center"),d}function l2(t,e,n){const r=n.yAlign||e.yAlign||AS(t,n);return{xAlign:n.xAlign||e.xAlign||RS(t,e,n,r),yAlign:r}}function IS(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function HS(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function c2(t,e,n,r){const{caretSize:s,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,d=s+i,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:m}=Po(a);let g=IS(e,l);const p=HS(e,c,d);return c==="center"?l==="left"?g+=d:l==="right"&&(g-=d):l==="left"?g-=Math.max(u,f)+s:l==="right"&&(g+=Math.max(h,m)+s),{x:_n(g,0,r.width-e.width),y:_n(p,0,r.height-e.height)}}function vl(t,e,n){const r=yn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function d2(t){return tr([],br(t))}function zS(t,e,n){return ts(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function u2(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const h2={beforeTitle:gr,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:gr,beforeBody:gr,beforeLabel:gr,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ue(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:gr,afterBody:gr,beforeFooter:gr,footer:gr,afterFooter:gr};function jt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?h2[e].call(n,r):s}class Qu extends As{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 n=this.chart,r=this.options.setContext(this.getContext()),s=r.enabled&&n.options.animation&&r.animations,i=new mp(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=zS(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=jt(r,"beforeTitle",this,e),i=jt(r,"title",this,e),a=jt(r,"afterTitle",this,e);let l=[];return l=tr(l,br(s)),l=tr(l,br(i)),l=tr(l,br(a)),l}getBeforeBody(e,n){return d2(jt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=u2(r,i);tr(a.before,br(jt(l,"beforeLabel",this,i))),tr(a.lines,jt(l,"label",this,i)),tr(a.after,br(jt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return d2(jt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=jt(r,"beforeFooter",this,e),i=jt(r,"footer",this,e),a=jt(r,"afterFooter",this,e);let l=[];return l=tr(l,br(s)),l=tr(l,br(i)),l=tr(l,br(a)),l}_createItems(e){const n=this._active,r=this.chart.data,s=[],i=[],a=[];let l=[],c,d;for(c=0,d=n.length;c<d;++c)l.push(BS(this.chart,n[c]));return e.filter&&(l=l.filter((u,h,f)=>e.filter(u,h,f,r))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,r))),Re(l,u=>{const h=u2(e.callbacks,u);s.push(jt(h,"labelColor",this,u)),i.push(jt(h,"labelPointStyle",this,u)),a.push(jt(h,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),s=this._active;let i,a=[];if(!s.length)this.opacity!==0&&(i={opacity:0});else{const l=Wo[r.position].call(this,s,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=a2(this,r),d=Object.assign({},l,c),u=l2(this.chart,r,d),h=c2(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,s){const i=this.getCaretPosition(e,r,s);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=Po(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,v,M;return i==="center"?(v=m+p/2,s==="left"?(_=f,y=_-a,k=v+a,M=v-a):(_=f+g,y=_+a,k=v-a,M=v+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,v=k-a,_=y-a,C=y+a):(k=m+p,v=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:v,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=Iu(r.rtl,this.x,this.width);for(e.x=vl(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=an(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,c=0;c<i;++c)n.fillText(s[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,s,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=i,u=an(i.bodyFont),h=vl(this,"left",i),f=s.x(h),m=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+m;if(i.usePointStyle){const p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},_=s.leftForLtr(f,d)+d/2,y=g+c/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,$u(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,$u(e,p,_,y)}else{e.lineWidth=Te(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const p=s.leftForLtr(f,d),_=s.leftForLtr(s.xPlus(f,1),d-2),y=Po(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Vu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Vu(e,{x:_,y:g+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(p,g,d,c),e.strokeRect(p,g,d,c),e.fillStyle=a.backgroundColor,e.fillRect(_,g+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=an(r.bodyFont);let f=h.lineHeight,m=0;const g=Iu(r.rtl,this.x,this.width),p=function(O){n.fillText(O,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,v,M,T,S;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=vl(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,v=0,T=s.length;v<T;++v){for(y=s[v],C=this.labelTextColors[v],n.fillStyle=C,Re(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,v,g,r),f=Math.max(h.lineHeight,c)),M=0,S=k.length;M<S;++M)p(k[M]),f=h.lineHeight;Re(y.after,p)}m=0,f=h.lineHeight,Re(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=Iu(r.rtl,this.x,this.width);for(e.x=vl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=an(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(s[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,s){const{xAlign:i,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=r,{topLeft:h,topRight:f,bottomLeft:m,bottomRight:g}=Po(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(l+h,c),a==="top"&&this.drawCaret(e,n,r,s),n.lineTo(l+d-f,c),n.quadraticCurveTo(l+d,c,l+d,c+f),a==="center"&&i==="right"&&this.drawCaret(e,n,r,s),n.lineTo(l+d,c+u-g),n.quadraticCurveTo(l+d,c+u,l+d-g,c+u),a==="bottom"&&this.drawCaret(e,n,r,s),n.lineTo(l+m,c+u),n.quadraticCurveTo(l,c+u,l,c+u-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,s),n.lineTo(l,c+h),n.quadraticCurveTo(l,c,l+h,c),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,s=r&&r.x,i=r&&r.y;if(s||i){const a=Wo[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=a2(this,e),c=Object.assign({},a,this._size),d=l2(n,e,c),u=c2(e,c,d,n);(s._to!==u.x||i._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=yn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,s,n),Ex(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),$x(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,s=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),i=!nl(r,s),a=this._positionChanged(s,n);(i||a)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),c=n||!nl(a,i)||l;return c&&(this._active=a,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),c}_getActiveElements(e,n,r,s){const i=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:s,options:i}=this,a=Wo[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Qu,"positioners",Wo);var YS={id:"tooltip",_element:Qu,positioners:Wo,afterInit(t,e,n){n&&(t.tooltip=new Qu({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.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:h2},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const WS=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function jS(t,e,n,r){const s=t.indexOf(e);if(s===-1)return WS(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const ZS=(t,e)=>t===null?null:_n(Math.round(t),0,e);function f2(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Tl extends Fs{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:s,label:i}of n)r[s]===i&&r.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ue(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:jS(r,e,Fe(n,e),this._addedLabels),ZS(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(s=this.getLabels().length-1)),this.min=r,this.max=s}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,s=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)s.push({value:a});return s}getLabelForValue(e){return f2.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}W(Tl,"id","category"),W(Tl,"defaults",{ticks:{callback:f2}});function US(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ue(a),C=!Ue(l),k=!Ue(d),v=(_-p)/(h+1);let M=Nm((_-p)/g/m)*m,T,S,O,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=Nm(E*M/g/m)*m),Ue(c)||(T=Math.pow(10,c),M=Math.ceil(M*T)/T),s==="ticks"?(S=Math.floor(p/M)*M,O=Math.ceil(_/M)*M):(S=p,O=_),y&&C&&i&&xC((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,S=a,O=l):k?(S=y?a:S,O=C?l:O,E=d-1,M=(O-S)/E):(E=(O-S)/M,Do(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(Am(M),Am(S));T=Math.pow(10,Ue(c)?I:c),S=Math.round(S*T)/T,O=Math.round(O*T)/T;let j=0;for(y&&(f&&S!==a?(n.push({value:a}),S<a&&j++,Do(Math.round((S+j*M)*T)/T,a,m2(a,v,t))&&j++):S<a&&j++);j<E;++j){const $=Math.round((S+j*M)*T)/T;if(C&&$>l)break;n.push({value:$})}return C&&f&&O!==l?n.length&&Do(n[n.length-1].value,l,m2(l,v,t))?n[n.length-1].value=l:n.push({value:l}):(!C||O===l)&&n.push({value:O}),n}function m2(t,e,{horizontal:n,minRotation:r}){const s=es(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class Dl extends Fs{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,n){return Ue(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:s,max:i}=this;const a=c=>s=n?s:c,l=c=>i=r?i:c;if(e){const c=xi(s),d=xi(i);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(s===i){let c=i===0?1:Math.abs(i*.05);l(i+c),e||a(s-c)}this.min=s,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,s;return r?(s=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const s={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,a=US(s,i);return e.bounds==="ticks"&&Bm(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const s=(r-n)/Math.max(e.length-1,1)/2;n-=s,r+=s}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Du(e,this.chart.options.locale,this.options.ticks.format)}}class Ol extends Dl{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=lt(e)?e:0,this.max=lt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=es(this.options.ticks.minRotation),s=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}W(Ol,"id","linear"),W(Ol,"defaults",{ticks:{callback:ll.formatters.numeric}});const jo=t=>Math.floor(Qr(t)),Rs=(t,e)=>Math.pow(10,jo(t)+e);function p2(t){return t/Math.pow(10,jo(t))===1}function g2(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function qS(t,e){const n=e-t;let r=jo(n);for(;g2(t,e,r)>10;)r++;for(;g2(t,e,r)<10;)r--;return Math.min(r,jo(t))}function GS(t,{min:e,max:n}){e=nn(t.min,e);const r=[],s=jo(e);let i=qS(e,n),a=i<0?Math.pow(10,Math.abs(i)):1;const l=Math.pow(10,i),c=s>i?Math.pow(10,s):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,i)),f=nn(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:p2(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(i++,h=2,a=i>=0?1:a),f=Math.round((c+u+h*Math.pow(10,i))*a)/a;const m=nn(t.max,f);return r.push({value:m,major:p2(m),significand:h}),r}class _2 extends Fs{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=Dl.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return lt(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=lt(e)?Math.max(0,e):null,this.max=lt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!lt(this._userMin)&&(this.min=e===Rs(this.min,0)?Rs(this.min,-1):Rs(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,s=this.max;const i=l=>r=e?r:l,a=l=>s=n?s:l;r===s&&(r<=0?(i(1),a(10)):(i(Rs(r,-1)),a(Rs(s,1)))),r<=0&&i(Rs(s,-1)),s<=0&&a(Rs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=GS(n,this);return e.bounds==="ticks"&&Bm(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":Du(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Qr(e),this._valueRange=Qr(this.max)-Qr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Qr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}W(_2,"id","logarithmic"),W(_2,"defaults",{ticks:{callback:ll.formatters.logarithmic,major:{enabled:!0}}});function e1(t){const e=t.ticks;if(e.display&&t.display){const n=yn(e.backdropPadding);return Fe(e.font&&e.font.size,gt.font.size)+n.height}return 0}function KS(t,e,n){return n=st(n)?n:[n],{w:WC(t,e.string,n),h:n.length*e.lineHeight}}function y2(t,e,n,r,s){return t===r||t===s?{start:e-n/2,end:e+n/2}:t<r||t>s?{start:e-n,end:e}:{start:e,end:e+n}}function XS(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],s=[],i=t._pointLabels.length,a=t.options.pointLabels,l=a.centerPointLabels?Dt/i:0;for(let c=0;c<i;c++){const d=a.setContext(t.getPointLabelContext(c));s[c]=d.padding;const u=t.getPointPosition(c,t.drawingArea+s[c],l),h=an(d.font),f=KS(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=on(t.getIndexAngle(c)+l),g=Math.round(xu(m)),p=y2(g,u.x,f.w,0,180),_=y2(g,u.y,f.h,90,270);JS(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=tv(t,r,s)}function JS(t,e,n,r,s){const i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let l=0,c=0;r.start<e.l?(l=(e.l-r.start)/i,t.l=Math.min(t.l,e.l-l)):r.end>e.r&&(l=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+l)),s.start<e.t?(c=(e.t-s.start)/a,t.t=Math.min(t.t,e.t-c)):s.end>e.b&&(c=(s.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function QS(t,e,n){const r=t.drawingArea,{extra:s,additionalAngle:i,padding:a,size:l}=n,c=t.getPointPosition(e,r+s+a,i),d=Math.round(xu(on(c.angle+sn))),u=sv(c.y,l.h,d),h=nv(d),f=rv(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+l.w,bottom:u+l.h}}function ev(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(_r({x:n,y:r},e)||_r({x:n,y:i},e)||_r({x:s,y:r},e)||_r({x:s,y:i},e))}function tv(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:e1(i)/2,additionalAngle:a?Dt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=QS(t,u,c);r.push(h),l==="auto"&&(h.visible=ev(h,d),h.visible&&(d=h))}return r}function nv(t){return t===0||t===180?"center":t<180?"left":"right"}function rv(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function sv(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function iv(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ue(l)){const c=Po(e.borderRadius),d=yn(e.backdropPadding);t.fillStyle=l;const u=r-d.left,h=s-d.top,f=i-r+d.width,m=a-s+d.height;Object.values(c).some(g=>g!==0)?(t.beginPath(),Vu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function ov(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let s=e-1;s>=0;s--){const i=t._pointLabelItems[s];if(!i.visible)continue;const a=r.setContext(t.getPointLabelContext(s));iv(n,a,i);const l=an(a.font),{x:c,y:d,textAlign:u}=i;dl(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function w2(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,rn);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<r;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}function av(t,e,n,r,s){const i=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(s.dash),i.lineDashOffset=s.dashOffset,i.beginPath(),w2(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function lv(t,e,n){return ts(t,{label:n,index:e,type:"pointLabel"})}class El extends Dl{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=yn(e1(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=lt(e)&&!isNaN(e)?e:0,this.max=lt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/e1(this.options))}generateTickLabels(e){Dl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=ct(this.options.pointLabels.callback,[n,r],this);return s||s===0?s:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?XS(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,s))}getIndexAngle(e){const n=rn/(this._pointLabels.length||1),r=this.options.startAngle||0;return on(e*n+es(r))}getDistanceFromCenterForValue(e){if(Ue(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(Ue(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const r=n[e];return lv(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-sn+r;return{x:Math.cos(s)*n+this.xCenter,y:Math.sin(s)*n+this.yCenter,angle:s}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:r,right:s,bottom:i}=this._pointLabelItems[e];return{left:n,top:r,right:s,bottom:i}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),w2(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:r,grid:s,border:i}=n,a=this._pointLabels.length;let l,c,d;if(n.pointLabels.display&&ov(this,a),s.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),m=s.setContext(f),g=i.setContext(f);av(this,m,c,a,g)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=an(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=yn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}dl(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(El,"id","radialLinear"),W(El,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ll.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(El,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(El,"descriptors",{angleLines:{_fallback:"grid"}});const $l={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}},Zt=Object.keys($l);function b2(t,e){return t-e}function k2(t,e){if(Ue(e))return null;const n=t._adapter,{parser:r,round:s,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),lt(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(Oo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function C2(t,e,n,r){const s=Zt.length;for(let i=Zt.indexOf(t);i<s-1;++i){const a=$l[Zt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Zt[i]}return Zt[s-1]}function cv(t,e,n,r,s){for(let i=Zt.length-1;i>=Zt.indexOf(n);i--){const a=Zt[i];if($l[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Zt[n?Zt.indexOf(n):0]}function dv(t){for(let e=Zt.indexOf(t)+1,n=Zt.length;e<n;++e)if($l[Zt[e]].common)return Zt[e]}function x2(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=Su(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function uv(t,e,n,r){const s=t._adapter,i=+s.startOf(e[0].value,r),a=e[e.length-1].value;let l,c;for(l=i;l<=a;l=+s.add(l,1,r))c=n[l],c>=0&&(e[c].major=!0);return e}function M2(t,e,n){const r=[],s={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],s[l]=a,r.push({value:l,major:!1});return i===0||!n?r:uv(t,r,s,n)}class Pl extends Fs{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,n={}){const r=e.time||(e.time={}),s=this._adapter=new Jx._date(e.adapters.date);s.init(n),To(r.displayFormats,s.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:k2(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:s,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(s=Math.min(s,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),s=lt(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=lt(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(s,i-1),this.max=Math.max(s+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,s=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const i=this.min,a=this.max,l=DC(s,i,a);return this._unit=n.unit||(r.autoSkip?C2(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):cv(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:dv(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),M2(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,s,i;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=_n(n,0,a),r=_n(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,s=this.options,i=s.time,a=i.unit||C2(i.minUnit,n,r,this._getLabelCapacity(n)),l=Fe(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=Oo(c)||c===!0,u={};let h=n,f,m;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=h,m=0;f<r;f=+e.add(f,l,a),m++)x2(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&x2(u,f,g),Object.keys(u).sort(b2).map(p=>+p)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,i=this._unit,a=n||s[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,s){const i=this.options,a=i.ticks.callback;if(a)return ct(a,[e,n,r],this);const l=i.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],f=r[n],m=d&&h&&f&&f.major;return this._adapter.format(e,s||(m?h:u))}generateTickLabels(e){let n,r,s;for(n=0,r=e.length;n<r;++n)s=e[n],s.label=this._tickFormatFunction(s.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,s=es(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(s),a=Math.sin(s),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,s=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,M2(this,[e],this._majorUnit),s),a=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,r=s.length;n<r;++n)e=e.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const s=this.getLabels();for(n=0,r=s.length;n<r;++n)e.push(k2(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return EC(e.sort(b2))}}W(Pl,"id","time"),W(Pl,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Ll(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Es(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Es(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class S2 extends Pl{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=Ll(n,this.min),this._tableRange=Ll(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,s=[],i=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&s.push(d);if(s.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=s.length;a<l;++a)u=s[a+1],c=s[a-1],d=s[a],Math.round((u+c)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((s,i)=>s-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(Ll(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return Ll(this._table,r*this._tableRange+this._minPos,!0)}}W(S2,"id","timeseries"),W(S2,"defaults",Pl.defaults);const v2={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},hv={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...v2,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},fv=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function vi(t){return o.isProxy(t)?o.toRaw(t):t}function mv(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function pv(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function T2(t,e){t.labels=e}function D2(t,e,n){const r=[];t.datasets=e.map(s=>{const i=t.datasets.find(a=>a[n]===s[n]);return!i||!s.data||r.includes(i)?{...s}:(r.push(i),Object.assign(i,s),i)})}function gv(t,e){const n={labels:[],datasets:[]};return T2(n,t.labels),D2(n,t.datasets,e),n}const _v=o.defineComponent({props:hv,setup(t,e){let{expose:n,slots:r}=e;const s=o.ref(null),i=o.shallowRef(null);n({chart:i});const a=()=>{if(!s.value)return;const{type:d,data:u,options:h,plugins:f,datasetIdKey:m}=t,g=gv(u,m),p=mv(g,u);i.value=new zo(s.value,{type:d,data:p,options:{...h},plugins:f})},l=()=>{const d=o.toRaw(i.value);d&&(t.destroyDelay>0?setTimeout(()=>{d.destroy(),i.value=null},t.destroyDelay):(d.destroy(),i.value=null))},c=d=>{d.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(d,u)=>{let[h,f]=d,[m,g]=u;const p=o.toRaw(i.value);if(!p)return;let _=!1;if(h){const y=vi(h),C=vi(m);y&&y!==C&&(pv(p,y),_=!0)}if(f){const y=vi(f.labels),C=vi(g.labels),k=vi(f.datasets),v=vi(g.datasets);y!==C&&(T2(p.config.data,y),_=!0),k&&k!==v&&(D2(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function yv(t,e){return zo.register(e),o.defineComponent({props:v2,setup(n,r){let{expose:s}=r;const i=o.shallowRef(null),a=l=>{i.value=l==null?void 0:l.chart};return s({chart:i}),()=>o.h(_v,fv({ref:a},{type:t,...n}))}})}const O2=yv("line",gl),wv={class:"chart-container"},t1={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},isMask:{type:Boolean,default:!1},ticksCallback:{type:Function,default:t=>t},borderColor:{type:String,default:"#007AFF"},gradient:{type:Object,default:{height:450,startColor:"rgba(0, 122, 255, 0.1)",endColor:"rgba(0, 122, 255, 0)"}}},setup(t){zo.register(Tl,Ol,Yo,wr,YS,o2);const e=t,n=o.ref(0);let r=o.reactive({isEmpty:!0});const s=h=>{const f=new Set,m=[];let g=[];switch(e.dataType){case"balanceChartData":g=h.length!==0?h.map(_=>(f.add(_.date),Et(_.balance*Mc(),2))):[0,0];break;case"performanceChartData":g=h.length!==0?h.map(_=>(f.add(_.date),Et(_.pnl_to_deposit,2))):[0,0];break}m.push({data:g});const p=Array.from(f);return p.length===1?(p.push(...p),m.forEach(_=>{_.data.push(..._.data)}),r.isEmpty=!1):p.length===0?(r.isEmpty=!0,p.push(0,0)):r.isEmpty=!1,{labels:p,datasets:m}},i=o.computed(()=>s(e.data)),a=h=>{const m=h.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return m.addColorStop(0,e.gradient.startColor),m.addColorStop(1,e.gradient.endColor),m},l=(h,f)=>{let m=document.querySelector(`#${h}-${e.dataType}`);return m||(m=document.createElement("div"),m.classList.add(h),m.setAttribute("id",`${h}-${e.dataType}`),f.canvas.parentNode.appendChild(m)),m},c=h=>{if(!r.isEmpty){const{chart:f,tooltip:m}=h,g=l("chart-tooltip",f);if(m.opacity===0){g.style.opacity="0";return}if(m.body){const M=m.title||[],T=m.body.map(O=>O.lines),S=document.createElement("div");for(S.classList.add("chart-tooltip-middle"),S.innerHTML=`<div class="chart-tooltip-content">
39
+ `):t}function NS(t,e){const{element:n,datasetIndex:r,index:s}=e,i=t.getDatasetMeta(r).controller,{label:a,value:l}=i.getLabelAndValue(s);return{chart:t,label:a,parsed:i.getParsed(s),raw:t.data.datasets[r].data[s],formattedValue:l,dataset:i.getDataset(),dataIndex:s,datasetIndex:r,element:n}}function a2(t,e){const n=t.chart.ctx,{body:r,footer:s,title:i}=t,{boxWidth:a,boxHeight:l}=e,c=an(e.bodyFont),d=an(e.titleFont),u=an(e.footerFont),h=i.length,f=s.length,m=r.length,g=yn(e.padding);let p=g.height,_=0,y=r.reduce((v,M)=>v+M.before.length+M.lines.length+M.after.length,0);if(y+=t.beforeBody.length+t.afterBody.length,h&&(p+=h*d.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),y){const v=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;p+=m*v+(y-m)*c.lineHeight+(y-1)*e.bodySpacing}f&&(p+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);let C=0;const k=function(v){_=Math.max(_,n.measureText(v).width+C)};return n.save(),n.font=d.string,Re(t.title,k),n.font=c.string,Re(t.beforeBody.concat(t.afterBody),k),C=e.displayColors?a+2+e.boxPadding:0,Re(r,v=>{Re(v.before,k),Re(v.lines,k),Re(v.after,k)}),C=0,n.font=u.string,Re(t.footer,k),n.restore(),_+=g.width,{width:_,height:p}}function BS(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}function AS(t,e,n,r){const{x:s,width:i}=r,a=n.caretSize+n.caretPadding;if(t==="left"&&s+i+a>e.width||t==="right"&&s-i-a<0)return!0}function FS(t,e,n,r){const{x:s,width:i}=n,{width:a,chartArea:{left:l,right:c}}=t;let d="center";return r==="center"?d=s<=(l+c)/2?"left":"right":s<=i/2?d="left":s>=a-i/2&&(d="right"),AS(d,t,e,n)&&(d="center"),d}function l2(t,e,n){const r=n.yAlign||e.yAlign||BS(t,n);return{xAlign:n.xAlign||e.xAlign||FS(t,e,n,r),yAlign:r}}function RS(t,e){let{x:n,width:r}=t;return e==="right"?n-=r:e==="center"&&(n-=r/2),n}function IS(t,e,n){let{y:r,height:s}=t;return e==="top"?r+=n:e==="bottom"?r-=s+n:r-=s/2,r}function c2(t,e,n,r){const{caretSize:s,caretPadding:i,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,d=s+i,{topLeft:u,topRight:h,bottomLeft:f,bottomRight:m}=Po(a);let g=RS(e,l);const p=IS(e,c,d);return c==="center"?l==="left"?g+=d:l==="right"&&(g-=d):l==="left"?g-=Math.max(u,f)+s:l==="right"&&(g+=Math.max(h,m)+s),{x:_n(g,0,r.width-e.width),y:_n(p,0,r.height-e.height)}}function vl(t,e,n){const r=yn(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-r.right:t.x+r.left}function d2(t){return tr([],br(t))}function HS(t,e,n){return ts(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function u2(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const h2={beforeTitle:gr,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:gr,beforeBody:gr,beforeLabel:gr,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ue(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:gr,afterBody:gr,beforeFooter:gr,footer:gr,afterFooter:gr};function jt(t,e,n,r){const s=t[e].call(n,r);return typeof s>"u"?h2[e].call(n,r):s}class Qu extends As{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 n=this.chart,r=this.options.setContext(this.getContext()),s=r.enabled&&n.options.animation&&r.animations,i=new mp(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=HS(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:r}=n,s=jt(r,"beforeTitle",this,e),i=jt(r,"title",this,e),a=jt(r,"afterTitle",this,e);let l=[];return l=tr(l,br(s)),l=tr(l,br(i)),l=tr(l,br(a)),l}getBeforeBody(e,n){return d2(jt(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:r}=n,s=[];return Re(e,i=>{const a={before:[],lines:[],after:[]},l=u2(r,i);tr(a.before,br(jt(l,"beforeLabel",this,i))),tr(a.lines,jt(l,"label",this,i)),tr(a.after,br(jt(l,"afterLabel",this,i))),s.push(a)}),s}getAfterBody(e,n){return d2(jt(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:r}=n,s=jt(r,"beforeFooter",this,e),i=jt(r,"footer",this,e),a=jt(r,"afterFooter",this,e);let l=[];return l=tr(l,br(s)),l=tr(l,br(i)),l=tr(l,br(a)),l}_createItems(e){const n=this._active,r=this.chart.data,s=[],i=[],a=[];let l=[],c,d;for(c=0,d=n.length;c<d;++c)l.push(NS(this.chart,n[c]));return e.filter&&(l=l.filter((u,h,f)=>e.filter(u,h,f,r))),e.itemSort&&(l=l.sort((u,h)=>e.itemSort(u,h,r))),Re(l,u=>{const h=u2(e.callbacks,u);s.push(jt(h,"labelColor",this,u)),i.push(jt(h,"labelPointStyle",this,u)),a.push(jt(h,"labelTextColor",this,u))}),this.labelColors=s,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,n){const r=this.options.setContext(this.getContext()),s=this._active;let i,a=[];if(!s.length)this.opacity!==0&&(i={opacity:0});else{const l=Wo[r.position].call(this,s,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=a2(this,r),d=Object.assign({},l,c),u=l2(this.chart,r,d),h=c2(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:h.x,y:h.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,r,s){const i=this.getCaretPosition(e,r,s);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,r){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:h}=Po(l),{x:f,y:m}=e,{width:g,height:p}=n;let _,y,C,k,v,M;return i==="center"?(v=m+p/2,s==="left"?(_=f,y=_-a,k=v+a,M=v-a):(_=f+g,y=_+a,k=v-a,M=v+a),C=_):(s==="left"?y=f+Math.max(c,u)+a:s==="right"?y=f+g-Math.max(d,h)-a:y=this.caretX,i==="top"?(k=m,v=k-a,_=y-a,C=y+a):(k=m+p,v=k+a,_=y+a,C=y-a),M=k),{x1:_,x2:y,x3:C,y1:k,y2:v,y3:M}}drawTitle(e,n,r){const s=this.title,i=s.length;let a,l,c;if(i){const d=Iu(r.rtl,this.x,this.width);for(e.x=vl(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",a=an(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,c=0;c<i;++c)n.fillText(s[c],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,c+1===i&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,n,r,s,i){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=i,u=an(i.bodyFont),h=vl(this,"left",i),f=s.x(h),m=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+m;if(i.usePointStyle){const p={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},_=s.leftForLtr(f,d)+d/2,y=g+c/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,$u(e,p,_,y),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,$u(e,p,_,y)}else{e.lineWidth=Te(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const p=s.leftForLtr(f,d),_=s.leftForLtr(s.xPlus(f,1),d-2),y=Po(a.borderRadius);Object.values(y).some(C=>C!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Vu(e,{x:p,y:g,w:d,h:c,radius:y}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Vu(e,{x:_,y:g+1,w:d-2,h:c-2,radius:y}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(p,g,d,c),e.strokeRect(p,g,d,c),e.fillStyle=a.backgroundColor,e.fillRect(_,g+1,d-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,n,r){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,h=an(r.bodyFont);let f=h.lineHeight,m=0;const g=Iu(r.rtl,this.x,this.width),p=function(O){n.fillText(O,g.x(e.x+m),e.y+f/2),e.y+=f+i},_=g.textAlign(a);let y,C,k,v,M,T,S;for(n.textAlign=a,n.textBaseline="middle",n.font=h.string,e.x=vl(this,_,r),n.fillStyle=r.bodyColor,Re(this.beforeBody,p),m=l&&_!=="right"?a==="center"?d/2+u:d+2+u:0,v=0,T=s.length;v<T;++v){for(y=s[v],C=this.labelTextColors[v],n.fillStyle=C,Re(y.before,p),k=y.lines,l&&k.length&&(this._drawColorBox(n,e,v,g,r),f=Math.max(h.lineHeight,c)),M=0,S=k.length;M<S;++M)p(k[M]),f=h.lineHeight;Re(y.after,p)}m=0,f=h.lineHeight,Re(this.afterBody,p),e.y-=i}drawFooter(e,n,r){const s=this.footer,i=s.length;let a,l;if(i){const c=Iu(r.rtl,this.x,this.width);for(e.x=vl(this,r.footerAlign,r),e.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",a=an(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,l=0;l<i;++l)n.fillText(s[l],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,n,r,s){const{xAlign:i,yAlign:a}=this,{x:l,y:c}=e,{width:d,height:u}=r,{topLeft:h,topRight:f,bottomLeft:m,bottomRight:g}=Po(s.cornerRadius);n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,n.lineWidth=s.borderWidth,n.beginPath(),n.moveTo(l+h,c),a==="top"&&this.drawCaret(e,n,r,s),n.lineTo(l+d-f,c),n.quadraticCurveTo(l+d,c,l+d,c+f),a==="center"&&i==="right"&&this.drawCaret(e,n,r,s),n.lineTo(l+d,c+u-g),n.quadraticCurveTo(l+d,c+u,l+d-g,c+u),a==="bottom"&&this.drawCaret(e,n,r,s),n.lineTo(l+m,c+u),n.quadraticCurveTo(l,c+u,l,c+u-m),a==="center"&&i==="left"&&this.drawCaret(e,n,r,s),n.lineTo(l,c+h),n.quadraticCurveTo(l,c,l+h,c),n.closePath(),n.fill(),s.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,r=this.$animations,s=r&&r.x,i=r&&r.y;if(s||i){const a=Wo[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=a2(this,e),c=Object.assign({},a,this._size),d=l2(n,e,c),u=c2(e,c,d,n);(s._to!==u.x||i._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const s={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=yn(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(e.save(),e.globalAlpha=r,this.drawBackground(i,e,s,n),Ox(e,n.textDirection),i.y+=a.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),Ex(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const r=this._active,s=e.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),i=!nl(r,s),a=this._positionChanged(s,n);(i||a)&&(this._active=s,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,i=this._active||[],a=this._getActiveElements(e,i,n,r),l=this._positionChanged(a,e),c=n||!nl(a,i)||l;return c&&(this._active=a,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),c}_getActiveElements(e,n,r,s){const i=this.options;if(e.type==="mouseout")return[];if(!s)return n.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);const a=this.chart.getElementsAtEventForMode(e,i.mode,i,r);return i.reverse&&a.reverse(),a}_positionChanged(e,n){const{caretX:r,caretY:s,options:i}=this,a=Wo[i.position].call(this,e,n);return a!==!1&&(r!==a.x||s!==a.y)}}W(Qu,"positioners",Wo);var zS={id:"tooltip",_element:Qu,positioners:Wo,afterInit(t,e,n){n&&(t.tooltip=new Qu({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.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:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.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:h2},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const YS=(t,e,n,r)=>(typeof e=="string"?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function WS(t,e,n,r){const s=t.indexOf(e);if(s===-1)return YS(t,e,n,r);const i=t.lastIndexOf(e);return s!==i?n:s}const jS=(t,e)=>t===null?null:_n(Math.round(t),0,e);function f2(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Tl extends Fs{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:s,label:i}of n)r[s]===i&&r.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ue(e))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===e?n:WS(r,e,Fe(n,e),this._addedLabels),jS(n,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:s}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(r=0),n||(s=this.getLabels().length-1)),this.min=r,this.max=s}buildTicks(){const e=this.min,n=this.max,r=this.options.offset,s=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=n;a++)s.push({value:a});return s}getLabelForValue(e){return f2.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}W(Tl,"id","category"),W(Tl,"defaults",{ticks:{callback:f2}});function ZS(t,e){const n=[],{bounds:s,step:i,min:a,max:l,precision:c,count:d,maxTicks:u,maxDigits:h,includeBounds:f}=t,m=i||1,g=u-1,{min:p,max:_}=e,y=!Ue(a),C=!Ue(l),k=!Ue(d),v=(_-p)/(h+1);let M=Nm((_-p)/g/m)*m,T,S,O,E;if(M<1e-14&&!y&&!C)return[{value:p},{value:_}];E=Math.ceil(_/M)-Math.floor(p/M),E>g&&(M=Nm(E*M/g/m)*m),Ue(c)||(T=Math.pow(10,c),M=Math.ceil(M*T)/T),s==="ticks"?(S=Math.floor(p/M)*M,O=Math.ceil(_/M)*M):(S=p,O=_),y&&C&&i&&CC((l-a)/i,M/1e3)?(E=Math.round(Math.min((l-a)/M,u)),M=(l-a)/E,S=a,O=l):k?(S=y?a:S,O=C?l:O,E=d-1,M=(O-S)/E):(E=(O-S)/M,Do(E,Math.round(E),M/1e3)?E=Math.round(E):E=Math.ceil(E));const I=Math.max(Am(M),Am(S));T=Math.pow(10,Ue(c)?I:c),S=Math.round(S*T)/T,O=Math.round(O*T)/T;let j=0;for(y&&(f&&S!==a?(n.push({value:a}),S<a&&j++,Do(Math.round((S+j*M)*T)/T,a,m2(a,v,t))&&j++):S<a&&j++);j<E;++j){const $=Math.round((S+j*M)*T)/T;if(C&&$>l)break;n.push({value:$})}return C&&f&&O!==l?n.length&&Do(n[n.length-1].value,l,m2(l,v,t))?n[n.length-1].value=l:n.push({value:l}):(!C||O===l)&&n.push({value:O}),n}function m2(t,e,{horizontal:n,minRotation:r}){const s=es(r),i=(n?Math.sin(s):Math.cos(s))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}class Dl extends Fs{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,n){return Ue(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:s,max:i}=this;const a=c=>s=n?s:c,l=c=>i=r?i:c;if(e){const c=xi(s),d=xi(i);c<0&&d<0?l(0):c>0&&d>0&&a(0)}if(s===i){let c=i===0?1:Math.abs(i*.05);l(i+c),e||a(s-c)}this.min=s,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=e,s;return r?(s=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,s>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${s} ticks. Limiting to 1000.`),s=1e3)):(s=this.computeTickLimit(),n=n||11),n&&(s=Math.min(n,s)),s}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let r=this.getTickLimit();r=Math.max(2,r);const s={maxTicks:r,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,a=ZS(s,i);return e.bounds==="ticks"&&Bm(a,this,"value"),e.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const e=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&e.length){const s=(r-n)/Math.max(e.length-1,1)/2;n-=s,r+=s}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(e){return Du(e,this.chart.options.locale,this.options.ticks.format)}}class Ol extends Dl{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=lt(e)?e:0,this.max=lt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,r=es(this.options.ticks.minRotation),s=(e?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/s))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}W(Ol,"id","linear"),W(Ol,"defaults",{ticks:{callback:ll.formatters.numeric}});const jo=t=>Math.floor(Qr(t)),Rs=(t,e)=>Math.pow(10,jo(t)+e);function p2(t){return t/Math.pow(10,jo(t))===1}function g2(t,e,n){const r=Math.pow(10,n),s=Math.floor(t/r);return Math.ceil(e/r)-s}function US(t,e){const n=e-t;let r=jo(n);for(;g2(t,e,r)>10;)r++;for(;g2(t,e,r)<10;)r--;return Math.min(r,jo(t))}function qS(t,{min:e,max:n}){e=nn(t.min,e);const r=[],s=jo(e);let i=US(e,n),a=i<0?Math.pow(10,Math.abs(i)):1;const l=Math.pow(10,i),c=s>i?Math.pow(10,s):0,d=Math.round((e-c)*a)/a,u=Math.floor((e-c)/l/10)*l*10;let h=Math.floor((d-u)/Math.pow(10,i)),f=nn(t.min,Math.round((c+u+h*Math.pow(10,i))*a)/a);for(;f<n;)r.push({value:f,major:p2(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(i++,h=2,a=i>=0?1:a),f=Math.round((c+u+h*Math.pow(10,i))*a)/a;const m=nn(t.max,f);return r.push({value:m,major:p2(m),significand:h}),r}class _2 extends Fs{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,n){const r=Dl.prototype.parse.apply(this,[e,n]);if(r===0){this._zero=!0;return}return lt(r)&&r>0?r:null}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=lt(e)?Math.max(0,e):null,this.max=lt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!lt(this._userMin)&&(this.min=e===Rs(this.min,0)?Rs(this.min,-1):Rs(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let r=this.min,s=this.max;const i=l=>r=e?r:l,a=l=>s=n?s:l;r===s&&(r<=0?(i(1),a(10)):(i(Rs(r,-1)),a(Rs(s,1)))),r<=0&&i(Rs(s,-1)),s<=0&&a(Rs(r,1)),this.min=r,this.max=s}buildTicks(){const e=this.options,n={min:this._userMin,max:this._userMax},r=qS(n,this);return e.bounds==="ticks"&&Bm(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(e){return e===void 0?"0":Du(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Qr(e),this._valueRange=Qr(this.max)-Qr(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Qr(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const n=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+n*this._valueRange)}}W(_2,"id","logarithmic"),W(_2,"defaults",{ticks:{callback:ll.formatters.logarithmic,major:{enabled:!0}}});function e1(t){const e=t.ticks;if(e.display&&t.display){const n=yn(e.backdropPadding);return Fe(e.font&&e.font.size,gt.font.size)+n.height}return 0}function GS(t,e,n){return n=st(n)?n:[n],{w:YC(t,e.string,n),h:n.length*e.lineHeight}}function y2(t,e,n,r,s){return t===r||t===s?{start:e-n/2,end:e+n/2}:t<r||t>s?{start:e-n,end:e}:{start:e,end:e+n}}function KS(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],s=[],i=t._pointLabels.length,a=t.options.pointLabels,l=a.centerPointLabels?Dt/i:0;for(let c=0;c<i;c++){const d=a.setContext(t.getPointLabelContext(c));s[c]=d.padding;const u=t.getPointPosition(c,t.drawingArea+s[c],l),h=an(d.font),f=GS(t.ctx,h,t._pointLabels[c]);r[c]=f;const m=on(t.getIndexAngle(c)+l),g=Math.round(xu(m)),p=y2(g,u.x,f.w,0,180),_=y2(g,u.y,f.h,90,270);XS(n,e,m,p,_)}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=ev(t,r,s)}function XS(t,e,n,r,s){const i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let l=0,c=0;r.start<e.l?(l=(e.l-r.start)/i,t.l=Math.min(t.l,e.l-l)):r.end>e.r&&(l=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+l)),s.start<e.t?(c=(e.t-s.start)/a,t.t=Math.min(t.t,e.t-c)):s.end>e.b&&(c=(s.end-e.b)/a,t.b=Math.max(t.b,e.b+c))}function JS(t,e,n){const r=t.drawingArea,{extra:s,additionalAngle:i,padding:a,size:l}=n,c=t.getPointPosition(e,r+s+a,i),d=Math.round(xu(on(c.angle+sn))),u=rv(c.y,l.h,d),h=tv(d),f=nv(c.x,l.w,h);return{visible:!0,x:c.x,y:u,textAlign:h,left:f,top:u,right:f+l.w,bottom:u+l.h}}function QS(t,e){if(!e)return!0;const{left:n,top:r,right:s,bottom:i}=t;return!(_r({x:n,y:r},e)||_r({x:n,y:i},e)||_r({x:s,y:r},e)||_r({x:s,y:i},e))}function ev(t,e,n){const r=[],s=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:l}=i.pointLabels,c={extra:e1(i)/2,additionalAngle:a?Dt/s:0};let d;for(let u=0;u<s;u++){c.padding=n[u],c.size=e[u];const h=JS(t,u,c);r.push(h),l==="auto"&&(h.visible=QS(h,d),h.visible&&(d=h))}return r}function tv(t){return t===0||t===180?"center":t<180?"left":"right"}function nv(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function rv(t,e,n){return n===90||n===270?t-=e/2:(n>270||n<90)&&(t-=e),t}function sv(t,e,n){const{left:r,top:s,right:i,bottom:a}=n,{backdropColor:l}=e;if(!Ue(l)){const c=Po(e.borderRadius),d=yn(e.backdropPadding);t.fillStyle=l;const u=r-d.left,h=s-d.top,f=i-r+d.width,m=a-s+d.height;Object.values(c).some(g=>g!==0)?(t.beginPath(),Vu(t,{x:u,y:h,w:f,h:m,radius:c}),t.fill()):t.fillRect(u,h,f,m)}}function iv(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let s=e-1;s>=0;s--){const i=t._pointLabelItems[s];if(!i.visible)continue;const a=r.setContext(t.getPointLabelContext(s));sv(n,a,i);const l=an(a.font),{x:c,y:d,textAlign:u}=i;dl(n,t._pointLabels[s],c,d+l.lineHeight/2,l,{color:a.color,textAlign:u,textBaseline:"middle"})}}function w2(t,e,n,r){const{ctx:s}=t;if(n)s.arc(t.xCenter,t.yCenter,e,0,rn);else{let i=t.getPointPosition(0,e);s.moveTo(i.x,i.y);for(let a=1;a<r;a++)i=t.getPointPosition(a,e),s.lineTo(i.x,i.y)}}function ov(t,e,n,r,s){const i=t.ctx,a=e.circular,{color:l,lineWidth:c}=e;!a&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(s.dash),i.lineDashOffset=s.dashOffset,i.beginPath(),w2(t,n,a,r),i.closePath(),i.stroke(),i.restore())}function av(t,e,n){return ts(t,{label:n,index:e,type:"pointLabel"})}class El extends Dl{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=yn(e1(this.options)/2),n=this.width=this.maxWidth-e.width,r=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+n/2+e.left),this.yCenter=Math.floor(this.top+r/2+e.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:e,max:n}=this.getMinMax(!1);this.min=lt(e)&&!isNaN(e)?e:0,this.max=lt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/e1(this.options))}generateTickLabels(e){Dl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((n,r)=>{const s=ct(this.options.pointLabels.callback,[n,r],this);return s||s===0?s:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const e=this.options;e.display&&e.pointLabels.display?KS(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,n,r,s){this.xCenter+=Math.floor((e-n)/2),this.yCenter+=Math.floor((r-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,n,r,s))}getIndexAngle(e){const n=rn/(this._pointLabels.length||1),r=this.options.startAngle||0;return on(e*n+es(r))}getDistanceFromCenterForValue(e){if(Ue(e))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*n:(e-this.min)*n}getValueForDistanceFromCenter(e){if(Ue(e))return NaN;const n=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(e){const n=this._pointLabels||[];if(e>=0&&e<n.length){const r=n[e];return av(this.getContext(),e,r)}}getPointPosition(e,n,r=0){const s=this.getIndexAngle(e)-sn+r;return{x:Math.cos(s)*n+this.xCenter,y:Math.sin(s)*n+this.yCenter,angle:s}}getPointPositionForValue(e,n){return this.getPointPosition(e,this.getDistanceFromCenterForValue(n))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:n,top:r,right:s,bottom:i}=this._pointLabelItems[e];return{left:n,top:r,right:s,bottom:i}}drawBackground(){const{backgroundColor:e,grid:{circular:n}}=this.options;if(e){const r=this.ctx;r.save(),r.beginPath(),w2(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=e,r.fill(),r.restore()}}drawGrid(){const e=this.ctx,n=this.options,{angleLines:r,grid:s,border:i}=n,a=this._pointLabels.length;let l,c,d;if(n.pointLabels.display&&iv(this,a),s.display&&this.ticks.forEach((u,h)=>{if(h!==0||h===0&&this.min<0){c=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(h),m=s.setContext(f),g=i.setContext(f);ov(this,m,c,a,g)}}),r.display){for(e.save(),l=a-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:h,lineWidth:f}=u;!f||!h||(e.lineWidth=f,e.strokeStyle=h,e.setLineDash(u.borderDash),e.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&this.min>=0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=an(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){e.font=u.string,a=e.measureText(l.label).width,e.fillStyle=d.backdropColor;const h=yn(d.backdropPadding);e.fillRect(-a/2-h.left,-i-u.size/2-h.top,a+h.width,u.size+h.height)}dl(e,l.label,0,-i,u,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),e.restore()}drawTitle(){}}W(El,"id","radialLinear"),W(El,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ll.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}}),W(El,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),W(El,"descriptors",{angleLines:{_fallback:"grid"}});const $l={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}},Zt=Object.keys($l);function b2(t,e){return t-e}function k2(t,e){if(Ue(e))return null;const n=t._adapter,{parser:r,round:s,isoWeekday:i}=t._parseOpts;let a=e;return typeof r=="function"&&(a=r(a)),lt(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(s&&(a=s==="week"&&(Oo(i)||i===!0)?n.startOf(a,"isoWeek",i):n.startOf(a,s)),+a)}function C2(t,e,n,r){const s=Zt.length;for(let i=Zt.indexOf(t);i<s-1;++i){const a=$l[Zt[i]],l=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(l*a.size))<=r)return Zt[i]}return Zt[s-1]}function lv(t,e,n,r,s){for(let i=Zt.length-1;i>=Zt.indexOf(n);i--){const a=Zt[i];if($l[a].common&&t._adapter.diff(s,r,a)>=e-1)return a}return Zt[n?Zt.indexOf(n):0]}function cv(t){for(let e=Zt.indexOf(t)+1,n=Zt.length;e<n;++e)if($l[Zt[e]].common)return Zt[e]}function x2(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:r,hi:s}=Su(n,e),i=n[r]>=e?n[r]:n[s];t[i]=!0}}function dv(t,e,n,r){const s=t._adapter,i=+s.startOf(e[0].value,r),a=e[e.length-1].value;let l,c;for(l=i;l<=a;l=+s.add(l,1,r))c=n[l],c>=0&&(e[c].major=!0);return e}function M2(t,e,n){const r=[],s={},i=e.length;let a,l;for(a=0;a<i;++a)l=e[a],s[l]=a,r.push({value:l,major:!1});return i===0||!n?r:dv(t,r,s,n)}class Pl extends Fs{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,n={}){const r=e.time||(e.time={}),s=this._adapter=new Xx._date(e.adapters.date);s.init(n),To(r.displayFormats,s.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:k2(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,r=e.time.unit||"day";let{min:s,max:i,minDefined:a,maxDefined:l}=this.getUserBounds();function c(d){!a&&!isNaN(d.min)&&(s=Math.min(s,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!a||!l)&&(c(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&c(this.getMinMax(!1))),s=lt(s)&&!isNaN(s)?s:+n.startOf(Date.now(),r),i=lt(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(s,i-1),this.max=Math.max(s+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],r=e[e.length-1]),{min:n,max:r}}buildTicks(){const e=this.options,n=e.time,r=e.ticks,s=r.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const i=this.min,a=this.max,l=TC(s,i,a);return this._unit=n.unit||(r.autoSkip?C2(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):lv(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:cv(this._unit),this.initOffsets(s),e.reverse&&l.reverse(),M2(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,r=0,s,i;this.options.offset&&e.length&&(s=this.getDecimalForValue(e[0]),e.length===1?n=1-s:n=(this.getDecimalForValue(e[1])-s)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?r=i:r=(i-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=_n(n,0,a),r=_n(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,n=this.min,r=this.max,s=this.options,i=s.time,a=i.unit||C2(i.minUnit,n,r,this._getLabelCapacity(n)),l=Fe(s.ticks.stepSize,1),c=a==="week"?i.isoWeekday:!1,d=Oo(c)||c===!0,u={};let h=n,f,m;if(d&&(h=+e.startOf(h,"isoWeek",c)),h=+e.startOf(h,d?"day":a),e.diff(r,n,a)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+a);const g=s.ticks.source==="data"&&this.getDataTimestamps();for(f=h,m=0;f<r;f=+e.add(f,l,a),m++)x2(u,f,g);return(f===r||s.bounds==="ticks"||m===1)&&x2(u,f,g),Object.keys(u).sort(b2).map(p=>+p)}getLabelForValue(e){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(e,r.tooltipFormat):n.format(e,r.displayFormats.datetime)}format(e,n){const s=this.options.time.displayFormats,i=this._unit,a=n||s[i];return this._adapter.format(e,a)}_tickFormatFunction(e,n,r,s){const i=this.options,a=i.ticks.callback;if(a)return ct(a,[e,n,r],this);const l=i.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],h=d&&l[d],f=r[n],m=d&&h&&f&&f.major;return this._adapter.format(e,s||(m?h:u))}generateTickLabels(e){let n,r,s;for(n=0,r=e.length;n<r;++n)s=e[n],s.label=this._tickFormatFunction(s.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,r=this.ctx.measureText(e).width,s=es(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(s),a=Math.sin(s),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*a,h:r*a+l*i}}_getLabelCapacity(e){const n=this.options.time,r=n.displayFormats,s=r[n.unit]||r.millisecond,i=this._tickFormatFunction(e,0,M2(this,[e],this._majorUnit),s),a=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let e=this._cache.data||[],n,r;if(e.length)return e;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(n=0,r=s.length;n<r;++n)e=e.concat(s[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,r;if(e.length)return e;const s=this.getLabels();for(n=0,r=s.length;n<r;++n)e.push(k2(this,s[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return OC(e.sort(b2))}}W(Pl,"id","time"),W(Pl,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Ll(t,e,n){let r=0,s=t.length-1,i,a,l,c;n?(e>=t[r].pos&&e<=t[s].pos&&({lo:r,hi:s}=Es(t,"pos",e)),{pos:i,time:l}=t[r],{pos:a,time:c}=t[s]):(e>=t[r].time&&e<=t[s].time&&({lo:r,hi:s}=Es(t,"time",e)),{time:i,pos:l}=t[r],{time:a,pos:c}=t[s]);const d=a-i;return d?l+(c-l)*(e-i)/d:l}class S2 extends Pl{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=Ll(n,this.min),this._tableRange=Ll(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:r}=this,s=[],i=[];let a,l,c,d,u;for(a=0,l=e.length;a<l;++a)d=e[a],d>=n&&d<=r&&s.push(d);if(s.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,l=s.length;a<l;++a)u=s[a+1],c=s[a-1],d=s[a],Math.round((u+c)/2)!==d&&i.push({time:d,pos:a/(l-1)});return i}_generate(){const e=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(e)||!r.length)&&r.splice(0,0,e),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((s,i)=>s-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?e=this.normalize(n.concat(r)):e=n.length?n:r,e=this._cache.all=e,e}getDecimalForValue(e){return(Ll(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,r=this.getDecimalForPixel(e)/n.factor-n.end;return Ll(this._table,r*this._tableRange+this._minPos,!0)}}W(S2,"id","timeseries"),W(S2,"defaults",Pl.defaults);const v2={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},uv={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...v2,...{ariaLabel:{type:String},ariaDescribedby:{type:String}}},hv=o.version[0]==="2"?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function vi(t){return o.isProxy(t)?o.toRaw(t):t}function fv(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return o.isProxy(e)?new Proxy(t,{}):t}function mv(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function T2(t,e){t.labels=e}function D2(t,e,n){const r=[];t.datasets=e.map(s=>{const i=t.datasets.find(a=>a[n]===s[n]);return!i||!s.data||r.includes(i)?{...s}:(r.push(i),Object.assign(i,s),i)})}function pv(t,e){const n={labels:[],datasets:[]};return T2(n,t.labels),D2(n,t.datasets,e),n}const gv=o.defineComponent({props:uv,setup(t,e){let{expose:n,slots:r}=e;const s=o.ref(null),i=o.shallowRef(null);n({chart:i});const a=()=>{if(!s.value)return;const{type:d,data:u,options:h,plugins:f,datasetIdKey:m}=t,g=pv(u,m),p=fv(g,u);i.value=new zo(s.value,{type:d,data:p,options:{...h},plugins:f})},l=()=>{const d=o.toRaw(i.value);d&&(t.destroyDelay>0?setTimeout(()=>{d.destroy(),i.value=null},t.destroyDelay):(d.destroy(),i.value=null))},c=d=>{d.update(t.updateMode)};return o.onMounted(a),o.onUnmounted(l),o.watch([()=>t.options,()=>t.data],(d,u)=>{let[h,f]=d,[m,g]=u;const p=o.toRaw(i.value);if(!p)return;let _=!1;if(h){const y=vi(h),C=vi(m);y&&y!==C&&(mv(p,y),_=!0)}if(f){const y=vi(f.labels),C=vi(g.labels),k=vi(f.datasets),v=vi(g.datasets);y!==C&&(T2(p.config.data,y),_=!0),k&&k!==v&&(D2(p.config.data,k,t.datasetIdKey),_=!0)}_&&o.nextTick(()=>{c(p)})},{deep:!0}),()=>o.h("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:s},[o.h("p",{},[r.default?r.default():""])])}});function _v(t,e){return zo.register(e),o.defineComponent({props:v2,setup(n,r){let{expose:s}=r;const i=o.shallowRef(null),a=l=>{i.value=l==null?void 0:l.chart};return s({chart:i}),()=>o.h(gv,hv({ref:a},{type:t,...n}))}})}const O2=_v("line",gl),yv={class:"chart-container"},t1={__name:"LineChart",props:{data:{type:Array,required:!0},dataType:{type:String,required:!0},isMask:{type:Boolean,default:!1},ticksCallback:{type:Function,default:t=>t},borderColor:{type:String,default:"#007AFF"},gradient:{type:Object,default:{height:450,startColor:"rgba(0, 122, 255, 0.1)",endColor:"rgba(0, 122, 255, 0)"}}},setup(t){zo.register(Tl,Ol,Yo,wr,zS,o2);const e=t,n=o.ref(0);let r=o.reactive({isEmpty:!0});const s=h=>{const f=new Set,m=[];let g=[];switch(e.dataType){case"balanceChartData":g=h.length!==0?h.map(_=>(f.add(_.date),Et(_.balance*Mc(),2))):[0,0];break;case"performanceChartData":g=h.length!==0?h.map(_=>(f.add(_.date),Et(_.pnl_to_deposit,2))):[0,0];break}m.push({data:g});const p=Array.from(f);return p.length===1?(p.push(...p),m.forEach(_=>{_.data.push(..._.data)}),r.isEmpty=!1):p.length===0?(r.isEmpty=!0,p.push(0,0)):r.isEmpty=!1,{labels:p,datasets:m}},i=o.computed(()=>s(e.data)),a=h=>{const m=h.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return m.addColorStop(0,e.gradient.startColor),m.addColorStop(1,e.gradient.endColor),m},l=(h,f)=>{let m=document.querySelector(`#${h}-${e.dataType}`);return m||(m=document.createElement("div"),m.classList.add(h),m.setAttribute("id",`${h}-${e.dataType}`),f.canvas.parentNode.appendChild(m)),m},c=h=>{if(!r.isEmpty){const{chart:f,tooltip:m}=h,g=l("chart-tooltip",f);if(m.opacity===0){g.style.opacity="0";return}if(m.body){const M=m.title||[],T=m.body.map(O=>O.lines),S=document.createElement("div");for(S.classList.add("chart-tooltip-middle"),S.innerHTML=`<div class="chart-tooltip-content">
40
40
  ${e.dataType==="balanceChartData"?`${pa()}${Me(e.isMask,dh(T[0]),{repeat:6})}`:`${Me(e.isMask,dh(T[0]),{repeat:3})}%`}
41
- <span> | ${uh(M[0])}, ${p6(M[0])}</span></div>`;g.firstChild;)g.firstChild.remove();g.appendChild(S)}const{offsetLeft:p,offsetTop:_,clientWidth:y}=f.canvas;let C=p+m.caretX;const k=_+m.caretY,v=g.clientWidth;C+v>y&&(C-=v),g.style.opacity="1",g.style.left=C+"px",g.style.top=k+"px"}},d=h=>{const{chart:f}=h,m=l("chart-line",f),g=f.chartArea;f.canvas.addEventListener("mousemove",function(p){const _=f.canvas.getBoundingClientRect(),y=p.clientX-_.left,C=p.clientY-_.top;y>=g.left&&y<=g.right&&C>=g.top&&C<=g.bottom?(m.style.left=y+"px",m.style.top=g.top+"px",m.style.height=g.bottom-g.top+"px",m.style.display="flex"):m.style.display="none"}),f.canvas.addEventListener("mouseout",function(){m.style.display="none"})},u=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!r.isEmpty,callback:function(h){return uh(this.getLabelForValue(h)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"center"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{display:!r.isEmpty,callback:function(h){return e.ticksCallback(h)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:c},legend:!1},elements:{line:{backgroundColor:h=>a(h),tension:.3,borderWidth:2,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:e.borderColor,pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:d}));return o.watch(()=>e.isMask,()=>{n.value+=1},{immediate:!0}),(h,f)=>(o.openBlock(),o.createElementBlock("div",wv,[(o.openBlock(),o.createBlock(o.unref(O2),{key:n.value,data:i.value,options:u.value},null,8,["data","options"]))]))}},n1={__name:"SimpleLineChart",props:{data:{type:Array,required:!0},borderColor:{type:String,default:"#56B683"},gradient:{type:Object,default:{height:200,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}}},setup(t){zo.register(Tl,Ol,Yo,wr,o2);const e=t,n=a=>{const l=new Set,c=[],d=a.map(h=>(l.add(h.date),h.balance));return c.push({data:d}),{labels:Array.from(l),datasets:c}},r=o.computed(()=>n(e.data)),s=a=>{const c=a.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return c.addColorStop(0,e.gradient.startColor),c.addColorStop(1,e.gradient.endColor),c},i=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},interaction:{mode:"index",intersect:!1},scales:{x:{display:!1},y:{display:!1}},plugins:{tooltip:!1,legend:!1},elements:{line:{backgroundColor:a=>s(a),tension:.3,borderWidth:4,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(O2),{data:r.value,options:i.value},null,8,["data","options"]))}},bv=t=>(o.pushScopeId("data-v-af1e1a1d"),t=t(),o.popScopeId(),t),kv={class:"account-balance-widget"},Cv={class:"account-balance-widget__top"},xv={class:"account-balance-widget__title-wrapper"},Mv=bv(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),Sv=Oe({__name:"AccountBalanceWidget",props:{balanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=s=>{const i=s*Mc();return i>=1e3||i<=-1e3?Me(r.isMask,Et(i/1e3,2)+"k",{repeat:3}):Et(i,2)},r=t;return(s,i)=>(o.openBlock(),o.createElementBlock("div",kv,[o.createElementVNode("div",Cv,[o.createElementVNode("div",xv,[Mv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This graphic widget displays changes to your deposit over a specific time period. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a),onOnChange:i[1]||(i[1]=a=>s.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(t1),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-af1e1a1d"]]),E2=t=>(o.pushScopeId("data-v-d57099e1"),t=t(),o.popScopeId(),t),vv={class:"balance-widget"},Tv={class:"balance-part"},Dv={class:"balance-part__top"},Ov={class:"balance-part__title-wrapper"},Ev=E2(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),$v={class:"balance-part__content"},Pv={class:"balance-part__content__wrapper"},Lv={class:"balance-part__content__count"},Vv={class:"balance-part__content__bitcoin"},Nv={key:0,class:"devider"},Bv={key:1,class:"personal-target-part"},Av={class:"personal-target-part__top"},Fv={class:"personal-target-part__title-wrapper"},Rv=E2(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),Iv={class:"personal-target-part__content"},Hv={class:"personal-target-part__content__current"},zv={class:"personal-target-part__content__from"},Yv=Oe({__name:"BalanceWidget",props:{BTC:{type:Number,default:0},USDT:{type:Number,default:0},delta:{type:Number,default:0},balanceChartData:{type:Array,default:[]},currentProfit:{type:Number,default:0},profit:{type:Number,default:0},drawdown:{type:Number,default:0},isPercentage:Boolean,isShare:{type:Boolean,default:!1},isHidden:{type:Boolean,default:!1},isMaskBalance:{type:Boolean,default:!1},isMaskPersonalTarget:{type:Boolean,default:!1}},emits:["switchModal","switchVisibility"],setup(t,{emit:e}){const n=e,r=()=>{n("switchVisibility")};return(s,i)=>(o.openBlock(),o.createElementBlock("div",vv,[o.createElementVNode("div",Tv,[o.createElementVNode("div",Dv,[o.createElementVNode("div",Ov,[Ev,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the balance of your deposit in USD and BTC equivalent, additionally showing the growth/fall of your balance.")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:r},[o.withDirectives(o.createVNode(o.unref(Le),{icon:"eye"},null,512),[[o.vShow,t.isHidden]]),o.withDirectives(o.createVNode(o.unref(Le),{icon:"eye-slash"},null,512),[[o.vShow,!t.isHidden]])]))]),o.createElementVNode("div",$v,[o.createElementVNode("div",Pv,[o.createElementVNode("div",Lv,o.toDisplayString(o.unref(Me)(t.isMaskBalance,o.unref(Ke)(t.USDT),{prefix:"$"})),1),t.delta?(o.openBlock(),o.createBlock(o.unref(sc),{key:0,"is-hidden":t.isMaskBalance,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Vv,"= "+o.toDisplayString(o.unref(Me)(t.isMaskBalance,t.BTC))+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(n1),{key:0,class:"balance-part__chart balance-part__chart--share",data:t.balanceChartData,gradient:{height:500,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}},null,8,["data","gradient"])):(o.openBlock(),o.createBlock(o.unref(n1),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Nv)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Bv,[o.createElementVNode("div",Av,[o.createElementVNode("div",Fv,[Rv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" In this widget you can set your profit goal to $ for a certain period. This will help you better understand where you should stop or be more attentive. ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:i[0]||(i[0]=a=>n("switchModal"))},[o.createVNode(o.unref(Le),{icon:"settings"})])]),o.createElementVNode("div",Iv,[o.createElementVNode("div",Hv,o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(Ke)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0}),{prefix:"$",repeat:5})),1),o.createElementVNode("div",zv,"/ "+o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(Ke)(t.profit,{isPercentage:t.isPercentage,isFixed:!0}))),1)]),o.createVNode(o.unref(R3),{"current-profit":t.currentProfit,"is-hidden":t.isMaskPersonalTarget,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","is-hidden","drawdown","profit","is-percentage"])]))]))}},[["__scopeId","data-v-d57099e1"]]),Vl=t=>(o.pushScopeId("data-v-105f730b"),t=t(),o.popScopeId(),t),Wv={class:"calendar-widget"},jv={class:"calendar-widget__calendar"},Zv={class:"calendar-widget__top"},Uv={class:"calendar-widget__title-wrapper"},qv=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),Gv={class:"stat-calendar"},Kv={class:"stat-calendar__week-days"},Xv={key:0,class:"stat-calendar__row-wrapper"},Jv={class:"stat-calendar__row"},Qv=["onClick"],eT=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),tT={key:0,class:"calendar-widget__day"},nT={class:"calendar-widget__day__title"},rT={class:"calendar-widget__day__content"},sT={class:"calendar-widget__point"},iT={class:"calendar-widget__point__title"},oT=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),aT={class:"calendar-widget__day__trades"},lT={class:"calendar-widget__point"},cT={class:"calendar-widget__point__title"},dT=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),uT=Oe({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,isCurrentDate:Function,isCurrentDay:Function,isMask:{type:Boolean,default:!1}},emits:["setNewDate","chooseMonth"],setup(t,{emit:e}){const n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=o.ref(null),s=o.ref(null),i=e,a=t,l=u=>{r.value=u.year,s.value=u.month,i("chooseMonth",u)};o.nextTick(()=>{const u=new Date;r.value=u.getFullYear(),s.value=u.getMonth()});const c=o.computed(()=>[{title:"Total trades",value:a.dailyStatData&&a.dailyStatData.trades_total_count||0},{title:"Winrate",value:Ke(a.dailyStatData&&a.dailyStatData.win_rate||0,{isPercentage:!0,isFixed:!0}),class:a.dailyStatData&&a.dailyStatData.win_rate>=50?"-win":"-loss"},{title:"Return",value:Ke(a.dailyStatData&&a.dailyStatData.return_total||0),class:a.dailyStatData&&a.dailyStatData.return_total>=0?"-win":"-loss"},{title:"Return on winners",value:Ke(a.dailyStatData&&a.dailyStatData.return_win||0)},{title:"Return on losers",value:Ke(a.dailyStatData&&a.dailyStatData.return_lose||0)},{title:"Commission",value:Ke(a.dailyStatData&&a.dailyStatData.commission||0)}]),d=o.computed(()=>[{title:"Win trades",value:a.dailyStatData&&a.dailyStatData.trades_win_count||0,isPositive:!0},{title:"Loss trades",value:-(a.dailyStatData&&a.dailyStatData.trades_lose_count)||0,isNegative:!1}]);return(u,h)=>{var f,m;return o.openBlock(),o.createElementBlock("div",Wv,[o.createElementVNode("div",jv,[o.createElementVNode("div",Zv,[o.createElementVNode("div",Uv,[qv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("A widget that displays the performance of your trades in a calendar format. Here you can see profitable and unprofitable days with detailed statistics for each day. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(F3),{key:0,"current-date":t.currentDate,onOnChange:l,year:r.value,"onUpdate:year":h[0]||(h[0]=g=>r.value=g),month:s.value,"onUpdate:month":h[1]||(h[1]=g=>s.value=g)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Gv,[o.createElementVNode("div",Kv,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(g,p)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(p)}])},o.toDisplayString(g),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",Xv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,g=>(o.openBlock(),o.createElementBlock("div",Jv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,p=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!p.date,"-current":t.isCurrentDate(p.date),"-positive":p.win,"-negative":p.win===!1}]),onClick:_=>i("setNewDate",p.date)},o.toDisplayString(p.date?p.date:""),11,Qv))),256))]))),256))])):o.createCommentVNode("",!0)])]),eT,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",tT,[o.createElementVNode("div",nT,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",rT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,g=>(o.openBlock(),o.createElementBlock("div",sT,[o.createElementVNode("div",iT,o.toDisplayString(g.title),1),oT,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",g.class?g.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,g.value,{repeat:5})),3)]))),256)),o.createVNode(o.unref(xm),{isHidden:t.isMask,long:(f=t.dailyStatData)==null?void 0:f.long_count,short:(m=t.dailyStatData)==null?void 0:m.short_count},null,8,["isHidden","long","short"]),o.createElementVNode("div",aT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.value,g=>(o.openBlock(),o.createElementBlock("div",lT,[o.createElementVNode("div",cT,o.toDisplayString(g.title),1),dT,o.createVNode(o.unref(sc),{isHidden:t.isMask,"is-positive":g.isPositive,"is-negative":g.isNegative,delta:g.value},null,8,["isHidden","is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-105f730b"]]),r1=t=>(o.pushScopeId("data-v-4ce47bda"),t=t(),o.popScopeId(),t),hT={class:"commission-widget"},fT={class:"commission-widget__content"},mT={class:"commission-widget__top"},pT={class:"commission-widget__title-wrapper"},gT=r1(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),_T={class:"commission-widget__info"},yT={class:"commission-widget__total-wrapper"},wT=r1(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),bT={class:"commission-widget__total-wrapper__total"},kT={class:"commission-widget__total-wrapper__value"},CT={class:"commission-widget__points"},xT={class:"commission-widget__point"},MT={class:"commission-widget__point__title"},ST=r1(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),vT=Oe({__name:"CommissionsFeesWidget",props:{commission:Number,commissionData:Object,isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.commissionData&&s.commissionData.commission||0),a=o.computed(()=>s.commissionData&&s.commissionData.pnl||0),l=o.computed(()=>[{title:"AVG fees per trade",value:`${Ke(s.commissionData&&s.commissionData.fees_per_trade||0)}`},{title:"PNL / Commission",value:a.value&&i.value?`${Ke(a.value)}/${Ke(i.value)}`:`${Ke(0)}`},{title:"AVG fees per day",value:`${Ke(s.commissionData&&s.commissionData.fees_per_day||0)}`},{title:"Funding",value:`${Ke(s.commissionData&&s.commissionData.funding||0)}`}]);return(c,d)=>(o.openBlock(),o.createElementBlock("div",hT,[o.createElementVNode("div",fT,[o.createElementVNode("div",mT,[o.createElementVNode("div",pT,[gT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget helps traders finally understand how much money they spent on commissions and funding. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=u=>n.value=u),onOnChange:d[1]||(d[1]=u=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",_T,[o.createElementVNode("div",yT,[wT,o.createElementVNode("div",bT,[o.createElementVNode("div",kT,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(i.value),{repeat:5})),1)])]),o.createElementVNode("div",CT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,(u,h)=>(o.openBlock(),o.createElementBlock("div",xT,[o.createElementVNode("div",MT,o.toDisplayString(u.title),1),ST,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",u.class?u.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,u.value,{repeat:5})),3)]))),256))])])])]))}},[["__scopeId","data-v-4ce47bda"]]),TT=t=>(o.pushScopeId("data-v-7187c939"),t=t(),o.popScopeId(),t),DT={class:"performance-widget"},OT={class:"performance-widget__top"},ET={class:"performance-widget__title-wrapper"},$T=TT(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),PT=Oe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=t,r=s=>Me(n.isMask,Et(s,2)+"%",{repeat:3});return(s,i)=>(o.openBlock(),o.createElementBlock("div",DT,[o.createElementVNode("div",OT,[o.createElementVNode("div",ET,[$T,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The linear graphics widget displays the profit as a percentage of the deposit. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a),onOnChange:i[1]||(i[1]=a=>s.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(t1),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":r,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-7187c939"]]),s1=t=>(o.pushScopeId("data-v-20b275a1"),t=t(),o.popScopeId(),t),LT={class:"return-widget"},VT={class:"return-widget__content"},NT={class:"return-widget__top"},BT={class:"return-widget__title-wrapper"},AT=s1(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),FT={class:"return-widget__info"},RT={class:"return-widget__total-wrapper"},IT=s1(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),HT={class:"return-widget__total-wrapper__total"},zT={class:"return-widget__points"},YT={class:"return-widget__point"},WT={class:"return-widget__point__title"},jT=s1(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),ZT=["innerHTML"],UT=Oe({__name:"ReturnWidget",props:{totalReturn:{type:Number,default:0},win:{type:Number,default:0},lose:{type:Number,default:0},returnPeriod:{type:Number,default:0},profitFactor:{type:Number,default:0},daily:{type:Number,default:0},changeRate:{type:Number,default:0},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>[{title:"Average return per trade",value:s.totalReturn,options:{isPlus:!0,isFixed:!0},class:s.totalReturn===0?"":s.totalReturn>0?"-win":"-loss"},{title:"Daily return",value:s.daily,options:{isPlus:!0,isFixed:!0},class:s.daily===0?"":s.daily>0?"-win":"-loss"},{title:"Return on winners",value:s.win,class:"-win"},{title:"Return on losers",value:s.lose,class:"-loss"}]),a=o.computed(()=>s.returnPeriod>0),l=o.computed(()=>s.returnPeriod<0),c=o.computed(()=>s.profitFactor>1?"-positive":"-negative"),d=o.computed(()=>s.profitFactor>0?`Your profit factor is ${Me(s.isMask,Et(s.profitFactor),{repeat:5})}. <br /> You earn ${Me(s.isMask,Ke(s.profitFactor),{repeat:5,prefix:"$"})} on every ${Me(s.isMask,"$1",{repeat:5,prefix:"$"})} loss.`:`Your profit factor is ${Me(s.isMask,Et(s.profitFactor),{repeat:5})}. <br/> You loss ${Me(s.isMask,Ke(Math.abs(s.profitFactor)),{repeat:5,prefix:"$"})} on every ${Me(s.isMask,"$1",{repeat:5,prefix:"$"})} earn. `);return(u,h)=>(o.openBlock(),o.createElementBlock("div",LT,[o.createElementVNode("div",VT,[o.createElementVNode("div",NT,[o.createElementVNode("div",BT,[AT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays an increase in NET profit in dollars and percentage relative to the deposit for the specified period you have chosen. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:n.value,"onUpdate:modelValue":h[0]||(h[0]=f=>n.value=f),onOnChange:h[1]||(h[1]=f=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",FT,[o.createElementVNode("div",RT,[IT,o.createElementVNode("div",HT,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":a.value,"-negative":l.value}])},o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(t.returnPeriod,{isPlus:!0,isFixed:!0}),{repeat:5})),3),s.changeRate?(o.openBlock(),o.createBlock(o.unref(sc),{key:0,percentage:"",isHidden:t.isMask,delta:s.changeRate},null,8,["isHidden","delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",zT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,f=>(o.openBlock(),o.createElementBlock("div",YT,[o.createElementVNode("div",WT,o.toDisplayString(f.title),1),jT,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",f.class?f.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(f.value,f.options),{repeat:5,prefix:"$"})),3)]))),256))])])]),t.profitFactor?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",c.value])},[o.createVNode(o.unref(Le),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:d.value},null,8,ZT)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-20b275a1"]]),$2=t=>(o.pushScopeId("data-v-d9b5a9e6"),t=t(),o.popScopeId(),t),qT={class:"top-positions-widget"},GT={class:"top-positions-widget__top"},KT={class:"top-positions-widget__title-wrapper"},XT=$2(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top Positions",-1)),JT={key:0,class:"top-positions-widget__returns"},QT={class:"top-positions-widget__return"},eD={class:"top-positions-widget__return__left"},tD=$2(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),nD={class:"top-positions-widget__return__pair"},rD={class:"top-positions-widget__return__right"},sD={class:"top-positions-widget__return__pnl"},iD=Oe({__name:"TopPositionsWidget",props:{topPositions:{type:Array,default:[]},isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",qT,[o.createElementVNode("div",GT,[o.createElementVNode("div",KT,[XT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Helps you find the top profitable positions. We calculate only net PNL, taking into account commission and funding. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),t.topPositions&&t.topPositions.length?(o.openBlock(),o.createElementBlock("div",JT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",QT,[o.createElementVNode("div",eD,[tD,o.createElementVNode("div",nD,o.toDisplayString(o.unref(g6)(a.pair)),1)]),o.createElementVNode("div",rD,[o.createElementVNode("div",sD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(a.pnl,{isFixed:!0,isPlus:!0},{repeat:5}))),1),o.createElementVNode("div",{class:o.normalizeClass(["top-positions-widget__return__roi",a.roi<0?"-negative":"-positive"])},[o.createVNode(o.unref(Le),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(a.roi,{isPercentage:!0,isFixed:!0},{repeat:2}))),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-d9b5a9e6"]]),i1=t=>(o.pushScopeId("data-v-139cca32"),t=t(),o.popScopeId(),t),oD={class:"trade-widget"},aD={class:"trade-widget__content"},lD={class:"trade-widget__top"},cD={class:"trade-widget__title-wrapper"},dD=i1(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),uD={class:"trade-widget__info"},hD={class:"trade-widget__total-wrapper"},fD=i1(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),mD={class:"trade-widget__total-wrapper__total"},pD={class:"trade-widget__total-wrapper__value"},gD={class:"trade-widget__points"},_D={class:"trade-widget__point"},yD={class:"trade-widget__point__title"},wD=i1(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),bD=Oe({__name:"TradePerformanceWidget",props:{totalTrades:Number,tradePoints:Array,isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",oD,[o.createElementVNode("div",aD,[o.createElementVNode("div",lD,[o.createElementVNode("div",cD,[dD,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("It displays the number of profitable and unprofitable positions. This widget is very useful for understanding your trading opportunities. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",uD,[o.createElementVNode("div",hD,[fD,o.createElementVNode("div",mD,[o.createElementVNode("div",pD,o.toDisplayString(o.unref(Me)(t.isMask,t.totalTrades,{repeat:5})),1)])]),o.createElementVNode("div",gD,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",_D,[o.createElementVNode("div",yD,o.toDisplayString(a.title),1),wD,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,a.value,{repeat:5})),3)]))),256))])])])]))}},[["__scopeId","data-v-139cca32"]]),o1=t=>(o.pushScopeId("data-v-cbc80015"),t=t(),o.popScopeId(),t),kD={class:"winrate-widget"},CD={class:"winrate-widget__winrate"},xD={class:"winrate-widget__title-wrapper"},MD=o1(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Daily Winrate",-1)),SD={class:"winrate-widget__chart"},vD={class:"winrate-widget__data"},TD={class:"winrate-widget__data_value"},DD=o1(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),OD={class:"winrate-widget__average-rr"},ED={class:"winrate-widget__title-wrapper"},$D=o1(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),PD=Oe({__name:"WinrateWidget",props:{winrate:{type:Number,default:0},minRR:{type:Number,default:0},averageRR:{type:Number,default:0},maxRR:{type:Number,default:0},isMask:{type:Boolean,default:!1}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",kD,[o.createElementVNode("div",CD,[o.createElementVNode("div",xD,[MD,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the percentage of your successful positions. ")]),_:1})]),o.createElementVNode("div",SD,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",vD,[o.createElementVNode("div",TD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.winrate,2)))+"%",1),DD])])]),o.createElementVNode("div",OD,[o.createElementVNode("div",ED,[$D,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Risk Reward, defines the ratio of potential profit to loss you can get. ")]),_:1})]),o.createVNode(o.unref(P2),{avg:t.averageRR,min:t.minRR,max:t.maxRR,isMask:t.isMask},null,8,["avg","min","max","isMask"])])]))}},[["__scopeId","data-v-cbc80015"]]),LD=t=>(o.pushScopeId("data-v-e6d713b2"),t=t(),o.popScopeId(),t),VD={class:"average-rr-line-container"},ND={class:"average-rr-line"},BD={key:0,class:"average-rr-line__progress"},AD=[LD(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],FD={class:"coefficients"},RD={class:"coefficients__value -min"},ID={class:"coefficients__value -avg"},HD={class:"coefficients__value -max"},P2=Oe({__name:"AverageRRLine",props:{min:{type:Number,default:0},avg:{type:Number,default:0},max:{type:Number,default:0},isMask:{type:Boolean,default:!1}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",VD,[o.createElementVNode("div",ND,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",BD,AD)):o.createCommentVNode("",!0)]),o.createElementVNode("div",FD,[o.createElementVNode("div",RD,o.toDisplayString(o.unref(Me)(t.isMask,t.min,{repeat:3})),1),o.createElementVNode("div",ID,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.avg))),1),o.createElementVNode("div",HD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.max),{repeat:3})),1)])]))}},[["__scopeId","data-v-e6d713b2"]]);function L2(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function Zo(t){return typeof t=="function"?t():o.unref(t)}const V2=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zD=Object.prototype.toString,YD=t=>zD.call(t)==="[object Object]",Uo=()=>{},a1=WD();function WD(){var t,e;return V2&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const N2={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function jD(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Uo}))):o.ref(e)}function qo(t){var e;const n=Zo(t);return(e=n==null?void 0:n.$el)!=null?e:n}const B2=V2?window:void 0;function Nl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=B2):[e,n,r,s]=t,!e)return Uo;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},l=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=o.watch(()=>[qo(e),Zo(s)],([u,h])=>{if(a(),!u)return;const f=YD(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return L2(d),d}let A2=!1;function F2(t,e,n={}){const{window:r=B2,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Uo;a1&&!A2&&(A2=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Uo)),r.document.documentElement.addEventListener("click",Uo));let l=!0;const c=f=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===f.target||f.composedPath().includes(g));{const g=qo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[Nl(r,"click",f=>{const m=qo(t);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(l=!c(f)),!l){l=!0;return}e(f)}},{passive:!0,capture:i}),Nl(r,"pointerdown",f=>{const m=qo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&Nl(r,"blur",f=>{setTimeout(()=>{var m;const g=qo(t);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(g!=null&&g.contains(r.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const R2={[N2.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=F2(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=F2(t,r,Object.assign({capture:n},s))}},[N2.unmounted](t){t.__onClickOutside_stop()}};function l1(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function I2(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:I2(n)}}function ZD(t){const e=t||window.event,n=e.target;return I2(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Bl=new WeakMap;function UD(t,e=!1){const n=o.ref(e);let r=null;o.watch(jD(t),a=>{const l=l1(Zo(a));if(l){const c=l;Bl.get(c)||Bl.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=l1(Zo(t));!a||n.value||(a1&&(r=Nl(a,"touchmove",l=>{ZD(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=l1(Zo(t));!l||!n.value||(a1&&(r==null||r()),l.style.overflow=(a=Bl.get(l))!=null?a:"",Bl.delete(l),n.value=!1)};return L2(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function qD(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=UD(n,r.value);o.watch(e,i=>s.value=i)}}qD();//! moment.js
41
+ <span> | ${uh(M[0])}, ${p6(M[0])}</span></div>`;g.firstChild;)g.firstChild.remove();g.appendChild(S)}const{offsetLeft:p,offsetTop:_,clientWidth:y}=f.canvas;let C=p+m.caretX;const k=_+m.caretY,v=g.clientWidth;C+v>y&&(C-=v),g.style.opacity="1",g.style.left=C+"px",g.style.top=k+"px"}},d=h=>{const{chart:f}=h,m=l("chart-line",f),g=f.chartArea;f.canvas.addEventListener("mousemove",function(p){const _=f.canvas.getBoundingClientRect(),y=p.clientX-_.left,C=p.clientY-_.top;y>=g.left&&y<=g.right&&C>=g.top&&C<=g.bottom?(m.style.left=y+"px",m.style.top=g.top+"px",m.style.height=g.bottom-g.top+"px",m.style.display="flex"):m.style.display="none"}),f.canvas.addEventListener("mouseout",function(){m.style.display="none"})},u=o.computed(()=>({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},scales:{x:{ticks:{display:!r.isEmpty,callback:function(h){return uh(this.getLabelForValue(h)).slice(0,3)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15,align:"center"},grid:{display:!1},border:{color:"#EDEDED"}},y:{ticks:{display:!r.isEmpty,callback:function(h){return e.ticksCallback(h)},color:"#8E8E93",font:{size:14,weight:400,family:"'SF Pro Display', sans-serif"},padding:15},grid:{color:"#EDEDED",drawTicks:!1},border:{display:!1,dash:[4,4],dashOffset:1}}},plugins:{tooltip:{enabled:!1,position:"nearest",external:c},legend:!1},elements:{line:{backgroundColor:h=>a(h),tension:.3,borderWidth:2,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:"circle",pointRadius:1,pointHoverRadius:8,pointBackgroundColor:e.borderColor,pointBorderWidth:0,pointHoverBorderWidth:3,pointBorderColor:"#fff",pointHoverBorderColor:"#fff",pointHitRadius:50}},onHover:d}));return o.watch(()=>e.isMask,()=>{n.value+=1},{immediate:!0}),(h,f)=>(o.openBlock(),o.createElementBlock("div",yv,[(o.openBlock(),o.createBlock(o.unref(O2),{key:n.value,data:i.value,options:u.value},null,8,["data","options"]))]))}},n1={__name:"SimpleLineChart",props:{data:{type:Array,required:!0},borderColor:{type:String,default:"#56B683"},gradient:{type:Object,default:{height:200,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}}},setup(t){zo.register(Tl,Ol,Yo,wr,o2);const e=t,n=a=>{const l=new Set,c=[],d=a.map(h=>(l.add(h.date),h.balance));return c.push({data:d}),{labels:Array.from(l),datasets:c}},r=o.computed(()=>n(e.data)),s=a=>{const c=a.chart.ctx.createLinearGradient(0,0,0,e.gradient.height);return c.addColorStop(0,e.gradient.startColor),c.addColorStop(1,e.gradient.endColor),c},i=o.ref({responsive:!0,maintainAspectRatio:!1,animation:{duration:1500},interaction:{mode:"index",intersect:!1},scales:{x:{display:!1},y:{display:!1}},plugins:{tooltip:!1,legend:!1},elements:{line:{backgroundColor:a=>s(a),tension:.3,borderWidth:4,borderColor:e.borderColor,fill:"start",spanGaps:!0},point:{pointStyle:!1}}});return(a,l)=>(o.openBlock(),o.createBlock(o.unref(O2),{data:r.value,options:i.value},null,8,["data","options"]))}},wv=t=>(o.pushScopeId("data-v-af1e1a1d"),t=t(),o.popScopeId(),t),bv={class:"account-balance-widget"},kv={class:"account-balance-widget__top"},Cv={class:"account-balance-widget__title-wrapper"},xv=wv(()=>o.createElementVNode("div",{class:"account-balance-widget__title"},"Account Balance",-1)),Mv=Oe({__name:"AccountBalanceWidget",props:{balanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=s=>{const i=s*Mc();return i>=1e3||i<=-1e3?Me(r.isMask,Et(i/1e3,2)+"k",{repeat:3}):Et(i,2)},r=t;return(s,i)=>(o.openBlock(),o.createElementBlock("div",bv,[o.createElementVNode("div",kv,[o.createElementVNode("div",Cv,[xv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This graphic widget displays changes to your deposit over a specific time period. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a),onOnChange:i[1]||(i[1]=a=>s.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(t1),{data:t.balanceChartData,"data-type":"balanceChartData","ticks-callback":n,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-af1e1a1d"]]),E2=t=>(o.pushScopeId("data-v-d57099e1"),t=t(),o.popScopeId(),t),Sv={class:"balance-widget"},vv={class:"balance-part"},Tv={class:"balance-part__top"},Dv={class:"balance-part__title-wrapper"},Ov=E2(()=>o.createElementVNode("div",{class:"balance-part__title"},"Balance",-1)),Ev={class:"balance-part__content"},$v={class:"balance-part__content__wrapper"},Pv={class:"balance-part__content__count"},Lv={class:"balance-part__content__bitcoin"},Vv={key:0,class:"devider"},Nv={key:1,class:"personal-target-part"},Bv={class:"personal-target-part__top"},Av={class:"personal-target-part__title-wrapper"},Fv=E2(()=>o.createElementVNode("div",{class:"personal-target-part__title"},"Personal target",-1)),Rv={class:"personal-target-part__content"},Iv={class:"personal-target-part__content__current"},Hv={class:"personal-target-part__content__from"},zv=Oe({__name:"BalanceWidget",props:{BTC:{type:Number,default:0},USDT:{type:Number,default:0},delta:{type:Number,default:0},balanceChartData:{type:Array,default:[]},currentProfit:{type:Number,default:0},profit:{type:Number,default:0},drawdown:{type:Number,default:0},isPercentage:Boolean,isShare:{type:Boolean,default:!1},isHidden:{type:Boolean,default:!1},isMaskBalance:{type:Boolean,default:!1},isMaskPersonalTarget:{type:Boolean,default:!1}},emits:["switchModal","switchVisibility"],setup(t,{emit:e}){const n=e,r=()=>{n("switchVisibility")};return(s,i)=>(o.openBlock(),o.createElementBlock("div",Sv,[o.createElementVNode("div",vv,[o.createElementVNode("div",Tv,[o.createElementVNode("div",Dv,[Ov,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the balance of your deposit in USD and BTC equivalent, additionally showing the growth/fall of your balance.")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"balance-part__visibility-switcher",onClick:r},[o.withDirectives(o.createVNode(o.unref(Le),{icon:"eye"},null,512),[[o.vShow,t.isHidden]]),o.withDirectives(o.createVNode(o.unref(Le),{icon:"eye-slash"},null,512),[[o.vShow,!t.isHidden]])]))]),o.createElementVNode("div",Ev,[o.createElementVNode("div",$v,[o.createElementVNode("div",Pv,o.toDisplayString(o.unref(Me)(t.isMaskBalance,o.unref(Ke)(t.USDT),{prefix:"$"})),1),t.delta?(o.openBlock(),o.createBlock(o.unref(sc),{key:0,"is-hidden":t.isMaskBalance,percentage:"",delta:t.delta},null,8,["is-hidden","delta"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",Lv,"= "+o.toDisplayString(o.unref(Me)(t.isMaskBalance,t.BTC))+" BTC",1)]),t.isShare?(o.openBlock(),o.createBlock(o.unref(n1),{key:0,class:"balance-part__chart balance-part__chart--share",data:t.balanceChartData,gradient:{height:500,startColor:"rgba(86, 182, 131, 0.1)",endColor:"rgba(86, 182, 131, 0)"}},null,8,["data","gradient"])):(o.openBlock(),o.createBlock(o.unref(n1),{key:1,class:"balance-part__chart",data:t.balanceChartData},null,8,["data"]))]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Vv)),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Nv,[o.createElementVNode("div",Bv,[o.createElementVNode("div",Av,[Fv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode(" In this widget you can set your profit goal to $ for a certain period. This will help you better understand where you should stop or be more attentive. ")]),_:1})]),o.createElementVNode("div",{class:"balance-part__modal-switcher",onClick:i[0]||(i[0]=a=>n("switchModal"))},[o.createVNode(o.unref(Le),{icon:"settings"})])]),o.createElementVNode("div",Rv,[o.createElementVNode("div",Iv,o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(Ke)(t.currentProfit,{isPercentage:t.isPercentage,isFixed:!0}),{prefix:"$",repeat:5})),1),o.createElementVNode("div",Hv,"/ "+o.toDisplayString(o.unref(Me)(t.isMaskPersonalTarget,o.unref(Ke)(t.profit,{isPercentage:t.isPercentage,isFixed:!0}))),1)]),o.createVNode(o.unref(R3),{"current-profit":t.currentProfit,"is-hidden":t.isMaskPersonalTarget,drawdown:t.drawdown,profit:t.profit,"is-percentage":t.isPercentage},null,8,["current-profit","is-hidden","drawdown","profit","is-percentage"])]))]))}},[["__scopeId","data-v-d57099e1"]]),Vl=t=>(o.pushScopeId("data-v-105f730b"),t=t(),o.popScopeId(),t),Yv={class:"calendar-widget"},Wv={class:"calendar-widget__calendar"},jv={class:"calendar-widget__top"},Zv={class:"calendar-widget__title-wrapper"},Uv=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__title"},"Calendar",-1)),qv={class:"stat-calendar"},Gv={class:"stat-calendar__week-days"},Kv={key:0,class:"stat-calendar__row-wrapper"},Xv={class:"stat-calendar__row"},Jv=["onClick"],Qv=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__divider"},null,-1)),eT={key:0,class:"calendar-widget__day"},tT={class:"calendar-widget__day__title"},nT={class:"calendar-widget__day__content"},rT={class:"calendar-widget__point"},sT={class:"calendar-widget__point__title"},iT=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),oT={class:"calendar-widget__day__trades"},aT={class:"calendar-widget__point"},lT={class:"calendar-widget__point__title"},cT=Vl(()=>o.createElementVNode("div",{class:"calendar-widget__point__line"},null,-1)),dT=Oe({__name:"CalendarWidget",props:{rows:Array,dailyStatData:Object,currentDate:Date,isCurrentDate:Function,isCurrentDay:Function,isMask:{type:Boolean,default:!1}},emits:["setNewDate","chooseMonth"],setup(t,{emit:e}){const n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=o.ref(null),s=o.ref(null),i=e,a=t,l=u=>{r.value=u.year,s.value=u.month,i("chooseMonth",u)};o.nextTick(()=>{const u=new Date;r.value=u.getFullYear(),s.value=u.getMonth()});const c=o.computed(()=>[{title:"Total trades",value:a.dailyStatData&&a.dailyStatData.trades_total_count||0},{title:"Winrate",value:Ke(a.dailyStatData&&a.dailyStatData.win_rate||0,{isPercentage:!0,isFixed:!0}),class:a.dailyStatData&&a.dailyStatData.win_rate>=50?"-win":"-loss"},{title:"Return",value:Ke(a.dailyStatData&&a.dailyStatData.return_total||0),class:a.dailyStatData&&a.dailyStatData.return_total>=0?"-win":"-loss"},{title:"Return on winners",value:Ke(a.dailyStatData&&a.dailyStatData.return_win||0)},{title:"Return on losers",value:Ke(a.dailyStatData&&a.dailyStatData.return_lose||0)},{title:"Commission",value:Ke(a.dailyStatData&&a.dailyStatData.commission||0)}]),d=o.computed(()=>[{title:"Win trades",value:a.dailyStatData&&a.dailyStatData.trades_win_count||0,isPositive:!0},{title:"Loss trades",value:-(a.dailyStatData&&a.dailyStatData.trades_lose_count)||0,isNegative:!1}]);return(u,h)=>{var f,m;return o.openBlock(),o.createElementBlock("div",Yv,[o.createElementVNode("div",Wv,[o.createElementVNode("div",jv,[o.createElementVNode("div",Zv,[Uv,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("A widget that displays the performance of your trades in a calendar format. Here you can see profitable and unprofitable days with detailed statistics for each day. ")]),_:1})]),t.currentDate?(o.openBlock(),o.createBlock(o.unref(F3),{key:0,"current-date":t.currentDate,onOnChange:l,year:r.value,"onUpdate:year":h[0]||(h[0]=g=>r.value=g),month:s.value,"onUpdate:month":h[1]||(h[1]=g=>s.value=g)},null,8,["current-date","year","month"])):o.createCommentVNode("",!0)]),o.createElementVNode("div",qv,[o.createElementVNode("div",Gv,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(n,(g,p)=>o.createElementVNode("div",{class:o.normalizeClass(["stat-calendar__week-day",{"-current":t.isCurrentDay(p)}])},o.toDisplayString(g),3)),64))]),t.rows?(o.openBlock(),o.createElementBlock("div",Kv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.rows,g=>(o.openBlock(),o.createElementBlock("div",Xv,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(g,p=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["stat-calendar__day",{"-empty":!p.date,"-current":t.isCurrentDate(p.date),"-positive":p.win,"-negative":p.win===!1}]),onClick:_=>i("setNewDate",p.date)},o.toDisplayString(p.date?p.date:""),11,Jv))),256))]))),256))])):o.createCommentVNode("",!0)])]),Qv,t.dailyStatData&&!t.dailyStatData.isNull?(o.openBlock(),o.createElementBlock("div",eT,[o.createElementVNode("div",tT,o.toDisplayString(t.currentDate.getDate()+" "+t.currentDate.toLocaleString("en-us",{month:"long"})),1),o.createElementVNode("div",nT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,g=>(o.openBlock(),o.createElementBlock("div",rT,[o.createElementVNode("div",sT,o.toDisplayString(g.title),1),iT,o.createElementVNode("div",{class:o.normalizeClass(["calendar-widget__point__value",g.class?g.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,g.value,{repeat:5})),3)]))),256)),o.createVNode(o.unref(xm),{isHidden:t.isMask,long:(f=t.dailyStatData)==null?void 0:f.long_count,short:(m=t.dailyStatData)==null?void 0:m.short_count},null,8,["isHidden","long","short"]),o.createElementVNode("div",oT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(d.value,g=>(o.openBlock(),o.createElementBlock("div",aT,[o.createElementVNode("div",lT,o.toDisplayString(g.title),1),cT,o.createVNode(o.unref(sc),{isHidden:t.isMask,"is-positive":g.isPositive,"is-negative":g.isNegative,delta:g.value},null,8,["isHidden","is-positive","is-negative","delta"])]))),256))])])])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,class:"-empty"}))])}}},[["__scopeId","data-v-105f730b"]]),r1=t=>(o.pushScopeId("data-v-4ce47bda"),t=t(),o.popScopeId(),t),uT={class:"commission-widget"},hT={class:"commission-widget__content"},fT={class:"commission-widget__top"},mT={class:"commission-widget__title-wrapper"},pT=r1(()=>o.createElementVNode("div",{class:"commission-widget__title"},"Commissions and Fees",-1)),gT={class:"commission-widget__info"},_T={class:"commission-widget__total-wrapper"},yT=r1(()=>o.createElementVNode("div",{class:"commission-widget__total-wrapper__title"},"Total",-1)),wT={class:"commission-widget__total-wrapper__total"},bT={class:"commission-widget__total-wrapper__value"},kT={class:"commission-widget__points"},CT={class:"commission-widget__point"},xT={class:"commission-widget__point__title"},MT=r1(()=>o.createElementVNode("div",{class:"commission-widget__point__line"},null,-1)),ST=Oe({__name:"CommissionsFeesWidget",props:{commission:Number,commissionData:Object,isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>s.commissionData&&s.commissionData.commission||0),a=o.computed(()=>s.commissionData&&s.commissionData.pnl||0),l=o.computed(()=>[{title:"AVG fees per trade",value:`${Ke(s.commissionData&&s.commissionData.fees_per_trade||0)}`},{title:"PNL / Commission",value:a.value&&i.value?`${Ke(a.value)}/${Ke(i.value)}`:`${Ke(0)}`},{title:"AVG fees per day",value:`${Ke(s.commissionData&&s.commissionData.fees_per_day||0)}`},{title:"Funding",value:`${Ke(s.commissionData&&s.commissionData.funding||0)}`}]);return(c,d)=>(o.openBlock(),o.createElementBlock("div",uT,[o.createElementVNode("div",hT,[o.createElementVNode("div",fT,[o.createElementVNode("div",mT,[pT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget helps traders finally understand how much money they spent on commissions and funding. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=u=>n.value=u),onOnChange:d[1]||(d[1]=u=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",gT,[o.createElementVNode("div",_T,[yT,o.createElementVNode("div",wT,[o.createElementVNode("div",bT,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(i.value),{repeat:5})),1)])]),o.createElementVNode("div",kT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,(u,h)=>(o.openBlock(),o.createElementBlock("div",CT,[o.createElementVNode("div",xT,o.toDisplayString(u.title),1),MT,o.createElementVNode("div",{class:o.normalizeClass(["commission-widget__point__value",u.class?u.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,u.value,{repeat:5})),3)]))),256))])])])]))}},[["__scopeId","data-v-4ce47bda"]]),vT=t=>(o.pushScopeId("data-v-7187c939"),t=t(),o.popScopeId(),t),TT={class:"performance-widget"},DT={class:"performance-widget__top"},OT={class:"performance-widget__title-wrapper"},ET=vT(()=>o.createElementVNode("div",{class:"performance-widget__title"},"Performance (cumulative)",-1)),$T=Oe({__name:"PerformanceWidget",props:{performanceChartData:{type:Array,default:[]},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},setup(t){const e=o.ref("week"),n=t,r=s=>Me(n.isMask,Et(s,2)+"%",{repeat:3});return(s,i)=>(o.openBlock(),o.createElementBlock("div",TT,[o.createElementVNode("div",DT,[o.createElementVNode("div",OT,[ET,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("The linear graphics widget displays the profit as a percentage of the deposit. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a),onOnChange:i[1]||(i[1]=a=>s.$emit("onChange",e.value))},null,8,["modelValue"]))]),o.createVNode(o.unref(t1),{data:t.performanceChartData,"data-type":"performanceChartData","ticks-callback":r,isMask:t.isMask},null,8,["data","isMask"])]))}},[["__scopeId","data-v-7187c939"]]),s1=t=>(o.pushScopeId("data-v-20b275a1"),t=t(),o.popScopeId(),t),PT={class:"return-widget"},LT={class:"return-widget__content"},VT={class:"return-widget__top"},NT={class:"return-widget__title-wrapper"},BT=s1(()=>o.createElementVNode("div",{class:"return-widget__title"},"Return",-1)),AT={class:"return-widget__info"},FT={class:"return-widget__total-wrapper"},RT=s1(()=>o.createElementVNode("div",{class:"return-widget__total-wrapper__title"},"Total",-1)),IT={class:"return-widget__total-wrapper__total"},HT={class:"return-widget__points"},zT={class:"return-widget__point"},YT={class:"return-widget__point__title"},WT=s1(()=>o.createElementVNode("div",{class:"return-widget__point__line"},null,-1)),jT=["innerHTML"],ZT=Oe({__name:"ReturnWidget",props:{totalReturn:{type:Number,default:0},win:{type:Number,default:0},lose:{type:Number,default:0},returnPeriod:{type:Number,default:0},profitFactor:{type:Number,default:0},daily:{type:Number,default:0},changeRate:{type:Number,default:0},isShare:{type:Boolean,default:!1},isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e,s=t,i=o.computed(()=>[{title:"Average return per trade",value:s.totalReturn,options:{isPlus:!0,isFixed:!0},class:s.totalReturn===0?"":s.totalReturn>0?"-win":"-loss"},{title:"Daily return",value:s.daily,options:{isPlus:!0,isFixed:!0},class:s.daily===0?"":s.daily>0?"-win":"-loss"},{title:"Return on winners",value:s.win,class:"-win"},{title:"Return on losers",value:s.lose,class:"-loss"}]),a=o.computed(()=>s.returnPeriod>0),l=o.computed(()=>s.returnPeriod<0),c=o.computed(()=>s.profitFactor>1?"-positive":"-negative"),d=o.computed(()=>s.profitFactor>0?`Your profit factor is ${Me(s.isMask,Et(s.profitFactor),{repeat:5})}. <br /> You earn ${Me(s.isMask,Ke(s.profitFactor),{repeat:5,prefix:"$"})} on every ${Me(s.isMask,"$1",{repeat:5,prefix:"$"})} loss.`:`Your profit factor is ${Me(s.isMask,Et(s.profitFactor),{repeat:5})}. <br/> You loss ${Me(s.isMask,Ke(Math.abs(s.profitFactor)),{repeat:5,prefix:"$"})} on every ${Me(s.isMask,"$1",{repeat:5,prefix:"$"})} earn. `);return(u,h)=>(o.openBlock(),o.createElementBlock("div",PT,[o.createElementVNode("div",LT,[o.createElementVNode("div",VT,[o.createElementVNode("div",NT,[BT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("This widget displays an increase in NET profit in dollars and percentage relative to the deposit for the specified period you have chosen. ")]),_:1})]),t.isShare?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(o.unref(Ws),{key:0,modelValue:n.value,"onUpdate:modelValue":h[0]||(h[0]=f=>n.value=f),onOnChange:h[1]||(h[1]=f=>r("onChange",n.value))},null,8,["modelValue"]))]),o.createElementVNode("div",AT,[o.createElementVNode("div",FT,[RT,o.createElementVNode("div",IT,[o.createElementVNode("div",{class:o.normalizeClass(["return-widget__total-wrapper__value",{"-positive":a.value,"-negative":l.value}])},o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(t.returnPeriod,{isPlus:!0,isFixed:!0}),{repeat:5})),3),s.changeRate?(o.openBlock(),o.createBlock(o.unref(sc),{key:0,percentage:"",isHidden:t.isMask,delta:s.changeRate},null,8,["isHidden","delta"])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",HT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,f=>(o.openBlock(),o.createElementBlock("div",zT,[o.createElementVNode("div",YT,o.toDisplayString(f.title),1),WT,o.createElementVNode("div",{class:o.normalizeClass(["return-widget__point__value",f.class?f.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(f.value,f.options),{repeat:5,prefix:"$"})),3)]))),256))])])]),t.profitFactor?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["return-widget__profit",c.value])},[o.createVNode(o.unref(Le),{icon:"tip",class:"return-widget__profit__icon"}),o.createElementVNode("div",{class:"return-widget__profit__text",innerHTML:d.value},null,8,jT)],2)):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-20b275a1"]]),$2=t=>(o.pushScopeId("data-v-d9b5a9e6"),t=t(),o.popScopeId(),t),UT={class:"top-positions-widget"},qT={class:"top-positions-widget__top"},GT={class:"top-positions-widget__title-wrapper"},KT=$2(()=>o.createElementVNode("div",{class:"top-positions-widget__title"},"Top Positions",-1)),XT={key:0,class:"top-positions-widget__returns"},JT={class:"top-positions-widget__return"},QT={class:"top-positions-widget__return__left"},eD=$2(()=>o.createElementVNode("div",{class:"top-positions-widget__return__line"},null,-1)),tD={class:"top-positions-widget__return__pair"},nD={class:"top-positions-widget__return__right"},rD={class:"top-positions-widget__return__pnl"},sD=Oe({__name:"TopPositionsWidget",props:{topPositions:{type:Array,default:[]},isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",UT,[o.createElementVNode("div",qT,[o.createElementVNode("div",GT,[KT,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Helps you find the top profitable positions. We calculate only net PNL, taking into account commission and funding. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),t.topPositions&&t.topPositions.length?(o.openBlock(),o.createElementBlock("div",XT,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.topPositions,a=>(o.openBlock(),o.createElementBlock("div",JT,[o.createElementVNode("div",QT,[eD,o.createElementVNode("div",tD,o.toDisplayString(o.unref(g6)(a.pair)),1)]),o.createElementVNode("div",nD,[o.createElementVNode("div",rD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(a.pnl,{isFixed:!0,isPlus:!0},{repeat:5}))),1),o.createElementVNode("div",{class:o.normalizeClass(["top-positions-widget__return__roi",a.roi<0?"-negative":"-positive"])},[o.createVNode(o.unref(Le),{icon:"bxs_up-arrow"}),o.createElementVNode("span",null,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Ke)(a.roi,{isPercentage:!0,isFixed:!0},{repeat:2}))),1)],2)])]))),256))])):(o.openBlock(),o.createBlock(o.unref(gu),{key:1,title:"No more pair",subtitle:"No data available for the specified period",icon:"coins-add"}))]))}},[["__scopeId","data-v-d9b5a9e6"]]),i1=t=>(o.pushScopeId("data-v-139cca32"),t=t(),o.popScopeId(),t),iD={class:"trade-widget"},oD={class:"trade-widget__content"},aD={class:"trade-widget__top"},lD={class:"trade-widget__title-wrapper"},cD=i1(()=>o.createElementVNode("div",{class:"trade-widget__title"},"Trades Performance",-1)),dD={class:"trade-widget__info"},uD={class:"trade-widget__total-wrapper"},hD=i1(()=>o.createElementVNode("div",{class:"trade-widget__total-wrapper__title"},"Total",-1)),fD={class:"trade-widget__total-wrapper__total"},mD={class:"trade-widget__total-wrapper__value"},pD={class:"trade-widget__points"},gD={class:"trade-widget__point"},_D={class:"trade-widget__point__title"},yD=i1(()=>o.createElementVNode("div",{class:"trade-widget__point__line"},null,-1)),wD=Oe({__name:"TradePerformanceWidget",props:{totalTrades:Number,tradePoints:Array,isMask:{type:Boolean,default:!1}},emits:["onChange"],setup(t,{emit:e}){const n=o.ref("week"),r=e;return(s,i)=>(o.openBlock(),o.createElementBlock("div",iD,[o.createElementVNode("div",oD,[o.createElementVNode("div",aD,[o.createElementVNode("div",lD,[cD,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("It displays the number of profitable and unprofitable positions. This widget is very useful for understanding your trading opportunities. ")]),_:1})]),o.createVNode(o.unref(Ws),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=a=>n.value=a),onOnChange:i[1]||(i[1]=a=>r("onChange",n.value))},null,8,["modelValue"])]),o.createElementVNode("div",dD,[o.createElementVNode("div",uD,[hD,o.createElementVNode("div",fD,[o.createElementVNode("div",mD,o.toDisplayString(o.unref(Me)(t.isMask,t.totalTrades,{repeat:5})),1)])]),o.createElementVNode("div",pD,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tradePoints,a=>(o.openBlock(),o.createElementBlock("div",gD,[o.createElementVNode("div",_D,o.toDisplayString(a.title),1),yD,o.createElementVNode("div",{class:o.normalizeClass(["trade-widget__point__value",a.class?a.class:""])},o.toDisplayString(o.unref(Me)(t.isMask,a.value,{repeat:5})),3)]))),256))])])])]))}},[["__scopeId","data-v-139cca32"]]),o1=t=>(o.pushScopeId("data-v-cbc80015"),t=t(),o.popScopeId(),t),bD={class:"winrate-widget"},kD={class:"winrate-widget__winrate"},CD={class:"winrate-widget__title-wrapper"},xD=o1(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Daily Winrate",-1)),MD={class:"winrate-widget__chart"},SD={class:"winrate-widget__data"},vD={class:"winrate-widget__data_value"},TD=o1(()=>o.createElementVNode("div",{class:"winrate-widget__data_title"},"Winrate",-1)),DD={class:"winrate-widget__average-rr"},OD={class:"winrate-widget__title-wrapper"},ED=o1(()=>o.createElementVNode("div",{class:"winrate-widget__title"},"Average RR",-1)),$D=Oe({__name:"WinrateWidget",props:{winrate:{type:Number,default:0},minRR:{type:Number,default:0},averageRR:{type:Number,default:0},maxRR:{type:Number,default:0},isMask:{type:Boolean,default:!1}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",bD,[o.createElementVNode("div",kD,[o.createElementVNode("div",CD,[xD,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Displays the percentage of your successful positions. ")]),_:1})]),o.createElementVNode("div",MD,[o.renderSlot(e.$slots,"roundSlider",{},void 0,!0),o.createElementVNode("div",SD,[o.createElementVNode("div",vD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.winrate,2)))+"%",1),TD])])]),o.createElementVNode("div",DD,[o.createElementVNode("div",OD,[ED,o.createVNode(o.unref(pn),{alternative:""},{default:o.withCtx(()=>[o.createTextVNode("Risk Reward, defines the ratio of potential profit to loss you can get. ")]),_:1})]),o.createVNode(o.unref(P2),{avg:t.averageRR,min:t.minRR,max:t.maxRR,isMask:t.isMask},null,8,["avg","min","max","isMask"])])]))}},[["__scopeId","data-v-cbc80015"]]),PD=t=>(o.pushScopeId("data-v-e6d713b2"),t=t(),o.popScopeId(),t),LD={class:"average-rr-line-container"},VD={class:"average-rr-line"},ND={key:0,class:"average-rr-line__progress"},BD=[PD(()=>o.createElementVNode("div",{class:"average-rr-line__dot"},null,-1))],AD={class:"coefficients"},FD={class:"coefficients__value -min"},RD={class:"coefficients__value -avg"},ID={class:"coefficients__value -max"},P2=Oe({__name:"AverageRRLine",props:{min:{type:Number,default:0},avg:{type:Number,default:0},max:{type:Number,default:0},isMask:{type:Boolean,default:!1}},setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("div",LD,[o.createElementVNode("div",VD,[t.avg&&t.max?(o.openBlock(),o.createElementBlock("div",ND,BD)):o.createCommentVNode("",!0)]),o.createElementVNode("div",AD,[o.createElementVNode("div",FD,o.toDisplayString(o.unref(Me)(t.isMask,t.min,{repeat:3})),1),o.createElementVNode("div",RD,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.avg))),1),o.createElementVNode("div",ID,o.toDisplayString(o.unref(Me)(t.isMask,o.unref(Et)(t.max),{repeat:3})),1)])]))}},[["__scopeId","data-v-e6d713b2"]]);function L2(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function Zo(t){return typeof t=="function"?t():o.unref(t)}const V2=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const HD=Object.prototype.toString,zD=t=>HD.call(t)==="[object Object]",Uo=()=>{},a1=YD();function YD(){var t,e;return V2&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const N2={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function WD(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Uo}))):o.ref(e)}function qo(t){var e;const n=Zo(t);return(e=n==null?void 0:n.$el)!=null?e:n}const B2=V2?window:void 0;function Nl(...t){let e,n,r,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,s]=t,e=B2):[e,n,r,s]=t,!e)return Uo;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},l=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=o.watch(()=>[qo(e),Zo(s)],([u,h])=>{if(a(),!u)return;const f=zD(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(g=>l(u,m,g,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),a()};return L2(d),d}let A2=!1;function F2(t,e,n={}){const{window:r=B2,ignore:s=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return Uo;a1&&!A2&&(A2=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Uo)),r.document.documentElement.addEventListener("click",Uo));let l=!0;const c=f=>s.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(g=>g===f.target||f.composedPath().includes(g));{const g=qo(m);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[Nl(r,"click",f=>{const m=qo(t);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(l=!c(f)),!l){l=!0;return}e(f)}},{passive:!0,capture:i}),Nl(r,"pointerdown",f=>{const m=qo(t);l=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),a&&Nl(r,"blur",f=>{setTimeout(()=>{var m;const g=qo(t);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(g!=null&&g.contains(r.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const R2={[N2.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=F2(t,e.value,{capture:n});else{const[r,s]=e.value;t.__onClickOutside_stop=F2(t,r,Object.assign({capture:n},s))}},[N2.unmounted](t){t.__onClickOutside_stop()}};function l1(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function I2(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:I2(n)}}function jD(t){const e=t||window.event,n=e.target;return I2(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Bl=new WeakMap;function ZD(t,e=!1){const n=o.ref(e);let r=null;o.watch(WD(t),a=>{const l=l1(Zo(a));if(l){const c=l;Bl.get(c)||Bl.set(c,c.style.overflow),n.value&&(c.style.overflow="hidden")}},{immediate:!0});const s=()=>{const a=l1(Zo(t));!a||n.value||(a1&&(r=Nl(a,"touchmove",l=>{jD(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{var a;const l=l1(Zo(t));!l||!n.value||(a1&&(r==null||r()),l.style.overflow=(a=Bl.get(l))!=null?a:"",Bl.delete(l),n.value=!1)};return L2(i),o.computed({get(){return n.value},set(a){a?s():i()}})}function UD(){let t=!1;const e=o.ref(!1);return(n,r)=>{if(e.value=r.value,t)return;t=!0;const s=ZD(n,r.value);o.watch(e,i=>s.value=i)}}UD();//! moment.js
42
42
  //! version : 2.30.1
43
43
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
44
44
  //! license : MIT
45
45
  //! momentjs.com
46
- var H2;function re(){return H2.apply(null,arguments)}function GD(t){H2=t}function Pn(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Is(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function $e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c1(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if($e(t,e))return!1;return!0}function Ut(t){return t===void 0}function kr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Go(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function z2(t,e){var n=[],r,s=t.length;for(r=0;r<s;++r)n.push(e(t[r],r));return n}function ns(t,e){for(var n in e)$e(e,n)&&(t[n]=e[n]);return $e(e,"toString")&&(t.toString=e.toString),$e(e,"valueOf")&&(t.valueOf=e.valueOf),t}function nr(t,e,n,r){return p3(t,e,n,r,!0).utc()}function KD(){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 _e(t){return t._pf==null&&(t._pf=KD()),t._pf}var d1;Array.prototype.some?d1=Array.prototype.some:d1=function(t){var e=Object(this),n=e.length>>>0,r;for(r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};function u1(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=d1.call(e.parsedDateParts,function(s){return s!=null}),r=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(r=r&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=r;else return r;return t._isValid}function Al(t){var e=nr(NaN);return t!=null?ns(_e(e),t):_e(e).userInvalidated=!0,e}var Y2=re.momentProperties=[],h1=!1;function f1(t,e){var n,r,s,i=Y2.length;if(Ut(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Ut(e._i)||(t._i=e._i),Ut(e._f)||(t._f=e._f),Ut(e._l)||(t._l=e._l),Ut(e._strict)||(t._strict=e._strict),Ut(e._tzm)||(t._tzm=e._tzm),Ut(e._isUTC)||(t._isUTC=e._isUTC),Ut(e._offset)||(t._offset=e._offset),Ut(e._pf)||(t._pf=_e(e)),Ut(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=Y2[n],s=e[r],Ut(s)||(t[r]=s);return t}function Ko(t){f1(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),h1===!1&&(h1=!0,re.updateOffset(this),h1=!1)}function Ln(t){return t instanceof Ko||t!=null&&t._isAMomentObject!=null}function W2(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function wn(t,e){var n=!0;return ns(function(){if(re.deprecationHandler!=null&&re.deprecationHandler(null,t),n){var r=[],s,i,a,l=arguments.length;for(i=0;i<l;i++){if(s="",typeof arguments[i]=="object"){s+=`
46
+ var H2;function re(){return H2.apply(null,arguments)}function qD(t){H2=t}function Pn(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function Is(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function $e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c1(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if($e(t,e))return!1;return!0}function Ut(t){return t===void 0}function kr(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Go(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function z2(t,e){var n=[],r,s=t.length;for(r=0;r<s;++r)n.push(e(t[r],r));return n}function ns(t,e){for(var n in e)$e(e,n)&&(t[n]=e[n]);return $e(e,"toString")&&(t.toString=e.toString),$e(e,"valueOf")&&(t.valueOf=e.valueOf),t}function nr(t,e,n,r){return p3(t,e,n,r,!0).utc()}function GD(){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 _e(t){return t._pf==null&&(t._pf=GD()),t._pf}var d1;Array.prototype.some?d1=Array.prototype.some:d1=function(t){var e=Object(this),n=e.length>>>0,r;for(r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};function u1(t){var e=null,n=!1,r=t._d&&!isNaN(t._d.getTime());if(r&&(e=_e(t),n=d1.call(e.parsedDateParts,function(s){return s!=null}),r=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(r=r&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=r;else return r;return t._isValid}function Al(t){var e=nr(NaN);return t!=null?ns(_e(e),t):_e(e).userInvalidated=!0,e}var Y2=re.momentProperties=[],h1=!1;function f1(t,e){var n,r,s,i=Y2.length;if(Ut(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Ut(e._i)||(t._i=e._i),Ut(e._f)||(t._f=e._f),Ut(e._l)||(t._l=e._l),Ut(e._strict)||(t._strict=e._strict),Ut(e._tzm)||(t._tzm=e._tzm),Ut(e._isUTC)||(t._isUTC=e._isUTC),Ut(e._offset)||(t._offset=e._offset),Ut(e._pf)||(t._pf=_e(e)),Ut(e._locale)||(t._locale=e._locale),i>0)for(n=0;n<i;n++)r=Y2[n],s=e[r],Ut(s)||(t[r]=s);return t}function Ko(t){f1(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),h1===!1&&(h1=!0,re.updateOffset(this),h1=!1)}function Ln(t){return t instanceof Ko||t!=null&&t._isAMomentObject!=null}function W2(t){re.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function wn(t,e){var n=!0;return ns(function(){if(re.deprecationHandler!=null&&re.deprecationHandler(null,t),n){var r=[],s,i,a,l=arguments.length;for(i=0;i<l;i++){if(s="",typeof arguments[i]=="object"){s+=`
47
47
  [`+i+"] ";for(a in arguments[0])$e(arguments[0],a)&&(s+=a+": "+arguments[0][a]+", ");s=s.slice(0,-2)}else s=arguments[i];r.push(s)}W2(t+`
48
48
  Arguments: `+Array.prototype.slice.call(r).join("")+`
49
- `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var j2={};function Z2(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),j2[t]||(W2(e),j2[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function rr(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function XD(t){var e,n;for(n in t)$e(t,n)&&(e=t[n],rr(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function m1(t,e){var n=ns({},t),r;for(r in e)$e(e,r)&&(Is(t[r])&&Is(e[r])?(n[r]={},ns(n[r],t[r]),ns(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)$e(t,r)&&!$e(e,r)&&Is(t[r])&&(n[r]=ns({},n[r]));return n}function p1(t){t!=null&&this.set(t)}var g1;Object.keys?g1=Object.keys:g1=function(t){var e,n=[];for(e in t)$e(t,e)&&n.push(e);return n};var JD={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function QD(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return rr(r)?r.call(e,n):r}function sr(t,e,n){var r=""+Math.abs(t),s=e-r.length,i=t>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var _1=/(\[[^\[]*\])|(\\)?([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,Fl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,y1={},Ti={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(Ti[t]=s),e&&(Ti[e[0]]=function(){return sr(s.apply(this,arguments),e[1],e[2])}),n&&(Ti[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function eO(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function tO(t){var e=t.match(_1),n,r;for(n=0,r=e.length;n<r;n++)Ti[e[n]]?e[n]=Ti[e[n]]:e[n]=eO(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=rr(e[a])?e[a].call(s,t):e[a];return i}}function Rl(t,e){return t.isValid()?(e=U2(e,t.localeData()),y1[e]=y1[e]||tO(e),y1[e](t)):t.localeData().invalidDate()}function U2(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(Fl.lastIndex=0;n>=0&&Fl.test(t);)t=t.replace(Fl,r),Fl.lastIndex=0,n-=1;return t}var nO={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 rO(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(_1).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var sO="Invalid date";function iO(){return this._invalidDate}var oO="%d",aO=/\d{1,2}/;function lO(t){return this._ordinal.replace("%d",t)}var cO={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 dO(t,e,n,r){var s=this._relativeTime[n];return rr(s)?s(t,e,n,r):s.replace(/%d/i,t)}function uO(t,e){var n=this._relativeTime[t>0?"future":"past"];return rr(n)?n(e):n.replace(/%s/i,e)}var q2={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 bn(t){return typeof t=="string"?q2[t]||q2[t.toLowerCase()]:void 0}function w1(t){var e={},n,r;for(r in t)$e(t,r)&&(n=bn(r),n&&(e[n]=t[r]));return e}var hO={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 fO(t){var e=[],n;for(n in t)$e(t,n)&&e.push({unit:n,priority:hO[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var G2=/\d/,ln=/\d\d/,K2=/\d{3}/,b1=/\d{4}/,Il=/[+-]?\d{6}/,qe=/\d\d?/,X2=/\d\d\d\d?/,J2=/\d\d\d\d\d\d?/,Hl=/\d{1,3}/,k1=/\d{1,4}/,zl=/[+-]?\d{1,6}/,Di=/\d+/,Yl=/[+-]?\d+/,mO=/Z|[+-]\d\d:?\d\d/gi,Wl=/Z|[+-]\d\d(?::?\d\d)?/gi,pO=/[+-]?\d+(\.\d{1,3})?/,Xo=/[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,Oi=/^[1-9]\d?/,C1=/^([1-9]\d|\d)/,jl;jl={};function ie(t,e,n){jl[t]=rr(e)?e:function(r,s){return r&&n?n:e}}function gO(t,e){return $e(jl,t)?jl[t](e._strict,e._locale):new RegExp(_O(t))}function _O(t){return Cr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function Cr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=kn(e)),n}var x1={};function He(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),kr(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)x1[t[n]]=r}function Jo(t,e){He(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function yO(t,e,n){e!=null&&$e(x1,t)&&x1[t](e,n._a,n,t)}function Zl(t){return t%4===0&&t%100!==0||t%400===0}var Nt=0,xr=1,ir=2,xt=3,Vn=4,Mr=5,Hs=6,wO=7,bO=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?sr(t,4):"+"+t}),oe(0,["YY",2],0,function(){return this.year()%100}),oe(0,["YYYY",4],0,"year"),oe(0,["YYYYY",5],0,"year"),oe(0,["YYYYYY",6,!0],0,"year"),ie("Y",Yl),ie("YY",qe,ln),ie("YYYY",k1,b1),ie("YYYYY",zl,Il),ie("YYYYYY",zl,Il),He(["YYYYY","YYYYYY"],Nt),He("YYYY",function(t,e){e[Nt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),He("YY",function(t,e){e[Nt]=re.parseTwoDigitYear(t)}),He("Y",function(t,e){e[Nt]=parseInt(t,10)});function Qo(t){return Zl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var Q2=Ei("FullYear",!0);function kO(){return Zl(this.year())}function Ei(t,e){return function(n){return n!=null?(e3(this,t,n),re.updateOffset(this,e),this):ea(this,t)}}function ea(t,e){if(!t.isValid())return NaN;var n=t._d,r=t._isUTC;switch(e){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 e3(t,e,n){var r,s,i,a,l;if(!(!t.isValid()||isNaN(n))){switch(r=t._d,s=t._isUTC,e){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=t.month(),l=t.date(),l=l===29&&a===1&&!Zl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function CO(t){return t=bn(t),rr(this[t])?this[t]():this}function xO(t,e){if(typeof t=="object"){t=w1(t);var n=fO(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=bn(t),rr(this[t]))return this[t](e);return this}function MO(t,e){return(t%e+e)%e}var _t;Array.prototype.indexOf?_t=Array.prototype.indexOf:_t=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function M1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=MO(e,12);return t+=(e-n)/12,n===1?Zl(t)?29:28:31-n%7%2}oe("M",["MM",2],"Mo",function(){return this.month()+1}),oe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),oe("MMMM",0,0,function(t){return this.localeData().months(this,t)}),ie("M",qe,Oi),ie("MM",qe,ln),ie("MMM",function(t,e){return e.monthsShortRegex(t)}),ie("MMMM",function(t,e){return e.monthsRegex(t)}),He(["M","MM"],function(t,e){e[xr]=ke(t)-1}),He(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[xr]=s:_e(n).invalidMonth=t});var SO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),t3="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),n3=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vO=Xo,TO=Xo;function DO(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||n3).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function OO(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[n3.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function EO(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=nr([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=_t.call(this._shortMonthsParse,a),s!==-1?s:null):(s=_t.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=_t.call(this._shortMonthsParse,a),s!==-1?s:(s=_t.call(this._longMonthsParse,a),s!==-1?s:null)):(s=_t.call(this._longMonthsParse,a),s!==-1?s:(s=_t.call(this._shortMonthsParse,a),s!==-1?s:null))}function $O(t,e,n){var r,s,i;if(this._monthsParseExact)return EO.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=nr([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function r3(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!kr(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,M1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function s3(t){return t!=null?(r3(this,t),re.updateOffset(this,!0),this):ea(this,"Month")}function PO(){return M1(this.year(),this.month())}function LO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||i3.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):($e(this,"_monthsShortRegex")||(this._monthsShortRegex=vO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function VO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||i3.call(this),t?this._monthsStrictRegex:this._monthsRegex):($e(this,"_monthsRegex")||(this._monthsRegex=TO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function i3(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=nr([2e3,s]),a=Cr(this.monthsShort(i,"")),l=Cr(this.months(i,"")),e.push(a),n.push(l),r.push(l),r.push(a);e.sort(t),n.sort(t),r.sort(t),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function NO(t,e,n,r,s,i,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,s,i,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,s,i,a),l}function ta(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ul(t,e,n){var r=7+e-n,s=(7+ta(t,0,r).getUTCDay()-e)%7;return-s+r-1}function o3(t,e,n,r,s){var i=(7+n-r)%7,a=Ul(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Qo(c)+l):l>Qo(t)?(c=t+1,d=l-Qo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function na(t,e,n){var r=Ul(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+Sr(a,e,n)):s>Sr(t.year(),e,n)?(i=s-Sr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function Sr(t,e,n){var r=Ul(t,e,n),s=Ul(t+1,e,n);return(Qo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),ie("w",qe,Oi),ie("ww",qe,ln),ie("W",qe,Oi),ie("WW",qe,ln),Jo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function BO(t){return na(t,this._week.dow,this._week.doy).week}var AO={dow:0,doy:6};function FO(){return this._week.dow}function RO(){return this._week.doy}function IO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function HO(t){var e=na(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}oe("d",0,"do","day"),oe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),oe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),oe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),oe("e",0,0,"weekday"),oe("E",0,0,"isoWeekday"),ie("d",qe),ie("e",qe),ie("E",qe),ie("dd",function(t,e){return e.weekdaysMinRegex(t)}),ie("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ie("dddd",function(t,e){return e.weekdaysRegex(t)}),Jo(["dd","ddd","dddd"],function(t,e,n,r){var s=n._locale.weekdaysParse(t,r,n._strict);s!=null?e.d=s:_e(n).invalidWeekday=t}),Jo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function zO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function YO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function S1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var WO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),a3="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),jO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ZO=Xo,UO=Xo,qO=Xo;function GO(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?S1(n,this._week.dow):t?n[t.day()]:n}function KO(t){return t===!0?S1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function XO(t){return t===!0?S1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function JO(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=nr([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?e==="dddd"?(s=_t.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=_t.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=_t.call(this._weekdaysParse,a),s!==-1||(s=_t.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=_t.call(this._shortWeekdaysParse,a),s!==-1||(s=_t.call(this._weekdaysParse,a),s!==-1)?s:(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=_t.call(this._minWeekdaysParse,a),s!==-1||(s=_t.call(this._weekdaysParse,a),s!==-1)?s:(s=_t.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function QO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return JO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=nr([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function eE(t){if(!this.isValid())return t!=null?this:NaN;var e=ea(this,"Day");return t!=null?(t=zO(t,this.localeData()),this.add(t-e,"d")):e}function tE(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function nE(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=YO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function rE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):($e(this,"_weekdaysRegex")||(this._weekdaysRegex=ZO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function sE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=UO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function iE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function v1(){function t(u,h){return h.length-u.length}var e=[],n=[],r=[],s=[],i,a,l,c,d;for(i=0;i<7;i++)a=nr([2e3,1]).day(i),l=Cr(this.weekdaysMin(a,"")),c=Cr(this.weekdaysShort(a,"")),d=Cr(this.weekdays(a,"")),e.push(l),n.push(c),r.push(d),s.push(l),s.push(c),s.push(d);e.sort(t),n.sort(t),r.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function T1(){return this.hours()%12||12}function oE(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,T1),oe("k",["kk",2],0,oE),oe("hmm",0,0,function(){return""+T1.apply(this)+sr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+T1.apply(this)+sr(this.minutes(),2)+sr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+sr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+sr(this.minutes(),2)+sr(this.seconds(),2)});function l3(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}l3("a",!0),l3("A",!1);function c3(t,e){return e._meridiemParse}ie("a",c3),ie("A",c3),ie("H",qe,C1),ie("h",qe,Oi),ie("k",qe,Oi),ie("HH",qe,ln),ie("hh",qe,ln),ie("kk",qe,ln),ie("hmm",X2),ie("hmmss",J2),ie("Hmm",X2),ie("Hmmss",J2),He(["H","HH"],xt),He(["k","kk"],function(t,e,n){var r=ke(t);e[xt]=r===24?0:r}),He(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),He(["h","hh"],function(t,e,n){e[xt]=ke(t),_e(n).bigHour=!0}),He("hmm",function(t,e,n){var r=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r)),_e(n).bigHour=!0}),He("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[Mr]=ke(t.substr(s)),_e(n).bigHour=!0}),He("Hmm",function(t,e,n){var r=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r))}),He("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[Mr]=ke(t.substr(s))});function aE(t){return(t+"").toLowerCase().charAt(0)==="p"}var lE=/[ap]\.?m?\.?/i,cE=Ei("Hours",!0);function dE(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var d3={calendar:JD,longDateFormat:nO,invalidDate:sO,ordinal:oO,dayOfMonthOrdinalParse:aO,relativeTime:cO,months:SO,monthsShort:t3,week:AO,weekdays:WO,weekdaysMin:jO,weekdaysShort:a3,meridiemParse:lE},Je={},ra={},sa;function uE(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function u3(t){return t&&t.toLowerCase().replace("_","-")}function hE(t){for(var e=0,n,r,s,i;e<t.length;){for(i=u3(t[e]).split("-"),n=i.length,r=u3(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=ql(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&uE(i,r)>=n-1)break;n--}e++}return sa}function fE(t){return!!(t&&t.match("^[^/\\\\]*$"))}function ql(t){var e=null,n;if(Je[t]===void 0&&typeof module<"u"&&module&&module.exports&&fE(t))try{e=sa._abbr,n=require,n("./locale/"+t),rs(e)}catch{Je[t]=null}return Je[t]}function rs(t,e){var n;return t&&(Ut(e)?n=vr(t):n=D1(t,e),n?sa=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sa._abbr}function D1(t,e){if(e!==null){var n,r=d3;if(e.abbr=t,Je[t]!=null)Z2("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=Je[t]._config;else if(e.parentLocale!=null)if(Je[e.parentLocale]!=null)r=Je[e.parentLocale]._config;else if(n=ql(e.parentLocale),n!=null)r=n._config;else return ra[e.parentLocale]||(ra[e.parentLocale]=[]),ra[e.parentLocale].push({name:t,config:e}),null;return Je[t]=new p1(m1(r,e)),ra[t]&&ra[t].forEach(function(s){D1(s.name,s.config)}),rs(t),Je[t]}else return delete Je[t],null}function mE(t,e){if(e!=null){var n,r,s=d3;Je[t]!=null&&Je[t].parentLocale!=null?Je[t].set(m1(Je[t]._config,e)):(r=ql(t),r!=null&&(s=r._config),e=m1(s,e),r==null&&(e.abbr=t),n=new p1(e),n.parentLocale=Je[t],Je[t]=n),rs(t)}else Je[t]!=null&&(Je[t].parentLocale!=null?(Je[t]=Je[t].parentLocale,t===rs()&&rs(t)):Je[t]!=null&&delete Je[t]);return Je[t]}function vr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sa;if(!Pn(t)){if(e=ql(t),e)return e;t=[t]}return hE(t)}function pE(){return g1(Je)}function O1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[xr]<0||n[xr]>11?xr:n[ir]<1||n[ir]>M1(n[Nt],n[xr])?ir:n[xt]<0||n[xt]>24||n[xt]===24&&(n[Vn]!==0||n[Mr]!==0||n[Hs]!==0)?xt:n[Vn]<0||n[Vn]>59?Vn:n[Mr]<0||n[Mr]>59?Mr:n[Hs]<0||n[Hs]>999?Hs:-1,_e(t)._overflowDayOfYear&&(e<Nt||e>ir)&&(e=ir),_e(t)._overflowWeeks&&e===-1&&(e=wO),_e(t)._overflowWeekday&&e===-1&&(e=bO),_e(t).overflow=e),t}var gE=/^\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)?)?$/,_E=/^\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)?)?$/,yE=/Z|[+-]\d\d(?::?\d\d)?/,Gl=[["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]],E1=[["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/]],wE=/^\/?Date\((-?\d+)/i,bE=/^(?:(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}))$/,kE={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function h3(t){var e,n,r=t._i,s=gE.exec(r)||_E.exec(r),i,a,l,c,d=Gl.length,u=E1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Gl[e][1].exec(s[1])){a=Gl[e][0],i=Gl[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(E1[e][1].exec(s[3])){l=(s[2]||" ")+E1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(yE.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),P1(t)}else t._isValid=!1}function CE(t,e,n,r,s,i){var a=[xE(t),t3.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function xE(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ME(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function SE(t,e,n){if(t){var r=a3.indexOf(t),s=new Date(e[0],e[1],e[2]).getDay();if(r!==s)return _e(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function vE(t,e,n){if(t)return kE[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function f3(t){var e=bE.exec(ME(t._i)),n;if(e){if(n=CE(e[4],e[3],e[2],e[5],e[6],e[7]),!SE(e[1],n,t))return;t._a=n,t._tzm=vE(e[8],e[9],e[10]),t._d=ta.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function TE(t){var e=wE.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(h3(t),t._isValid===!1)delete t._isValid;else return;if(f3(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=wn("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function $i(t,e,n){return t??e??n}function DE(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function $1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=DE(t),t._w&&t._a[ir]==null&&t._a[xr]==null&&OE(t),t._dayOfYear!=null&&(a=$i(t._a[Nt],s[Nt]),(t._dayOfYear>Qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=ta(a,0,t._dayOfYear),t._a[xr]=n.getUTCMonth(),t._a[ir]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=s[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[xt]===24&&t._a[Vn]===0&&t._a[Mr]===0&&t._a[Hs]===0&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?ta:NO).apply(null,r),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function OE(t){var e,n,r,s,i,a,l,c,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,a=4,n=$i(e.GG,t._a[Nt],na(Ge(),1,4).year),r=$i(e.W,1),s=$i(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=na(Ge(),i,a),n=$i(e.gg,t._a[Nt],d.year),r=$i(e.w,d.week),e.d!=null?(s=e.d,(s<0||s>6)&&(c=!0)):e.e!=null?(s=e.e+i,(e.e<0||e.e>6)&&(c=!0)):s=i),r<1||r>Sr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=o3(n,r,s,i,a),t._a[Nt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function P1(t){if(t._f===re.ISO_8601){h3(t);return}if(t._f===re.RFC_2822){f3(t);return}t._a=[],_e(t).empty=!0;var e=""+t._i,n,r,s,i,a,l=e.length,c=0,d,u;for(s=U2(t._f,t._locale).match(_1)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(gO(i,t))||[])[0],r&&(a=e.substr(0,e.indexOf(r)),a.length>0&&_e(t).unusedInput.push(a),e=e.slice(e.indexOf(r)+r.length),c+=r.length),Ti[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),yO(i,r,t)):t._strict&&!r&&_e(t).unusedTokens.push(i);_e(t).charsLeftOver=l-c,e.length>0&&_e(t).unusedInput.push(e),t._a[xt]<=12&&_e(t).bigHour===!0&&t._a[xt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[xt]=EE(t._locale,t._a[xt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Nt]=t._locale.erasConvertYear(d,t._a[Nt])),$1(t),O1(t)}function EE(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function $E(t){var e,n,r,s,i,a,l=!1,c=t._f.length;if(c===0){_e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(s=0;s<c;s++)i=0,a=!1,e=f1({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],P1(e),u1(e)&&(a=!0),i+=_e(e).charsLeftOver,i+=_e(e).unusedTokens.length*10,_e(e).score=i,l?i<r&&(r=i,n=e):(r==null||i<r||a)&&(r=i,n=e,a&&(l=!0));ns(t,n||e)}function PE(t){if(!t._d){var e=w1(t._i),n=e.day===void 0?e.date:e.day;t._a=z2([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),$1(t)}}function LE(t){var e=new Ko(O1(m3(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function m3(t){var e=t._i,n=t._f;return t._locale=t._locale||vr(t._l),e===null||n===void 0&&e===""?Al({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new Ko(O1(e)):(Go(e)?t._d=e:Pn(n)?$E(t):n?P1(t):VE(t),u1(t)||(t._d=null),t))}function VE(t){var e=t._i;Ut(e)?t._d=new Date(re.now()):Go(e)?t._d=new Date(e.valueOf()):typeof e=="string"?TE(t):Pn(e)?(t._a=z2(e.slice(0),function(n){return parseInt(n,10)}),$1(t)):Is(e)?PE(t):kr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function p3(t,e,n,r,s){var i={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Is(t)&&c1(t)||Pn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=s,i._l=n,i._i=t,i._f=e,i._strict=r,LE(i)}function Ge(t,e,n,r){return p3(t,e,n,r,!1)}var NE=wn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ge.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Al()}),BE=wn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ge.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Al()});function g3(t,e){var n,r;if(e.length===1&&Pn(e[0])&&(e=e[0]),!e.length)return Ge();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function AE(){var t=[].slice.call(arguments,0);return g3("isBefore",t)}function FE(){var t=[].slice.call(arguments,0);return g3("isAfter",t)}var RE=function(){return Date.now?Date.now():+new Date},ia=["year","quarter","month","week","day","hour","minute","second","millisecond"];function IE(t){var e,n=!1,r,s=ia.length;for(e in t)if($e(t,e)&&!(_t.call(ia,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ia[r]]){if(n)return!1;parseFloat(t[ia[r]])!==ke(t[ia[r]])&&(n=!0)}return!0}function HE(){return this._isValid}function zE(){return Nn(NaN)}function Kl(t){var e=w1(t),n=e.year||0,r=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=IE(e),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+a+i*7,this._months=+s+r*3+n*12,this._data={},this._locale=vr(),this._bubble()}function Xl(t){return t instanceof Kl}function L1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function YE(t,e,n){var r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),i=0,a;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&ke(t[a])!==ke(e[a]))&&i++;return i+s}function _3(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+sr(~~(n/60),2)+e+sr(~~n%60,2)})}_3("Z",":"),_3("ZZ",""),ie("Z",Wl),ie("ZZ",Wl),He(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=V1(Wl,t)});var WE=/([\+\-]|\d\d)/gi;function V1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(WE)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function N1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Go(t)?t.valueOf():Ge(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):Ge(t).local()}function B1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function jE(t,e,n){var r=this._offset||0,s;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=V1(Wl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=B1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?k3(this,Nn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,re.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:B1(this)}function ZE(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function UE(t){return this.utcOffset(0,t)}function qE(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(B1(this),"m")),this}function GE(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=V1(mO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function KE(t){return this.isValid()?(t=t?Ge(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function XE(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function JE(){if(!Ut(this._isDSTShifted))return this._isDSTShifted;var t={},e;return f1(t,this),t=m3(t),t._a?(e=t._isUTC?nr(t._a):Ge(t._a),this._isDSTShifted=this.isValid()&&YE(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function QE(){return this.isValid()?!this._isUTC:!1}function e$(){return this.isValid()?this._isUTC:!1}function y3(){return this.isValid()?this._isUTC&&this._offset===0:!1}var t$=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,n$=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(t,e){var n=t,r=null,s,i,a;return Xl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:kr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=t$.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[ir])*s,h:ke(r[xt])*s,m:ke(r[Vn])*s,s:ke(r[Mr])*s,ms:ke(L1(r[Hs]*1e3))*s}):(r=n$.exec(t))?(s=r[1]==="-"?-1:1,n={y:zs(r[2],s),M:zs(r[3],s),w:zs(r[4],s),d:zs(r[5],s),h:zs(r[6],s),m:zs(r[7],s),s:zs(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=r$(Ge(n.from),Ge(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Kl(n),Xl(t)&&$e(t,"_locale")&&(i._locale=t._locale),Xl(t)&&$e(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Kl.prototype,Nn.invalid=zE;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function w3(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function r$(t,e){var n;return t.isValid()&&e.isValid()?(e=N1(e,t),t.isBefore(e)?n=w3(t,e):(n=w3(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function b3(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Z2(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Nn(n,r),k3(this,s,t),this}}function k3(t,e,n,r){var s=e._milliseconds,i=L1(e._days),a=L1(e._months);t.isValid()&&(r=r??!0,a&&r3(t,ea(t,"Month")+a*n),i&&e3(t,"Date",ea(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var s$=b3(1,"add"),i$=b3(-1,"subtract");function C3(t){return typeof t=="string"||t instanceof String}function o$(t){return Ln(t)||Go(t)||C3(t)||kr(t)||l$(t)||a$(t)||t===null||t===void 0}function a$(t){var e=Is(t)&&!c1(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,a=r.length;for(s=0;s<a;s+=1)i=r[s],n=n||$e(t,i);return e&&n}function l$(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!kr(r)&&C3(t)}).length===0),e&&n}function c$(t){var e=Is(t)&&!c1(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,i;for(s=0;s<r.length;s+=1)i=r[s],n=n||$e(t,i);return e&&n}function d$(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function u$(t,e){arguments.length===1&&(arguments[0]?o$(arguments[0])?(t=arguments[0],e=void 0):c$(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ge(),r=N1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(rr(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,Ge(n)))}function h$(){return new Ko(this)}function f$(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function m$(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function p$(t,e,n,r){var s=Ln(t)?t:Ge(t),i=Ln(e)?e:Ge(e);return this.isValid()&&s.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function g$(t,e){var n=Ln(t)?t:Ge(t),r;return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function _$(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function y$(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function w$(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=N1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=bn(e),e){case"year":i=Jl(this,r)/12;break;case"month":i=Jl(this,r);break;case"quarter":i=Jl(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-s)/864e5;break;case"week":i=(this-r-s)/6048e5;break;default:i=this-r}return n?i:kn(i)}function Jl(t,e){if(t.date()<e.date())return-Jl(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),s,i;return e-r<0?(s=t.clone().add(n-1,"months"),i=(e-r)/(r-s)):(s=t.clone().add(n+1,"months"),i=(e-r)/(s-r)),-(n+i)||0}re.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",re.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function b$(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function k$(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Rl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):rr(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Rl(n,"Z")):Rl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function C$(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,s,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(n+r+s+i)}function x$(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Rl(this,t);return this.localeData().postformat(e)}function M$(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||Ge(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function S$(t){return this.from(Ge(),t)}function v$(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||Ge(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function T$(t){return this.to(Ge(),t)}function x3(t){var e;return t===void 0?this._locale._abbr:(e=vr(t),e!=null&&(this._locale=e),this)}var M3=wn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function S3(){return this._locale}var Ql=1e3,Pi=60*Ql,ec=60*Pi,v3=(365*400+97)*24*ec;function Li(t,e){return(t%e+e)%e}function T3(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-v3:new Date(t,e,n).valueOf()}function D3(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-v3:Date.UTC(t,e,n)}function D$(t){var e,n;if(t=bn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?D3:T3,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Li(e+(this._isUTC?0:this.utcOffset()*Pi),ec);break;case"minute":e=this._d.valueOf(),e-=Li(e,Pi);break;case"second":e=this._d.valueOf(),e-=Li(e,Ql);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function O$(t){var e,n;if(t=bn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?D3:T3,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ec-Li(e+(this._isUTC?0:this.utcOffset()*Pi),ec)-1;break;case"minute":e=this._d.valueOf(),e+=Pi-Li(e,Pi)-1;break;case"second":e=this._d.valueOf(),e+=Ql-Li(e,Ql)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function E$(){return this._d.valueOf()-(this._offset||0)*6e4}function $$(){return Math.floor(this.valueOf()/1e3)}function P$(){return new Date(this.valueOf())}function L$(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function V$(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function N$(){return this.isValid()?this.toISOString():null}function B$(){return u1(this)}function A$(){return ns({},_e(this))}function F$(){return _e(this).overflow}function R$(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}oe("N",0,0,"eraAbbr"),oe("NN",0,0,"eraAbbr"),oe("NNN",0,0,"eraAbbr"),oe("NNNN",0,0,"eraName"),oe("NNNNN",0,0,"eraNarrow"),oe("y",["y",1],"yo","eraYear"),oe("y",["yy",2],0,"eraYear"),oe("y",["yyy",3],0,"eraYear"),oe("y",["yyyy",4],0,"eraYear"),ie("N",A1),ie("NN",A1),ie("NNN",A1),ie("NNNN",K$),ie("NNNNN",X$),He(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var s=n._locale.erasParse(t,r,n._strict);s?_e(n).era=s:_e(n).invalidEra=t}),ie("y",Di),ie("yy",Di),ie("yyy",Di),ie("yyyy",Di),ie("yo",J$),He(["y","yy","yyy","yyyy"],Nt),He(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Nt]=n._locale.eraYearOrdinalParse(t,s):e[Nt]=parseInt(t,10)});function I$(t,e){var n,r,s,i=this._eras||vr("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=re(i[n].since).startOf("day"),i[n].since=s.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=re(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf();break}}return i}function H$(t,e,n){var r,s,i=this.eras(),a,l,c;for(t=t.toUpperCase(),r=0,s=i.length;r<s;++r)if(a=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),c=i[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return i[r];break;case"NNNN":if(a===t)return i[r];break;case"NNNNN":if(c===t)return i[r];break}else if([a,l,c].indexOf(t)>=0)return i[r]}function z$(t,e){var n=t.since<=t.until?1:-1;return e===void 0?re(t.since).year():re(t.since).year()+(e-t.offset)*n}function Y$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function W$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function j$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function Z$(){var t,e,n,r,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-re(s[t].since).year())*n+s[t].offset;return this.year()}function U$(t){return $e(this,"_erasNameRegex")||F1.call(this),t?this._erasNameRegex:this._erasRegex}function q$(t){return $e(this,"_erasAbbrRegex")||F1.call(this),t?this._erasAbbrRegex:this._erasRegex}function G$(t){return $e(this,"_erasNarrowRegex")||F1.call(this),t?this._erasNarrowRegex:this._erasRegex}function A1(t,e){return e.erasAbbrRegex(t)}function K$(t,e){return e.erasNameRegex(t)}function X$(t,e){return e.erasNarrowRegex(t)}function J$(t,e){return e._eraYearOrdinalRegex||Di}function F1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=Cr(d[s].name),l=Cr(d[s].abbr),c=Cr(d[s].narrow),e.push(a),t.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}oe(0,["gg",2],0,function(){return this.weekYear()%100}),oe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function tc(t,e){oe(0,[t,t.length],0,e)}tc("gggg","weekYear"),tc("ggggg","weekYear"),tc("GGGG","isoWeekYear"),tc("GGGGG","isoWeekYear"),ie("G",Yl),ie("g",Yl),ie("GG",qe,ln),ie("gg",qe,ln),ie("GGGG",k1,b1),ie("gggg",k1,b1),ie("GGGGG",zl,Il),ie("ggggg",zl,Il),Jo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Jo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function Q$(t){return O3.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function eP(t){return O3.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function tP(){return Sr(this.year(),1,4)}function nP(){return Sr(this.isoWeekYear(),1,4)}function rP(){var t=this.localeData()._week;return Sr(this.year(),t.dow,t.doy)}function sP(){var t=this.localeData()._week;return Sr(this.weekYear(),t.dow,t.doy)}function O3(t,e,n,r,s){var i;return t==null?na(this,r,s).year:(i=Sr(t,r,s),e>i&&(e=i),iP.call(this,t,e,n,r,s))}function iP(t,e,n,r,s){var i=o3(t,e,n,r,s),a=ta(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}oe("Q",0,"Qo","quarter"),ie("Q",G2),He("Q",function(t,e){e[xr]=(ke(t)-1)*3});function oP(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}oe("D",["DD",2],"Do","date"),ie("D",qe,Oi),ie("DD",qe,ln),ie("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),He(["D","DD"],ir),He("Do",function(t,e){e[ir]=ke(t.match(qe)[0])});var E3=Ei("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),ie("DDD",Hl),ie("DDDD",K2),He(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function aP(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}oe("m",["mm",2],0,"minute"),ie("m",qe,C1),ie("mm",qe,ln),He(["m","mm"],Vn);var lP=Ei("Minutes",!1);oe("s",["ss",2],0,"second"),ie("s",qe,C1),ie("ss",qe,ln),He(["s","ss"],Mr);var cP=Ei("Seconds",!1);oe("S",0,0,function(){return~~(this.millisecond()/100)}),oe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),oe(0,["SSS",3],0,"millisecond"),oe(0,["SSSS",4],0,function(){return this.millisecond()*10}),oe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),oe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),oe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),oe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),oe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ie("S",Hl,G2),ie("SS",Hl,ln),ie("SSS",Hl,K2);var ss,$3;for(ss="SSSS";ss.length<=9;ss+="S")ie(ss,Di);function dP(t,e){e[Hs]=ke(("0."+t)*1e3)}for(ss="S";ss.length<=9;ss+="S")He(ss,dP);$3=Ei("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function uP(){return this._isUTC?"UTC":""}function hP(){return this._isUTC?"Coordinated Universal Time":""}var J=Ko.prototype;J.add=s$,J.calendar=u$,J.clone=h$,J.diff=w$,J.endOf=O$,J.format=x$,J.from=M$,J.fromNow=S$,J.to=v$,J.toNow=T$,J.get=CO,J.invalidAt=F$,J.isAfter=f$,J.isBefore=m$,J.isBetween=p$,J.isSame=g$,J.isSameOrAfter=_$,J.isSameOrBefore=y$,J.isValid=B$,J.lang=M3,J.locale=x3,J.localeData=S3,J.max=BE,J.min=NE,J.parsingFlags=A$,J.set=xO,J.startOf=D$,J.subtract=i$,J.toArray=L$,J.toObject=V$,J.toDate=P$,J.toISOString=k$,J.inspect=C$,typeof Symbol<"u"&&Symbol.for!=null&&(J[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),J.toJSON=N$,J.toString=b$,J.unix=$$,J.valueOf=E$,J.creationData=R$,J.eraName=Y$,J.eraNarrow=W$,J.eraAbbr=j$,J.eraYear=Z$,J.year=Q2,J.isLeapYear=kO,J.weekYear=Q$,J.isoWeekYear=eP,J.quarter=J.quarters=oP,J.month=s3,J.daysInMonth=PO,J.week=J.weeks=IO,J.isoWeek=J.isoWeeks=HO,J.weeksInYear=rP,J.weeksInWeekYear=sP,J.isoWeeksInYear=tP,J.isoWeeksInISOWeekYear=nP,J.date=E3,J.day=J.days=eE,J.weekday=tE,J.isoWeekday=nE,J.dayOfYear=aP,J.hour=J.hours=cE,J.minute=J.minutes=lP,J.second=J.seconds=cP,J.millisecond=J.milliseconds=$3,J.utcOffset=jE,J.utc=UE,J.local=qE,J.parseZone=GE,J.hasAlignedHourOffset=KE,J.isDST=XE,J.isLocal=QE,J.isUtcOffset=e$,J.isUtc=y3,J.isUTC=y3,J.zoneAbbr=uP,J.zoneName=hP,J.dates=wn("dates accessor is deprecated. Use date instead.",E3),J.months=wn("months accessor is deprecated. Use month instead",s3),J.years=wn("years accessor is deprecated. Use year instead",Q2),J.zone=wn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ZE),J.isDSTShifted=wn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",JE);function fP(t){return Ge(t*1e3)}function mP(){return Ge.apply(null,arguments).parseZone()}function P3(t){return t}var Pe=p1.prototype;Pe.calendar=QD,Pe.longDateFormat=rO,Pe.invalidDate=iO,Pe.ordinal=lO,Pe.preparse=P3,Pe.postformat=P3,Pe.relativeTime=dO,Pe.pastFuture=uO,Pe.set=XD,Pe.eras=I$,Pe.erasParse=H$,Pe.erasConvertYear=z$,Pe.erasAbbrRegex=q$,Pe.erasNameRegex=U$,Pe.erasNarrowRegex=G$,Pe.months=DO,Pe.monthsShort=OO,Pe.monthsParse=$O,Pe.monthsRegex=VO,Pe.monthsShortRegex=LO,Pe.week=BO,Pe.firstDayOfYear=RO,Pe.firstDayOfWeek=FO,Pe.weekdays=GO,Pe.weekdaysMin=XO,Pe.weekdaysShort=KO,Pe.weekdaysParse=QO,Pe.weekdaysRegex=rE,Pe.weekdaysShortRegex=sE,Pe.weekdaysMinRegex=iE,Pe.isPM=aE,Pe.meridiem=dE;function nc(t,e,n,r){var s=vr(),i=nr().set(r,e);return s[n](i,t)}function L3(t,e,n){if(kr(t)&&(e=t,t=void 0),t=t||"",e!=null)return nc(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=nc(t,r,n,"month");return s}function R1(t,e,n,r){typeof t=="boolean"?(kr(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,kr(e)&&(n=e,e=void 0),e=e||"");var s=vr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return nc(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=nc(e,(a+i)%7,r,"day");return l}function pP(t,e){return L3(t,e,"months")}function gP(t,e){return L3(t,e,"monthsShort")}function _P(t,e,n){return R1(t,e,n,"weekdays")}function yP(t,e,n){return R1(t,e,n,"weekdaysShort")}function wP(t,e,n){return R1(t,e,n,"weekdaysMin")}rs("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(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),re.lang=wn("moment.lang is deprecated. Use moment.locale instead.",rs),re.langData=wn("moment.langData is deprecated. Use moment.localeData instead.",vr);var Tr=Math.abs;function bP(){var t=this._data;return this._milliseconds=Tr(this._milliseconds),this._days=Tr(this._days),this._months=Tr(this._months),t.milliseconds=Tr(t.milliseconds),t.seconds=Tr(t.seconds),t.minutes=Tr(t.minutes),t.hours=Tr(t.hours),t.months=Tr(t.months),t.years=Tr(t.years),this}function V3(t,e,n,r){var s=Nn(e,n);return t._milliseconds+=r*s._milliseconds,t._days+=r*s._days,t._months+=r*s._months,t._bubble()}function kP(t,e){return V3(this,t,e,1)}function CP(t,e){return V3(this,t,e,-1)}function N3(t){return t<0?Math.floor(t):Math.ceil(t)}function xP(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,s,i,a,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=N3(I1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=kn(t/1e3),r.seconds=s%60,i=kn(s/60),r.minutes=i%60,a=kn(i/60),r.hours=a%24,e+=kn(a/24),c=kn(B3(e)),n+=c,e-=N3(I1(c)),l=kn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function B3(t){return t*4800/146097}function I1(t){return t*146097/4800}function MP(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=bn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+B3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(I1(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function Dr(t){return function(){return this.as(t)}}var A3=Dr("ms"),SP=Dr("s"),vP=Dr("m"),TP=Dr("h"),DP=Dr("d"),OP=Dr("w"),EP=Dr("M"),$P=Dr("Q"),PP=Dr("y"),LP=A3;function VP(){return Nn(this)}function NP(t){return t=bn(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var BP=Ys("milliseconds"),AP=Ys("seconds"),FP=Ys("minutes"),RP=Ys("hours"),IP=Ys("days"),HP=Ys("months"),zP=Ys("years");function YP(){return kn(this.days()/7)}var Or=Math.round,Vi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function WP(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function jP(t,e,n,r){var s=Nn(t).abs(),i=Or(s.as("s")),a=Or(s.as("m")),l=Or(s.as("h")),c=Or(s.as("d")),d=Or(s.as("M")),u=Or(s.as("w")),h=Or(s.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||d<=1&&["M"]||d<n.M&&["MM",d]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,f[4]=r,WP.apply(null,f)}function ZP(t){return t===void 0?Or:typeof t=="function"?(Or=t,!0):!1}function UP(t,e){return Vi[t]===void 0?!1:e===void 0?Vi[t]:(Vi[t]=e,t==="s"&&(Vi.ss=e-1),!0)}function qP(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Vi,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Vi,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=jP(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var H1=Math.abs;function Ni(t){return(t>0)-(t<0)||+t}function rc(){if(!this.isValid())return this.localeData().invalidDate();var t=H1(this._milliseconds)/1e3,e=H1(this._days),n=H1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=kn(t/60),s=kn(r/60),t%=60,r%=60,i=kn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Ni(this._months)!==Ni(l)?"-":"",u=Ni(this._days)!==Ni(l)?"-":"",h=Ni(this._milliseconds)!==Ni(l)?"-":"",c+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(e?u+e+"D":"")+(s||r||t?"T":"")+(s?h+s+"H":"")+(r?h+r+"M":"")+(t?h+a+"S":"")):"P0D"}var De=Kl.prototype;De.isValid=HE,De.abs=bP,De.add=kP,De.subtract=CP,De.as=MP,De.asMilliseconds=A3,De.asSeconds=SP,De.asMinutes=vP,De.asHours=TP,De.asDays=DP,De.asWeeks=OP,De.asMonths=EP,De.asQuarters=$P,De.asYears=PP,De.valueOf=LP,De._bubble=xP,De.clone=VP,De.get=NP,De.milliseconds=BP,De.seconds=AP,De.minutes=FP,De.hours=RP,De.days=IP,De.weeks=YP,De.months=HP,De.years=zP,De.humanize=qP,De.toISOString=rc,De.toString=rc,De.toJSON=rc,De.locale=x3,De.localeData=S3,De.toIsoString=wn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rc),De.lang=M3,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),ie("x",Yl),ie("X",pO),He("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),He("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
50
- re.version="2.30.1",GD(Ge),re.fn=J,re.min=AE,re.max=FE,re.now=RE,re.utc=nr,re.unix=fP,re.months=pP,re.isDate=Go,re.locale=rs,re.invalid=Al,re.duration=Nn,re.isMoment=Ln,re.weekdays=_P,re.parseZone=mP,re.localeData=vr,re.isDuration=Xl,re.monthsShort=gP,re.weekdaysMin=wP,re.defineLocale=D1,re.updateLocale=mE,re.locales=pE,re.weekdaysShort=yP,re.normalizeUnits=bn,re.relativeTimeRounding=ZP,re.relativeTimeThreshold=UP,re.calendarFormat=d$,re.prototype=J,re.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"};const GP={class:"calendar-dropdown"},KP={class:"calendar-dropdown__outer__left"},XP={class:"calendar-dropdown__outer__current"},JP={key:0,class:"calendar-dropdown__inner"},QP={class:"calendar-dropdown__year-switcher"},eL={class:"calendar-dropdown__year-switcher__year"},tL={class:"calendar-dropdown__months"},nL={class:"calendar-dropdown__month-container"},rL=["onClick"],F3=Oe({__name:"CalendarDropdown",props:o.mergeModels({currentDate:{type:Date}},{year:{},yearModifiers:{},month:{},monthModifiers:{}}),emits:o.mergeModels("onChange",["update:year","update:month"]),setup(t,{emit:e}){const n=e,r=t,s=o.useModel(t,"year"),i=o.useModel(t,"month"),a=re.months(),l=o.ref(!1),c=()=>{l.value=!l.value},d=f=>s.value===r.currentDate.getFullYear()&&f===r.currentDate.getMonth(),u=f=>s.value<r.currentDate.getFullYear()||s.value===r.currentDate.getFullYear()&&f<r.currentDate.getMonth(),h=f=>{n("onChange",{month:f,year:s.value}),c()};return(f,m)=>(o.openBlock(),o.createElementBlock("div",GP,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",KP,[o.createVNode(o.unref(Le),{icon:"calendar"}),o.createElementVNode("span",XP,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Le),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",JP,[o.createElementVNode("div",QP,[o.createVNode(o.unref(ya),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",eL,o.toDisplayString(s.value),1),o.createVNode(o.unref(ya),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",tL,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",nL,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,rL)]))),256))])])),[[o.unref(R2),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),sL={class:"period-dropdown"},iL={class:"period-dropdown__outer__left"},oL={class:"period-dropdown__outer__current"},aL={key:0,class:"period-dropdown__inner"},lL=["onClick"],Ws=Oe({__name:"PeriodDropdown",props:{modelValue:{},modelModifiers:{}},emits:o.mergeModels("onChange",["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue",{get(c){return s.find(d=>d.id===c)}}),s=[{name:"7 days",short:"7d",id:"week"},{name:"Month",short:"30d",id:"month"},{name:"Quarter",short:"90d",id:"quarter"},{name:"All time",short:"All",id:"all"}],i=o.ref(!1),a=()=>{i.value=!i.value},l=c=>{r.value=c,n("onChange"),a()};return(c,d)=>(o.openBlock(),o.createElementBlock("div",sL,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",iL,[o.createVNode(o.unref(Le),{icon:"clock"}),o.createElementVNode("span",oL,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Le),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",aL,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(s,u=>o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__option",{"-active":u.id===r.value.id}]),onClick:h=>l(u.id)},[o.createTextVNode(o.toDisplayString(u.name)+" ",1),u.id===r.value.id?(o.openBlock(),o.createBlock(o.unref(Le),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,lL)),64))])),[[o.unref(R2),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),cL={class:"progress-line-container"},dL={class:"progress-line"},uL={class:"progress-line__part"},hL={class:"progress-digits"},fL={class:"progress-digits__value"},mL={class:"progress-digits__value"},pL={class:"progress-digits__value"},R3=Oe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean,isHidden:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Et(e.currentProfit/e.profit*100):e.currentProfit<0?Et(e.currentProfit/e.drawdown*100):0),r=a=>{if(!e.profit||!e.currentProfit)return 0;if(a>4){const l=a-5,c=25*l,d=25*(l+1);return n.value>d?100:n.value<c?0:(n.value-c)*4}else{const l=100-25*a,c=100-25*(a-1);return-n.value>c?100:-n.value<l?0:(-n.value-l)*4}},s=a=>{const l=e.currentProfit>0?a-1:a;return a===5?e.currentProfit!==0:r(l)===100},i=o.computed(()=>Math.abs(n.value)>100?n.value<0?"0%":"calc(100% - 88px)":e.currentProfit>0?`calc(${50+n.value/2}% - 88px)`:e.currentProfit<0?50+n.value/2+"%":"50%");return(a,l)=>(o.openBlock(),o.createElementBlock("div",cL,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(o.unref(Me)(t.isHidden,`${n.value}% finished`,{repeat:6})),5),o.createElementVNode("div",dL,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",uL,[o.createElementVNode("div",{class:o.normalizeClass(["progress-line__dot",{"-positive":s(c)}])},null,2),c!==9?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["progress-line__line",{"-negative-line":c<5}])},[o.createElementVNode("div",{class:"progress-line__progress",style:o.normalizeStyle({width:`${r(c)}%`})},null,4)],2)):o.createCommentVNode("",!0)])),64))]),o.createElementVNode("div",hL,[o.createElementVNode("div",fL,o.toDisplayString(o.unref(Me)(t.isHidden,`-${o.unref(Ke)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1),o.createElementVNode("div",mL,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Ke)(0,{isPercentage:t.isPercentage,isFixed:!0}),{repeat:3})),1),o.createElementVNode("div",pL,o.toDisplayString(o.unref(Me)(t.isHidden,`+${o.unref(Ke)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1)])]))}},[["__scopeId","data-v-e13b9e44"]]),gL={class:"widget-chips__text"},sc=Oe({__name:"WidgetChips",props:{delta:Number,isHidden:Boolean,percentage:Boolean,isNegative:Boolean,isPositive:Boolean},setup(t){const e=t;return(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["widget-chips",t.delta>0&&!t.isNegative||t.isPositive?"-positive":"-negative"])},[o.createVNode(o.unref(Le),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",gL,o.toDisplayString(o.unref(Me)(t.isHidden,Math.abs(e.delta)+(e.percentage?"%":""))),1)],2))}},[["__scopeId","data-v-394e7016"]]),ic=Co.create({baseURL:`${rt.getItem("API_URL")||"https://api.scope360.io"}/`}),_L=async()=>{try{const t=rt.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await Co.post(`${rt.getItem("API_URL")||"https://api.scope360.io"}/refresh`,{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return rt.setItem("access_token",n,r),rt.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),rt.removeItem("access_token"),rt.removeItem("refresh_token"),rt.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}throw t}},yL=t=>rt.getItem("isOAuth")?t:"Bearer "+t;ic.interceptors.request.use(async t=>{const e=rt.getItem("access_token");return t.headers={Accept:"application/json"},rt.getItem("access_token")&&(t.headers.Authorization=yL(e)),t},t=>{Promise.reject(t)}),ic.interceptors.response.use(t=>t,async function(t){try{const e=t.config;if(t.response.status===401&&!e._retry){e._retry=!0;const n=await _L();return Co.defaults.headers.common.Authorization="Bearer "+n,ic(e)}else return Promise.reject(t)}catch{if(rt.removeItem("access_token"),rt.removeItem("refresh_token"),rt.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}return Promise.reject(t)}});const wL={apiKey:"AIzaSyB_Ld2DPvpUNvAUB5zRFVewb1E3NOwZ56I",authDomain:"scope360-384414.firebaseapp.com",projectId:"scope360-384414",storageBucket:"scope360-384414.appspot.com",messagingSenderId:"642994439819",appId:"1:642994439819:web:963368ff44bab507a6368e",measurementId:"G-BGYS3877GQ"};class js extends Error{}class bL extends js{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class kL extends js{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class CL extends js{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Bi extends js{}class I3 extends js{constructor(e){super(`Invalid unit ${e}`)}}class qt extends js{}class is extends js{constructor(){super("Zone is an abstract class")}}const ne="numeric",Bn="short",cn="long",oc={year:ne,month:ne,day:ne},H3={year:ne,month:Bn,day:ne},xL={year:ne,month:Bn,day:ne,weekday:Bn},z3={year:ne,month:cn,day:ne},Y3={year:ne,month:cn,day:ne,weekday:cn},W3={hour:ne,minute:ne},j3={hour:ne,minute:ne,second:ne},Z3={hour:ne,minute:ne,second:ne,timeZoneName:Bn},U3={hour:ne,minute:ne,second:ne,timeZoneName:cn},q3={hour:ne,minute:ne,hourCycle:"h23"},G3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},K3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Bn},X3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:cn},J3={year:ne,month:ne,day:ne,hour:ne,minute:ne},Q3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},eg={year:ne,month:Bn,day:ne,hour:ne,minute:ne},tg={year:ne,month:Bn,day:ne,hour:ne,minute:ne,second:ne},ML={year:ne,month:Bn,day:ne,weekday:Bn,hour:ne,minute:ne},ng={year:ne,month:cn,day:ne,hour:ne,minute:ne,timeZoneName:Bn},rg={year:ne,month:cn,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Bn},sg={year:ne,month:cn,day:ne,weekday:cn,hour:ne,minute:ne,timeZoneName:cn},ig={year:ne,month:cn,day:ne,weekday:cn,hour:ne,minute:ne,second:ne,timeZoneName:cn};class oa{get type(){throw new is}get name(){throw new is}get ianaName(){return this.name}get isUniversal(){throw new is}offsetName(e,n){throw new is}formatOffset(e,n){throw new is}offset(e){throw new is}equals(e){throw new is}get isValid(){throw new is}}let z1=null;class ac extends oa{static get instance(){return z1===null&&(z1=new ac),z1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Og(e,n,r)}formatOffset(e,n){return da(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let lc={};function SL(t){return lc[t]||(lc[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),lc[t]}const vL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function TL(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,l,c,d,u]=r;return[a,s,i,l,c,d,u]}function DL(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=vL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let cc={};class Er extends oa{static create(e){return cc[e]||(cc[e]=new Er(e)),cc[e]}static resetCache(){cc={},lc={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Er.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Og(e,n,r,this.name)}formatOffset(e,n){return da(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=SL(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?DL(r,n):TL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=mc({year:s,month:i,day:a,hour:c===24?0:c,minute:d,second:u,millisecond:0});let m=+n;const g=m%1e3;return m-=g>=0?g:1e3+g,(f-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let og={};function OL(t,e={}){const n=JSON.stringify([t,e]);let r=og[n];return r||(r=new Intl.ListFormat(t,e),og[n]=r),r}let Y1={};function W1(t,e={}){const n=JSON.stringify([t,e]);let r=Y1[n];return r||(r=new Intl.DateTimeFormat(t,e),Y1[n]=r),r}let j1={};function EL(t,e={}){const n=JSON.stringify([t,e]);let r=j1[n];return r||(r=new Intl.NumberFormat(t,e),j1[n]=r),r}let Z1={};function $L(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=Z1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),Z1[s]=i),i}let aa=null;function PL(){return aa||(aa=new Intl.DateTimeFormat().resolvedOptions().locale,aa)}let ag={};function LL(t){let e=ag[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,ag[t]=e}return e}function VL(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let r,s;try{r=W1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=W1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function NL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function BL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function AL(t){const e=[];for(let n=1;n<=7;n++){const r=pe.utc(2016,11,13+n);e.push(t(r))}return e}function dc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function FL(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class RL{constructor(e,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...a}=r;if(!n||Object.keys(a).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=EL(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):Q1(e,3);return kt(n,this.padTo)}}}class IL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Er.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=W1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class HL{constructor(e,n,r){this.opts={style:"long",...r},!n&&Sg()&&(this.rtf=$L(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):aV(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const zL={firstDay:1,minimalDays:4,weekend:[6,7]};class ze{static fromOpts(e){return ze.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,s,i=!1){const a=e||yt.defaultLocale,l=a||(i?"en-US":PL()),c=n||yt.defaultNumberingSystem,d=r||yt.defaultOutputCalendar,u=X1(s)||yt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){aa=null,Y1={},j1={},Z1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return ze.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=VL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=NL(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=FL(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:ze.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,X1(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return dc(this,e,Pg,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=BL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return dc(this,e,Ng,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=n?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=AL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return dc(this,void 0,()=>Bg,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[pe.utc(2016,11,13,9),pe.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return dc(this,e,Ag,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[pe.utc(-40,1,1),pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[e]})}extract(e,n,r){const s=this.dtFormatter(e,n),i=s.formatToParts(),a=i.find(l=>l.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new RL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new IL(e,this.intl,n)}relFormatter(e={}){return new HL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return OL(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vg()?LL(this.locale):zL}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let U1=null;class Ft extends oa{static get utcInstance(){return U1===null&&(U1=new Ft(0)),U1}static instance(e){return e===0?Ft.utcInstance:new Ft(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Ft(pc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${da(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${da(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return da(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class YL extends oa{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function os(t,e){if(me(t)||t===null)return e;if(t instanceof oa)return t;if(ZL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ac.instance:n==="utc"||n==="gmt"?Ft.utcInstance:Ft.parseSpecifier(n)||Er.create(t)}else return Zs(t)?Ft.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new YL(t)}let lg=()=>Date.now(),cg="system",dg=null,ug=null,hg=null,fg=60,mg,pg=null;class yt{static get now(){return lg}static set now(e){lg=e}static set defaultZone(e){cg=e}static get defaultZone(){return os(cg,ac.instance)}static get defaultLocale(){return dg}static set defaultLocale(e){dg=e}static get defaultNumberingSystem(){return ug}static set defaultNumberingSystem(e){ug=e}static get defaultOutputCalendar(){return hg}static set defaultOutputCalendar(e){hg=e}static get defaultWeekSettings(){return pg}static set defaultWeekSettings(e){pg=X1(e)}static get twoDigitCutoffYear(){return fg}static set twoDigitCutoffYear(e){fg=e%100}static get throwOnInvalid(){return mg}static set throwOnInvalid(e){mg=e}static resetCaches(){ze.resetCache(),Er.resetCache()}}class An{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gg=[0,31,59,90,120,151,181,212,243,273,304,334],_g=[0,31,60,91,121,152,182,213,244,274,305,335];function Cn(t,e){return new An("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function q1(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function yg(t,e,n){return n+(la(t)?_g:gg)[e-1]}function wg(t,e){const n=la(t)?_g:gg,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function G1(t,e){return(t-e+7)%7+1}function uc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=yg(r,s,i),l=G1(q1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=ca(d,e,n)):c>ca(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,..._c(t)}}function bg(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=G1(q1(r,1,e),n),l=Fi(r);let c=s*7+i-a-7+e,d;c<1?(d=r-1,c+=Fi(d)):c>l?(d=r+1,c-=Fi(r)):d=r;const{month:u,day:h}=wg(d,c);return{year:d,month:u,day:h,..._c(t)}}function K1(t){const{year:e,month:n,day:r}=t,s=yg(e,n,r);return{year:e,ordinal:s,..._c(t)}}function kg(t){const{year:e,ordinal:n}=t,{month:r,day:s}=wg(e,n);return{year:e,month:r,day:s,..._c(t)}}function Cg(t,e){if(!me(t.localWeekday)||!me(t.localWeekNumber)||!me(t.localWeekYear)){if(!me(t.weekday)||!me(t.weekNumber)||!me(t.weekYear))throw new Bi("Cannot mix locale-based week fields with ISO-based week fields");return me(t.localWeekday)||(t.weekday=t.localWeekday),me(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),me(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function WL(t,e=4,n=1){const r=hc(t.weekYear),s=xn(t.weekNumber,1,ca(t.weekYear,e,n)),i=xn(t.weekday,1,7);return r?s?i?!1:Cn("weekday",t.weekday):Cn("week",t.weekNumber):Cn("weekYear",t.weekYear)}function jL(t){const e=hc(t.year),n=xn(t.ordinal,1,Fi(t.year));return e?n?!1:Cn("ordinal",t.ordinal):Cn("year",t.year)}function xg(t){const e=hc(t.year),n=xn(t.month,1,12),r=xn(t.day,1,fc(t.year,t.month));return e?n?r?!1:Cn("day",t.day):Cn("month",t.month):Cn("year",t.year)}function Mg(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=xn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=xn(n,0,59),l=xn(r,0,59),c=xn(s,0,999);return i?a?l?c?!1:Cn("millisecond",s):Cn("second",r):Cn("minute",n):Cn("hour",e)}function me(t){return typeof t>"u"}function Zs(t){return typeof t=="number"}function hc(t){return typeof t=="number"&&t%1===0}function ZL(t){return typeof t=="string"}function UL(t){return Object.prototype.toString.call(t)==="[object Date]"}function Sg(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function vg(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function qL(t){return Array.isArray(t)?t:[t]}function Tg(t,e,n){if(t.length!==0)return t.reduce((r,s)=>{const i=[e(s),s];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function GL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Ai(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function X1(t){if(t==null)return null;if(typeof t!="object")throw new qt("Week settings must be an object");if(!xn(t.firstDay,1,7)||!xn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!xn(e,1,7)))throw new qt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function xn(t,e,n){return hc(t)&&t>=e&&t<=n}function KL(t,e){return t-e*Math.floor(t/e)}function kt(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function as(t){if(!(me(t)||t===null||t===""))return parseInt(t,10)}function Us(t){if(!(me(t)||t===null||t===""))return parseFloat(t)}function J1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Q1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function la(t){return t%4===0&&(t%100!==0||t%400===0)}function Fi(t){return la(t)?366:365}function fc(t,e){const n=KL(e-1,12)+1,r=t+(e-n)/12;return n===2?la(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function mc(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Dg(t,e,n){return-G1(q1(t,1,e),n)+e-1}function ca(t,e=4,n=1){const r=Dg(t,e,n),s=Dg(t+1,e,n);return(Fi(t)-r+s)/7}function eh(t){return t>99?t:t>yt.twoDigitCutoffYear?1900+t:2e3+t}function Og(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},l=new Intl.DateTimeFormat(n,a).formatToParts(s).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function pc(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function Eg(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new qt(`Invalid unit value ${t}`);return e}function gc(t,e){const n={};for(const r in t)if(Ai(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=Eg(s)}return n}function da(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${kt(n,2)}:${kt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${kt(n,2)}${kt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function _c(t){return GL(t,["hour","minute","second","millisecond"])}const XL=["January","February","March","April","May","June","July","August","September","October","November","December"],$g=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],JL=["J","F","M","A","M","J","J","A","S","O","N","D"];function Pg(t){switch(t){case"narrow":return[...JL];case"short":return[...$g];case"long":return[...XL];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Lg=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Vg=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],QL=["M","T","W","T","F","S","S"];function Ng(t){switch(t){case"narrow":return[...QL];case"short":return[...Vg];case"long":return[...Lg];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Bg=["AM","PM"],eV=["Before Christ","Anno Domini"],tV=["BC","AD"],nV=["B","A"];function Ag(t){switch(t){case"narrow":return[...nV];case"short":return[...tV];case"long":return[...eV];default:return null}}function rV(t){return Bg[t.hour<12?0:1]}function sV(t,e){return Ng(e)[t.weekday-1]}function iV(t,e){return Pg(e)[t.month-1]}function oV(t,e){return Ag(e)[t.year<0?0:1]}function aV(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&i){const h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),c=l===1,d=s[t],u=r?c?d[1]:d[2]||d[1]:c?s[t][0]:t;return a?`${l} ${u} ago`:`in ${l} ${u}`}function Fg(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const lV={D:oc,DD:H3,DDD:z3,DDDD:Y3,t:W3,tt:j3,ttt:Z3,tttt:U3,T:q3,TT:G3,TTT:K3,TTTT:X3,f:J3,ff:eg,fff:ng,ffff:sg,F:Q3,FF:tg,FFF:rg,FFFF:ig};class Bt{static create(e,n={}){return new Bt(e,n)}static parseFormat(e){let n=null,r="",s=!1;const i=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return lV[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return kt(e,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>r?rV(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?iV(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?sV(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Bt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?oV(e,m):i({era:m},"era"),f=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(m)}};return Fg(Bt.parseFormat(n),f)}formatDurationFromString(e,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=c=>d=>{const u=r(d);return u?this.num(c.get(u),d.length):d},i=Bt.parseFormat(n),a=i.reduce((c,{literal:d,val:u})=>d?c:c.concat(u),[]),l=e.shiftTo(...a.map(r).filter(c=>c));return Fg(i,s(l))}}const Rg=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ri(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Ii(...t){return e=>t.reduce(([n,r,s],i)=>{const[a,l,c]=i(e,s);return[{...n,...a},l||r,c]},[{},null,1]).slice(0,2)}function Hi(t,...e){if(t==null)return[null,null];for(const[n,r]of e){const s=n.exec(t);if(s)return r(s)}return[null,null]}function Ig(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=as(e[n+s]);return[r,null,n+s]}}const Hg=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,cV=`(?:${Hg.source}?(?:\\[(${Rg.source})\\])?)?`,th=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,zg=RegExp(`${th.source}${cV}`),nh=RegExp(`(?:T${zg.source})?`),dV=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,uV=/(\d{4})-?W(\d\d)(?:-?(\d))?/,hV=/(\d{4})-?(\d{3})/,fV=Ig("weekYear","weekNumber","weekDay"),mV=Ig("year","ordinal"),pV=/(\d{4})-(\d\d)-(\d\d)/,Yg=RegExp(`${th.source} ?(?:${Hg.source}|(${Rg.source}))?`),gV=RegExp(`(?: ${Yg.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:as(r)}function _V(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Yi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:J1(t[e+3])},null,e+4]}function ua(t,e){const n=!t[e]&&!t[e+1],r=pc(t[e+1],t[e+2]),s=n?null:Ft.instance(r);return[{},s,e+3]}function ha(t,e){const n=t[e]?Er.create(t[e]):null;return[{},n,e+1]}const yV=RegExp(`^T?${th.source}$`),wV=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function bV(t){const[e,n,r,s,i,a,l,c,d]=t,u=e[0]==="-",h=c&&c[0]==="-",f=(m,g=!1)=>m!==void 0&&(g||m&&u)?-m:m;return[{years:f(Us(n)),months:f(Us(r)),weeks:f(Us(s)),days:f(Us(i)),hours:f(Us(a)),minutes:f(Us(l)),seconds:f(Us(c),c==="-0"),milliseconds:f(J1(d),h)}]}const kV={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rh(t,e,n,r,s,i,a){const l={year:e.length===2?eh(as(e)):as(e),month:$g.indexOf(n)+1,day:as(r),hour:as(s),minute:as(i)};return a&&(l.second=as(a)),t&&(l.weekday=t.length>3?Lg.indexOf(t)+1:Vg.indexOf(t)+1),l}const CV=/^(?:(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\d)(\d\d)))$/;function xV(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=rh(e,s,r,n,i,a,l);let m;return c?m=kV[c]:d?m=0:m=pc(u,h),[f,new Ft(m)]}function MV(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const SV=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,vV=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,TV=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Wg(t){const[,e,n,r,s,i,a,l]=t;return[rh(e,s,r,n,i,a,l),Ft.utcInstance]}function DV(t){const[,e,n,r,s,i,a,l]=t;return[rh(e,l,n,r,s,i,a),Ft.utcInstance]}const OV=Ri(dV,nh),EV=Ri(uV,nh),$V=Ri(hV,nh),PV=Ri(zg),jg=Ii(_V,Yi,ua,ha),LV=Ii(fV,Yi,ua,ha),VV=Ii(mV,Yi,ua,ha),NV=Ii(Yi,ua,ha);function BV(t){return Hi(t,[OV,jg],[EV,LV],[$V,VV],[PV,NV])}function AV(t){return Hi(MV(t),[CV,xV])}function FV(t){return Hi(t,[SV,Wg],[vV,Wg],[TV,DV])}function RV(t){return Hi(t,[wV,bV])}const IV=Ii(Yi);function HV(t){return Hi(t,[yV,IV])}const zV=Ri(pV,gV),YV=Ri(Yg),WV=Ii(Yi,ua,ha);function jV(t){return Hi(t,[zV,jg],[YV,WV])}const Zg="Invalid Duration",Ug={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},ZV={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Ug},Mn=146097/400,Wi=146097/4800,UV={years:{quarters:4,months:12,weeks:Mn/7,days:Mn,hours:Mn*24,minutes:Mn*24*60,seconds:Mn*24*60*60,milliseconds:Mn*24*60*60*1e3},quarters:{months:3,weeks:Mn/28,days:Mn/4,hours:Mn*24/4,minutes:Mn*24*60/4,seconds:Mn*24*60*60/4,milliseconds:Mn*24*60*60*1e3/4},months:{weeks:Wi/7,days:Wi,hours:Wi*24,minutes:Wi*24*60,seconds:Wi*24*60*60,milliseconds:Wi*24*60*60*1e3},...Ug},qs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],qV=qs.slice(0).reverse();function ls(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ee(r)}function qg(t,e){let n=e.milliseconds??0;for(const r of qV.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Gg(t,e){const n=qg(t,e)<0?-1:1;qs.reduceRight((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]*n,a=t[s][r],l=Math.floor(i/a);e[s]+=l*n,e[r]-=l*a*n}return s},null),qs.reduce((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*t[r][s]}return s},null)}function GV(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class Ee{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?UV:ZV;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||ze.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return Ee.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new qt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Ee({values:gc(e,Ee.normalizeUnit),loc:ze.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Zs(e))return Ee.fromMillis(e);if(Ee.isDuration(e))return e;if(typeof e=="object")return Ee.fromObject(e);throw new qt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=RV(e);return r?Ee.fromObject(r,n):Ee.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=HV(e);return r?Ee.fromObject(r,n):Ee.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the Duration is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new CL(r);return new Ee({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new I3(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Bt.create(this.loc,r).formatDurationFromString(this,e):Zg}toHuman(e={}){if(!this.isValid)return Zg;const n=qs.map(r=>{const s=this.values[r];return me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Q1(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},pe.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?qg(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e),r={};for(const s of qs)(Ai(n.values,s)||Ai(this.values,s))&&(r[s]=n.get(s)+this.get(s));return ls(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=Eg(e(this.values[r],r));return ls(this,{values:n},!0)}get(e){return this[Ee.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...gc(e,Ee.normalizeUnit)};return ls(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return ls(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Gg(this.matrix,e),ls(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=GV(this.normalize().shiftToAll().toObject());return ls(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>Ee.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of qs)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;Zs(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else Zs(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return Gg(this.matrix,n),ls(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return ls(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of qs)if(!n(this.values[r],e.values[r]))return!1;return!0}}const ji="Invalid Interval";function KV(t,e){return!t||!t.isValid?dt.invalid("missing or invalid start"):!e||!e.isValid?dt.invalid("missing or invalid end"):e<t?dt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class dt{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the Interval is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new kL(r);return new dt({invalid:r})}static fromDateTimes(e,n){const r=ma(e),s=ma(n),i=KV(r,s);return i??new dt({start:r,end:s})}static after(e,n){const r=Ee.fromDurationLike(n),s=ma(e);return dt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Ee.fromDurationLike(n),s=ma(e);return dt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return dt.fromDateTimes(i,l);if(a){const d=Ee.fromISO(s,n);if(d.isValid)return dt.after(i,d)}else if(c){const d=Ee.fromISO(r,n);if(d.isValid)return dt.before(l,d)}}return dt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?dt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ma).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(dt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=Ee.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(dt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:dt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return dt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(dt.fromDateTimes(n,c.time)),n=null);return dt.merge(s)}difference(...e){return dt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ji}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=oc,n={}){return this.isValid?Bt.create(this.s.loc.clone(n),e).formatInterval(this):ji}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ji}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ji}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ji}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:ji}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Ee.invalid(this.invalidReason)}mapEndpoints(e){return dt.fromDateTimes(e(this.s),e(this.e))}}class yc{static hasDST(e=yt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Er.isValidZone(e)}static normalizeZone(e){return os(e,yt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ze.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return ze.create(n,null,"gregory").eras(e)}static features(){return{relative:Sg(),localeWeek:vg()}}}function Kg(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Ee.fromMillis(r).as("days"))}function XV(t,e,n){const r=[["years",(c,d)=>d.year-c.year],["quarters",(c,d)=>d.quarter-c.quarter+(d.year-c.year)*4],["months",(c,d)=>d.month-c.month+(d.year-c.year)*12],["weeks",(c,d)=>{const u=Kg(c,d);return(u-u%7)/7}],["days",Kg]],s={},i=t;let a,l;for(const[c,d]of r)n.indexOf(c)>=0&&(a=c,s[c]=d(t,e),l=i.plus(s),l>e?(s[c]--,t=i.plus(s),t>e&&(l=t,s[c]--,t=i.plus(s))):t=l);return[t,s,l,a]}function JV(t,e,n,r){let[s,i,a,l]=XV(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=Ee.fromObject(i,r);return d.length>0?Ee.fromMillis(c,r).shiftTo(...d).plus(u):u}const sh={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Xg={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},QV=sh.hanidec.replace(/[\[|\]]/g,"").split("");function eN(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(sh.hanidec)!==-1)e+=QV.indexOf(t[n]);else for(const s in Xg){const[i,a]=Xg[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function Fn({numberingSystem:t},e=""){return new RegExp(`${sh[t||"latn"]}${e}`)}const tN="missing Intl.DateTimeFormat.formatToParts support";function Be(t,e=n=>n){return{regex:t,deser:([n])=>e(eN(n))}}const Jg="[  ]",Qg=new RegExp(Jg,"g");function nN(t){return t.replace(/\./g,"\\.?").replace(Qg,Jg)}function e6(t){return t.replace(/\./g,"").replace(Qg," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(nN).join("|")),deser:([n])=>t.findIndex(r=>e6(n)===e6(r))+e}}function t6(t,e){return{regex:t,deser:([,n,r])=>pc(n,r),groups:e}}function wc(t){return{regex:t,deser:([e])=>e}}function rN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function sN(t,e){const n=Fn(e),r=Fn(e,"{2}"),s=Fn(e,"{3}"),i=Fn(e,"{4}"),a=Fn(e,"{6}"),l=Fn(e,"{1,2}"),c=Fn(e,"{1,3}"),d=Fn(e,"{1,6}"),u=Fn(e,"{1,9}"),h=Fn(e,"{2,4}"),f=Fn(e,"{4,6}"),m=_=>({regex:RegExp(rN(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Rn(e.eras("short"),0);case"GG":return Rn(e.eras("long"),0);case"y":return Be(d);case"yy":return Be(h,eh);case"yyyy":return Be(i);case"yyyyy":return Be(f);case"yyyyyy":return Be(a);case"M":return Be(l);case"MM":return Be(r);case"MMM":return Rn(e.months("short",!0),1);case"MMMM":return Rn(e.months("long",!0),1);case"L":return Be(l);case"LL":return Be(r);case"LLL":return Rn(e.months("short",!1),1);case"LLLL":return Rn(e.months("long",!1),1);case"d":return Be(l);case"dd":return Be(r);case"o":return Be(c);case"ooo":return Be(s);case"HH":return Be(r);case"H":return Be(l);case"hh":return Be(r);case"h":return Be(l);case"mm":return Be(r);case"m":return Be(l);case"q":return Be(l);case"qq":return Be(r);case"s":return Be(l);case"ss":return Be(r);case"S":return Be(c);case"SSS":return Be(s);case"u":return wc(u);case"uu":return wc(l);case"uuu":return Be(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Be(i);case"kk":return Be(h,eh);case"W":return Be(l);case"WW":return Be(r);case"E":case"c":return Be(n);case"EEE":return Rn(e.weekdays("short",!1),1);case"EEEE":return Rn(e.weekdays("long",!1),1);case"ccc":return Rn(e.weekdays("short",!0),1);case"cccc":return Rn(e.weekdays("long",!0),1);case"Z":case"ZZ":return t6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return t6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return wc(/[a-z_+-/]{1,256}?/i);case" ":return wc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:tN};return p.token=t,p}const iN={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function oN(t,e,n){const{type:r,value:s}=t;if(r==="literal"){const c=/^\s+$/.test(s);return{literal:!c,val:c?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let l=iN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function aN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function lN(t,e,n){const r=t.match(e);if(r){const s={};let i=1;for(const a in n)if(Ai(n,a)){const l=n[a],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,s]}else return[r,{}]}function cN(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Er.create(t.z)),me(t.Z)||(n||(n=new Ft(t.Z)),r=t.Z),me(t.q)||(t.M=(t.q-1)*3+1),me(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),me(t.u)||(t.S=J1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let ih=null;function dN(){return ih||(ih=pe.fromMillis(1555555555555)),ih}function uN(t,e){if(t.literal)return t;const n=Bt.macroTokenToFormatOpts(t.val),r=s6(n,e);return r==null||r.includes(void 0)?t:r}function n6(t,e){return Array.prototype.concat(...t.map(n=>uN(n,e)))}function r6(t,e,n){const r=n6(Bt.parseFormat(n),t),s=r.map(a=>sN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=aN(s),c=RegExp(a,"i"),[d,u]=lN(e,c,l),[h,f,m]=u?cN(u):[null,null,void 0];if(Ai(u,"a")&&Ai(u,"H"))throw new Bi("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:d,matches:u,result:h,zone:f,specificOffset:m}}}function hN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=r6(t,e,n);return[r,s,i,a]}function s6(t,e){if(!t)return null;const r=Bt.create(e,t).dtFormatter(dN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>oN(a,t,i))}const oh="Invalid DateTime",i6=864e13;function bc(t){return new An("unsupported zone",`the zone "${t.name}" is not supported`)}function ah(t){return t.weekData===null&&(t.weekData=uc(t.c)),t.weekData}function lh(t){return t.localWeekData===null&&(t.localWeekData=uc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gs(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new pe({...n,...e,old:n})}function o6(t,e,n){let r=t-e*60*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=n.offset(r);return s===i?[r,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function kc(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Cc(t,e,n){return o6(mc(t),e,n)}function a6(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:r,month:s,day:Math.min(t.c.day,fc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=Ee.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=mc(i);let[c,d]=o6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function fa(t,e,n,r,s,i){const{setZone:a,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,d=pe.fromObject(t,{...n,zone:c,specificOffset:i});return a?d:d.setZone(l)}else return pe.invalid(new An("unparsable",`the input "${s}" can't be parsed as ${r}`))}function xc(t,e,n=!0){return t.isValid?Bt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ch(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=kt(t.c.year,n?6:4),e?(r+="-",r+=kt(t.c.month),r+="-",r+=kt(t.c.day)):(r+=kt(t.c.month),r+=kt(t.c.day)),r}function l6(t,e,n,r,s,i){let a=kt(t.c.hour);return e?(a+=":",a+=kt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=kt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=kt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=kt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=kt(Math.trunc(-t.o/60)),a+=":",a+=kt(Math.trunc(-t.o%60))):(a+="+",a+=kt(Math.trunc(t.o/60)),a+=":",a+=kt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const c6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},fN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},d6=["year","month","day","hour","minute","second","millisecond"],pN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],gN=["year","ordinal","hour","minute","second","millisecond"];function _N(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new I3(t);return e}function u6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return _N(t)}}function h6(t,e){const n=os(e.zone,yt.defaultZone),r=ze.fromObject(e),s=yt.now();let i,a;if(me(t.year))i=s;else{for(const d of d6)me(t[d])&&(t[d]=c6[d]);const l=xg(t)||Mg(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=Cc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function f6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=Q1(a,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(a,l)),i=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return s(i(n.unit),n.unit);for(const a of n.units){const l=i(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,n.units[n.units.length-1])}function m6(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}class pe{constructor(e){const n=e.zone||yt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new An("invalid input"):null)||(n.isValid?null:bc(n));this.ts=me(e.ts)?yt.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[s,i]=[e.old.c,e.old.o];else{const l=n.offset(this.ts);s=kc(this.ts,l),r=Number.isNaN(s.year)?new An("invalid input"):null,s=r?null:s,i=r?null:l}this._zone=n,this.loc=e.loc||ze.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new pe({})}static local(){const[e,n]=m6(arguments),[r,s,i,a,l,c,d]=n;return h6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=m6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Ft.utcInstance,h6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=UL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=os(n.zone,yt.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:ze.fromObject(n)}):pe.invalid(bc(s))}static fromMillis(e,n={}){if(Zs(e))return e<-i6||e>i6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:os(n.zone,yt.defaultZone),loc:ze.fromObject(n)});throw new qt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(Zs(e))return new pe({ts:e*1e3,zone:os(n.zone,yt.defaultZone),loc:ze.fromObject(n)});throw new qt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=os(n.zone,yt.defaultZone);if(!r.isValid)return pe.invalid(bc(r));const s=ze.fromObject(n),i=gc(e,u6),{minDaysInFirstWeek:a,startOfWeek:l}=Cg(i,s),c=yt.now(),d=me(n.specificOffset)?r.offset(c):n.specificOffset,u=!me(i.ordinal),h=!me(i.year),f=!me(i.month)||!me(i.day),m=h||f,g=i.weekYear||i.weekNumber;if((m||u)&&g)throw new Bi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Bi("Can't mix ordinal dates with month/day");const p=g||i.weekday&&!m;let _,y,C=kc(c,d);p?(_=pN,y=fN,C=uc(C,a,l)):u?(_=gN,y=mN,C=K1(C)):(_=d6,y=c6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const v=p?WL(i,a,l):u?jL(i):xg(i),M=v||Mg(i);if(M)return pe.invalid(M);const T=p?bg(i,a,l):u?kg(i):i,[S,O]=Cc(T,d,r),E=new pe({ts:S,zone:r,o:O,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=BV(e);return fa(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=AV(e);return fa(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=FV(e);return fa(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new qt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=hN(a,e,n);return u?pe.invalid(u):fa(l,c,r,`format ${n}`,e,d)}static fromString(e,n,r={}){return pe.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,s]=jV(e);return fa(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the DateTime is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new bL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=s6(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return n6(Bt.parseFormat(e),ze.fromObject(n)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?ah(this).weekYear:NaN}get weekNumber(){return this.isValid?ah(this).weekNumber:NaN}get weekday(){return this.isValid?ah(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?lh(this).weekday:NaN}get localWeekNumber(){return this.isValid?lh(this).weekNumber:NaN}get localWeekYear(){return this.isValid?lh(this).weekYear:NaN}get ordinal(){return this.isValid?K1(this.c).ordinal:NaN}get monthShort(){return this.isValid?yc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?yc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?yc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?yc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,r=mc(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*n),l=this.zone.offset(r-i*n);if(a===l)return[this];const c=r-a*n,d=r-l*n,u=kc(c,a),h=kc(d,l);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[Gs(this,{ts:c}),Gs(this,{ts:d})]:[this]}get isInLeapYear(){return la(this.year)}get daysInMonth(){return fc(this.year,this.month)}get daysInYear(){return this.isValid?Fi(this.year):NaN}get weeksInWeekYear(){return this.isValid?ca(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ca(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Bt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Ft.instance(e),n)}toLocal(){return this.setZone(yt.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=os(e,yt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(n||r){const i=e.offset(this.ts),a=this.toObject();[s]=Cc(a,i,e)}return Gs(this,{ts:s,zone:e})}else return pe.invalid(bc(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:r});return Gs(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=gc(e,u6),{minDaysInFirstWeek:r,startOfWeek:s}=Cg(n,this.loc),i=!me(n.weekYear)||!me(n.weekNumber)||!me(n.weekday),a=!me(n.ordinal),l=!me(n.year),c=!me(n.month)||!me(n.day),d=l||c,u=n.weekYear||n.weekNumber;if((d||a)&&u)throw new Bi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Bi("Can't mix ordinal dates with month/day");let h;i?h=bg({...uc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(fc(h.year,h.month),h.day))):h=kg({...K1(this.c),...n});const[f,m]=Cc(h,this.o,this.zone);return Gs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e);return Gs(this,a6(this,n))}minus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e).negate();return Gs(this,a6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Ee.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Bt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):oh}toLocaleString(e=oc,n={}){return this.isValid?Bt.create(this.loc.clone(n),e).formatDateTime(this):oh}toLocaleParts(e={}){return this.isValid?Bt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=ch(this,a);return l+="T",l+=l6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?ch(this,e==="extended"):null}toISOWeekDate(){return xc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+l6(this,a==="extended",n,e,r,i):null}toRFC2822(){return xc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return xc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ch(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||e)&&(r&&(s+=" "),n?s+="z":e&&(s+="ZZ")),xc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():oh}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return Ee.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=qL(n).map(Ee.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=JV(l,c,i,s);return a?d.negate():d}diffNow(e="milliseconds",n={}){return this.diff(pe.now(),e,n)}until(e){return this.isValid?dt.fromDateTimes(this,e):this}hasSame(e,n,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(n,r)<=s&&s<=i.endOf(n,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||pe.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),f6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?f6(e.base||pe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(pe.isDateTime))throw new qt("min requires all arguments be DateTimes");return Tg(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new qt("max requires all arguments be DateTimes");return Tg(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return r6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return oc}static get DATE_MED(){return H3}static get DATE_MED_WITH_WEEKDAY(){return xL}static get DATE_FULL(){return z3}static get DATE_HUGE(){return Y3}static get TIME_SIMPLE(){return W3}static get TIME_WITH_SECONDS(){return j3}static get TIME_WITH_SHORT_OFFSET(){return Z3}static get TIME_WITH_LONG_OFFSET(){return U3}static get TIME_24_SIMPLE(){return q3}static get TIME_24_WITH_SECONDS(){return G3}static get TIME_24_WITH_SHORT_OFFSET(){return K3}static get TIME_24_WITH_LONG_OFFSET(){return X3}static get DATETIME_SHORT(){return J3}static get DATETIME_SHORT_WITH_SECONDS(){return Q3}static get DATETIME_MED(){return eg}static get DATETIME_MED_WITH_SECONDS(){return tg}static get DATETIME_MED_WITH_WEEKDAY(){return ML}static get DATETIME_FULL(){return ng}static get DATETIME_FULL_WITH_SECONDS(){return rg}static get DATETIME_HUGE(){return sg}static get DATETIME_HUGE_WITH_SECONDS(){return ig}}function ma(t){if(pe.isDateTime(t))return t;if(t&&t.valueOf&&Zs(t.valueOf()))return pe.fromJSDate(t);if(t&&typeof t=="object")return pe.fromObject(t);throw new qt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Et(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function dh(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function Me(t,e,n={}){const{repeat:r=4,mask:s="*",prefix:i="",suffix:a=""}=n;let l,c;return t?(l=i==="$"?pa():i,c=a==="$"?pa():a,l+s.repeat(r)+c):e}function yN(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function wN(t){return new Date(t).getFullYear()}function bN(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function p6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function kN(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function CN(t){return new Date(t).getDate()}function uh(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}function xN(t){const e=new Date(t),r=new Date-e;return Math.floor(r/(1e3*3600*24))}function pa(){const t={USD:"$",EUR:"€",JPY:"¥",GBP:"£",CHF:"Fr.",CAD:"$",AUD:"$",NOK:"kr",SEK:"kr",DKK:"kr"},e=rt.getItem("scope360::currency");return e&&t[e==null?void 0:e.split("::")[0]]?t[e==null?void 0:e.split("::")[0]]:t.USD}function Mc(){const t=rt.getItem("scope360::currency");return t&&(t!=null&&t.split("::")[1])?+(t==null?void 0:t.split("::")[1]):1}const Ke=(t,e={isPercentage:!1,isFixed:!0,isPlus:!1})=>{let n;t>=0?n=e.isPlus&&t!==0?"+":"":n="-";let r=Math.abs(t);return e.isFixed&&(r=Et(r)),e.isPercentage?`${n}${r}%`:`${n}${pa()}${Et(r*Mc())}`};function MN(t,e){const n=+new Date(e)-+new Date(t),r=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);if(r>0)return`${r} d`;if(s>0)return`${s} h`;if(i>0)return`${i} m`;if(a>0)return`${a} s`}function g6(t){const e=/^(.*?)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[2];return r===""||s===""?t:`${r}/${s}`}else return t}const SN=(t,e,n,r={},s)=>{const i=o.h(t,e,r),a=document.createElement("div");return a.setAttribute("id",s||""),n.appendChild(a),o.render(i,a),i.component},vN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Sc=t=>{if(!(t!=null&&t.message))return;const e={...vN,...t},n=SN(H0,e,document.body,void 0,"toast"),r=()=>{var s,i,a;(a=(i=(s=n==null?void 0:n.refs)==null?void 0:s.toast)==null?void 0:i.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const s=o.watch(()=>window.location.href,()=>{r(),s()})}return{dismiss:r}},TN=(t,e)=>Sc({...e,message:t,type:"success"}),DN=(t,e)=>Sc({...e,message:t,type:"error"}),ON=(t,e)=>Sc({...e,message:t,type:"info"}),hh=()=>({open:Sc,success:TN,error:DN,info:ON}),EN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},$N=[o.createElementVNode("path",{d:"M10.6667 4.33073C10.6667 5.80349 9.47275 6.9974 7.99999 6.9974C6.52723 6.9974 5.33332 5.80349 5.33332 4.33073C5.33332 2.85797 6.52723 1.66406 7.99999 1.66406C9.47275 1.66406 10.6667 2.85797 10.6667 4.33073Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99999 8.33073C5.26433 8.33073 3.27753 10.3058 2.76741 12.9433C2.69312 13.3274 3.00319 13.6641 3.39438 13.6641H12.6056C12.9968 13.6641 13.3069 13.3274 13.2326 12.9433C12.7224 10.3058 10.7356 8.33073 7.99999 8.33073Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1)];function _6(t,e){return o.openBlock(),o.createElementBlock("svg",EN,[...$N])}const PN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_6},render:_6},Symbol.toStringTag,{value:"Module"})),LN={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VN=[o.createElementVNode("g",{id:"ant-design:apple-filled"},[o.createElementVNode("path",{id:"Vector",d:"M17.8237 12.5555C17.8142 10.957 18.5452 9.75234 20.0212 8.86406C19.1957 7.69219 17.9467 7.04766 16.3003 6.92344C14.7415 6.80156 13.036 7.82344 12.4115 7.82344C11.7516 7.82344 10.2424 6.96562 9.05497 6.96562C6.60436 7.00312 4 8.90156 4 12.7641C4 13.9055 4.21053 15.0844 4.63158 16.2984C5.19455 17.8969 7.22411 21.8133 9.34119 21.75C10.4482 21.7242 11.2312 20.9719 12.6717 20.9719C14.0697 20.9719 14.7936 21.75 16.0283 21.75C18.1643 21.7195 19.9999 18.1594 20.5345 16.5562C17.6699 15.218 17.8237 12.6375 17.8237 12.5555ZM15.3376 5.40703C16.5369 3.99609 16.4281 2.71172 16.3926 2.25C15.3329 2.31094 14.1076 2.96484 13.4098 3.76875C12.641 4.63125 12.1892 5.69766 12.2862 6.9C13.4311 6.98672 14.4766 6.40312 15.3376 5.40703Z",fill:"black"})],-1)];function y6(t,e){return o.openBlock(),o.createElementBlock("svg",LN,[...VN])}const NN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y6},render:y6},Symbol.toStringTag,{value:"Module"})),BN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AN=[o.createElementVNode("path",{d:"M12.1667 5.83333V12.1667H5.83333M4 4L11.7334 11.7334",stroke:"#F18169","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function w6(t,e){return o.openBlock(),o.createElementBlock("svg",BN,[...AN])}const FN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w6},render:w6},Symbol.toStringTag,{value:"Module"})),RN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},IN=[o.createElementVNode("path",{d:"M12.3334 9.33203L8.00008 13.6654L3.66675 9.33203M8.00008 13.332V2.33203",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function b6(t,e){return o.openBlock(),o.createElementBlock("svg",RN,[...IN])}const HN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b6},render:b6},Symbol.toStringTag,{value:"Module"})),zN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},YN=[o.createStaticVNode('<g filter="url(#filter0_d_1815_32605)"><rect x="5" y="5" width="20" height="20" rx="10" fill="#E3EEFE"></rect></g><path fill-rule="evenodd" clip-rule="evenodd" d="M18.7761 15.3109C18.7761 15.0718 18.5822 14.8779 18.3431 14.8779L13.3271 14.8779L15.0217 13.1833C15.1908 13.0142 15.1908 12.7401 15.0217 12.571C14.8527 12.4019 14.5785 12.4019 14.4095 12.571L11.9757 15.0047C11.8067 15.1738 11.8067 15.4479 11.9757 15.617L14.4094 18.0507C14.5785 18.2198 14.8526 18.2198 15.0217 18.0507C15.1908 17.8816 15.1908 17.6075 15.0217 17.4384L13.3271 15.7438L18.3431 15.7438C18.5822 15.7438 18.7761 15.55 18.7761 15.3109Z" fill="#007AFF"></path><defs><filter id="filter0_d_1815_32605" x="0" y="0" width="30" height="30" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="2.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1815_32605"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1815_32605" result="shape"></feBlend></filter></defs>',3)];function k6(t,e){return o.openBlock(),o.createElementBlock("svg",zN,[...YN])}const WN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k6},render:k6},Symbol.toStringTag,{value:"Module"})),jN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ZN=[o.createElementVNode("g",{id:"arrow-rotate-right-left, repeat, refresh"},[o.createElementVNode("path",{id:"vector",d:"M16.2597 17.083V13.7497H12.9264M3.74984 2.91634L3.74984 6.24967H7.08317M2.97131 9.11426C2.93514 9.40431 2.9165 9.69982 2.9165 9.99967C2.9165 13.9117 6.08782 17.083 9.99984 17.083C12.3545 17.083 14.6442 15.9341 15.9641 14.1663M17.0284 10.8851C17.0645 10.595 17.0832 10.2995 17.0832 9.99967C17.0832 6.08766 13.9119 2.91634 9.99984 2.91634C7.64522 2.91634 5.35552 4.06523 4.03555 5.83301",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function C6(t,e){return o.openBlock(),o.createElementBlock("svg",jN,[...ZN])}const UN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C6},render:C6},Symbol.toStringTag,{value:"Module"})),qN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GN=[o.createElementVNode("path",{d:"M12.1667 10.1654V3.83203M12.1667 3.83203H5.83333M12.1667 3.83203L4 11.9987",stroke:"#56B683","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function x6(t,e){return o.openBlock(),o.createElementBlock("svg",qN,[...GN])}const KN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x6},render:x6},Symbol.toStringTag,{value:"Module"})),XN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},JN=[o.createElementVNode("path",{d:"M3.66675 6.66536L8.00008 2.33203L12.3334 6.66536M8.00008 13.6654V2.66536",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function M6(t,e){return o.openBlock(),o.createElementBlock("svg",XN,[...JN])}const QN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M6},render:M6},Symbol.toStringTag,{value:"Module"})),eB={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tB=[o.createStaticVNode('<rect x="0.5" width="20" height="20" rx="10" fill="#1C2026"></rect><g clip-path="url(#clip0_4453_114916)"><path d="M12.6416 10.892L13.8995 12.1494L10.4953 15.5535L7.09161 12.1498L8.34948 10.892L10.4958 13.0494L12.6416 10.892ZM14.7884 8.74567L16.0564 10.0031L14.7995 11.2605L13.5416 10.0031L14.7884 8.74567ZM10.4958 8.74567L11.7532 9.99196L10.4953 11.2498L9.23791 10.0031L10.4953 8.74613L10.4958 8.74567ZM6.20272 8.74567L7.44994 10.0031L6.20365 11.2494L4.94531 10.0031L6.20272 8.74567ZM10.4962 4.45215L13.8999 7.84567L12.6421 9.10261L10.4958 6.95631L8.34994 9.11372L7.09207 7.85631L10.4958 4.45261L10.4962 4.45215Z" fill="#F3BA2F"></path></g><defs><clipPath id="clip0_4453_114916"><rect width="11.1111" height="11.1111" fill="white" transform="translate(4.94531 4.44434)"></rect></clipPath></defs>',3)];function S6(t,e){return o.openBlock(),o.createElementBlock("svg",eB,[...tB])}const nB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S6},render:S6},Symbol.toStringTag,{value:"Module"})),rB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sB=[o.createElementVNode("g",{id:"simple-icons:binance","clip-path":"url(#clip0_2820_75439)"},[o.createElementVNode("path",{id:"Vector",d:"M13.8533 11.5995L16.1175 13.8628L9.99 19.9903L3.86333 13.8636L6.1275 11.5995L9.99083 15.4828L13.8533 11.5995ZM17.7175 7.73615L20 9.99948L17.7375 12.2628L15.4733 9.99948L17.7175 7.73615ZM9.99083 7.73615L12.2542 9.97948L9.99 12.2436L7.72667 9.99948L9.99 7.73698L9.99083 7.73615ZM2.26333 7.73615L4.50833 9.99948L2.265 12.2428L0 9.99948L2.26333 7.73615ZM9.99167 0.0078125L16.1183 6.11615L13.8542 8.37865L9.99083 4.51531L6.12833 8.39865L3.86417 6.13531L9.99083 0.00864583L9.99167 0.0078125Z",fill:"#F3BA2F"})],-1),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"clip0_2820_75439"},[o.createElementVNode("rect",{width:"20",height:"20",fill:"white"})])],-1)];function v6(t,e){return o.openBlock(),o.createElementBlock("svg",rB,[...sB])}const iB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v6},render:v6},Symbol.toStringTag,{value:"Module"})),oB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aB=[o.createElementVNode("g",{id:"book, guide, info, faq"},[o.createElementVNode("path",{id:"vector",d:"M16.0404 10.0013V12.293C16.0404 13.2134 15.2942 13.9596 14.3737 13.9596H5.83203C4.7965 13.9596 3.95703 14.7991 3.95703 15.8346C3.95703 16.8702 4.7965 17.7096 5.83203 17.7096H8.33203M7.29036 5.83464H12.707M7.29036 9.16797H10.207M5.6237 2.29297H14.3737C15.2942 2.29297 16.0404 3.03916 16.0404 3.95964V16.043C16.0404 16.9634 15.2942 17.7096 14.3737 17.7096H5.6237C4.70322 17.7096 3.95703 16.9634 3.95703 16.043V3.95964C3.95703 3.03916 4.70322 2.29297 5.6237 2.29297Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function T6(t,e){return o.openBlock(),o.createElementBlock("svg",oB,[...aB])}const lB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T6},render:T6},Symbol.toStringTag,{value:"Module"})),cB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},dB=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"},null,-1)];function D6(t,e){return o.openBlock(),o.createElementBlock("svg",cB,[...dB])}const uB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D6},render:D6},Symbol.toStringTag,{value:"Module"})),hB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},fB=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"currentColor"},null,-1)];function O6(t,e){return o.openBlock(),o.createElementBlock("svg",hB,[...fB])}const mB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O6},render:O6},Symbol.toStringTag,{value:"Module"})),pB={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gB=[o.createElementVNode("g",{id:"bxs:up-arrow"},[o.createElementVNode("path",{id:"Vector",d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"})],-1)];function E6(t,e){return o.openBlock(),o.createElementBlock("svg",pB,[...gB])}const _B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E6},render:E6},Symbol.toStringTag,{value:"Module"})),yB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},wB=[o.createElementVNode("path",{d:"M2.91666 7.91536H17.0833M6.24999 3.7487V2.08203M13.75 3.7487V2.08203M3.74999 17.082H16.25C16.7102 17.082 17.0833 16.7089 17.0833 16.2487V4.58203C17.0833 4.12179 16.7102 3.7487 16.25 3.7487H3.74999C3.28975 3.7487 2.91666 4.12179 2.91666 4.58203V16.2487C2.91666 16.7089 3.28975 17.082 3.74999 17.082Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function $6(t,e){return o.openBlock(),o.createElementBlock("svg",yB,[...wB])}const bB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$6},render:$6},Symbol.toStringTag,{value:"Module"})),kB={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CB=[o.createStaticVNode('<g id="Frame 2118527357"><path id="Vector" d="M8.36101 10.6773C8.06238 10.6773 7.76108 10.6187 7.47311 10.4987C6.60388 10.1387 6.04395 9.29882 6.04395 8.36026V4.60337C6.04395 3.75547 6.73186 3.07022 7.5771 3.07022C8.42233 3.07022 9.11025 3.75813 9.11025 4.60337V6.54447L14.7683 0.886471C15.3682 0.286541 16.3387 0.286541 16.9387 0.886471C17.5386 1.4864 17.5386 2.45695 16.9387 3.05688L9.99548 10.0001C9.55287 10.4427 8.96094 10.68 8.36101 10.68V10.6773Z" fill="url(#paint0_linear_4793_138365)"></path><path id="Vector_2" d="M2.14746 11.5627C1.7555 11.5627 1.36355 11.4134 1.06225 11.1147C0.462322 10.5148 0.462322 9.54427 1.06225 8.94434L6.48828 3.51831C7.08821 2.91838 8.05877 2.91838 8.6587 3.51831C9.25863 4.11824 9.25863 5.08879 8.6587 5.68872L3.23266 11.1147C2.93403 11.4134 2.53941 11.5627 2.14746 11.5627Z" fill="url(#paint1_linear_4793_138365)"></path></g><defs><linearGradient id="paint0_linear_4793_138365" x1="6.04395" y1="5.55526" x2="17.3893" y2="5.55526" gradientUnits="userSpaceOnUse"><stop stop-color="#07A360"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient><linearGradient id="paint1_linear_4793_138365" x1="0.614304" y1="7.31519" x2="9.10931" y2="7.31519" gradientUnits="userSpaceOnUse"><stop stop-color="#23E27D"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient></defs>',2)];function P6(t,e){return o.openBlock(),o.createElementBlock("svg",kB,[...CB])}const xB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P6},render:P6},Symbol.toStringTag,{value:"Module"})),MB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SB=[o.createElementVNode("g",{id:"check-circle-fill"},[o.createElementVNode("path",{id:"Subtract",d:"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM10.5265 4.34846C10.2702 4.09218 9.85474 4.09218 9.59845 4.34846C9.59227 4.35465 9.58645 4.36121 9.58105 4.36809L6.54272 8.23965L4.71089 6.40782C4.45461 6.15154 4.0391 6.15154 3.78281 6.40782C3.52653 6.6641 3.52653 7.07962 3.78281 7.3359L6.09846 9.65154C6.35474 9.90782 6.77025 9.90782 7.02653 9.65154C7.03224 9.64583 7.03763 9.63981 7.04267 9.63351L10.5358 5.26704C10.7828 5.01009 10.7797 4.6016 10.5265 4.34846Z",fill:"currentColor"})],-1)];function L6(t,e){return o.openBlock(),o.createElementBlock("svg",MB,[...SB])}const vB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L6},render:L6},Symbol.toStringTag,{value:"Module"})),TB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DB=[o.createElementVNode("g",{id:"check, checkmark"},[o.createElementVNode("path",{id:"vector",d:"M1.66663 10.333L6.13721 13.6663L14.3333 2.33301",stroke:"#007AFF","stroke-linecap":"round"})],-1)];function V6(t,e){return o.openBlock(),o.createElementBlock("svg",TB,[...DB])}const OB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V6},render:V6},Symbol.toStringTag,{value:"Module"})),EB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},$B=[o.createElementVNode("path",{d:"M5.33333 6.66797L7.52859 8.86323C7.78894 9.12358 8.21105 9.12358 8.4714 8.86323L10.6667 6.66797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function N6(t,e){return o.openBlock(),o.createElementBlock("svg",EB,[...$B])}const PB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N6},render:N6},Symbol.toStringTag,{value:"Module"})),LB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},VB=[o.createElementVNode("path",{d:"M16.6667 7.5L10.0001 14.1667L3.33337 7.5",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function B6(t,e){return o.openBlock(),o.createElementBlock("svg",LB,[...VB])}const NB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B6},render:B6},Symbol.toStringTag,{value:"Module"})),BB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},AB=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function A6(t,e){return o.openBlock(),o.createElementBlock("svg",BB,[...AB])}const FB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A6},render:A6},Symbol.toStringTag,{value:"Module"})),RB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},IB=[o.createElementVNode("g",{id:"chevron-left"},[o.createElementVNode("path",{id:"vector",d:"M10.0001 13.3332L4.66675 7.99985L10.0001 2.6665",stroke:"#1C2026","stroke-linecap":"square"})],-1)];function F6(t,e){return o.openBlock(),o.createElementBlock("svg",RB,[...IB])}const HB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F6},render:F6},Symbol.toStringTag,{value:"Module"})),zB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},YB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function R6(t,e){return o.openBlock(),o.createElementBlock("svg",zB,[...YB])}const WB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R6},render:R6},Symbol.toStringTag,{value:"Module"})),jB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ZB=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function I6(t,e){return o.openBlock(),o.createElementBlock("svg",jB,[...ZB])}const UB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I6},render:I6},Symbol.toStringTag,{value:"Module"})),qB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},GB=[o.createElementVNode("path",{d:"M6.66669 11.6686L9.70539 8.62985C9.86811 8.46713 10.1319 8.46713 10.2946 8.62985L13.3334 11.6686",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function H6(t,e){return o.openBlock(),o.createElementBlock("svg",qB,[...GB])}const KB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H6},render:H6},Symbol.toStringTag,{value:"Module"})),XB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},JB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function z6(t,e){return o.openBlock(),o.createElementBlock("svg",XB,[...JB])}const QB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z6},render:z6},Symbol.toStringTag,{value:"Module"})),eA={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tA=[o.createElementVNode("path",{id:"vector",d:"M9.0013 5.00008L5.0013 9.00008M9.0013 9.00008L5.0013 5.00008M13.3346 7.00008C13.3346 10.4979 10.4991 13.3334 7.0013 13.3334C3.5035 13.3334 0.667969 10.4979 0.667969 7.00008C0.667969 3.50228 3.5035 0.666748 7.0013 0.666748C10.4991 0.666748 13.3346 3.50228 13.3346 7.00008Z",stroke:"#F18169","stroke-linecap":"square"},null,-1)];function Y6(t,e){return o.openBlock(),o.createElementBlock("svg",eA,[...tA])}const nA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y6},render:Y6},Symbol.toStringTag,{value:"Module"})),rA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},sA=[o.createElementVNode("path",{d:"M10.0002 6.46438V13.5355M13.5357 9.99992H6.46463M17.9168 9.99992C17.9168 14.3722 14.3724 17.9166 10.0002 17.9166C5.62791 17.9166 2.0835 14.3722 2.0835 9.99992C2.0835 5.62766 5.62791 2.08325 10.0002 2.08325C14.3724 2.08325 17.9168 5.62766 17.9168 9.99992Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function W6(t,e){return o.openBlock(),o.createElementBlock("svg",rA,[...sA])}const iA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W6},render:W6},Symbol.toStringTag,{value:"Module"})),oA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},aA=[o.createElementVNode("path",{d:"M10 6.24967V9.99967L12.5 12.4997M17.9167 9.99967C17.9167 14.3719 14.3723 17.9163 10 17.9163C5.62779 17.9163 2.08337 14.3719 2.08337 9.99967C2.08337 5.62742 5.62779 2.08301 10 2.08301C14.3723 2.08301 17.9167 5.62742 17.9167 9.99967Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function j6(t,e){return o.openBlock(),o.createElementBlock("svg",oA,[...aA])}const lA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j6},render:j6},Symbol.toStringTag,{value:"Module"})),cA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},dA=[o.createElementVNode("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Z6(t,e){return o.openBlock(),o.createElementBlock("svg",cA,[...dA])}const uA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z6},render:Z6},Symbol.toStringTag,{value:"Module"})),hA={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fA=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.1665 4.66602L15.8332 16.3327M15.8332 4.66602L4.1665 16.3327",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)];function U6(t,e){return o.openBlock(),o.createElementBlock("svg",hA,[...fA])}const mA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U6},render:U6},Symbol.toStringTag,{value:"Module"})),pA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},gA=[o.createElementVNode("path",{d:"M12.9999 9.58366V11.667M12.9999 11.667V13.7503M12.9999 11.667H10.9166M12.9999 11.667H15.0833M12.9041 6.03082C12.0386 4.19078 10.168 2.91699 7.99992 2.91699C5.00838 2.91699 2.58325 5.34212 2.58325 8.33366C2.58325 11.2425 4.8762 13.6159 7.75326 13.7448M18.4166 11.667C18.4166 14.6585 15.9915 17.0837 12.9999 17.0837C10.0084 17.0837 7.58325 14.6585 7.58325 11.667C7.58325 8.67545 10.0084 6.25033 12.9999 6.25033C15.9915 6.25033 18.4166 8.67545 18.4166 11.667Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function q6(t,e){return o.openBlock(),o.createElementBlock("svg",pA,[...gA])}const _A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q6},render:q6},Symbol.toStringTag,{value:"Module"})),yA={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wA=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Vector",opacity:"0.2",d:"M21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3C12 4.19347 12.4741 5.33807 13.318 6.18198C14.1619 7.02589 15.3065 7.5 16.5 7.5C16.5 8.69347 16.9741 9.83807 17.818 10.682C18.6619 11.5259 19.8065 12 21 12Z",fill:"#007AFF"}),o.createElementVNode("path",{id:"Vector_2",d:"M15.4209 15.3291C15.5779 15.4866 15.6846 15.687 15.7277 15.9051C15.7708 16.1233 15.7483 16.3493 15.6631 16.5546C15.5778 16.7599 15.4336 16.9354 15.2487 17.0588C15.0638 17.1823 14.8464 17.2482 14.6241 17.2482C14.4017 17.2482 14.1844 17.1823 13.9995 17.0588C13.8145 16.9354 13.6703 16.7599 13.5851 16.5546C13.4998 16.3493 13.4773 16.1233 13.5204 15.9051C13.5635 15.687 13.6702 15.4866 13.8272 15.3291C13.9317 15.2242 14.0559 15.141 14.1926 15.0842C14.3294 15.0274 14.476 14.9982 14.6241 14.9982C14.7721 14.9982 14.9187 15.0274 15.0555 15.0842C15.1922 15.141 15.3164 15.2242 15.4209 15.3291ZM7.82719 14.5791C7.67025 14.7366 7.56349 14.937 7.5204 15.1551C7.47731 15.3733 7.49981 15.5993 7.58508 15.8046C7.67034 16.0099 7.81454 16.1854 7.99946 16.3088C8.18438 16.4323 8.40173 16.4982 8.62407 16.4982C8.8464 16.4982 9.06376 16.4323 9.24868 16.3088C9.4336 16.1854 9.57779 16.0099 9.66306 15.8046C9.74832 15.5993 9.77083 15.3733 9.72773 15.1551C9.68464 14.937 9.57788 14.7366 9.42094 14.5791C9.31646 14.4745 9.19239 14.3915 9.05581 14.3349C8.91924 14.2783 8.77285 14.2491 8.625 14.2491C8.47716 14.2491 8.33077 14.2783 8.1942 14.3349C8.05762 14.3915 7.93355 14.4745 7.82907 14.5791H7.82719ZM8.67094 10.9228C8.82788 10.7653 8.93464 10.5649 8.97773 10.3467C9.02083 10.1286 8.99832 9.90262 8.91306 9.69728C8.82779 9.49194 8.6836 9.31647 8.49868 9.19303C8.31376 9.06958 8.0964 9.0037 7.87407 9.0037C7.65173 9.0037 7.43438 9.06958 7.24946 9.19303C7.06454 9.31647 6.92034 9.49194 6.83508 9.69728C6.74981 9.90262 6.72731 10.1286 6.7704 10.3467C6.81349 10.5649 6.92025 10.7653 7.07719 10.9228C7.18183 11.0276 7.30612 11.1106 7.44293 11.1673C7.57975 11.2239 7.72639 11.2529 7.87446 11.2528C8.02252 11.2526 8.1691 11.2232 8.30578 11.1662C8.44245 11.1093 8.56655 11.0259 8.67094 10.9209V10.9228ZM13.1709 10.8291C13.0135 10.6721 12.813 10.5654 12.5949 10.5223C12.3767 10.4792 12.1507 10.5017 11.9454 10.5869C11.7401 10.6722 11.5646 10.8164 11.4412 11.0013C11.3177 11.1862 11.2518 11.4036 11.2518 11.6259C11.2518 11.8483 11.3177 12.0656 11.4412 12.2505C11.5646 12.4355 11.7401 12.5797 11.9454 12.6649C12.1507 12.7502 12.3767 12.7727 12.5949 12.7296C12.813 12.6865 13.0135 12.5798 13.1709 12.4228C13.2758 12.3183 13.359 12.1941 13.4158 12.0574C13.4726 11.9206 13.5018 11.774 13.5018 11.6259C13.5018 11.4779 13.4726 11.3313 13.4158 11.1945C13.359 11.0578 13.2758 10.9336 13.1709 10.8291ZM21.75 12C21.75 13.9284 21.1782 15.8134 20.1068 17.4168C19.0355 19.0202 17.5127 20.2699 15.7312 21.0078C13.9496 21.7458 11.9892 21.9389 10.0979 21.5627C8.20656 21.1865 6.46928 20.2579 5.10571 18.8943C3.74215 17.5307 2.81355 15.7934 2.43735 13.9021C2.06114 12.0108 2.25422 10.0504 2.99218 8.26884C3.73013 6.48726 4.97982 4.96451 6.58319 3.89317C8.18657 2.82183 10.0716 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3C12.75 3.99456 13.1451 4.94839 13.8484 5.65165C14.5516 6.35491 15.5054 6.75 16.5 6.75C16.6989 6.75 16.8897 6.82902 17.0303 6.96967C17.171 7.11032 17.25 7.30109 17.25 7.5C17.25 8.49456 17.6451 9.44839 18.3484 10.1517C19.0516 10.8549 20.0054 11.25 21 11.25C21.1989 11.25 21.3897 11.329 21.5303 11.4697C21.671 11.6103 21.75 11.8011 21.75 12ZM20.2209 12.6928C19.0977 12.5223 18.0598 11.9929 17.2623 11.1836C16.4649 10.3744 15.9508 9.32878 15.7969 8.20312C14.6712 8.0492 13.6256 7.5351 12.8164 6.73768C12.0071 5.94025 11.4777 4.90233 11.3072 3.77906C9.74009 3.91115 8.24339 4.48839 6.99343 5.44279C5.74348 6.39719 4.79235 7.68897 4.25212 9.16593C3.71189 10.6429 3.60507 12.2435 3.94423 13.7791C4.2834 15.3148 5.05442 16.7215 6.16646 17.8335C7.2785 18.9456 8.68522 19.7166 10.2209 20.0558C11.7565 20.3949 13.3571 20.2881 14.8341 19.7479C16.311 19.2077 17.6028 18.2565 18.5572 17.0066C19.5116 15.7566 20.0889 14.2599 20.2209 12.6928Z",fill:"#007AFF"})],-1)];function G6(t,e){return o.openBlock(),o.createElementBlock("svg",yA,[...wA])}const bA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G6},render:G6},Symbol.toStringTag,{value:"Module"})),kA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},CA=[o.createElementVNode("path",{d:"M6.6665 6.74984V3.4165H17.0832V14.2498H13.7498M13.7498 6.74984V17.5832H2.9165V6.74984H13.7498Z",stroke:"#1C2026","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function K6(t,e){return o.openBlock(),o.createElementBlock("svg",kA,[...CA])}const xA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K6},render:K6},Symbol.toStringTag,{value:"Module"})),MA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},SA=[o.createElementVNode("path",{d:"M6.25 6.25L13.75 13.75M13.75 6.25L6.25 13.75",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function X6(t,e){return o.openBlock(),o.createElementBlock("svg",MA,[...SA])}const vA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),TA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},DA=[o.createElementVNode("path",{d:"M10 7.01888V6.13925M10 14.9355V15.8152M12.0834 8.47721C11.7031 7.95137 10.814 7.45869 10 7.45869C9.04811 7.45869 7.80097 7.86596 7.80097 9.02248C7.80097 11.527 12.1991 10.473 12.1991 12.8648C12.1991 14.0126 10.9669 14.4957 10 14.4957C9.18607 14.4957 8.1812 14.0031 7.80097 13.4772M17.9167 10.9772C17.9167 15.3495 14.3723 18.8939 10 18.8939C5.62779 18.8939 2.08337 15.3495 2.08337 10.9772C2.08337 6.60496 5.62779 3.06055 10 3.06055C14.3723 3.06055 17.9167 6.60496 17.9167 10.9772Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function J6(t,e){return o.openBlock(),o.createElementBlock("svg",TA,[...DA])}const OA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),EA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},$A=[o.createElementVNode("path",{d:"M16.0834 2.91602H3.91675C3.36446 2.91602 2.91675 3.36373 2.91675 3.91601V5.87943C2.91675 6.11814 3.00214 6.34897 3.15749 6.53022L7.676 11.8018C7.83136 11.9831 7.91675 12.2139 7.91675 12.4526V16.8556C7.91675 17.5631 8.63127 18.0469 9.28814 17.7841L11.4548 16.9175C11.8345 16.7656 12.0834 16.3979 12.0834 15.989V12.4526C12.0834 12.2139 12.1688 11.9831 12.3242 11.8018L16.8427 6.53022C16.998 6.34897 17.0834 6.11814 17.0834 5.87943V3.91602C17.0834 3.36373 16.6357 2.91602 16.0834 2.91602Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1)];function Q6(t,e){return o.openBlock(),o.createElementBlock("svg",EA,[...$A])}const PA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),LA={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VA=[o.createElementVNode("path",{id:"vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6801 2.76287C14.6095 -0.544651 19.3885 -0.544659 21.3179 2.76287L33.0144 22.8141C34.9589 26.1474 32.5545 30.3334 28.6955 30.3334H5.30245C1.4435 30.3334 -0.960859 26.1474 0.983558 22.8141L12.6801 2.76287ZM17.0007 10.3335C17.9211 10.3335 18.6673 11.0797 18.6673 12.0002V17.0002C18.6673 17.9206 17.9211 18.6668 17.0007 18.6668C16.0802 18.6668 15.334 17.9206 15.334 17.0002V12.0002C15.334 11.0797 16.0802 10.3335 17.0007 10.3335ZM14.9173 22.0002C14.9173 20.8496 15.8501 19.9168 17.0007 19.9168C18.1512 19.9168 19.084 20.8496 19.084 22.0002C19.084 23.1508 18.1512 24.0835 17.0007 24.0835C15.8501 24.0835 14.9173 23.1508 14.9173 22.0002Z",fill:"currentColor"},null,-1)];function e_(t,e){return o.openBlock(),o.createElementBlock("svg",LA,[...VA])}const NA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),BA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AA=[o.createStaticVNode('<g id="Date_range_light"><rect id="Rectangle" x="2.5" y="5" width="15" height="12.5" rx="2" stroke="currentColor"></rect><path id="Rectangle_2" d="M2.5 8.33333C2.5 7.08718 2.5 6.4641 2.76795 6C2.94349 5.69596 3.19596 5.44349 3.5 5.26795C3.9641 5 4.58718 5 5.83333 5H14.1667C15.4128 5 16.0359 5 16.5 5.26795C16.804 5.44349 17.0565 5.69596 17.2321 6C17.5 6.4641 17.5 7.08718 17.5 8.33333H2.5Z" fill="currentColor"></path><path id="Line" d="M5.83331 2.5L5.83331 5" stroke="currentColor" stroke-linecap="round"></path><path id="Line_2" d="M14.1667 2.5L14.1667 5" stroke="currentColor" stroke-linecap="round"></path><rect id="Rectangle_3" x="5.83331" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_4" x="5.83331" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_5" x="10.8333" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_6" x="10.8333" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect></g>',1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",BA,[...AA])}const FA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),RA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},IA=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function n_(t,e){return o.openBlock(),o.createElementBlock("svg",RA,[...IA])}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),zA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},YA=[o.createElementVNode("path",{d:"M7.66666 3.33193C7.9428 3.33193 8.16666 3.10807 8.16666 2.83193C8.16666 2.55579 7.9428 2.33193 7.66666 2.33193V3.33193ZM14.1667 8.83193C14.1667 8.55579 13.9428 8.33193 13.6667 8.33193C13.3905 8.33193 13.1667 8.55579 13.1667 8.83193H14.1667ZM2.69733 14.0926L2.92433 13.6471L2.92433 13.6471L2.69733 14.0926ZM2.40599 13.8013L1.96049 14.0283L1.96049 14.0283L2.40599 13.8013ZM13.3027 14.0926L13.5297 14.5381L13.5297 14.5381L13.3027 14.0926ZM13.594 13.8013L14.0395 14.0283L14.0395 14.0283L13.594 13.8013ZM2.40599 3.19594L1.96049 2.96894L1.96049 2.96894L2.40599 3.19594ZM2.69733 2.90459L2.47034 2.45909L2.47034 2.45909L2.69733 2.90459ZM8.33333 6.16526L7.97978 5.81171C7.88601 5.90548 7.83333 6.03266 7.83333 6.16526H8.33333ZM8.33333 8.16526H7.83333C7.83333 8.44141 8.05719 8.66526 8.33333 8.66526V8.16526ZM10.3333 8.16526V8.66526C10.4659 8.66526 10.5931 8.61259 10.6869 8.51882L10.3333 8.16526ZM11.8619 2.63667L12.2155 2.99022L12.2155 2.99022L11.8619 2.63667ZM12.8047 2.63667L12.4512 2.99022L12.4512 2.99022L12.8047 2.63667ZM13.8619 3.69386L13.5084 4.04741L13.5084 4.04741L13.8619 3.69386ZM13.8619 4.63667L14.2155 4.99022L14.2155 4.99022L13.8619 4.63667ZM12.6 13.6653H3.39999V14.6653H12.6V13.6653ZM2.83333 13.0986V3.8986H1.83333V13.0986H2.83333ZM3.39999 3.33193H7.66666V2.33193H3.39999V3.33193ZM13.1667 8.83193V13.0986H14.1667V8.83193H13.1667ZM3.39999 13.6653C3.20506 13.6653 3.08893 13.6649 3.00285 13.6578C2.9226 13.6513 2.9134 13.6415 2.92433 13.6471L2.47034 14.5381C2.62388 14.6163 2.77933 14.6429 2.92141 14.6545C3.05767 14.6657 3.22156 14.6653 3.39999 14.6653V13.6653ZM1.83333 13.0986C1.83333 13.277 1.83294 13.4409 1.84407 13.5772C1.85568 13.7193 1.88226 13.8747 1.96049 14.0283L2.85149 13.5743C2.85706 13.5852 2.84731 13.576 2.84075 13.4957C2.83372 13.4097 2.83333 13.2935 2.83333 13.0986H1.83333ZM2.92433 13.6471C2.89297 13.6311 2.86747 13.6056 2.85149 13.5743L1.96049 14.0283C2.07234 14.2478 2.25082 14.4263 2.47034 14.5381L2.92433 13.6471ZM12.6 14.6653C12.7784 14.6653 12.9423 14.6657 13.0786 14.6545C13.2207 14.6429 13.3761 14.6163 13.5297 14.5381L13.0757 13.6471C13.0866 13.6415 13.0774 13.6513 12.9971 13.6578C12.9111 13.6649 12.7949 13.6653 12.6 13.6653V14.6653ZM13.1667 13.0986C13.1667 13.2935 13.1663 13.4097 13.1592 13.4957C13.1527 13.576 13.1429 13.5852 13.1485 13.5743L14.0395 14.0283C14.1177 13.8747 14.1443 13.7193 14.1559 13.5772C14.1671 13.4409 14.1667 13.277 14.1667 13.0986H13.1667ZM13.5297 14.5381C13.7492 14.4263 13.9277 14.2478 14.0395 14.0283L13.1485 13.5743C13.1325 13.6056 13.107 13.6311 13.0757 13.6471L13.5297 14.5381ZM2.83333 3.8986C2.83333 3.70366 2.83372 3.58753 2.84075 3.50145C2.84731 3.4212 2.85706 3.412 2.85149 3.42293L1.96049 2.96894C1.88226 3.12248 1.85568 3.27793 1.84407 3.42002C1.83294 3.55627 1.83333 3.72016 1.83333 3.8986H2.83333ZM3.39999 2.33193C3.22156 2.33193 3.05767 2.33154 2.92141 2.34267C2.77933 2.35428 2.62388 2.38086 2.47034 2.45909L2.92433 3.3501C2.9134 3.35567 2.9226 3.34591 3.00285 3.33935C3.08893 3.33232 3.20506 3.33193 3.39999 3.33193V2.33193ZM2.85149 3.42293C2.86747 3.39157 2.89297 3.36608 2.92433 3.3501L2.47034 2.45909C2.25082 2.57094 2.07234 2.74942 1.96049 2.96894L2.85149 3.42293ZM7.83333 6.16526V8.16526H8.83333V6.16526H7.83333ZM8.33333 8.66526H10.3333V7.66526H8.33333V8.66526ZM8.68688 6.51882L12.2155 2.99022L11.5084 2.28312L7.97978 5.81171L8.68688 6.51882ZM12.4512 2.99022L13.5084 4.04741L14.2155 3.34031L13.1583 2.28312L12.4512 2.99022ZM13.5084 4.28312L9.97978 7.81171L10.6869 8.51882L14.2155 4.99022L13.5084 4.28312ZM13.5084 4.04741C13.5735 4.1125 13.5735 4.21803 13.5084 4.28312L14.2155 4.99022C14.6711 4.53461 14.6711 3.79592 14.2155 3.34031L13.5084 4.04741ZM12.2155 2.99022C12.2806 2.92513 12.3861 2.92513 12.4512 2.99022L13.1583 2.28312C12.7027 1.8275 11.964 1.8275 11.5084 2.28312L12.2155 2.99022Z",fill:"#8E8E93"},null,-1)];function r_(t,e){return o.openBlock(),o.createElementBlock("svg",zA,[...YA])}const WA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),jA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},ZA=[o.createElementVNode("path",{d:"M9.00033 4.4999L11.1956 2.30464C11.4559 2.04429 11.878 2.04429 12.1384 2.30464L14.1956 4.36183C14.4559 4.62218 14.4559 5.04429 14.1956 5.30464L12.0003 7.4999M9.00033 4.4999L1.86225 11.638C1.73723 11.763 1.66699 11.9326 1.66699 12.1094V14.8332H4.39085C4.56766 14.8332 4.73723 14.763 4.86225 14.638L12.0003 7.4999M9.00033 4.4999L12.0003 7.4999",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function s_(t,e){return o.openBlock(),o.createElementBlock("svg",jA,[...ZA])}const UA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),qA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GA=[o.createElementVNode("g",{id:"eye-slash, hide, eye off, see, look, not visible"},[o.createElementVNode("path",{id:"vector",d:"M6.61522 4.0171L6.16217 4.22863L6.58523 5.13473L7.03828 4.9232L6.61522 4.0171ZM18.3333 10.0003L18.7836 10.2176L18.8885 10.0003L18.7836 9.78291L18.3333 10.0003ZM15.5482 13.2014L15.1996 13.5597L15.9164 14.257L16.265 13.8986L15.5482 13.2014ZM8.58575 7.879L8.23219 7.52545L7.52509 8.23256L7.87864 8.58611L8.58575 7.879ZM11.4142 12.1216L11.7677 12.4752L12.4748 11.7681L12.1213 11.4145L11.4142 12.1216ZM1.66663 10.0004L1.21635 9.783L1.11141 10.0004L1.21635 10.2177L1.66663 10.0004ZM5.44185 5.9087L5.83601 5.60107L5.22076 4.81274L4.8266 5.12037L5.44185 5.9087ZM8.45097 8.73505L8.76756 8.34805L7.99355 7.71487L7.67696 8.10187L8.45097 8.73505ZM11.8719 12.3448L12.2625 12.0326L11.6381 11.2515L11.2475 11.5636L11.8719 12.3448ZM14.683 15.2394L15.0953 14.9566L14.5297 14.132L14.1174 14.4147L14.683 15.2394ZM7.03828 4.9232C8.93441 4.03789 10.9848 4.02635 12.8844 4.88762C14.7897 5.75148 16.5759 7.51002 17.883 10.2176L18.7836 9.78291C17.3966 6.90986 15.4577 4.95638 13.2974 3.97686C11.1313 2.99476 8.77544 3.00849 6.61522 4.0171L7.03828 4.9232ZM16.265 13.8986C17.2196 12.9174 18.0735 11.6885 18.7836 10.2176L17.883 9.78291C17.2144 11.1679 16.4197 12.3055 15.5482 13.2014L16.265 13.8986ZM9.99996 12.0003C8.89539 12.0003 7.99996 11.1049 7.99996 10.0003H6.99996C6.99996 11.6572 8.34311 13.0003 9.99996 13.0003V12.0003ZM7.87864 8.58611L11.4142 12.1216L12.1213 11.4145L8.58575 7.879L7.87864 8.58611ZM1.93807 2.64555L17.3547 18.0622L18.0618 17.3551L2.64518 1.93844L1.93807 2.64555ZM1.93807 2.64555L4.99681 5.70428L5.70392 4.99718L2.64518 1.93844L1.93807 2.64555ZM4.99681 5.70428L14.296 15.0035L15.0031 14.2964L5.70392 4.99718L4.99681 5.70428ZM14.296 15.0035L17.3547 18.0622L18.0618 17.3551L15.0031 14.2964L14.296 15.0035ZM2.1169 10.2177C3.03149 8.32318 4.18155 6.89229 5.44185 5.9087L4.8266 5.12037C3.42791 6.21196 2.18733 7.77163 1.21635 9.783L2.1169 10.2177ZM7.99996 10.0003C7.99996 9.51973 8.16884 9.07992 8.45097 8.73505L7.67696 8.10187C7.25405 8.61884 6.99996 9.28058 6.99996 10.0003H7.99996ZM11.2475 11.5636C10.9054 11.8371 10.4724 12.0003 9.99996 12.0003V13.0003C10.7074 13.0003 11.3589 12.7548 11.8719 12.3448L11.2475 11.5636ZM1.21635 10.2177C2.74591 13.3862 4.94766 15.437 7.37506 16.2947C9.8101 17.1551 12.4168 16.7936 14.683 15.2394L14.1174 14.4147C12.1009 15.7977 9.82648 16.1003 7.70822 15.3518C5.58233 14.6007 3.55863 12.7695 2.1169 9.783L1.21635 10.2177Z",fill:"currentColor"})],-1)];function i_(t,e){return o.openBlock(),o.createElementBlock("svg",qA,[...GA])}const KA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),XA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JA=[o.createElementVNode("path",{d:"M1.66663 10L1.21635 9.78265L1.11141 10L1.21635 10.2174L1.66663 10ZM18.3333 9.99993L18.7836 10.2173L18.8885 9.99993L18.7836 9.78256L18.3333 9.99993ZM2.1169 10.2174C4.06897 6.17373 7.08064 4.25002 9.99996 4.25C12.9193 4.24998 15.9309 6.17364 17.883 10.2173L18.7836 9.78256C16.7128 5.49292 13.4025 3.24997 9.99996 3.25C6.59739 3.25003 3.28716 5.49301 1.21635 9.78265L2.1169 10.2174ZM1.21635 10.2174C3.28716 14.507 6.59739 16.75 9.99996 16.75C13.4025 16.7499 16.7128 14.5069 18.7836 10.2173L17.883 9.78256C15.9309 13.8262 12.9193 15.7499 9.99996 15.75C7.08063 15.75 4.06897 13.8263 2.1169 9.78265L1.21635 10.2174ZM12 10C12 11.1046 11.1045 12 9.99996 12V13C11.6568 13 13 11.6569 13 10H12ZM9.99996 12C8.89539 12 7.99996 11.1046 7.99996 10H6.99996C6.99996 11.6569 8.34311 13 9.99996 13V12ZM7.99996 10C7.99996 8.89543 8.89539 8 9.99996 8V7C8.34311 7 6.99996 8.34315 6.99996 10H7.99996ZM9.99996 8C11.1045 8 12 8.89543 12 10H13C13 8.34315 11.6568 7 9.99996 7V8Z",fill:"currentColor"},null,-1)];function o_(t,e){return o.openBlock(),o.createElementBlock("svg",XA,[...JA])}const QA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),eF={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tF=[o.createElementVNode("g",{id:"file-bend, document"},[o.createElementVNode("path",{id:"vector",d:"M13.25 4.23895V10.2344H19.2501M5.25 3.73438H13.25L19.75 10.2344V22.2344H5.25V3.73438Z",stroke:"#007AFF","stroke-width":"1.5","stroke-linecap":"round"})],-1)];function a_(t,e){return o.openBlock(),o.createElementBlock("svg",eF,[...tF])}const nF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),rF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},sF=[o.createElementVNode("path",{d:"M16.0833 2.91797H3.91666C3.36437 2.91797 2.91666 3.36568 2.91666 3.91797V5.88138C2.91666 6.12009 3.00205 6.35093 3.1574 6.53217L7.67591 11.8038C7.83126 11.985 7.91666 12.2158 7.91666 12.4546V16.8576C7.91666 17.5651 8.63118 18.0488 9.28805 17.7861L11.4547 16.9194C11.8344 16.7675 12.0833 16.3998 12.0833 15.9909V12.4546C12.0833 12.2158 12.1687 11.985 12.3241 11.8038L16.8426 6.53217C16.9979 6.35093 17.0833 6.12009 17.0833 5.88138V3.91797C17.0833 3.36568 16.6356 2.91797 16.0833 2.91797Z",stroke:"#1C2026","stroke-linejoin":"round"},null,-1)];function l_(t,e){return o.openBlock(),o.createElementBlock("svg",rF,[...sF])}const iF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),oF={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aF=[o.createElementVNode("path",{id:"vector",d:"M2.08333 7.58317V2.58317C2.08333 1.6627 2.82953 0.916504 3.75 0.916504H7.44136C7.99862 0.916504 8.519 1.19501 8.82811 1.65867L9.50522 2.67434C9.81433 3.138 10.3347 3.4165 10.892 3.4165H16.25C17.1705 3.4165 17.9167 4.1627 17.9167 5.08317V12.5832C17.9167 13.5036 17.1705 14.2498 16.25 14.2498H8.75M3.75 10.0832V12.5832M3.75 12.5832V15.0832M3.75 12.5832H1.25M3.75 12.5832H6.25",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function c_(t,e){return o.openBlock(),o.createElementBlock("svg",oF,[...aF])}const lF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),cF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dF=[o.createElementVNode("g",{id:"folder-open"},[o.createElementVNode("path",{id:"vector",d:"M4.5835 16.2503L6.66683 9.16699H17.0835M4.5835 16.2503H16.4585L18.5418 9.16699H17.0835M4.5835 16.2503H2.0835V2.91699H8.3335L10.0002 5.41699H17.0835V9.16699",stroke:"currentColor","stroke-linecap":"round"})],-1)];function d_(t,e){return o.openBlock(),o.createElementBlock("svg",cF,[...dF])}const uF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),hF={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fF=[o.createStaticVNode('<path d="M24.6298 6.08302L20.7811 13.0454L16.8629 20.132L16.0137 21.6615C15.4079 22.759 14.2508 23.4393 12.9944 23.4393C11.7379 23.4393 10.5809 22.759 9.975 21.6516L9.13574 20.122L13.0043 13.0206L16.848 5.95887L18.5961 2.7508C19.5197 1.08718 21.6154 0.481319 23.279 1.405C24.9427 2.32869 25.5485 4.42436 24.6248 6.08798H24.6348L24.6298 6.08302Z" fill="url(#f)"></path><path d="M9.16962 5.943L5.23651 13.0296L1.36797 6.03736C0.454215 4.3638 1.06007 2.26813 2.7237 1.34941C4.39725 0.43566 6.49292 1.04152 7.40667 2.70514L9.15969 5.94797H9.16962V5.943Z" fill="url(#g)"></path><path d="M16.8459 5.95703L13.0022 13.0187L9.13361 20.1202L7.40542 23.3034C6.48174 24.9671 4.38607 25.563 2.71748 24.6443C1.05385 23.7206 0.457922 21.6249 1.37664 19.9613L5.22533 13.0336L9.15843 5.9471L9.9828 4.46721C10.5887 3.36972 11.7457 2.69434 12.9922 2.69434C14.2387 2.69434 15.3958 3.37468 16.0017 4.46721L16.831 5.96199L16.8409 5.95206L16.8459 5.95703Z" fill="url(#n)"></path><path d="M23.2844 24.6409C22.753 24.9339 22.1769 25.0729 21.6108 25.0729C20.4041 25.0729 19.2222 24.4323 18.5915 23.3001L16.8633 20.1168L20.7815 13.0303L24.6252 19.948C25.5489 21.6116 24.948 23.7073 23.2844 24.631V24.6409Z" fill="url(#m)"></path><defs><linearGradient id="f" x1="11.1023" y1="24.3432" x2="22.0276" y2="3.09843" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="g" x1="13.8029" y1="21.0845" x2="3.37424" y2="2.65549" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="n" x1="15.0829" y1="3.11645" x2="1.89312" y2="25.3544" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="m" x1="17.3202" y1="13.8646" x2="24.0541" y2="26.0612" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient></defs>',5)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",hF,[...fF])}const mF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),pF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C12.6502 0 15.1938 1.05357 17.0691 2.92893C18.9445 4.8043 19.998 7.34783 19.998 10C19.998 12.6522 18.9445 15.1957 17.0691 17.0711C15.1938 18.9464 12.6502 20 9.99805 20L9.99805 17.5C11.9872 17.5 13.8948 16.7098 15.3013 15.3033C16.7079 13.8968 17.498 11.9891 17.498 10C17.498 8.01088 16.7079 6.10322 15.3013 4.6967C13.8948 3.29018 11.9872 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",pF,[...gF])}const _F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),yF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C15.5209 0 19.998 4.47715 19.998 10C19.998 15.5228 15.5209 20 9.99805 20C4.4752 20 -0.00195312 15.5228 -0.00195312 10C-0.00195312 4.47715 4.4752 0 9.99805 0ZM9.99805 17.5C14.1402 17.5 17.498 14.1421 17.498 10C17.498 5.85786 14.1402 2.5 9.99805 2.5C5.85591 2.5 2.49805 5.85786 2.49805 10C2.49805 14.1421 5.85591 17.5 9.99805 17.5Z",fill:"#007AFF"},null,-1)];function f_(t,e){return o.openBlock(),o.createElementBlock("svg",yF,[...wF])}const bF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),kF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},CF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#F2F2F2"},null,-1)];function m_(t,e){return o.openBlock(),o.createElementBlock("svg",kF,[...CF])}const xF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),MF={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SF=[o.createStaticVNode('<g id="google-authenticator-3 1" clip-path="url(#clip0_2798_100151)"><path id="Vector" d="M24 11.5003C24 12.6548 23.095 13.5897 21.9775 13.5897H15L12 7.32163L15.2375 1.52876C15.7975 0.529276 17.0325 0.188367 18 0.764296C18.9675 1.34281 19.2975 2.61864 18.74 3.61812L15.5025 9.41099H21.9775C23.095 9.41099 24 10.3459 24 11.5003Z" fill="#1A73E8"></path><path id="Vector_2" d="M18.0002 22.2347C17.0327 22.8107 15.7977 22.4698 15.2377 21.4703L12.0002 15.6774L8.76272 21.4703C8.20272 22.4698 6.96772 22.8107 6.00022 22.2347C5.03272 21.6562 4.70272 20.3804 5.26022 19.3809L8.49772 13.5881L12.0002 13.4512L15.5027 13.5881L18.7402 19.3809C19.2977 20.3804 18.9677 21.6562 18.0002 22.2347Z" fill="#EA4335"></path><path id="Vector_3" d="M12.0002 7.32163L11.0877 9.88361L8.49772 9.41099L5.26022 3.61812C4.70272 2.61864 5.03272 1.34281 6.00022 0.764296C6.96772 0.188367 8.20272 0.529276 8.76272 1.52876L12.0002 7.32163Z" fill="#FBBC04"></path><path id="Vector_4" d="M11.4775 9.41016L9.13 13.5889H2.0225C0.905 13.5889 0 12.654 0 11.4995C0 10.3451 0.905 9.41016 2.0225 9.41016H11.4775Z" fill="#34A853"></path><path id="Vector_5" d="M15.5026 13.5884H8.49756L12.0001 7.32031L15.5026 13.5884Z" fill="#185DB7"></path></g><defs><clipPath id="clip0_2798_100151"><rect width="24" height="22.9091" fill="white" transform="translate(0 0.0449219)"></rect></clipPath></defs>',2)];function p_(t,e){return o.openBlock(),o.createElementBlock("svg",MF,[...SF])}const vF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),TF={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DF=[o.createStaticVNode('<g id="7123025_logo_google_g_icon 1"><g id="Group"><path id="Vector" d="M19.9498 12.1755C19.9498 11.6795 19.9018 11.1675 19.8218 10.6875H12.8938V13.5195H16.8618C16.7018 14.4315 16.1738 15.2315 15.3898 15.7435L17.7578 17.5835C19.1498 16.2875 19.9498 14.3995 19.9498 12.1755Z" fill="#4280EF"></path><path id="Vector_2" d="M12.8957 19.3458C14.8797 19.3458 16.5437 18.6898 17.7597 17.5698L15.3917 15.7458C14.7357 16.1938 13.8877 16.4498 12.8957 16.4498C10.9757 16.4498 9.35969 15.1538 8.76769 13.4258L6.33569 15.2978C7.58369 17.7778 10.1117 19.3458 12.8957 19.3458Z" fill="#34A353"></path><path id="Vector_3" d="M8.76717 13.4071C8.46318 12.4951 8.46318 11.5031 8.76717 10.5911L6.33518 8.70312C5.29518 10.7831 5.29518 13.2311 6.33518 15.2951L8.76717 13.4071Z" fill="#F6B704"></path><path id="Vector_4" d="M12.8957 7.56853C13.9357 7.55253 14.9597 7.95253 15.7117 8.67253L17.8077 6.56053C16.4797 5.31253 14.7197 4.64053 12.8957 4.65653C10.1117 4.65653 7.58369 6.22453 6.33569 8.70453L8.76769 10.5925C9.35969 8.84853 10.9757 7.56853 12.8957 7.56853Z" fill="#E54335"></path></g></g>',1)];function g_(t,e){return o.openBlock(),o.createElementBlock("svg",TF,[...DF])}const OF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),EF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},$F=[o.createElementVNode("path",{d:"M2.29297 9.99984H17.7096M2.29297 4.7915H17.7096M2.29297 15.2082H17.7096",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function __(t,e){return o.openBlock(),o.createElementBlock("svg",EF,[...$F])}const PF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),LF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VF=[o.createElementVNode("path",{d:"M5.24982 3.1215L4.79677 3.33303L5.21983 4.23914L5.67288 4.02761L5.24982 3.1215ZM14.6666 7.99866L15.1169 8.21603L15.2218 7.99866L15.1169 7.78129L14.6666 7.99866ZM12.3668 10.4898L12.0182 10.8482L12.735 11.5455L13.0836 11.1871L12.3668 10.4898ZM6.93926 6.23093L6.58571 5.87738L5.8786 6.58448L6.23215 6.93804L6.93926 6.23093ZM9.06058 9.76647L9.41413 10.12L10.1212 9.41291L9.76769 9.05936L9.06058 9.76647ZM1.33325 7.99874L0.882974 7.78137L0.77804 7.99874L0.882974 8.21611L1.33325 7.99874ZM4.41495 4.80423L4.80912 4.4966L4.19387 3.70827L3.7997 4.0159L4.41495 4.80423ZM6.83812 7.0498L7.15471 6.66279L6.38071 6.02961L6.06412 6.41662L6.83812 7.0498ZM9.55991 9.95236L9.95047 9.64018L9.32609 8.85905L8.93553 9.17124L9.55991 9.95236ZM11.8029 12.2725L12.2152 11.9897L11.6497 11.165L11.2373 11.4478L11.8029 12.2725ZM5.67288 4.02761C7.16338 3.33169 8.77318 3.32268 10.2662 3.99961C11.7649 4.67913 13.1786 6.06647 14.2163 8.21603L15.1169 7.78129C13.9993 5.46631 12.4329 3.88403 10.6791 3.08885C8.9196 2.29108 7.00441 2.30229 5.24982 3.1215L5.67288 4.02761ZM13.0836 11.1871C13.8556 10.3935 14.5447 9.40127 15.1169 8.21603L14.2163 7.78129C13.6856 8.88071 13.0558 9.78162 12.3668 10.4898L13.0836 11.1871ZM7.99992 9.4987C7.17149 9.4987 6.49992 8.82713 6.49992 7.9987H5.49992C5.49992 9.37941 6.61921 10.4987 7.99992 10.4987V9.4987ZM6.23215 6.93804L9.06058 9.76647L9.76769 9.05936L6.93926 6.23093L6.23215 6.93804ZM1.4797 2.18558L13.813 14.5189L14.5201 13.8118L2.18681 1.47848L1.4797 2.18558ZM1.4797 2.18558L3.92669 4.63258L4.6338 3.92547L2.18681 1.47848L1.4797 2.18558ZM3.92669 4.63258L11.366 12.0719L12.0731 11.3648L4.6338 3.92547L3.92669 4.63258ZM11.366 12.0719L13.813 14.5189L14.5201 13.8118L12.0731 11.3648L11.366 12.0719ZM1.78353 8.21611C2.50956 6.71214 3.42056 5.5803 4.41495 4.80423L3.7997 4.0159C2.66692 4.89998 1.6654 6.16059 0.882974 7.78137L1.78353 8.21611ZM6.49992 7.9987C6.49992 7.63814 6.6265 7.30849 6.83812 7.0498L6.06412 6.41662C5.71172 6.8474 5.49992 7.39899 5.49992 7.9987H6.49992ZM8.93553 9.17124C8.6789 9.37637 8.35438 9.4987 7.99992 9.4987V10.4987C8.58938 10.4987 9.13242 10.2941 9.55991 9.95236L8.93553 9.17124ZM0.882974 8.21611C2.11541 10.7691 3.89461 12.4317 5.86668 13.1285C7.8464 13.828 9.96502 13.5329 11.8029 12.2725L11.2373 11.4478C9.64906 12.537 7.86277 12.7732 6.19985 12.1856C4.52928 11.5953 2.92813 10.1524 1.78353 7.78137L0.882974 8.21611Z",fill:"#7F7F83"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",LF,[...VF])}const NF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),BF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AF=[o.createElementVNode("g",{id:"home-line"},[o.createElementVNode("path",{id:"vector",d:"M8.31137 2.6316L8.7863 3.21206L8.31137 2.6316ZM9.54856 1.79906L9.75171 2.52102L9.54856 1.79906ZM11.6886 2.6316L11.2137 3.21206L11.6886 2.6316ZM10.4514 1.79906L10.2483 2.52102L10.4514 1.79906ZM4.03502 16.6933L4.37551 16.0251L4.03502 16.6933ZM3.125 14.2083H3.875H3.125ZM3.30666 15.965L3.97491 15.6245L3.30666 15.965ZM16.6933 15.965L16.0251 15.6245L16.6933 15.965ZM15.965 16.6933L15.6245 16.0251L15.965 16.6933ZM16.8166 7.22743L17.5403 7.03063L16.8166 7.22743ZM15.897 6.07478L15.422 6.65525L15.897 6.07478ZM16.5652 6.69701L15.9546 7.13251L16.5652 6.69701ZM3.125 8.13866H2.375H3.125ZM3.18341 7.22743L2.45969 7.03063L3.18341 7.22743ZM4.10303 6.07478L3.6281 5.49431L4.10303 6.07478ZM3.43476 6.69701L4.04537 7.13251H4.04537L3.43476 6.69701ZM6.45833 12.7917C6.04412 12.7917 5.70833 13.1274 5.70833 13.5417C5.70833 13.9559 6.04412 14.2917 6.45833 14.2917V12.7917ZM13.5417 14.2917C13.9559 14.2917 14.2917 13.9559 14.2917 13.5417C14.2917 13.1274 13.9559 12.7917 13.5417 12.7917V14.2917ZM16.125 8.13866V14.2083H17.625V8.13866H16.125ZM14.2083 16.125H5.79167V17.625H14.2083V16.125ZM3.875 14.2083V8.13866H2.375V14.2083H3.875ZM4.57796 6.65525L8.7863 3.21206L7.83644 2.05113L3.6281 5.49431L4.57796 6.65525ZM11.2137 3.21206L15.422 6.65525L16.3719 5.49431L12.1636 2.05113L11.2137 3.21206ZM8.7863 3.21206C9.09564 2.95896 9.29647 2.79527 9.46067 2.68011C9.61712 2.57038 9.69739 2.53631 9.75171 2.52102L9.34541 1.0771C9.06494 1.15602 8.82742 1.2921 8.59937 1.45203C8.37907 1.60654 8.1287 1.81201 7.83644 2.05113L8.7863 3.21206ZM12.1636 2.05113C11.8713 1.81201 11.6209 1.60654 11.4006 1.45203C11.1726 1.2921 10.9351 1.15602 10.6546 1.0771L10.2483 2.52102C10.3026 2.53631 10.3829 2.57038 10.5393 2.68011C10.7035 2.79527 10.9044 2.95896 11.2137 3.21206L12.1636 2.05113ZM9.75171 2.52102C9.91408 2.47533 10.0859 2.47533 10.2483 2.52102L10.6546 1.0771C10.2265 0.956641 9.77349 0.956641 9.34541 1.0771L9.75171 2.52102ZM5.79167 16.125C5.31258 16.125 4.99837 16.1244 4.75808 16.1048C4.52654 16.0859 4.43042 16.0531 4.37551 16.0251L3.69452 17.3616C3.99613 17.5153 4.31163 17.5733 4.63593 17.5998C4.95147 17.6256 5.33733 17.625 5.79167 17.625V16.125ZM2.375 14.2083C2.375 14.6627 2.37442 15.0485 2.4002 15.3641C2.42669 15.6884 2.48472 16.0039 2.6384 16.3055L3.97491 15.6245C3.94693 15.5696 3.91413 15.4734 3.89522 15.2419C3.87558 15.0016 3.875 14.6874 3.875 14.2083H2.375ZM4.37551 16.0251C4.20303 15.9372 4.06279 15.797 3.97491 15.6245L2.6384 16.3055C2.87009 16.7602 3.2398 17.1299 3.69452 17.3616L4.37551 16.0251ZM16.125 14.2083C16.125 14.6874 16.1244 15.0016 16.1048 15.2419C16.0859 15.4734 16.0531 15.5696 16.0251 15.6245L17.3616 16.3055C17.5153 16.0039 17.5733 15.6884 17.5998 15.3641C17.6256 15.0485 17.625 14.6627 17.625 14.2083H16.125ZM14.2083 17.625C14.6627 17.625 15.0485 17.6256 15.3641 17.5998C15.6884 17.5733 16.0039 17.5153 16.3055 17.3616L15.6245 16.0251C15.5696 16.0531 15.4735 16.0859 15.2419 16.1048C15.0016 16.1244 14.6874 16.125 14.2083 16.125V17.625ZM16.0251 15.6245C15.9372 15.797 15.797 15.9372 15.6245 16.0251L16.3055 17.3616C16.7602 17.1299 17.1299 16.7602 17.3616 16.3055L16.0251 15.6245ZM17.625 8.13866C17.625 7.71545 17.6312 7.36469 17.5403 7.03063L16.0929 7.42424C16.1188 7.51973 16.125 7.63327 16.125 8.13866H17.625ZM15.422 6.65525C15.8132 6.97528 15.8972 7.05194 15.9546 7.13251L17.1758 6.26151C16.9748 5.97966 16.6994 5.76231 16.3719 5.49431L15.422 6.65525ZM17.5403 7.03063C17.4653 6.75471 17.3419 6.4943 17.1758 6.26151L15.9546 7.13251C16.0176 7.22081 16.0644 7.31959 16.0929 7.42424L17.5403 7.03063ZM3.875 8.13866C3.875 7.63327 3.88116 7.51973 3.90712 7.42424L2.45969 7.03063C2.36884 7.36469 2.375 7.71545 2.375 8.13866H3.875ZM3.6281 5.49431C3.30056 5.7623 3.02518 5.97966 2.82416 6.26151L4.04537 7.13251C4.10283 7.05194 4.18681 6.97528 4.57796 6.65525L3.6281 5.49431ZM3.90712 7.42424C3.93558 7.31958 3.98239 7.22081 4.04537 7.13251L2.82416 6.26151C2.65812 6.4943 2.53472 6.75471 2.45969 7.03063L3.90712 7.42424ZM6.45833 14.2917H13.5417V12.7917H6.45833V14.2917Z",fill:"currentColor"})],-1)];function w_(t,e){return o.openBlock(),o.createElementBlock("svg",BF,[...AF])}const FF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),RF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},IF=[o.createElementVNode("path",{d:"M8 16.5C12.4183 16.5 16 12.9183 16 8.5C16 4.08172 12.4183 0.5 8 0.5C3.58172 0.5 0 4.08172 0 8.5C0 12.9183 3.58172 16.5 8 16.5ZM8.9307 7.08789L7.92875 11.793C7.85844 12.1328 7.95805 12.3262 8.23344 12.3262C8.4268 12.3262 8.71977 12.2559 8.91898 12.0801L8.83109 12.4961C8.54398 12.8418 7.91117 13.0938 7.36625 13.0938C6.66313 13.0938 6.3643 12.6719 6.55766 11.7754L7.29594 8.30664C7.36039 8.01367 7.3018 7.9082 7.00883 7.83789L6.55766 7.75586L6.63969 7.375L8.9307 7.08789ZM8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55229 4 9 4.44772 9 5C9 5.55228 8.55229 6 8 6Z",fill:"#007AFF"},null,-1)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",RF,[...IF])}const HF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),zF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},YF=[o.createElementVNode("path",{d:"M3.37169 16.9938L3.62139 16.5038L3.62139 16.5038L3.37169 16.9938ZM3.00751 16.6296L2.51746 16.8793L2.51746 16.8793L3.00751 16.6296ZM16.9925 16.6296L17.4826 16.8793L16.9925 16.6296ZM16.6283 16.9938L16.878 17.4839L16.6283 16.9938ZM16.9925 3.37298L16.5025 3.62267L16.5025 3.62267L16.9925 3.37298ZM16.6283 3.0088L16.878 2.51874L16.878 2.51874L16.6283 3.0088ZM3.00751 3.37298L2.51746 3.12328V3.12328L3.00751 3.37298ZM3.37169 3.0088L3.122 2.51874H3.122L3.37169 3.0088ZM16.5334 4.2513V15.7513H17.6334V4.2513H16.5334ZM15.75 16.5346H4.25002V17.6346H15.75V16.5346ZM3.46669 15.7513V4.2513H2.36669V15.7513H3.46669ZM4.25002 3.46797H15.75V2.36797H4.25002V3.46797ZM4.25002 16.5346C4.00759 16.5346 3.85884 16.5342 3.74748 16.5251C3.69555 16.5209 3.66395 16.5155 3.64458 16.511C3.63535 16.5088 3.62959 16.5069 3.62637 16.5058C3.62327 16.5047 3.62183 16.504 3.62139 16.5038L3.122 17.4839C3.30159 17.5754 3.48493 17.6073 3.6579 17.6215C3.82445 17.6351 4.02574 17.6346 4.25002 17.6346V16.5346ZM2.36669 15.7513C2.36669 15.9756 2.36626 16.1769 2.37987 16.3434C2.394 16.5164 2.42596 16.6997 2.51746 16.8793L3.49757 16.3799C3.49734 16.3795 3.49663 16.3781 3.49552 16.375C3.49437 16.3717 3.49253 16.366 3.49036 16.3567C3.4858 16.3374 3.48046 16.3058 3.47621 16.2538C3.46711 16.1425 3.46669 15.9937 3.46669 15.7513H2.36669ZM3.62139 16.5038C3.56808 16.4766 3.52473 16.4332 3.49757 16.3799L2.51746 16.8793C2.65009 17.1396 2.86171 17.3512 3.122 17.4839L3.62139 16.5038ZM16.5334 15.7513C16.5334 15.9937 16.5329 16.1425 16.5238 16.2538C16.5196 16.3058 16.5142 16.3374 16.5097 16.3567C16.5075 16.366 16.5057 16.3717 16.5045 16.375C16.5034 16.3781 16.5027 16.3795 16.5025 16.3799L17.4826 16.8793C17.5741 16.6997 17.606 16.5164 17.6202 16.3434C17.6338 16.1769 17.6334 15.9756 17.6334 15.7513H16.5334ZM15.75 17.6346C15.9743 17.6346 16.1756 17.6351 16.3421 17.6215C16.5151 17.6073 16.6985 17.5754 16.878 17.4839L16.3787 16.5038C16.3782 16.504 16.3768 16.5047 16.3737 16.5058C16.3705 16.5069 16.3647 16.5088 16.3555 16.511C16.3361 16.5155 16.3045 16.5209 16.2526 16.5251C16.1412 16.5342 15.9925 16.5346 15.75 16.5346V17.6346ZM16.5025 16.3799C16.4753 16.4332 16.432 16.4766 16.3787 16.5038L16.878 17.4839C17.1383 17.3512 17.35 17.1396 17.4826 16.8793L16.5025 16.3799ZM17.6334 4.2513C17.6334 4.02702 17.6338 3.82573 17.6202 3.65918C17.606 3.48621 17.5741 3.30287 17.4826 3.12328L16.5025 3.62267C16.5027 3.62312 16.5034 3.62455 16.5045 3.62765C16.5057 3.63087 16.5075 3.63664 16.5097 3.64586C16.5142 3.66523 16.5196 3.69683 16.5238 3.74876C16.5329 3.86013 16.5334 4.00887 16.5334 4.2513H17.6334ZM15.75 3.46797C15.9925 3.46797 16.1412 3.4684 16.2526 3.4775C16.3045 3.48174 16.3361 3.48708 16.3555 3.49164C16.3647 3.49381 16.3705 3.49566 16.3737 3.49681C16.3768 3.49791 16.3782 3.49862 16.3787 3.49885L16.878 2.51874C16.6985 2.42724 16.5151 2.39528 16.3421 2.38115C16.1756 2.36754 15.9743 2.36797 15.75 2.36797V3.46797ZM17.4826 3.12328C17.35 2.86299 17.1383 2.65137 16.878 2.51874L16.3787 3.49885C16.432 3.52601 16.4753 3.56936 16.5025 3.62267L17.4826 3.12328ZM3.46669 4.2513C3.46669 4.00887 3.46711 3.86013 3.47621 3.74876C3.48046 3.69683 3.4858 3.66523 3.49036 3.64586C3.49253 3.63664 3.49437 3.63087 3.49552 3.62765C3.49663 3.62455 3.49734 3.62312 3.49757 3.62267L2.51746 3.12328C2.42596 3.30287 2.394 3.48621 2.37987 3.65918C2.36626 3.82573 2.36669 4.02702 2.36669 4.2513H3.46669ZM4.25002 2.36797C4.02574 2.36797 3.82445 2.36754 3.6579 2.38115C3.48493 2.39528 3.30159 2.42724 3.122 2.51874L3.62139 3.49885C3.62183 3.49862 3.62327 3.49791 3.62637 3.49681C3.62959 3.49566 3.63535 3.49381 3.64458 3.49164C3.66395 3.48708 3.69555 3.48174 3.74748 3.4775C3.85884 3.4684 4.00759 3.46797 4.25002 3.46797V2.36797ZM3.49757 3.62267C3.52473 3.56936 3.56808 3.52601 3.62139 3.49885L3.122 2.51874C2.86171 2.65137 2.65009 2.86299 2.51746 3.12328L3.49757 3.62267ZM9.45002 2.91797V17.0846H10.55V2.91797H9.45002Z",fill:"#1C2026"},null,-1)];function k_(t,e){return o.openBlock(),o.createElementBlock("svg",zF,[...YF])}const WF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),jF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},ZF=[o.createElementVNode("path",{d:"M3.75 8.89388V8.39388H3.25V8.89388H3.75ZM16.25 8.89388H16.75V8.39388H16.25V8.89388ZM16.25 18.8939V19.3939H16.75V18.8939H16.25ZM3.75 18.8939H3.25V19.3939H3.75V18.8939ZM12.4167 8.89388C12.4167 9.17002 12.6405 9.39388 12.9167 9.39388C13.1928 9.39388 13.4167 9.17002 13.4167 8.89388H12.4167ZM6.58333 8.89388C6.58333 9.17002 6.80719 9.39388 7.08333 9.39388C7.35948 9.39388 7.58333 9.17002 7.58333 8.89388H6.58333ZM10.5 12.6439V12.1439H9.5V12.6439H10.5ZM9.5 15.1439V15.6439H10.5V15.1439H9.5ZM3.75 9.39388H16.25V8.39388H3.75V9.39388ZM15.75 8.89388V18.8939H16.75V8.89388H15.75ZM16.25 18.3939H3.75V19.3939H16.25V18.3939ZM4.25 18.8939V8.89388H3.25V18.8939H4.25ZM12.4167 5.97721V8.89388H13.4167V5.97721H12.4167ZM7.58333 8.89388V5.97721H6.58333V8.89388H7.58333ZM10 3.56055C11.3347 3.56055 12.4167 4.64253 12.4167 5.97721H13.4167C13.4167 4.09024 11.887 2.56055 10 2.56055V3.56055ZM10 2.56055C8.11303 2.56055 6.58333 4.09024 6.58333 5.97721H7.58333C7.58333 4.64253 8.66531 3.56055 10 3.56055V2.56055ZM9.5 12.6439V15.1439H10.5V12.6439H9.5Z",fill:"currentColor"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",jF,[...ZF])}const UF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),qF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GF=[o.createStaticVNode('<g id="LOGO SCOPE" clip-path="url(#clip0_2737_18129)"><g id="Group"><g id="Group_2"><path id="Vector" d="M116.288 3.07053H116.696C117.017 3.07053 117.233 2.88014 117.233 2.60393C117.233 2.32772 117.04 2.1545 116.691 2.1545C116.365 2.1545 116.149 2.34644 116.13 2.63982H115.484C115.509 2.02029 115.994 1.61768 116.722 1.61768C117.45 1.61768 117.896 1.97504 117.896 2.5103C117.896 2.92071 117.615 3.21721 117.203 3.29212V3.30616C117.704 3.3483 118.026 3.64948 118.026 4.11296C118.026 4.71376 117.48 5.11325 116.705 5.11325C115.93 5.11325 115.451 4.69815 115.418 4.08175H116.09C116.11 4.3642 116.343 4.5499 116.713 4.5499C117.082 4.5499 117.311 4.35328 117.311 4.06926C117.311 3.7634 117.081 3.5777 116.702 3.5777H116.287V3.07209L116.288 3.07053Z" fill="#1C2026"></path><path id="Vector_2" d="M118.699 4.49667C118.513 4.21422 118.418 3.83501 118.418 3.39026C118.418 2.28228 118.958 1.61438 119.825 1.61438C120.466 1.61438 120.965 1.99203 121.059 2.53977H120.369C120.301 2.31662 120.085 2.16837 119.822 2.16837C119.354 2.16837 119.071 2.61624 119.086 3.37153H119.1C119.235 3.04382 119.565 2.82691 119.994 2.82691C120.632 2.82691 121.104 3.29507 121.104 3.9302C121.104 4.61839 120.567 5.11308 119.816 5.11308C119.334 5.11308 118.936 4.89461 118.701 4.49667H118.699ZM120.419 3.95205C120.419 3.60717 120.16 3.35437 119.81 3.35437C119.459 3.35437 119.196 3.60717 119.196 3.94581C119.196 4.28444 119.464 4.55597 119.808 4.55597C120.152 4.55597 120.42 4.28912 120.42 3.95361L120.419 3.95205Z" fill="#1C2026"></path><path id="Vector_3" d="M121.484 3.35575C121.484 2.27431 122.002 1.61108 122.843 1.61108C123.684 1.61108 124.199 2.27275 124.199 3.35263C124.199 4.43252 123.687 5.10822 122.843 5.10822C121.999 5.10822 121.484 4.43876 121.484 3.35419V3.35575ZM123.485 3.35575C123.485 2.5989 123.241 2.17287 122.843 2.17287C122.445 2.17287 122.198 2.60202 122.198 3.35575C122.198 4.10949 122.442 4.54799 122.843 4.54799C123.244 4.54799 123.485 4.11885 123.485 3.35575Z" fill="#1C2026"></path><path id="Vector_4" d="M124.523 2.39511C124.523 1.98001 124.844 1.65698 125.262 1.65698C125.68 1.65698 126.003 1.98001 126.003 2.39511C126.003 2.81021 125.679 3.1348 125.262 3.1348C124.846 3.1348 124.523 2.81177 124.523 2.39511ZM125.599 2.39511C125.599 2.20785 125.452 2.05648 125.264 2.05648C125.076 2.05648 124.929 2.20785 124.929 2.39511C124.929 2.58237 125.082 2.73531 125.264 2.73531C125.455 2.73531 125.599 2.57769 125.599 2.39511Z" fill="#1C2026"></path></g><path id="Vector_5" d="M4.27462 15.1864C4.27462 14.492 4.67074 13.8584 5.29545 13.5525C5.40505 13.4995 5.51308 13.4449 5.62111 13.3918C10.6297 10.9106 14.7522 8.48864 14.7945 7.73334C14.6692 7.63971 14.4469 7.56013 14.1322 7.50395C12.6542 7.24022 9.15016 7.52735 4.23705 9.6684C3.97871 9.78075 3.71881 9.89779 3.4542 10.0211L1.90887 6.70028C5.4207 5.07577 9.32239 3.90693 12.4616 3.78989C15.1593 3.68846 17.2933 4.36105 18.1419 6.18686C19.7013 9.53419 12.9877 13.7632 6.93002 16.814C5.71192 17.4273 4.27306 16.5488 4.27306 15.188L4.27462 15.1864Z" fill="url(#paint0_linear_2737_18129)"></path><path id="Vector_6" d="M18.3385 7.73053C18.2993 7.87722 18.2508 8.02391 18.2023 8.1706C18.1662 8.27983 18.1287 8.38907 18.0817 8.49363C17.9893 8.7043 17.8797 8.90717 17.7545 9.10067C17.6292 9.29418 17.4977 9.483 17.3474 9.64998C17.1955 9.81695 17.0264 9.95428 16.8511 10.0978C16.6726 10.243 16.4847 10.3756 16.289 10.4958C16.087 10.6206 15.8772 10.7314 15.6627 10.8329C15.5938 10.8656 15.5234 10.8968 15.4529 10.9265C12.1086 12.359 8.51693 13.3437 5.62668 13.3952H5.41531C2.95406 13.3952 1.0314 12.6992 0.232896 10.9858C-1.34218 7.59632 5.36834 3.28459 11.4291 0.222838C12.5063 -0.321786 13.7338 0.165099 14.0673 1.32145C14.2176 1.84422 14.1221 2.37324 13.8637 2.78834C13.6853 3.07392 13.43 3.30956 13.1169 3.46249C12.8977 3.57017 12.6832 3.68096 12.464 3.78864C8.12864 5.97026 4.56984 8.1113 3.75725 9.10379C3.62104 9.27077 3.69619 9.52357 3.90129 9.58755C3.99837 9.61876 4.11266 9.64529 4.24105 9.6687C4.52757 9.7202 4.89394 9.74985 5.3292 9.74985C7.13756 9.74985 10.1781 9.22863 14.1346 7.50425L14.1565 7.49333C14.3976 7.356 16.5661 6.05608 15.9508 4.24743C15.9555 4.24899 15.9618 4.25056 15.9665 4.25212C15.979 4.2568 15.9915 4.26148 16.004 4.26616C16.0588 4.28801 16.1121 4.31298 16.1669 4.33482C16.2498 4.36916 16.3313 4.40817 16.4127 4.44718C16.516 4.49556 16.6162 4.54862 16.7164 4.60479C16.8307 4.66878 16.9434 4.73744 17.053 4.80922C17.172 4.88881 17.2879 4.97308 17.3991 5.06359C17.5149 5.15878 17.6276 5.26022 17.731 5.36945C17.8375 5.48181 17.9361 5.60041 18.0253 5.72837C18.1146 5.8579 18.1944 5.99522 18.2571 6.14035C18.3197 6.28548 18.3729 6.44778 18.4042 6.60851C18.4371 6.78173 18.4496 6.95807 18.4418 7.13285C18.4324 7.33728 18.3933 7.53546 18.34 7.73209L18.3385 7.73053Z" fill="url(#paint1_linear_2737_18129)"></path></g><g id="Group_3"><path id="Vector_7" d="M67.835 1.64722C62.6636 1.64722 59.0891 4.58569 59.0891 8.88494C59.0891 13.1842 62.6636 16.171 67.835 16.171C73.0065 16.171 76.498 13.1826 76.498 8.87869C76.498 4.57476 72.9783 1.64722 67.835 1.64722ZM67.835 13.5181C64.4234 13.5181 62.0326 11.6268 62.0326 8.85841C62.0326 6.09003 64.4187 4.30791 67.835 4.30791C71.2513 4.30791 73.556 6.14465 73.556 8.85841C73.556 11.5722 71.1621 13.5135 67.835 13.5135V13.5197V13.5181Z" fill="#1C2026"></path><path id="Vector_8" d="M36.7585 7.59421H32.1116C29.3607 7.59421 28.6186 4.30462 34.3396 4.30462C36.7601 4.30462 38.6577 5.34705 39.4828 5.89323L40.9687 3.64608C39.5643 2.4117 37.0905 1.64392 34.3129 1.64392C25.1271 1.64392 25.0159 10.1972 32.1398 10.1972H36.8149C39.8398 10.1972 40.3346 13.5148 34.3396 13.5148C31.3413 13.5148 28.9755 11.9247 28.1504 11.3207L26.6646 13.5695C28.069 14.8023 31.0375 16.1724 34.3646 16.1724C43.9904 16.1662 44.1016 7.59265 36.7585 7.59265V7.59421Z" fill="#1C2026"></path><path id="Vector_9" d="M51.8526 13.5119C48.3329 13.5119 46.0502 11.6205 46.0502 8.90678C46.0502 6.19303 48.3048 4.30635 51.8244 4.30635C53.8332 4.30635 55.7026 5.34878 56.8299 6.38965L58.5146 4.05979C56.9192 2.80045 54.4704 1.64722 51.8307 1.64722C46.5496 1.64722 43.1129 4.60909 43.1129 8.91302C43.1129 13.217 46.6013 16.171 51.8855 16.171C54.58 16.171 57.0288 14.9647 58.6226 13.7038L56.891 11.427C55.759 12.4741 53.888 13.5119 51.8526 13.5119Z" fill="#1C2026"></path><path id="Vector_10" d="M105.017 1.64548C100.067 1.64548 96.6284 4.60736 96.6284 8.91129C96.6284 13.2152 100.561 16.1693 105.925 16.1693C108.758 16.1693 111.119 15.2377 112.608 13.9768L110.873 11.7062C109.855 12.8032 108.207 13.5975 105.896 13.5975C102.677 13.5975 100.383 12.2555 99.719 10.1987H113.353V8.88164C113.348 4.57771 109.966 1.64392 105.016 1.64392L105.017 1.64548ZM104.989 4.22191C107.823 4.22191 109.761 5.55304 110.272 7.67535H99.6642C100.19 5.57176 102.11 4.22191 104.989 4.22191Z" fill="#1C2026"></path><path id="Vector_11" d="M87.369 1.64548C84.9077 1.64548 82.9553 2.50689 81.6135 3.8349C81.2659 2.73941 80.3062 2.05746 79.0051 2.05746H77.2202V4.66198H78.8689V20.9991H81.7576V14.0954C83.0915 15.3547 84.986 16.174 87.3721 16.174C91.9643 16.174 95.1269 13.1856 95.1269 8.88164C95.1269 4.57771 91.9596 1.64392 87.3674 1.64392L87.369 1.64548ZM87.0104 13.5102C83.8744 13.5102 81.7576 11.6188 81.7576 8.85043C81.7576 6.08206 83.8744 4.29994 87.0104 4.29994C90.1465 4.29994 92.1819 6.13668 92.1819 8.85043C92.1788 11.625 90.0087 13.5102 87.0104 13.5102Z" fill="#1C2026"></path></g></g><defs><linearGradient id="paint0_linear_2737_18129" x1="17.2181" y1="8.42625" x2="2.76763" y2="6.60461" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="1" stop-color="#007AFF"></stop></linearGradient><linearGradient id="paint1_linear_2737_18129" x1="11.116" y1="1.09206" x2="18.2166" y2="8.13786" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="0.511338" stop-color="#007AFF"></stop><stop offset="1" stop-color="#00BAF2"></stop></linearGradient><clipPath id="clip0_2737_18129"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",qF,[...GF])}const KF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),XF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},JF=[o.createElementVNode("path",{d:"M12.2942 3.70313L3.64616 12.3512M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C6.25106 14.3307 4.66772 13.6218 3.52162 12.4757C2.37551 11.3296 1.66663 9.7463 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C9.74886 1.66406 11.3322 2.37295 12.4783 3.51905C13.6244 4.66516 14.3333 6.24849 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function M_(t,e){return o.openBlock(),o.createElementBlock("svg",XF,[...JF])}const QF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),eR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tR=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.16602 4.16669L15.8327 15.8334M15.8327 4.16669L4.16602 15.8334",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function S_(t,e){return o.openBlock(),o.createElementBlock("svg",eR,[...tR])}const nR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),rR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sR=[o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 10.2357L11.0974 9.76425L7.99981 12.8619L4.90218 9.76425L4.43078 10.2357L7.99981 13.8047L11.5688 10.2357Z",fill:"#8E8E93"},null,-1),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 5.76435L11.0974 6.23575L7.99981 3.13812L4.90218 6.23575L4.43078 5.76435L7.99981 2.19531L11.5688 5.76435Z",fill:"#8E8E93"},null,-1)];function v_(t,e){return o.openBlock(),o.createElementBlock("svg",rR,[...sR])}const iR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),oR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aR=[o.createElementVNode("g",{id:"bell, notification, activity, alert"},[o.createElementVNode("path",{id:"vector",d:"M13.3332 15.4163C12.7721 16.8879 11.4908 17.9163 9.99984 17.9163C8.5089 17.9163 7.22756 16.8879 6.6665 15.4163M17.0832 15.4163L16.0884 7.45785C15.7045 4.38726 13.0943 2.08301 9.99984 2.08301C6.90536 2.08301 4.29514 4.38726 3.91132 7.45785L2.9165 15.4163H17.0832Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function T_(t,e){return o.openBlock(),o.createElementBlock("svg",oR,[...aR])}const lR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),cR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},dR=[o.createElementVNode("path",{d:"M7.66671 13.6641H3.00004C2.63185 13.6641 2.33337 13.3656 2.33337 12.9974V5.66406M2.33337 5.66406V3.66406C2.33337 3.29587 2.63185 2.9974 3.00004 2.9974H13C13.3682 2.9974 13.6667 3.29587 13.6667 3.66406V5.66406M2.33337 5.66406H13.6667M13.6667 5.66406V8.33073M5.00004 2.9974V1.66406M11 2.9974V1.66406M14.3334 10.3307L11.2223 14.3307L9.66671 12.7307",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function D_(t,e){return o.openBlock(),o.createElementBlock("svg",cR,[...dR])}const uR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),hR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},fR=[o.createElementVNode("path",{d:"M7.99996 4.83073V4.12703M7.99996 11.1641V11.8678M9.66663 5.9974C9.36244 5.57672 8.65113 5.18258 7.99996 5.18258C7.23841 5.18258 6.2407 5.50839 6.2407 6.43361C6.2407 8.43726 9.75922 7.59402 9.75922 9.50747C9.75922 10.4257 8.77347 10.8122 7.99996 10.8122C7.34878 10.8122 6.54488 10.4181 6.2407 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function O_(t,e){return o.openBlock(),o.createElementBlock("svg",hR,[...fR])}const mR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),pR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gR=[o.createElementVNode("g",{id:"pie_chart_light"},[o.createElementVNode("circle",{id:"Ellipse",cx:"10",cy:"10",r:"7.5",stroke:"currentColor","stroke-width":"1.66667"}),o.createElementVNode("path",{id:"Vector",d:"M10 10H17.5",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"}),o.createElementVNode("path",{id:"Vector_2",d:"M10 2.5V9.94822C10 9.98137 10.0132 10.0132 10.0366 10.0366L15 15",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"})],-1)];function E_(t,e){return o.openBlock(),o.createElementBlock("svg",pR,[...gR])}const _R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),yR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wR=[o.createElementVNode("g",{id:"pie-chart-1, graph, chart, statistics"},[o.createElementVNode("path",{id:"vector",d:"M10.0013 2.29297C5.74411 2.29297 2.29297 5.74411 2.29297 10.0013C2.29297 14.2585 5.74411 17.7096 10.0013 17.7096C13.3576 17.7096 16.2128 15.5646 17.271 12.5707M10.0013 2.29297C14.2585 2.29297 17.7096 5.74411 17.7096 10.0013C17.7096 10.9022 17.5551 11.7671 17.271 12.5707M10.0013 2.29297V10.0013L17.271 12.5707",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})],-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",yR,[...wR])}const bR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),kR={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CR=[o.createElementVNode("g",{id:"plus-small, add small"},[o.createElementVNode("path",{id:"vector",d:"M10.5 5.41666V9.99999M10.5 9.99999V14.5833M10.5 9.99999H5.91669M10.5 9.99999H15.0834",stroke:"currentColor","stroke-linecap":"square"})],-1)];function P_(t,e){return o.openBlock(),o.createElementBlock("svg",kR,[...CR])}const xR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),MR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SR=[o.createStaticVNode('<g id="darhboard"><rect id="Rectangle" x="4" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_2" x="4" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_3" x="14" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_4" x="14" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect></g>',1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",MR,[...SR])}const vR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),TR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DR=[o.createElementVNode("g",{id:"folder-1"},[o.createElementVNode("path",{id:"vector",d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",TR,[...DR])}const OR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),ER={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$R=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",fill:"#007AFF",stroke:"#007AFF","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M16 21.75C19.1756 21.75 21.75 19.1756 21.75 16C21.75 12.8244 19.1756 10.25 16 10.25C12.8244 10.25 10.25 12.8244 10.25 16C10.25 19.1756 12.8244 21.75 16 21.75Z",fill:"#007AFF",stroke:"#F6F6F6","stroke-width":"1.5"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",ER,[...$R])}const PR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),LR={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},VR=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M20.5 16C20.5 18.4853 18.4853 20.5 16 20.5C13.5147 20.5 11.5 18.4853 11.5 16C11.5 13.5147 13.5147 11.5 16 11.5C18.4853 11.5 20.5 13.5147 20.5 16Z",fill:"white",stroke:"#8E8E93"},null,-1)];function B_(t,e){return o.openBlock(),o.createElementBlock("svg",LR,[...VR])}const NR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),BR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},AR=[o.createElementVNode("path",{d:"M2.33337 8.0026H4.66671L6.33337 10.3359L9.66671 5.33594L11.3334 8.0026H13.6667M2.33337 2.33594H13.6667V13.6693H2.33337V2.33594Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function A_(t,e){return o.openBlock(),o.createElementBlock("svg",BR,[...AR])}const FR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),RR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},IR=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",RR,[...IR])}const HR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),zR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},YR=[o.createElementVNode("path",{d:"M7.91669 2.91406H5.58335C4.64993 2.91406 4.18322 2.91406 3.8267 3.09572C3.5131 3.25551 3.25813 3.51047 3.09834 3.82408C2.91669 4.1806 2.91669 4.64731 2.91669 5.58073V14.4141C2.91669 15.3475 2.91669 15.8142 3.09834 16.1707C3.25813 16.4843 3.5131 16.7393 3.8267 16.8991C4.18322 17.0807 4.64993 17.0807 5.58335 17.0807H14.4167C15.3501 17.0807 15.8168 17.0807 16.1733 16.8991C16.4869 16.7393 16.7419 16.4843 16.9017 16.1707C17.0834 15.8142 17.0834 15.3475 17.0834 14.4141V12.0807M12.0834 2.91406H17.0834M17.0834 2.91406V7.91406M17.0834 2.91406L9.58335 10.4141",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function R_(t,e){return o.openBlock(),o.createElementBlock("svg",zR,[...YR])}const WR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),jR={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},ZR=[o.createElementVNode("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z",fill:"#34C759"},null,-1)];function I_(t,e){return o.openBlock(),o.createElementBlock("svg",jR,[...ZR])}const UR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),qR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},GR=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function H_(t,e){return o.openBlock(),o.createElementBlock("svg",qR,[...GR])}const KR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),XR={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JR=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M20.2949 27.8037C19.6341 28.7243 18.7158 29.1846 17.54 29.1846C16.3643 29.1846 15.4414 28.7266 14.7715 27.8105C14.1061 26.89 13.7734 25.639 13.7734 24.0576C13.7734 22.4899 14.1084 21.248 14.7783 20.332C15.4482 19.4115 16.3688 18.9512 17.54 18.9512C18.7113 18.9512 19.6296 19.4092 20.2949 20.3252C20.9603 21.2367 21.293 22.4785 21.293 24.0508C21.293 25.6322 20.9603 26.8831 20.2949 27.8037ZM15.9062 26.8809C16.2936 27.5599 16.8382 27.8994 17.54 27.8994C18.2419 27.8994 18.7842 27.5599 19.167 26.8809C19.5544 26.1973 19.748 25.2562 19.748 24.0576C19.748 22.8727 19.5521 21.9408 19.1602 21.2617C18.7728 20.5781 18.2327 20.2363 17.54 20.2363C16.8473 20.2363 16.305 20.5781 15.9131 21.2617C15.5212 21.9453 15.3252 22.8773 15.3252 24.0576C15.3252 25.2562 15.5189 26.1973 15.9062 26.8809ZM23.2139 31.1055H21.9014L25.4014 19.1357H26.7139L23.2139 31.1055ZM27.3975 22.0273C27.3975 21.1387 27.7165 20.4049 28.3545 19.8262C28.9971 19.2428 29.8083 18.9512 30.7881 18.9512C31.7269 18.9512 32.5085 19.2155 33.1328 19.7441C33.7572 20.2728 34.0693 20.929 34.0693 21.7129C34.0693 22.2643 33.9167 22.7884 33.6113 23.2852C33.306 23.7773 32.7728 24.4131 32.0117 25.1924L29.5439 27.6738V27.708H34.2266V29H27.4795V27.9609L31.041 24.3311C31.6426 23.7021 32.0459 23.2191 32.251 22.8818C32.4561 22.54 32.5586 22.1755 32.5586 21.7881C32.5586 21.3506 32.3831 20.9792 32.0322 20.6738C31.6813 20.3685 31.2507 20.2158 30.7402 20.2158C30.2025 20.2158 29.7513 20.389 29.3867 20.7354C29.0267 21.0771 28.8467 21.5055 28.8467 22.0205V22.041H27.3975V22.0273Z",fill:"#1C2026"},null,-1)];function z_(t,e){return o.openBlock(),o.createElementBlock("svg",XR,[...JR])}const QR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),eI={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tI=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C30.3652 0 36.4697 2.52856 40.9706 7.02944C45.4714 11.5303 48 17.6348 48 24C48 30.3652 45.4714 36.4697 40.9706 40.9706C36.4697 45.4714 30.3652 48 24 48V44.4C29.4104 44.4 34.5992 42.2507 38.425 38.425C42.2507 34.5992 44.4 29.4104 44.4 24C44.4 18.5896 42.2507 13.4008 38.425 9.57502C34.5992 5.74928 29.4104 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.6016 29V20.6533H17.5674L14.9902 22.4854V20.9814L17.5879 19.1357H19.0986V29H17.6016ZM22.0518 31.1055H20.7393L24.2393 19.1357H25.5518L22.0518 31.1055ZM26.2354 22.0273C26.2354 21.1387 26.5544 20.4049 27.1924 19.8262C27.835 19.2428 28.6462 18.9512 29.626 18.9512C30.5648 18.9512 31.3464 19.2155 31.9707 19.7441C32.5951 20.2728 32.9072 20.929 32.9072 21.7129C32.9072 22.2643 32.7546 22.7884 32.4492 23.2852C32.1439 23.7773 31.6107 24.4131 30.8496 25.1924L28.3818 27.6738V27.708H33.0645V29H26.3174V27.9609L29.8789 24.3311C30.4805 23.7021 30.8838 23.2191 31.0889 22.8818C31.2939 22.54 31.3965 22.1755 31.3965 21.7881C31.3965 21.3506 31.221 20.9792 30.8701 20.6738C30.5192 20.3685 30.0885 20.2158 29.5781 20.2158C29.0404 20.2158 28.5892 20.389 28.2246 20.7354C27.8646 21.0771 27.6846 21.5055 27.6846 22.0205V22.041H26.2354V22.0273Z",fill:"#1C2026"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",eI,[...tI])}const nI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),rI={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sI=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M14.1699 22.0273C14.1699 21.1387 14.4889 20.4049 15.127 19.8262C15.7695 19.2428 16.5807 18.9512 17.5605 18.9512C18.4993 18.9512 19.2809 19.2155 19.9053 19.7441C20.5296 20.2728 20.8418 20.929 20.8418 21.7129C20.8418 22.2643 20.6891 22.7884 20.3838 23.2852C20.0785 23.7773 19.5452 24.4131 18.7842 25.1924L16.3164 27.6738V27.708H20.999V29H14.252V27.9609L17.8135 24.3311C18.415 23.7021 18.8184 23.2191 19.0234 22.8818C19.2285 22.54 19.3311 22.1755 19.3311 21.7881C19.3311 21.3506 19.1556 20.9792 18.8047 20.6738C18.4538 20.3685 18.0231 20.2158 17.5127 20.2158C16.9749 20.2158 16.5238 20.389 16.1592 20.7354C15.7992 21.0771 15.6191 21.5055 15.6191 22.0205V22.041H14.1699V22.0273ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM27.0898 22.0273C27.0898 21.1387 27.4089 20.4049 28.0469 19.8262C28.6895 19.2428 29.5007 18.9512 30.4805 18.9512C31.4193 18.9512 32.2008 19.2155 32.8252 19.7441C33.4495 20.2728 33.7617 20.929 33.7617 21.7129C33.7617 22.2643 33.609 22.7884 33.3037 23.2852C32.9984 23.7773 32.4652 24.4131 31.7041 25.1924L29.2363 27.6738V27.708H33.9189V29H27.1719V27.9609L30.7334 24.3311C31.335 23.7021 31.7383 23.2191 31.9434 22.8818C32.1484 22.54 32.251 22.1755 32.251 21.7881C32.251 21.3506 32.0755 20.9792 31.7246 20.6738C31.3737 20.3685 30.943 20.2158 30.4326 20.2158C29.8949 20.2158 29.4437 20.389 29.0791 20.7354C28.7191 21.0771 28.5391 21.5055 28.5391 22.0205V22.041H27.0898V22.0273Z",fill:"#1C2026"},null,-1)];function W_(t,e){return o.openBlock(),o.createElementBlock("svg",rI,[...sI])}const iI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),oI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aI=[o.createElementVNode("g",{id:"qr-code, barcode, scan"},[o.createElementVNode("path",{id:"vector",d:"M11.2498 11.2493V13.7493H13.7498M14.5832 11.2493H17.0832M17.0832 14.5827H14.5832V17.0827M11.2498 17.0827V16.2493M8.74984 2.91602H2.9165V8.74935H8.74984V2.91602ZM2.9165 11.2493H8.74984V17.0827H2.9165V11.2493ZM11.2498 2.91602H17.0832V8.74935H11.2498V2.91602Z",stroke:"#007AFF","stroke-linecap":"square"})],-1)];function j_(t,e){return o.openBlock(),o.createElementBlock("svg",oI,[...aI])}const lI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),cI={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},dI=[o.createStaticVNode('<g clip-path="url(#clip0_5981_16052)"><path d="M116.288 3.07004H116.696C117.017 3.07004 117.233 2.87965 117.233 2.60344C117.233 2.32723 117.04 2.15401 116.691 2.15401C116.365 2.15401 116.149 2.34595 116.13 2.63933H115.484C115.509 2.0198 115.994 1.61719 116.722 1.61719C117.45 1.61719 117.896 1.97455 117.896 2.50981C117.896 2.92023 117.615 3.21673 117.203 3.29163V3.30568C117.704 3.34781 118.026 3.64899 118.026 4.11247C118.026 4.71327 117.48 5.11277 116.705 5.11277C115.93 5.11277 115.451 4.69767 115.418 4.08126H116.09C116.11 4.36371 116.343 4.54942 116.713 4.54942C117.082 4.54942 117.311 4.35279 117.311 4.06877C117.311 3.76291 117.081 3.57721 116.702 3.57721H116.287V3.0716L116.288 3.07004Z" fill="#1C2026"></path><path d="M118.7 4.49557C118.513 4.21312 118.418 3.83391 118.418 3.38916C118.418 2.28119 118.958 1.61328 119.826 1.61328C120.466 1.61328 120.965 1.99093 121.059 2.53867H120.369C120.301 2.31552 120.085 2.16727 119.822 2.16727C119.354 2.16727 119.071 2.61514 119.087 3.37043H119.101C119.235 3.04272 119.566 2.82581 119.995 2.82581C120.632 2.82581 121.105 3.29397 121.105 3.9291C121.105 4.61729 120.568 5.11198 119.816 5.11198C119.334 5.11198 118.936 4.89351 118.701 4.49557H118.7ZM120.419 3.95095C120.419 3.60607 120.161 3.35327 119.81 3.35327C119.459 3.35327 119.196 3.60607 119.196 3.94471C119.196 4.28334 119.464 4.55487 119.808 4.55487C120.153 4.55487 120.42 4.28802 120.42 3.95251L120.419 3.95095Z" fill="#1C2026"></path><path d="M121.484 3.35404C121.484 2.2726 122.003 1.60938 122.843 1.60938C123.684 1.60938 124.199 2.27104 124.199 3.35092C124.199 4.43081 123.687 5.10651 122.843 5.10651C121.999 5.10651 121.484 4.43705 121.484 3.35248V3.35404ZM123.485 3.35404C123.485 2.59719 123.241 2.17116 122.843 2.17116C122.446 2.17116 122.198 2.60031 122.198 3.35404C122.198 4.10778 122.443 4.54628 122.843 4.54628C123.244 4.54628 123.485 4.11714 123.485 3.35404Z" fill="#1C2026"></path><path d="M124.523 2.39438C124.523 1.97928 124.844 1.65625 125.262 1.65625C125.68 1.65625 126.003 1.97928 126.003 2.39438C126.003 2.80948 125.679 3.13407 125.262 3.13407C124.846 3.13407 124.523 2.81104 124.523 2.39438ZM125.599 2.39438C125.599 2.20712 125.452 2.05574 125.264 2.05574C125.076 2.05574 124.929 2.20712 124.929 2.39438C124.929 2.58164 125.082 2.73457 125.264 2.73457C125.455 2.73457 125.599 2.57696 125.599 2.39438Z" fill="#1C2026"></path><path d="M17.6799 3.84522L14.8073 9.03408L11.8828 14.3155L11.2489 15.4554C10.7967 16.2733 9.93306 16.7804 8.99529 16.7804C8.05751 16.7804 7.19386 16.2733 6.74165 15.448L6.11523 14.3081L9.0027 9.01557L11.8716 3.75269L13.1764 1.36182C13.8658 0.121969 15.43 -0.329558 16.6717 0.358836C17.9134 1.04723 18.3657 2.60907 17.6762 3.84892H17.6836L17.6799 3.84522Z" fill="url(#paint0_linear_5981_16052)"></path><path d="M6.14077 3.74064L3.20512 9.02202L0.317654 3.81096C-0.364366 2.56371 0.0878416 1.00187 1.32956 0.317175C2.5787 -0.363817 4.1429 0.0877102 4.82492 1.32756L6.13336 3.74434H6.14077V3.74064Z" fill="url(#paint1_linear_5981_16052)"></path><path d="M11.8701 3.75092L9.00113 9.0138L6.11366 14.3063L4.82375 16.6787C4.13431 17.9185 2.57012 18.3626 1.32469 17.6779C0.0829679 16.9895 -0.361833 15.4277 0.323895 14.1879L3.19654 9.0249L6.13219 3.74352L6.74749 2.64061C7.1997 1.82268 8.06335 1.31934 8.99371 1.31934C9.92408 1.31934 10.7877 1.82638 11.2399 2.64061L11.8589 3.75462L11.8664 3.74722L11.8701 3.75092Z" fill="url(#paint2_linear_5981_16052)"></path><path d="M16.6755 17.6755C16.2789 17.8939 15.8489 17.9975 15.4264 17.9975C14.5256 17.9975 13.6435 17.5201 13.1727 16.6762L11.8828 14.3038L14.8073 9.02246L17.6763 14.178C18.3657 15.4179 17.9172 16.9797 16.6755 17.6681V17.6755Z" fill="url(#paint3_linear_5981_16052)"></path><path d="M67.8338 1.64844C62.6623 1.64844 59.0879 4.58691 59.0879 8.88616C59.0879 13.1854 62.6623 16.1723 67.8338 16.1723C73.0053 16.1723 76.4967 13.1838 76.4967 8.87991C76.4967 4.57598 72.9771 1.64844 67.8338 1.64844ZM67.8338 13.5194C64.4222 13.5194 62.0314 11.628 62.0314 8.85963C62.0314 6.09125 64.4175 4.30913 67.8338 4.30913C71.2501 4.30913 73.5548 6.14587 73.5548 8.85963C73.5548 11.5734 71.1609 13.5147 67.8338 13.5147V13.5209V13.5194Z" fill="#1C2026"></path><path d="M36.758 7.59482H32.1111C29.3602 7.59482 28.618 4.30523 34.339 4.30523C36.7596 4.30523 38.6572 5.34766 39.4823 5.89384L40.9682 3.64669C39.5637 2.41231 37.09 1.64453 34.3124 1.64453C25.1266 1.64453 25.0154 10.1978 32.1393 10.1978H36.8144C39.8393 10.1978 40.3341 13.5155 34.339 13.5155C31.3408 13.5155 28.975 11.9253 28.1499 11.3214L26.6641 13.5701C28.0685 14.8029 31.037 16.173 34.3641 16.173C43.9899 16.1668 44.1011 7.59326 36.758 7.59326V7.59482Z" fill="#1C2026"></path><path d="M51.8529 13.5131C48.3333 13.5131 46.0505 11.6218 46.0505 8.908C46.0505 6.19425 48.3051 4.30757 51.8248 4.30757C53.8335 4.30757 55.703 5.35 56.8302 6.39088L58.5149 4.06101C56.9195 2.80167 54.4708 1.64844 51.831 1.64844C46.55 1.64844 43.1133 4.61032 43.1133 8.91425C43.1133 13.2182 46.6016 16.1723 51.8858 16.1723C54.5804 16.1723 57.0291 14.966 58.623 13.7051L56.8913 11.4283C55.7593 12.4754 53.8883 13.5131 51.8529 13.5131Z" fill="#1C2026"></path><path d="M105.016 1.64609C100.065 1.64609 96.627 4.60797 96.627 8.9119C96.627 13.2158 100.56 16.1699 105.924 16.1699C108.756 16.1699 111.117 15.2383 112.606 13.9774L110.872 11.7068C109.854 12.8039 108.205 13.5982 105.894 13.5982C102.675 13.5982 100.381 12.2561 99.7176 10.1993H113.352V8.88225C113.347 4.57832 109.965 1.64453 105.014 1.64453L105.016 1.64609ZM104.988 4.22252C107.822 4.22252 109.76 5.55365 110.27 7.67596H99.6628C100.189 5.57237 102.108 4.22252 104.988 4.22252Z" fill="#1C2026"></path><path d="M87.3675 1.64609C84.9063 1.64609 82.9539 2.5075 81.6121 3.83551C81.2645 2.74002 80.3047 2.05807 79.0036 2.05807H77.2188V4.66259H78.8674V20.9997H81.7561V14.096C83.0901 15.3553 84.9845 16.1746 87.3706 16.1746C91.9628 16.1746 95.1255 13.1862 95.1255 8.88225C95.1255 4.57832 91.9581 1.64453 87.3659 1.64453L87.3675 1.64609ZM87.009 13.5108C83.8729 13.5108 81.7561 11.6194 81.7561 8.85104C81.7561 6.08267 83.8729 4.30055 87.009 4.30055C90.145 4.30055 92.1804 6.13729 92.1804 8.85104C92.1773 11.6257 90.0073 13.5108 87.009 13.5108Z" fill="#1C2026"></path></g><defs><linearGradient id="paint0_linear_5981_16052" x1="7.58306" y1="17.4539" x2="15.7182" y2="1.6109" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint1_linear_5981_16052" x1="9.59906" y1="15.0251" x2="1.83292" y2="1.2805" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint2_linear_5981_16052" x1="10.5542" y1="1.63392" x2="0.731369" y2="18.2202" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint3_linear_5981_16052" x1="12.2238" y1="9.64424" x2="17.2384" y2="18.7404" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><clipPath id="clip0_5981_16052"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function Z_(t,e){return o.openBlock(),o.createElementBlock("svg",cI,[...dI])}const uI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),hI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},fI=[o.createElementVNode("path",{d:"M16.8753 16.8751L13.5836 13.5834M15.417 9.16675C15.417 12.6185 12.6188 15.4167 9.16699 15.4167C5.71521 15.4167 2.91699 12.6185 2.91699 9.16675C2.91699 5.71497 5.71521 2.91675 9.16699 2.91675C12.6188 2.91675 15.417 5.71497 15.417 9.16675Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function U_(t,e){return o.openBlock(),o.createElementBlock("svg",hI,[...fI])}const mI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),pI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},gI=[o.createElementVNode("path",{d:"M7.99996 4.9974V7.9974L9.99996 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function q_(t,e){return o.openBlock(),o.createElementBlock("svg",pI,[...gI])}const _I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),yI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},wI=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"currentColor"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"currentColor"},null,-1)];function G_(t,e){return o.openBlock(),o.createElementBlock("svg",yI,[...wI])}const bI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),kI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CI=[o.createElementVNode("g",{id:"settings 3, gear, preferences"},[o.createElementVNode("g",{id:"Icon"},[o.createElementVNode("path",{d:"M6.29846 4.28462L5.98025 4.21119C5.48466 4.09682 4.96511 4.24582 4.60547 4.60547C4.24582 4.96511 4.09682 5.48466 4.21119 5.98025L4.28462 6.29846C4.4777 7.13515 4.13269 8.00399 3.41823 8.4803L2.93434 8.80289C2.53365 9.07002 2.29297 9.51973 2.29297 10.0013C2.29297 10.4829 2.53365 10.9326 2.93434 11.1997L3.41823 11.5223C4.13269 11.9986 4.4777 12.8675 4.28462 13.7041L4.21119 14.0224C4.09682 14.5179 4.24583 15.0375 4.60547 15.3971C4.96511 15.7568 5.48466 15.9058 5.98025 15.7914L6.29846 15.718C7.13515 15.5249 8.00399 15.8699 8.4803 16.5844L8.80289 17.0683C9.07002 17.469 9.51973 17.7096 10.0013 17.7096C10.4829 17.7096 10.9326 17.469 11.1997 17.0683L11.5223 16.5844C11.9986 15.8699 12.8675 15.5249 13.7041 15.718L14.0224 15.7914C14.5179 15.9058 15.0375 15.7568 15.3971 15.3971C15.7568 15.0375 15.9058 14.5179 15.7914 14.0224L15.718 13.7041C15.5249 12.8675 15.8699 11.9986 16.5844 11.5223L17.0683 11.1997C17.469 10.9326 17.7096 10.4829 17.7096 10.0013C17.7096 9.51973 17.469 9.07002 17.0683 8.80289L16.5844 8.4803C15.8699 8.00399 15.5249 7.13515 15.718 6.29846L15.7914 5.98025C15.9058 5.48466 15.7568 4.96511 15.3971 4.60547C15.0375 4.24583 14.5179 4.09682 14.0224 4.21119L13.7041 4.28462C12.8675 4.4777 11.9986 4.13269 11.5223 3.41823L11.1997 2.93434C10.9326 2.53365 10.4829 2.29297 10.0013 2.29297C9.51973 2.29297 9.07002 2.53365 8.80289 2.93434L8.4803 3.41823C8.00399 4.13269 7.13515 4.4777 6.29846 4.28462Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"}),o.createElementVNode("path",{d:"M12.293 10.0013C12.293 11.267 11.267 12.293 10.0013 12.293C8.73565 12.293 7.70964 11.267 7.70964 10.0013C7.70964 8.73565 8.73565 7.70964 10.0013 7.70964C11.267 7.70964 12.293 8.73565 12.293 10.0013Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})])],-1)];function K_(t,e){return o.openBlock(),o.createElementBlock("svg",kI,[...CI])}const xI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),MI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},SI=[o.createElementVNode("path",{d:"M8.66667 1.9974V5.33073C8.66667 5.69892 8.96514 5.9974 9.33333 5.9974H12.6667M5.66667 11.6641V10.3307M8 11.6641V8.33073M10.3333 11.6641V9.66406M3.66667 1.66406H8.39052C8.56734 1.66406 8.7369 1.7343 8.86193 1.85932L12.8047 5.80213C12.9298 5.92716 13 6.09673 13 6.27354V13.6641C13 14.0323 12.7015 14.3307 12.3333 14.3307H3.66667C3.29848 14.3307 3 14.0323 3 13.6641V2.33073C3 1.96254 3.29848 1.66406 3.66667 1.66406Z",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function X_(t,e){return o.openBlock(),o.createElementBlock("svg",MI,[...SI])}const vI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),TI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},DI=[o.createElementVNode("g",{id:"arrow-share-right, next, forward"},[o.createElementVNode("path",{id:"vector",d:"M18.75 9.99984L10.4167 2.9165V7.08317C3.33333 7.08317 1.25 9.99984 1.25 17.0832C2.5 14.5832 3.33333 12.9165 10.4167 12.9165V17.0832L18.75 9.99984Z",stroke:"#1C2026"})],-1)];function J_(t,e){return o.openBlock(),o.createElementBlock("svg",TI,[...DI])}const OI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),EI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},$I=[o.createElementVNode("path",{d:"M11.5 14L13.1666 12.3333L11.5 10.6667M3.83329 2L2.16663 3.66667L3.83329 5.33333M2.33329 3.66667H12.3333C12.7015 3.66667 13 3.96514 13 4.33333V7M2.33329 9V11.6667C2.33329 12.0349 2.63177 12.3333 2.99996 12.3333H13",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Q_(t,e){return o.openBlock(),o.createElementBlock("svg",EI,[...$I])}const PI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),LI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VI=[o.createElementVNode("path",{d:"M13.6666 2.33203H2.33325V4.9987L6.33325 9.66536V14.332L9.66659 12.9987V9.66536L13.6666 4.9987V2.33203Z",stroke:"#7F7F83"},null,-1)];function e5(t,e){return o.openBlock(),o.createElementBlock("svg",LI,[...VI])}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e5},render:e5},Symbol.toStringTag,{value:"Module"})),BI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},AI=[o.createStaticVNode('<g id="Group 1171281291"><path id="Vector" d="M11.0345 2.89349C11.0345 4.01688 10.1257 4.92565 9.00235 4.92565C6.89639 4.92565 5.16267 6.53194 4.94805 8.58087C4.93799 8.72171 4.92458 8.86255 4.92458 9.0034C4.92458 9.7445 5.12243 10.442 5.46783 11.0423C4.90781 10.0698 3.66704 9.73444 2.68784 10.3012C1.73211 10.8511 1.39006 12.0651 1.9199 13.0308C1.23916 11.8471 0.853516 10.4688 0.853516 9.0034V8.88603C0.913877 4.44947 4.54229 0.861328 8.99564 0.861328C10.119 0.861328 11.0278 1.7701 11.0278 2.89349H11.0345Z" fill="url(#paint0_linear_4793_138373)"></path><path id="Vector_2" d="M15.9771 13.1923C14.5519 15.5564 11.9563 17.1459 8.99859 17.1459C6.04087 17.1459 3.44532 15.5564 2.02011 13.1923C2.01005 13.1822 2.00334 13.1654 1.99328 13.152C1.97652 13.1252 1.95975 13.1017 1.94969 13.0716C1.94969 13.0648 1.94298 13.0615 1.93963 13.0548C1.93292 13.0447 1.92957 13.038 1.92286 13.028C1.39638 12.0622 1.73842 10.8482 2.6908 10.2983C3.66329 9.73826 4.90741 10.0669 5.47079 11.0394C6.17836 12.2567 7.49291 13.0783 9.00195 13.0783C10.511 13.0783 11.8255 12.26 12.5331 11.0394C11.9731 12.0119 12.3017 13.2526 13.2742 13.8194C14.2065 14.3593 15.3869 14.0709 15.9737 13.1956L15.9804 13.1889L15.9771 13.1923Z" fill="url(#paint1_linear_4793_138373)"></path><path id="Vector_3" d="M17.1446 9.00327C17.1446 10.4687 16.7556 11.8402 16.0782 13.0307C16.0782 13.0408 16.0682 13.0475 16.0615 13.0575C16.0615 13.0642 16.0548 13.0676 16.0514 13.0743C16.0346 13.1011 16.0246 13.1246 16.0078 13.1514C16.0011 13.1615 15.991 13.1783 15.981 13.1917C15.3908 14.0736 14.207 14.3553 13.2815 13.8154C12.309 13.2554 11.9803 12.0113 12.5404 11.0354C12.8891 10.4352 13.0836 9.73766 13.0836 8.99656C13.0836 6.74643 11.2527 4.91882 9.00586 4.91882C10.1293 4.91882 11.038 4.01005 11.038 2.88666C11.038 1.76326 10.1293 0.854492 9.00586 0.854492C13.4995 0.854492 17.148 4.5097 17.148 8.99656V9.00327H17.1446Z" fill="url(#paint2_linear_4793_138373)"></path></g><defs><linearGradient id="paint0_linear_4793_138373" x1="9.34775" y1="1.5689" x2="2.32572" y2="9.39579" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint1_linear_4793_138373" x1="3.27765" y1="12.4009" x2="14.193" y2="15.0434" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint2_linear_4793_138373" x1="15.4344" y1="12.8899" x2="11.8798" y2="2.90676" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient></defs>',2)];function t5(t,e){return o.openBlock(),o.createElementBlock("svg",BI,[...AI])}const FI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t5},render:t5},Symbol.toStringTag,{value:"Module"})),RI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},II=[o.createElementVNode("path",{d:"M7.5491 1.28312C7.73016 0.905626 8.26968 0.905627 8.45074 1.28312L10.0849 4.69028C10.1578 4.84223 10.3029 4.94716 10.4705 4.96914L14.2316 5.46239C14.6484 5.51705 14.8152 6.02874 14.5102 6.31684L11.7595 8.91462C11.6367 9.03062 11.5812 9.20066 11.612 9.36642L12.3027 13.0772C12.3793 13.4886 11.9427 13.8048 11.5733 13.6053L8.23804 11.8044C8.0895 11.7242 7.91033 11.7242 7.7618 11.8044L4.42653 13.6053C4.05714 13.8048 3.62057 13.4886 3.69716 13.0772L4.38781 9.36642C4.41866 9.20066 4.36315 9.03062 4.24033 8.91462L1.48967 6.31684C1.18461 6.02874 1.35142 5.51705 1.76822 5.46239L5.52933 4.96914C5.69696 4.94716 5.84205 4.84223 5.91493 4.69028L7.5491 1.28312Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n5(t,e){return o.openBlock(),o.createElementBlock("svg",RI,[...II])}const HI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n5},render:n5},Symbol.toStringTag,{value:"Module"})),zI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},YI=[o.createElementVNode("path",{d:"M12.9584 7.29427L11.5417 5.8776L8.00004 9.41927L6.22921 7.64844L2.54171 11.3359M2.33337 2.33594V13.6693H13.6667",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function r5(t,e){return o.openBlock(),o.createElementBlock("svg",zI,[...YI])}const WI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r5},render:r5},Symbol.toStringTag,{value:"Module"})),jI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},ZI=[o.createElementVNode("path",{d:"M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.5341 5.59088C13.2046 5.26137 12.6704 5.26137 12.3409 5.59088C12.3329 5.59884 12.3254 5.60726 12.3185 5.61612L8.41207 10.5938L6.05686 8.23863C5.72736 7.90912 5.19312 7.90912 4.86362 8.23863C4.53411 8.56813 4.53411 9.10236 4.86362 9.43187L7.84087 12.4091C8.17038 12.7386 8.70461 12.7386 9.03411 12.4091C9.04145 12.4018 9.04838 12.394 9.05486 12.3859L13.5461 6.77191C13.8636 6.44154 13.8596 5.91634 13.5341 5.59088Z",fill:"#2AA248"},null,-1)];function s5(t,e){return o.openBlock(),o.createElementBlock("svg",jI,[...ZI])}const UI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s5},render:s5},Symbol.toStringTag,{value:"Module"})),qI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},GI=[o.createElementVNode("circle",{cx:"18",cy:"18",r:"18",fill:"#007AFF"},null,-1),o.createElementVNode("path",{d:"M17.584 9.25L20.084 11.75L17.584 14.25M18.4173 21.75L15.9173 24.25L18.4173 26.75M16.334 24.25H19.6673C23.1191 24.25 25.9173 21.4518 25.9173 18C25.9173 15.9555 24.9356 14.1403 23.4179 13M19.6673 11.75H16.334C12.8822 11.75 10.084 14.5482 10.084 18C10.084 20.0445 11.0657 21.8597 12.5834 23",stroke:"white","stroke-linecap":"square"},null,-1)];function i5(t,e){return o.openBlock(),o.createElementBlock("svg",qI,[...GI])}const KI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i5},render:i5},Symbol.toStringTag,{value:"Module"})),XI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},JI=[o.createElementVNode("path",{d:"M10 6.39388V9.31055M11.6667 10.9772H14.5834M10 12.6439V15.5605M5.41671 10.9772C5.41671 10.9772 7.38309 10.9772 8.33337 10.9772M10 18.8939C5.62779 18.8939 2.08337 15.3495 2.08337 10.9772C2.08337 6.60496 5.62779 3.06055 10 3.06055C14.3723 3.06055 17.9167 6.60496 17.9167 10.9772C17.9167 15.3495 14.3723 18.8939 10 18.8939Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function o5(t,e){return o.openBlock(),o.createElementBlock("svg",XI,[...JI])}const QI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o5},render:o5},Symbol.toStringTag,{value:"Module"})),eH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},tH=[o.createElementVNode("path",{d:"M3.66634 4.16797V14.168C3.66634 14.5362 3.96482 14.8346 4.33301 14.8346H11.6663C12.0345 14.8346 12.333 14.5362 12.333 14.168V4.16797M3.66634 4.16797H12.333M3.66634 4.16797H2.33301M12.333 4.16797H13.6663M9.66634 7.66797V11.5013M6.33301 7.66797V11.5013M5.99967 4.16797C5.99967 3.0634 6.89511 2.16797 7.99967 2.16797C9.10424 2.16797 9.99967 3.0634 9.99967 4.16797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function a5(t,e){return o.openBlock(),o.createElementBlock("svg",eH,[...tH])}const nH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a5},render:a5},Symbol.toStringTag,{value:"Module"})),rH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},sH=[o.createElementVNode("path",{d:"M7.99967 3.5013C8.36786 3.5013 8.66634 3.20283 8.66634 2.83464C8.66634 2.46645 8.36786 2.16797 7.99967 2.16797C7.63148 2.16797 7.33301 2.46645 7.33301 2.83464C7.33301 3.20283 7.63148 3.5013 7.99967 3.5013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 9.16797C8.36786 9.16797 8.66634 8.86949 8.66634 8.5013C8.66634 8.13311 8.36786 7.83464 7.99967 7.83464C7.63148 7.83464 7.33301 8.13311 7.33301 8.5013C7.33301 8.86949 7.63148 9.16797 7.99967 9.16797Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 15.0013C8.36786 15.0013 8.66634 14.7028 8.66634 14.3346C8.66634 13.9664 8.36786 13.668 7.99967 13.668C7.63148 13.668 7.33301 13.9664 7.33301 14.3346C7.33301 14.7028 7.63148 15.0013 7.99967 15.0013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function l5(t,e){return o.openBlock(),o.createElementBlock("svg",rH,[...sH])}const iH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l5},render:l5},Symbol.toStringTag,{value:"Module"})),oH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},aH=[o.createStaticVNode('<g id="dot-grid-1x3-horizontal, menu, drag, grab"><g id="vector"><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" fill="#6E6E72"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" fill="#6E6E72"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" fill="#6E6E72"></path><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></g>',1)];function c5(t,e){return o.openBlock(),o.createElementBlock("svg",oH,[...aH])}const lH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c5},render:c5},Symbol.toStringTag,{value:"Module"})),cH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},dH=[o.createElementVNode("path",{d:"M2.1665 10C2.1665 5.67379 5.67361 2.16669 9.99984 2.16669C14.3261 2.16669 17.8332 5.67379 17.8332 10C17.8332 14.3263 14.3261 17.8334 9.99984 17.8334C5.67361 17.8334 2.1665 14.3263 2.1665 10ZM8.95817 8.04169C8.33685 8.04169 7.83317 8.54537 7.83317 9.16669C7.83317 9.75998 8.29243 10.246 8.87483 10.2886L8.87484 13.5417C8.87484 14.163 9.37852 14.6667 9.99984 14.6667C10.6212 14.6667 11.1248 14.163 11.1248 13.5417L11.1248 9.16669C11.1248 8.54537 10.6212 8.04169 9.99983 8.04169H8.95817ZM9.99984 5.54169C9.37852 5.54169 8.87484 6.04537 8.87484 6.66669C8.87484 7.28801 9.37852 7.79169 9.99984 7.79169C10.6212 7.79169 11.1248 7.28801 11.1248 6.66669C11.1248 6.04537 10.6212 5.54169 9.99984 5.54169Z",fill:"currentColor",stroke:"currentColor"},null,-1)];function d5(t,e){return o.openBlock(),o.createElementBlock("svg",cH,[...dH])}const uH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d5},render:d5},Symbol.toStringTag,{value:"Module"})),hH={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fH=[o.createStaticVNode('<g id="Frame 2118527356"><path id="Vector" d="M15.7101 13.0405C14.7576 13.0405 13.9834 12.2692 13.9834 11.3138V7.91304L9.97199 3.90166C9.2971 3.22677 9.2971 2.137 9.97199 1.46211C10.6469 0.787213 11.7396 0.790134 12.4115 1.46211L16.9284 5.97893C17.2527 6.30323 17.4338 6.74147 17.4338 7.20017V11.3167C17.4338 12.2692 16.6625 13.0434 15.7071 13.0434L15.7101 13.0405Z" fill="url(#paint0_linear_4793_138382)"></path><path id="Vector_2" d="M2.29211 13.0399C1.33966 13.0399 0.56543 12.2686 0.56543 11.3133V8.7218C0.56543 7.76935 1.33674 6.99512 2.29211 6.99512C3.24748 6.99512 4.01879 7.76643 4.01879 8.7218V11.3133C4.01879 12.2657 3.24748 13.0399 2.29211 13.0399Z" fill="url(#paint1_linear_4793_138382)"></path><path id="Vector_3" d="M11.1935 13.0399C10.241 13.0399 9.4668 12.2686 9.4668 11.3132V2.68273C9.4668 1.73028 10.2381 0.956055 11.1935 0.956055C12.1488 0.956055 12.9202 1.72736 12.9202 2.68273V11.3132C12.9202 12.2656 12.1488 13.0399 11.1935 13.0399Z" fill="url(#paint2_linear_4793_138382)"></path><path id="Vector_4" d="M6.69152 13.0398C5.73907 13.0398 4.96484 12.2685 4.96484 11.3131V5.47863C4.96484 4.52618 5.73615 3.75195 6.69152 3.75195C7.64689 3.75195 8.4182 4.52326 8.4182 5.47863V11.3131C8.4182 12.2656 7.64689 13.0398 6.69152 13.0398Z" fill="url(#paint3_linear_4793_138382)"></path></g><defs><linearGradient id="paint0_linear_4793_138382" x1="12.4495" y1="2.93168" x2="19.5082" y2="17.0957" gradientUnits="userSpaceOnUse"><stop offset="0.04" stop-color="#6439FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint1_linear_4793_138382" x1="2.18693" y1="14.2261" x2="2.43527" y2="4.14654" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint2_linear_4793_138382" x1="11.0153" y1="14.3517" x2="11.2461" y2="4.92069" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint3_linear_4793_138382" x1="6.55128" y1="14.2464" x2="6.77917" y2="4.8534" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient></defs>',2)];function u5(t,e){return o.openBlock(),o.createElementBlock("svg",hH,[...fH])}const mH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u5},render:u5},Symbol.toStringTag,{value:"Module"})),pH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},gH=[o.createElementVNode("path",{d:"M3.33317 4.65234L3.64632 14.6732C3.65757 15.0331 3.95258 15.319 4.31266 15.319H11.687C12.0471 15.319 12.3421 15.0331 12.3534 14.6732L12.6665 4.65234M3.33317 4.65234H12.6665M3.33317 4.65234H1.6665M12.6665 4.65234H14.3332M6.33317 7.98568V11.9857M9.6665 7.98568V11.9857M10.5825 4.65234C10.2865 3.50219 9.24241 2.65234 7.99985 2.65234C6.75729 2.65234 5.71322 3.50219 5.4172 4.65234",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h5(t,e){return o.openBlock(),o.createElementBlock("svg",pH,[...gH])}const _H=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h5},render:h5},Symbol.toStringTag,{value:"Module"})),yH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wH=[o.createElementVNode("g",{id:"trending-1, trends"},[o.createElementVNode("path",{id:"vector",d:"M2.29297 10.8636L3.14768 8.83481C3.44666 8.12513 4.46178 8.16437 4.70547 8.89504L5.75956 12.0556C6.01597 12.8243 7.10305 12.814 7.34491 12.0405L9.94935 3.71096C10.203 2.89982 11.3607 2.9417 11.5555 3.76905L14.4893 16.2309C14.6804 17.0427 15.8081 17.1042 16.0858 16.318L17.7096 11.7196",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function f5(t,e){return o.openBlock(),o.createElementBlock("svg",yH,[...wH])}const bH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f5},render:f5},Symbol.toStringTag,{value:"Module"})),kH={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},CH=[o.createElementVNode("path",{d:"M1 15C1 11.5522 2.36964 8.24558 4.80761 5.80761C7.24558 3.36964 10.5522 2 14 2C17.6343 2.01367 21.1226 3.43177 23.7356 5.95778L27 9.22222",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 1V10H19",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 19C28 22.4478 26.6304 25.7544 24.1924 28.1924C21.7544 30.6304 18.4478 32 15 32C11.3657 31.9863 7.8774 30.5682 5.26444 28.0422L2 24.7778",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M10 24H1V33",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function m5(t,e){return o.openBlock(),o.createElementBlock("svg",kH,[...CH])}const xH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m5},render:m5},Symbol.toStringTag,{value:"Module"})),MH={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},SH=[o.createElementVNode("path",{d:"M1 31L16 16L1 1",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M30 1V31",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function p5(t,e){return o.openBlock(),o.createElementBlock("svg",MH,[...SH])}const vH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p5},render:p5},Symbol.toStringTag,{value:"Module"})),TH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},DH=[o.createElementVNode("path",{d:"M10 7.91666V11.6667M10 13.75H10.0084M9.28098 2.89434L2.19316 14.9955C1.86777 15.551 2.26841 16.25 2.91223 16.25H17.0879C17.7317 16.25 18.1323 15.551 17.8069 14.9955L10.7191 2.89434C10.3972 2.34479 9.60286 2.34479 9.28098 2.89434ZM10.2084 13.75C10.2084 13.8651 10.1151 13.9583 10 13.9583C9.88499 13.9583 9.79171 13.8651 9.79171 13.75C9.79171 13.6349 9.88499 13.5417 10 13.5417C10.1151 13.5417 10.2084 13.6349 10.2084 13.75Z",stroke:"#FFB500","stroke-linecap":"round"},null,-1)];function g5(t,e){return o.openBlock(),o.createElementBlock("svg",TH,[...DH])}const OH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g5},render:g5},Symbol.toStringTag,{value:"Module"})),EH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$H=[o.createStaticVNode('<g id="Waterfall_light"><path id="Rectangle" d="M17.5 17.5H2.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector" d="M3.33331 13.3334V11.6667" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_2" d="M10 10V7.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_3" d="M6.66669 13.3333V8.33331" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_4" d="M13.3333 10.8334V9.16669" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_5" d="M16.6667 12.5V4.16669" stroke="currentColor" stroke-linecap="round"></path></g>',1)];function _5(t,e){return o.openBlock(),o.createElementBlock("svg",EH,[...$H])}const PH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_5},render:_5},Symbol.toStringTag,{value:"Module"})),LH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},VH=[o.createElementVNode("path",{d:"M1.43343 6.42163L2.3735 11.753C2.43744 12.1156 2.78321 12.3577 3.14581 12.2938L6.76052 11.6564M1.43343 6.42163L1.10008 4.5311C1.03615 4.16851 1.27826 3.82274 1.64086 3.7588L9.51932 2.36961C9.88191 2.30568 10.2277 2.54779 10.2916 2.91039L10.625 4.80091L1.43343 6.42163ZM10.6666 7.77171V9.33171L12.0533 10.7184M14.9999 9.33171C14.9999 11.7249 13.0598 13.665 10.6666 13.665C8.27338 13.665 6.33328 11.7249 6.33328 9.33171C6.33328 6.93847 8.27338 4.99838 10.6666 4.99838C13.0598 4.99838 14.9999 6.93847 14.9999 9.33171Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function y5(t,e){return o.openBlock(),o.createElementBlock("svg",LH,[...VH])}const NH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y5},render:y5},Symbol.toStringTag,{value:"Module"})),BH={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},AH=[o.createElementVNode("path",{d:"M22.1352 6.66797H25.4065L18.2597 14.8362L26.6673 25.9513H20.0843L14.9283 19.2101L9.02848 25.9513H5.75525L13.3993 17.2145L5.33398 6.66797H12.0841L16.7448 12.8297L22.1352 6.66797ZM20.9872 23.9933H22.7997L11.0992 8.52313H9.15406L20.9872 23.9933Z",fill:"currentColor"},null,-1)];function w5(t,e){return o.openBlock(),o.createElementBlock("svg",BH,[...AH])}const FH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w5},render:w5},Symbol.toStringTag,{value:"Module"}));se.AccountBalanceWidget=Sv,se.AverageRRLine=P2,se.BalanceWidget=Yv,se.Button=ya,se.Calendar=_8,se.CalendarDropdown=F3,se.CalendarWidget=uT,se.CheckBox=i4,se.CommissionsFeesWidget=vT,se.Confetti=Hw,se.CookieManager=rt,se.Dropdown=R5,se.Dropzone=yk,se.Icon=Le,se.Input=j5,se.LineChart=t1,se.LongShort=xm,se.Menu=l4,se.NavigationTab=S8,se.NoMore=gu,se.NumberInput=C8,se.PerformanceWidget=PT,se.PeriodDropdown=Ws,se.ProgressLine=R3,se.Radio=K5,se.ReturnWidget=UT,se.Selector=w8,se.SidebarPopup=Lk,se.SimpleLineChart=n1,se.Switcher=u4,se.Textarea=Gw,se.Toast=H0,se.Toggle=t4,se.Tooltip=pn,se.TopPositionsWidget=iD,se.TradePerformanceWidget=bD,se.WidgetChips=sc,se.WinrateWidget=PD,se.addSlashToPair=g6,se.calculateTimeDifference=MN,se.firebaseConfig=wL,se.formatDate=p6,se.getCurrencyRate=Mc,se.getCurrencySymbol=pa,se.getDate=CN,se.getDay=uh,se.getDaysDifference=xN,se.getFullYear=wN,se.getMonth=kN,se.maskData=Me,se.numFormat=dh,se.scopeInstance=ic,se.toBaseDate=bN,se.toFix=Et,se.transformKeysToQuery=yN,se.useToast=hh,se.withSign=Ke,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})});
49
+ `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var j2={};function Z2(t,e){re.deprecationHandler!=null&&re.deprecationHandler(t,e),j2[t]||(W2(e),j2[t]=!0)}re.suppressDeprecationWarnings=!1,re.deprecationHandler=null;function rr(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function KD(t){var e,n;for(n in t)$e(t,n)&&(e=t[n],rr(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function m1(t,e){var n=ns({},t),r;for(r in e)$e(e,r)&&(Is(t[r])&&Is(e[r])?(n[r]={},ns(n[r],t[r]),ns(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)$e(t,r)&&!$e(e,r)&&Is(t[r])&&(n[r]=ns({},n[r]));return n}function p1(t){t!=null&&this.set(t)}var g1;Object.keys?g1=Object.keys:g1=function(t){var e,n=[];for(e in t)$e(t,e)&&n.push(e);return n};var XD={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function JD(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return rr(r)?r.call(e,n):r}function sr(t,e,n){var r=""+Math.abs(t),s=e-r.length,i=t>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var _1=/(\[[^\[]*\])|(\\)?([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,Fl=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,y1={},Ti={};function oe(t,e,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),t&&(Ti[t]=s),e&&(Ti[e[0]]=function(){return sr(s.apply(this,arguments),e[1],e[2])}),n&&(Ti[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),t)})}function QD(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function eO(t){var e=t.match(_1),n,r;for(n=0,r=e.length;n<r;n++)Ti[e[n]]?e[n]=Ti[e[n]]:e[n]=QD(e[n]);return function(s){var i="",a;for(a=0;a<r;a++)i+=rr(e[a])?e[a].call(s,t):e[a];return i}}function Rl(t,e){return t.isValid()?(e=U2(e,t.localeData()),y1[e]=y1[e]||eO(e),y1[e](t)):t.localeData().invalidDate()}function U2(t,e){var n=5;function r(s){return e.longDateFormat(s)||s}for(Fl.lastIndex=0;n>=0&&Fl.test(t);)t=t.replace(Fl,r),Fl.lastIndex=0,n-=1;return t}var tO={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 nO(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(_1).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var rO="Invalid date";function sO(){return this._invalidDate}var iO="%d",oO=/\d{1,2}/;function aO(t){return this._ordinal.replace("%d",t)}var lO={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 cO(t,e,n,r){var s=this._relativeTime[n];return rr(s)?s(t,e,n,r):s.replace(/%d/i,t)}function dO(t,e){var n=this._relativeTime[t>0?"future":"past"];return rr(n)?n(e):n.replace(/%s/i,e)}var q2={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 bn(t){return typeof t=="string"?q2[t]||q2[t.toLowerCase()]:void 0}function w1(t){var e={},n,r;for(r in t)$e(t,r)&&(n=bn(r),n&&(e[n]=t[r]));return e}var uO={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 hO(t){var e=[],n;for(n in t)$e(t,n)&&e.push({unit:n,priority:uO[n]});return e.sort(function(r,s){return r.priority-s.priority}),e}var G2=/\d/,ln=/\d\d/,K2=/\d{3}/,b1=/\d{4}/,Il=/[+-]?\d{6}/,qe=/\d\d?/,X2=/\d\d\d\d?/,J2=/\d\d\d\d\d\d?/,Hl=/\d{1,3}/,k1=/\d{1,4}/,zl=/[+-]?\d{1,6}/,Di=/\d+/,Yl=/[+-]?\d+/,fO=/Z|[+-]\d\d:?\d\d/gi,Wl=/Z|[+-]\d\d(?::?\d\d)?/gi,mO=/[+-]?\d+(\.\d{1,3})?/,Xo=/[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,Oi=/^[1-9]\d?/,C1=/^([1-9]\d|\d)/,jl;jl={};function ie(t,e,n){jl[t]=rr(e)?e:function(r,s){return r&&n?n:e}}function pO(t,e){return $e(jl,t)?jl[t](e._strict,e._locale):new RegExp(gO(t))}function gO(t){return Cr(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,s,i){return n||r||s||i}))}function Cr(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kn(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=kn(e)),n}var x1={};function He(t,e){var n,r=e,s;for(typeof t=="string"&&(t=[t]),kr(e)&&(r=function(i,a){a[e]=ke(i)}),s=t.length,n=0;n<s;n++)x1[t[n]]=r}function Jo(t,e){He(t,function(n,r,s,i){s._w=s._w||{},e(n,s._w,s,i)})}function _O(t,e,n){e!=null&&$e(x1,t)&&x1[t](e,n._a,n,t)}function Zl(t){return t%4===0&&t%100!==0||t%400===0}var Nt=0,xr=1,ir=2,xt=3,Vn=4,Mr=5,Hs=6,yO=7,wO=8;oe("Y",0,0,function(){var t=this.year();return t<=9999?sr(t,4):"+"+t}),oe(0,["YY",2],0,function(){return this.year()%100}),oe(0,["YYYY",4],0,"year"),oe(0,["YYYYY",5],0,"year"),oe(0,["YYYYYY",6,!0],0,"year"),ie("Y",Yl),ie("YY",qe,ln),ie("YYYY",k1,b1),ie("YYYYY",zl,Il),ie("YYYYYY",zl,Il),He(["YYYYY","YYYYYY"],Nt),He("YYYY",function(t,e){e[Nt]=t.length===2?re.parseTwoDigitYear(t):ke(t)}),He("YY",function(t,e){e[Nt]=re.parseTwoDigitYear(t)}),He("Y",function(t,e){e[Nt]=parseInt(t,10)});function Qo(t){return Zl(t)?366:365}re.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var Q2=Ei("FullYear",!0);function bO(){return Zl(this.year())}function Ei(t,e){return function(n){return n!=null?(e3(this,t,n),re.updateOffset(this,e),this):ea(this,t)}}function ea(t,e){if(!t.isValid())return NaN;var n=t._d,r=t._isUTC;switch(e){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 e3(t,e,n){var r,s,i,a,l;if(!(!t.isValid()||isNaN(n))){switch(r=t._d,s=t._isUTC,e){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=t.month(),l=t.date(),l=l===29&&a===1&&!Zl(i)?28:l,s?r.setUTCFullYear(i,a,l):r.setFullYear(i,a,l)}}function kO(t){return t=bn(t),rr(this[t])?this[t]():this}function CO(t,e){if(typeof t=="object"){t=w1(t);var n=hO(t),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](t[n[r].unit])}else if(t=bn(t),rr(this[t]))return this[t](e);return this}function xO(t,e){return(t%e+e)%e}var _t;Array.prototype.indexOf?_t=Array.prototype.indexOf:_t=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function M1(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=xO(e,12);return t+=(e-n)/12,n===1?Zl(t)?29:28:31-n%7%2}oe("M",["MM",2],"Mo",function(){return this.month()+1}),oe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),oe("MMMM",0,0,function(t){return this.localeData().months(this,t)}),ie("M",qe,Oi),ie("MM",qe,ln),ie("MMM",function(t,e){return e.monthsShortRegex(t)}),ie("MMMM",function(t,e){return e.monthsRegex(t)}),He(["M","MM"],function(t,e){e[xr]=ke(t)-1}),He(["MMM","MMMM"],function(t,e,n,r){var s=n._locale.monthsParse(t,r,n._strict);s!=null?e[xr]=s:_e(n).invalidMonth=t});var MO="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),t3="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),n3=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,SO=Xo,vO=Xo;function TO(t,e){return t?Pn(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||n3).test(e)?"format":"standalone"][t.month()]:Pn(this._months)?this._months:this._months.standalone}function DO(t,e){return t?Pn(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[n3.test(e)?"format":"standalone"][t.month()]:Pn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function OO(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=nr([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?e==="MMM"?(s=_t.call(this._shortMonthsParse,a),s!==-1?s:null):(s=_t.call(this._longMonthsParse,a),s!==-1?s:null):e==="MMM"?(s=_t.call(this._shortMonthsParse,a),s!==-1?s:(s=_t.call(this._longMonthsParse,a),s!==-1?s:null)):(s=_t.call(this._longMonthsParse,a),s!==-1?s:(s=_t.call(this._shortMonthsParse,a),s!==-1?s:null))}function EO(t,e,n){var r,s,i;if(this._monthsParseExact)return OO.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=nr([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function r3(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!kr(e))return t}var n=e,r=t.date();return r=r<29?r:Math.min(r,M1(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,r):t._d.setMonth(n,r),t}function s3(t){return t!=null?(r3(this,t),re.updateOffset(this,!0),this):ea(this,"Month")}function $O(){return M1(this.year(),this.month())}function PO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||i3.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):($e(this,"_monthsShortRegex")||(this._monthsShortRegex=SO),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function LO(t){return this._monthsParseExact?($e(this,"_monthsRegex")||i3.call(this),t?this._monthsStrictRegex:this._monthsRegex):($e(this,"_monthsRegex")||(this._monthsRegex=vO),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function i3(){function t(c,d){return d.length-c.length}var e=[],n=[],r=[],s,i,a,l;for(s=0;s<12;s++)i=nr([2e3,s]),a=Cr(this.monthsShort(i,"")),l=Cr(this.months(i,"")),e.push(a),n.push(l),r.push(l),r.push(a);e.sort(t),n.sort(t),r.sort(t),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function VO(t,e,n,r,s,i,a){var l;return t<100&&t>=0?(l=new Date(t+400,e,n,r,s,i,a),isFinite(l.getFullYear())&&l.setFullYear(t)):l=new Date(t,e,n,r,s,i,a),l}function ta(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ul(t,e,n){var r=7+e-n,s=(7+ta(t,0,r).getUTCDay()-e)%7;return-s+r-1}function o3(t,e,n,r,s){var i=(7+n-r)%7,a=Ul(t,r,s),l=1+7*(e-1)+i+a,c,d;return l<=0?(c=t-1,d=Qo(c)+l):l>Qo(t)?(c=t+1,d=l-Qo(t)):(c=t,d=l),{year:c,dayOfYear:d}}function na(t,e,n){var r=Ul(t.year(),e,n),s=Math.floor((t.dayOfYear()-r-1)/7)+1,i,a;return s<1?(a=t.year()-1,i=s+Sr(a,e,n)):s>Sr(t.year(),e,n)?(i=s-Sr(t.year(),e,n),a=t.year()+1):(a=t.year(),i=s),{week:i,year:a}}function Sr(t,e,n){var r=Ul(t,e,n),s=Ul(t+1,e,n);return(Qo(t)-r+s)/7}oe("w",["ww",2],"wo","week"),oe("W",["WW",2],"Wo","isoWeek"),ie("w",qe,Oi),ie("ww",qe,ln),ie("W",qe,Oi),ie("WW",qe,ln),Jo(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function NO(t){return na(t,this._week.dow,this._week.doy).week}var BO={dow:0,doy:6};function AO(){return this._week.dow}function FO(){return this._week.doy}function RO(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function IO(t){var e=na(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}oe("d",0,"do","day"),oe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),oe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),oe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),oe("e",0,0,"weekday"),oe("E",0,0,"isoWeekday"),ie("d",qe),ie("e",qe),ie("E",qe),ie("dd",function(t,e){return e.weekdaysMinRegex(t)}),ie("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ie("dddd",function(t,e){return e.weekdaysRegex(t)}),Jo(["dd","ddd","dddd"],function(t,e,n,r){var s=n._locale.weekdaysParse(t,r,n._strict);s!=null?e.d=s:_e(n).invalidWeekday=t}),Jo(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function HO(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function zO(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function S1(t,e){return t.slice(e,7).concat(t.slice(0,e))}var YO="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),a3="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),WO="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jO=Xo,ZO=Xo,UO=Xo;function qO(t,e){var n=Pn(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?S1(n,this._week.dow):t?n[t.day()]:n}function GO(t){return t===!0?S1(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function KO(t){return t===!0?S1(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function XO(t,e,n){var r,s,i,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=nr([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?e==="dddd"?(s=_t.call(this._weekdaysParse,a),s!==-1?s:null):e==="ddd"?(s=_t.call(this._shortWeekdaysParse,a),s!==-1?s:null):(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null):e==="dddd"?(s=_t.call(this._weekdaysParse,a),s!==-1||(s=_t.call(this._shortWeekdaysParse,a),s!==-1)?s:(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null)):e==="ddd"?(s=_t.call(this._shortWeekdaysParse,a),s!==-1||(s=_t.call(this._weekdaysParse,a),s!==-1)?s:(s=_t.call(this._minWeekdaysParse,a),s!==-1?s:null)):(s=_t.call(this._minWeekdaysParse,a),s!==-1||(s=_t.call(this._weekdaysParse,a),s!==-1)?s:(s=_t.call(this._shortWeekdaysParse,a),s!==-1?s:null))}function JO(t,e,n){var r,s,i;if(this._weekdaysParseExact)return XO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=nr([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function QO(t){if(!this.isValid())return t!=null?this:NaN;var e=ea(this,"Day");return t!=null?(t=HO(t,this.localeData()),this.add(t-e,"d")):e}function eE(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function tE(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=zO(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function nE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):($e(this,"_weekdaysRegex")||(this._weekdaysRegex=jO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function rE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):($e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ZO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function sE(t){return this._weekdaysParseExact?($e(this,"_weekdaysRegex")||v1.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):($e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=UO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function v1(){function t(u,h){return h.length-u.length}var e=[],n=[],r=[],s=[],i,a,l,c,d;for(i=0;i<7;i++)a=nr([2e3,1]).day(i),l=Cr(this.weekdaysMin(a,"")),c=Cr(this.weekdaysShort(a,"")),d=Cr(this.weekdays(a,"")),e.push(l),n.push(c),r.push(d),s.push(l),s.push(c),s.push(d);e.sort(t),n.sort(t),r.sort(t),s.sort(t),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function T1(){return this.hours()%12||12}function iE(){return this.hours()||24}oe("H",["HH",2],0,"hour"),oe("h",["hh",2],0,T1),oe("k",["kk",2],0,iE),oe("hmm",0,0,function(){return""+T1.apply(this)+sr(this.minutes(),2)}),oe("hmmss",0,0,function(){return""+T1.apply(this)+sr(this.minutes(),2)+sr(this.seconds(),2)}),oe("Hmm",0,0,function(){return""+this.hours()+sr(this.minutes(),2)}),oe("Hmmss",0,0,function(){return""+this.hours()+sr(this.minutes(),2)+sr(this.seconds(),2)});function l3(t,e){oe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}l3("a",!0),l3("A",!1);function c3(t,e){return e._meridiemParse}ie("a",c3),ie("A",c3),ie("H",qe,C1),ie("h",qe,Oi),ie("k",qe,Oi),ie("HH",qe,ln),ie("hh",qe,ln),ie("kk",qe,ln),ie("hmm",X2),ie("hmmss",J2),ie("Hmm",X2),ie("Hmmss",J2),He(["H","HH"],xt),He(["k","kk"],function(t,e,n){var r=ke(t);e[xt]=r===24?0:r}),He(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),He(["h","hh"],function(t,e,n){e[xt]=ke(t),_e(n).bigHour=!0}),He("hmm",function(t,e,n){var r=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r)),_e(n).bigHour=!0}),He("hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[Mr]=ke(t.substr(s)),_e(n).bigHour=!0}),He("Hmm",function(t,e,n){var r=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r))}),He("Hmmss",function(t,e,n){var r=t.length-4,s=t.length-2;e[xt]=ke(t.substr(0,r)),e[Vn]=ke(t.substr(r,2)),e[Mr]=ke(t.substr(s))});function oE(t){return(t+"").toLowerCase().charAt(0)==="p"}var aE=/[ap]\.?m?\.?/i,lE=Ei("Hours",!0);function cE(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var d3={calendar:XD,longDateFormat:tO,invalidDate:rO,ordinal:iO,dayOfMonthOrdinalParse:oO,relativeTime:lO,months:MO,monthsShort:t3,week:BO,weekdays:YO,weekdaysMin:WO,weekdaysShort:a3,meridiemParse:aE},Je={},ra={},sa;function dE(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function u3(t){return t&&t.toLowerCase().replace("_","-")}function uE(t){for(var e=0,n,r,s,i;e<t.length;){for(i=u3(t[e]).split("-"),n=i.length,r=u3(t[e+1]),r=r?r.split("-"):null;n>0;){if(s=ql(i.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&dE(i,r)>=n-1)break;n--}e++}return sa}function hE(t){return!!(t&&t.match("^[^/\\\\]*$"))}function ql(t){var e=null,n;if(Je[t]===void 0&&typeof module<"u"&&module&&module.exports&&hE(t))try{e=sa._abbr,n=require,n("./locale/"+t),rs(e)}catch{Je[t]=null}return Je[t]}function rs(t,e){var n;return t&&(Ut(e)?n=vr(t):n=D1(t,e),n?sa=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sa._abbr}function D1(t,e){if(e!==null){var n,r=d3;if(e.abbr=t,Je[t]!=null)Z2("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=Je[t]._config;else if(e.parentLocale!=null)if(Je[e.parentLocale]!=null)r=Je[e.parentLocale]._config;else if(n=ql(e.parentLocale),n!=null)r=n._config;else return ra[e.parentLocale]||(ra[e.parentLocale]=[]),ra[e.parentLocale].push({name:t,config:e}),null;return Je[t]=new p1(m1(r,e)),ra[t]&&ra[t].forEach(function(s){D1(s.name,s.config)}),rs(t),Je[t]}else return delete Je[t],null}function fE(t,e){if(e!=null){var n,r,s=d3;Je[t]!=null&&Je[t].parentLocale!=null?Je[t].set(m1(Je[t]._config,e)):(r=ql(t),r!=null&&(s=r._config),e=m1(s,e),r==null&&(e.abbr=t),n=new p1(e),n.parentLocale=Je[t],Je[t]=n),rs(t)}else Je[t]!=null&&(Je[t].parentLocale!=null?(Je[t]=Je[t].parentLocale,t===rs()&&rs(t)):Je[t]!=null&&delete Je[t]);return Je[t]}function vr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sa;if(!Pn(t)){if(e=ql(t),e)return e;t=[t]}return uE(t)}function mE(){return g1(Je)}function O1(t){var e,n=t._a;return n&&_e(t).overflow===-2&&(e=n[xr]<0||n[xr]>11?xr:n[ir]<1||n[ir]>M1(n[Nt],n[xr])?ir:n[xt]<0||n[xt]>24||n[xt]===24&&(n[Vn]!==0||n[Mr]!==0||n[Hs]!==0)?xt:n[Vn]<0||n[Vn]>59?Vn:n[Mr]<0||n[Mr]>59?Mr:n[Hs]<0||n[Hs]>999?Hs:-1,_e(t)._overflowDayOfYear&&(e<Nt||e>ir)&&(e=ir),_e(t)._overflowWeeks&&e===-1&&(e=yO),_e(t)._overflowWeekday&&e===-1&&(e=wO),_e(t).overflow=e),t}var pE=/^\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)?)?$/,gE=/^\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)?)?$/,_E=/Z|[+-]\d\d(?::?\d\d)?/,Gl=[["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]],E1=[["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/]],yE=/^\/?Date\((-?\d+)/i,wE=/^(?:(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}))$/,bE={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function h3(t){var e,n,r=t._i,s=pE.exec(r)||gE.exec(r),i,a,l,c,d=Gl.length,u=E1.length;if(s){for(_e(t).iso=!0,e=0,n=d;e<n;e++)if(Gl[e][1].exec(s[1])){a=Gl[e][0],i=Gl[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(s[3]){for(e=0,n=u;e<n;e++)if(E1[e][1].exec(s[3])){l=(s[2]||" ")+E1[e][0];break}if(l==null){t._isValid=!1;return}}if(!i&&l!=null){t._isValid=!1;return}if(s[4])if(_E.exec(s[4]))c="Z";else{t._isValid=!1;return}t._f=a+(l||"")+(c||""),P1(t)}else t._isValid=!1}function kE(t,e,n,r,s,i){var a=[CE(t),t3.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return i&&a.push(parseInt(i,10)),a}function CE(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function xE(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ME(t,e,n){if(t){var r=a3.indexOf(t),s=new Date(e[0],e[1],e[2]).getDay();if(r!==s)return _e(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function SE(t,e,n){if(t)return bE[t];if(e)return 0;var r=parseInt(n,10),s=r%100,i=(r-s)/100;return i*60+s}function f3(t){var e=wE.exec(xE(t._i)),n;if(e){if(n=kE(e[4],e[3],e[2],e[5],e[6],e[7]),!ME(e[1],n,t))return;t._a=n,t._tzm=SE(e[8],e[9],e[10]),t._d=ta.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),_e(t).rfc2822=!0}else t._isValid=!1}function vE(t){var e=yE.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(h3(t),t._isValid===!1)delete t._isValid;else return;if(f3(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:re.createFromInputFallback(t)}re.createFromInputFallback=wn("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function $i(t,e,n){return t??e??n}function TE(t){var e=new Date(re.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function $1(t){var e,n,r=[],s,i,a;if(!t._d){for(s=TE(t),t._w&&t._a[ir]==null&&t._a[xr]==null&&DE(t),t._dayOfYear!=null&&(a=$i(t._a[Nt],s[Nt]),(t._dayOfYear>Qo(a)||t._dayOfYear===0)&&(_e(t)._overflowDayOfYear=!0),n=ta(a,0,t._dayOfYear),t._a[xr]=n.getUTCMonth(),t._a[ir]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=s[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[xt]===24&&t._a[Vn]===0&&t._a[Mr]===0&&t._a[Hs]===0&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?ta:VO).apply(null,r),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==i&&(_e(t).weekdayMismatch=!0)}}function DE(t){var e,n,r,s,i,a,l,c,d;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,a=4,n=$i(e.GG,t._a[Nt],na(Ge(),1,4).year),r=$i(e.W,1),s=$i(e.E,1),(s<1||s>7)&&(c=!0)):(i=t._locale._week.dow,a=t._locale._week.doy,d=na(Ge(),i,a),n=$i(e.gg,t._a[Nt],d.year),r=$i(e.w,d.week),e.d!=null?(s=e.d,(s<0||s>6)&&(c=!0)):e.e!=null?(s=e.e+i,(e.e<0||e.e>6)&&(c=!0)):s=i),r<1||r>Sr(n,i,a)?_e(t)._overflowWeeks=!0:c!=null?_e(t)._overflowWeekday=!0:(l=o3(n,r,s,i,a),t._a[Nt]=l.year,t._dayOfYear=l.dayOfYear)}re.ISO_8601=function(){},re.RFC_2822=function(){};function P1(t){if(t._f===re.ISO_8601){h3(t);return}if(t._f===re.RFC_2822){f3(t);return}t._a=[],_e(t).empty=!0;var e=""+t._i,n,r,s,i,a,l=e.length,c=0,d,u;for(s=U2(t._f,t._locale).match(_1)||[],u=s.length,n=0;n<u;n++)i=s[n],r=(e.match(pO(i,t))||[])[0],r&&(a=e.substr(0,e.indexOf(r)),a.length>0&&_e(t).unusedInput.push(a),e=e.slice(e.indexOf(r)+r.length),c+=r.length),Ti[i]?(r?_e(t).empty=!1:_e(t).unusedTokens.push(i),_O(i,r,t)):t._strict&&!r&&_e(t).unusedTokens.push(i);_e(t).charsLeftOver=l-c,e.length>0&&_e(t).unusedInput.push(e),t._a[xt]<=12&&_e(t).bigHour===!0&&t._a[xt]>0&&(_e(t).bigHour=void 0),_e(t).parsedDateParts=t._a.slice(0),_e(t).meridiem=t._meridiem,t._a[xt]=OE(t._locale,t._a[xt],t._meridiem),d=_e(t).era,d!==null&&(t._a[Nt]=t._locale.erasConvertYear(d,t._a[Nt])),$1(t),O1(t)}function OE(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function EE(t){var e,n,r,s,i,a,l=!1,c=t._f.length;if(c===0){_e(t).invalidFormat=!0,t._d=new Date(NaN);return}for(s=0;s<c;s++)i=0,a=!1,e=f1({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[s],P1(e),u1(e)&&(a=!0),i+=_e(e).charsLeftOver,i+=_e(e).unusedTokens.length*10,_e(e).score=i,l?i<r&&(r=i,n=e):(r==null||i<r||a)&&(r=i,n=e,a&&(l=!0));ns(t,n||e)}function $E(t){if(!t._d){var e=w1(t._i),n=e.day===void 0?e.date:e.day;t._a=z2([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),$1(t)}}function PE(t){var e=new Ko(O1(m3(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function m3(t){var e=t._i,n=t._f;return t._locale=t._locale||vr(t._l),e===null||n===void 0&&e===""?Al({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ln(e)?new Ko(O1(e)):(Go(e)?t._d=e:Pn(n)?EE(t):n?P1(t):LE(t),u1(t)||(t._d=null),t))}function LE(t){var e=t._i;Ut(e)?t._d=new Date(re.now()):Go(e)?t._d=new Date(e.valueOf()):typeof e=="string"?vE(t):Pn(e)?(t._a=z2(e.slice(0),function(n){return parseInt(n,10)}),$1(t)):Is(e)?$E(t):kr(e)?t._d=new Date(e):re.createFromInputFallback(t)}function p3(t,e,n,r,s){var i={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Is(t)&&c1(t)||Pn(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=s,i._l=n,i._i=t,i._f=e,i._strict=r,PE(i)}function Ge(t,e,n,r){return p3(t,e,n,r,!1)}var VE=wn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ge.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Al()}),NE=wn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ge.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Al()});function g3(t,e){var n,r;if(e.length===1&&Pn(e[0])&&(e=e[0]),!e.length)return Ge();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function BE(){var t=[].slice.call(arguments,0);return g3("isBefore",t)}function AE(){var t=[].slice.call(arguments,0);return g3("isAfter",t)}var FE=function(){return Date.now?Date.now():+new Date},ia=["year","quarter","month","week","day","hour","minute","second","millisecond"];function RE(t){var e,n=!1,r,s=ia.length;for(e in t)if($e(t,e)&&!(_t.call(ia,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<s;++r)if(t[ia[r]]){if(n)return!1;parseFloat(t[ia[r]])!==ke(t[ia[r]])&&(n=!0)}return!0}function IE(){return this._isValid}function HE(){return Nn(NaN)}function Kl(t){var e=w1(t),n=e.year||0,r=e.quarter||0,s=e.month||0,i=e.week||e.isoWeek||0,a=e.day||0,l=e.hour||0,c=e.minute||0,d=e.second||0,u=e.millisecond||0;this._isValid=RE(e),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+a+i*7,this._months=+s+r*3+n*12,this._data={},this._locale=vr(),this._bubble()}function Xl(t){return t instanceof Kl}function L1(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function zE(t,e,n){var r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),i=0,a;for(a=0;a<r;a++)(n&&t[a]!==e[a]||!n&&ke(t[a])!==ke(e[a]))&&i++;return i+s}function _3(t,e){oe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+sr(~~(n/60),2)+e+sr(~~n%60,2)})}_3("Z",":"),_3("ZZ",""),ie("Z",Wl),ie("ZZ",Wl),He(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=V1(Wl,t)});var YE=/([\+\-]|\d\d)/gi;function V1(t,e){var n=(e||"").match(t),r,s,i;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(YE)||["-",0,0],i=+(s[1]*60)+ke(s[2]),i===0?0:s[0]==="+"?i:-i)}function N1(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Ln(t)||Go(t)?t.valueOf():Ge(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),re.updateOffset(n,!1),n):Ge(t).local()}function B1(t){return-Math.round(t._d.getTimezoneOffset())}re.updateOffset=function(){};function WE(t,e,n){var r=this._offset||0,s;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=V1(Wl,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(s=B1(this)),this._offset=t,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==t&&(!e||this._changeInProgress?k3(this,Nn(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,re.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:B1(this)}function jE(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function ZE(t){return this.utcOffset(0,t)}function UE(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(B1(this),"m")),this}function qE(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=V1(fO,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function GE(t){return this.isValid()?(t=t?Ge(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function KE(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function XE(){if(!Ut(this._isDSTShifted))return this._isDSTShifted;var t={},e;return f1(t,this),t=m3(t),t._a?(e=t._isUTC?nr(t._a):Ge(t._a),this._isDSTShifted=this.isValid()&&zE(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function JE(){return this.isValid()?!this._isUTC:!1}function QE(){return this.isValid()?this._isUTC:!1}function y3(){return this.isValid()?this._isUTC&&this._offset===0:!1}var e$=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,t$=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(t,e){var n=t,r=null,s,i,a;return Xl(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:kr(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=e$.exec(t))?(s=r[1]==="-"?-1:1,n={y:0,d:ke(r[ir])*s,h:ke(r[xt])*s,m:ke(r[Vn])*s,s:ke(r[Mr])*s,ms:ke(L1(r[Hs]*1e3))*s}):(r=t$.exec(t))?(s=r[1]==="-"?-1:1,n={y:zs(r[2],s),M:zs(r[3],s),w:zs(r[4],s),d:zs(r[5],s),h:zs(r[6],s),m:zs(r[7],s),s:zs(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=n$(Ge(n.from),Ge(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new Kl(n),Xl(t)&&$e(t,"_locale")&&(i._locale=t._locale),Xl(t)&&$e(t,"_isValid")&&(i._isValid=t._isValid),i}Nn.fn=Kl.prototype,Nn.invalid=HE;function zs(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function w3(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function n$(t,e){var n;return t.isValid()&&e.isValid()?(e=N1(e,t),t.isBefore(e)?n=w3(t,e):(n=w3(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function b3(t,e){return function(n,r){var s,i;return r!==null&&!isNaN(+r)&&(Z2(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),s=Nn(n,r),k3(this,s,t),this}}function k3(t,e,n,r){var s=e._milliseconds,i=L1(e._days),a=L1(e._months);t.isValid()&&(r=r??!0,a&&r3(t,ea(t,"Month")+a*n),i&&e3(t,"Date",ea(t,"Date")+i*n),s&&t._d.setTime(t._d.valueOf()+s*n),r&&re.updateOffset(t,i||a))}var r$=b3(1,"add"),s$=b3(-1,"subtract");function C3(t){return typeof t=="string"||t instanceof String}function i$(t){return Ln(t)||Go(t)||C3(t)||kr(t)||a$(t)||o$(t)||t===null||t===void 0}function o$(t){var e=Is(t)&&!c1(t),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,a=r.length;for(s=0;s<a;s+=1)i=r[s],n=n||$e(t,i);return e&&n}function a$(t){var e=Pn(t),n=!1;return e&&(n=t.filter(function(r){return!kr(r)&&C3(t)}).length===0),e&&n}function l$(t){var e=Is(t)&&!c1(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,i;for(s=0;s<r.length;s+=1)i=r[s],n=n||$e(t,i);return e&&n}function c$(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function d$(t,e){arguments.length===1&&(arguments[0]?i$(arguments[0])?(t=arguments[0],e=void 0):l$(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ge(),r=N1(n,this).startOf("day"),s=re.calendarFormat(this,r)||"sameElse",i=e&&(rr(e[s])?e[s].call(this,n):e[s]);return this.format(i||this.localeData().calendar(s,this,Ge(n)))}function u$(){return new Ko(this)}function h$(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function f$(t,e){var n=Ln(t)?t:Ge(t);return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function m$(t,e,n,r){var s=Ln(t)?t:Ge(t),i=Ln(e)?e:Ge(e);return this.isValid()&&s.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function p$(t,e){var n=Ln(t)?t:Ge(t),r;return this.isValid()&&n.isValid()?(e=bn(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function g$(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function _$(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function y$(t,e,n){var r,s,i;if(!this.isValid())return NaN;if(r=N1(t,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,e=bn(e),e){case"year":i=Jl(this,r)/12;break;case"month":i=Jl(this,r);break;case"quarter":i=Jl(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-s)/864e5;break;case"week":i=(this-r-s)/6048e5;break;default:i=this-r}return n?i:kn(i)}function Jl(t,e){if(t.date()<e.date())return-Jl(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),s,i;return e-r<0?(s=t.clone().add(n-1,"months"),i=(e-r)/(r-s)):(s=t.clone().add(n+1,"months"),i=(e-r)/(s-r)),-(n+i)||0}re.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",re.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function w$(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function b$(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Rl(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):rr(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Rl(n,"Z")):Rl(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function k$(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,s,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(n+r+s+i)}function C$(t){t||(t=this.isUtc()?re.defaultFormatUtc:re.defaultFormat);var e=Rl(this,t);return this.localeData().postformat(e)}function x$(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||Ge(t).isValid())?Nn({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function M$(t){return this.from(Ge(),t)}function S$(t,e){return this.isValid()&&(Ln(t)&&t.isValid()||Ge(t).isValid())?Nn({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function v$(t){return this.to(Ge(),t)}function x3(t){var e;return t===void 0?this._locale._abbr:(e=vr(t),e!=null&&(this._locale=e),this)}var M3=wn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function S3(){return this._locale}var Ql=1e3,Pi=60*Ql,ec=60*Pi,v3=(365*400+97)*24*ec;function Li(t,e){return(t%e+e)%e}function T3(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-v3:new Date(t,e,n).valueOf()}function D3(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-v3:Date.UTC(t,e,n)}function T$(t){var e,n;if(t=bn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?D3:T3,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Li(e+(this._isUTC?0:this.utcOffset()*Pi),ec);break;case"minute":e=this._d.valueOf(),e-=Li(e,Pi);break;case"second":e=this._d.valueOf(),e-=Li(e,Ql);break}return this._d.setTime(e),re.updateOffset(this,!0),this}function D$(t){var e,n;if(t=bn(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?D3:T3,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ec-Li(e+(this._isUTC?0:this.utcOffset()*Pi),ec)-1;break;case"minute":e=this._d.valueOf(),e+=Pi-Li(e,Pi)-1;break;case"second":e=this._d.valueOf(),e+=Ql-Li(e,Ql)-1;break}return this._d.setTime(e),re.updateOffset(this,!0),this}function O$(){return this._d.valueOf()-(this._offset||0)*6e4}function E$(){return Math.floor(this.valueOf()/1e3)}function $$(){return new Date(this.valueOf())}function P$(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function L$(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function V$(){return this.isValid()?this.toISOString():null}function N$(){return u1(this)}function B$(){return ns({},_e(this))}function A$(){return _e(this).overflow}function F$(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}oe("N",0,0,"eraAbbr"),oe("NN",0,0,"eraAbbr"),oe("NNN",0,0,"eraAbbr"),oe("NNNN",0,0,"eraName"),oe("NNNNN",0,0,"eraNarrow"),oe("y",["y",1],"yo","eraYear"),oe("y",["yy",2],0,"eraYear"),oe("y",["yyy",3],0,"eraYear"),oe("y",["yyyy",4],0,"eraYear"),ie("N",A1),ie("NN",A1),ie("NNN",A1),ie("NNNN",G$),ie("NNNNN",K$),He(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var s=n._locale.erasParse(t,r,n._strict);s?_e(n).era=s:_e(n).invalidEra=t}),ie("y",Di),ie("yy",Di),ie("yyy",Di),ie("yyyy",Di),ie("yo",X$),He(["y","yy","yyy","yyyy"],Nt),He(["yo"],function(t,e,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Nt]=n._locale.eraYearOrdinalParse(t,s):e[Nt]=parseInt(t,10)});function R$(t,e){var n,r,s,i=this._eras||vr("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":s=re(i[n].since).startOf("day"),i[n].since=s.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":s=re(i[n].until).startOf("day").valueOf(),i[n].until=s.valueOf();break}}return i}function I$(t,e,n){var r,s,i=this.eras(),a,l,c;for(t=t.toUpperCase(),r=0,s=i.length;r<s;++r)if(a=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),c=i[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(l===t)return i[r];break;case"NNNN":if(a===t)return i[r];break;case"NNNNN":if(c===t)return i[r];break}else if([a,l,c].indexOf(t)>=0)return i[r]}function H$(t,e){var n=t.since<=t.until?1:-1;return e===void 0?re(t.since).year():re(t.since).year()+(e-t.offset)*n}function z$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function Y$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function W$(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function j$(){var t,e,n,r,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-re(s[t].since).year())*n+s[t].offset;return this.year()}function Z$(t){return $e(this,"_erasNameRegex")||F1.call(this),t?this._erasNameRegex:this._erasRegex}function U$(t){return $e(this,"_erasAbbrRegex")||F1.call(this),t?this._erasAbbrRegex:this._erasRegex}function q$(t){return $e(this,"_erasNarrowRegex")||F1.call(this),t?this._erasNarrowRegex:this._erasRegex}function A1(t,e){return e.erasAbbrRegex(t)}function G$(t,e){return e.erasNameRegex(t)}function K$(t,e){return e.erasNarrowRegex(t)}function X$(t,e){return e._eraYearOrdinalRegex||Di}function F1(){var t=[],e=[],n=[],r=[],s,i,a,l,c,d=this.eras();for(s=0,i=d.length;s<i;++s)a=Cr(d[s].name),l=Cr(d[s].abbr),c=Cr(d[s].narrow),e.push(a),t.push(l),n.push(c),r.push(a),r.push(l),r.push(c);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}oe(0,["gg",2],0,function(){return this.weekYear()%100}),oe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function tc(t,e){oe(0,[t,t.length],0,e)}tc("gggg","weekYear"),tc("ggggg","weekYear"),tc("GGGG","isoWeekYear"),tc("GGGGG","isoWeekYear"),ie("G",Yl),ie("g",Yl),ie("GG",qe,ln),ie("gg",qe,ln),ie("GGGG",k1,b1),ie("gggg",k1,b1),ie("GGGGG",zl,Il),ie("ggggg",zl,Il),Jo(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)}),Jo(["gg","GG"],function(t,e,n,r){e[r]=re.parseTwoDigitYear(t)});function J$(t){return O3.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Q$(t){return O3.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function eP(){return Sr(this.year(),1,4)}function tP(){return Sr(this.isoWeekYear(),1,4)}function nP(){var t=this.localeData()._week;return Sr(this.year(),t.dow,t.doy)}function rP(){var t=this.localeData()._week;return Sr(this.weekYear(),t.dow,t.doy)}function O3(t,e,n,r,s){var i;return t==null?na(this,r,s).year:(i=Sr(t,r,s),e>i&&(e=i),sP.call(this,t,e,n,r,s))}function sP(t,e,n,r,s){var i=o3(t,e,n,r,s),a=ta(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}oe("Q",0,"Qo","quarter"),ie("Q",G2),He("Q",function(t,e){e[xr]=(ke(t)-1)*3});function iP(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}oe("D",["DD",2],"Do","date"),ie("D",qe,Oi),ie("DD",qe,ln),ie("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),He(["D","DD"],ir),He("Do",function(t,e){e[ir]=ke(t.match(qe)[0])});var E3=Ei("Date",!0);oe("DDD",["DDDD",3],"DDDo","dayOfYear"),ie("DDD",Hl),ie("DDDD",K2),He(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function oP(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}oe("m",["mm",2],0,"minute"),ie("m",qe,C1),ie("mm",qe,ln),He(["m","mm"],Vn);var aP=Ei("Minutes",!1);oe("s",["ss",2],0,"second"),ie("s",qe,C1),ie("ss",qe,ln),He(["s","ss"],Mr);var lP=Ei("Seconds",!1);oe("S",0,0,function(){return~~(this.millisecond()/100)}),oe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),oe(0,["SSS",3],0,"millisecond"),oe(0,["SSSS",4],0,function(){return this.millisecond()*10}),oe(0,["SSSSS",5],0,function(){return this.millisecond()*100}),oe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),oe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),oe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),oe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),ie("S",Hl,G2),ie("SS",Hl,ln),ie("SSS",Hl,K2);var ss,$3;for(ss="SSSS";ss.length<=9;ss+="S")ie(ss,Di);function cP(t,e){e[Hs]=ke(("0."+t)*1e3)}for(ss="S";ss.length<=9;ss+="S")He(ss,cP);$3=Ei("Milliseconds",!1),oe("z",0,0,"zoneAbbr"),oe("zz",0,0,"zoneName");function dP(){return this._isUTC?"UTC":""}function uP(){return this._isUTC?"Coordinated Universal Time":""}var J=Ko.prototype;J.add=r$,J.calendar=d$,J.clone=u$,J.diff=y$,J.endOf=D$,J.format=C$,J.from=x$,J.fromNow=M$,J.to=S$,J.toNow=v$,J.get=kO,J.invalidAt=A$,J.isAfter=h$,J.isBefore=f$,J.isBetween=m$,J.isSame=p$,J.isSameOrAfter=g$,J.isSameOrBefore=_$,J.isValid=N$,J.lang=M3,J.locale=x3,J.localeData=S3,J.max=NE,J.min=VE,J.parsingFlags=B$,J.set=CO,J.startOf=T$,J.subtract=s$,J.toArray=P$,J.toObject=L$,J.toDate=$$,J.toISOString=b$,J.inspect=k$,typeof Symbol<"u"&&Symbol.for!=null&&(J[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),J.toJSON=V$,J.toString=w$,J.unix=E$,J.valueOf=O$,J.creationData=F$,J.eraName=z$,J.eraNarrow=Y$,J.eraAbbr=W$,J.eraYear=j$,J.year=Q2,J.isLeapYear=bO,J.weekYear=J$,J.isoWeekYear=Q$,J.quarter=J.quarters=iP,J.month=s3,J.daysInMonth=$O,J.week=J.weeks=RO,J.isoWeek=J.isoWeeks=IO,J.weeksInYear=nP,J.weeksInWeekYear=rP,J.isoWeeksInYear=eP,J.isoWeeksInISOWeekYear=tP,J.date=E3,J.day=J.days=QO,J.weekday=eE,J.isoWeekday=tE,J.dayOfYear=oP,J.hour=J.hours=lE,J.minute=J.minutes=aP,J.second=J.seconds=lP,J.millisecond=J.milliseconds=$3,J.utcOffset=WE,J.utc=ZE,J.local=UE,J.parseZone=qE,J.hasAlignedHourOffset=GE,J.isDST=KE,J.isLocal=JE,J.isUtcOffset=QE,J.isUtc=y3,J.isUTC=y3,J.zoneAbbr=dP,J.zoneName=uP,J.dates=wn("dates accessor is deprecated. Use date instead.",E3),J.months=wn("months accessor is deprecated. Use month instead",s3),J.years=wn("years accessor is deprecated. Use year instead",Q2),J.zone=wn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jE),J.isDSTShifted=wn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",XE);function hP(t){return Ge(t*1e3)}function fP(){return Ge.apply(null,arguments).parseZone()}function P3(t){return t}var Pe=p1.prototype;Pe.calendar=JD,Pe.longDateFormat=nO,Pe.invalidDate=sO,Pe.ordinal=aO,Pe.preparse=P3,Pe.postformat=P3,Pe.relativeTime=cO,Pe.pastFuture=dO,Pe.set=KD,Pe.eras=R$,Pe.erasParse=I$,Pe.erasConvertYear=H$,Pe.erasAbbrRegex=U$,Pe.erasNameRegex=Z$,Pe.erasNarrowRegex=q$,Pe.months=TO,Pe.monthsShort=DO,Pe.monthsParse=EO,Pe.monthsRegex=LO,Pe.monthsShortRegex=PO,Pe.week=NO,Pe.firstDayOfYear=FO,Pe.firstDayOfWeek=AO,Pe.weekdays=qO,Pe.weekdaysMin=KO,Pe.weekdaysShort=GO,Pe.weekdaysParse=JO,Pe.weekdaysRegex=nE,Pe.weekdaysShortRegex=rE,Pe.weekdaysMinRegex=sE,Pe.isPM=oE,Pe.meridiem=cE;function nc(t,e,n,r){var s=vr(),i=nr().set(r,e);return s[n](i,t)}function L3(t,e,n){if(kr(t)&&(e=t,t=void 0),t=t||"",e!=null)return nc(t,e,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=nc(t,r,n,"month");return s}function R1(t,e,n,r){typeof t=="boolean"?(kr(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,kr(e)&&(n=e,e=void 0),e=e||"");var s=vr(),i=t?s._week.dow:0,a,l=[];if(n!=null)return nc(e,(n+i)%7,r,"day");for(a=0;a<7;a++)l[a]=nc(e,(a+i)%7,r,"day");return l}function mP(t,e){return L3(t,e,"months")}function pP(t,e){return L3(t,e,"monthsShort")}function gP(t,e,n){return R1(t,e,n,"weekdays")}function _P(t,e,n){return R1(t,e,n,"weekdaysShort")}function yP(t,e,n){return R1(t,e,n,"weekdaysMin")}rs("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(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),re.lang=wn("moment.lang is deprecated. Use moment.locale instead.",rs),re.langData=wn("moment.langData is deprecated. Use moment.localeData instead.",vr);var Tr=Math.abs;function wP(){var t=this._data;return this._milliseconds=Tr(this._milliseconds),this._days=Tr(this._days),this._months=Tr(this._months),t.milliseconds=Tr(t.milliseconds),t.seconds=Tr(t.seconds),t.minutes=Tr(t.minutes),t.hours=Tr(t.hours),t.months=Tr(t.months),t.years=Tr(t.years),this}function V3(t,e,n,r){var s=Nn(e,n);return t._milliseconds+=r*s._milliseconds,t._days+=r*s._days,t._months+=r*s._months,t._bubble()}function bP(t,e){return V3(this,t,e,1)}function kP(t,e){return V3(this,t,e,-1)}function N3(t){return t<0?Math.floor(t):Math.ceil(t)}function CP(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,s,i,a,l,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=N3(I1(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,s=kn(t/1e3),r.seconds=s%60,i=kn(s/60),r.minutes=i%60,a=kn(i/60),r.hours=a%24,e+=kn(a/24),c=kn(B3(e)),n+=c,e-=N3(I1(c)),l=kn(n/12),n%=12,r.days=e,r.months=n,r.years=l,this}function B3(t){return t*4800/146097}function I1(t){return t*146097/4800}function xP(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=bn(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+B3(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(I1(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function Dr(t){return function(){return this.as(t)}}var A3=Dr("ms"),MP=Dr("s"),SP=Dr("m"),vP=Dr("h"),TP=Dr("d"),DP=Dr("w"),OP=Dr("M"),EP=Dr("Q"),$P=Dr("y"),PP=A3;function LP(){return Nn(this)}function VP(t){return t=bn(t),this.isValid()?this[t+"s"]():NaN}function Ys(t){return function(){return this.isValid()?this._data[t]:NaN}}var NP=Ys("milliseconds"),BP=Ys("seconds"),AP=Ys("minutes"),FP=Ys("hours"),RP=Ys("days"),IP=Ys("months"),HP=Ys("years");function zP(){return kn(this.days()/7)}var Or=Math.round,Vi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function YP(t,e,n,r,s){return s.relativeTime(e||1,!!n,t,r)}function WP(t,e,n,r){var s=Nn(t).abs(),i=Or(s.as("s")),a=Or(s.as("m")),l=Or(s.as("h")),c=Or(s.as("d")),d=Or(s.as("M")),u=Or(s.as("w")),h=Or(s.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||d<=1&&["M"]||d<n.M&&["MM",d]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,f[4]=r,YP.apply(null,f)}function jP(t){return t===void 0?Or:typeof t=="function"?(Or=t,!0):!1}function ZP(t,e){return Vi[t]===void 0?!1:e===void 0?Vi[t]:(Vi[t]=e,t==="s"&&(Vi.ss=e-1),!0)}function UP(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Vi,s,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Vi,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),s=this.localeData(),i=WP(this,!n,r,s),n&&(i=s.pastFuture(+this,i)),s.postformat(i)}var H1=Math.abs;function Ni(t){return(t>0)-(t<0)||+t}function rc(){if(!this.isValid())return this.localeData().invalidDate();var t=H1(this._milliseconds)/1e3,e=H1(this._days),n=H1(this._months),r,s,i,a,l=this.asSeconds(),c,d,u,h;return l?(r=kn(t/60),s=kn(r/60),t%=60,r%=60,i=kn(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Ni(this._months)!==Ni(l)?"-":"",u=Ni(this._days)!==Ni(l)?"-":"",h=Ni(this._milliseconds)!==Ni(l)?"-":"",c+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(e?u+e+"D":"")+(s||r||t?"T":"")+(s?h+s+"H":"")+(r?h+r+"M":"")+(t?h+a+"S":"")):"P0D"}var De=Kl.prototype;De.isValid=IE,De.abs=wP,De.add=bP,De.subtract=kP,De.as=xP,De.asMilliseconds=A3,De.asSeconds=MP,De.asMinutes=SP,De.asHours=vP,De.asDays=TP,De.asWeeks=DP,De.asMonths=OP,De.asQuarters=EP,De.asYears=$P,De.valueOf=PP,De._bubble=CP,De.clone=LP,De.get=VP,De.milliseconds=NP,De.seconds=BP,De.minutes=AP,De.hours=FP,De.days=RP,De.weeks=zP,De.months=IP,De.years=HP,De.humanize=UP,De.toISOString=rc,De.toString=rc,De.toJSON=rc,De.locale=x3,De.localeData=S3,De.toIsoString=wn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rc),De.lang=M3,oe("X",0,0,"unix"),oe("x",0,0,"valueOf"),ie("x",Yl),ie("X",mO),He("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),He("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
50
+ re.version="2.30.1",qD(Ge),re.fn=J,re.min=BE,re.max=AE,re.now=FE,re.utc=nr,re.unix=hP,re.months=mP,re.isDate=Go,re.locale=rs,re.invalid=Al,re.duration=Nn,re.isMoment=Ln,re.weekdays=gP,re.parseZone=fP,re.localeData=vr,re.isDuration=Xl,re.monthsShort=pP,re.weekdaysMin=yP,re.defineLocale=D1,re.updateLocale=fE,re.locales=mE,re.weekdaysShort=_P,re.normalizeUnits=bn,re.relativeTimeRounding=jP,re.relativeTimeThreshold=ZP,re.calendarFormat=c$,re.prototype=J,re.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"};const qP={class:"calendar-dropdown"},GP={class:"calendar-dropdown__outer__left"},KP={class:"calendar-dropdown__outer__current"},XP={key:0,class:"calendar-dropdown__inner"},JP={class:"calendar-dropdown__year-switcher"},QP={class:"calendar-dropdown__year-switcher__year"},eL={class:"calendar-dropdown__months"},tL={class:"calendar-dropdown__month-container"},nL=["onClick"],F3=Oe({__name:"CalendarDropdown",props:o.mergeModels({currentDate:{type:Date}},{year:{},yearModifiers:{},month:{},monthModifiers:{}}),emits:o.mergeModels("onChange",["update:year","update:month"]),setup(t,{emit:e}){const n=e,r=t,s=o.useModel(t,"year"),i=o.useModel(t,"month"),a=re.months(),l=o.ref(!1),c=()=>{l.value=!l.value},d=f=>s.value===r.currentDate.getFullYear()&&f===r.currentDate.getMonth(),u=f=>s.value<r.currentDate.getFullYear()||s.value===r.currentDate.getFullYear()&&f<r.currentDate.getMonth(),h=f=>{n("onChange",{month:f,year:s.value}),c()};return(f,m)=>(o.openBlock(),o.createElementBlock("div",qP,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__outer",{"-active":l.value}]),onClick:o.withModifiers(c,["prevent","stop"])},[o.createElementVNode("div",GP,[o.createVNode(o.unref(Le),{icon:"calendar"}),o.createElementVNode("span",KP,o.toDisplayString(o.unref(a)[i.value]+" "+s.value),1)]),o.createVNode(o.unref(Le),{class:o.normalizeClass(["calendar-dropdown__outer__switcher",{"-active":l.value}]),icon:"chevron-down-small"},null,8,["class"])],2),l.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",XP,[o.createElementVNode("div",JP,[o.createVNode(o.unref(ya),{size:"lg",view:"secondary",icon:"chevron-left",onClick:m[0]||(m[0]=g=>s.value--)}),o.createElementVNode("div",QP,o.toDisplayString(s.value),1),o.createVNode(o.unref(ya),{size:"lg",view:"secondary",icon:"chevron-right",onClick:m[1]||(m[1]=g=>s.value++)})]),o.createElementVNode("div",eL,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(a),(g,p)=>(o.openBlock(),o.createElementBlock("div",tL,[o.createElementVNode("div",{class:o.normalizeClass(["calendar-dropdown__month",{"-active":d(p),"-past":u(p)}]),onClick:_=>h(p)},o.toDisplayString(g),11,nL)]))),256))])])),[[o.unref(R2),c,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-4a9eb9ec"]]),rL={class:"period-dropdown"},sL={class:"period-dropdown__outer__left"},iL={class:"period-dropdown__outer__current"},oL={key:0,class:"period-dropdown__inner"},aL=["onClick"],Ws=Oe({__name:"PeriodDropdown",props:{modelValue:{},modelModifiers:{}},emits:o.mergeModels("onChange",["update:modelValue"]),setup(t,{emit:e}){const n=e,r=o.useModel(t,"modelValue",{get(c){return s.find(d=>d.id===c)}}),s=[{name:"7 days",short:"7d",id:"week"},{name:"Month",short:"30d",id:"month"},{name:"Quarter",short:"90d",id:"quarter"},{name:"All time",short:"All",id:"all"}],i=o.ref(!1),a=()=>{i.value=!i.value},l=c=>{r.value=c,n("onChange"),a()};return(c,d)=>(o.openBlock(),o.createElementBlock("div",rL,[o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__outer",{"-active":i.value}]),onClick:o.withModifiers(a,["prevent","stop"])},[o.createElementVNode("div",sL,[o.createVNode(o.unref(Le),{icon:"clock"}),o.createElementVNode("span",iL,o.toDisplayString(r.value.short),1)]),o.createVNode(o.unref(Le),{class:o.normalizeClass(["period-dropdown__outer__switcher",{"-active":i.value}]),icon:"chevron-down-small"},null,8,["class"])],2),i.value?o.withDirectives((o.openBlock(),o.createElementBlock("div",oL,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(s,u=>o.createElementVNode("div",{class:o.normalizeClass(["period-dropdown__option",{"-active":u.id===r.value.id}]),onClick:h=>l(u.id)},[o.createTextVNode(o.toDisplayString(u.name)+" ",1),u.id===r.value.id?(o.openBlock(),o.createBlock(o.unref(Le),{key:0,icon:"checked"})):o.createCommentVNode("",!0)],10,aL)),64))])),[[o.unref(R2),a,void 0,{bubble:!0}]]):o.createCommentVNode("",!0)]))}},[["__scopeId","data-v-9fb265ca"]]),lL={class:"progress-line-container"},cL={class:"progress-line"},dL={class:"progress-line__part"},uL={class:"progress-digits"},hL={class:"progress-digits__value"},fL={class:"progress-digits__value"},mL={class:"progress-digits__value"},R3=Oe({__name:"ProgressLine",props:{drawdown:Number,profit:Number,currentProfit:Number,isPercentage:Boolean,isHidden:Boolean},setup(t){const e=t,n=o.computed(()=>e.currentProfit>0?Et(e.currentProfit/e.profit*100):e.currentProfit<0?Et(e.currentProfit/e.drawdown*100):0),r=a=>{if(!e.profit||!e.currentProfit)return 0;if(a>4){const l=a-5,c=25*l,d=25*(l+1);return n.value>d?100:n.value<c?0:(n.value-c)*4}else{const l=100-25*a,c=100-25*(a-1);return-n.value>c?100:-n.value<l?0:(-n.value-l)*4}},s=a=>{const l=e.currentProfit>0?a-1:a;return a===5?e.currentProfit!==0:r(l)===100},i=o.computed(()=>Math.abs(n.value)>100?n.value<0?"0%":"calc(100% - 88px)":e.currentProfit>0?`calc(${50+n.value/2}% - 88px)`:e.currentProfit<0?50+n.value/2+"%":"50%");return(a,l)=>(o.openBlock(),o.createElementBlock("div",lL,[o.createElementVNode("div",{class:"progress-badge",style:o.normalizeStyle({left:i.value})},o.toDisplayString(o.unref(Me)(t.isHidden,`${n.value}% finished`,{repeat:6})),5),o.createElementVNode("div",cL,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(9,c=>o.createElementVNode("div",dL,[o.createElementVNode("div",{class:o.normalizeClass(["progress-line__dot",{"-positive":s(c)}])},null,2),c!==9?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["progress-line__line",{"-negative-line":c<5}])},[o.createElementVNode("div",{class:"progress-line__progress",style:o.normalizeStyle({width:`${r(c)}%`})},null,4)],2)):o.createCommentVNode("",!0)])),64))]),o.createElementVNode("div",uL,[o.createElementVNode("div",hL,o.toDisplayString(o.unref(Me)(t.isHidden,`-${o.unref(Ke)(t.drawdown,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1),o.createElementVNode("div",fL,o.toDisplayString(o.unref(Me)(t.isHidden,o.unref(Ke)(0,{isPercentage:t.isPercentage,isFixed:!0}),{repeat:3})),1),o.createElementVNode("div",mL,o.toDisplayString(o.unref(Me)(t.isHidden,`+${o.unref(Ke)(t.profit,{isPercentage:t.isPercentage,isFixed:!0})}`,{repeat:6})),1)])]))}},[["__scopeId","data-v-e13b9e44"]]),pL={class:"widget-chips__text"},sc=Oe({__name:"WidgetChips",props:{delta:Number,isHidden:Boolean,percentage:Boolean,isNegative:Boolean,isPositive:Boolean},setup(t){const e=t;return(n,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["widget-chips",t.delta>0&&!t.isNegative||t.isPositive?"-positive":"-negative"])},[o.createVNode(o.unref(Le),{icon:"bxs_up-arrow",class:"widget-chips__icon"}),o.createElementVNode("div",pL,o.toDisplayString(o.unref(Me)(t.isHidden,Math.abs(e.delta)+(e.percentage?"%":""))),1)],2))}},[["__scopeId","data-v-394e7016"]]),ic=Co.create({baseURL:`${rt.getItem("API_URL")||"https://api.scope360.io"}/`}),gL=async()=>{try{const t=rt.getItem("refresh_token");if(!t)throw new Error("No refresh token available");const e=await Co.post(`${rt.getItem("API_URL")||"https://api.scope360.io"}/refresh`,{},{headers:{Authorization:"Bearer "+t}}),{access_token:n,access_expired:r,refresh_expired:s,refresh_token:i}=e.data;return rt.setItem("access_token",n,r),rt.setItem("refresh_token",i,s),n}catch(t){if(console.error("Error refreshing access token:",t),rt.removeItem("access_token"),rt.removeItem("refresh_token"),rt.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}throw t}},_L=t=>rt.getItem("isOAuth")?t:"Bearer "+t;ic.interceptors.request.use(async t=>{const e=rt.getItem("access_token");return t.headers={Accept:"application/json"},rt.getItem("access_token")&&(t.headers.Authorization=_L(e)),t},t=>{Promise.reject(t)}),ic.interceptors.response.use(t=>t,async function(t){try{const e=t.config;if(t.response.status===401&&!e._retry){e._retry=!0;const n=await gL();return Co.defaults.headers.common.Authorization="Bearer "+n,ic(e)}else return Promise.reject(t)}catch{if(rt.removeItem("access_token"),rt.removeItem("refresh_token"),rt.removeItem("isOAuth"),window!==void 0){const e=window.location.hostname==="localhost"?"http://localhost:8080":"https://scope360.io";window.open(`${e}/login?redirectUrl=${window.location.href}`,"_self")}return Promise.reject(t)}});const yL={apiKey:"AIzaSyB_Ld2DPvpUNvAUB5zRFVewb1E3NOwZ56I",authDomain:"scope360-384414.firebaseapp.com",projectId:"scope360-384414",storageBucket:"scope360-384414.appspot.com",messagingSenderId:"642994439819",appId:"1:642994439819:web:963368ff44bab507a6368e",measurementId:"G-BGYS3877GQ"};class js extends Error{}class wL extends js{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class bL extends js{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class kL extends js{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Bi extends js{}class I3 extends js{constructor(e){super(`Invalid unit ${e}`)}}class qt extends js{}class is extends js{constructor(){super("Zone is an abstract class")}}const ne="numeric",Bn="short",cn="long",oc={year:ne,month:ne,day:ne},H3={year:ne,month:Bn,day:ne},CL={year:ne,month:Bn,day:ne,weekday:Bn},z3={year:ne,month:cn,day:ne},Y3={year:ne,month:cn,day:ne,weekday:cn},W3={hour:ne,minute:ne},j3={hour:ne,minute:ne,second:ne},Z3={hour:ne,minute:ne,second:ne,timeZoneName:Bn},U3={hour:ne,minute:ne,second:ne,timeZoneName:cn},q3={hour:ne,minute:ne,hourCycle:"h23"},G3={hour:ne,minute:ne,second:ne,hourCycle:"h23"},K3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:Bn},X3={hour:ne,minute:ne,second:ne,hourCycle:"h23",timeZoneName:cn},J3={year:ne,month:ne,day:ne,hour:ne,minute:ne},Q3={year:ne,month:ne,day:ne,hour:ne,minute:ne,second:ne},eg={year:ne,month:Bn,day:ne,hour:ne,minute:ne},tg={year:ne,month:Bn,day:ne,hour:ne,minute:ne,second:ne},xL={year:ne,month:Bn,day:ne,weekday:Bn,hour:ne,minute:ne},ng={year:ne,month:cn,day:ne,hour:ne,minute:ne,timeZoneName:Bn},rg={year:ne,month:cn,day:ne,hour:ne,minute:ne,second:ne,timeZoneName:Bn},sg={year:ne,month:cn,day:ne,weekday:cn,hour:ne,minute:ne,timeZoneName:cn},ig={year:ne,month:cn,day:ne,weekday:cn,hour:ne,minute:ne,second:ne,timeZoneName:cn};class oa{get type(){throw new is}get name(){throw new is}get ianaName(){return this.name}get isUniversal(){throw new is}offsetName(e,n){throw new is}formatOffset(e,n){throw new is}offset(e){throw new is}equals(e){throw new is}get isValid(){throw new is}}let z1=null;class ac extends oa{static get instance(){return z1===null&&(z1=new ac),z1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Og(e,n,r)}formatOffset(e,n){return da(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let lc={};function ML(t){return lc[t]||(lc[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),lc[t]}const SL={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function vL(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,l,c,d,u]=r;return[a,s,i,l,c,d,u]}function TL(t,e){const n=t.formatToParts(e),r=[];for(let s=0;s<n.length;s++){const{type:i,value:a}=n[s],l=SL[i];i==="era"?r[l]=a:me(l)||(r[l]=parseInt(a,10))}return r}let cc={};class Er extends oa{static create(e){return cc[e]||(cc[e]=new Er(e)),cc[e]}static resetCache(){cc={},lc={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Er.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:r}){return Og(e,n,r,this.name)}formatOffset(e,n){return da(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const r=ML(this.name);let[s,i,a,l,c,d,u]=r.formatToParts?TL(r,n):vL(r,n);l==="BC"&&(s=-Math.abs(s)+1);const f=mc({year:s,month:i,day:a,hour:c===24?0:c,minute:d,second:u,millisecond:0});let m=+n;const g=m%1e3;return m-=g>=0?g:1e3+g,(f-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let og={};function DL(t,e={}){const n=JSON.stringify([t,e]);let r=og[n];return r||(r=new Intl.ListFormat(t,e),og[n]=r),r}let Y1={};function W1(t,e={}){const n=JSON.stringify([t,e]);let r=Y1[n];return r||(r=new Intl.DateTimeFormat(t,e),Y1[n]=r),r}let j1={};function OL(t,e={}){const n=JSON.stringify([t,e]);let r=j1[n];return r||(r=new Intl.NumberFormat(t,e),j1[n]=r),r}let Z1={};function EL(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=Z1[s];return i||(i=new Intl.RelativeTimeFormat(t,e),Z1[s]=i),i}let aa=null;function $L(){return aa||(aa=new Intl.DateTimeFormat().resolvedOptions().locale,aa)}let ag={};function PL(t){let e=ag[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,ag[t]=e}return e}function LL(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let r,s;try{r=W1(t).resolvedOptions(),s=t}catch{const c=t.substring(0,n);r=W1(c).resolvedOptions(),s=c}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function VL(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function NL(t){const e=[];for(let n=1;n<=12;n++){const r=pe.utc(2009,n,1);e.push(t(r))}return e}function BL(t){const e=[];for(let n=1;n<=7;n++){const r=pe.utc(2016,11,13+n);e.push(t(r))}return e}function dc(t,e,n,r){const s=t.listingMode();return s==="error"?null:s==="en"?n(e):r(e)}function AL(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class FL{constructor(e,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...a}=r;if(!n||Object.keys(a).length>0){const l={useGrouping:!1,...r};r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=OL(e,l)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):Q1(e,3);return kt(n,this.padTo)}}}class RL{constructor(e,n,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Er.create(l).valid?(s=l,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=W1(n,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class IL{constructor(e,n,r){this.opts={style:"long",...r},!n&&Sg()&&(this.rtf=EL(e,r))}format(e,n){return this.rtf?this.rtf.format(e,n):oV(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const HL={firstDay:1,minimalDays:4,weekend:[6,7]};class ze{static fromOpts(e){return ze.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,r,s,i=!1){const a=e||yt.defaultLocale,l=a||(i?"en-US":$L()),c=n||yt.defaultNumberingSystem,d=r||yt.defaultOutputCalendar,u=X1(s)||yt.defaultWeekSettings;return new ze(l,c,d,u,a)}static resetCache(){aa=null,Y1={},j1={},Z1={}}static fromObject({locale:e,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return ze.create(e,n,r,s)}constructor(e,n,r,s,i){const[a,l,c]=LL(e);this.locale=a,this.numberingSystem=n||l||null,this.outputCalendar=r||c||null,this.weekSettings=s,this.intl=VL(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=AL(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:ze.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,X1(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return dc(this,e,Pg,()=>{const r=n?{month:e,day:"numeric"}:{month:e},s=n?"format":"standalone";return this.monthsCache[s][e]||(this.monthsCache[s][e]=NL(i=>this.extract(i,r,"month"))),this.monthsCache[s][e]})}weekdays(e,n=!1){return dc(this,e,Ng,()=>{const r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=n?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=BL(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return dc(this,void 0,()=>Bg,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[pe.utc(2016,11,13,9),pe.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return dc(this,e,Ag,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[pe.utc(-40,1,1),pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[e]})}extract(e,n,r){const s=this.dtFormatter(e,n),i=s.formatToParts(),a=i.find(l=>l.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new FL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new RL(e,this.intl,n)}relFormatter(e={}){return new IL(this.intl,this.isEnglish(),e)}listFormatter(e={}){return DL(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vg()?PL(this.locale):HL}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let U1=null;class Ft extends oa{static get utcInstance(){return U1===null&&(U1=new Ft(0)),U1}static instance(e){return e===0?Ft.utcInstance:new Ft(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Ft(pc(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${da(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${da(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return da(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class zL extends oa{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function os(t,e){if(me(t)||t===null)return e;if(t instanceof oa)return t;if(jL(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ac.instance:n==="utc"||n==="gmt"?Ft.utcInstance:Ft.parseSpecifier(n)||Er.create(t)}else return Zs(t)?Ft.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new zL(t)}let lg=()=>Date.now(),cg="system",dg=null,ug=null,hg=null,fg=60,mg,pg=null;class yt{static get now(){return lg}static set now(e){lg=e}static set defaultZone(e){cg=e}static get defaultZone(){return os(cg,ac.instance)}static get defaultLocale(){return dg}static set defaultLocale(e){dg=e}static get defaultNumberingSystem(){return ug}static set defaultNumberingSystem(e){ug=e}static get defaultOutputCalendar(){return hg}static set defaultOutputCalendar(e){hg=e}static get defaultWeekSettings(){return pg}static set defaultWeekSettings(e){pg=X1(e)}static get twoDigitCutoffYear(){return fg}static set twoDigitCutoffYear(e){fg=e%100}static get throwOnInvalid(){return mg}static set throwOnInvalid(e){mg=e}static resetCaches(){ze.resetCache(),Er.resetCache()}}class An{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gg=[0,31,59,90,120,151,181,212,243,273,304,334],_g=[0,31,60,91,121,152,182,213,244,274,305,335];function Cn(t,e){return new An("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function q1(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function yg(t,e,n){return n+(la(t)?_g:gg)[e-1]}function wg(t,e){const n=la(t)?_g:gg,r=n.findIndex(i=>i<e),s=e-n[r];return{month:r+1,day:s}}function G1(t,e){return(t-e+7)%7+1}function uc(t,e=4,n=1){const{year:r,month:s,day:i}=t,a=yg(r,s,i),l=G1(q1(r,s,i),n);let c=Math.floor((a-l+14-e)/7),d;return c<1?(d=r-1,c=ca(d,e,n)):c>ca(r,e,n)?(d=r+1,c=1):d=r,{weekYear:d,weekNumber:c,weekday:l,..._c(t)}}function bg(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,a=G1(q1(r,1,e),n),l=Fi(r);let c=s*7+i-a-7+e,d;c<1?(d=r-1,c+=Fi(d)):c>l?(d=r+1,c-=Fi(r)):d=r;const{month:u,day:h}=wg(d,c);return{year:d,month:u,day:h,..._c(t)}}function K1(t){const{year:e,month:n,day:r}=t,s=yg(e,n,r);return{year:e,ordinal:s,..._c(t)}}function kg(t){const{year:e,ordinal:n}=t,{month:r,day:s}=wg(e,n);return{year:e,month:r,day:s,..._c(t)}}function Cg(t,e){if(!me(t.localWeekday)||!me(t.localWeekNumber)||!me(t.localWeekYear)){if(!me(t.weekday)||!me(t.weekNumber)||!me(t.weekYear))throw new Bi("Cannot mix locale-based week fields with ISO-based week fields");return me(t.localWeekday)||(t.weekday=t.localWeekday),me(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),me(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function YL(t,e=4,n=1){const r=hc(t.weekYear),s=xn(t.weekNumber,1,ca(t.weekYear,e,n)),i=xn(t.weekday,1,7);return r?s?i?!1:Cn("weekday",t.weekday):Cn("week",t.weekNumber):Cn("weekYear",t.weekYear)}function WL(t){const e=hc(t.year),n=xn(t.ordinal,1,Fi(t.year));return e?n?!1:Cn("ordinal",t.ordinal):Cn("year",t.year)}function xg(t){const e=hc(t.year),n=xn(t.month,1,12),r=xn(t.day,1,fc(t.year,t.month));return e?n?r?!1:Cn("day",t.day):Cn("month",t.month):Cn("year",t.year)}function Mg(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=xn(e,0,23)||e===24&&n===0&&r===0&&s===0,a=xn(n,0,59),l=xn(r,0,59),c=xn(s,0,999);return i?a?l?c?!1:Cn("millisecond",s):Cn("second",r):Cn("minute",n):Cn("hour",e)}function me(t){return typeof t>"u"}function Zs(t){return typeof t=="number"}function hc(t){return typeof t=="number"&&t%1===0}function jL(t){return typeof t=="string"}function ZL(t){return Object.prototype.toString.call(t)==="[object Date]"}function Sg(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function vg(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function UL(t){return Array.isArray(t)?t:[t]}function Tg(t,e,n){if(t.length!==0)return t.reduce((r,s)=>{const i=[e(s),s];return r&&n(r[0],i[0])===r[0]?r:i},null)[1]}function qL(t,e){return e.reduce((n,r)=>(n[r]=t[r],n),{})}function Ai(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function X1(t){if(t==null)return null;if(typeof t!="object")throw new qt("Week settings must be an object");if(!xn(t.firstDay,1,7)||!xn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!xn(e,1,7)))throw new qt("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function xn(t,e,n){return hc(t)&&t>=e&&t<=n}function GL(t,e){return t-e*Math.floor(t/e)}function kt(t,e=2){const n=t<0;let r;return n?r="-"+(""+-t).padStart(e,"0"):r=(""+t).padStart(e,"0"),r}function as(t){if(!(me(t)||t===null||t===""))return parseInt(t,10)}function Us(t){if(!(me(t)||t===null||t===""))return parseFloat(t)}function J1(t){if(!(me(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Q1(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function la(t){return t%4===0&&(t%100!==0||t%400===0)}function Fi(t){return la(t)?366:365}function fc(t,e){const n=GL(e-1,12)+1,r=t+(e-n)/12;return n===2?la(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function mc(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Dg(t,e,n){return-G1(q1(t,1,e),n)+e-1}function ca(t,e=4,n=1){const r=Dg(t,e,n),s=Dg(t+1,e,n);return(Fi(t)-r+s)/7}function eh(t){return t>99?t:t>yt.twoDigitCutoffYear?1900+t:2e3+t}function Og(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},l=new Intl.DateTimeFormat(n,a).formatToParts(s).find(c=>c.type.toLowerCase()==="timezonename");return l?l.value:null}function pc(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function Eg(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new qt(`Invalid unit value ${t}`);return e}function gc(t,e){const n={};for(const r in t)if(Ai(t,r)){const s=t[r];if(s==null)continue;n[e(r)]=Eg(s)}return n}function da(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${kt(n,2)}:${kt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${kt(n,2)}${kt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function _c(t){return qL(t,["hour","minute","second","millisecond"])}const KL=["January","February","March","April","May","June","July","August","September","October","November","December"],$g=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],XL=["J","F","M","A","M","J","J","A","S","O","N","D"];function Pg(t){switch(t){case"narrow":return[...XL];case"short":return[...$g];case"long":return[...KL];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Lg=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Vg=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],JL=["M","T","W","T","F","S","S"];function Ng(t){switch(t){case"narrow":return[...JL];case"short":return[...Vg];case"long":return[...Lg];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Bg=["AM","PM"],QL=["Before Christ","Anno Domini"],eV=["BC","AD"],tV=["B","A"];function Ag(t){switch(t){case"narrow":return[...tV];case"short":return[...eV];case"long":return[...QL];default:return null}}function nV(t){return Bg[t.hour<12?0:1]}function rV(t,e){return Ng(e)[t.weekday-1]}function sV(t,e){return Pg(e)[t.month-1]}function iV(t,e){return Ag(e)[t.year<0?0:1]}function oV(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&i){const h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${s[t][0]}`;case-1:return h?"yesterday":`last ${s[t][0]}`;case 0:return h?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),c=l===1,d=s[t],u=r?c?d[1]:d[2]||d[1]:c?s[t][0]:t;return a?`${l} ${u} ago`:`in ${l} ${u}`}function Fg(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const aV={D:oc,DD:H3,DDD:z3,DDDD:Y3,t:W3,tt:j3,ttt:Z3,tttt:U3,T:q3,TT:G3,TTT:K3,TTTT:X3,f:J3,ff:eg,fff:ng,ffff:sg,F:Q3,FF:tg,FFF:rg,FFFF:ig};class Bt{static create(e,n={}){return new Bt(e,n)}static parseFormat(e){let n=null,r="",s=!1;const i=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||l===n?r+=l:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=l,n=l)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return aV[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return kt(e,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>r?nV(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),c=(m,g)=>r?sV(e,m):i(g?{month:m}:{month:m,day:"numeric"},"month"),d=(m,g)=>r?rV(e,m):i(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),u=m=>{const g=Bt.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},h=m=>r?iV(e,m):i({era:m},"era"),f=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(m)}};return Fg(Bt.parseFormat(n),f)}formatDurationFromString(e,n){const r=c=>{switch(c[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=c=>d=>{const u=r(d);return u?this.num(c.get(u),d.length):d},i=Bt.parseFormat(n),a=i.reduce((c,{literal:d,val:u})=>d?c:c.concat(u),[]),l=e.shiftTo(...a.map(r).filter(c=>c));return Fg(i,s(l))}}const Rg=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ri(...t){const e=t.reduce((n,r)=>n+r.source,"");return RegExp(`^${e}$`)}function Ii(...t){return e=>t.reduce(([n,r,s],i)=>{const[a,l,c]=i(e,s);return[{...n,...a},l||r,c]},[{},null,1]).slice(0,2)}function Hi(t,...e){if(t==null)return[null,null];for(const[n,r]of e){const s=n.exec(t);if(s)return r(s)}return[null,null]}function Ig(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=as(e[n+s]);return[r,null,n+s]}}const Hg=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,lV=`(?:${Hg.source}?(?:\\[(${Rg.source})\\])?)?`,th=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,zg=RegExp(`${th.source}${lV}`),nh=RegExp(`(?:T${zg.source})?`),cV=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,dV=/(\d{4})-?W(\d\d)(?:-?(\d))?/,uV=/(\d{4})-?(\d{3})/,hV=Ig("weekYear","weekNumber","weekDay"),fV=Ig("year","ordinal"),mV=/(\d{4})-(\d\d)-(\d\d)/,Yg=RegExp(`${th.source} ?(?:${Hg.source}|(${Rg.source}))?`),pV=RegExp(`(?: ${Yg.source})?`);function zi(t,e,n){const r=t[e];return me(r)?n:as(r)}function gV(t,e){return[{year:zi(t,e),month:zi(t,e+1,1),day:zi(t,e+2,1)},null,e+3]}function Yi(t,e){return[{hours:zi(t,e,0),minutes:zi(t,e+1,0),seconds:zi(t,e+2,0),milliseconds:J1(t[e+3])},null,e+4]}function ua(t,e){const n=!t[e]&&!t[e+1],r=pc(t[e+1],t[e+2]),s=n?null:Ft.instance(r);return[{},s,e+3]}function ha(t,e){const n=t[e]?Er.create(t[e]):null;return[{},n,e+1]}const _V=RegExp(`^T?${th.source}$`),yV=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function wV(t){const[e,n,r,s,i,a,l,c,d]=t,u=e[0]==="-",h=c&&c[0]==="-",f=(m,g=!1)=>m!==void 0&&(g||m&&u)?-m:m;return[{years:f(Us(n)),months:f(Us(r)),weeks:f(Us(s)),days:f(Us(i)),hours:f(Us(a)),minutes:f(Us(l)),seconds:f(Us(c),c==="-0"),milliseconds:f(J1(d),h)}]}const bV={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function rh(t,e,n,r,s,i,a){const l={year:e.length===2?eh(as(e)):as(e),month:$g.indexOf(n)+1,day:as(r),hour:as(s),minute:as(i)};return a&&(l.second=as(a)),t&&(l.weekday=t.length>3?Lg.indexOf(t)+1:Vg.indexOf(t)+1),l}const kV=/^(?:(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\d)(\d\d)))$/;function CV(t){const[,e,n,r,s,i,a,l,c,d,u,h]=t,f=rh(e,s,r,n,i,a,l);let m;return c?m=bV[c]:d?m=0:m=pc(u,h),[f,new Ft(m)]}function xV(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const MV=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,SV=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,vV=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Wg(t){const[,e,n,r,s,i,a,l]=t;return[rh(e,s,r,n,i,a,l),Ft.utcInstance]}function TV(t){const[,e,n,r,s,i,a,l]=t;return[rh(e,l,n,r,s,i,a),Ft.utcInstance]}const DV=Ri(cV,nh),OV=Ri(dV,nh),EV=Ri(uV,nh),$V=Ri(zg),jg=Ii(gV,Yi,ua,ha),PV=Ii(hV,Yi,ua,ha),LV=Ii(fV,Yi,ua,ha),VV=Ii(Yi,ua,ha);function NV(t){return Hi(t,[DV,jg],[OV,PV],[EV,LV],[$V,VV])}function BV(t){return Hi(xV(t),[kV,CV])}function AV(t){return Hi(t,[MV,Wg],[SV,Wg],[vV,TV])}function FV(t){return Hi(t,[yV,wV])}const RV=Ii(Yi);function IV(t){return Hi(t,[_V,RV])}const HV=Ri(mV,pV),zV=Ri(Yg),YV=Ii(Yi,ua,ha);function WV(t){return Hi(t,[HV,jg],[zV,YV])}const Zg="Invalid Duration",Ug={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},jV={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...Ug},Mn=146097/400,Wi=146097/4800,ZV={years:{quarters:4,months:12,weeks:Mn/7,days:Mn,hours:Mn*24,minutes:Mn*24*60,seconds:Mn*24*60*60,milliseconds:Mn*24*60*60*1e3},quarters:{months:3,weeks:Mn/28,days:Mn/4,hours:Mn*24/4,minutes:Mn*24*60/4,seconds:Mn*24*60*60/4,milliseconds:Mn*24*60*60*1e3/4},months:{weeks:Wi/7,days:Wi,hours:Wi*24,minutes:Wi*24*60,seconds:Wi*24*60*60,milliseconds:Wi*24*60*60*1e3},...Ug},qs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],UV=qs.slice(0).reverse();function ls(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ee(r)}function qg(t,e){let n=e.milliseconds??0;for(const r of UV.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Gg(t,e){const n=qg(t,e)<0?-1:1;qs.reduceRight((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]*n,a=t[s][r],l=Math.floor(i/a);e[s]+=l*n,e[r]-=l*a*n}return s},null),qs.reduce((r,s)=>{if(me(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*t[r][s]}return s},null)}function qV(t){const e={};for(const[n,r]of Object.entries(t))r!==0&&(e[n]=r);return e}class Ee{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let r=n?ZV:jV;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||ze.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,n){return Ee.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new qt(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Ee({values:gc(e,Ee.normalizeUnit),loc:ze.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Zs(e))return Ee.fromMillis(e);if(Ee.isDuration(e))return e;if(typeof e=="object")return Ee.fromObject(e);throw new qt(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[r]=FV(e);return r?Ee.fromObject(r,n):Ee.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[r]=IV(e);return r?Ee.fromObject(r,n):Ee.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the Duration is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new kL(r);return new Ee({invalid:r})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new I3(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const r={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?Bt.create(this.loc,r).formatDurationFromString(this,e):Zg}toHuman(e={}){if(!this.isValid)return Zg;const n=qs.map(r=>{const s=this.values[r];return me(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(s)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Q1(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},pe.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?qg(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e),r={};for(const s of qs)(Ai(n.values,s)||Ai(this.values,s))&&(r[s]=n.get(s)+this.get(s));return ls(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=Eg(e(this.values[r],r));return ls(this,{values:n},!0)}get(e){return this[Ee.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...gc(e,Ee.normalizeUnit)};return ls(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:s,conversionAccuracy:r};return ls(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Gg(this.matrix,e),ls(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=qV(this.normalize().shiftToAll().toObject());return ls(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>Ee.normalizeUnit(a));const n={},r={},s=this.toObject();let i;for(const a of qs)if(e.indexOf(a)>=0){i=a;let l=0;for(const d in r)l+=this.matrix[d][a]*r[d],r[d]=0;Zs(s[a])&&(l+=s[a]);const c=Math.trunc(l);n[a]=c,r[a]=(l*1e3-c*1e3)/1e3}else Zs(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return Gg(this.matrix,n),ls(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return ls(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of qs)if(!n(this.values[r],e.values[r]))return!1;return!0}}const ji="Invalid Interval";function GV(t,e){return!t||!t.isValid?dt.invalid("missing or invalid start"):!e||!e.isValid?dt.invalid("missing or invalid end"):e<t?dt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class dt{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the Interval is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new bL(r);return new dt({invalid:r})}static fromDateTimes(e,n){const r=ma(e),s=ma(n),i=GV(r,s);return i??new dt({start:r,end:s})}static after(e,n){const r=Ee.fromDurationLike(n),s=ma(e);return dt.fromDateTimes(s,s.plus(r))}static before(e,n){const r=Ee.fromDurationLike(n),s=ma(e);return dt.fromDateTimes(s.minus(r),s)}static fromISO(e,n){const[r,s]=(e||"").split("/",2);if(r&&s){let i,a;try{i=pe.fromISO(r,n),a=i.isValid}catch{a=!1}let l,c;try{l=pe.fromISO(s,n),c=l.isValid}catch{c=!1}if(a&&c)return dt.fromDateTimes(i,l);if(a){const d=Ee.fromISO(s,n);if(d.isValid)return dt.after(i,d)}else if(c){const d=Ee.fromISO(r,n);if(d.isValid)return dt.before(l,d)}}return dt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(e,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(e,n),Math.floor(s.diff(r,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?dt.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ma).filter(a=>this.contains(a)).sort((a,l)=>a.toMillis()-l.toMillis()),r=[];let{s}=this,i=0;for(;s<this.e;){const a=n[i]||this.e,l=+a>+this.e?this.e:a;r.push(dt.fromDateTimes(s,l)),s=l,i+=1}return r}splitBy(e){const n=Ee.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;r<this.e;){const l=this.start.plus(n.mapUnits(c=>c*s));i=+l>+this.e?this.e:l,a.push(dt.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>=r?null:dt.fromDateTimes(n,r)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return dt.fromDateTimes(n,r)}static merge(e){const[n,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(e){let n=null,r=0;const s=[],i=e.map(c=>[{time:c.s,type:"s"},{time:c.e,type:"e"}]),a=Array.prototype.concat(...i),l=a.sort((c,d)=>c.time-d.time);for(const c of l)r+=c.type==="s"?1:-1,r===1?n=c.time:(n&&+n!=+c.time&&s.push(dt.fromDateTimes(n,c.time)),n=null);return dt.merge(s)}difference(...e){return dt.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ji}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=oc,n={}){return this.isValid?Bt.create(this.s.loc.clone(n),e).formatInterval(this):ji}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ji}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ji}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ji}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:ji}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Ee.invalid(this.invalidReason)}mapEndpoints(e){return dt.fromDateTimes(e(this.s),e(this.e))}}class yc{static hasDST(e=yt.defaultZone){const n=pe.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Er.isValidZone(e)}static normalizeZone(e){return os(e,yt.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||ze.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||ze.create(n,r,i)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ze.create(n,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return ze.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return ze.create(n,null,"gregory").eras(e)}static features(){return{relative:Sg(),localeWeek:vg()}}}function Kg(t,e){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Ee.fromMillis(r).as("days"))}function KV(t,e,n){const r=[["years",(c,d)=>d.year-c.year],["quarters",(c,d)=>d.quarter-c.quarter+(d.year-c.year)*4],["months",(c,d)=>d.month-c.month+(d.year-c.year)*12],["weeks",(c,d)=>{const u=Kg(c,d);return(u-u%7)/7}],["days",Kg]],s={},i=t;let a,l;for(const[c,d]of r)n.indexOf(c)>=0&&(a=c,s[c]=d(t,e),l=i.plus(s),l>e?(s[c]--,t=i.plus(s),t>e&&(l=t,s[c]--,t=i.plus(s))):t=l);return[t,s,l,a]}function XV(t,e,n,r){let[s,i,a,l]=KV(t,e,n);const c=e-s,d=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);d.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(i[l]=(i[l]||0)+c/(a-s)));const u=Ee.fromObject(i,r);return d.length>0?Ee.fromMillis(c,r).shiftTo(...d).plus(u):u}const sh={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Xg={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},JV=sh.hanidec.replace(/[\[|\]]/g,"").split("");function QV(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(t[n].search(sh.hanidec)!==-1)e+=JV.indexOf(t[n]);else for(const s in Xg){const[i,a]=Xg[s];r>=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}function Fn({numberingSystem:t},e=""){return new RegExp(`${sh[t||"latn"]}${e}`)}const eN="missing Intl.DateTimeFormat.formatToParts support";function Be(t,e=n=>n){return{regex:t,deser:([n])=>e(QV(n))}}const Jg="[  ]",Qg=new RegExp(Jg,"g");function tN(t){return t.replace(/\./g,"\\.?").replace(Qg,Jg)}function e6(t){return t.replace(/\./g,"").replace(Qg," ").toLowerCase()}function Rn(t,e){return t===null?null:{regex:RegExp(t.map(tN).join("|")),deser:([n])=>t.findIndex(r=>e6(n)===e6(r))+e}}function t6(t,e){return{regex:t,deser:([,n,r])=>pc(n,r),groups:e}}function wc(t){return{regex:t,deser:([e])=>e}}function nN(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function rN(t,e){const n=Fn(e),r=Fn(e,"{2}"),s=Fn(e,"{3}"),i=Fn(e,"{4}"),a=Fn(e,"{6}"),l=Fn(e,"{1,2}"),c=Fn(e,"{1,3}"),d=Fn(e,"{1,6}"),u=Fn(e,"{1,9}"),h=Fn(e,"{2,4}"),f=Fn(e,"{4,6}"),m=_=>({regex:RegExp(nN(_.val)),deser:([y])=>y,literal:!0}),p=(_=>{if(t.literal)return m(_);switch(_.val){case"G":return Rn(e.eras("short"),0);case"GG":return Rn(e.eras("long"),0);case"y":return Be(d);case"yy":return Be(h,eh);case"yyyy":return Be(i);case"yyyyy":return Be(f);case"yyyyyy":return Be(a);case"M":return Be(l);case"MM":return Be(r);case"MMM":return Rn(e.months("short",!0),1);case"MMMM":return Rn(e.months("long",!0),1);case"L":return Be(l);case"LL":return Be(r);case"LLL":return Rn(e.months("short",!1),1);case"LLLL":return Rn(e.months("long",!1),1);case"d":return Be(l);case"dd":return Be(r);case"o":return Be(c);case"ooo":return Be(s);case"HH":return Be(r);case"H":return Be(l);case"hh":return Be(r);case"h":return Be(l);case"mm":return Be(r);case"m":return Be(l);case"q":return Be(l);case"qq":return Be(r);case"s":return Be(l);case"ss":return Be(r);case"S":return Be(c);case"SSS":return Be(s);case"u":return wc(u);case"uu":return wc(l);case"uuu":return Be(n);case"a":return Rn(e.meridiems(),0);case"kkkk":return Be(i);case"kk":return Be(h,eh);case"W":return Be(l);case"WW":return Be(r);case"E":case"c":return Be(n);case"EEE":return Rn(e.weekdays("short",!1),1);case"EEEE":return Rn(e.weekdays("long",!1),1);case"ccc":return Rn(e.weekdays("short",!0),1);case"cccc":return Rn(e.weekdays("long",!0),1);case"Z":case"ZZ":return t6(new RegExp(`([+-]${l.source})(?::(${r.source}))?`),2);case"ZZZ":return t6(new RegExp(`([+-]${l.source})(${r.source})?`),2);case"z":return wc(/[a-z_+-/]{1,256}?/i);case" ":return wc(/[^\S\n\r]/);default:return m(_)}})(t)||{invalidReason:eN};return p.token=t,p}const sN={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function iN(t,e,n){const{type:r,value:s}=t;if(r==="literal"){const c=/^\s+$/.test(s);return{literal:!c,val:c?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let l=sN[a];if(typeof l=="object"&&(l=l[i]),l)return{literal:!1,val:l}}function oN(t){return[`^${t.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,t]}function aN(t,e,n){const r=t.match(e);if(r){const s={};let i=1;for(const a in n)if(Ai(n,a)){const l=n[a],c=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(r.slice(i,i+c))),i+=c}return[r,s]}else return[r,{}]}function lN(t){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return me(t.z)||(n=Er.create(t.z)),me(t.Z)||(n||(n=new Ft(t.Z)),r=t.Z),me(t.q)||(t.M=(t.q-1)*3+1),me(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),me(t.u)||(t.S=J1(t.u)),[Object.keys(t).reduce((i,a)=>{const l=e(a);return l&&(i[l]=t[a]),i},{}),n,r]}let ih=null;function cN(){return ih||(ih=pe.fromMillis(1555555555555)),ih}function dN(t,e){if(t.literal)return t;const n=Bt.macroTokenToFormatOpts(t.val),r=s6(n,e);return r==null||r.includes(void 0)?t:r}function n6(t,e){return Array.prototype.concat(...t.map(n=>dN(n,e)))}function r6(t,e,n){const r=n6(Bt.parseFormat(n),t),s=r.map(a=>rN(a,t)),i=s.find(a=>a.invalidReason);if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[a,l]=oN(s),c=RegExp(a,"i"),[d,u]=aN(e,c,l),[h,f,m]=u?lN(u):[null,null,void 0];if(Ai(u,"a")&&Ai(u,"H"))throw new Bi("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:d,matches:u,result:h,zone:f,specificOffset:m}}}function uN(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=r6(t,e,n);return[r,s,i,a]}function s6(t,e){if(!t)return null;const r=Bt.create(e,t).dtFormatter(cN()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>iN(a,t,i))}const oh="Invalid DateTime",i6=864e13;function bc(t){return new An("unsupported zone",`the zone "${t.name}" is not supported`)}function ah(t){return t.weekData===null&&(t.weekData=uc(t.c)),t.weekData}function lh(t){return t.localWeekData===null&&(t.localWeekData=uc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gs(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new pe({...n,...e,old:n})}function o6(t,e,n){let r=t-e*60*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=n.offset(r);return s===i?[r,s]:[t-Math.min(s,i)*60*1e3,Math.max(s,i)]}function kc(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Cc(t,e,n){return o6(mc(t),e,n)}function a6(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...t.c,year:r,month:s,day:Math.min(t.c.day,fc(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=Ee.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),l=mc(i);let[c,d]=o6(l,n,t.zone);return a!==0&&(c+=a,d=t.zone.offset(c)),{ts:c,o:d}}function fa(t,e,n,r,s,i){const{setZone:a,zone:l}=n;if(t&&Object.keys(t).length!==0||e){const c=e||l,d=pe.fromObject(t,{...n,zone:c,specificOffset:i});return a?d:d.setZone(l)}else return pe.invalid(new An("unparsable",`the input "${s}" can't be parsed as ${r}`))}function xc(t,e,n=!0){return t.isValid?Bt.create(ze.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ch(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=kt(t.c.year,n?6:4),e?(r+="-",r+=kt(t.c.month),r+="-",r+=kt(t.c.day)):(r+=kt(t.c.month),r+=kt(t.c.day)),r}function l6(t,e,n,r,s,i){let a=kt(t.c.hour);return e?(a+=":",a+=kt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=":")):a+=kt(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(a+=kt(t.c.second),(t.c.millisecond!==0||!r)&&(a+=".",a+=kt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!i?a+="Z":t.o<0?(a+="-",a+=kt(Math.trunc(-t.o/60)),a+=":",a+=kt(Math.trunc(-t.o%60))):(a+="+",a+=kt(Math.trunc(t.o/60)),a+=":",a+=kt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const c6={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},hN={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},fN={ordinal:1,hour:0,minute:0,second:0,millisecond:0},d6=["year","month","day","hour","minute","second","millisecond"],mN=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],pN=["year","ordinal","hour","minute","second","millisecond"];function gN(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new I3(t);return e}function u6(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return gN(t)}}function h6(t,e){const n=os(e.zone,yt.defaultZone),r=ze.fromObject(e),s=yt.now();let i,a;if(me(t.year))i=s;else{for(const d of d6)me(t[d])&&(t[d]=c6[d]);const l=xg(t)||Mg(t);if(l)return pe.invalid(l);const c=n.offset(s);[i,a]=Cc(t,c,n)}return new pe({ts:i,zone:n,loc:r,o:a})}function f6(t,e,n){const r=me(n.round)?!0:n.round,s=(a,l)=>(a=Q1(a,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(a,l)),i=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return s(i(n.unit),n.unit);for(const a of n.units){const l=i(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,n.units[n.units.length-1])}function m6(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}class pe{constructor(e){const n=e.zone||yt.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new An("invalid input"):null)||(n.isValid?null:bc(n));this.ts=me(e.ts)?yt.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[s,i]=[e.old.c,e.old.o];else{const l=n.offset(this.ts);s=kc(this.ts,l),r=Number.isNaN(s.year)?new An("invalid input"):null,s=r?null:s,i=r?null:l}this._zone=n,this.loc=e.loc||ze.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new pe({})}static local(){const[e,n]=m6(arguments),[r,s,i,a,l,c,d]=n;return h6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static utc(){const[e,n]=m6(arguments),[r,s,i,a,l,c,d]=n;return e.zone=Ft.utcInstance,h6({year:r,month:s,day:i,hour:a,minute:l,second:c,millisecond:d},e)}static fromJSDate(e,n={}){const r=ZL(e)?e.valueOf():NaN;if(Number.isNaN(r))return pe.invalid("invalid input");const s=os(n.zone,yt.defaultZone);return s.isValid?new pe({ts:r,zone:s,loc:ze.fromObject(n)}):pe.invalid(bc(s))}static fromMillis(e,n={}){if(Zs(e))return e<-i6||e>i6?pe.invalid("Timestamp out of range"):new pe({ts:e,zone:os(n.zone,yt.defaultZone),loc:ze.fromObject(n)});throw new qt(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(Zs(e))return new pe({ts:e*1e3,zone:os(n.zone,yt.defaultZone),loc:ze.fromObject(n)});throw new qt("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const r=os(n.zone,yt.defaultZone);if(!r.isValid)return pe.invalid(bc(r));const s=ze.fromObject(n),i=gc(e,u6),{minDaysInFirstWeek:a,startOfWeek:l}=Cg(i,s),c=yt.now(),d=me(n.specificOffset)?r.offset(c):n.specificOffset,u=!me(i.ordinal),h=!me(i.year),f=!me(i.month)||!me(i.day),m=h||f,g=i.weekYear||i.weekNumber;if((m||u)&&g)throw new Bi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new Bi("Can't mix ordinal dates with month/day");const p=g||i.weekday&&!m;let _,y,C=kc(c,d);p?(_=mN,y=hN,C=uc(C,a,l)):u?(_=pN,y=fN,C=K1(C)):(_=d6,y=c6);let k=!1;for(const I of _){const j=i[I];me(j)?k?i[I]=y[I]:i[I]=C[I]:k=!0}const v=p?YL(i,a,l):u?WL(i):xg(i),M=v||Mg(i);if(M)return pe.invalid(M);const T=p?bg(i,a,l):u?kg(i):i,[S,O]=Cc(T,d,r),E=new pe({ts:S,zone:r,o:O,loc:s});return i.weekday&&m&&e.weekday!==E.weekday?pe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${E.toISO()}`):E}static fromISO(e,n={}){const[r,s]=NV(e);return fa(r,s,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[r,s]=BV(e);return fa(r,s,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[r,s]=AV(e);return fa(r,s,n,"HTTP",n)}static fromFormat(e,n,r={}){if(me(e)||me(n))throw new qt("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[l,c,d,u]=uN(a,e,n);return u?pe.invalid(u):fa(l,c,r,`format ${n}`,e,d)}static fromString(e,n,r={}){return pe.fromFormat(e,n,r)}static fromSQL(e,n={}){const[r,s]=WV(e);return fa(r,s,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new qt("need to specify a reason the DateTime is invalid");const r=e instanceof An?e:new An(e,n);if(yt.throwOnInvalid)throw new wL(r);return new pe({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const r=s6(e,ze.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,n={}){return n6(Bt.parseFormat(e),ze.fromObject(n)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?ah(this).weekYear:NaN}get weekNumber(){return this.isValid?ah(this).weekNumber:NaN}get weekday(){return this.isValid?ah(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?lh(this).weekday:NaN}get localWeekNumber(){return this.isValid?lh(this).weekNumber:NaN}get localWeekYear(){return this.isValid?lh(this).weekYear:NaN}get ordinal(){return this.isValid?K1(this.c).ordinal:NaN}get monthShort(){return this.isValid?yc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?yc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?yc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?yc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,r=mc(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*n),l=this.zone.offset(r-i*n);if(a===l)return[this];const c=r-a*n,d=r-l*n,u=kc(c,a),h=kc(d,l);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[Gs(this,{ts:c}),Gs(this,{ts:d})]:[this]}get isInLeapYear(){return la(this.year)}get daysInMonth(){return fc(this.year,this.month)}get daysInYear(){return this.isValid?Fi(this.year):NaN}get weeksInWeekYear(){return this.isValid?ca(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ca(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:r,calendar:s}=Bt.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(e=0,n={}){return this.setZone(Ft.instance(e),n)}toLocal(){return this.setZone(yt.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(e=os(e,yt.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(n||r){const i=e.offset(this.ts),a=this.toObject();[s]=Cc(a,i,e)}return Gs(this,{ts:s,zone:e})}else return pe.invalid(bc(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:r});return Gs(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=gc(e,u6),{minDaysInFirstWeek:r,startOfWeek:s}=Cg(n,this.loc),i=!me(n.weekYear)||!me(n.weekNumber)||!me(n.weekday),a=!me(n.ordinal),l=!me(n.year),c=!me(n.month)||!me(n.day),d=l||c,u=n.weekYear||n.weekNumber;if((d||a)&&u)throw new Bi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new Bi("Can't mix ordinal dates with month/day");let h;i?h=bg({...uc(this.c,r,s),...n},r,s):me(n.ordinal)?(h={...this.toObject(),...n},me(n.day)&&(h.day=Math.min(fc(h.year,h.month),h.day))):h=kg({...K1(this.c),...n});const[f,m]=Cc(h,this.o,this.zone);return Gs(this,{ts:f,o:m})}plus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e);return Gs(this,a6(this,n))}minus(e){if(!this.isValid)return this;const n=Ee.fromDurationLike(e).negate();return Gs(this,a6(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=Ee.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a<i&&(r.weekNumber=this.weekNumber-1),r.weekday=i}else r.weekday=1;if(s==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?Bt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):oh}toLocaleString(e=oc,n={}){return this.isValid?Bt.create(this.loc.clone(n),e).formatDateTime(this):oh}toLocaleParts(e={}){return this.isValid?Bt.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=ch(this,a);return l+="T",l+=l6(this,a,n,r,s,i),l}toISODate({format:e="extended"}={}){return this.isValid?ch(this,e==="extended"):null}toISOWeekDate(){return xc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+l6(this,a==="extended",n,e,r,i):null}toRFC2822(){return xc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return xc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ch(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||e)&&(r&&(s+=" "),n?s+="z":e&&(s+="ZZ")),xc(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():oh}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",r={}){if(!this.isValid||!e.isValid)return Ee.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=UL(n).map(Ee.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,c=a?e:this,d=XV(l,c,i,s);return a?d.negate():d}diffNow(e="milliseconds",n={}){return this.diff(pe.now(),e,n)}until(e){return this.isValid?dt.fromDateTimes(this,e):this}hasSame(e,n,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(n,r)<=s&&s<=i.endOf(n,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||pe.fromObject({},{zone:this.zone}),r=e.padding?this<n?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],i=e.unit;return Array.isArray(e.unit)&&(s=e.unit,i=void 0),f6(n,this.plus(r),{...e,numeric:"always",units:s,unit:i})}toRelativeCalendar(e={}){return this.isValid?f6(e.base||pe.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(pe.isDateTime))throw new qt("min requires all arguments be DateTimes");return Tg(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(pe.isDateTime))throw new qt("max requires all arguments be DateTimes");return Tg(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=ze.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return r6(a,e,n)}static fromStringExplain(e,n,r={}){return pe.fromFormatExplain(e,n,r)}static get DATE_SHORT(){return oc}static get DATE_MED(){return H3}static get DATE_MED_WITH_WEEKDAY(){return CL}static get DATE_FULL(){return z3}static get DATE_HUGE(){return Y3}static get TIME_SIMPLE(){return W3}static get TIME_WITH_SECONDS(){return j3}static get TIME_WITH_SHORT_OFFSET(){return Z3}static get TIME_WITH_LONG_OFFSET(){return U3}static get TIME_24_SIMPLE(){return q3}static get TIME_24_WITH_SECONDS(){return G3}static get TIME_24_WITH_SHORT_OFFSET(){return K3}static get TIME_24_WITH_LONG_OFFSET(){return X3}static get DATETIME_SHORT(){return J3}static get DATETIME_SHORT_WITH_SECONDS(){return Q3}static get DATETIME_MED(){return eg}static get DATETIME_MED_WITH_SECONDS(){return tg}static get DATETIME_MED_WITH_WEEKDAY(){return xL}static get DATETIME_FULL(){return ng}static get DATETIME_FULL_WITH_SECONDS(){return rg}static get DATETIME_HUGE(){return sg}static get DATETIME_HUGE_WITH_SECONDS(){return ig}}function ma(t){if(pe.isDateTime(t))return t;if(t&&t.valueOf&&Zs(t.valueOf()))return pe.fromJSDate(t);if(t&&typeof t=="object")return pe.fromObject(t);throw new qt(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Et(t,e=2){return isNaN(+t)?0:Math.floor(+t*10**e)/10**e}function dh(t){let e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}function Me(t,e,n={}){const{repeat:r=4,mask:s="*",prefix:i="",suffix:a=""}=n;let l,c;return t?(l=i==="$"?pa():i,c=a==="$"?pa():a,l+s.repeat(r)+c):e}function _N(t){return t.reduce((e,n,r)=>r===0?`key=${encodeURIComponent(n.id)}`:e+`&key=${encodeURIComponent(n.id)}`,"")}function yN(t){return new Date(t).getFullYear()}function wN(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd LLLL, y, TT")}function p6(t){return pe.fromISO(t,{setZone:!0}).toFormat("dd/LL/y")}function bN(t){return["January","February","March","April","May","June","July","August","September","October","November","December"][new Date(t).getMonth()]}function kN(t){return new Date(t).getDate()}function uh(t){return pe.fromISO(t,{setZone:!0}).toFormat("cccc")}function CN(t){const e=new Date(t),r=new Date-e;return Math.floor(r/(1e3*3600*24))}function pa(){const t={USD:"$",EUR:"€",JPY:"¥",GBP:"£",CHF:"Fr.",CAD:"$",AUD:"$",NOK:"kr",SEK:"kr",DKK:"kr"},e=rt.getItem("scope360::currency");return e&&t[e==null?void 0:e.split("::")[0]]?t[e==null?void 0:e.split("::")[0]]:t.USD}function Mc(){const t=rt.getItem("scope360::currency");return t&&(t!=null&&t.split("::")[1])?+(t==null?void 0:t.split("::")[1]):1}const Ke=(t,e={isPercentage:!1,isFixed:!0,isPlus:!1})=>{let n;t>=0?n=e.isPlus&&t!==0?"+":"":n="-";let r=Math.abs(t);return e.isFixed&&(r=Et(r)),e.isPercentage?`${n}${r}%`:`${n}${pa()}${Et(r*Mc())}`};function xN(t,e){const n=+new Date(e)-+new Date(t),r=Math.floor(n/(1e3*60*60*24)),s=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),i=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);if(r>0)return`${r} d`;if(s>0)return`${s} h`;if(i>0)return`${i} m`;if(a>0)return`${a} s`}function g6(t){const e=/^(.*?)(BTC|ETH|USDT|USD|USDC)$/,n=t.match(e);if(n){const r=n[1],s=n[2];return r===""||s===""?t:`${r}/${s}`}else return t}const MN=(t,e,n,r={},s)=>{const i=o.h(t,e,r),a=document.createElement("div");return a.setAttribute("id",s||""),n.appendChild(a),o.render(i,a),i.component},SN={type:"info",textOnClose:"Dismiss",duration:5e3,hideOnRouteChange:!0},Sc=t=>{if(!(t!=null&&t.message))return;const e={...SN,...t},n=MN(H0,e,document.body,void 0,"toast"),r=()=>{var s,i,a;(a=(i=(s=n==null?void 0:n.refs)==null?void 0:s.toast)==null?void 0:i.parentElement)==null||a.remove()};if(setTimeout(r,e.duration),e!=null&&e.hideOnRouteChange){const s=o.watch(()=>window.location.href,()=>{r(),s()})}return{dismiss:r}},vN=(t,e)=>Sc({...e,message:t,type:"success"}),TN=(t,e)=>Sc({...e,message:t,type:"error"}),DN=(t,e)=>Sc({...e,message:t,type:"info"}),hh=()=>({open:Sc,success:vN,error:TN,info:DN}),ON={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EN=[o.createElementVNode("path",{d:"M10.6667 4.33073C10.6667 5.80349 9.47275 6.9974 7.99999 6.9974C6.52723 6.9974 5.33332 5.80349 5.33332 4.33073C5.33332 2.85797 6.52723 1.66406 7.99999 1.66406C9.47275 1.66406 10.6667 2.85797 10.6667 4.33073Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99999 8.33073C5.26433 8.33073 3.27753 10.3058 2.76741 12.9433C2.69312 13.3274 3.00319 13.6641 3.39438 13.6641H12.6056C12.9968 13.6641 13.3069 13.3274 13.2326 12.9433C12.7224 10.3058 10.7356 8.33073 7.99999 8.33073Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1)];function _6(t,e){return o.openBlock(),o.createElementBlock("svg",ON,[...EN])}const $N=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_6},render:_6},Symbol.toStringTag,{value:"Module"})),PN={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LN=[o.createElementVNode("g",{id:"ant-design:apple-filled"},[o.createElementVNode("path",{id:"Vector",d:"M17.8237 12.5555C17.8142 10.957 18.5452 9.75234 20.0212 8.86406C19.1957 7.69219 17.9467 7.04766 16.3003 6.92344C14.7415 6.80156 13.036 7.82344 12.4115 7.82344C11.7516 7.82344 10.2424 6.96562 9.05497 6.96562C6.60436 7.00312 4 8.90156 4 12.7641C4 13.9055 4.21053 15.0844 4.63158 16.2984C5.19455 17.8969 7.22411 21.8133 9.34119 21.75C10.4482 21.7242 11.2312 20.9719 12.6717 20.9719C14.0697 20.9719 14.7936 21.75 16.0283 21.75C18.1643 21.7195 19.9999 18.1594 20.5345 16.5562C17.6699 15.218 17.8237 12.6375 17.8237 12.5555ZM15.3376 5.40703C16.5369 3.99609 16.4281 2.71172 16.3926 2.25C15.3329 2.31094 14.1076 2.96484 13.4098 3.76875C12.641 4.63125 12.1892 5.69766 12.2862 6.9C13.4311 6.98672 14.4766 6.40312 15.3376 5.40703Z",fill:"black"})],-1)];function y6(t,e){return o.openBlock(),o.createElementBlock("svg",PN,[...LN])}const VN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y6},render:y6},Symbol.toStringTag,{value:"Module"})),NN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BN=[o.createElementVNode("path",{d:"M12.1667 5.83333V12.1667H5.83333M4 4L11.7334 11.7334",stroke:"#F18169","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function w6(t,e){return o.openBlock(),o.createElementBlock("svg",NN,[...BN])}const AN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w6},render:w6},Symbol.toStringTag,{value:"Module"})),FN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RN=[o.createElementVNode("path",{d:"M12.3334 9.33203L8.00008 13.6654L3.66675 9.33203M8.00008 13.332V2.33203",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function b6(t,e){return o.openBlock(),o.createElementBlock("svg",FN,[...RN])}const IN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b6},render:b6},Symbol.toStringTag,{value:"Module"})),HN={xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none"},zN=[o.createStaticVNode('<g filter="url(#filter0_d_1815_32605)"><rect x="5" y="5" width="20" height="20" rx="10" fill="#E3EEFE"></rect></g><path fill-rule="evenodd" clip-rule="evenodd" d="M18.7761 15.3109C18.7761 15.0718 18.5822 14.8779 18.3431 14.8779L13.3271 14.8779L15.0217 13.1833C15.1908 13.0142 15.1908 12.7401 15.0217 12.571C14.8527 12.4019 14.5785 12.4019 14.4095 12.571L11.9757 15.0047C11.8067 15.1738 11.8067 15.4479 11.9757 15.617L14.4094 18.0507C14.5785 18.2198 14.8526 18.2198 15.0217 18.0507C15.1908 17.8816 15.1908 17.6075 15.0217 17.4384L13.3271 15.7438L18.3431 15.7438C18.5822 15.7438 18.7761 15.55 18.7761 15.3109Z" fill="#007AFF"></path><defs><filter id="filter0_d_1815_32605" x="0" y="0" width="30" height="30" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset></feOffset><feGaussianBlur stdDeviation="2.5"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1815_32605"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1815_32605" result="shape"></feBlend></filter></defs>',3)];function k6(t,e){return o.openBlock(),o.createElementBlock("svg",HN,[...zN])}const YN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k6},render:k6},Symbol.toStringTag,{value:"Module"})),WN={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jN=[o.createElementVNode("g",{id:"arrow-rotate-right-left, repeat, refresh"},[o.createElementVNode("path",{id:"vector",d:"M16.2597 17.083V13.7497H12.9264M3.74984 2.91634L3.74984 6.24967H7.08317M2.97131 9.11426C2.93514 9.40431 2.9165 9.69982 2.9165 9.99967C2.9165 13.9117 6.08782 17.083 9.99984 17.083C12.3545 17.083 14.6442 15.9341 15.9641 14.1663M17.0284 10.8851C17.0645 10.595 17.0832 10.2995 17.0832 9.99967C17.0832 6.08766 13.9119 2.91634 9.99984 2.91634C7.64522 2.91634 5.35552 4.06523 4.03555 5.83301",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function C6(t,e){return o.openBlock(),o.createElementBlock("svg",WN,[...jN])}const ZN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C6},render:C6},Symbol.toStringTag,{value:"Module"})),UN={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qN=[o.createElementVNode("path",{d:"M12.1667 10.1654V3.83203M12.1667 3.83203H5.83333M12.1667 3.83203L4 11.9987",stroke:"#56B683","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function x6(t,e){return o.openBlock(),o.createElementBlock("svg",UN,[...qN])}const GN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x6},render:x6},Symbol.toStringTag,{value:"Module"})),KN={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},XN=[o.createElementVNode("path",{d:"M3.66675 6.66536L8.00008 2.33203L12.3334 6.66536M8.00008 13.6654V2.66536",stroke:"#7F7F83","stroke-linecap":"square"},null,-1)];function M6(t,e){return o.openBlock(),o.createElementBlock("svg",KN,[...XN])}const JN=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M6},render:M6},Symbol.toStringTag,{value:"Module"})),QN={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eB=[o.createStaticVNode('<rect x="0.5" width="20" height="20" rx="10" fill="#1C2026"></rect><g clip-path="url(#clip0_4453_114916)"><path d="M12.6416 10.892L13.8995 12.1494L10.4953 15.5535L7.09161 12.1498L8.34948 10.892L10.4958 13.0494L12.6416 10.892ZM14.7884 8.74567L16.0564 10.0031L14.7995 11.2605L13.5416 10.0031L14.7884 8.74567ZM10.4958 8.74567L11.7532 9.99196L10.4953 11.2498L9.23791 10.0031L10.4953 8.74613L10.4958 8.74567ZM6.20272 8.74567L7.44994 10.0031L6.20365 11.2494L4.94531 10.0031L6.20272 8.74567ZM10.4962 4.45215L13.8999 7.84567L12.6421 9.10261L10.4958 6.95631L8.34994 9.11372L7.09207 7.85631L10.4958 4.45261L10.4962 4.45215Z" fill="#F3BA2F"></path></g><defs><clipPath id="clip0_4453_114916"><rect width="11.1111" height="11.1111" fill="white" transform="translate(4.94531 4.44434)"></rect></clipPath></defs>',3)];function S6(t,e){return o.openBlock(),o.createElementBlock("svg",QN,[...eB])}const tB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S6},render:S6},Symbol.toStringTag,{value:"Module"})),nB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rB=[o.createElementVNode("g",{id:"simple-icons:binance","clip-path":"url(#clip0_2820_75439)"},[o.createElementVNode("path",{id:"Vector",d:"M13.8533 11.5995L16.1175 13.8628L9.99 19.9903L3.86333 13.8636L6.1275 11.5995L9.99083 15.4828L13.8533 11.5995ZM17.7175 7.73615L20 9.99948L17.7375 12.2628L15.4733 9.99948L17.7175 7.73615ZM9.99083 7.73615L12.2542 9.97948L9.99 12.2436L7.72667 9.99948L9.99 7.73698L9.99083 7.73615ZM2.26333 7.73615L4.50833 9.99948L2.265 12.2428L0 9.99948L2.26333 7.73615ZM9.99167 0.0078125L16.1183 6.11615L13.8542 8.37865L9.99083 4.51531L6.12833 8.39865L3.86417 6.13531L9.99083 0.00864583L9.99167 0.0078125Z",fill:"#F3BA2F"})],-1),o.createElementVNode("defs",null,[o.createElementVNode("clipPath",{id:"clip0_2820_75439"},[o.createElementVNode("rect",{width:"20",height:"20",fill:"white"})])],-1)];function v6(t,e){return o.openBlock(),o.createElementBlock("svg",nB,[...rB])}const sB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v6},render:v6},Symbol.toStringTag,{value:"Module"})),iB={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oB=[o.createElementVNode("g",{id:"book, guide, info, faq"},[o.createElementVNode("path",{id:"vector",d:"M16.0404 10.0013V12.293C16.0404 13.2134 15.2942 13.9596 14.3737 13.9596H5.83203C4.7965 13.9596 3.95703 14.7991 3.95703 15.8346C3.95703 16.8702 4.7965 17.7096 5.83203 17.7096H8.33203M7.29036 5.83464H12.707M7.29036 9.16797H10.207M5.6237 2.29297H14.3737C15.2942 2.29297 16.0404 3.03916 16.0404 3.95964V16.043C16.0404 16.9634 15.2942 17.7096 14.3737 17.7096H5.6237C4.70322 17.7096 3.95703 16.9634 3.95703 16.043V3.95964C3.95703 3.03916 4.70322 2.29297 5.6237 2.29297Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function T6(t,e){return o.openBlock(),o.createElementBlock("svg",iB,[...oB])}const aB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T6},render:T6},Symbol.toStringTag,{value:"Module"})),lB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},cB=[o.createElementVNode("path",{d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"},null,-1)];function D6(t,e){return o.openBlock(),o.createElementBlock("svg",lB,[...cB])}const dB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D6},render:D6},Symbol.toStringTag,{value:"Module"})),uB={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"},hB=[o.createElementVNode("path",{d:"M8.74716 2.08146H1.24716C1.17122 2.0817 1.09679 2.10264 1.03188 2.14203C0.966958 2.18143 0.914015 2.23778 0.878742 2.30502C0.84347 2.37227 0.827205 2.44786 0.831697 2.52366C0.83619 2.59946 0.861271 2.6726 0.904241 2.73521L4.65424 8.15188C4.80966 8.37646 5.18382 8.37646 5.33966 8.15188L9.08966 2.73521C9.13306 2.67273 9.15852 2.59956 9.16325 2.52363C9.16799 2.4477 9.15183 2.37193 9.11653 2.30454C9.08122 2.23715 9.02813 2.18073 8.96301 2.1414C8.89788 2.10207 8.82323 2.08134 8.74716 2.08146Z",fill:"currentColor"},null,-1)];function O6(t,e){return o.openBlock(),o.createElementBlock("svg",uB,[...hB])}const fB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O6},render:O6},Symbol.toStringTag,{value:"Module"})),mB={width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pB=[o.createElementVNode("g",{id:"bxs:up-arrow"},[o.createElementVNode("path",{id:"Vector",d:"M1.25284 7.91854H8.75284C8.82878 7.9183 8.90321 7.89736 8.96812 7.85797C9.03304 7.81857 9.08599 7.76222 9.12126 7.69498C9.15653 7.62773 9.1728 7.55214 9.1683 7.47634C9.16381 7.40054 9.13873 7.3274 9.09576 7.26479L5.34576 1.84812C5.19034 1.62354 4.81618 1.62354 4.66034 1.84812L0.910343 7.26479C0.866937 7.32727 0.841482 7.40044 0.836745 7.47637C0.832008 7.5523 0.84817 7.62807 0.883474 7.69546C0.918778 7.76285 0.971875 7.81927 1.03699 7.8586C1.10212 7.89793 1.17677 7.91866 1.25284 7.91854Z",fill:"currentColor"})],-1)];function E6(t,e){return o.openBlock(),o.createElementBlock("svg",mB,[...pB])}const gB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E6},render:E6},Symbol.toStringTag,{value:"Module"})),_B={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yB=[o.createElementVNode("path",{d:"M2.91666 7.91536H17.0833M6.24999 3.7487V2.08203M13.75 3.7487V2.08203M3.74999 17.082H16.25C16.7102 17.082 17.0833 16.7089 17.0833 16.2487V4.58203C17.0833 4.12179 16.7102 3.7487 16.25 3.7487H3.74999C3.28975 3.7487 2.91666 4.12179 2.91666 4.58203V16.2487C2.91666 16.7089 3.28975 17.082 3.74999 17.082Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function $6(t,e){return o.openBlock(),o.createElementBlock("svg",_B,[...yB])}const wB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$6},render:$6},Symbol.toStringTag,{value:"Module"})),bB={width:"18",height:"12",viewBox:"0 0 18 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kB=[o.createStaticVNode('<g id="Frame 2118527357"><path id="Vector" d="M8.36101 10.6773C8.06238 10.6773 7.76108 10.6187 7.47311 10.4987C6.60388 10.1387 6.04395 9.29882 6.04395 8.36026V4.60337C6.04395 3.75547 6.73186 3.07022 7.5771 3.07022C8.42233 3.07022 9.11025 3.75813 9.11025 4.60337V6.54447L14.7683 0.886471C15.3682 0.286541 16.3387 0.286541 16.9387 0.886471C17.5386 1.4864 17.5386 2.45695 16.9387 3.05688L9.99548 10.0001C9.55287 10.4427 8.96094 10.68 8.36101 10.68V10.6773Z" fill="url(#paint0_linear_4793_138365)"></path><path id="Vector_2" d="M2.14746 11.5627C1.7555 11.5627 1.36355 11.4134 1.06225 11.1147C0.462322 10.5148 0.462322 9.54427 1.06225 8.94434L6.48828 3.51831C7.08821 2.91838 8.05877 2.91838 8.6587 3.51831C9.25863 4.11824 9.25863 5.08879 8.6587 5.68872L3.23266 11.1147C2.93403 11.4134 2.53941 11.5627 2.14746 11.5627Z" fill="url(#paint1_linear_4793_138365)"></path></g><defs><linearGradient id="paint0_linear_4793_138365" x1="6.04395" y1="5.55526" x2="17.3893" y2="5.55526" gradientUnits="userSpaceOnUse"><stop stop-color="#07A360"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient><linearGradient id="paint1_linear_4793_138365" x1="0.614304" y1="7.31519" x2="9.10931" y2="7.31519" gradientUnits="userSpaceOnUse"><stop stop-color="#23E27D"></stop><stop offset="1" stop-color="#19DB9B"></stop></linearGradient></defs>',2)];function P6(t,e){return o.openBlock(),o.createElementBlock("svg",bB,[...kB])}const CB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P6},render:P6},Symbol.toStringTag,{value:"Module"})),xB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB=[o.createElementVNode("g",{id:"check-circle-fill"},[o.createElementVNode("path",{id:"Subtract",d:"M14 7C14 10.866 10.866 14 7 14C3.13401 14 0 10.866 0 7C0 3.13401 3.13401 0 7 0C10.866 0 14 3.13401 14 7ZM10.5265 4.34846C10.2702 4.09218 9.85474 4.09218 9.59845 4.34846C9.59227 4.35465 9.58645 4.36121 9.58105 4.36809L6.54272 8.23965L4.71089 6.40782C4.45461 6.15154 4.0391 6.15154 3.78281 6.40782C3.52653 6.6641 3.52653 7.07962 3.78281 7.3359L6.09846 9.65154C6.35474 9.90782 6.77025 9.90782 7.02653 9.65154C7.03224 9.64583 7.03763 9.63981 7.04267 9.63351L10.5358 5.26704C10.7828 5.01009 10.7797 4.6016 10.5265 4.34846Z",fill:"currentColor"})],-1)];function L6(t,e){return o.openBlock(),o.createElementBlock("svg",xB,[...MB])}const SB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L6},render:L6},Symbol.toStringTag,{value:"Module"})),vB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TB=[o.createElementVNode("g",{id:"check, checkmark"},[o.createElementVNode("path",{id:"vector",d:"M1.66663 10.333L6.13721 13.6663L14.3333 2.33301",stroke:"#007AFF","stroke-linecap":"round"})],-1)];function V6(t,e){return o.openBlock(),o.createElementBlock("svg",vB,[...TB])}const DB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V6},render:V6},Symbol.toStringTag,{value:"Module"})),OB={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EB=[o.createElementVNode("path",{d:"M5.33333 6.66797L7.52859 8.86323C7.78894 9.12358 8.21105 9.12358 8.4714 8.86323L10.6667 6.66797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function N6(t,e){return o.openBlock(),o.createElementBlock("svg",OB,[...EB])}const $B=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N6},render:N6},Symbol.toStringTag,{value:"Module"})),PB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},LB=[o.createElementVNode("path",{d:"M16.6667 7.5L10.0001 14.1667L3.33337 7.5",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function B6(t,e){return o.openBlock(),o.createElementBlock("svg",PB,[...LB])}const VB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B6},render:B6},Symbol.toStringTag,{value:"Module"})),NB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},BB=[o.createElementVNode("path",{d:"M11.6663 13.3333L8.33301 10L11.6663 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function A6(t,e){return o.openBlock(),o.createElementBlock("svg",NB,[...BB])}const AB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A6},render:A6},Symbol.toStringTag,{value:"Module"})),FB={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RB=[o.createElementVNode("g",{id:"chevron-left"},[o.createElementVNode("path",{id:"vector",d:"M10.0001 13.3332L4.66675 7.99985L10.0001 2.6665",stroke:"#1C2026","stroke-linecap":"square"})],-1)];function F6(t,e){return o.openBlock(),o.createElementBlock("svg",FB,[...RB])}const IB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F6},render:F6},Symbol.toStringTag,{value:"Module"})),HB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zB=[o.createElementVNode("path",{d:"M8.33301 13.3333L11.6663 10L8.33301 6.66666",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function R6(t,e){return o.openBlock(),o.createElementBlock("svg",HB,[...zB])}const YB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R6},render:R6},Symbol.toStringTag,{value:"Module"})),WB={width:"6",height:"9",viewBox:"0 0 6 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},jB=[o.createElementVNode("path",{id:"Vector",d:"M1 0.5L5 4.5L1 8.5",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function I6(t,e){return o.openBlock(),o.createElementBlock("svg",WB,[...jB])}const ZB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I6},render:I6},Symbol.toStringTag,{value:"Module"})),UB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qB=[o.createElementVNode("path",{d:"M6.66669 11.6686L9.70539 8.62985C9.86811 8.46713 10.1319 8.46713 10.2946 8.62985L13.3334 11.6686",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function H6(t,e){return o.openBlock(),o.createElementBlock("svg",UB,[...qB])}const GB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H6},render:H6},Symbol.toStringTag,{value:"Module"})),KB={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},XB=[o.createElementVNode("path",{d:"M6.66699 8.33337L10.0003 11.6667L13.3337 8.33337",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function z6(t,e){return o.openBlock(),o.createElementBlock("svg",KB,[...XB])}const JB=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z6},render:z6},Symbol.toStringTag,{value:"Module"})),QB={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eA=[o.createElementVNode("path",{id:"vector",d:"M9.0013 5.00008L5.0013 9.00008M9.0013 9.00008L5.0013 5.00008M13.3346 7.00008C13.3346 10.4979 10.4991 13.3334 7.0013 13.3334C3.5035 13.3334 0.667969 10.4979 0.667969 7.00008C0.667969 3.50228 3.5035 0.666748 7.0013 0.666748C10.4991 0.666748 13.3346 3.50228 13.3346 7.00008Z",stroke:"#F18169","stroke-linecap":"square"},null,-1)];function Y6(t,e){return o.openBlock(),o.createElementBlock("svg",QB,[...eA])}const tA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y6},render:Y6},Symbol.toStringTag,{value:"Module"})),nA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rA=[o.createElementVNode("path",{d:"M10.0002 6.46438V13.5355M13.5357 9.99992H6.46463M17.9168 9.99992C17.9168 14.3722 14.3724 17.9166 10.0002 17.9166C5.62791 17.9166 2.0835 14.3722 2.0835 9.99992C2.0835 5.62766 5.62791 2.08325 10.0002 2.08325C14.3724 2.08325 17.9168 5.62766 17.9168 9.99992Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function W6(t,e){return o.openBlock(),o.createElementBlock("svg",nA,[...rA])}const sA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W6},render:W6},Symbol.toStringTag,{value:"Module"})),iA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},oA=[o.createElementVNode("path",{d:"M10 6.24967V9.99967L12.5 12.4997M17.9167 9.99967C17.9167 14.3719 14.3723 17.9163 10 17.9163C5.62779 17.9163 2.08337 14.3719 2.08337 9.99967C2.08337 5.62742 5.62779 2.08301 10 2.08301C14.3723 2.08301 17.9167 5.62742 17.9167 9.99967Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function j6(t,e){return o.openBlock(),o.createElementBlock("svg",iA,[...oA])}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j6},render:j6},Symbol.toStringTag,{value:"Module"})),lA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cA=[o.createElementVNode("path",{d:"M3.75 3.75L16.25 16.25M16.25 3.75L3.75 16.25",stroke:"#1C2026","stroke-linecap":"square"},null,-1)];function Z6(t,e){return o.openBlock(),o.createElementBlock("svg",lA,[...cA])}const dA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z6},render:Z6},Symbol.toStringTag,{value:"Module"})),uA={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hA=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.1665 4.66602L15.8332 16.3327M15.8332 4.66602L4.1665 16.3327",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)];function U6(t,e){return o.openBlock(),o.createElementBlock("svg",uA,[...hA])}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U6},render:U6},Symbol.toStringTag,{value:"Module"})),mA={xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none"},pA=[o.createElementVNode("path",{d:"M12.9999 9.58366V11.667M12.9999 11.667V13.7503M12.9999 11.667H10.9166M12.9999 11.667H15.0833M12.9041 6.03082C12.0386 4.19078 10.168 2.91699 7.99992 2.91699C5.00838 2.91699 2.58325 5.34212 2.58325 8.33366C2.58325 11.2425 4.8762 13.6159 7.75326 13.7448M18.4166 11.667C18.4166 14.6585 15.9915 17.0837 12.9999 17.0837C10.0084 17.0837 7.58325 14.6585 7.58325 11.667C7.58325 8.67545 10.0084 6.25033 12.9999 6.25033C15.9915 6.25033 18.4166 8.67545 18.4166 11.667Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function q6(t,e){return o.openBlock(),o.createElementBlock("svg",mA,[...pA])}const gA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q6},render:q6},Symbol.toStringTag,{value:"Module"})),_A={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yA=[o.createElementVNode("g",{id:"Frame"},[o.createElementVNode("path",{id:"Vector",opacity:"0.2",d:"M21 12C21 13.78 20.4722 15.5201 19.4832 17.0001C18.4943 18.4802 17.0887 19.6337 15.4442 20.3149C13.7996 20.9961 11.99 21.1743 10.2442 20.8271C8.49836 20.4798 6.89472 19.6226 5.63604 18.364C4.37737 17.1053 3.5202 15.5016 3.17294 13.7558C2.82567 12.01 3.0039 10.2004 3.68509 8.55585C4.36628 6.91131 5.51983 5.50571 6.99987 4.51677C8.47991 3.52784 10.22 3 12 3C12 4.19347 12.4741 5.33807 13.318 6.18198C14.1619 7.02589 15.3065 7.5 16.5 7.5C16.5 8.69347 16.9741 9.83807 17.818 10.682C18.6619 11.5259 19.8065 12 21 12Z",fill:"#007AFF"}),o.createElementVNode("path",{id:"Vector_2",d:"M15.4209 15.3291C15.5779 15.4866 15.6846 15.687 15.7277 15.9051C15.7708 16.1233 15.7483 16.3493 15.6631 16.5546C15.5778 16.7599 15.4336 16.9354 15.2487 17.0588C15.0638 17.1823 14.8464 17.2482 14.6241 17.2482C14.4017 17.2482 14.1844 17.1823 13.9995 17.0588C13.8145 16.9354 13.6703 16.7599 13.5851 16.5546C13.4998 16.3493 13.4773 16.1233 13.5204 15.9051C13.5635 15.687 13.6702 15.4866 13.8272 15.3291C13.9317 15.2242 14.0559 15.141 14.1926 15.0842C14.3294 15.0274 14.476 14.9982 14.6241 14.9982C14.7721 14.9982 14.9187 15.0274 15.0555 15.0842C15.1922 15.141 15.3164 15.2242 15.4209 15.3291ZM7.82719 14.5791C7.67025 14.7366 7.56349 14.937 7.5204 15.1551C7.47731 15.3733 7.49981 15.5993 7.58508 15.8046C7.67034 16.0099 7.81454 16.1854 7.99946 16.3088C8.18438 16.4323 8.40173 16.4982 8.62407 16.4982C8.8464 16.4982 9.06376 16.4323 9.24868 16.3088C9.4336 16.1854 9.57779 16.0099 9.66306 15.8046C9.74832 15.5993 9.77083 15.3733 9.72773 15.1551C9.68464 14.937 9.57788 14.7366 9.42094 14.5791C9.31646 14.4745 9.19239 14.3915 9.05581 14.3349C8.91924 14.2783 8.77285 14.2491 8.625 14.2491C8.47716 14.2491 8.33077 14.2783 8.1942 14.3349C8.05762 14.3915 7.93355 14.4745 7.82907 14.5791H7.82719ZM8.67094 10.9228C8.82788 10.7653 8.93464 10.5649 8.97773 10.3467C9.02083 10.1286 8.99832 9.90262 8.91306 9.69728C8.82779 9.49194 8.6836 9.31647 8.49868 9.19303C8.31376 9.06958 8.0964 9.0037 7.87407 9.0037C7.65173 9.0037 7.43438 9.06958 7.24946 9.19303C7.06454 9.31647 6.92034 9.49194 6.83508 9.69728C6.74981 9.90262 6.72731 10.1286 6.7704 10.3467C6.81349 10.5649 6.92025 10.7653 7.07719 10.9228C7.18183 11.0276 7.30612 11.1106 7.44293 11.1673C7.57975 11.2239 7.72639 11.2529 7.87446 11.2528C8.02252 11.2526 8.1691 11.2232 8.30578 11.1662C8.44245 11.1093 8.56655 11.0259 8.67094 10.9209V10.9228ZM13.1709 10.8291C13.0135 10.6721 12.813 10.5654 12.5949 10.5223C12.3767 10.4792 12.1507 10.5017 11.9454 10.5869C11.7401 10.6722 11.5646 10.8164 11.4412 11.0013C11.3177 11.1862 11.2518 11.4036 11.2518 11.6259C11.2518 11.8483 11.3177 12.0656 11.4412 12.2505C11.5646 12.4355 11.7401 12.5797 11.9454 12.6649C12.1507 12.7502 12.3767 12.7727 12.5949 12.7296C12.813 12.6865 13.0135 12.5798 13.1709 12.4228C13.2758 12.3183 13.359 12.1941 13.4158 12.0574C13.4726 11.9206 13.5018 11.774 13.5018 11.6259C13.5018 11.4779 13.4726 11.3313 13.4158 11.1945C13.359 11.0578 13.2758 10.9336 13.1709 10.8291ZM21.75 12C21.75 13.9284 21.1782 15.8134 20.1068 17.4168C19.0355 19.0202 17.5127 20.2699 15.7312 21.0078C13.9496 21.7458 11.9892 21.9389 10.0979 21.5627C8.20656 21.1865 6.46928 20.2579 5.10571 18.8943C3.74215 17.5307 2.81355 15.7934 2.43735 13.9021C2.06114 12.0108 2.25422 10.0504 2.99218 8.26884C3.73013 6.48726 4.97982 4.96451 6.58319 3.89317C8.18657 2.82183 10.0716 2.25 12 2.25C12.1989 2.25 12.3897 2.32902 12.5303 2.46967C12.671 2.61032 12.75 2.80109 12.75 3C12.75 3.99456 13.1451 4.94839 13.8484 5.65165C14.5516 6.35491 15.5054 6.75 16.5 6.75C16.6989 6.75 16.8897 6.82902 17.0303 6.96967C17.171 7.11032 17.25 7.30109 17.25 7.5C17.25 8.49456 17.6451 9.44839 18.3484 10.1517C19.0516 10.8549 20.0054 11.25 21 11.25C21.1989 11.25 21.3897 11.329 21.5303 11.4697C21.671 11.6103 21.75 11.8011 21.75 12ZM20.2209 12.6928C19.0977 12.5223 18.0598 11.9929 17.2623 11.1836C16.4649 10.3744 15.9508 9.32878 15.7969 8.20312C14.6712 8.0492 13.6256 7.5351 12.8164 6.73768C12.0071 5.94025 11.4777 4.90233 11.3072 3.77906C9.74009 3.91115 8.24339 4.48839 6.99343 5.44279C5.74348 6.39719 4.79235 7.68897 4.25212 9.16593C3.71189 10.6429 3.60507 12.2435 3.94423 13.7791C4.2834 15.3148 5.05442 16.7215 6.16646 17.8335C7.2785 18.9456 8.68522 19.7166 10.2209 20.0558C11.7565 20.3949 13.3571 20.2881 14.8341 19.7479C16.311 19.2077 17.6028 18.2565 18.5572 17.0066C19.5116 15.7566 20.0889 14.2599 20.2209 12.6928Z",fill:"#007AFF"})],-1)];function G6(t,e){return o.openBlock(),o.createElementBlock("svg",_A,[...yA])}const wA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G6},render:G6},Symbol.toStringTag,{value:"Module"})),bA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},kA=[o.createElementVNode("path",{d:"M6.6665 6.74984V3.4165H17.0832V14.2498H13.7498M13.7498 6.74984V17.5832H2.9165V6.74984H13.7498Z",stroke:"#1C2026","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function K6(t,e){return o.openBlock(),o.createElementBlock("svg",bA,[...kA])}const CA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K6},render:K6},Symbol.toStringTag,{value:"Module"})),xA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},MA=[o.createElementVNode("path",{d:"M6.25 6.25L13.75 13.75M13.75 6.25L6.25 13.75",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function X6(t,e){return o.openBlock(),o.createElementBlock("svg",xA,[...MA])}const SA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X6},render:X6},Symbol.toStringTag,{value:"Module"})),vA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},TA=[o.createElementVNode("path",{d:"M10 7.01888V6.13925M10 14.9355V15.8152M12.0834 8.47721C11.7031 7.95137 10.814 7.45869 10 7.45869C9.04811 7.45869 7.80097 7.86596 7.80097 9.02248C7.80097 11.527 12.1991 10.473 12.1991 12.8648C12.1991 14.0126 10.9669 14.4957 10 14.4957C9.18607 14.4957 8.1812 14.0031 7.80097 13.4772M17.9167 10.9772C17.9167 15.3495 14.3723 18.8939 10 18.8939C5.62779 18.8939 2.08337 15.3495 2.08337 10.9772C2.08337 6.60496 5.62779 3.06055 10 3.06055C14.3723 3.06055 17.9167 6.60496 17.9167 10.9772Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function J6(t,e){return o.openBlock(),o.createElementBlock("svg",vA,[...TA])}const DA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J6},render:J6},Symbol.toStringTag,{value:"Module"})),OA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EA=[o.createElementVNode("path",{d:"M16.0834 2.91602H3.91675C3.36446 2.91602 2.91675 3.36373 2.91675 3.91601V5.87943C2.91675 6.11814 3.00214 6.34897 3.15749 6.53022L7.676 11.8018C7.83136 11.9831 7.91675 12.2139 7.91675 12.4526V16.8556C7.91675 17.5631 8.63127 18.0469 9.28814 17.7841L11.4548 16.9175C11.8345 16.7656 12.0834 16.3979 12.0834 15.989V12.4526C12.0834 12.2139 12.1688 11.9831 12.3242 11.8018L16.8427 6.53022C16.998 6.34897 17.0834 6.11814 17.0834 5.87943V3.91602C17.0834 3.36373 16.6357 2.91602 16.0834 2.91602Z",stroke:"currentColor","stroke-linejoin":"round"},null,-1)];function Q6(t,e){return o.openBlock(),o.createElementBlock("svg",OA,[...EA])}const $A=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q6},render:Q6},Symbol.toStringTag,{value:"Module"})),PA={width:"34",height:"31",viewBox:"0 0 34 31",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LA=[o.createElementVNode("path",{id:"vector","fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6801 2.76287C14.6095 -0.544651 19.3885 -0.544659 21.3179 2.76287L33.0144 22.8141C34.9589 26.1474 32.5545 30.3334 28.6955 30.3334H5.30245C1.4435 30.3334 -0.960859 26.1474 0.983558 22.8141L12.6801 2.76287ZM17.0007 10.3335C17.9211 10.3335 18.6673 11.0797 18.6673 12.0002V17.0002C18.6673 17.9206 17.9211 18.6668 17.0007 18.6668C16.0802 18.6668 15.334 17.9206 15.334 17.0002V12.0002C15.334 11.0797 16.0802 10.3335 17.0007 10.3335ZM14.9173 22.0002C14.9173 20.8496 15.8501 19.9168 17.0007 19.9168C18.1512 19.9168 19.084 20.8496 19.084 22.0002C19.084 23.1508 18.1512 24.0835 17.0007 24.0835C15.8501 24.0835 14.9173 23.1508 14.9173 22.0002Z",fill:"currentColor"},null,-1)];function e_(t,e){return o.openBlock(),o.createElementBlock("svg",PA,[...LA])}const VA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e_},render:e_},Symbol.toStringTag,{value:"Module"})),NA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BA=[o.createStaticVNode('<g id="Date_range_light"><rect id="Rectangle" x="2.5" y="5" width="15" height="12.5" rx="2" stroke="currentColor"></rect><path id="Rectangle_2" d="M2.5 8.33333C2.5 7.08718 2.5 6.4641 2.76795 6C2.94349 5.69596 3.19596 5.44349 3.5 5.26795C3.9641 5 4.58718 5 5.83333 5H14.1667C15.4128 5 16.0359 5 16.5 5.26795C16.804 5.44349 17.0565 5.69596 17.2321 6C17.5 6.4641 17.5 7.08718 17.5 8.33333H2.5Z" fill="currentColor"></path><path id="Line" d="M5.83331 2.5L5.83331 5" stroke="currentColor" stroke-linecap="round"></path><path id="Line_2" d="M14.1667 2.5L14.1667 5" stroke="currentColor" stroke-linecap="round"></path><rect id="Rectangle_3" x="5.83331" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_4" x="5.83331" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_5" x="10.8333" y="10" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect><rect id="Rectangle_6" x="10.8333" y="13.3333" width="3.33333" height="1.66667" rx="0.5" fill="currentColor"></rect></g>',1)];function t_(t,e){return o.openBlock(),o.createElementBlock("svg",NA,[...BA])}const AA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t_},render:t_},Symbol.toStringTag,{value:"Module"})),FA={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},RA=[o.createElementVNode("path",{d:"M17.0834 12.0846V17.0846H2.91669V12.0846M10 2.91797V12.5013M7.08335 10.0013L10 12.918L12.9167 10.0013",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function n_(t,e){return o.openBlock(),o.createElementBlock("svg",FA,[...RA])}const IA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n_},render:n_},Symbol.toStringTag,{value:"Module"})),HA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},zA=[o.createElementVNode("path",{d:"M7.66666 3.33193C7.9428 3.33193 8.16666 3.10807 8.16666 2.83193C8.16666 2.55579 7.9428 2.33193 7.66666 2.33193V3.33193ZM14.1667 8.83193C14.1667 8.55579 13.9428 8.33193 13.6667 8.33193C13.3905 8.33193 13.1667 8.55579 13.1667 8.83193H14.1667ZM2.69733 14.0926L2.92433 13.6471L2.92433 13.6471L2.69733 14.0926ZM2.40599 13.8013L1.96049 14.0283L1.96049 14.0283L2.40599 13.8013ZM13.3027 14.0926L13.5297 14.5381L13.5297 14.5381L13.3027 14.0926ZM13.594 13.8013L14.0395 14.0283L14.0395 14.0283L13.594 13.8013ZM2.40599 3.19594L1.96049 2.96894L1.96049 2.96894L2.40599 3.19594ZM2.69733 2.90459L2.47034 2.45909L2.47034 2.45909L2.69733 2.90459ZM8.33333 6.16526L7.97978 5.81171C7.88601 5.90548 7.83333 6.03266 7.83333 6.16526H8.33333ZM8.33333 8.16526H7.83333C7.83333 8.44141 8.05719 8.66526 8.33333 8.66526V8.16526ZM10.3333 8.16526V8.66526C10.4659 8.66526 10.5931 8.61259 10.6869 8.51882L10.3333 8.16526ZM11.8619 2.63667L12.2155 2.99022L12.2155 2.99022L11.8619 2.63667ZM12.8047 2.63667L12.4512 2.99022L12.4512 2.99022L12.8047 2.63667ZM13.8619 3.69386L13.5084 4.04741L13.5084 4.04741L13.8619 3.69386ZM13.8619 4.63667L14.2155 4.99022L14.2155 4.99022L13.8619 4.63667ZM12.6 13.6653H3.39999V14.6653H12.6V13.6653ZM2.83333 13.0986V3.8986H1.83333V13.0986H2.83333ZM3.39999 3.33193H7.66666V2.33193H3.39999V3.33193ZM13.1667 8.83193V13.0986H14.1667V8.83193H13.1667ZM3.39999 13.6653C3.20506 13.6653 3.08893 13.6649 3.00285 13.6578C2.9226 13.6513 2.9134 13.6415 2.92433 13.6471L2.47034 14.5381C2.62388 14.6163 2.77933 14.6429 2.92141 14.6545C3.05767 14.6657 3.22156 14.6653 3.39999 14.6653V13.6653ZM1.83333 13.0986C1.83333 13.277 1.83294 13.4409 1.84407 13.5772C1.85568 13.7193 1.88226 13.8747 1.96049 14.0283L2.85149 13.5743C2.85706 13.5852 2.84731 13.576 2.84075 13.4957C2.83372 13.4097 2.83333 13.2935 2.83333 13.0986H1.83333ZM2.92433 13.6471C2.89297 13.6311 2.86747 13.6056 2.85149 13.5743L1.96049 14.0283C2.07234 14.2478 2.25082 14.4263 2.47034 14.5381L2.92433 13.6471ZM12.6 14.6653C12.7784 14.6653 12.9423 14.6657 13.0786 14.6545C13.2207 14.6429 13.3761 14.6163 13.5297 14.5381L13.0757 13.6471C13.0866 13.6415 13.0774 13.6513 12.9971 13.6578C12.9111 13.6649 12.7949 13.6653 12.6 13.6653V14.6653ZM13.1667 13.0986C13.1667 13.2935 13.1663 13.4097 13.1592 13.4957C13.1527 13.576 13.1429 13.5852 13.1485 13.5743L14.0395 14.0283C14.1177 13.8747 14.1443 13.7193 14.1559 13.5772C14.1671 13.4409 14.1667 13.277 14.1667 13.0986H13.1667ZM13.5297 14.5381C13.7492 14.4263 13.9277 14.2478 14.0395 14.0283L13.1485 13.5743C13.1325 13.6056 13.107 13.6311 13.0757 13.6471L13.5297 14.5381ZM2.83333 3.8986C2.83333 3.70366 2.83372 3.58753 2.84075 3.50145C2.84731 3.4212 2.85706 3.412 2.85149 3.42293L1.96049 2.96894C1.88226 3.12248 1.85568 3.27793 1.84407 3.42002C1.83294 3.55627 1.83333 3.72016 1.83333 3.8986H2.83333ZM3.39999 2.33193C3.22156 2.33193 3.05767 2.33154 2.92141 2.34267C2.77933 2.35428 2.62388 2.38086 2.47034 2.45909L2.92433 3.3501C2.9134 3.35567 2.9226 3.34591 3.00285 3.33935C3.08893 3.33232 3.20506 3.33193 3.39999 3.33193V2.33193ZM2.85149 3.42293C2.86747 3.39157 2.89297 3.36608 2.92433 3.3501L2.47034 2.45909C2.25082 2.57094 2.07234 2.74942 1.96049 2.96894L2.85149 3.42293ZM7.83333 6.16526V8.16526H8.83333V6.16526H7.83333ZM8.33333 8.66526H10.3333V7.66526H8.33333V8.66526ZM8.68688 6.51882L12.2155 2.99022L11.5084 2.28312L7.97978 5.81171L8.68688 6.51882ZM12.4512 2.99022L13.5084 4.04741L14.2155 3.34031L13.1583 2.28312L12.4512 2.99022ZM13.5084 4.28312L9.97978 7.81171L10.6869 8.51882L14.2155 4.99022L13.5084 4.28312ZM13.5084 4.04741C13.5735 4.1125 13.5735 4.21803 13.5084 4.28312L14.2155 4.99022C14.6711 4.53461 14.6711 3.79592 14.2155 3.34031L13.5084 4.04741ZM12.2155 2.99022C12.2806 2.92513 12.3861 2.92513 12.4512 2.99022L13.1583 2.28312C12.7027 1.8275 11.964 1.8275 11.5084 2.28312L12.2155 2.99022Z",fill:"#8E8E93"},null,-1)];function r_(t,e){return o.openBlock(),o.createElementBlock("svg",HA,[...zA])}const YA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r_},render:r_},Symbol.toStringTag,{value:"Module"})),WA={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},jA=[o.createElementVNode("path",{d:"M9.00033 4.4999L11.1956 2.30464C11.4559 2.04429 11.878 2.04429 12.1384 2.30464L14.1956 4.36183C14.4559 4.62218 14.4559 5.04429 14.1956 5.30464L12.0003 7.4999M9.00033 4.4999L1.86225 11.638C1.73723 11.763 1.66699 11.9326 1.66699 12.1094V14.8332H4.39085C4.56766 14.8332 4.73723 14.763 4.86225 14.638L12.0003 7.4999M9.00033 4.4999L12.0003 7.4999",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function s_(t,e){return o.openBlock(),o.createElementBlock("svg",WA,[...jA])}const ZA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s_},render:s_},Symbol.toStringTag,{value:"Module"})),UA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qA=[o.createElementVNode("g",{id:"eye-slash, hide, eye off, see, look, not visible"},[o.createElementVNode("path",{id:"vector",d:"M6.61522 4.0171L6.16217 4.22863L6.58523 5.13473L7.03828 4.9232L6.61522 4.0171ZM18.3333 10.0003L18.7836 10.2176L18.8885 10.0003L18.7836 9.78291L18.3333 10.0003ZM15.5482 13.2014L15.1996 13.5597L15.9164 14.257L16.265 13.8986L15.5482 13.2014ZM8.58575 7.879L8.23219 7.52545L7.52509 8.23256L7.87864 8.58611L8.58575 7.879ZM11.4142 12.1216L11.7677 12.4752L12.4748 11.7681L12.1213 11.4145L11.4142 12.1216ZM1.66663 10.0004L1.21635 9.783L1.11141 10.0004L1.21635 10.2177L1.66663 10.0004ZM5.44185 5.9087L5.83601 5.60107L5.22076 4.81274L4.8266 5.12037L5.44185 5.9087ZM8.45097 8.73505L8.76756 8.34805L7.99355 7.71487L7.67696 8.10187L8.45097 8.73505ZM11.8719 12.3448L12.2625 12.0326L11.6381 11.2515L11.2475 11.5636L11.8719 12.3448ZM14.683 15.2394L15.0953 14.9566L14.5297 14.132L14.1174 14.4147L14.683 15.2394ZM7.03828 4.9232C8.93441 4.03789 10.9848 4.02635 12.8844 4.88762C14.7897 5.75148 16.5759 7.51002 17.883 10.2176L18.7836 9.78291C17.3966 6.90986 15.4577 4.95638 13.2974 3.97686C11.1313 2.99476 8.77544 3.00849 6.61522 4.0171L7.03828 4.9232ZM16.265 13.8986C17.2196 12.9174 18.0735 11.6885 18.7836 10.2176L17.883 9.78291C17.2144 11.1679 16.4197 12.3055 15.5482 13.2014L16.265 13.8986ZM9.99996 12.0003C8.89539 12.0003 7.99996 11.1049 7.99996 10.0003H6.99996C6.99996 11.6572 8.34311 13.0003 9.99996 13.0003V12.0003ZM7.87864 8.58611L11.4142 12.1216L12.1213 11.4145L8.58575 7.879L7.87864 8.58611ZM1.93807 2.64555L17.3547 18.0622L18.0618 17.3551L2.64518 1.93844L1.93807 2.64555ZM1.93807 2.64555L4.99681 5.70428L5.70392 4.99718L2.64518 1.93844L1.93807 2.64555ZM4.99681 5.70428L14.296 15.0035L15.0031 14.2964L5.70392 4.99718L4.99681 5.70428ZM14.296 15.0035L17.3547 18.0622L18.0618 17.3551L15.0031 14.2964L14.296 15.0035ZM2.1169 10.2177C3.03149 8.32318 4.18155 6.89229 5.44185 5.9087L4.8266 5.12037C3.42791 6.21196 2.18733 7.77163 1.21635 9.783L2.1169 10.2177ZM7.99996 10.0003C7.99996 9.51973 8.16884 9.07992 8.45097 8.73505L7.67696 8.10187C7.25405 8.61884 6.99996 9.28058 6.99996 10.0003H7.99996ZM11.2475 11.5636C10.9054 11.8371 10.4724 12.0003 9.99996 12.0003V13.0003C10.7074 13.0003 11.3589 12.7548 11.8719 12.3448L11.2475 11.5636ZM1.21635 10.2177C2.74591 13.3862 4.94766 15.437 7.37506 16.2947C9.8101 17.1551 12.4168 16.7936 14.683 15.2394L14.1174 14.4147C12.1009 15.7977 9.82648 16.1003 7.70822 15.3518C5.58233 14.6007 3.55863 12.7695 2.1169 9.783L1.21635 10.2177Z",fill:"currentColor"})],-1)];function i_(t,e){return o.openBlock(),o.createElementBlock("svg",UA,[...qA])}const GA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i_},render:i_},Symbol.toStringTag,{value:"Module"})),KA={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XA=[o.createElementVNode("path",{d:"M1.66663 10L1.21635 9.78265L1.11141 10L1.21635 10.2174L1.66663 10ZM18.3333 9.99993L18.7836 10.2173L18.8885 9.99993L18.7836 9.78256L18.3333 9.99993ZM2.1169 10.2174C4.06897 6.17373 7.08064 4.25002 9.99996 4.25C12.9193 4.24998 15.9309 6.17364 17.883 10.2173L18.7836 9.78256C16.7128 5.49292 13.4025 3.24997 9.99996 3.25C6.59739 3.25003 3.28716 5.49301 1.21635 9.78265L2.1169 10.2174ZM1.21635 10.2174C3.28716 14.507 6.59739 16.75 9.99996 16.75C13.4025 16.7499 16.7128 14.5069 18.7836 10.2173L17.883 9.78256C15.9309 13.8262 12.9193 15.7499 9.99996 15.75C7.08063 15.75 4.06897 13.8263 2.1169 9.78265L1.21635 10.2174ZM12 10C12 11.1046 11.1045 12 9.99996 12V13C11.6568 13 13 11.6569 13 10H12ZM9.99996 12C8.89539 12 7.99996 11.1046 7.99996 10H6.99996C6.99996 11.6569 8.34311 13 9.99996 13V12ZM7.99996 10C7.99996 8.89543 8.89539 8 9.99996 8V7C8.34311 7 6.99996 8.34315 6.99996 10H7.99996ZM9.99996 8C11.1045 8 12 8.89543 12 10H13C13 8.34315 11.6568 7 9.99996 7V8Z",fill:"currentColor"},null,-1)];function o_(t,e){return o.openBlock(),o.createElementBlock("svg",KA,[...XA])}const JA=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o_},render:o_},Symbol.toStringTag,{value:"Module"})),QA={width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eF=[o.createElementVNode("g",{id:"file-bend, document"},[o.createElementVNode("path",{id:"vector",d:"M13.25 4.23895V10.2344H19.2501M5.25 3.73438H13.25L19.75 10.2344V22.2344H5.25V3.73438Z",stroke:"#007AFF","stroke-width":"1.5","stroke-linecap":"round"})],-1)];function a_(t,e){return o.openBlock(),o.createElementBlock("svg",QA,[...eF])}const tF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a_},render:a_},Symbol.toStringTag,{value:"Module"})),nF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},rF=[o.createElementVNode("path",{d:"M16.0833 2.91797H3.91666C3.36437 2.91797 2.91666 3.36568 2.91666 3.91797V5.88138C2.91666 6.12009 3.00205 6.35093 3.1574 6.53217L7.67591 11.8038C7.83126 11.985 7.91666 12.2158 7.91666 12.4546V16.8576C7.91666 17.5651 8.63118 18.0488 9.28805 17.7861L11.4547 16.9194C11.8344 16.7675 12.0833 16.3998 12.0833 15.9909V12.4546C12.0833 12.2158 12.1687 11.985 12.3241 11.8038L16.8426 6.53217C16.9979 6.35093 17.0833 6.12009 17.0833 5.88138V3.91797C17.0833 3.36568 16.6356 2.91797 16.0833 2.91797Z",stroke:"#1C2026","stroke-linejoin":"round"},null,-1)];function l_(t,e){return o.openBlock(),o.createElementBlock("svg",nF,[...rF])}const sF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l_},render:l_},Symbol.toStringTag,{value:"Module"})),iF={width:"19",height:"16",viewBox:"0 0 19 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oF=[o.createElementVNode("path",{id:"vector",d:"M2.08333 7.58317V2.58317C2.08333 1.6627 2.82953 0.916504 3.75 0.916504H7.44136C7.99862 0.916504 8.519 1.19501 8.82811 1.65867L9.50522 2.67434C9.81433 3.138 10.3347 3.4165 10.892 3.4165H16.25C17.1705 3.4165 17.9167 4.1627 17.9167 5.08317V12.5832C17.9167 13.5036 17.1705 14.2498 16.25 14.2498H8.75M3.75 10.0832V12.5832M3.75 12.5832V15.0832M3.75 12.5832H1.25M3.75 12.5832H6.25",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function c_(t,e){return o.openBlock(),o.createElementBlock("svg",iF,[...oF])}const aF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c_},render:c_},Symbol.toStringTag,{value:"Module"})),lF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cF=[o.createElementVNode("g",{id:"folder-open"},[o.createElementVNode("path",{id:"vector",d:"M4.5835 16.2503L6.66683 9.16699H17.0835M4.5835 16.2503H16.4585L18.5418 9.16699H17.0835M4.5835 16.2503H2.0835V2.91699H8.3335L10.0002 5.41699H17.0835V9.16699",stroke:"currentColor","stroke-linecap":"round"})],-1)];function d_(t,e){return o.openBlock(),o.createElementBlock("svg",lF,[...cF])}const dF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d_},render:d_},Symbol.toStringTag,{value:"Module"})),uF={width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hF=[o.createStaticVNode('<path d="M24.6298 6.08302L20.7811 13.0454L16.8629 20.132L16.0137 21.6615C15.4079 22.759 14.2508 23.4393 12.9944 23.4393C11.7379 23.4393 10.5809 22.759 9.975 21.6516L9.13574 20.122L13.0043 13.0206L16.848 5.95887L18.5961 2.7508C19.5197 1.08718 21.6154 0.481319 23.279 1.405C24.9427 2.32869 25.5485 4.42436 24.6248 6.08798H24.6348L24.6298 6.08302Z" fill="url(#f)"></path><path d="M9.16962 5.943L5.23651 13.0296L1.36797 6.03736C0.454215 4.3638 1.06007 2.26813 2.7237 1.34941C4.39725 0.43566 6.49292 1.04152 7.40667 2.70514L9.15969 5.94797H9.16962V5.943Z" fill="url(#g)"></path><path d="M16.8459 5.95703L13.0022 13.0187L9.13361 20.1202L7.40542 23.3034C6.48174 24.9671 4.38607 25.563 2.71748 24.6443C1.05385 23.7206 0.457922 21.6249 1.37664 19.9613L5.22533 13.0336L9.15843 5.9471L9.9828 4.46721C10.5887 3.36972 11.7457 2.69434 12.9922 2.69434C14.2387 2.69434 15.3958 3.37468 16.0017 4.46721L16.831 5.96199L16.8409 5.95206L16.8459 5.95703Z" fill="url(#n)"></path><path d="M23.2844 24.6409C22.753 24.9339 22.1769 25.0729 21.6108 25.0729C20.4041 25.0729 19.2222 24.4323 18.5915 23.3001L16.8633 20.1168L20.7815 13.0303L24.6252 19.948C25.5489 21.6116 24.948 23.7073 23.2844 24.631V24.6409Z" fill="url(#m)"></path><defs><linearGradient id="f" x1="11.1023" y1="24.3432" x2="22.0276" y2="3.09843" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="g" x1="13.8029" y1="21.0845" x2="3.37424" y2="2.65549" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="n" x1="15.0829" y1="3.11645" x2="1.89312" y2="25.3544" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="m" x1="17.3202" y1="13.8646" x2="24.0541" y2="26.0612" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient></defs>',5)];function u_(t,e){return o.openBlock(),o.createElementBlock("svg",uF,[...hF])}const fF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u_},render:u_},Symbol.toStringTag,{value:"Module"})),mF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C12.6502 0 15.1938 1.05357 17.0691 2.92893C18.9445 4.8043 19.998 7.34783 19.998 10C19.998 12.6522 18.9445 15.1957 17.0691 17.0711C15.1938 18.9464 12.6502 20 9.99805 20L9.99805 17.5C11.9872 17.5 13.8948 16.7098 15.3013 15.3033C16.7079 13.8968 17.498 11.9891 17.498 10C17.498 8.01088 16.7079 6.10322 15.3013 4.6967C13.8948 3.29018 11.9872 2.5 9.99805 2.5V0Z",fill:"#007AFF"},null,-1)];function h_(t,e){return o.openBlock(),o.createElementBlock("svg",mF,[...pF])}const gF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h_},render:h_},Symbol.toStringTag,{value:"Module"})),_F={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#EDEDED"},null,-1),o.createElementVNode("path",{d:"M9.99805 0C15.5209 0 19.998 4.47715 19.998 10C19.998 15.5228 15.5209 20 9.99805 20C4.4752 20 -0.00195312 15.5228 -0.00195312 10C-0.00195312 4.47715 4.4752 0 9.99805 0ZM9.99805 17.5C14.1402 17.5 17.498 14.1421 17.498 10C17.498 5.85786 14.1402 2.5 9.99805 2.5C5.85591 2.5 2.49805 5.85786 2.49805 10C2.49805 14.1421 5.85591 17.5 9.99805 17.5Z",fill:"#007AFF"},null,-1)];function f_(t,e){return o.openBlock(),o.createElementBlock("svg",_F,[...yF])}const wF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f_},render:f_},Symbol.toStringTag,{value:"Module"})),bF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},kF=[o.createElementVNode("path",{d:"M20.002 10C20.002 15.5228 15.5248 20 10.002 20C4.47911 20 0.00195312 15.5228 0.00195312 10C0.00195312 4.47715 4.47911 0 10.002 0C15.5248 0 20.002 4.47715 20.002 10ZM2.50195 10C2.50195 14.1421 5.85982 17.5 10.002 17.5C14.1441 17.5 17.502 14.1421 17.502 10C17.502 5.85786 14.1441 2.5 10.002 2.5C5.85982 2.5 2.50195 5.85786 2.50195 10Z",fill:"#F2F2F2"},null,-1)];function m_(t,e){return o.openBlock(),o.createElementBlock("svg",bF,[...kF])}const CF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m_},render:m_},Symbol.toStringTag,{value:"Module"})),xF={width:"24",height:"23",viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MF=[o.createStaticVNode('<g id="google-authenticator-3 1" clip-path="url(#clip0_2798_100151)"><path id="Vector" d="M24 11.5003C24 12.6548 23.095 13.5897 21.9775 13.5897H15L12 7.32163L15.2375 1.52876C15.7975 0.529276 17.0325 0.188367 18 0.764296C18.9675 1.34281 19.2975 2.61864 18.74 3.61812L15.5025 9.41099H21.9775C23.095 9.41099 24 10.3459 24 11.5003Z" fill="#1A73E8"></path><path id="Vector_2" d="M18.0002 22.2347C17.0327 22.8107 15.7977 22.4698 15.2377 21.4703L12.0002 15.6774L8.76272 21.4703C8.20272 22.4698 6.96772 22.8107 6.00022 22.2347C5.03272 21.6562 4.70272 20.3804 5.26022 19.3809L8.49772 13.5881L12.0002 13.4512L15.5027 13.5881L18.7402 19.3809C19.2977 20.3804 18.9677 21.6562 18.0002 22.2347Z" fill="#EA4335"></path><path id="Vector_3" d="M12.0002 7.32163L11.0877 9.88361L8.49772 9.41099L5.26022 3.61812C4.70272 2.61864 5.03272 1.34281 6.00022 0.764296C6.96772 0.188367 8.20272 0.529276 8.76272 1.52876L12.0002 7.32163Z" fill="#FBBC04"></path><path id="Vector_4" d="M11.4775 9.41016L9.13 13.5889H2.0225C0.905 13.5889 0 12.654 0 11.4995C0 10.3451 0.905 9.41016 2.0225 9.41016H11.4775Z" fill="#34A853"></path><path id="Vector_5" d="M15.5026 13.5884H8.49756L12.0001 7.32031L15.5026 13.5884Z" fill="#185DB7"></path></g><defs><clipPath id="clip0_2798_100151"><rect width="24" height="22.9091" fill="white" transform="translate(0 0.0449219)"></rect></clipPath></defs>',2)];function p_(t,e){return o.openBlock(),o.createElementBlock("svg",xF,[...MF])}const SF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p_},render:p_},Symbol.toStringTag,{value:"Module"})),vF={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TF=[o.createStaticVNode('<g id="7123025_logo_google_g_icon 1"><g id="Group"><path id="Vector" d="M19.9498 12.1755C19.9498 11.6795 19.9018 11.1675 19.8218 10.6875H12.8938V13.5195H16.8618C16.7018 14.4315 16.1738 15.2315 15.3898 15.7435L17.7578 17.5835C19.1498 16.2875 19.9498 14.3995 19.9498 12.1755Z" fill="#4280EF"></path><path id="Vector_2" d="M12.8957 19.3458C14.8797 19.3458 16.5437 18.6898 17.7597 17.5698L15.3917 15.7458C14.7357 16.1938 13.8877 16.4498 12.8957 16.4498C10.9757 16.4498 9.35969 15.1538 8.76769 13.4258L6.33569 15.2978C7.58369 17.7778 10.1117 19.3458 12.8957 19.3458Z" fill="#34A353"></path><path id="Vector_3" d="M8.76717 13.4071C8.46318 12.4951 8.46318 11.5031 8.76717 10.5911L6.33518 8.70312C5.29518 10.7831 5.29518 13.2311 6.33518 15.2951L8.76717 13.4071Z" fill="#F6B704"></path><path id="Vector_4" d="M12.8957 7.56853C13.9357 7.55253 14.9597 7.95253 15.7117 8.67253L17.8077 6.56053C16.4797 5.31253 14.7197 4.64053 12.8957 4.65653C10.1117 4.65653 7.58369 6.22453 6.33569 8.70453L8.76769 10.5925C9.35969 8.84853 10.9757 7.56853 12.8957 7.56853Z" fill="#E54335"></path></g></g>',1)];function g_(t,e){return o.openBlock(),o.createElementBlock("svg",vF,[...TF])}const DF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g_},render:g_},Symbol.toStringTag,{value:"Module"})),OF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},EF=[o.createElementVNode("path",{d:"M2.29297 9.99984H17.7096M2.29297 4.7915H17.7096M2.29297 15.2082H17.7096",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function __(t,e){return o.openBlock(),o.createElementBlock("svg",OF,[...EF])}const $F=Object.freeze(Object.defineProperty({__proto__:null,default:{render:__},render:__},Symbol.toStringTag,{value:"Module"})),PF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LF=[o.createElementVNode("path",{d:"M5.24982 3.1215L4.79677 3.33303L5.21983 4.23914L5.67288 4.02761L5.24982 3.1215ZM14.6666 7.99866L15.1169 8.21603L15.2218 7.99866L15.1169 7.78129L14.6666 7.99866ZM12.3668 10.4898L12.0182 10.8482L12.735 11.5455L13.0836 11.1871L12.3668 10.4898ZM6.93926 6.23093L6.58571 5.87738L5.8786 6.58448L6.23215 6.93804L6.93926 6.23093ZM9.06058 9.76647L9.41413 10.12L10.1212 9.41291L9.76769 9.05936L9.06058 9.76647ZM1.33325 7.99874L0.882974 7.78137L0.77804 7.99874L0.882974 8.21611L1.33325 7.99874ZM4.41495 4.80423L4.80912 4.4966L4.19387 3.70827L3.7997 4.0159L4.41495 4.80423ZM6.83812 7.0498L7.15471 6.66279L6.38071 6.02961L6.06412 6.41662L6.83812 7.0498ZM9.55991 9.95236L9.95047 9.64018L9.32609 8.85905L8.93553 9.17124L9.55991 9.95236ZM11.8029 12.2725L12.2152 11.9897L11.6497 11.165L11.2373 11.4478L11.8029 12.2725ZM5.67288 4.02761C7.16338 3.33169 8.77318 3.32268 10.2662 3.99961C11.7649 4.67913 13.1786 6.06647 14.2163 8.21603L15.1169 7.78129C13.9993 5.46631 12.4329 3.88403 10.6791 3.08885C8.9196 2.29108 7.00441 2.30229 5.24982 3.1215L5.67288 4.02761ZM13.0836 11.1871C13.8556 10.3935 14.5447 9.40127 15.1169 8.21603L14.2163 7.78129C13.6856 8.88071 13.0558 9.78162 12.3668 10.4898L13.0836 11.1871ZM7.99992 9.4987C7.17149 9.4987 6.49992 8.82713 6.49992 7.9987H5.49992C5.49992 9.37941 6.61921 10.4987 7.99992 10.4987V9.4987ZM6.23215 6.93804L9.06058 9.76647L9.76769 9.05936L6.93926 6.23093L6.23215 6.93804ZM1.4797 2.18558L13.813 14.5189L14.5201 13.8118L2.18681 1.47848L1.4797 2.18558ZM1.4797 2.18558L3.92669 4.63258L4.6338 3.92547L2.18681 1.47848L1.4797 2.18558ZM3.92669 4.63258L11.366 12.0719L12.0731 11.3648L4.6338 3.92547L3.92669 4.63258ZM11.366 12.0719L13.813 14.5189L14.5201 13.8118L12.0731 11.3648L11.366 12.0719ZM1.78353 8.21611C2.50956 6.71214 3.42056 5.5803 4.41495 4.80423L3.7997 4.0159C2.66692 4.89998 1.6654 6.16059 0.882974 7.78137L1.78353 8.21611ZM6.49992 7.9987C6.49992 7.63814 6.6265 7.30849 6.83812 7.0498L6.06412 6.41662C5.71172 6.8474 5.49992 7.39899 5.49992 7.9987H6.49992ZM8.93553 9.17124C8.6789 9.37637 8.35438 9.4987 7.99992 9.4987V10.4987C8.58938 10.4987 9.13242 10.2941 9.55991 9.95236L8.93553 9.17124ZM0.882974 8.21611C2.11541 10.7691 3.89461 12.4317 5.86668 13.1285C7.8464 13.828 9.96502 13.5329 11.8029 12.2725L11.2373 11.4478C9.64906 12.537 7.86277 12.7732 6.19985 12.1856C4.52928 11.5953 2.92813 10.1524 1.78353 7.78137L0.882974 8.21611Z",fill:"#7F7F83"},null,-1)];function y_(t,e){return o.openBlock(),o.createElementBlock("svg",PF,[...LF])}const VF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y_},render:y_},Symbol.toStringTag,{value:"Module"})),NF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BF=[o.createElementVNode("g",{id:"home-line"},[o.createElementVNode("path",{id:"vector",d:"M8.31137 2.6316L8.7863 3.21206L8.31137 2.6316ZM9.54856 1.79906L9.75171 2.52102L9.54856 1.79906ZM11.6886 2.6316L11.2137 3.21206L11.6886 2.6316ZM10.4514 1.79906L10.2483 2.52102L10.4514 1.79906ZM4.03502 16.6933L4.37551 16.0251L4.03502 16.6933ZM3.125 14.2083H3.875H3.125ZM3.30666 15.965L3.97491 15.6245L3.30666 15.965ZM16.6933 15.965L16.0251 15.6245L16.6933 15.965ZM15.965 16.6933L15.6245 16.0251L15.965 16.6933ZM16.8166 7.22743L17.5403 7.03063L16.8166 7.22743ZM15.897 6.07478L15.422 6.65525L15.897 6.07478ZM16.5652 6.69701L15.9546 7.13251L16.5652 6.69701ZM3.125 8.13866H2.375H3.125ZM3.18341 7.22743L2.45969 7.03063L3.18341 7.22743ZM4.10303 6.07478L3.6281 5.49431L4.10303 6.07478ZM3.43476 6.69701L4.04537 7.13251H4.04537L3.43476 6.69701ZM6.45833 12.7917C6.04412 12.7917 5.70833 13.1274 5.70833 13.5417C5.70833 13.9559 6.04412 14.2917 6.45833 14.2917V12.7917ZM13.5417 14.2917C13.9559 14.2917 14.2917 13.9559 14.2917 13.5417C14.2917 13.1274 13.9559 12.7917 13.5417 12.7917V14.2917ZM16.125 8.13866V14.2083H17.625V8.13866H16.125ZM14.2083 16.125H5.79167V17.625H14.2083V16.125ZM3.875 14.2083V8.13866H2.375V14.2083H3.875ZM4.57796 6.65525L8.7863 3.21206L7.83644 2.05113L3.6281 5.49431L4.57796 6.65525ZM11.2137 3.21206L15.422 6.65525L16.3719 5.49431L12.1636 2.05113L11.2137 3.21206ZM8.7863 3.21206C9.09564 2.95896 9.29647 2.79527 9.46067 2.68011C9.61712 2.57038 9.69739 2.53631 9.75171 2.52102L9.34541 1.0771C9.06494 1.15602 8.82742 1.2921 8.59937 1.45203C8.37907 1.60654 8.1287 1.81201 7.83644 2.05113L8.7863 3.21206ZM12.1636 2.05113C11.8713 1.81201 11.6209 1.60654 11.4006 1.45203C11.1726 1.2921 10.9351 1.15602 10.6546 1.0771L10.2483 2.52102C10.3026 2.53631 10.3829 2.57038 10.5393 2.68011C10.7035 2.79527 10.9044 2.95896 11.2137 3.21206L12.1636 2.05113ZM9.75171 2.52102C9.91408 2.47533 10.0859 2.47533 10.2483 2.52102L10.6546 1.0771C10.2265 0.956641 9.77349 0.956641 9.34541 1.0771L9.75171 2.52102ZM5.79167 16.125C5.31258 16.125 4.99837 16.1244 4.75808 16.1048C4.52654 16.0859 4.43042 16.0531 4.37551 16.0251L3.69452 17.3616C3.99613 17.5153 4.31163 17.5733 4.63593 17.5998C4.95147 17.6256 5.33733 17.625 5.79167 17.625V16.125ZM2.375 14.2083C2.375 14.6627 2.37442 15.0485 2.4002 15.3641C2.42669 15.6884 2.48472 16.0039 2.6384 16.3055L3.97491 15.6245C3.94693 15.5696 3.91413 15.4734 3.89522 15.2419C3.87558 15.0016 3.875 14.6874 3.875 14.2083H2.375ZM4.37551 16.0251C4.20303 15.9372 4.06279 15.797 3.97491 15.6245L2.6384 16.3055C2.87009 16.7602 3.2398 17.1299 3.69452 17.3616L4.37551 16.0251ZM16.125 14.2083C16.125 14.6874 16.1244 15.0016 16.1048 15.2419C16.0859 15.4734 16.0531 15.5696 16.0251 15.6245L17.3616 16.3055C17.5153 16.0039 17.5733 15.6884 17.5998 15.3641C17.6256 15.0485 17.625 14.6627 17.625 14.2083H16.125ZM14.2083 17.625C14.6627 17.625 15.0485 17.6256 15.3641 17.5998C15.6884 17.5733 16.0039 17.5153 16.3055 17.3616L15.6245 16.0251C15.5696 16.0531 15.4735 16.0859 15.2419 16.1048C15.0016 16.1244 14.6874 16.125 14.2083 16.125V17.625ZM16.0251 15.6245C15.9372 15.797 15.797 15.9372 15.6245 16.0251L16.3055 17.3616C16.7602 17.1299 17.1299 16.7602 17.3616 16.3055L16.0251 15.6245ZM17.625 8.13866C17.625 7.71545 17.6312 7.36469 17.5403 7.03063L16.0929 7.42424C16.1188 7.51973 16.125 7.63327 16.125 8.13866H17.625ZM15.422 6.65525C15.8132 6.97528 15.8972 7.05194 15.9546 7.13251L17.1758 6.26151C16.9748 5.97966 16.6994 5.76231 16.3719 5.49431L15.422 6.65525ZM17.5403 7.03063C17.4653 6.75471 17.3419 6.4943 17.1758 6.26151L15.9546 7.13251C16.0176 7.22081 16.0644 7.31959 16.0929 7.42424L17.5403 7.03063ZM3.875 8.13866C3.875 7.63327 3.88116 7.51973 3.90712 7.42424L2.45969 7.03063C2.36884 7.36469 2.375 7.71545 2.375 8.13866H3.875ZM3.6281 5.49431C3.30056 5.7623 3.02518 5.97966 2.82416 6.26151L4.04537 7.13251C4.10283 7.05194 4.18681 6.97528 4.57796 6.65525L3.6281 5.49431ZM3.90712 7.42424C3.93558 7.31958 3.98239 7.22081 4.04537 7.13251L2.82416 6.26151C2.65812 6.4943 2.53472 6.75471 2.45969 7.03063L3.90712 7.42424ZM6.45833 14.2917H13.5417V12.7917H6.45833V14.2917Z",fill:"currentColor"})],-1)];function w_(t,e){return o.openBlock(),o.createElementBlock("svg",NF,[...BF])}const AF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w_},render:w_},Symbol.toStringTag,{value:"Module"})),FF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},RF=[o.createElementVNode("path",{d:"M8 16.5C12.4183 16.5 16 12.9183 16 8.5C16 4.08172 12.4183 0.5 8 0.5C3.58172 0.5 0 4.08172 0 8.5C0 12.9183 3.58172 16.5 8 16.5ZM8.9307 7.08789L7.92875 11.793C7.85844 12.1328 7.95805 12.3262 8.23344 12.3262C8.4268 12.3262 8.71977 12.2559 8.91898 12.0801L8.83109 12.4961C8.54398 12.8418 7.91117 13.0938 7.36625 13.0938C6.66313 13.0938 6.3643 12.6719 6.55766 11.7754L7.29594 8.30664C7.36039 8.01367 7.3018 7.9082 7.00883 7.83789L6.55766 7.75586L6.63969 7.375L8.9307 7.08789ZM8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4C8.55229 4 9 4.44772 9 5C9 5.55228 8.55229 6 8 6Z",fill:"#007AFF"},null,-1)];function b_(t,e){return o.openBlock(),o.createElementBlock("svg",FF,[...RF])}const IF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:b_},render:b_},Symbol.toStringTag,{value:"Module"})),HF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zF=[o.createElementVNode("path",{d:"M3.37169 16.9938L3.62139 16.5038L3.62139 16.5038L3.37169 16.9938ZM3.00751 16.6296L2.51746 16.8793L2.51746 16.8793L3.00751 16.6296ZM16.9925 16.6296L17.4826 16.8793L16.9925 16.6296ZM16.6283 16.9938L16.878 17.4839L16.6283 16.9938ZM16.9925 3.37298L16.5025 3.62267L16.5025 3.62267L16.9925 3.37298ZM16.6283 3.0088L16.878 2.51874L16.878 2.51874L16.6283 3.0088ZM3.00751 3.37298L2.51746 3.12328V3.12328L3.00751 3.37298ZM3.37169 3.0088L3.122 2.51874H3.122L3.37169 3.0088ZM16.5334 4.2513V15.7513H17.6334V4.2513H16.5334ZM15.75 16.5346H4.25002V17.6346H15.75V16.5346ZM3.46669 15.7513V4.2513H2.36669V15.7513H3.46669ZM4.25002 3.46797H15.75V2.36797H4.25002V3.46797ZM4.25002 16.5346C4.00759 16.5346 3.85884 16.5342 3.74748 16.5251C3.69555 16.5209 3.66395 16.5155 3.64458 16.511C3.63535 16.5088 3.62959 16.5069 3.62637 16.5058C3.62327 16.5047 3.62183 16.504 3.62139 16.5038L3.122 17.4839C3.30159 17.5754 3.48493 17.6073 3.6579 17.6215C3.82445 17.6351 4.02574 17.6346 4.25002 17.6346V16.5346ZM2.36669 15.7513C2.36669 15.9756 2.36626 16.1769 2.37987 16.3434C2.394 16.5164 2.42596 16.6997 2.51746 16.8793L3.49757 16.3799C3.49734 16.3795 3.49663 16.3781 3.49552 16.375C3.49437 16.3717 3.49253 16.366 3.49036 16.3567C3.4858 16.3374 3.48046 16.3058 3.47621 16.2538C3.46711 16.1425 3.46669 15.9937 3.46669 15.7513H2.36669ZM3.62139 16.5038C3.56808 16.4766 3.52473 16.4332 3.49757 16.3799L2.51746 16.8793C2.65009 17.1396 2.86171 17.3512 3.122 17.4839L3.62139 16.5038ZM16.5334 15.7513C16.5334 15.9937 16.5329 16.1425 16.5238 16.2538C16.5196 16.3058 16.5142 16.3374 16.5097 16.3567C16.5075 16.366 16.5057 16.3717 16.5045 16.375C16.5034 16.3781 16.5027 16.3795 16.5025 16.3799L17.4826 16.8793C17.5741 16.6997 17.606 16.5164 17.6202 16.3434C17.6338 16.1769 17.6334 15.9756 17.6334 15.7513H16.5334ZM15.75 17.6346C15.9743 17.6346 16.1756 17.6351 16.3421 17.6215C16.5151 17.6073 16.6985 17.5754 16.878 17.4839L16.3787 16.5038C16.3782 16.504 16.3768 16.5047 16.3737 16.5058C16.3705 16.5069 16.3647 16.5088 16.3555 16.511C16.3361 16.5155 16.3045 16.5209 16.2526 16.5251C16.1412 16.5342 15.9925 16.5346 15.75 16.5346V17.6346ZM16.5025 16.3799C16.4753 16.4332 16.432 16.4766 16.3787 16.5038L16.878 17.4839C17.1383 17.3512 17.35 17.1396 17.4826 16.8793L16.5025 16.3799ZM17.6334 4.2513C17.6334 4.02702 17.6338 3.82573 17.6202 3.65918C17.606 3.48621 17.5741 3.30287 17.4826 3.12328L16.5025 3.62267C16.5027 3.62312 16.5034 3.62455 16.5045 3.62765C16.5057 3.63087 16.5075 3.63664 16.5097 3.64586C16.5142 3.66523 16.5196 3.69683 16.5238 3.74876C16.5329 3.86013 16.5334 4.00887 16.5334 4.2513H17.6334ZM15.75 3.46797C15.9925 3.46797 16.1412 3.4684 16.2526 3.4775C16.3045 3.48174 16.3361 3.48708 16.3555 3.49164C16.3647 3.49381 16.3705 3.49566 16.3737 3.49681C16.3768 3.49791 16.3782 3.49862 16.3787 3.49885L16.878 2.51874C16.6985 2.42724 16.5151 2.39528 16.3421 2.38115C16.1756 2.36754 15.9743 2.36797 15.75 2.36797V3.46797ZM17.4826 3.12328C17.35 2.86299 17.1383 2.65137 16.878 2.51874L16.3787 3.49885C16.432 3.52601 16.4753 3.56936 16.5025 3.62267L17.4826 3.12328ZM3.46669 4.2513C3.46669 4.00887 3.46711 3.86013 3.47621 3.74876C3.48046 3.69683 3.4858 3.66523 3.49036 3.64586C3.49253 3.63664 3.49437 3.63087 3.49552 3.62765C3.49663 3.62455 3.49734 3.62312 3.49757 3.62267L2.51746 3.12328C2.42596 3.30287 2.394 3.48621 2.37987 3.65918C2.36626 3.82573 2.36669 4.02702 2.36669 4.2513H3.46669ZM4.25002 2.36797C4.02574 2.36797 3.82445 2.36754 3.6579 2.38115C3.48493 2.39528 3.30159 2.42724 3.122 2.51874L3.62139 3.49885C3.62183 3.49862 3.62327 3.49791 3.62637 3.49681C3.62959 3.49566 3.63535 3.49381 3.64458 3.49164C3.66395 3.48708 3.69555 3.48174 3.74748 3.4775C3.85884 3.4684 4.00759 3.46797 4.25002 3.46797V2.36797ZM3.49757 3.62267C3.52473 3.56936 3.56808 3.52601 3.62139 3.49885L3.122 2.51874C2.86171 2.65137 2.65009 2.86299 2.51746 3.12328L3.49757 3.62267ZM9.45002 2.91797V17.0846H10.55V2.91797H9.45002Z",fill:"#1C2026"},null,-1)];function k_(t,e){return o.openBlock(),o.createElementBlock("svg",HF,[...zF])}const YF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:k_},render:k_},Symbol.toStringTag,{value:"Module"})),WF={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},jF=[o.createElementVNode("path",{d:"M3.75 8.89388V8.39388H3.25V8.89388H3.75ZM16.25 8.89388H16.75V8.39388H16.25V8.89388ZM16.25 18.8939V19.3939H16.75V18.8939H16.25ZM3.75 18.8939H3.25V19.3939H3.75V18.8939ZM12.4167 8.89388C12.4167 9.17002 12.6405 9.39388 12.9167 9.39388C13.1928 9.39388 13.4167 9.17002 13.4167 8.89388H12.4167ZM6.58333 8.89388C6.58333 9.17002 6.80719 9.39388 7.08333 9.39388C7.35948 9.39388 7.58333 9.17002 7.58333 8.89388H6.58333ZM10.5 12.6439V12.1439H9.5V12.6439H10.5ZM9.5 15.1439V15.6439H10.5V15.1439H9.5ZM3.75 9.39388H16.25V8.39388H3.75V9.39388ZM15.75 8.89388V18.8939H16.75V8.89388H15.75ZM16.25 18.3939H3.75V19.3939H16.25V18.3939ZM4.25 18.8939V8.89388H3.25V18.8939H4.25ZM12.4167 5.97721V8.89388H13.4167V5.97721H12.4167ZM7.58333 8.89388V5.97721H6.58333V8.89388H7.58333ZM10 3.56055C11.3347 3.56055 12.4167 4.64253 12.4167 5.97721H13.4167C13.4167 4.09024 11.887 2.56055 10 2.56055V3.56055ZM10 2.56055C8.11303 2.56055 6.58333 4.09024 6.58333 5.97721H7.58333C7.58333 4.64253 8.66531 3.56055 10 3.56055V2.56055ZM9.5 12.6439V15.1439H10.5V12.6439H9.5Z",fill:"currentColor"},null,-1)];function C_(t,e){return o.openBlock(),o.createElementBlock("svg",WF,[...jF])}const ZF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:C_},render:C_},Symbol.toStringTag,{value:"Module"})),UF={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qF=[o.createStaticVNode('<g id="LOGO SCOPE" clip-path="url(#clip0_2737_18129)"><g id="Group"><g id="Group_2"><path id="Vector" d="M116.288 3.07053H116.696C117.017 3.07053 117.233 2.88014 117.233 2.60393C117.233 2.32772 117.04 2.1545 116.691 2.1545C116.365 2.1545 116.149 2.34644 116.13 2.63982H115.484C115.509 2.02029 115.994 1.61768 116.722 1.61768C117.45 1.61768 117.896 1.97504 117.896 2.5103C117.896 2.92071 117.615 3.21721 117.203 3.29212V3.30616C117.704 3.3483 118.026 3.64948 118.026 4.11296C118.026 4.71376 117.48 5.11325 116.705 5.11325C115.93 5.11325 115.451 4.69815 115.418 4.08175H116.09C116.11 4.3642 116.343 4.5499 116.713 4.5499C117.082 4.5499 117.311 4.35328 117.311 4.06926C117.311 3.7634 117.081 3.5777 116.702 3.5777H116.287V3.07209L116.288 3.07053Z" fill="#1C2026"></path><path id="Vector_2" d="M118.699 4.49667C118.513 4.21422 118.418 3.83501 118.418 3.39026C118.418 2.28228 118.958 1.61438 119.825 1.61438C120.466 1.61438 120.965 1.99203 121.059 2.53977H120.369C120.301 2.31662 120.085 2.16837 119.822 2.16837C119.354 2.16837 119.071 2.61624 119.086 3.37153H119.1C119.235 3.04382 119.565 2.82691 119.994 2.82691C120.632 2.82691 121.104 3.29507 121.104 3.9302C121.104 4.61839 120.567 5.11308 119.816 5.11308C119.334 5.11308 118.936 4.89461 118.701 4.49667H118.699ZM120.419 3.95205C120.419 3.60717 120.16 3.35437 119.81 3.35437C119.459 3.35437 119.196 3.60717 119.196 3.94581C119.196 4.28444 119.464 4.55597 119.808 4.55597C120.152 4.55597 120.42 4.28912 120.42 3.95361L120.419 3.95205Z" fill="#1C2026"></path><path id="Vector_3" d="M121.484 3.35575C121.484 2.27431 122.002 1.61108 122.843 1.61108C123.684 1.61108 124.199 2.27275 124.199 3.35263C124.199 4.43252 123.687 5.10822 122.843 5.10822C121.999 5.10822 121.484 4.43876 121.484 3.35419V3.35575ZM123.485 3.35575C123.485 2.5989 123.241 2.17287 122.843 2.17287C122.445 2.17287 122.198 2.60202 122.198 3.35575C122.198 4.10949 122.442 4.54799 122.843 4.54799C123.244 4.54799 123.485 4.11885 123.485 3.35575Z" fill="#1C2026"></path><path id="Vector_4" d="M124.523 2.39511C124.523 1.98001 124.844 1.65698 125.262 1.65698C125.68 1.65698 126.003 1.98001 126.003 2.39511C126.003 2.81021 125.679 3.1348 125.262 3.1348C124.846 3.1348 124.523 2.81177 124.523 2.39511ZM125.599 2.39511C125.599 2.20785 125.452 2.05648 125.264 2.05648C125.076 2.05648 124.929 2.20785 124.929 2.39511C124.929 2.58237 125.082 2.73531 125.264 2.73531C125.455 2.73531 125.599 2.57769 125.599 2.39511Z" fill="#1C2026"></path></g><path id="Vector_5" d="M4.27462 15.1864C4.27462 14.492 4.67074 13.8584 5.29545 13.5525C5.40505 13.4995 5.51308 13.4449 5.62111 13.3918C10.6297 10.9106 14.7522 8.48864 14.7945 7.73334C14.6692 7.63971 14.4469 7.56013 14.1322 7.50395C12.6542 7.24022 9.15016 7.52735 4.23705 9.6684C3.97871 9.78075 3.71881 9.89779 3.4542 10.0211L1.90887 6.70028C5.4207 5.07577 9.32239 3.90693 12.4616 3.78989C15.1593 3.68846 17.2933 4.36105 18.1419 6.18686C19.7013 9.53419 12.9877 13.7632 6.93002 16.814C5.71192 17.4273 4.27306 16.5488 4.27306 15.188L4.27462 15.1864Z" fill="url(#paint0_linear_2737_18129)"></path><path id="Vector_6" d="M18.3385 7.73053C18.2993 7.87722 18.2508 8.02391 18.2023 8.1706C18.1662 8.27983 18.1287 8.38907 18.0817 8.49363C17.9893 8.7043 17.8797 8.90717 17.7545 9.10067C17.6292 9.29418 17.4977 9.483 17.3474 9.64998C17.1955 9.81695 17.0264 9.95428 16.8511 10.0978C16.6726 10.243 16.4847 10.3756 16.289 10.4958C16.087 10.6206 15.8772 10.7314 15.6627 10.8329C15.5938 10.8656 15.5234 10.8968 15.4529 10.9265C12.1086 12.359 8.51693 13.3437 5.62668 13.3952H5.41531C2.95406 13.3952 1.0314 12.6992 0.232896 10.9858C-1.34218 7.59632 5.36834 3.28459 11.4291 0.222838C12.5063 -0.321786 13.7338 0.165099 14.0673 1.32145C14.2176 1.84422 14.1221 2.37324 13.8637 2.78834C13.6853 3.07392 13.43 3.30956 13.1169 3.46249C12.8977 3.57017 12.6832 3.68096 12.464 3.78864C8.12864 5.97026 4.56984 8.1113 3.75725 9.10379C3.62104 9.27077 3.69619 9.52357 3.90129 9.58755C3.99837 9.61876 4.11266 9.64529 4.24105 9.6687C4.52757 9.7202 4.89394 9.74985 5.3292 9.74985C7.13756 9.74985 10.1781 9.22863 14.1346 7.50425L14.1565 7.49333C14.3976 7.356 16.5661 6.05608 15.9508 4.24743C15.9555 4.24899 15.9618 4.25056 15.9665 4.25212C15.979 4.2568 15.9915 4.26148 16.004 4.26616C16.0588 4.28801 16.1121 4.31298 16.1669 4.33482C16.2498 4.36916 16.3313 4.40817 16.4127 4.44718C16.516 4.49556 16.6162 4.54862 16.7164 4.60479C16.8307 4.66878 16.9434 4.73744 17.053 4.80922C17.172 4.88881 17.2879 4.97308 17.3991 5.06359C17.5149 5.15878 17.6276 5.26022 17.731 5.36945C17.8375 5.48181 17.9361 5.60041 18.0253 5.72837C18.1146 5.8579 18.1944 5.99522 18.2571 6.14035C18.3197 6.28548 18.3729 6.44778 18.4042 6.60851C18.4371 6.78173 18.4496 6.95807 18.4418 7.13285C18.4324 7.33728 18.3933 7.53546 18.34 7.73209L18.3385 7.73053Z" fill="url(#paint1_linear_2737_18129)"></path></g><g id="Group_3"><path id="Vector_7" d="M67.835 1.64722C62.6636 1.64722 59.0891 4.58569 59.0891 8.88494C59.0891 13.1842 62.6636 16.171 67.835 16.171C73.0065 16.171 76.498 13.1826 76.498 8.87869C76.498 4.57476 72.9783 1.64722 67.835 1.64722ZM67.835 13.5181C64.4234 13.5181 62.0326 11.6268 62.0326 8.85841C62.0326 6.09003 64.4187 4.30791 67.835 4.30791C71.2513 4.30791 73.556 6.14465 73.556 8.85841C73.556 11.5722 71.1621 13.5135 67.835 13.5135V13.5197V13.5181Z" fill="#1C2026"></path><path id="Vector_8" d="M36.7585 7.59421H32.1116C29.3607 7.59421 28.6186 4.30462 34.3396 4.30462C36.7601 4.30462 38.6577 5.34705 39.4828 5.89323L40.9687 3.64608C39.5643 2.4117 37.0905 1.64392 34.3129 1.64392C25.1271 1.64392 25.0159 10.1972 32.1398 10.1972H36.8149C39.8398 10.1972 40.3346 13.5148 34.3396 13.5148C31.3413 13.5148 28.9755 11.9247 28.1504 11.3207L26.6646 13.5695C28.069 14.8023 31.0375 16.1724 34.3646 16.1724C43.9904 16.1662 44.1016 7.59265 36.7585 7.59265V7.59421Z" fill="#1C2026"></path><path id="Vector_9" d="M51.8526 13.5119C48.3329 13.5119 46.0502 11.6205 46.0502 8.90678C46.0502 6.19303 48.3048 4.30635 51.8244 4.30635C53.8332 4.30635 55.7026 5.34878 56.8299 6.38965L58.5146 4.05979C56.9192 2.80045 54.4704 1.64722 51.8307 1.64722C46.5496 1.64722 43.1129 4.60909 43.1129 8.91302C43.1129 13.217 46.6013 16.171 51.8855 16.171C54.58 16.171 57.0288 14.9647 58.6226 13.7038L56.891 11.427C55.759 12.4741 53.888 13.5119 51.8526 13.5119Z" fill="#1C2026"></path><path id="Vector_10" d="M105.017 1.64548C100.067 1.64548 96.6284 4.60736 96.6284 8.91129C96.6284 13.2152 100.561 16.1693 105.925 16.1693C108.758 16.1693 111.119 15.2377 112.608 13.9768L110.873 11.7062C109.855 12.8032 108.207 13.5975 105.896 13.5975C102.677 13.5975 100.383 12.2555 99.719 10.1987H113.353V8.88164C113.348 4.57771 109.966 1.64392 105.016 1.64392L105.017 1.64548ZM104.989 4.22191C107.823 4.22191 109.761 5.55304 110.272 7.67535H99.6642C100.19 5.57176 102.11 4.22191 104.989 4.22191Z" fill="#1C2026"></path><path id="Vector_11" d="M87.369 1.64548C84.9077 1.64548 82.9553 2.50689 81.6135 3.8349C81.2659 2.73941 80.3062 2.05746 79.0051 2.05746H77.2202V4.66198H78.8689V20.9991H81.7576V14.0954C83.0915 15.3547 84.986 16.174 87.3721 16.174C91.9643 16.174 95.1269 13.1856 95.1269 8.88164C95.1269 4.57771 91.9596 1.64392 87.3674 1.64392L87.369 1.64548ZM87.0104 13.5102C83.8744 13.5102 81.7576 11.6188 81.7576 8.85043C81.7576 6.08206 83.8744 4.29994 87.0104 4.29994C90.1465 4.29994 92.1819 6.13668 92.1819 8.85043C92.1788 11.625 90.0087 13.5102 87.0104 13.5102Z" fill="#1C2026"></path></g></g><defs><linearGradient id="paint0_linear_2737_18129" x1="17.2181" y1="8.42625" x2="2.76763" y2="6.60461" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="1" stop-color="#007AFF"></stop></linearGradient><linearGradient id="paint1_linear_2737_18129" x1="11.116" y1="1.09206" x2="18.2166" y2="8.13786" gradientUnits="userSpaceOnUse"><stop stop-color="#002EFD"></stop><stop offset="0.511338" stop-color="#007AFF"></stop><stop offset="1" stop-color="#00BAF2"></stop></linearGradient><clipPath id="clip0_2737_18129"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function x_(t,e){return o.openBlock(),o.createElementBlock("svg",UF,[...qF])}const GF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:x_},render:x_},Symbol.toStringTag,{value:"Module"})),KF={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},XF=[o.createElementVNode("path",{d:"M12.2942 3.70313L3.64616 12.3512M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C6.25106 14.3307 4.66772 13.6218 3.52162 12.4757C2.37551 11.3296 1.66663 9.7463 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C9.74886 1.66406 11.3322 2.37295 12.4783 3.51905C13.6244 4.66516 14.3333 6.24849 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function M_(t,e){return o.openBlock(),o.createElementBlock("svg",KF,[...XF])}const JF=Object.freeze(Object.defineProperty({__proto__:null,default:{render:M_},render:M_},Symbol.toStringTag,{value:"Module"})),QF={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eR=[o.createElementVNode("g",{id:"cross-large, crossed large, close"},[o.createElementVNode("path",{id:"vector",d:"M4.16602 4.16669L15.8327 15.8334M15.8327 4.16669L4.16602 15.8334",stroke:"#8E8E93","stroke-width":"2","stroke-linecap":"round"})],-1)];function S_(t,e){return o.openBlock(),o.createElementBlock("svg",QF,[...eR])}const tR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:S_},render:S_},Symbol.toStringTag,{value:"Module"})),nR={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rR=[o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 10.2357L11.0974 9.76425L7.99981 12.8619L4.90218 9.76425L4.43078 10.2357L7.99981 13.8047L11.5688 10.2357Z",fill:"#8E8E93"},null,-1),o.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.5688 5.76435L11.0974 6.23575L7.99981 3.13812L4.90218 6.23575L4.43078 5.76435L7.99981 2.19531L11.5688 5.76435Z",fill:"#8E8E93"},null,-1)];function v_(t,e){return o.openBlock(),o.createElementBlock("svg",nR,[...rR])}const sR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:v_},render:v_},Symbol.toStringTag,{value:"Module"})),iR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oR=[o.createElementVNode("g",{id:"bell, notification, activity, alert"},[o.createElementVNode("path",{id:"vector",d:"M13.3332 15.4163C12.7721 16.8879 11.4908 17.9163 9.99984 17.9163C8.5089 17.9163 7.22756 16.8879 6.6665 15.4163M17.0832 15.4163L16.0884 7.45785C15.7045 4.38726 13.0943 2.08301 9.99984 2.08301C6.90536 2.08301 4.29514 4.38726 3.91132 7.45785L2.9165 15.4163H17.0832Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function T_(t,e){return o.openBlock(),o.createElementBlock("svg",iR,[...oR])}const aR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:T_},render:T_},Symbol.toStringTag,{value:"Module"})),lR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},cR=[o.createElementVNode("path",{d:"M7.66671 13.6641H3.00004C2.63185 13.6641 2.33337 13.3656 2.33337 12.9974V5.66406M2.33337 5.66406V3.66406C2.33337 3.29587 2.63185 2.9974 3.00004 2.9974H13C13.3682 2.9974 13.6667 3.29587 13.6667 3.66406V5.66406M2.33337 5.66406H13.6667M13.6667 5.66406V8.33073M5.00004 2.9974V1.66406M11 2.9974V1.66406M14.3334 10.3307L11.2223 14.3307L9.66671 12.7307",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function D_(t,e){return o.openBlock(),o.createElementBlock("svg",lR,[...cR])}const dR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:D_},render:D_},Symbol.toStringTag,{value:"Module"})),uR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},hR=[o.createElementVNode("path",{d:"M7.99996 4.83073V4.12703M7.99996 11.1641V11.8678M9.66663 5.9974C9.36244 5.57672 8.65113 5.18258 7.99996 5.18258C7.23841 5.18258 6.2407 5.50839 6.2407 6.43361C6.2407 8.43726 9.75922 7.59402 9.75922 9.50747C9.75922 10.4257 8.77347 10.8122 7.99996 10.8122C7.34878 10.8122 6.54488 10.4181 6.2407 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function O_(t,e){return o.openBlock(),o.createElementBlock("svg",uR,[...hR])}const fR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:O_},render:O_},Symbol.toStringTag,{value:"Module"})),mR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},pR=[o.createElementVNode("g",{id:"pie_chart_light"},[o.createElementVNode("circle",{id:"Ellipse",cx:"10",cy:"10",r:"7.5",stroke:"currentColor","stroke-width":"1.66667"}),o.createElementVNode("path",{id:"Vector",d:"M10 10H17.5",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"}),o.createElementVNode("path",{id:"Vector_2",d:"M10 2.5V9.94822C10 9.98137 10.0132 10.0132 10.0366 10.0366L15 15",stroke:"currentColor","stroke-width":"1.66667","stroke-linecap":"round"})],-1)];function E_(t,e){return o.openBlock(),o.createElementBlock("svg",mR,[...pR])}const gR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:E_},render:E_},Symbol.toStringTag,{value:"Module"})),_R={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yR=[o.createElementVNode("g",{id:"pie-chart-1, graph, chart, statistics"},[o.createElementVNode("path",{id:"vector",d:"M10.0013 2.29297C5.74411 2.29297 2.29297 5.74411 2.29297 10.0013C2.29297 14.2585 5.74411 17.7096 10.0013 17.7096C13.3576 17.7096 16.2128 15.5646 17.271 12.5707M10.0013 2.29297C14.2585 2.29297 17.7096 5.74411 17.7096 10.0013C17.7096 10.9022 17.5551 11.7671 17.271 12.5707M10.0013 2.29297V10.0013L17.271 12.5707",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})],-1)];function $_(t,e){return o.openBlock(),o.createElementBlock("svg",_R,[...yR])}const wR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:$_},render:$_},Symbol.toStringTag,{value:"Module"})),bR={width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kR=[o.createElementVNode("g",{id:"plus-small, add small"},[o.createElementVNode("path",{id:"vector",d:"M10.5 5.41666V9.99999M10.5 9.99999V14.5833M10.5 9.99999H5.91669M10.5 9.99999H15.0834",stroke:"currentColor","stroke-linecap":"square"})],-1)];function P_(t,e){return o.openBlock(),o.createElementBlock("svg",bR,[...kR])}const CR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:P_},render:P_},Symbol.toStringTag,{value:"Module"})),xR={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MR=[o.createStaticVNode('<g id="darhboard"><rect id="Rectangle" x="4" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_2" x="4" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_3" x="14" y="14" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect><rect id="Rectangle_4" x="14" y="4" width="6" height="6" rx="1" fill="currentColor" stroke="currentColor" stroke-linejoin="round"></rect></g>',1)];function L_(t,e){return o.openBlock(),o.createElementBlock("svg",xR,[...MR])}const SR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:L_},render:L_},Symbol.toStringTag,{value:"Module"})),vR={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TR=[o.createElementVNode("g",{id:"folder-1"},[o.createElementVNode("path",{id:"vector",d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function V_(t,e){return o.openBlock(),o.createElementBlock("svg",vR,[...TR])}const DR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:V_},render:V_},Symbol.toStringTag,{value:"Module"})),OR={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ER=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",fill:"#007AFF",stroke:"#007AFF","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M16 21.75C19.1756 21.75 21.75 19.1756 21.75 16C21.75 12.8244 19.1756 10.25 16 10.25C12.8244 10.25 10.25 12.8244 10.25 16C10.25 19.1756 12.8244 21.75 16 21.75Z",fill:"#007AFF",stroke:"#F6F6F6","stroke-width":"1.5"},null,-1)];function N_(t,e){return o.openBlock(),o.createElementBlock("svg",OR,[...ER])}const $R=Object.freeze(Object.defineProperty({__proto__:null,default:{render:N_},render:N_},Symbol.toStringTag,{value:"Module"})),PR={width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},LR=[o.createElementVNode("path",{d:"M3.74935 2.5C2.59876 2.5 1.66602 3.43274 1.66602 4.58333V14.5833C1.66602 15.7339 2.59876 16.6667 3.74935 16.6667H16.2493C17.3999 16.6667 18.3327 15.7339 18.3327 14.5833V7.08333C18.3327 5.93274 17.3999 5 16.2493 5H10.8913C10.4734 5 10.0831 4.79112 9.85126 4.44338L9.17415 3.42771C8.78776 2.84813 8.13728 2.5 7.44071 2.5H3.74935Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M20.5 16C20.5 18.4853 18.4853 20.5 16 20.5C13.5147 20.5 11.5 18.4853 11.5 16C11.5 13.5147 13.5147 11.5 16 11.5C18.4853 11.5 20.5 13.5147 20.5 16Z",fill:"white",stroke:"#8E8E93"},null,-1)];function B_(t,e){return o.openBlock(),o.createElementBlock("svg",PR,[...LR])}const VR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:B_},render:B_},Symbol.toStringTag,{value:"Module"})),NR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},BR=[o.createElementVNode("path",{d:"M2.33337 8.0026H4.66671L6.33337 10.3359L9.66671 5.33594L11.3334 8.0026H13.6667M2.33337 2.33594H13.6667V13.6693H2.33337V2.33594Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function A_(t,e){return o.openBlock(),o.createElementBlock("svg",NR,[...BR])}const AR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:A_},render:A_},Symbol.toStringTag,{value:"Module"})),FR={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},RR=[o.createElementVNode("path",{d:"M2.33337 2.33594H8.00004M13.6667 2.33594H8.00004M8.00004 2.33594V13.6693",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function F_(t,e){return o.openBlock(),o.createElementBlock("svg",FR,[...RR])}const IR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:F_},render:F_},Symbol.toStringTag,{value:"Module"})),HR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},zR=[o.createElementVNode("path",{d:"M7.91669 2.91406H5.58335C4.64993 2.91406 4.18322 2.91406 3.8267 3.09572C3.5131 3.25551 3.25813 3.51047 3.09834 3.82408C2.91669 4.1806 2.91669 4.64731 2.91669 5.58073V14.4141C2.91669 15.3475 2.91669 15.8142 3.09834 16.1707C3.25813 16.4843 3.5131 16.7393 3.8267 16.8991C4.18322 17.0807 4.64993 17.0807 5.58335 17.0807H14.4167C15.3501 17.0807 15.8168 17.0807 16.1733 16.8991C16.4869 16.7393 16.7419 16.4843 16.9017 16.1707C17.0834 15.8142 17.0834 15.3475 17.0834 14.4141V12.0807M12.0834 2.91406H17.0834M17.0834 2.91406V7.91406M17.0834 2.91406L9.58335 10.4141",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function R_(t,e){return o.openBlock(),o.createElementBlock("svg",HR,[...zR])}const YR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:R_},render:R_},Symbol.toStringTag,{value:"Module"})),WR={xmlns:"http://www.w3.org/2000/svg",style:{width:"100%",height:"100%"},viewBox:"0 0 16 16",fill:"none"},jR=[o.createElementVNode("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM12.0303 4.96967C11.7374 4.67678 11.2626 4.67678 10.9697 4.96967C10.9626 4.97674 10.9559 4.98424 10.9498 4.9921L7.4774 9.41674L5.38388 7.32322C5.09098 7.03033 4.61611 7.03033 4.32322 7.32322C4.03032 7.61612 4.03032 8.09099 4.32322 8.38388L6.96966 11.0303C7.26256 11.3232 7.73743 11.3232 8.03032 11.0303C8.03685 11.0238 8.043 11.0169 8.04876 11.0097L12.041 6.01947C12.3232 5.72582 12.3196 5.25897 12.0303 4.96967Z",fill:"#34C759"},null,-1)];function I_(t,e){return o.openBlock(),o.createElementBlock("svg",WR,[...jR])}const ZR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:I_},render:I_},Symbol.toStringTag,{value:"Module"})),UR={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},qR=[o.createElementVNode("circle",{cx:"10",cy:"10",r:"7.5",stroke:"#D1D4D6"},null,-1)];function H_(t,e){return o.openBlock(),o.createElementBlock("svg",UR,[...qR])}const GR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:H_},render:H_},Symbol.toStringTag,{value:"Module"})),KR={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},XR=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M20.2949 27.8037C19.6341 28.7243 18.7158 29.1846 17.54 29.1846C16.3643 29.1846 15.4414 28.7266 14.7715 27.8105C14.1061 26.89 13.7734 25.639 13.7734 24.0576C13.7734 22.4899 14.1084 21.248 14.7783 20.332C15.4482 19.4115 16.3688 18.9512 17.54 18.9512C18.7113 18.9512 19.6296 19.4092 20.2949 20.3252C20.9603 21.2367 21.293 22.4785 21.293 24.0508C21.293 25.6322 20.9603 26.8831 20.2949 27.8037ZM15.9062 26.8809C16.2936 27.5599 16.8382 27.8994 17.54 27.8994C18.2419 27.8994 18.7842 27.5599 19.167 26.8809C19.5544 26.1973 19.748 25.2562 19.748 24.0576C19.748 22.8727 19.5521 21.9408 19.1602 21.2617C18.7728 20.5781 18.2327 20.2363 17.54 20.2363C16.8473 20.2363 16.305 20.5781 15.9131 21.2617C15.5212 21.9453 15.3252 22.8773 15.3252 24.0576C15.3252 25.2562 15.5189 26.1973 15.9062 26.8809ZM23.2139 31.1055H21.9014L25.4014 19.1357H26.7139L23.2139 31.1055ZM27.3975 22.0273C27.3975 21.1387 27.7165 20.4049 28.3545 19.8262C28.9971 19.2428 29.8083 18.9512 30.7881 18.9512C31.7269 18.9512 32.5085 19.2155 33.1328 19.7441C33.7572 20.2728 34.0693 20.929 34.0693 21.7129C34.0693 22.2643 33.9167 22.7884 33.6113 23.2852C33.306 23.7773 32.7728 24.4131 32.0117 25.1924L29.5439 27.6738V27.708H34.2266V29H27.4795V27.9609L31.041 24.3311C31.6426 23.7021 32.0459 23.2191 32.251 22.8818C32.4561 22.54 32.5586 22.1755 32.5586 21.7881C32.5586 21.3506 32.3831 20.9792 32.0322 20.6738C31.6813 20.3685 31.2507 20.2158 30.7402 20.2158C30.2025 20.2158 29.7513 20.389 29.3867 20.7354C29.0267 21.0771 28.8467 21.5055 28.8467 22.0205V22.041H27.3975V22.0273Z",fill:"#1C2026"},null,-1)];function z_(t,e){return o.openBlock(),o.createElementBlock("svg",KR,[...XR])}const JR=Object.freeze(Object.defineProperty({__proto__:null,default:{render:z_},render:z_},Symbol.toStringTag,{value:"Module"})),QR={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eI=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M24 0C30.3652 0 36.4697 2.52856 40.9706 7.02944C45.4714 11.5303 48 17.6348 48 24C48 30.3652 45.4714 36.4697 40.9706 40.9706C36.4697 45.4714 30.3652 48 24 48V44.4C29.4104 44.4 34.5992 42.2507 38.425 38.425C42.2507 34.5992 44.4 29.4104 44.4 24C44.4 18.5896 42.2507 13.4008 38.425 9.57502C34.5992 5.74928 29.4104 3.6 24 3.6V0Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M17.6016 29V20.6533H17.5674L14.9902 22.4854V20.9814L17.5879 19.1357H19.0986V29H17.6016ZM22.0518 31.1055H20.7393L24.2393 19.1357H25.5518L22.0518 31.1055ZM26.2354 22.0273C26.2354 21.1387 26.5544 20.4049 27.1924 19.8262C27.835 19.2428 28.6462 18.9512 29.626 18.9512C30.5648 18.9512 31.3464 19.2155 31.9707 19.7441C32.5951 20.2728 32.9072 20.929 32.9072 21.7129C32.9072 22.2643 32.7546 22.7884 32.4492 23.2852C32.1439 23.7773 31.6107 24.4131 30.8496 25.1924L28.3818 27.6738V27.708H33.0645V29H26.3174V27.9609L29.8789 24.3311C30.4805 23.7021 30.8838 23.2191 31.0889 22.8818C31.2939 22.54 31.3965 22.1755 31.3965 21.7881C31.3965 21.3506 31.221 20.9792 30.8701 20.6738C30.5192 20.3685 30.0885 20.2158 29.5781 20.2158C29.0404 20.2158 28.5892 20.389 28.2246 20.7354C27.8646 21.0771 27.6846 21.5055 27.6846 22.0205V22.041H26.2354V22.0273Z",fill:"#1C2026"},null,-1)];function Y_(t,e){return o.openBlock(),o.createElementBlock("svg",QR,[...eI])}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Y_},render:Y_},Symbol.toStringTag,{value:"Module"})),nI={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rI=[o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#F2F2F2"},null,-1),o.createElementVNode("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM3.6 24C3.6 35.2666 12.7334 44.4 24 44.4C35.2666 44.4 44.4 35.2666 44.4 24C44.4 12.7334 35.2666 3.6 24 3.6C12.7334 3.6 3.6 12.7334 3.6 24Z",fill:"#34C759"},null,-1),o.createElementVNode("path",{d:"M14.1699 22.0273C14.1699 21.1387 14.4889 20.4049 15.127 19.8262C15.7695 19.2428 16.5807 18.9512 17.5605 18.9512C18.4993 18.9512 19.2809 19.2155 19.9053 19.7441C20.5296 20.2728 20.8418 20.929 20.8418 21.7129C20.8418 22.2643 20.6891 22.7884 20.3838 23.2852C20.0785 23.7773 19.5452 24.4131 18.7842 25.1924L16.3164 27.6738V27.708H20.999V29H14.252V27.9609L17.8135 24.3311C18.415 23.7021 18.8184 23.2191 19.0234 22.8818C19.2285 22.54 19.3311 22.1755 19.3311 21.7881C19.3311 21.3506 19.1556 20.9792 18.8047 20.6738C18.4538 20.3685 18.0231 20.2158 17.5127 20.2158C16.9749 20.2158 16.5238 20.389 16.1592 20.7354C15.7992 21.0771 15.6191 21.5055 15.6191 22.0205V22.041H14.1699V22.0273ZM22.9062 31.1055H21.5938L25.0938 19.1357H26.4062L22.9062 31.1055ZM27.0898 22.0273C27.0898 21.1387 27.4089 20.4049 28.0469 19.8262C28.6895 19.2428 29.5007 18.9512 30.4805 18.9512C31.4193 18.9512 32.2008 19.2155 32.8252 19.7441C33.4495 20.2728 33.7617 20.929 33.7617 21.7129C33.7617 22.2643 33.609 22.7884 33.3037 23.2852C32.9984 23.7773 32.4652 24.4131 31.7041 25.1924L29.2363 27.6738V27.708H33.9189V29H27.1719V27.9609L30.7334 24.3311C31.335 23.7021 31.7383 23.2191 31.9434 22.8818C32.1484 22.54 32.251 22.1755 32.251 21.7881C32.251 21.3506 32.0755 20.9792 31.7246 20.6738C31.3737 20.3685 30.943 20.2158 30.4326 20.2158C29.8949 20.2158 29.4437 20.389 29.0791 20.7354C28.7191 21.0771 28.5391 21.5055 28.5391 22.0205V22.041H27.0898V22.0273Z",fill:"#1C2026"},null,-1)];function W_(t,e){return o.openBlock(),o.createElementBlock("svg",nI,[...rI])}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:W_},render:W_},Symbol.toStringTag,{value:"Module"})),iI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oI=[o.createElementVNode("g",{id:"qr-code, barcode, scan"},[o.createElementVNode("path",{id:"vector",d:"M11.2498 11.2493V13.7493H13.7498M14.5832 11.2493H17.0832M17.0832 14.5827H14.5832V17.0827M11.2498 17.0827V16.2493M8.74984 2.91602H2.9165V8.74935H8.74984V2.91602ZM2.9165 11.2493H8.74984V17.0827H2.9165V11.2493ZM11.2498 2.91602H17.0832V8.74935H11.2498V2.91602Z",stroke:"#007AFF","stroke-linecap":"square"})],-1)];function j_(t,e){return o.openBlock(),o.createElementBlock("svg",iI,[...oI])}const aI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:j_},render:j_},Symbol.toStringTag,{value:"Module"})),lI={width:"126",height:"21",viewBox:"0 0 126 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cI=[o.createStaticVNode('<g clip-path="url(#clip0_5981_16052)"><path d="M116.288 3.07004H116.696C117.017 3.07004 117.233 2.87965 117.233 2.60344C117.233 2.32723 117.04 2.15401 116.691 2.15401C116.365 2.15401 116.149 2.34595 116.13 2.63933H115.484C115.509 2.0198 115.994 1.61719 116.722 1.61719C117.45 1.61719 117.896 1.97455 117.896 2.50981C117.896 2.92023 117.615 3.21673 117.203 3.29163V3.30568C117.704 3.34781 118.026 3.64899 118.026 4.11247C118.026 4.71327 117.48 5.11277 116.705 5.11277C115.93 5.11277 115.451 4.69767 115.418 4.08126H116.09C116.11 4.36371 116.343 4.54942 116.713 4.54942C117.082 4.54942 117.311 4.35279 117.311 4.06877C117.311 3.76291 117.081 3.57721 116.702 3.57721H116.287V3.0716L116.288 3.07004Z" fill="#1C2026"></path><path d="M118.7 4.49557C118.513 4.21312 118.418 3.83391 118.418 3.38916C118.418 2.28119 118.958 1.61328 119.826 1.61328C120.466 1.61328 120.965 1.99093 121.059 2.53867H120.369C120.301 2.31552 120.085 2.16727 119.822 2.16727C119.354 2.16727 119.071 2.61514 119.087 3.37043H119.101C119.235 3.04272 119.566 2.82581 119.995 2.82581C120.632 2.82581 121.105 3.29397 121.105 3.9291C121.105 4.61729 120.568 5.11198 119.816 5.11198C119.334 5.11198 118.936 4.89351 118.701 4.49557H118.7ZM120.419 3.95095C120.419 3.60607 120.161 3.35327 119.81 3.35327C119.459 3.35327 119.196 3.60607 119.196 3.94471C119.196 4.28334 119.464 4.55487 119.808 4.55487C120.153 4.55487 120.42 4.28802 120.42 3.95251L120.419 3.95095Z" fill="#1C2026"></path><path d="M121.484 3.35404C121.484 2.2726 122.003 1.60938 122.843 1.60938C123.684 1.60938 124.199 2.27104 124.199 3.35092C124.199 4.43081 123.687 5.10651 122.843 5.10651C121.999 5.10651 121.484 4.43705 121.484 3.35248V3.35404ZM123.485 3.35404C123.485 2.59719 123.241 2.17116 122.843 2.17116C122.446 2.17116 122.198 2.60031 122.198 3.35404C122.198 4.10778 122.443 4.54628 122.843 4.54628C123.244 4.54628 123.485 4.11714 123.485 3.35404Z" fill="#1C2026"></path><path d="M124.523 2.39438C124.523 1.97928 124.844 1.65625 125.262 1.65625C125.68 1.65625 126.003 1.97928 126.003 2.39438C126.003 2.80948 125.679 3.13407 125.262 3.13407C124.846 3.13407 124.523 2.81104 124.523 2.39438ZM125.599 2.39438C125.599 2.20712 125.452 2.05574 125.264 2.05574C125.076 2.05574 124.929 2.20712 124.929 2.39438C124.929 2.58164 125.082 2.73457 125.264 2.73457C125.455 2.73457 125.599 2.57696 125.599 2.39438Z" fill="#1C2026"></path><path d="M17.6799 3.84522L14.8073 9.03408L11.8828 14.3155L11.2489 15.4554C10.7967 16.2733 9.93306 16.7804 8.99529 16.7804C8.05751 16.7804 7.19386 16.2733 6.74165 15.448L6.11523 14.3081L9.0027 9.01557L11.8716 3.75269L13.1764 1.36182C13.8658 0.121969 15.43 -0.329558 16.6717 0.358836C17.9134 1.04723 18.3657 2.60907 17.6762 3.84892H17.6836L17.6799 3.84522Z" fill="url(#paint0_linear_5981_16052)"></path><path d="M6.14077 3.74064L3.20512 9.02202L0.317654 3.81096C-0.364366 2.56371 0.0878416 1.00187 1.32956 0.317175C2.5787 -0.363817 4.1429 0.0877102 4.82492 1.32756L6.13336 3.74434H6.14077V3.74064Z" fill="url(#paint1_linear_5981_16052)"></path><path d="M11.8701 3.75092L9.00113 9.0138L6.11366 14.3063L4.82375 16.6787C4.13431 17.9185 2.57012 18.3626 1.32469 17.6779C0.0829679 16.9895 -0.361833 15.4277 0.323895 14.1879L3.19654 9.0249L6.13219 3.74352L6.74749 2.64061C7.1997 1.82268 8.06335 1.31934 8.99371 1.31934C9.92408 1.31934 10.7877 1.82638 11.2399 2.64061L11.8589 3.75462L11.8664 3.74722L11.8701 3.75092Z" fill="url(#paint2_linear_5981_16052)"></path><path d="M16.6755 17.6755C16.2789 17.8939 15.8489 17.9975 15.4264 17.9975C14.5256 17.9975 13.6435 17.5201 13.1727 16.6762L11.8828 14.3038L14.8073 9.02246L17.6763 14.178C18.3657 15.4179 17.9172 16.9797 16.6755 17.6681V17.6755Z" fill="url(#paint3_linear_5981_16052)"></path><path d="M67.8338 1.64844C62.6623 1.64844 59.0879 4.58691 59.0879 8.88616C59.0879 13.1854 62.6623 16.1723 67.8338 16.1723C73.0053 16.1723 76.4967 13.1838 76.4967 8.87991C76.4967 4.57598 72.9771 1.64844 67.8338 1.64844ZM67.8338 13.5194C64.4222 13.5194 62.0314 11.628 62.0314 8.85963C62.0314 6.09125 64.4175 4.30913 67.8338 4.30913C71.2501 4.30913 73.5548 6.14587 73.5548 8.85963C73.5548 11.5734 71.1609 13.5147 67.8338 13.5147V13.5209V13.5194Z" fill="#1C2026"></path><path d="M36.758 7.59482H32.1111C29.3602 7.59482 28.618 4.30523 34.339 4.30523C36.7596 4.30523 38.6572 5.34766 39.4823 5.89384L40.9682 3.64669C39.5637 2.41231 37.09 1.64453 34.3124 1.64453C25.1266 1.64453 25.0154 10.1978 32.1393 10.1978H36.8144C39.8393 10.1978 40.3341 13.5155 34.339 13.5155C31.3408 13.5155 28.975 11.9253 28.1499 11.3214L26.6641 13.5701C28.0685 14.8029 31.037 16.173 34.3641 16.173C43.9899 16.1668 44.1011 7.59326 36.758 7.59326V7.59482Z" fill="#1C2026"></path><path d="M51.8529 13.5131C48.3333 13.5131 46.0505 11.6218 46.0505 8.908C46.0505 6.19425 48.3051 4.30757 51.8248 4.30757C53.8335 4.30757 55.703 5.35 56.8302 6.39088L58.5149 4.06101C56.9195 2.80167 54.4708 1.64844 51.831 1.64844C46.55 1.64844 43.1133 4.61032 43.1133 8.91425C43.1133 13.2182 46.6016 16.1723 51.8858 16.1723C54.5804 16.1723 57.0291 14.966 58.623 13.7051L56.8913 11.4283C55.7593 12.4754 53.8883 13.5131 51.8529 13.5131Z" fill="#1C2026"></path><path d="M105.016 1.64609C100.065 1.64609 96.627 4.60797 96.627 8.9119C96.627 13.2158 100.56 16.1699 105.924 16.1699C108.756 16.1699 111.117 15.2383 112.606 13.9774L110.872 11.7068C109.854 12.8039 108.205 13.5982 105.894 13.5982C102.675 13.5982 100.381 12.2561 99.7176 10.1993H113.352V8.88225C113.347 4.57832 109.965 1.64453 105.014 1.64453L105.016 1.64609ZM104.988 4.22252C107.822 4.22252 109.76 5.55365 110.27 7.67596H99.6628C100.189 5.57237 102.108 4.22252 104.988 4.22252Z" fill="#1C2026"></path><path d="M87.3675 1.64609C84.9063 1.64609 82.9539 2.5075 81.6121 3.83551C81.2645 2.74002 80.3047 2.05807 79.0036 2.05807H77.2188V4.66259H78.8674V20.9997H81.7561V14.096C83.0901 15.3553 84.9845 16.1746 87.3706 16.1746C91.9628 16.1746 95.1255 13.1862 95.1255 8.88225C95.1255 4.57832 91.9581 1.64453 87.3659 1.64453L87.3675 1.64609ZM87.009 13.5108C83.8729 13.5108 81.7561 11.6194 81.7561 8.85104C81.7561 6.08267 83.8729 4.30055 87.009 4.30055C90.145 4.30055 92.1804 6.13729 92.1804 8.85104C92.1773 11.6257 90.0073 13.5108 87.009 13.5108Z" fill="#1C2026"></path></g><defs><linearGradient id="paint0_linear_5981_16052" x1="7.58306" y1="17.4539" x2="15.7182" y2="1.6109" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint1_linear_5981_16052" x1="9.59906" y1="15.0251" x2="1.83292" y2="1.2805" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint2_linear_5981_16052" x1="10.5542" y1="1.63392" x2="0.731369" y2="18.2202" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><linearGradient id="paint3_linear_5981_16052" x1="12.2238" y1="9.64424" x2="17.2384" y2="18.7404" gradientUnits="userSpaceOnUse"><stop stop-color="#0039FF"></stop><stop offset="1" stop-color="#01BAF9"></stop></linearGradient><clipPath id="clip0_5981_16052"><rect width="126" height="21" fill="white"></rect></clipPath></defs>',2)];function Z_(t,e){return o.openBlock(),o.createElementBlock("svg",lI,[...cI])}const dI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Z_},render:Z_},Symbol.toStringTag,{value:"Module"})),uI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},hI=[o.createElementVNode("path",{d:"M16.8753 16.8751L13.5836 13.5834M15.417 9.16675C15.417 12.6185 12.6188 15.4167 9.16699 15.4167C5.71521 15.4167 2.91699 12.6185 2.91699 9.16675C2.91699 5.71497 5.71521 2.91675 9.16699 2.91675C12.6188 2.91675 15.417 5.71497 15.417 9.16675Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function U_(t,e){return o.openBlock(),o.createElementBlock("svg",uI,[...hI])}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:U_},render:U_},Symbol.toStringTag,{value:"Module"})),mI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},pI=[o.createElementVNode("path",{d:"M7.99996 4.9974V7.9974L9.99996 9.9974M14.3333 7.9974C14.3333 11.4952 11.4978 14.3307 7.99996 14.3307C4.50216 14.3307 1.66663 11.4952 1.66663 7.9974C1.66663 4.49959 4.50216 1.66406 7.99996 1.66406C11.4978 1.66406 14.3333 4.49959 14.3333 7.9974Z",stroke:"currentColor","stroke-linecap":"square","stroke-linejoin":"round"},null,-1)];function q_(t,e){return o.openBlock(),o.createElementBlock("svg",mI,[...pI])}const gI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:q_},render:q_},Symbol.toStringTag,{value:"Module"})),_I={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},yI=[o.createElementVNode("path",{d:"M7.62498 4.45703L5.05206 3.86328L3.86456 5.05078L4.45831 7.6237L2.08331 9.20703V10.7904L4.45831 12.3737L3.86456 14.9466L5.05206 16.1341L7.62498 15.5404L9.20831 17.9154H10.7916L12.375 15.5404L14.9479 16.1341L16.1354 14.9466L15.5416 12.3737L17.9166 10.7904V9.20703L15.5416 7.6237L16.1354 5.05078L14.9479 3.86328L12.375 4.45703L10.7916 2.08203H9.20831L7.62498 4.45703Z",stroke:"currentColor"},null,-1),o.createElementVNode("path",{d:"M12.5 9.9987C12.5 11.3794 11.3807 12.4987 9.99998 12.4987C8.61927 12.4987 7.49998 11.3794 7.49998 9.9987C7.49998 8.61799 8.61927 7.4987 9.99998 7.4987C11.3807 7.4987 12.5 8.61799 12.5 9.9987Z",stroke:"currentColor"},null,-1)];function G_(t,e){return o.openBlock(),o.createElementBlock("svg",_I,[...yI])}const wI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:G_},render:G_},Symbol.toStringTag,{value:"Module"})),bI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kI=[o.createElementVNode("g",{id:"settings 3, gear, preferences"},[o.createElementVNode("g",{id:"Icon"},[o.createElementVNode("path",{d:"M6.29846 4.28462L5.98025 4.21119C5.48466 4.09682 4.96511 4.24582 4.60547 4.60547C4.24582 4.96511 4.09682 5.48466 4.21119 5.98025L4.28462 6.29846C4.4777 7.13515 4.13269 8.00399 3.41823 8.4803L2.93434 8.80289C2.53365 9.07002 2.29297 9.51973 2.29297 10.0013C2.29297 10.4829 2.53365 10.9326 2.93434 11.1997L3.41823 11.5223C4.13269 11.9986 4.4777 12.8675 4.28462 13.7041L4.21119 14.0224C4.09682 14.5179 4.24583 15.0375 4.60547 15.3971C4.96511 15.7568 5.48466 15.9058 5.98025 15.7914L6.29846 15.718C7.13515 15.5249 8.00399 15.8699 8.4803 16.5844L8.80289 17.0683C9.07002 17.469 9.51973 17.7096 10.0013 17.7096C10.4829 17.7096 10.9326 17.469 11.1997 17.0683L11.5223 16.5844C11.9986 15.8699 12.8675 15.5249 13.7041 15.718L14.0224 15.7914C14.5179 15.9058 15.0375 15.7568 15.3971 15.3971C15.7568 15.0375 15.9058 14.5179 15.7914 14.0224L15.718 13.7041C15.5249 12.8675 15.8699 11.9986 16.5844 11.5223L17.0683 11.1997C17.469 10.9326 17.7096 10.4829 17.7096 10.0013C17.7096 9.51973 17.469 9.07002 17.0683 8.80289L16.5844 8.4803C15.8699 8.00399 15.5249 7.13515 15.718 6.29846L15.7914 5.98025C15.9058 5.48466 15.7568 4.96511 15.3971 4.60547C15.0375 4.24583 14.5179 4.09682 14.0224 4.21119L13.7041 4.28462C12.8675 4.4777 11.9986 4.13269 11.5223 3.41823L11.1997 2.93434C10.9326 2.53365 10.4829 2.29297 10.0013 2.29297C9.51973 2.29297 9.07002 2.53365 8.80289 2.93434L8.4803 3.41823C8.00399 4.13269 7.13515 4.4777 6.29846 4.28462Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"}),o.createElementVNode("path",{d:"M12.293 10.0013C12.293 11.267 11.267 12.293 10.0013 12.293C8.73565 12.293 7.70964 11.267 7.70964 10.0013C7.70964 8.73565 8.73565 7.70964 10.0013 7.70964C11.267 7.70964 12.293 8.73565 12.293 10.0013Z",stroke:"currentColor","stroke-width":"1.5","stroke-linejoin":"round"})])],-1)];function K_(t,e){return o.openBlock(),o.createElementBlock("svg",bI,[...kI])}const CI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:K_},render:K_},Symbol.toStringTag,{value:"Module"})),xI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},MI=[o.createElementVNode("path",{d:"M8.66667 1.9974V5.33073C8.66667 5.69892 8.96514 5.9974 9.33333 5.9974H12.6667M5.66667 11.6641V10.3307M8 11.6641V8.33073M10.3333 11.6641V9.66406M3.66667 1.66406H8.39052C8.56734 1.66406 8.7369 1.7343 8.86193 1.85932L12.8047 5.80213C12.9298 5.92716 13 6.09673 13 6.27354V13.6641C13 14.0323 12.7015 14.3307 12.3333 14.3307H3.66667C3.29848 14.3307 3 14.0323 3 13.6641V2.33073C3 1.96254 3.29848 1.66406 3.66667 1.66406Z",stroke:"currentColor","stroke-linecap":"round"},null,-1)];function X_(t,e){return o.openBlock(),o.createElementBlock("svg",xI,[...MI])}const SI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:X_},render:X_},Symbol.toStringTag,{value:"Module"})),vI={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},TI=[o.createElementVNode("g",{id:"arrow-share-right, next, forward"},[o.createElementVNode("path",{id:"vector",d:"M18.75 9.99984L10.4167 2.9165V7.08317C3.33333 7.08317 1.25 9.99984 1.25 17.0832C2.5 14.5832 3.33333 12.9165 10.4167 12.9165V17.0832L18.75 9.99984Z",stroke:"#1C2026"})],-1)];function J_(t,e){return o.openBlock(),o.createElementBlock("svg",vI,[...TI])}const DI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:J_},render:J_},Symbol.toStringTag,{value:"Module"})),OI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},EI=[o.createElementVNode("path",{d:"M11.5 14L13.1666 12.3333L11.5 10.6667M3.83329 2L2.16663 3.66667L3.83329 5.33333M2.33329 3.66667H12.3333C12.7015 3.66667 13 3.96514 13 4.33333V7M2.33329 9V11.6667C2.33329 12.0349 2.63177 12.3333 2.99996 12.3333H13",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function Q_(t,e){return o.openBlock(),o.createElementBlock("svg",OI,[...EI])}const $I=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Q_},render:Q_},Symbol.toStringTag,{value:"Module"})),PI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LI=[o.createElementVNode("path",{d:"M13.6666 2.33203H2.33325V4.9987L6.33325 9.66536V14.332L9.66659 12.9987V9.66536L13.6666 4.9987V2.33203Z",stroke:"#7F7F83"},null,-1)];function e5(t,e){return o.openBlock(),o.createElementBlock("svg",PI,[...LI])}const VI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:e5},render:e5},Symbol.toStringTag,{value:"Module"})),NI={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},BI=[o.createStaticVNode('<g id="Group 1171281291"><path id="Vector" d="M11.0345 2.89349C11.0345 4.01688 10.1257 4.92565 9.00235 4.92565C6.89639 4.92565 5.16267 6.53194 4.94805 8.58087C4.93799 8.72171 4.92458 8.86255 4.92458 9.0034C4.92458 9.7445 5.12243 10.442 5.46783 11.0423C4.90781 10.0698 3.66704 9.73444 2.68784 10.3012C1.73211 10.8511 1.39006 12.0651 1.9199 13.0308C1.23916 11.8471 0.853516 10.4688 0.853516 9.0034V8.88603C0.913877 4.44947 4.54229 0.861328 8.99564 0.861328C10.119 0.861328 11.0278 1.7701 11.0278 2.89349H11.0345Z" fill="url(#paint0_linear_4793_138373)"></path><path id="Vector_2" d="M15.9771 13.1923C14.5519 15.5564 11.9563 17.1459 8.99859 17.1459C6.04087 17.1459 3.44532 15.5564 2.02011 13.1923C2.01005 13.1822 2.00334 13.1654 1.99328 13.152C1.97652 13.1252 1.95975 13.1017 1.94969 13.0716C1.94969 13.0648 1.94298 13.0615 1.93963 13.0548C1.93292 13.0447 1.92957 13.038 1.92286 13.028C1.39638 12.0622 1.73842 10.8482 2.6908 10.2983C3.66329 9.73826 4.90741 10.0669 5.47079 11.0394C6.17836 12.2567 7.49291 13.0783 9.00195 13.0783C10.511 13.0783 11.8255 12.26 12.5331 11.0394C11.9731 12.0119 12.3017 13.2526 13.2742 13.8194C14.2065 14.3593 15.3869 14.0709 15.9737 13.1956L15.9804 13.1889L15.9771 13.1923Z" fill="url(#paint1_linear_4793_138373)"></path><path id="Vector_3" d="M17.1446 9.00327C17.1446 10.4687 16.7556 11.8402 16.0782 13.0307C16.0782 13.0408 16.0682 13.0475 16.0615 13.0575C16.0615 13.0642 16.0548 13.0676 16.0514 13.0743C16.0346 13.1011 16.0246 13.1246 16.0078 13.1514C16.0011 13.1615 15.991 13.1783 15.981 13.1917C15.3908 14.0736 14.207 14.3553 13.2815 13.8154C12.309 13.2554 11.9803 12.0113 12.5404 11.0354C12.8891 10.4352 13.0836 9.73766 13.0836 8.99656C13.0836 6.74643 11.2527 4.91882 9.00586 4.91882C10.1293 4.91882 11.038 4.01005 11.038 2.88666C11.038 1.76326 10.1293 0.854492 9.00586 0.854492C13.4995 0.854492 17.148 4.5097 17.148 8.99656V9.00327H17.1446Z" fill="url(#paint2_linear_4793_138373)"></path></g><defs><linearGradient id="paint0_linear_4793_138373" x1="9.34775" y1="1.5689" x2="2.32572" y2="9.39579" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint1_linear_4793_138373" x1="3.27765" y1="12.4009" x2="14.193" y2="15.0434" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient><linearGradient id="paint2_linear_4793_138373" x1="15.4344" y1="12.8899" x2="11.8798" y2="2.90676" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9B1F"></stop><stop offset="1" stop-color="#FF421D"></stop></linearGradient></defs>',2)];function t5(t,e){return o.openBlock(),o.createElementBlock("svg",NI,[...BI])}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:t5},render:t5},Symbol.toStringTag,{value:"Module"})),FI={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},RI=[o.createElementVNode("path",{d:"M7.5491 1.28312C7.73016 0.905626 8.26968 0.905627 8.45074 1.28312L10.0849 4.69028C10.1578 4.84223 10.3029 4.94716 10.4705 4.96914L14.2316 5.46239C14.6484 5.51705 14.8152 6.02874 14.5102 6.31684L11.7595 8.91462C11.6367 9.03062 11.5812 9.20066 11.612 9.36642L12.3027 13.0772C12.3793 13.4886 11.9427 13.8048 11.5733 13.6053L8.23804 11.8044C8.0895 11.7242 7.91033 11.7242 7.7618 11.8044L4.42653 13.6053C4.05714 13.8048 3.62057 13.4886 3.69716 13.0772L4.38781 9.36642C4.41866 9.20066 4.36315 9.03062 4.24033 8.91462L1.48967 6.31684C1.18461 6.02874 1.35142 5.51705 1.76822 5.46239L5.52933 4.96914C5.69696 4.94716 5.84205 4.84223 5.91493 4.69028L7.5491 1.28312Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function n5(t,e){return o.openBlock(),o.createElementBlock("svg",FI,[...RI])}const II=Object.freeze(Object.defineProperty({__proto__:null,default:{render:n5},render:n5},Symbol.toStringTag,{value:"Module"})),HI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},zI=[o.createElementVNode("path",{d:"M12.9584 7.29427L11.5417 5.8776L8.00004 9.41927L6.22921 7.64844L2.54171 11.3359M2.33337 2.33594V13.6693H13.6667",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function r5(t,e){return o.openBlock(),o.createElementBlock("svg",HI,[...zI])}const YI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:r5},render:r5},Symbol.toStringTag,{value:"Module"})),WI={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",preserveAspectRatio:"none"},jI=[o.createElementVNode("path",{d:"M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.5341 5.59088C13.2046 5.26137 12.6704 5.26137 12.3409 5.59088C12.3329 5.59884 12.3254 5.60726 12.3185 5.61612L8.41207 10.5938L6.05686 8.23863C5.72736 7.90912 5.19312 7.90912 4.86362 8.23863C4.53411 8.56813 4.53411 9.10236 4.86362 9.43187L7.84087 12.4091C8.17038 12.7386 8.70461 12.7386 9.03411 12.4091C9.04145 12.4018 9.04838 12.394 9.05486 12.3859L13.5461 6.77191C13.8636 6.44154 13.8596 5.91634 13.5341 5.59088Z",fill:"#2AA248"},null,-1)];function s5(t,e){return o.openBlock(),o.createElementBlock("svg",WI,[...jI])}const ZI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:s5},render:s5},Symbol.toStringTag,{value:"Module"})),UI={width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qI=[o.createElementVNode("circle",{cx:"18",cy:"18",r:"18",fill:"#007AFF"},null,-1),o.createElementVNode("path",{d:"M17.584 9.25L20.084 11.75L17.584 14.25M18.4173 21.75L15.9173 24.25L18.4173 26.75M16.334 24.25H19.6673C23.1191 24.25 25.9173 21.4518 25.9173 18C25.9173 15.9555 24.9356 14.1403 23.4179 13M19.6673 11.75H16.334C12.8822 11.75 10.084 14.5482 10.084 18C10.084 20.0445 11.0657 21.8597 12.5834 23",stroke:"white","stroke-linecap":"square"},null,-1)];function i5(t,e){return o.openBlock(),o.createElementBlock("svg",UI,[...qI])}const GI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:i5},render:i5},Symbol.toStringTag,{value:"Module"})),KI={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},XI=[o.createElementVNode("path",{d:"M10 6.39388V9.31055M11.6667 10.9772H14.5834M10 12.6439V15.5605M5.41671 10.9772C5.41671 10.9772 7.38309 10.9772 8.33337 10.9772M10 18.8939C5.62779 18.8939 2.08337 15.3495 2.08337 10.9772C2.08337 6.60496 5.62779 3.06055 10 3.06055C14.3723 3.06055 17.9167 6.60496 17.9167 10.9772C17.9167 15.3495 14.3723 18.8939 10 18.8939Z",stroke:"currentColor","stroke-linecap":"square"},null,-1)];function o5(t,e){return o.openBlock(),o.createElementBlock("svg",KI,[...XI])}const JI=Object.freeze(Object.defineProperty({__proto__:null,default:{render:o5},render:o5},Symbol.toStringTag,{value:"Module"})),QI={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},eH=[o.createElementVNode("path",{d:"M3.66634 4.16797V14.168C3.66634 14.5362 3.96482 14.8346 4.33301 14.8346H11.6663C12.0345 14.8346 12.333 14.5362 12.333 14.168V4.16797M3.66634 4.16797H12.333M3.66634 4.16797H2.33301M12.333 4.16797H13.6663M9.66634 7.66797V11.5013M6.33301 7.66797V11.5013M5.99967 4.16797C5.99967 3.0634 6.89511 2.16797 7.99967 2.16797C9.10424 2.16797 9.99967 3.0634 9.99967 4.16797",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function a5(t,e){return o.openBlock(),o.createElementBlock("svg",QI,[...eH])}const tH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:a5},render:a5},Symbol.toStringTag,{value:"Module"})),nH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},rH=[o.createElementVNode("path",{d:"M7.99967 3.5013C8.36786 3.5013 8.66634 3.20283 8.66634 2.83464C8.66634 2.46645 8.36786 2.16797 7.99967 2.16797C7.63148 2.16797 7.33301 2.46645 7.33301 2.83464C7.33301 3.20283 7.63148 3.5013 7.99967 3.5013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 9.16797C8.36786 9.16797 8.66634 8.86949 8.66634 8.5013C8.66634 8.13311 8.36786 7.83464 7.99967 7.83464C7.63148 7.83464 7.33301 8.13311 7.33301 8.5013C7.33301 8.86949 7.63148 9.16797 7.99967 9.16797Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M7.99967 15.0013C8.36786 15.0013 8.66634 14.7028 8.66634 14.3346C8.66634 13.9664 8.36786 13.668 7.99967 13.668C7.63148 13.668 7.33301 13.9664 7.33301 14.3346C7.33301 14.7028 7.63148 15.0013 7.99967 15.0013Z",stroke:"#8E8E93","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function l5(t,e){return o.openBlock(),o.createElementBlock("svg",nH,[...rH])}const sH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:l5},render:l5},Symbol.toStringTag,{value:"Module"})),iH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oH=[o.createStaticVNode('<g id="dot-grid-1x3-horizontal, menu, drag, grab"><g id="vector"><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" fill="#6E6E72"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" fill="#6E6E72"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" fill="#6E6E72"></path><path d="M10 10.8332C10.4602 10.8332 10.8333 10.4601 10.8333 9.99984C10.8333 9.5396 10.4602 9.1665 10 9.1665C9.53976 9.1665 9.16667 9.5396 9.16667 9.99984C9.16667 10.4601 9.53976 10.8332 10 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16.6667 10.8332C17.1269 10.8332 17.5 10.4601 17.5 9.99984C17.5 9.5396 17.1269 9.1665 16.6667 9.1665C16.2064 9.1665 15.8333 9.5396 15.8333 9.99984C15.8333 10.4601 16.2064 10.8332 16.6667 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.33333 10.8332C3.79357 10.8332 4.16667 10.4601 4.16667 9.99984C4.16667 9.5396 3.79357 9.1665 3.33333 9.1665C2.8731 9.1665 2.5 9.5396 2.5 9.99984C2.5 10.4601 2.8731 10.8332 3.33333 10.8332Z" stroke="#6E6E72" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></g>',1)];function c5(t,e){return o.openBlock(),o.createElementBlock("svg",iH,[...oH])}const aH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:c5},render:c5},Symbol.toStringTag,{value:"Module"})),lH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},cH=[o.createElementVNode("path",{d:"M2.1665 10C2.1665 5.67379 5.67361 2.16669 9.99984 2.16669C14.3261 2.16669 17.8332 5.67379 17.8332 10C17.8332 14.3263 14.3261 17.8334 9.99984 17.8334C5.67361 17.8334 2.1665 14.3263 2.1665 10ZM8.95817 8.04169C8.33685 8.04169 7.83317 8.54537 7.83317 9.16669C7.83317 9.75998 8.29243 10.246 8.87483 10.2886L8.87484 13.5417C8.87484 14.163 9.37852 14.6667 9.99984 14.6667C10.6212 14.6667 11.1248 14.163 11.1248 13.5417L11.1248 9.16669C11.1248 8.54537 10.6212 8.04169 9.99983 8.04169H8.95817ZM9.99984 5.54169C9.37852 5.54169 8.87484 6.04537 8.87484 6.66669C8.87484 7.28801 9.37852 7.79169 9.99984 7.79169C10.6212 7.79169 11.1248 7.28801 11.1248 6.66669C11.1248 6.04537 10.6212 5.54169 9.99984 5.54169Z",fill:"currentColor",stroke:"currentColor"},null,-1)];function d5(t,e){return o.openBlock(),o.createElementBlock("svg",lH,[...cH])}const dH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:d5},render:d5},Symbol.toStringTag,{value:"Module"})),uH={width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},hH=[o.createStaticVNode('<g id="Frame 2118527356"><path id="Vector" d="M15.7101 13.0405C14.7576 13.0405 13.9834 12.2692 13.9834 11.3138V7.91304L9.97199 3.90166C9.2971 3.22677 9.2971 2.137 9.97199 1.46211C10.6469 0.787213 11.7396 0.790134 12.4115 1.46211L16.9284 5.97893C17.2527 6.30323 17.4338 6.74147 17.4338 7.20017V11.3167C17.4338 12.2692 16.6625 13.0434 15.7071 13.0434L15.7101 13.0405Z" fill="url(#paint0_linear_4793_138382)"></path><path id="Vector_2" d="M2.29211 13.0399C1.33966 13.0399 0.56543 12.2686 0.56543 11.3133V8.7218C0.56543 7.76935 1.33674 6.99512 2.29211 6.99512C3.24748 6.99512 4.01879 7.76643 4.01879 8.7218V11.3133C4.01879 12.2657 3.24748 13.0399 2.29211 13.0399Z" fill="url(#paint1_linear_4793_138382)"></path><path id="Vector_3" d="M11.1935 13.0399C10.241 13.0399 9.4668 12.2686 9.4668 11.3132V2.68273C9.4668 1.73028 10.2381 0.956055 11.1935 0.956055C12.1488 0.956055 12.9202 1.72736 12.9202 2.68273V11.3132C12.9202 12.2656 12.1488 13.0399 11.1935 13.0399Z" fill="url(#paint2_linear_4793_138382)"></path><path id="Vector_4" d="M6.69152 13.0398C5.73907 13.0398 4.96484 12.2685 4.96484 11.3131V5.47863C4.96484 4.52618 5.73615 3.75195 6.69152 3.75195C7.64689 3.75195 8.4182 4.52326 8.4182 5.47863V11.3131C8.4182 12.2656 7.64689 13.0398 6.69152 13.0398Z" fill="url(#paint3_linear_4793_138382)"></path></g><defs><linearGradient id="paint0_linear_4793_138382" x1="12.4495" y1="2.93168" x2="19.5082" y2="17.0957" gradientUnits="userSpaceOnUse"><stop offset="0.04" stop-color="#6439FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint1_linear_4793_138382" x1="2.18693" y1="14.2261" x2="2.43527" y2="4.14654" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint2_linear_4793_138382" x1="11.0153" y1="14.3517" x2="11.2461" y2="4.92069" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient><linearGradient id="paint3_linear_4793_138382" x1="6.55128" y1="14.2464" x2="6.77917" y2="4.8534" gradientUnits="userSpaceOnUse"><stop stop-color="#7543FF"></stop><stop offset="0.99" stop-color="#A78FFF"></stop></linearGradient></defs>',2)];function u5(t,e){return o.openBlock(),o.createElementBlock("svg",uH,[...hH])}const fH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:u5},render:u5},Symbol.toStringTag,{value:"Module"})),mH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"},pH=[o.createElementVNode("path",{d:"M3.33317 4.65234L3.64632 14.6732C3.65757 15.0331 3.95258 15.319 4.31266 15.319H11.687C12.0471 15.319 12.3421 15.0331 12.3534 14.6732L12.6665 4.65234M3.33317 4.65234H12.6665M3.33317 4.65234H1.6665M12.6665 4.65234H14.3332M6.33317 7.98568V11.9857M9.6665 7.98568V11.9857M10.5825 4.65234C10.2865 3.50219 9.24241 2.65234 7.99985 2.65234C6.75729 2.65234 5.71322 3.50219 5.4172 4.65234",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function h5(t,e){return o.openBlock(),o.createElementBlock("svg",mH,[...pH])}const gH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:h5},render:h5},Symbol.toStringTag,{value:"Module"})),_H={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yH=[o.createElementVNode("g",{id:"trending-1, trends"},[o.createElementVNode("path",{id:"vector",d:"M2.29297 10.8636L3.14768 8.83481C3.44666 8.12513 4.46178 8.16437 4.70547 8.89504L5.75956 12.0556C6.01597 12.8243 7.10305 12.814 7.34491 12.0405L9.94935 3.71096C10.203 2.89982 11.3607 2.9417 11.5555 3.76905L14.4893 16.2309C14.6804 17.0427 15.8081 17.1042 16.0858 16.318L17.7096 11.7196",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function f5(t,e){return o.openBlock(),o.createElementBlock("svg",_H,[...yH])}const wH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:f5},render:f5},Symbol.toStringTag,{value:"Module"})),bH={width:"29",height:"34",viewBox:"0 0 29 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kH=[o.createElementVNode("path",{d:"M1 15C1 11.5522 2.36964 8.24558 4.80761 5.80761C7.24558 3.36964 10.5522 2 14 2C17.6343 2.01367 21.1226 3.43177 23.7356 5.95778L27 9.22222",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 1V10H19",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M28 19C28 22.4478 26.6304 25.7544 24.1924 28.1924C21.7544 30.6304 18.4478 32 15 32C11.3657 31.9863 7.8774 30.5682 5.26444 28.0422L2 24.7778",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M10 24H1V33",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function m5(t,e){return o.openBlock(),o.createElementBlock("svg",bH,[...kH])}const CH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:m5},render:m5},Symbol.toStringTag,{value:"Module"})),xH={width:"31",height:"32",viewBox:"0 0 31 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MH=[o.createElementVNode("path",{d:"M1 31L16 16L1 1",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),o.createElementVNode("path",{d:"M30 1V31",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function p5(t,e){return o.openBlock(),o.createElementBlock("svg",xH,[...MH])}const SH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:p5},render:p5},Symbol.toStringTag,{value:"Module"})),vH={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},TH=[o.createElementVNode("path",{d:"M10 7.91666V11.6667M10 13.75H10.0084M9.28098 2.89434L2.19316 14.9955C1.86777 15.551 2.26841 16.25 2.91223 16.25H17.0879C17.7317 16.25 18.1323 15.551 17.8069 14.9955L10.7191 2.89434C10.3972 2.34479 9.60286 2.34479 9.28098 2.89434ZM10.2084 13.75C10.2084 13.8651 10.1151 13.9583 10 13.9583C9.88499 13.9583 9.79171 13.8651 9.79171 13.75C9.79171 13.6349 9.88499 13.5417 10 13.5417C10.1151 13.5417 10.2084 13.6349 10.2084 13.75Z",stroke:"#FFB500","stroke-linecap":"round"},null,-1)];function g5(t,e){return o.openBlock(),o.createElementBlock("svg",vH,[...TH])}const DH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:g5},render:g5},Symbol.toStringTag,{value:"Module"})),OH={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},EH=[o.createStaticVNode('<g id="Waterfall_light"><path id="Rectangle" d="M17.5 17.5H2.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector" d="M3.33331 13.3334V11.6667" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_2" d="M10 10V7.5" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_3" d="M6.66669 13.3333V8.33331" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_4" d="M13.3333 10.8334V9.16669" stroke="currentColor" stroke-linecap="round"></path><path id="Vector_5" d="M16.6667 12.5V4.16669" stroke="currentColor" stroke-linecap="round"></path></g>',1)];function _5(t,e){return o.openBlock(),o.createElementBlock("svg",OH,[...EH])}const $H=Object.freeze(Object.defineProperty({__proto__:null,default:{render:_5},render:_5},Symbol.toStringTag,{value:"Module"})),PH={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},LH=[o.createElementVNode("path",{d:"M1.43343 6.42163L2.3735 11.753C2.43744 12.1156 2.78321 12.3577 3.14581 12.2938L6.76052 11.6564M1.43343 6.42163L1.10008 4.5311C1.03615 4.16851 1.27826 3.82274 1.64086 3.7588L9.51932 2.36961C9.88191 2.30568 10.2277 2.54779 10.2916 2.91039L10.625 4.80091L1.43343 6.42163ZM10.6666 7.77171V9.33171L12.0533 10.7184M14.9999 9.33171C14.9999 11.7249 13.0598 13.665 10.6666 13.665C8.27338 13.665 6.33328 11.7249 6.33328 9.33171C6.33328 6.93847 8.27338 4.99838 10.6666 4.99838C13.0598 4.99838 14.9999 6.93847 14.9999 9.33171Z",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)];function y5(t,e){return o.openBlock(),o.createElementBlock("svg",PH,[...LH])}const VH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:y5},render:y5},Symbol.toStringTag,{value:"Module"})),NH={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},BH=[o.createElementVNode("path",{d:"M22.1352 6.66797H25.4065L18.2597 14.8362L26.6673 25.9513H20.0843L14.9283 19.2101L9.02848 25.9513H5.75525L13.3993 17.2145L5.33398 6.66797H12.0841L16.7448 12.8297L22.1352 6.66797ZM20.9872 23.9933H22.7997L11.0992 8.52313H9.15406L20.9872 23.9933Z",fill:"currentColor"},null,-1)];function w5(t,e){return o.openBlock(),o.createElementBlock("svg",NH,[...BH])}const AH=Object.freeze(Object.defineProperty({__proto__:null,default:{render:w5},render:w5},Symbol.toStringTag,{value:"Module"}));se.AccountBalanceWidget=Mv,se.AverageRRLine=P2,se.BalanceWidget=zv,se.Button=ya,se.Calendar=g8,se.CalendarDropdown=F3,se.CalendarWidget=dT,se.CheckBox=i4,se.CommissionsFeesWidget=ST,se.Confetti=Iw,se.CookieManager=rt,se.Dropdown=R5,se.Dropzone=_k,se.Icon=Le,se.Input=j5,se.LineChart=t1,se.LongShort=xm,se.Menu=l4,se.NavigationTab=M8,se.NoMore=gu,se.NumberInput=k8,se.PerformanceWidget=$T,se.PeriodDropdown=Ws,se.ProgressLine=R3,se.Radio=K5,se.ReturnWidget=ZT,se.Selector=y8,se.SidebarPopup=Pk,se.SimpleLineChart=n1,se.Switcher=u4,se.Textarea=qw,se.Toast=H0,se.Toggle=t4,se.Tooltip=pn,se.TopPositionsWidget=sD,se.TradePerformanceWidget=wD,se.WidgetChips=sc,se.WinrateWidget=$D,se.addSlashToPair=g6,se.calculateTimeDifference=xN,se.firebaseConfig=yL,se.formatDate=p6,se.getCurrencyRate=Mc,se.getCurrencySymbol=pa,se.getDate=kN,se.getDay=uh,se.getDaysDifference=CN,se.getFullYear=yN,se.getMonth=bN,se.maskData=Me,se.numFormat=dh,se.scopeInstance=ic,se.toBaseDate=wN,se.toFix=Et,se.transformKeysToQuery=_N,se.useToast=hh,se.withSign=Ke,Object.defineProperty(se,Symbol.toStringTag,{value:"Module"})});
51
51
  //# sourceMappingURL=scope360-core.umd.cjs.map